lifeomic-chatbot-tools
Python utilities for machine learning, web services, and cloud infrastructure. Includes classes and methods for:
- ML model serialization/deserialization
- ML model evaluation utilities
- Data structures/models related to chatbots
- ML model artifact persistence and version management
- And more
The data structures in this package can all be found in the
lifeomic_chatbot_tools.types sub-package, and are all
Pydantic data models. For example the
lifeomic_chatbot_tools.types.agent.AgentConfig class represents a chatbot's
configuration and training data.
Getting Started
To begin using the package, use your favorite package manager to install it from PyPi. For example, using pip:
pip install lifeomic-chatbot-tools
Some of the features in this repo require more heavy weight dependencies, like AWS
related utilities, or utilities specific to machine learning. If you try to import
those features, they will tell you if you do not have the correct package extra
installed. For example, many of the features in the lifeomic_chatbot_tools.ml
sub-package require the ml extra. To install lifeomic-chatbot-tools with that
extra:
pip install lifeomic-chatbot-tools[ml]
You can then begin using any package features that require ML dependencies.
Developing Locally
Before making any new commits or pull requests, please complete these steps.
- Install the Poetry package manager for Python if you do not already have it. Installation instructions can be found here.
- Clone the project.
- From the root directory of the repo, install the dependencies, including all dev
dependencies and extras:
poetry install --all-extras
Testing Locally
With Yarn, Docker, and docker-compose installed, run this command from the project root:
poetry run poe ci
This will build the project, lint it, and run the unit tests and integration tests.
All those steps can be run individually as well. See the scripts in the pyproject.toml
file for the command names.
MacOS Users
When developing using MacOS, it is recommended to use a dev container. This project supports VS Code dev containers out of the box.
Releasing The Package
Releasing the package is automatically handled by CI, but three steps must be taken to trigger a successful release:
- Use Poetry's
versioncommand to bump the package's version. - Update the CHANGELOG file with the latest changes added under the new version.
- Open a PR. When it's merged to
master, the release will happen automatically.
CI will then build and release the package to pypi with that version once the PR is
merged to master.
Metadata
Release files for lifeomic-chatbot-tools 9.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 |
|---|---|---|---|---|
| lifeomic_chatbot_tools-9.1.0.tar.gz | 29.7 kB | Without provenance | Details for lifeomic_chatbot_tools-9.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lifeomic_chatbot_tools-9.1.0-py3-none-any.whl | Python 3 | none | any | Details for lifeomic_chatbot_tools-9.1.0-py3-none-any.whl |
Total release size: 68.4 kB
Release files / lifeomic_chatbot_tools-9.1.0.tar.gz
| Download URL | lifeomic_chatbot_tools-9.1.0.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f07f4bc4c09cb4afbf84840806b95a9d3c697af064aa400ebc7b1fded960595
|
|
BLAKE2b-256 checksum How to use checksums |
397ffb462dfbfe5736cd94afa5fea57b46d5754464d432a284b5f5163543fdea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.3 Linux/6.11.0-1018-azure
|
Release files / lifeomic_chatbot_tools-9.1.0-py3-none-any.whl
| Download URL | lifeomic_chatbot_tools-9.1.0-py3-none-any.whl |
|---|---|
| Size | 38.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
763082719ab6673f7e6f4a5936080e5ac260305df327d3d8ec3c5a371b2fb22d
|
|
BLAKE2b-256 checksum How to use checksums |
2a9fe53f04cc9f0ce1c973dced25b873db32a7d362ab326b4d07d6e22438213f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.3 Linux/6.11.0-1018-azure
|
Security for lifeomic-chatbot-tools 9.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.