No project description provided
Project description
ai-python-common
A common repository for shared python code used within AI/ML projects
Development
The following section details local development setup for this python package.
Pre-Requisites
You will need the following tools setup on your computer
- Visual Studio Code
- Rancher Desktop for running docker
- devcontainers vscode extension
Developing a feature
Once you have all the pre-requisites configured, you can open this project folder within vscode and it will prompt you to open the project inside a container. Choose "yes" to proceed.
NOTE: The first time you open this project in container vscode will build all the container layers. This could take some time, so please be patient
Open a new terminal and you will be connected to the container. You can now use your standard git workflow to create a new branch and start updating code.
Enable pre-commit hook
Enable pre-commit hook to run all configured hooks
make setup
# sample output
No dependencies to install or update
Installing the current project: i11-ai (0.1.0)
pre-commit installed at .git/hooks/pre-commit
Running Tests
Use the Makefile
to run tests
make test
# sample output
Installing dependencies from lock file
No dependencies to install or update
Installing the current project: i11-ai (0.1.0)
pre-commit installed at .git/hooks/pre-commit
======================================================================= test session starts =======================================================================
platform linux -- Python 3.11.9, pytest-8.2.2, pluggy-1.5.0
rootdir: /workspaces/ai-python-common
configfile: pyproject.toml
collected 1 item
tests/common_test.py . [100%]
======================================================================== 1 passed in 0.02s ========================================================================
Release
- Create a new feature branch
- Bump the version number in pyproject.toml file
- Update CHANGELOG with relevant updates
- Create a new new PR and review with team
- Once PR is approved, merge the PR to
main
branch that will trigger a build to publish the package to PyPi
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
Built Distribution
File details
Details for the file i11_ai-0.1.2.tar.gz
.
File metadata
- Download URL: i11_ai-0.1.2.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e97877d2481d2c78eb79b16d70d28271588a5d17c3f449f01fe5e256771bcc4 |
|
MD5 | 82646f0d4da8ce06e949a0cd3e87e442 |
|
BLAKE2b-256 | a5e757b63dee4da8429f4fa6675e9dccc3a1dbf8b285dead5dbd4c9d071c9ca5 |
File details
Details for the file i11_ai-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: i11_ai-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6569428367ff3cd39895c0dfaf06ffa36cfd710b0acb446f60ae15c8d6c8680c |
|
MD5 | 1b04ff2e5d16e893a95daf2245ac6e35 |
|
BLAKE2b-256 | 3540e7799d58edcb8d79329215162b74eccdc34bb2706e985723b619c3cab161 |