This release is a pre-release and may not be stable for production use.
byteplan-runtime
Inert @todo and @verifies decorators for BytePlan,
a source-first task tracker for Python projects. Plan in code. Track in one place.
from byteplan_runtime import todo, verifies
class Router:
@todo("Implement route poisoning", id="a83f",
tests=("tests/test_routing.py::test_route_poisoning",))
def advertise_routes(self):
raise NotImplementedError
@verifies("a83f")
def test_route_poisoning():
...
Guarantees
- Inert. Both decorators return the decorated object itself (
todo(...)(f) is f). They don't wrap, register, validate, log, read files or use the network. Decorator order and the behaviour of methods, classes,staticmethod,classmethodandpropertyare unchanged. - No dependencies, nothing at import time. It supports Python 3.8+ and is a single module.
- Never breaks an import. Arguments aren't checked at runtime. The
byteplanCLI reads these decorators statically (withast, never by importing your code) and reports problems there. - Stable API.
todo(title, /, *, id=None, kind="TODO", description="", test=None, tests=())andverifies(*ids). Keyword arguments may be added later, but existing ones won't change meaning.
Status
This package is complete for its purpose. The byteplan CLI discovers these decorators,
allocates id= values, links tests and can strip the decorators from release builds. The
decorators themselves remain harmless markers. New allocations use six-character hexadecimal
IDs; existing four-character IDs such as the examples above remain supported. From 1.0.0rc1 this
package is versioned in lockstep with byteplan, though it still supports Python 3.8+. See the
implementation plan.
Installation
pip install byteplan-runtime
If you use BytePlan's release stripping, production code won't import this package, and you can declare it as a development dependency only.
License
byteplan-runtime is distributed under the terms of the MIT license.
Metadata
Release files for byteplan-runtime 1.0.0rc1
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 |
|---|---|---|---|---|
| byteplan_runtime-1.0.0rc1.tar.gz | 6.0 kB | Without provenance | Details for byteplan_runtime-1.0.0rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| byteplan_runtime-1.0.0rc1-py3-none-any.whl | Python 3 | none | any | Details for byteplan_runtime-1.0.0rc1-py3-none-any.whl |
Total release size: 11.0 kB
Release files / byteplan_runtime-1.0.0rc1.tar.gz
| Download URL | byteplan_runtime-1.0.0rc1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e2e4bfba767e32cd97e3d34524ebd7459677626a42e673f4b0088b140d616ca
|
|
BLAKE2b-256 checksum How to use checksums |
5166f2eca3aee15a741284d09413538b74c9ca7595423ccfbecc89ffeb06e289
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Release files / byteplan_runtime-1.0.0rc1-py3-none-any.whl
| Download URL | byteplan_runtime-1.0.0rc1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
035e2fec9d4e71a09bb45edf75bf94264cec4731a997293442ecba05ad6c67ab
|
|
BLAKE2b-256 checksum How to use checksums |
109742af53caabd056f2fb06dee3c346084c59f2025e4fc4a7deba10637cbe4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Security for byteplan-runtime 1.0.0rc1
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.