Skip to main content

Fuego

Project description

fuego

A 🔥 tool for running code in the cloud

🔥Open In Colab🔥

Note

This project is a WIP and just an idea right now. Under active development.

🤗 Suggestions/ideas/feedback from community are welcome! Please feel free to submit a new idea in the discussions tab.

The idea

A nice interface for running scripts on Hugging Face Spaces

Installation

For now, you can install from source:

git clone https://github.com/huggingface/fuego.git
cd fuego
pip install -e "."

WIP API

The Python API and CLI should have very similar experiences so folks can use whichever they prefer.

See the examples folder for more details.

Python

import fuego

fuego.run(
    script='run.py',
    requirements_file='requirements.txt',
    # Kwargs
    message='hello world',
)

CLI

fuego run --script run.py --requirements_file requirements.txt --message "hello world"

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

fuego-0.0.8.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

fuego-0.0.8-py3-none-any.whl (12.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page