Skip to main content

AI Toolkit for Engineers

Project description

phidata

AI Toolkit for Engineers

version pythonversion downloads build-status


Phidata is a toolkit for building LLM Apps, Web Apps and AI platforms.

  • Phidata makes it easy to run tools like FastApi, Django, Jupyter, Streamlit, Airflow and Superset.
  • Use these tools to build LLM Apps, Web Apps and Data Platforms.
  • Run locally for development and production on AWS, with 1 command.

🚀 How it works

  • Create your codebase from a template using phi ws create
  • Run your app locally using phi ws up dev:docker
  • Run your app on AWS using phi ws up prd:aws

Basic Example: Run a Jupyter Notebook

Requirements

Setup

Open the terminal and create a python virtual environment

python3 -m venv ~/.venvs/labenv
source ~/.venvs/labenv/bin/activate

Install phidata

pip install phidata

Define DockerConfig that runs a Jupyter app

Create a file resources.py and add the following code to it

from phidata.app.jupyter import Jupyter
from phidata.docker.config import DockerConfig

dev_docker_config = DockerConfig(
    apps=[
        # -*- Run Jupyter on port 8888
        Jupyter(mount_workspace=True)
    ],
)

Start the app

phi start resources.py
  • Open the browser and go to http://localhost:8888
  • Password is admin

Stop the app

phi stop resources.py

More Information:

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

phidata-2.0.14.tar.gz (284.2 kB view details)

Uploaded Source

Built Distribution

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

phidata-2.0.14-py3-none-any.whl (424.2 kB view details)

Uploaded Python 3

File details

Details for the file phidata-2.0.14.tar.gz.

File metadata

  • Download URL: phidata-2.0.14.tar.gz
  • Upload date:
  • Size: 284.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for phidata-2.0.14.tar.gz
Algorithm Hash digest
SHA256 f0748e0cbb9eb388d35832db45aeaf26791704a4535c55569727d0176f988f0c
MD5 da22366569a51ac6d5e14c91dd742860
BLAKE2b-256 eee74a5ca45453d089af3314959dd019ba293f73d040e1d17f7fa48838af4286

See more details on using hashes here.

File details

Details for the file phidata-2.0.14-py3-none-any.whl.

File metadata

  • Download URL: phidata-2.0.14-py3-none-any.whl
  • Upload date:
  • Size: 424.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for phidata-2.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 16148925484b9a4cabe78a3b7aeab721d323eb949f0f3c539c7004c499ba477c
MD5 08263e77ac3e8d7576dde013a94ab3a8
BLAKE2b-256 98879b143794395179dafb4c14df489440eed13aeb9a4624ea5d1f51b08bd598

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