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-5.0.1.tar.gz (9.6 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-5.0.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyramid_blacksmith-5.0.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.26.2 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for pyramid_blacksmith-5.0.1.tar.gz
Algorithm Hash digest
SHA256 7d3aedf9d4b8045c68c9c662e2387e474d4ad01811548dac9aeeacb6b3ff1b50
MD5 5f06e09bed7266ec46a9a41b780a5201
BLAKE2b-256 dddf83f7ec9844449e5029964fec34bf981e5ab205079df979d46375fedb4911

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyramid_blacksmith-5.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.26.2 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for pyramid_blacksmith-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d0a6fcba03118fca6bd63455e9dd442699cf0a6ecb0cbc5ae0cd2ef03caddef1
MD5 6137cf072e5c7d035b9581d5f41e4cf0
BLAKE2b-256 9f10f609ac0a3bf8c032474d6a37ba4d87ccba4e86b447ea2ca6718090b6b154

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