Skip to main content

Yep.

Project description

Flowco

flowco

Flowco is designed to run as a web service.
However, it can also be run locally by following these instructions.

Configuration

  • Use a conda virtual environment or some other virtual environment.
  • You must use Python 3.11.
  • Ensure dot is on your path.
  • Ensure npm, node, and make are on your path to build from scratch.

API Key

[!IMPORTANT]

Flowco currently needs to be connected to an OpenAI account. Your account will need to have a positive balance for this to work (check your balance). Get a key here.

Once you have an API key, set it as an environment variable called OPENAI_API_KEY.

export OPENAI_API_KEY=<your-api-key>

Installing

From the source

Clone the repo and install:

pip3 install src/mxgraph_component/prebuilt/mxgraph_component-0.0.1-py3-none-any.whl -e .

This installs a bunch of normal packages, a custom component for Streamlit, and then Flowco as an editable package that you can run locally (rather than as the web service).

From scratch

To rebuild the graph component from scratch, run:

make

Running

On the command line, run flowco, passing it the directory in which to store its files. That directory should already exist:

mkdir /tmp/example
flowco /tmp/example

The first time you run, it may take 15-20 seconds to bring up the web page properly due to a timing issue with the libraries. It should launch more quickly after that.

Use -v to turn on logging.

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

flowco-0.54.0.tar.gz (27.2 MB view details)

Uploaded Source

Built Distribution

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

flowco-0.54.0-py3-none-any.whl (13.6 MB view details)

Uploaded Python 3

File details

Details for the file flowco-0.54.0.tar.gz.

File metadata

  • Download URL: flowco-0.54.0.tar.gz
  • Upload date:
  • Size: 27.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for flowco-0.54.0.tar.gz
Algorithm Hash digest
SHA256 bf7e0b73ce2cd593e86badf3cd1eb15c1af16fed24f6c924c98d33b5d863e05f
MD5 b16be136f1e0d58d0f6999bf8bd42e10
BLAKE2b-256 05018b8443bb85e02825feea7083caa17338413840ebb0afd9c1ac571f4dcadf

See more details on using hashes here.

File details

Details for the file flowco-0.54.0-py3-none-any.whl.

File metadata

  • Download URL: flowco-0.54.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for flowco-0.54.0-py3-none-any.whl
Algorithm Hash digest
SHA256 471ec65c474ce6e30d8d00cc5f2699435ae140ec1f1e3210830d19691556554a
MD5 53e9335c45ec90100f6226a8246e21a6
BLAKE2b-256 2c9a19a1ee11cf4dac3c78a64712a77acfa050956a855adf663e5f31c6b2a9c8

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