Skip to main content

AI Flow

Introduction

AI Flow, which offers various reusable operators & processing units in AI modeling, helps AI engineer to write less, reuse more, integrate easily.

Install

pip install aiflow

Concepts

Operators VS. Units

Ideally, we agree:

  • An Operator would contain lot of units, which will be integrated into airflow for building non-realtime processing workflow;
  • A Unit is a small calculation unit, which could be a function, or just a simple modeling logic, and it could be picked as bricks to build an operator. Besides, it could be reused anywhere for realtime calculation.

Classes

Operators

MongoToCSVOperator

Elastic2CSVOperator

RegExLabellingOperator

Units

Doc2VecUnit

Doc2MatUnit

Tests & Examples

Example: Use Units to Build Your Castle

Example: Working with Airflow

In tests/docker/ folder, we provide examples on how to use aiflow with airflow. It is a docker image, you could simply copy and start to use it!

In project root directory, run commands first:

docker-compose up --build aiflow

Then open localhost:8080 in your browser, you can see all the examples aiflow provided! Note: both the default username & password are admin

Enjoy!

Contribution

Release files for aiflow 1.0.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 aiflow 1.0.0
File Size Uploaded
aiflow-1.0.0.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiflow 1.0.0
File Interpreter ABI Platform
aiflow-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.1 kB

Release files / aiflow-1.0.0.tar.gz

Download URL aiflow-1.0.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1f11099ffe8a7a13822cd838b1f7a630088e58eeb40b134fc76963c15c18b35d
BLAKE2b-256 checksum
How to use checksums
a38d5b4db2abac3791e5ca26402a24154e93a00749b15a29a18b88ffe5b8fb7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9

Release files / aiflow-1.0.0-py3-none-any.whl

Download URL aiflow-1.0.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fc3d0db04036fa3bb288760b035257fac9fc4324b930ae403108d6a7200dc45
BLAKE2b-256 checksum
How to use checksums
5f7593b8ca20b80525e71d862e76ea66949fc03e2447e67d10b674a8d0d8c174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.1

2 release files

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