py9pfactotum
py9pfactotum is Python's plan9port Factotum client. It also provides the following extras:
- Helper functions that mirror plan9port's auth(3) library
- A Keyring backend to connect to your running factotum server.
Usage
In the current (alpha) state of maturity, the implementation is incomplete. Currently enough is implemented to support the Keyring backend (i.e., to read passwords from the running server).
When using the FactotumClient directly, arguments are passed as keyword arguments, which are built into a key template internally:
from py9pfactotum import FactotumClient
c = FactotumClient()
c.getpass(server='mail.example.org', user='johndoe')
{ 'user': 'johndoe', 'passwd': 'insecure' }
As with the example above, the client provides high-level methods that supply the correct 'proto' and 'role' attributes to the key template. See factotum(4) for more information.
When using the auth(3) functions, the function signatures mirror their plan9port counterparts, except that structures are replaced with dictionaries.
from py9pfactotum import auth_getuserpasswd
c = auth_getuserpasswd(server='mail.example.org')
{ 'user': 'johndoe', 'passwd': 'insecure' }
Keyring
The Keyring user interface is transparent, but that library must be explicitly installed on the system (it is not a hard dependency of py9pfactotum). Because factotum is not able to persist passwords (or password deletions), attempts to use the Keyring to do so will throw an error.
Metadata
Release files for py9pfactotum 0.1.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 |
|---|---|---|---|---|
| py9pfactotum-0.1.1.tar.gz | 25.6 kB | Without provenance | Details for py9pfactotum-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py9pfactotum-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for py9pfactotum-0.1.1-py3-none-any.whl |
Total release size: 56.2 kB
Release files / py9pfactotum-0.1.1.tar.gz
| Download URL | py9pfactotum-0.1.1.tar.gz |
|---|---|
| Size | 25.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e09d6c6002488ced9127330cd052ae311c6f2bc484c20fff690835da1d59cf07
|
|
BLAKE2b-256 checksum How to use checksums |
2b459a90fe063ec2febd35b89e14ce674aa710b74bd7862dd03ac8ae5764a2bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.4
|
Release files / py9pfactotum-0.1.1-py3-none-any.whl
| Download URL | py9pfactotum-0.1.1-py3-none-any.whl |
|---|---|
| Size | 30.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b70dad7fb4f46bf850ac0b8bfd4abef9fe4259f326a001434aefd594e9dc6dc
|
|
BLAKE2b-256 checksum How to use checksums |
729caefe86ead06f75c4c5b75cbba365275daa7ab470ea266ea24bcc9356186b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.4
|
Security for py9pfactotum 0.1.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.