Derevo library
This is a standalone module which can be installed and used without plants backend and frontend.
It contains methods to generate stable plants compotions.
Installation
- Prepare virtual environment with
venvif you need - Install with
python -m pip install .
Wheel can be built the same way, by running python -m build . (you would need to install build package before that).
To install package from .wheel, use python -m wheel install dist/derevo-0.1.0-py3-none-any.whl.
Following packages are need to be installed on your system to successfully build the module: build virtualenv
All commands are presented in Makefile for reference.
Running an example
- Set environment variables from envfile, you would need a database with plants, limitations and others
- launch
make run-exampleor launch manually withpython -m example
Packing in docker for a backend service
For the backend docker image to build, derevo must be installed in it. As they are in different directories,
and derevo is not on PyPi yet, it was decided to be a best way to store built wheel rosource in a dummy
container called local/derevo. It should be built using make docker-build before building backend image.
Development
For development purposes it is better to use editable install with python -m pip install -e . - so when you change
the content of the module, there is no need to perform reinstall.
In some cases VS Code Pylance and other analyzer tools report missing module, then you need to either configure them
properly (in case of Pylance, add "python.analysis.extraPaths": ["<project_dir>/method"]
to .vscode/settings.json) or make a strict installation:
python -m pip install -e . --config-settings editable_mode=strict.
The second option is better, in case of adding new files a reinstallation will be needed
Metadata
Release files for derevo 0.1.2
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 |
|---|---|---|---|---|
| derevo-0.1.2.tar.gz | 16.3 kB | Without provenance | Details for derevo-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| derevo-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for derevo-0.1.2-py3-none-any.whl |
Total release size: 36.1 kB
Release files / derevo-0.1.2.tar.gz
| Download URL | derevo-0.1.2.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc40ce5dc84829f28f8fa8a7c43c8864690dc3975f44638e5b9a9d84ee189bba
|
|
BLAKE2b-256 checksum How to use checksums |
f7d42624a5a8ffda1c82ed0d9257a4e33163ea281b4a934c7961daca955bb930
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / derevo-0.1.2-py3-none-any.whl
| Download URL | derevo-0.1.2-py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2301e12b60136d4d590c72851bb6b958b5be767fbd69aa46feba0da8d4528e76
|
|
BLAKE2b-256 checksum How to use checksums |
3c95b0ea81dad877bed08e4d1c4ce048d99efb2154e0bafbe945ccd3367c4bb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for derevo 0.1.2
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.