A toolkit for building applications using OSS
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.dev7.tar.gz
(685.3 kB
view hashes)
Built Distribution
phidata-2.0.0.dev7-py3-none-any.whl
(964.5 kB
view hashes)
Close
Hashes for phidata-2.0.0.dev7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 873405c482abcd94a44bca2e2db959d2bfab904b3036a9cc6e9efe019bf35575 |
|
MD5 | 685b8b03bde90ec660931a92af34146b |
|
BLAKE2b-256 | a3e98cb26e9c567b773a9755a0a12a685e3ab6809536ecdbcda4616543b249f3 |