Skip to main content

requestmodel

Project description

requestmodel

PyPI Status Python Version License

Read the documentation at https://requestmodel.readthedocs.io/ Tests Codecov

pre-commit Black

Features

  • Model your http requests as a pydantic model
  • Annotate your request parameters with fastapi params
  • Support for sync & async requests

Goals

  • Create a generator for an OpenAPI spec
  • Support all kinds of http requests

Installation

You can install requestmodel via pip from PyPI:

$ pip install requestmodel

Usage

Please see the implementation detail for further instructions.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, requestmodel is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

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

requestmodel-0.7.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

requestmodel-0.7.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file requestmodel-0.7.0.tar.gz.

File metadata

  • Download URL: requestmodel-0.7.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for requestmodel-0.7.0.tar.gz
Algorithm Hash digest
SHA256 db7b76ec43129a2bbc4658f07b21eaf1911aeb31d9ec4004bcfd9c997b0b5be9
MD5 4b5f799b7ba80ad68950a2fe3dd651d3
BLAKE2b-256 8fe2e50640595146678c13abaed6ce20d52bcda89a8350a6b4917c66ee69c946

See more details on using hashes here.

File details

Details for the file requestmodel-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: requestmodel-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for requestmodel-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2858b8c6971152f9a81b9456683f8dbcac9a616e9a583ff412d4245879adc8a7
MD5 ecc06751d7863e7873470a1857f18802
BLAKE2b-256 973105f74351d8c23df021e8fff6544e4ba155581725f0f8a2abc36cf1d56535

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