Skip to main content

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

  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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

baicai_dev-0.1.0.tar.gz (71.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

baicai_dev-0.1.0-py3-none-any.whl (99.1 kB view details)

Uploaded Python 3

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

Hashes for baicai_dev-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cae2210885003164c76a3315bbb77d5b24f31fb0265ca5d313b0d77ded774279
MD5 2eeeea03db84e5c9c36fc6974f62863f
BLAKE2b-256 52613c794524657bb0e92f7a5a3f8bc60205a40abea4655f718b00ab133ee1fd

See more details on using hashes here.

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

Hashes for baicai_dev-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e30db3526464b7e1708236bbb36a1e00a495e7badf044b2f46ff01d7a078f50
MD5 25e9575e0b10de37a1ca8e45c9f7afbf
BLAKE2b-256 fd9fbc40cac9f4e555143a8885f09f9845899f26da0ad7d47c34770a7e5d078e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page