Pyramid bindings for Blacksmith rest api client.
Introduction
This plugin create a request proterty named blacksmith that bind clients to do API Call using Blacksmith.
Clients are configured via the pyramid configurator and its settings.
Then you can access the client factory behind a blacksmith property of the request.
def my_view(request):
api_dummy = request.blacksmith.client("api_dummy")
dummy = api_dummy.dummies.get({"name": "alice"})
In the example above, a dummy resource has been fetch using the service api_dummy. The client method is a configured Blacksmith Factory.
The configuration of the factory is simply made throw the pyramid configurator.
Go ahead and get familiar with the documentation.
Metadata
Release files for pyramid-blacksmith 5.1.0
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 |
|---|---|---|---|---|
| pyramid_blacksmith-5.1.0.tar.gz | 9.2 kB | Without provenance | Details for pyramid_blacksmith-5.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyramid_blacksmith-5.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyramid_blacksmith-5.1.0-py3-none-any.whl |
Total release size: 20.0 kB
Release files / pyramid_blacksmith-5.1.0.tar.gz
| Download URL | pyramid_blacksmith-5.1.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5932d2917bf5d1af171f45079a3a556c514f502e005b4d9727706b16e862940d
|
|
BLAKE2b-256 checksum How to use checksums |
6a496a08f60d6bf56160dfea2bee42cc755e89e0a3c447aef2d4281bfc927bad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.26.2 CPython/3.12.12 Linux/6.11.0-1018-azure
|
Release files / pyramid_blacksmith-5.1.0-py3-none-any.whl
| Download URL | pyramid_blacksmith-5.1.0-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5ab1ec2520d0484ed1f6239df1fedd11f4f365763110f2d4aeed0467ae99ddd
|
|
BLAKE2b-256 checksum How to use checksums |
5784dd5049108f7e4554f3c08b3e628ef8222f345ba6ab1a8849b40a32461596
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.26.2 CPython/3.12.12 Linux/6.11.0-1018-azure
|
Security for pyramid-blacksmith 5.1.0
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.