Skip to main content

PyCreds - Python Library to keep credentials safe by storing in platform keystores.

CI Downloads

PyCreds is a Python Library written in C++ to keep credentials safe by storing in platform keystores. On MacOS the passwords are managed by the Keychain, on Linux they are managed by the Secret Service API/libsecret, and on Windows they are managed by Credential Vault.


Features 🚀

  • Cross Platform - PyCreds is a cross platform solution for storing credentials, Windows, Linux and MacOS are fully supported.
  • Security - Uses platform specific credential vault for storing credentials.
  • API - Provides high level operations such as get_password, set_password, delete_password, find_password and find_credentials.
  • Command Line Interface - Ships with a Cli based on click for Cli usage.

Installation ✔

Install with pip:

$ pip install pycreds
# Or Install with cli
$ pip install pycreds[cli]

Docs

  • get_password(service, account)

    Get the stored password for service and account.

    service - The string service name. account - The string account name.

    Returns password as string if found else raises ValueError.

  • set_password(service, account, password)

    Save the password for service and account.

    service - The string service name. account - The string account name. password - The string password.

    Returns True if successful else raises ValueError.

  • delete_password(service, account)

    Delete the password for service and account.

    service - The string service name. account - The string account name.

    Returns True if successful else raises ValueError.

  • find_password(service)

    Finds password for service.

    service - The string service name.

    Returns password as string if found else returns None.

  • find_credentials(service)

    Finds credentials for service.

    service - The string service name.

    Returns a list of credential dict in format {"account": "foo", "password": "bar"}.


Cli Docs

Usage: pycreds [OPTIONS] COMMAND [ARGS]...

  PyCreds Command Line Interface.

Options:
  --help  Show this message and exit.

Commands:
  delete  Delete Password.
  get     Get Password.
  set     Set Password.

Metadata

Release files for pycreds 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pycreds 1.1
File Actions
pycreds-1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for pycreds-1.1-cp310-cp310-win_amd64.whl
pycreds-1.1-cp310-cp310-win32.whl CPython 3.10 CPython 3.10 Windows x86-32 Details for pycreds-1.1-cp310-cp310-win32.whl
pycreds-1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for pycreds-1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pycreds-1.1-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details for pycreds-1.1-cp310-cp310-macosx_10_9_x86_64.whl
pycreds-1.1-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details for pycreds-1.1-cp310-cp310-macosx_10_9_universal2.whl
pycreds-1.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for pycreds-1.1-cp39-cp39-win_amd64.whl
pycreds-1.1-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details for pycreds-1.1-cp39-cp39-win32.whl
pycreds-1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details for pycreds-1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pycreds-1.1-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details for pycreds-1.1-cp39-cp39-macosx_10_9_x86_64.whl
pycreds-1.1-cp39-cp39-macosx_10_9_universal2.whl CPython 3.9 CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) Details for pycreds-1.1-cp39-cp39-macosx_10_9_universal2.whl
pycreds-1.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for pycreds-1.1-cp38-cp38-win_amd64.whl
pycreds-1.1-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details for pycreds-1.1-cp38-cp38-win32.whl
pycreds-1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details for pycreds-1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pycreds-1.1-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details for pycreds-1.1-cp38-cp38-macosx_10_9_x86_64.whl
pycreds-1.1-cp38-cp38-macosx_10_9_universal2.whl CPython 3.8 CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) Details for pycreds-1.1-cp38-cp38-macosx_10_9_universal2.whl
pycreds-1.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for pycreds-1.1-cp37-cp37m-win_amd64.whl
pycreds-1.1-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details for pycreds-1.1-cp37-cp37m-win32.whl
pycreds-1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details for pycreds-1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pycreds-1.1-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details for pycreds-1.1-cp37-cp37m-macosx_10_9_x86_64.whl

Total release size: 10.2 MB

Release files / pycreds-1.1-cp310-cp310-win_amd64.whl

Download URL pycreds-1.1-cp310-cp310-win_amd64.whl
Size 55.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
a22a9c959a6213022e050b6efc36cae4ce415f2b5f69cb4598f33bd91aaf73ea
BLAKE2b-256 checksum
How to use checksums
7c7ef2ff4560b5fbe31d46c9b80e4875dac10c51f878a4d3d121d2a97c3a8c4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pycreds-1.1-cp310-cp310-win32.whl

Download URL pycreds-1.1-cp310-cp310-win32.whl
Size 51.4 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
251ca6f23014c916158b4b425ec6dae1d1d4851a179340128f6c34014a3b4983
BLAKE2b-256 checksum
How to use checksums
6e191d76a83a60165313cec76e7f9110b15668c74a6d602e78f9cf9e605aa364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pycreds-1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pycreds-1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
119eb27b60778fff4e33986fb13ab1d6bd7525963e961ebcd99cd233ae9bb127
BLAKE2b-256 checksum
How to use checksums
a061080780ba568261dd27b8912edf6ec0d1cae09b250b901f2168fda066032e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / pycreds-1.1-cp310-cp310-macosx_10_9_x86_64.whl

Download URL pycreds-1.1-cp310-cp310-macosx_10_9_x86_64.whl
Size 57.9 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
64158abbaa19ae075405191ba1b2b72149bc82cf448feec57bddce0c0b7ad53f
BLAKE2b-256 checksum
How to use checksums
25017b4ab2c1c2b916a8016e644833e26d5a505f29e8af78728e87a195c69586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / pycreds-1.1-cp310-cp310-macosx_10_9_universal2.whl

Download URL pycreds-1.1-cp310-cp310-macosx_10_9_universal2.whl
Size 105.3 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
8234e979ff9d9efde3cd7ac6f2a336359497a6464b78f9f75f621425c8aa438f
BLAKE2b-256 checksum
How to use checksums
ba1b131cade5a1700f8ec4cdc947ad3cdf7fb810538ef8dcb60d63c50e83032c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / pycreds-1.1-cp39-cp39-win_amd64.whl

