Toolkit for AI Engineers
Project description
phidata
Run open source tools using python
Phidata is a toolkit for building applications with open source tools.
- 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
- python 3.7+
- Install docker desktop
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:
- Documentation: https://docs.phidata.com
- Questions: Chat with us on Discord
- Email: help@phidata.com
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.0.dev26.tar.gz
(765.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phidata-2.0.0.dev26.tar.gz.
File metadata
- Download URL: phidata-2.0.0.dev26.tar.gz
- Upload date:
- Size: 765.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4f70f63a14e1bb959baa04cf727f864f2dd66492fb92ec7af8b611bc9f26baf
|
|
| MD5 |
82ab2ec33499b66bcebc36c77eb92665
|
|
| BLAKE2b-256 |
25ff746be627d2664bc0dfed395c301101eaaddabda4da5693909a26bd3c8461
|
File details
Details for the file phidata-2.0.0.dev26-py3-none-any.whl.
File metadata
- Download URL: phidata-2.0.0.dev26-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bcb77805bdf291f50268bcf23c45d845ca3c0899fed890c2fc9d612e2eba5e8
|
|
| MD5 |
e4a4fda451562b65e88fc55239a10f32
|
|
| BLAKE2b-256 |
f537acb213225de870d1f1c4026fd6c5fe81dfa981d542663536ad25689586ab
|