Development package for Baicai
Project description
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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file baicai_dev-0.1.0.tar.gz.
File metadata
- Download URL: baicai_dev-0.1.0.tar.gz
- Upload date:
- Size: 71.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cae2210885003164c76a3315bbb77d5b24f31fb0265ca5d313b0d77ded774279
|
|
| MD5 |
2eeeea03db84e5c9c36fc6974f62863f
|
|
| BLAKE2b-256 |
52613c794524657bb0e92f7a5a3f8bc60205a40abea4655f718b00ab133ee1fd
|
File details
Details for the file baicai_dev-0.1.0-py3-none-any.whl.
File metadata
- Download URL: baicai_dev-0.1.0-py3-none-any.whl
- Upload date:
- Size: 99.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e30db3526464b7e1708236bbb36a1e00a495e7badf044b2f46ff01d7a078f50
|
|
| MD5 |
25e9575e0b10de37a1ca8e45c9f7afbf
|
|
| BLAKE2b-256 |
fd9fbc40cac9f4e555143a8885f09f9845899f26da0ad7d47c34770a7e5d078e
|