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 ========================================================================
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.1.tar.gz
.
File metadata
- Download URL: i11_ai-0.1.1.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d149304cde4c1c89ce322c5cca8c1d7c35cb873016607d0d0e4fa0398e6971ba |
|
MD5 | 29970347992134f86e8d6506b3897456 |
|
BLAKE2b-256 | 80985a51fe22c897cc4a0cdd910c3442893dd995b20937ba61f7a44ceb293ab3 |
File details
Details for the file i11_ai-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: i11_ai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 1.8 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 | b633478d84e41b4ce82273f97dd98a808d319a8eac6e7bb9bcf0be15a1f55149 |
|
MD5 | 99c2aa6801766cffd662427309cb2015 |
|
BLAKE2b-256 | ca53a11a1b2616bd2c783bd18b566d29cdd50a4334b74784f22111c12babe1b8 |