Skip to main content

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

  1. Clone the repository:
git clone [repository-url]
cd baicai-dev
  1. 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 by brew install libomp

poetry install

Development Setup

  1. Create and activate a virtual environment:
poetry shell
  1. 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

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

Keywords

  • Python
  • AI
  • Workflow
  • LangChain
  • LangGraph

Example data

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)

Source distribution for baicai-dev 0.1.0
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)

Table of built distributions (wheels) for baicai-dev 0.1.0
File Interpreter ABI Platform Actions
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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page