hyperfast-python-template


Namehyperfast-python-template JSON
Version 0.14.3 PyPI version JSON
download
home_pagehttps://hyperfast-python.entelecheia.ai
SummaryA python template that helps you jump start your project
upload_time2024-04-28 08:10:09
maintainerNone
docs_urlNone
authorYoung Joon Lee
requires_python<3.13,>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hyperfast Python Template

[![pypi-image]][pypi-url]
[![version-image]][release-url]
[![release-date-image]][release-url]
[![license-image]][license-url]
[![jupyter-book-image]][docs-url]
[![codecov][codecov-image]][codecov-url]

<!-- Links: -->

[codecov-image]: https://codecov.io/gh/entelecheia/hyperfast-python-template/branch/main/graph/badge.svg?token=29NXUNQUBU
[codecov-url]: https://codecov.io/gh/entelecheia/hyperfast-python-template
[pypi-image]: https://img.shields.io/pypi/v/hyperfast-python-template
[license-image]: https://img.shields.io/github/license/entelecheia/hyperfast-python-template
[license-url]: https://github.com/entelecheia/hyperfast-python-template/blob/main/LICENSE
[version-image]: https://img.shields.io/github/v/release/entelecheia/hyperfast-python-template?sort=semver
[release-date-image]: https://img.shields.io/github/release-date/entelecheia/hyperfast-python-template
[release-url]: https://github.com/entelecheia/hyperfast-python-template/releases
[jupyter-book-image]: https://jupyterbook.org/en/stable/_images/badge.svg
[repo-url]: https://github.com/entelecheia/hyperfast-python-template
[pypi-url]: https://pypi.org/project/hyperfast-python-template
[docs-url]: https://hyperfast-python.entelecheia.ai
[changelog]: https://github.com/entelecheia/hyperfast-python-template/blob/main/CHANGELOG.md
[contributing guidelines]: https://github.com/entelecheia/hyperfast-python-template/blob/main/CONTRIBUTING.md

<!-- Links: -->

Streamlining Python Project Development with a Comprehensive Toolset for Quality, Efficiency, and Maintainability

