Hyper_sh
docker-py adapted to Hyper
It uses underscore ‘_’ instead of ‘-’ in its name like the original Hyper_ service, but you can actually install either spelling.
This is a thin adaptation layer of docker-py for it to work with Hyper’s credential scheme
Install from pip
pip install hyper_sh
How to use
hyper_sh is used with the same API as docker-py
from hyper_sh import Client c = Client() # without argument, config is guessed by reading ~/.hyper/config.json print c.images()
from hyper_sh import Client
c = Client("path/to/config.json") # you can pass a specific config.json
print c.images()
from hyper_sh import Client
c = Client({'clouds': {
os.environ['hyper_endpoint']: {
"accesskey": os.environ['hyper_accesskey'],
"secretkey": os.environ['hyper_secretkey']
}
}}) # or you can give the content of a config.json directly
print c.images()
API
At the moment, hyper_sh maps 1:1 to the api of docker-py, which means that some api will not work, as they are not supported by Hyper_.
https://docker-py.readthedocs.io
There are some other API supported by Hyper_ that are not yet supported by this module (i.e. fip managment). Patches are welcome.
Metadata
Release files for hyper-sh 1.0.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 |
|---|---|---|---|---|
| hyper_sh-1.0.7.tar.gz | 24.2 kB | Without provenance | Details for hyper_sh-1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hyper_sh-1.0.7-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for hyper_sh-1.0.7-py2.py3-none-any.whl |
Total release size: 52.1 kB
Release files / hyper_sh-1.0.7.tar.gz
| Download URL | hyper_sh-1.0.7.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05d41f2625578def599594cafc6747b1b603f0d5d9c1194bc814413093843592
|
|
BLAKE2b-256 checksum How to use checksums |
0de002be2576b01b01652cdf647c1d15b5329f5b301282d0e376f8672c47e758
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / hyper_sh-1.0.7-py2.py3-none-any.whl
| Download URL | hyper_sh-1.0.7-py2.py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b5d090a2a760553e010fa989a5cf3b526f66c91cc13553b1c1f6b0753b19c5cd
|
|
BLAKE2b-256 checksum How to use checksums |
1d750c565da4fa96d5307b3f05a77bd3bc1849a065e03c3705ad6f420519e2a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hyper-sh 1.0.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.