Skip to main content

Pyramid Bindings for Blacksmith

Project description

Documentation Continuous Integration Coverage

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.

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

pyramid_blacksmith-2.2.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyramid_blacksmith-2.2.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file pyramid_blacksmith-2.2.1.tar.gz.

File metadata

  • Download URL: pyramid_blacksmith-2.2.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.11 Linux/6.18.3-arch1-1

File hashes

Hashes for pyramid_blacksmith-2.2.1.tar.gz
Algorithm Hash digest
SHA256 5f8604374b7a62543f98db70d45ff5b3f5535931db36e19cb2b9f1a3972fd7da
MD5 c3fcc4d21e708350b32c250486c39696
BLAKE2b-256 0f6024135bf7663284021e270b8961ae2f0d78ab7d551b9ffa4b07ed776f3651

See more details on using hashes here.

File details

Details for the file pyramid_blacksmith-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyramid_blacksmith-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.11 Linux/6.18.3-arch1-1

File hashes

Hashes for pyramid_blacksmith-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49458a3291c2208f553e6ad4a20833f7a8f0c43e1b1de924851f1952cdc9ee21
MD5 0a56e112399f45682a526e9ec251cc88
BLAKE2b-256 435477c775022ab9c0bbca82ca481f68a4998cb619835012cabef6f1e7bb6f3d

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