CloudFormation Utils
A Python library for reading, writing and pre-processing CloudFormation YAML stacks.
Features
- Read and write CloudFormation templates in YAML format
- Pre-process templates with custom logic
- Validate template structure
- Support for modern Python versions (3.8+)
Installation
Install from PyPI:
pip install cloudformation-utils
For development:
git clone https://github.com/NitorCreations/cloudformation-utils.git
cd cloudformation-utils
make setup-dev
Usage
import cloudformation_utils
# Your usage examples here
Development
This project uses modern Python packaging and development tools:
Setup Development Environment
make setup-dev
This will:
- Install the package in development mode
- Install all development dependencies
- Set up pre-commit hooks
Available Commands
make help # Show all available commands
make test # Run tests
make test-cov # Run tests with coverage
make lint # Run linting
make format # Format code
make type-check # Run type checking
make quality # Run all quality checks
make build # Build the package
make clean # Clean build artifacts
Code Quality
This project uses:
- Ruff for linting and formatting
- MyPy for type checking
- pytest for testing
- pre-commit for git hooks
Testing
Run tests:
make test
Run tests with coverage:
make test-cov
Releasing
Releases are automated via GitHub Actions when you push a tag:
git tag v0.0.4 # Next version after current 0.0.3
git push origin v0.0.4
Requirements
- Python 3.8 or higher
- PyYAML 6.0 or higher
License
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run the test suite and quality checks
- Submit a pull request
Please ensure your code follows the project's coding standards and includes appropriate tests.
Metadata
Release files for cloudformation-utils 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cloudformation_utils-0.0.3.tar.gz | 26.2 kB | Without provenance | Details for cloudformation_utils-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cloudformation_utils-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for cloudformation_utils-0.0.3-py3-none-any.whl |
Total release size: 39.8 kB
Release files / cloudformation_utils-0.0.3.tar.gz
| Download URL | cloudformation_utils-0.0.3.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ad5f47a8ab59ca936b51007b2919ba618d961824f87406a68372ad82d6f7872
|
|
BLAKE2b-256 checksum How to use checksums |
350d116a5485dcd15b646222354e2448d2ac99a47888d06f756ea347e96fe451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|
Release files / cloudformation_utils-0.0.3-py3-none-any.whl
| Download URL | cloudformation_utils-0.0.3-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d59d4aba83fb9a96390699fc006d968e03bcc539c36844882d0c856f80905dc3
|
|
BLAKE2b-256 checksum How to use checksums |
e53f0b5fd2b98527a0b8750d977c9059cd4644eb16769318667350ecc3ca4898
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|
Security for cloudformation-utils 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.