gotoni (Python Package)
A Python package providing utilities to easily inject an SSH daemon into Modal images and securely connect to running containers.
Installation
pip install gotoni
Usage
import modal
import gotoni
# 1. Add SSH into your Modal Image
image = modal.Image.debian_slim().pip_install("fastapi")
image = gotoni.add_ssh(image, key_path="~/.ssh/id_rsa.pub")
app = modal.App("my-ssh-app", image=image)
# 2. Start the SSH daemon in a modal function
@app.function(timeout=3600)
def debug_session():
# This will print the SSH command to your terminal and block for the duration of the timeout
gotoni.start_ssh(port=2222, timeout=3600)
Metadata
Release files for gotoni 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gotoni-0.1.7.tar.gz | 3.6 kB | Without provenance | Details for gotoni-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gotoni-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for gotoni-0.1.7-py3-none-any.whl |
Total release size: 7.3 kB
Release files / gotoni-0.1.7.tar.gz
| Download URL | gotoni-0.1.7.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7928fe1cf77794d9e42c8fe9207aedf3d1051213b8d6b43e997a6212eb8866cf
|
|
BLAKE2b-256 checksum How to use checksums |
5a4b1b7f1bfabf84603f6d2eef7342e768d37d4b7d3a79eb389c23d76f0d689c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / gotoni-0.1.7-py3-none-any.whl
| Download URL | gotoni-0.1.7-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1910087b62638b0fdc0f40cb4072724bbb5efc0bff25ed093a256f6ced1f792c
|
|
BLAKE2b-256 checksum How to use checksums |
b9e375a954011fd31da5f37309a870aaa7915e95b209a540d203c2685aeae517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for gotoni 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.