What is PyAMS?
PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.
PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.
All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github. Doctests are available in the doctests source folder.
What is PyAMS API keys?
PyAMS API keys is an extension module which can be used to allow API keys as authentication credentials.
Each defined API key is seen as a classic principal to which you can grant roles as usual. An API key can be defined with an expiration date, and can be revoked or deleted at any time by an administrator.
An API key can also be bound to a specific principal; in this case, using this API key will be equivalent to being connected with the matching principal credentials.
At first, API keys can only be provided using a specific HTTP header which can be configured for all keys; maybe other authentication modes will be provided in future versions.
Changelog
2.1.2
updated credentials extraction to handle use cases where several API keys don’t use the same request argument name
2.1.1
updated Gitlab CI
2.1.0
added support for API keys provided via request parameters instead of HTTP headers
2.0.2
refactored plugin methods decorators
replace datetime.utcnow call with datime.now(timezone.utc)
added support for Python 3.12
2.0.1
updated modal forms title
2.0.0
upgraded to Pyramid 2.0
1.0.1
interface cleanup
1.0.0
initial release
Release files for pyams-auth-apikey 2.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyams_auth_apikey-2.1.2.tar.gz | 19.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyams_auth_apikey-2.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.5 kB
Release files / pyams_auth_apikey-2.1.2.tar.gz
| Download URL | pyams_auth_apikey-2.1.2.tar.gz |
|---|---|
| Size | 19.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc5768eec08a3eb2a39641934dff91cbe63b022b84209fc75f8f8e329d831db6
|
|
BLAKE2b-256 checksum How to use checksums |
15a99e75c364534b11fb09537654097e66e99752a09220817807423527426734
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / pyams_auth_apikey-2.1.2-py3-none-any.whl
| Download URL | pyams_auth_apikey-2.1.2-py3-none-any.whl |
|---|---|
| Size | 30.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43bfff3562edd8e92392a27acfa5aba9501ea7f6c7e7399956fa71baaec16bd6
|
|
BLAKE2b-256 checksum How to use checksums |
b2f60db41f8ee3ce0d9b2aa1f3e38adf9e2c3ed75a34a93cd5222471806ea2ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|