Python implementation of the PinMe deployment CLI
Project description
PinMe Python
pinme-python is a Python implementation of the PinMe CLI. It keeps the
public command surface, local config files, upload protocol, project workflow,
and tracking event names aligned with the Node.js pinme CLI.
Install
pip install pinme-python
For local development:
python3 -m venv .venv
. .venv/bin/activate
pip install -e ".[dev]"
The package installs both command names:
pinme --version
pinme-python --version
Configuration
The Python CLI uses the same local state as the Node CLI:
- auth file:
~/.pinme/auth.json - device id:
~/.pinme/device-id - upload history:
~/.pinme/upload-history.json - project config:
pinme.toml
Environment variables match the Node implementation:
PINME_API_BASEIPFS_API_URLCAR_API_BASEPINME_WEB_URLPINME_CHECK_DOMAIN_PATHIPFS_PREVIEW_URLPROJECT_PREVIEW_URLSECRET_KEYPINME_PROJECT_NAMEFILE_SIZE_LIMITDIRECTORY_SIZE_LIMITMAX_RETRIESRETRY_DELAY_MSTIMEOUT_MSMAX_POLL_TIME_MINUTESPOLL_INTERVAL_SECONDSPOLL_TIMEOUT_SECONDSPINME_TRACKER_GATEWAYPINME_TRACKING_DISABLEDDO_NOT_TRACK
Command Parity
pinme login [--env test|prod]
pinme set-appkey [AppKey]
pinme show-appkey
pinme appkey
pinme logout
pinme upload [path] [--domain name] [--dns]
pinme bind [path] --domain name [--dns]
pinme import [path] [--domain name]
pinme export <cid> [--output dir]
pinme rm [value]
pinme create [name] [--force]
pinme save [--domain name]
pinme update-worker
pinme update-db
pinme update-web
pinme delete [name] [--force]
pinme my-domains
pinme domain
pinme wallet
pinme wallet-balance
pinme balance
pinme list [-l limit]
pinme ls [-l limit]
pinme list --clear
Notes
- Uploads use the same chunk endpoints:
/chunk/init,/chunk/upload,/chunk/complete, and/up_status. - Project commands still expect the official PinMe Worker template shape:
pinme.toml,backend/metadata.json,dist-worker/worker.js,db/*.sql, andfrontend/dist. createdownloadsglitternetwork/pinme-worker-templateas a zip archive, then runs the samenpm run build:*commands used by the Node CLI.- Tracking is best-effort and never blocks CLI flows. Disable it with
PINME_TRACKING_DISABLED=1orDO_NOT_TRACK=1.
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
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 pinme_python-1.0.1.tar.gz.
File metadata
- Download URL: pinme_python-1.0.1.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b618f77b564313d77beb0d5efd745789f3d01b286bea960dd048d2fe96e021e3
|
|
| MD5 |
a3e9e2399a9c515f480a87783aa35777
|
|
| BLAKE2b-256 |
b8b63460b8878a16e2e2bc7498a2199056cf5ccf7dc681043df9fa6c25d515e1
|
File details
Details for the file pinme_python-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pinme_python-1.0.1-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cb6e0a8a9ebb5af57bdbffbb52bb5baa188fcdfdc7603f23bea3ba6e22b51be
|
|
| MD5 |
55acd5f3aa01f0b05d539b2914665f11
|
|
| BLAKE2b-256 |
8fe0f228f7f1b22be0dd5120f3c97c5c351a56440af7fc8af8d6577f5c9c29f1
|