Typing stubs for strictyaml
Project description
Typing stubs for strictyaml
* Python 3.10 through 3.14
new in 1.7.3.0
initial typing testsuite; tested against mypy pyright; publish to pypi;
Why?
strictyaml is ignored by the Python community. Instead these are promoted: TOML, Python internal yaml, pyyaml, and pydantic.
None of which strictly validate very likely malicious dangerous user input.
Feel sorry for those who have been mislead to believe, without validating against a schema, the input files are safe.
User input validation critical security issues pop up constantly. In Python at least, some of these can be avoided completely by choosing strictyaml.
History
The strictyaml author had his own ideas on how to test and document Python packages. Regardless agree with him or not, this created a barrier to entry to surmount for both potential contributors and maintainers.
Would argue that barrier, evidently, is too formidable for us average diabolical albeit lazy geniuses.
Then to add insult to injury, the author ascended to another plane of existence, leaving strictyaml unmaintained.
There exists a vacuum where there should be: stubs, pytest test suite, coverage, and Sphinx docs.
Roadmap
These stubs were created without forking strictyaml. And will help downstream authors test their packages. Hopefully lead to strictyaml acceptance by the Python community.
Static type checking performed using both mypy and pyright. With the hope that later strictyaml is forked and pytest test suite is created. So can prove coverage and allow pyright to find coding errors.
Projects
These packages input files are strictly validated against a schema.
If have a package built that is protected by strictyaml, we’d like to hear from you.
strictyaml team
Dave Faulkmore and Muneeb ur Rahman both have made contributions to strictyaml community. Both have skin in the game and would like to see strictyaml project status revived.
If share our passion, throw caution to the wind, say hmm why not?, put the effort towards writing a message, then find the mental fortitude to click the Send button.
Contributing
Create .venv
pyenv versions
mkdir .venv && cd .venv
python -m venv .
cd - &>/dev/null
. .venv/bin/activate
python -m pip install -e ".[dev]"
Run tests
Verbose and show output
make v=1 show=1 check
Quiet and save output to /tmp folder
make check
Run mypy
make premypy
Run pyright
make preright
Run pre-commit
make pre-commit
licenses
Lets take legal compliance seriously to show commitment to respect and acknowledge authors.
Creates NOTICE.txt, licenses.json and sbom.json
rm -rf build/lib; cd .tox && tox --root=.. -c ../tox.ini -e notice \
--workdir=. -vvv; cd - &>/dev/null
rm -rf build/lib; cd .tox && tox --root=.. -c ../tox.ini -e sbom \
--workdir=. -vvv; cd - &>/dev/null
LICENSE and NOTICE.txt are essentially the same expect LICENSE is manually maintained.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file types_strictyaml-1.7.3.0.tar.gz.
File metadata
- Download URL: types_strictyaml-1.7.3.0.tar.gz
- Upload date:
- Size: 30.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82ad84b058f540d0f3b0a4610a156aa4692ce3923195dc1b92c73af8cb74397a
|
|
| MD5 |
421bb7b0f617c89749fdcc95d82ff675
|
|
| BLAKE2b-256 |
7486e1b89bb2636d202e2ee04b62a9eca5d7ac90d763da864f57775711266bb2
|
Provenance
The following attestation bundles were made for types_strictyaml-1.7.3.0.tar.gz:
Publisher:
release.yml on msftcangoblowm/types-strictyaml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
types_strictyaml-1.7.3.0.tar.gz -
Subject digest:
82ad84b058f540d0f3b0a4610a156aa4692ce3923195dc1b92c73af8cb74397a - Sigstore transparency entry: 1690344450
- Sigstore integration time:
-
Permalink:
msftcangoblowm/types-strictyaml@0a7c888eab7502ba1177f4b00f1c8ba231253c0e -
Branch / Tag:
refs/tags/1.7.3.0 - Owner: https://github.com/msftcangoblowm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0a7c888eab7502ba1177f4b00f1c8ba231253c0e -
Trigger Event:
push
-
Statement type:
File details
Details for the file types_strictyaml-1.7.3.0-py3-none-any.whl.
File metadata
- Download URL: types_strictyaml-1.7.3.0-py3-none-any.whl
- Upload date:
- Size: 45.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f95e6ab0f1c8384a7e087c5e683d3979d3f2cebfa41980b869c3d6220fb6cae
|
|
| MD5 |
3d3181e61734136b12143e92ae686595
|
|
| BLAKE2b-256 |
52890780a9f2b0424d3ca132cd64c92249e495df43857c4219833baf4be0605b
|
Provenance
The following attestation bundles were made for types_strictyaml-1.7.3.0-py3-none-any.whl:
Publisher:
release.yml on msftcangoblowm/types-strictyaml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
types_strictyaml-1.7.3.0-py3-none-any.whl -
Subject digest:
5f95e6ab0f1c8384a7e087c5e683d3979d3f2cebfa41980b869c3d6220fb6cae - Sigstore transparency entry: 1690344501
- Sigstore integration time:
-
Permalink:
msftcangoblowm/types-strictyaml@0a7c888eab7502ba1177f4b00f1c8ba231253c0e -
Branch / Tag:
refs/tags/1.7.3.0 - Owner: https://github.com/msftcangoblowm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0a7c888eab7502ba1177f4b00f1c8ba231253c0e -
Trigger Event:
push
-
Statement type: