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.
Metadata
Release files for pinme-python 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pinme_python-1.0.1.tar.gz | 26.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pinme_python-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.9 kB
Release files / pinme_python-1.0.1.tar.gz
| Download URL | pinme_python-1.0.1.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b618f77b564313d77beb0d5efd745789f3d01b286bea960dd048d2fe96e021e3
|
|
BLAKE2b-256 checksum How to use checksums |
b8b63460b8878a16e2e2bc7498a2199056cf5ccf7dc681043df9fa6c25d515e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / pinme_python-1.0.1-py3-none-any.whl
| Download URL | pinme_python-1.0.1-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cb6e0a8a9ebb5af57bdbffbb52bb5baa188fcdfdc7603f23bea3ba6e22b51be
|
|
BLAKE2b-256 checksum How to use checksums |
8fe0f228f7f1b22be0dd5120f3c97c5c351a56440af7fc8af8d6577f5c9c29f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|