Skip to main content

Python library for Passbolt, an open-source manager for teams

Reason this release was yanked:

Broken package

Project description

py-passbolt

Python library for Passbolt API based on httpx and PGPy

How to use

Create a config.json:

{
    "base_url": "https://passbolt.domain.tld",
    "private_key": "-----BEGIN PGP PRIVATE KEY BLOCK-----\r\n\r\n See below about how to convert your private key in one-line mode -----END PGP PRIVATE KEY BLOCK-----\r",
    "passphrase": "a-strong-passphrase"
} 

or use environment variables (PASSBOLT_BASEURL, PASSBOLT_PRIVATE_KEY, PASSBOLT_PASSPHRASE).

Then have a look at example.py python script

How to set OpenPGP key in config.json or environment variables

Linux:

sed -z 's/\n/\\n/g' private.asc

MacOS

Install gnu-sed with brew:

$ brew install gnu-sed

Use gsed instead of sed:

gsed -z 's/\n/\\n/g' private.asc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-passbolt-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file py-passbolt-0.0.1.tar.gz.

File metadata

  • Download URL: py-passbolt-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for py-passbolt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9da2ea923b78aacfdb31909b038af4ce1434687bc0adc4eff0337fbdb7a7676c
MD5 bd5505df7425399bb5a964e58c28155f
BLAKE2b-256 039218ccce496d3364f56c836c6f1e6db2d7d0a0027edbe5e63b6d3182c0b188

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page