Skip to main content

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.

Metadata

Release files for requestmodel 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for requestmodel 0.7.0
File Size Uploaded
requestmodel-0.7.0.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for requestmodel 0.7.0
File Interpreter ABI Platform
requestmodel-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.8 kB

Release files / requestmodel-0.7.0.tar.gz

Download URL requestmodel-0.7.0.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
db7b76ec43129a2bbc4658f07b21eaf1911aeb31d9ec4004bcfd9c997b0b5be9
BLAKE2b-256 checksum
How to use checksums
8fe2e50640595146678c13abaed6ce20d52bcda89a8350a6b4917c66ee69c946
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / requestmodel-0.7.0-py3-none-any.whl

Download URL requestmodel-0.7.0-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2858b8c6971152f9a81b9456683f8dbcac9a616e9a583ff412d4245879adc8a7
BLAKE2b-256 checksum
How to use checksums
973105f74351d8c23df021e8fff6544e4ba155581725f0f8a2abc36cf1d56535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page