No project description provided
Project description
package framework
Installation
# clone project repository
git clone git@github.com:ultralytics/package-framework.git
# navigate to project root directory
cd package-framework
# create python virtual environment and activate it (optional)
virtualenv venv
source venv/bin/activate
# install project
python setup.py install
Deployment
Requirements
Python 3.8 or later with all requirements.txt
dependencies installed, including build
and twine
.
python -m pip install -U pip
pip install -U build twine
Pip Package Steps
Deploy from master branch ⚠
https://pypi.org/
# Build and upload https://pypi.org/
rm -rf build dist && python -m build && python -m twine upload dist/*
# username: __token__
# password: pypi-AgENdGVzdC5weXBpLm9yZ...
# Download and install
pip install -U ultralytics
# Import and test
python -c "from ultralytics import simple; print(simple.add_one(10))"
sample_script
https://test.pypi.org/
# Build and upload https://test.pypi.org/
rm -rf build dist && python -m build && python -m twine upload --repository testpypi dist/*
# username: __token__
# password: pypi-AgENdGVzdC5weXBpLm9yZ...
# Download and install
pip install -U --index-url https://test.pypi.org/simple/ --no-deps ultralytics2==0.0.9
# Import and test
python -c "from ultralytics import simple; print(simple.add_one(10))"
sample_script
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
ultralytics-dev-0.0.53.tar.gz
(23.3 kB
view hashes)
Built Distribution
Close
Hashes for ultralytics_dev-0.0.53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c58ce5a2b98c5c57f6d6032362db2935b2afbf6a819ea9e7851b3b14905137a8 |
|
MD5 | d65b22aeb5b90edc272401e79937965e |
|
BLAKE2b-256 | fc897f3d98c55e1b8a6f67ba60fb075f621ec5ee3ffd9a1f271da2a2a7c95c7f |