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.dev21.tar.gz
(759.0 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.dev21.tar.gz.
File metadata
- Download URL: phidata-2.0.0.dev21.tar.gz
- Upload date:
- Size: 759.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c205236a0ccf27b32f58dc910e2198e3e102dc9ddaf0197320bea4b9a0f6f5c
|
|
| MD5 |
2c975bfa63f56da74e33e9f800c4aa98
|
|
| BLAKE2b-256 |
69c157f68dc31559518bb65c91987979711b8009cca5ceb8eace42fff1171c38
|
File details
Details for the file phidata-2.0.0.dev21-py3-none-any.whl.
File metadata
- Download URL: phidata-2.0.0.dev21-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 |
13f59e29cf96272e136e9e80a3f8b2c4661565a5917a79a05f88df61283dbb01
|
|
| MD5 |
86494ec93789b6f9cb95af3d61cc8341
|
|
| BLAKE2b-256 |
f0203cabf1833f628b8e7ce6bc4db3c5b9f3201ff30c6eb1ed7da7c148ec9e56
|