Markings
markings is a library that provides a way to mark your Python module, usually with issues.
Because it is part of the code, it enable you to have an "up to date" list of issues, per a commit, and to be able to view the trends of the issues along the git commits as oppose to using an external issue tracking system.
The library is based on pytest's markers and especially on @pytest.mark.xfail.
Example
Import the marker from the markings module.
Decide how you want to mark a fuction and use the decorator to mark the function.
from markings import marker
@marker.todo("Receive the name of the user as parameter")
def func():
print("hello world")
In the previous example the marker was todo, but it can be anything you want:
from markings import marker
@marker.anything_you_want("Receive the name of the user as parameter")
def func():
print("hello world")
Installation
pip install markings
Tests
./scripts/test.sh
Lint
How to contribute
Metadata
Release files for markings 0.0.5
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 |
|---|---|---|---|---|
| markings-0.0.5.tar.gz | 3.4 kB | Without provenance | Details for markings-0.0.5.tar.gz |
Release files / markings-0.0.5.tar.gz
| Download URL | markings-0.0.5.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f784a58bec86452dcef80480890245d763f128c68f0036dd103178a7ed18c8c3
|
|
BLAKE2b-256 checksum How to use checksums |
8bfabb144da99c8d694ccd92cbbc973af6055547d847b341bff0e781f762e6c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.1
|
Security for markings 0.0.5
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.