Download URL pycreds-1.1-cp39-cp39-win_amd64.whl
Size 55.2 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
cd07ec01ae394aed0acdd8d9966793211b974c3adeaa1e215717013b92f67901
BLAKE2b-256 checksum
How to use checksums
d50001c9a8264a2039deab3dc78969457b387c1da793289d953ab85ea07c0f32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pycreds-1.1-cp39-cp39-win32.whl

Download URL pycreds-1.1-cp39-cp39-win32.whl
Size 51.5 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
1a3aabbe129808566dbadf0eb10c8a27435fa0cca31aee55661a34cdeefc0ab3
BLAKE2b-256 checksum
How to use checksums
3b6216c59c1b65d2d62898a21693441e4f3817b5eda0389a1b33833321e43f47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pycreds-1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pycreds-1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
63f8c910041da6b1927e9b42d6eff9c539c06ac8acb9a10d5227e10a63ff6ee9
BLAKE2b-256 checksum
How to use checksums
7a560968efacc138d6f660587e7fadf32f0e54473ece691909b5521f7877650a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / pycreds-1.1-cp39-cp39-macosx_10_9_x86_64.whl

Download URL pycreds-1.1-cp39-cp39-macosx_10_9_x86_64.whl
Size 58.1 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
b0b627eeeeba1b26dd587c0865004d7cb0071af6d06ba416f4e90110f4415859
BLAKE2b-256 checksum
How to use checksums
dca26ab8b2fba07e113a16d39453a09d4442d7423ccfb5527e7094e56740e69a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / pycreds-1.1-cp39-cp39-macosx_10_9_universal2.whl

Download URL pycreds-1.1-cp39-cp39-macosx_10_9_universal2.whl
Size 105.6 kB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
34df53f31e16cfcf620cd7ada15bd8e75b66c28a693521f999c270ad055bebad
BLAKE2b-256 checksum
How to use checksums
08fc3fd729fd861d07c9b3d43414629ef6a5ab15ec9110c98039e01ca93a2dc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / pycreds-1.1-cp38-cp38-win_amd64.whl

Download URL pycreds-1.1-cp38-cp38-win_amd64.whl
Size 55.1 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
77045c299446eb46df5a083368b5870e4a066cc4339a01a876edc2587d4bb31a
BLAKE2b-256 checksum
How to use checksums
0f29ef685b06f35182c8f583d0b55acdb626b28b7d587f172705b927272b3790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pycreds-1.1-cp38-cp38-win32.whl

Download URL pycreds-1.1-cp38-cp38-win32.whl
Size 51.3 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
c96b37b1d1145c9e6456f7bb922cb86a37806356b61a5e22a1dade23d0fdf91d
BLAKE2b-256 checksum
How to use checksums
b7364da1cf70860327f303c11ee08eb5f4c8f8f08acdfb67abe665fa182cdb7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pycreds-1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pycreds-1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a29f227411532e89167a779d657ace3c8a0cb490d292f94da7763f4d67581f1b
BLAKE2b-256 checksum
How to use checksums
3af491acc86e5e76c16da46b6efe2f9a31b90893702785fa307daa06fda1b990
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / pycreds-1.1-cp38-cp38-macosx_10_9_x86_64.whl

Download URL pycreds-1.1-cp38-cp38-macosx_10_9_x86_64.whl
Size 57.9 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
16be6fe3f7b39234895d809e88e8d9a9116146cffdad41b30a2022c8675cba1e
BLAKE2b-256 checksum
How to use checksums
58ddaab8265331b86170d6a22fea76e1c3fde5153e839c568e8bcfa7acd30931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / pycreds-1.1-cp38-cp38-macosx_10_9_universal2.whl

Download URL pycreds-1.1-cp38-cp38-macosx_10_9_universal2.whl
Size 105.2 kB
Tags CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
f940460dea3c54798320c5fa08be1c0990f3f14971cb2af389c57dbf6b4b40b6
BLAKE2b-256 checksum
How to use checksums
18386ebc1aea0e535414c84644619122071f31ee390a26853c09bb2188416571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / pycreds-1.1-cp37-cp37m-win_amd64.whl

Download URL pycreds-1.1-cp37-cp37m-win_amd64.whl
Size 55.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
95ace827f1231913f71cef49c3096e392d0a1c299ed267c0e817b57e67782faa
BLAKE2b-256 checksum
How to use checksums
be6158a247ced23dc7026d267c52a6fa408f0fffcdc0164f68827dc158c02f5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pycreds-1.1-cp37-cp37m-win32.whl

Download URL pycreds-1.1-cp37-cp37m-win32.whl
Size 52.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
da94ef011feb4d8fadf59f2a59c91bec4dfd2463685063915ea05c61b2f0da29
BLAKE2b-256 checksum
How to use checksums
3c201576e2e7a0deca4612bba8bc325c6282a07fa62ec2c8da56b68656546e22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pycreds-1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pycreds-1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
cec70f7008d8e45def316003c9836d37141c3815d54cae9df932333b06cdffc4
BLAKE2b-256 checksum
How to use checksums
c66db90fe05d05717570fb0b07abb6a05470701abae9c740153a4cd92cebde73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / pycreds-1.1-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL pycreds-1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Size 57.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
da70f3749f55c6fc83756948e9da132873106472d2b25220955a1a50967f5b42
BLAKE2b-256 checksum
How to use checksums
6c97dda242b9e9fcf6ada2aada79d5da0325e8059050da5152fac57e0f1dfeeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Security for pycreds 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page