- Documentation: [https://hyperfast-python.entelecheia.ai][docs-url]
- GitHub: [https://github.com/entelecheia/hyperfast-python-template][repo-url]
- PyPI: [https://pypi.org/project/hyperfast-python-template][pypi-url]

The Hyperfast Python Template is a powerful and comprehensive solution designed to accelerate the development and maintenance of high-quality Python projects. By incorporating industry best practices and automating key aspects such as dependency management, releases, code formatting, testing, and documentation, this template streamlines the entire development process. It ensures code quality through continuous integration, coverage reporting, linting, and static type-checking while providing seamless support for Conventional Commits and Semantic Versioning. With the Hyperfast Python Template, developers can efficiently create and manage Python projects, focusing on their core functionality while enjoying a robust, well-organized, and maintainable codebase.

## Quickstart

There are two ways to use this project:

- Use [Copier] to create a project to your local machine directly
- Inject [Hyperfast Python Template] into an existing project

### I. Use Copier

1. Install Copier
   ```bash
   pipx install copier
   ```
2. Run
   ```bash
   copier copy --trust gh:entelecheia/hyperfast-python-template path/to/destination
   ```
3. Do your work

### II. Inject the template

1. Install Copier
   ```bash
   pipx install copier
   ```
2. From the root of your project, run
   ```bash
   copier copy --trust gh:entelecheia/hyperfast-python-template .
   ```
3. Do your work

## Managing Actions Secrets and Variables in Your Project

When using the HyFI-Template for your project, there are several GitHub Actions secrets and variables that you need to add to ensure proper functioning of the release action and optional JupyterBook deployment.

### Adding PYPI_API_TOKEN and TEST_PYPI_API_TOKEN

To automate the release process of your project to PyPI, you need to provide two tokens: `PYPI_API_TOKEN` and `TEST_PYPI_API_TOKEN`. These tokens will be used by the GitHub Actions workflow to authenticate with PyPI and TestPyPI, respectively.

1. Generate an API token for your PyPI account by following the instructions in the [official PyPI documentation](https://pypi.org/manage/account/token/).
2. Generate an API token for your TestPyPI account by following the instructions in the [official TestPyPI documentation](https://test.pypi.org/manage/account/token/).
3. In your GitHub repository, go to the "Settings" tab and click on "Secrets" in the left sidebar.
4. Click the "New repository secret" button.
5. Add the `PYPI_API_TOKEN` secret with the value set to the token generated for your PyPI account.
6. Add the `TEST_PYPI_API_TOKEN` secret with the value set to the token generated for your TestPyPI account.

By providing these tokens, your project's release action will have the necessary permissions to publish your package to PyPI and TestPyPI.

### Optionally Adding CNAME for JupyterBook Deployment

If you plan to deploy the JupyterBook documentation to a custom domain, you'll need to add a `CNAME` variable to your GitHub repository.

1. In your GitHub repository, go to the "Settings" tab and click on "Pages" in the left sidebar.
2. Follow the instructions to configure your custom domain.
3. In your GitHub repository, go to the "Settings" tab and click on "Repository Variables" in the left sidebar.
4. Click the "New repository variable" button.
5. Add a new variable with the key `CNAME` and set the value to your custom domain (e.g., `your-custom-domain.com`).

By adding the `CNAME` variable, the GitHub Pages action in your `deploy-docs.yaml` workflow will properly configure the deployment to use your custom domain.

With the `CNAME` repository variable properly configured, your project will be set up to handle JupyterBook deployment to your custom domain effectively.

## Changelog

See the [CHANGELOG] for more information.

## Contributing

Contributions are welcome! Please see the [contributing guidelines] for more information.

## License

This project is released under the [MIT License][license-url].


            

Raw data

            {
    "_id": null,
    "home_page": "https://hyperfast-python.entelecheia.ai",
    "name": "hyperfast-python-template",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Young Joon Lee",
    "author_email": "entelecheia@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ae/c7/7702b4d60bdaf44901745d10cb95bab74973473b8bde3c5f0fb80189d7f6/hyperfast_python_template-0.14.3.tar.gz",
    "platform": null,
    "description": "# Hyperfast Python Template\n\n[![pypi-image]][pypi-url]\n[![version-image]][release-url]\n[![release-date-image]][release-url]\n[![license-image]][license-url]\n[![jupyter-book-image]][docs-url]\n[![codecov][codecov-image]][codecov-url]\n\n<!-- Links: -->\n\n[codecov-image]: https://codecov.io/gh/entelecheia/hyperfast-python-template/branch/main/graph/badge.svg?token=29NXUNQUBU\n[codecov-url]: https://codecov.io/gh/entelecheia/hyperfast-python-template\n[pypi-image]: https://img.shields.io/pypi/v/hyperfast-python-template\n[license-image]: https://img.shields.io/github/license/entelecheia/hyperfast-python-template\n[license-url]: https://github.com/entelecheia/hyperfast-python-template/blob/main/LICENSE\n[version-image]: https://img.shields.io/github/v/release/entelecheia/hyperfast-python-template?sort=semver\n[release-date-image]: https://img.shields.io/github/release-date/entelecheia/hyperfast-python-template\n[release-url]: https://github.com/entelecheia/hyperfast-python-template/releases\n[jupyter-book-image]: https://jupyterbook.org/en/stable/_images/badge.svg\n[repo-url]: https://github.com/entelecheia/hyperfast-python-template\n[pypi-url]: https://pypi.org/project/hyperfast-python-template\n[docs-url]: https://hyperfast-python.entelecheia.ai\n[changelog]: https://github.com/entelecheia/hyperfast-python-template/blob/main/CHANGELOG.md\n[contributing guidelines]: https://github.com/entelecheia/hyperfast-python-template/blob/main/CONTRIBUTING.md\n\n<!-- Links: -->\n\nStreamlining Python Project Development with a Comprehensive Toolset for Quality, Efficiency, and Maintainability\n\n- Documentation: [https://hyperfast-python.entelecheia.ai][docs-url]\n- GitHub: [https://github.com/entelecheia/hyperfast-python-template][repo-url]\n- PyPI: [https://pypi.org/project/hyperfast-python-template][pypi-url]\n\nThe Hyperfast Python Template is a powerful and comprehensive solution designed to accelerate the development and maintenance of high-quality Python projects. By incorporating industry best practices and automating key aspects such as dependency management, releases, code formatting, testing, and documentation, this template streamlines the entire development process. It ensures code quality through continuous integration, coverage reporting, linting, and static type-checking while providing seamless support for Conventional Commits and Semantic Versioning. With the Hyperfast Python Template, developers can efficiently create and manage Python projects, focusing on their core functionality while enjoying a robust, well-organized, and maintainable codebase.\n\n## Quickstart\n\nThere are two ways to use this project:\n\n- Use [Copier] to create a project to your local machine directly\n- Inject [Hyperfast Python Template] into an existing project\n\n### I. Use Copier\n\n1. Install Copier\n   ```bash\n   pipx install copier\n   ```\n2. Run\n   ```bash\n   copier copy --trust gh:entelecheia/hyperfast-python-template path/to/destination\n   ```\n3. Do your work\n\n### II. Inject the template\n\n1. Install Copier\n   ```bash\n   pipx install copier\n   ```\n2. From the root of your project, run\n   ```bash\n   copier copy --trust gh:entelecheia/hyperfast-python-template .\n   ```\n3. Do your work\n\n## Managing Actions Secrets and Variables in Your Project\n\nWhen using the HyFI-Template for your project, there are several GitHub Actions secrets and variables that you need to add to ensure proper functioning of the release action and optional JupyterBook deployment.\n\n### Adding PYPI_API_TOKEN and TEST_PYPI_API_TOKEN\n\nTo automate the release process of your project to PyPI, you need to provide two tokens: `PYPI_API_TOKEN` and `TEST_PYPI_API_TOKEN`. These tokens will be used by the GitHub Actions workflow to authenticate with PyPI and TestPyPI, respectively.\n\n1. Generate an API token for your PyPI account by following the instructions in the [official PyPI documentation](https://pypi.org/manage/account/token/).\n2. Generate an API token for your TestPyPI account by following the instructions in the [official TestPyPI documentation](https://test.pypi.org/manage/account/token/).\n3. In your GitHub repository, go to the \"Settings\" tab and click on \"Secrets\" in the left sidebar.\n4. Click the \"New repository secret\" button.\n5. Add the `PYPI_API_TOKEN` secret with the value set to the token generated for your PyPI account.\n6. Add the `TEST_PYPI_API_TOKEN` secret with the value set to the token generated for your TestPyPI account.\n\nBy providing these tokens, your project's release action will have the necessary permissions to publish your package to PyPI and TestPyPI.\n\n### Optionally Adding CNAME for JupyterBook Deployment\n\nIf you plan to deploy the JupyterBook documentation to a custom domain, you'll need to add a `CNAME` variable to your GitHub repository.\n\n1. In your GitHub repository, go to the \"Settings\" tab and click on \"Pages\" in the left sidebar.\n2. Follow the instructions to configure your custom domain.\n3. In your GitHub repository, go to the \"Settings\" tab and click on \"Repository Variables\" in the left sidebar.\n4. Click the \"New repository variable\" button.\n5. Add a new variable with the key `CNAME` and set the value to your custom domain (e.g., `your-custom-domain.com`).\n\nBy adding the `CNAME` variable, the GitHub Pages action in your `deploy-docs.yaml` workflow will properly configure the deployment to use your custom domain.\n\nWith the `CNAME` repository variable properly configured, your project will be set up to handle JupyterBook deployment to your custom domain effectively.\n\n## Changelog\n\nSee the [CHANGELOG] for more information.\n\n## Contributing\n\nContributions are welcome! Please see the [contributing guidelines] for more information.\n\n## License\n\nThis project is released under the [MIT License][license-url].\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A python template that helps you jump start your project",
    "version": "0.14.3",
    "project_urls": {
        "Homepage": "https://hyperfast-python.entelecheia.ai",
        "Repository": "https://github.com/entelecheia/hyperfast-python-template"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "696be91539645f730fb575d9711da4ab44390d65d11690ff90fe5f3d91fa6c78",
                "md5": "f1fcff4befb17fb31a06ec29ffe374ab",
                "sha256": "f49bbfba27da85ba5a131129df92e6601327843878304df64718777ee529d9ef"
            },
            "downloads": -1,
            "filename": "hyperfast_python_template-0.14.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f1fcff4befb17fb31a06ec29ffe374ab",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.9",
            "size": 5866,
            "upload_time": "2024-04-28T08:10:07",
            "upload_time_iso_8601": "2024-04-28T08:10:07.040539Z",
            "url": "https://files.pythonhosted.org/packages/69/6b/e91539645f730fb575d9711da4ab44390d65d11690ff90fe5f3d91fa6c78/hyperfast_python_template-0.14.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aec77702b4d60bdaf44901745d10cb95bab74973473b8bde3c5f0fb80189d7f6",
                "md5": "6ff89336bb64645709bdae6d3dcf4a80",
                "sha256": "2ac5027bad1163ce4ce49cbf07a3cbbed37816711af371df604eb9f6dca75de7"
            },
            "downloads": -1,
            "filename": "hyperfast_python_template-0.14.3.tar.gz",
            "has_sig": false,
            "md5_digest": "6ff89336bb64645709bdae6d3dcf4a80",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.9",
            "size": 5228,
            "upload_time": "2024-04-28T08:10:09",
            "upload_time_iso_8601": "2024-04-28T08:10:09.799029Z",
            "url": "https://files.pythonhosted.org/packages/ae/c7/7702b4d60bdaf44901745d10cb95bab74973473b8bde3c5f0fb80189d7f6/hyperfast_python_template-0.14.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-28 08:10:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "entelecheia",
    "github_project": "hyperfast-python-template",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hyperfast-python-template"
}
        
Elapsed time: 0.41930s