This release is a pre-release and may not be stable for production use.
xdantic
Lightweight configuration library on top of PyDantic
How to set up a local dev environment
- Clone repo
- Download & install Python 3.9 from official website: https://www.python.org/downloads/
- Check if you have installed the right Python version via Python --version / Python3 --version
- Create virtual environment via
Python3.9 -m venv <env_folder>and activate your virtual environment viasource <env_folder>/bin/activate- Usually we create your <env_folder> right under project root folder
- Install required build tools:
pip install --upgrade pip setuptools wheel flit- If you don't have pip preinstalled, run
python get-pip.py. More info from https://pip.pypa.io/en/stable/installation/
- If you don't have pip preinstalled, run
- Install dependencies:
PIP_FIND_LINKS=deps flit install -s --deps production --extras testing-If new dependency needs to be added, you should define it in filepyproject.toml - Install manually dependencies for xconfig :
pip install deps/xconfig-0.0.1.dev1.tar.gz - jarvis must have a
__init__.pyfile in which there must be a version number in there - Create empty folder data in root folder and create models and cache folders inside data folders
How to build docs
To build the documentation locally, install the doc dependency group and run:
mkdocs build --site-dir build
Tutorial
The notebooks folder contains a Jupyter notebooks that show examples of using xdantic.
Tests
To run the test locally, install the testing dependency group and run:
pytest -s test
Metadata
Release files for xdantic 0.0.2.dev0
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 |
|---|---|---|---|---|
| xdantic-0.0.2.dev0.tar.gz | 10.9 kB | Without provenance | Details for xdantic-0.0.2.dev0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xdantic-0.0.2.dev0-py3-none-any.whl | Python 3 | none | any | Details for xdantic-0.0.2.dev0-py3-none-any.whl |
Total release size: 15.6 kB
Release files / xdantic-0.0.2.dev0.tar.gz
| Download URL | xdantic-0.0.2.dev0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b79073d887cb4e8ed94ae6d31afb01266adbdad7bf57a929ffe331e0b2ceec4
|
|
BLAKE2b-256 checksum How to use checksums |
0a464c94c19e93879593872b9ceadfd103ed4a17d6135b4f6d2b15a50a8694c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / xdantic-0.0.2.dev0-py3-none-any.whl
| Download URL | xdantic-0.0.2.dev0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d6e744a1f211a73cb4e7bd05e29bdb6ccb14c951b06ffb2529228e4bdb991a2
|
|
BLAKE2b-256 checksum How to use checksums |
5e23fed2542f0beec9a93db9f35deb626582d469e9557e796d3c712b2ccbcdc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for xdantic 0.0.2.dev0
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.