Skip to main content

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"

Metadata

Release files for fuego 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fuego 0.0.8
File Size Uploaded
fuego-0.0.8.tar.gz 12.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fuego 0.0.8
File Interpreter ABI Platform
fuego-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 25.6 kB

Release files / fuego-0.0.8.tar.gz

Download URL fuego-0.0.8.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
eaf1d694e67d1f076691a114c662c1a14a1f33c57cd362695524e1f37dd86936
BLAKE2b-256 checksum
How to use checksums
46100f4649c16caf780446ca2c3ec8a884df07907f8982c8d64cc33425b58238
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / fuego-0.0.8-py3-none-any.whl

Download URL fuego-0.0.8-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0525f7792b01aed073d4aa9d37f576bd150ac50edabecd9dd78c3f3506bca5b
BLAKE2b-256 checksum
How to use checksums
3ce248c69111e3861e55aba7068f7142dc01c4def65d391538d745ee8c3c529f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page