Pyntegrant
While IoC and dependency injection aren’t as much of a thing in Python as they are in many compiled languages, that doesn’t mean they don’t have their place in decomposition of a complex architecture and assembly of systems; there’s something very nice about completely separated modules that communicate based on shared abstractions which are then assembled by a separate piece of code into running systems.
But despite the many microframeworks for dependency injection that I’ve seen for Python, I haven’t seen any that seem as elegant as the Integrant microframework enjoyed by Clojurists. This is an effort to remedy that, but as I haven’t loads of time to invest in it, it’s a pale shadow of the original.
Still, shadows have power. It can already do the initialization portion of a system, although items like prep, halt, suspend, etc remain, as do derived keys and refsets. But one thing at a time.
As of the 0.1.0 prerelease, all that works is the basic assembly of a system from a configuration (in Python, JSON, or TOML) and it’s surprising how effective that actually can be. Unfortunately error messages are lightly cryptic and documentation is nonexistent, but more will be coming shortly.
Metadata
Release files for pyntegrant 0.2.1
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 |
|---|---|---|---|---|
| pyntegrant-0.2.1.tar.gz | 8.4 kB | Without provenance | Details for pyntegrant-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyntegrant-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for pyntegrant-0.2.1-py3-none-any.whl |
Total release size: 17.5 kB
Release files / pyntegrant-0.2.1.tar.gz
| Download URL | pyntegrant-0.2.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d008f8696e76858db333152fd76bb88274b088ada3d29fffd28fd050973369b
|
|
BLAKE2b-256 checksum How to use checksums |
b46805ebd8ccaaf84ed68aaacfc11c92f905ad4ad6b420159f247259573101f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.9 Linux/6.1.9-arch1-1
|
Release files / pyntegrant-0.2.1-py3-none-any.whl
| Download URL | pyntegrant-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
269ccde813a9ff39b0f91547c588eed62f597fc81909d4b588ef63e5b2838388
|
|
BLAKE2b-256 checksum How to use checksums |
e5d979e778d292af00c354bf23125c9bd2c4f7eaa21ce430be89100f463e6f72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.9 Linux/6.1.9-arch1-1
|
Security for pyntegrant 0.2.1
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.