Docs can be found here.
Orchestr-ANT-ion#
Table of Contents#
About The Project#
This project is a starting point for my Python AI workloads.
Use it as a starting point for creating and deploying your own Python projects.
Key Features#
Features are to be adjusted to your own project needs.
Category |
Feature |
Implement Status |
|---|---|---|
Packaging agnostic |
Binary only deployment |
✔️ |
Lore ipsum |
✔️ |
|
Infrastructure |
||
Add hydra support |
❌ |
|
Lore ipsum agnostic |
||
Advanced unit testing |
🔶 |
|
Advanced performance testing |
🔶 |
|
Advanced fuzz testing |
🔶 |
Legend:
✔️ - completed
🔶 - in progress
❌ - not started
Dependencies#
Adjust according to your project’s actual Python and library dependencies.
Useful Tools#
Overview#
The versioning of the package can be viewed in CHANGELOG.md.
Getting Started#
Setup#
Feel free to adjust for your own environment. F.e. create a virtual venv with a specific python version.
uv venv
python3.11 -m venv .venv
Pre commit hook#
uv venv
source .venv/bin/activate # .venv/Scripts/activate on pwsh
uv pip install pre-commit
pre-commit install
# run on all files once (optional)
pre-commit run --all-files
Installation#
There are three major ways to install this package in your environment:
Install directly via pip:
pip install Orchestr-ANT-ion@git+https://github.com/Kataglyphis/Orchestr-ANT-ion
or install a specific tagged version:
pip install Orchestr-ANT-ion@git+https://github.com/Kataglyphis/Orchestr-ANT-ion@v0.0.1
Install after cloning the repo:
git clone --recurse-submodules https://github.com/Kataglyphis/Orchestr-ANT-ion pip install .
or
pip install -e .
(an editable install: changes in the repo will be reflected in your environment)
Add as a submodule to your repository:
git submodule add https://github.com/Kataglyphis/Orchestr-ANT-ion
Make sure that all dependencies are installed during your repo’s installation.
(Not generally recommended, as it can be more complicated.)
Picamera web browser live stream#
You need to shared system packages for the
picamera2 should be installed via apt
(source)
sudo apt install python3-picamera2
uv venv --system-site-packages
Deployment Recommendations (Hardware/Software)#
Python package deployment in pure C#
For insights into deploying Python packages into production as “binary only” wheels have a look into the corresponding workflows.
After creating the wheel you can check content with the command:
# Unzip a .whl
python -m zipfile --extract <ZIP_DATEI> <ZIEL_ORDNER>
This will print all available compatible tags for deployment
pip debug --verbose
./scripts/linux/ci_static_analysis.sh > "ci_analysis_$(date +%Y%m%d_%H%M%S).log" 2>&1
NOTE: If you want to install your package editable and you previously deployed
it you will need to delete all Cython generated files first. You can use the following
command for it:
find . -type f \( -name '\*.c' -o -name '\*.cpp' -o -name '\*.so' -o -name '\*.pyd' -o -name '\*.html' \) -delete
Or on windows … do this
Get-ChildItem -Path . -Recurse -File | Where-Object { $\_.Extension -in '.c', '.cpp', '.so', '.pyd', '.html' } | Remove-Item
Tests#
For development, you can install comprehensive dependencies with:
pip install -v -e .[dev,docs,test]
Then run your testing framework (e.g., pytest).
Roadmap#
Specify planned features or improvements here.
Demos#
uv run python -m orchestr_ant_ion.yolo.monitor
Contributing#
Contributions make open source software better! To contribute:
Fork the project
Create your feature branch (
git checkout -b feature/AmazingFeature)Commit your changes (
git commit -m 'Add some AmazingFeature')Push to the branch (
git push origin feature/AmazingFeature)Open a Pull Request
License#
Use or adapt your license here.
Contact and Maintainers#
Primary contact: @Cataglyphis_
Project example link: GitHub
Maintainers:
Replace this text with the list of maintainers who can be asked and assigned to review or merge requests.
Acknowledgements#
Mention credits for any third-party resources.
Literature#
List helpful literature, tutorials, or references that have guided this project.
Deployment#
Protect source code#
Demo#
If you have examples or demonstrations, add them here.
References#
Orchestr-ANT-ion is used in the following repos/packages:
Adapt this list to reference actual uses.
Known Issues#
List any known issues here.