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.6.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

requestmodel-0.6.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for requestmodel-0.6.1.tar.gz
Algorithm Hash digest
SHA256 532df63469fc21ce44df48df55736d608cf4cda4579cfbbcc1f57dbd85a20937
MD5 5addde6431fc0c441be878627ec0e69b
BLAKE2b-256 604b0d7b7eb483a410d02600290f627afea41552a785404f74ef0da535028f42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: requestmodel-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for requestmodel-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 379c9d754149590b8d7ecaa9b0d3090628103a2d35f6c837b95497063bdd0351
MD5 c5fc53cacd7ef89fd262ff4989871e53
BLAKE2b-256 1a691be71eecf746b9580f532cdc9bc4748c52f6b04967c0bffce15473d2deca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page