Baicai Dev
A (not) powerful Python package for AI workflow development, built on top of LangChain and LangGraph frameworks.
Overview
Baicai Dev is a development toolkit designed to streamline the creation and management of AI workflows. It provides a flexible framework for building, testing, and deploying AI-powered applications using LangChain and LangGraph.
Features
- Workflow development and management
- Integration with LangChain and LangGraph
- Support for multiple LLM providers
- Development and testing utilities
- Code quality and type checking tools
Requirements
- Python 3.10 or higher (but less than 3.12)
- Poetry for dependency management
Installation
- Clone the repository:
git clone [repository-url]
cd baicai-dev
- Install dependencies using Poetry:
MacOs > 1. The torchvision package is trying to use the lzma module. The lzma module depends on the _lzma C extension. To fix this, you need to install the XZ development libraries, which provide the required LZMA support, you can install this using Homebrew:
brew install xz> 2. libomp.dylib for lightgbm, solve bybrew install libomp
poetry install
Development Setup
- Create and activate a virtual environment:
poetry shell
- Install development dependencies:
poetry install --with dev
Project Structure
baicai-dev/
├── baicai_dev/ # Main package directory
├── tests/ # Test files
├── pyproject.toml # Project configuration
└── README.md # This file
Development Tools
The project uses several development tools to maintain code quality:
- pytest: For testing
- mypy: For static type checking
- ruff: For linting and code formatting
Code Style
The project follows strict code style guidelines:
- Line length: 120 characters
- Indentation: 4 spaces
- Quote style: Double quotes
- Type hints are required
Testing
Run tests using pytest:
pytest
License
This project is licensed under the GPL-3.0 License.
Authors
- Zhaoyang tech gengyabc@aliyun.com
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
Keywords
- Python
- AI
- Workflow
- LangChain
- LangGraph
Example data
- Fisher, R. (1936). Iris [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C56C76.
- This dataset was obtained from the StatLib repository. https://www.dcc.fc.up.pt/~ltorgo/Regression/cal_housing.html
- seaborn-data/titanic.csv https://github.com/mwaskom/seaborn-data/blob/master/titanic.csv
- Productivity Prediction of Garment Employees [Dataset]. (2020). UCI Machine Learning Repository. https://doi.org/10.24432/C51S6D.
Metadata
Release files for baicai-dev 0.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 |
|---|---|---|---|---|
| baicai_dev-0.1.0.tar.gz | 71.0 kB | Without provenance | Details for baicai_dev-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| baicai_dev-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for baicai_dev-0.1.0-py3-none-any.whl |
Total release size: 170.0 kB
Release files / baicai_dev-0.1.0.tar.gz
| Download URL | baicai_dev-0.1.0.tar.gz |
|---|---|
| Size | 71.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cae2210885003164c76a3315bbb77d5b24f31fb0265ca5d313b0d77ded774279
|
|
BLAKE2b-256 checksum How to use checksums |
52613c794524657bb0e92f7a5a3f8bc60205a40abea4655f718b00ab133ee1fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Release files / baicai_dev-0.1.0-py3-none-any.whl
| Download URL | baicai_dev-0.1.0-py3-none-any.whl |
|---|---|
| Size | 99.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e30db3526464b7e1708236bbb36a1e00a495e7badf044b2f46ff01d7a078f50
|
|
BLAKE2b-256 checksum How to use checksums |
fd9fbc40cac9f4e555143a8885f09f9845899f26da0ad7d47c34770a7e5d078e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Security for baicai-dev 0.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.