PortoPy
To initiate connection, simply do(portod must be started):
>>> from porto import Connection >>> rpc = Connection() >>> rpc.connect()
To create container test:
>>> container = rpc.Create('test')
List all properties:
>>> print rpc.Plist()
List data:
>>> print rpc.Dlist()
Get command property of container test:
>>> print rpc.GetProperty('test', 'command')
>>> print container.GetProperty('command') # the same
Get all properties of container:
>>> print container.GetProperties()
List containers:
>>> print rpc.List()
Destroy container test:
>>> rpc.Destroy('test')
Close connection:
>>> rpc.disconnect()
Metadata
Release files for portopy 2.11.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 | Provenance | Actions |
|---|---|---|---|---|
| portopy-2.11.1.tar.gz | 12.8 kB | Without provenance | Details for portopy-2.11.1.tar.gz |
Release files / portopy-2.11.1.tar.gz
| Download URL | portopy-2.11.1.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a4d5d58c4a67510e10fa4b92f19cd2c158c7e96ddc196d76131f6ec0f66f468
|
|
BLAKE2b-256 checksum How to use checksums |
d84103496311deb38ffae64d89e889316ca3d222eba567cb3054cb0b9e742869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for portopy 2.11.1
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.