Apache Flagon Distill
This project is a work in progress, prior to an official Apache Software Foundation release. Check back soon for important updates.
Please see our readthedocs.org pages for documentation.
A contribution guide has been provided here.
Installation
To install and set up the Python project, Distill uses Poetry, a dependency and package management tool. Poetry simplifies the management of project dependencies and virtual environments, ensuring consistent and reproducible builds.
Prerequisites
Before you begin, make sure you have the following prerequisites installed on your system:
Python (>= 3.8)
Poetry (>= 1.0)
You can check your Python version by running:
python --version
This will return the version of Python installed on your system. If you do not have Python installed, you can download it from the official website. However, we recommend using a Python version manager such as pyenv. You can refer to this guide for setting it up: pyenv guide.
You can install Poetry a number of ways (see the Poetry docs for all methods). We recommend installing one of the following two ways:
Official Installer:
Linux, macOS, Windows (WSL)
curl -sSL https://install.python-poetry.org | python3 -
Windows (Powershell)
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
pipx:
pipx install poetry
The above two methods should minimize the chances of dependency conflicts with your system Python (global) installation. Some users have reported issues with Poetry using an incorrect Python environment instead of the project’s local virtual environment when using regular pip method. If you run into issues, please refer to the official Poetry docs or Github for more in-depth installation instructions.
Installation Steps
Follow these steps to set up and install the project:
Clone the repository:
git clone https://github.com/apache/flagon-distill.gitNavigate to the project directory:
cd flagon-distillUse Poetry to install project dependencies and create a virtual environment:
poetry installThis command reads the pyproject.toml file and installs all required packages into a dedicated virtual environment.
Activate the virtual environment:
poetry shellYou are now inside the project’s virtual environment, which isolates the project’s dependencies from your system-wide Python packages.
Run the tests:
You can now run the tests to make sure everything installed properly. For example:
make testRemember that you need to activate the virtual environment (step 4) each time you work on the project.
Updating Dependencies
To update project dependencies, you can use the following command:
poetry update
This command updates the pyproject.toml file with the latest compatible versions of the packages.
Uninstalling
To uninstall the project and its dependencies, simply deactivate the virtual environment (if activated) by typing:
exit
This will exit the virtual environment. You can then safely delete the project directory.
By following these installation steps, you can easily set up and manage the Python project using Poetry. Enjoy coding!
Metadata
Release files for flagon-distill 0.1.0
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 |
|---|---|---|---|---|
| flagon_distill-0.1.0.tar.gz | 26.2 kB | Without provenance | Details for flagon_distill-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flagon_distill-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for flagon_distill-0.1.0-py3-none-any.whl |
Total release size: 62.7 kB
Release files / flagon_distill-0.1.0.tar.gz
| Download URL | flagon_distill-0.1.0.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e55d7768b919efcb837a59d14c3e956a6d9d5044b21c26045fa9e3a3cb214d9f
|
|
BLAKE2b-256 checksum How to use checksums |
be7454790a066aad8b974d389b4b5bb2cb0ab4891ca625df1c5ac1a24f4ef47b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.3 Darwin/22.6.0
|
Release files / flagon_distill-0.1.0-py3-none-any.whl
| Download URL | flagon_distill-0.1.0-py3-none-any.whl |
|---|---|
| Size | 36.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1047e8d1c5de641088c80fb4388761b5ba5bbccd6be2ab3fd8546b84b092c4c8
|
|
BLAKE2b-256 checksum How to use checksums |
d3d075cc48053089a8d321e7b49fc923c8d8499326996c5584ca8f20b9df4747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.3 Darwin/22.6.0
|
Security for flagon-distill 0.1.0
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.