Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
hyperfast-python-template
Advanced tools
Streamlining Python Project Development with a Comprehensive Toolset for Quality, Efficiency, and Maintainability
Streamlining Python Project Development with a Comprehensive Toolset for Quality, Efficiency, and Maintainability
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.
There are two ways to use this project:
pipx install copier
copier copy --trust gh:entelecheia/hyperfast-python-template path/to/destination
pipx install copier
copier copy --trust gh:entelecheia/hyperfast-python-template .
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.
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.
PYPI_API_TOKEN
secret with the value set to the token generated for your PyPI account.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.
If you plan to deploy the JupyterBook documentation to a custom domain, you'll need to add a CNAME
variable to your GitHub repository.
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.
See the CHANGELOG for more information.
Contributions are welcome! Please see the contributing guidelines for more information.
This project is released under the MIT License.
FAQs
Streamlining Python Project Development with a Comprehensive Toolset for Quality, Efficiency, and Maintainability
We found that hyperfast-python-template demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.