Skip to main content

This module contains a simple library with a single class to define HTTP status codes

Project description

http-status-code

Introduction
Getting Started
Example
Contributors
License

Introduction

This module contains a simple library with a single class to define HTTP status codes

Getting Started

In order to install, open the command prompt and type ✌️:
pip install http_status_code

The following status codes are available in the standard module: General:

  • Successful request: 200
  • Bad request: 400
  • You are not authorized: 403
  • The required resource is not found: 404
  • Request arguments (query string or body) validation error: 410

Authentication

  • Invalid credentials: 430
  • Your account is inactive: 431
  • Missing token: 432
  • The token is invalid: 433
  • The token is expired: 434
  • Wrong token error (related to refresh and access tokens) 435
  • You have logged out invalid credentials. Please log in again: 436

Database

  • This record already exists: 630
  • This record is related to other records. Therefore, it cannot be deleted: 631

Example

In order to use refer to the following [example](https://github.com/Quakingaspen-codehub/http_status_code/blob/master/Example.ipynb)

Contributors

This project exists thanks to all the people who contribute. [Contribute]. ""

License

This library is licensed under the MIT License - see the LICENSE.md file for details.

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

http-status-code-0.0.9.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

http_status_code-0.0.9-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file http-status-code-0.0.9.tar.gz.

File metadata

  • Download URL: http-status-code-0.0.9.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for http-status-code-0.0.9.tar.gz
Algorithm Hash digest
SHA256 b720cf554eff1affac0dbf2011a19f47267994cb6a5d19bb2446b6742066b401
MD5 16ae3c28debc5ca7312feb36c33c63ed
BLAKE2b-256 249618b8b138ead0f7662de3f212e6d3fbba9e2539ba48e50413ba75bc13f58e

See more details on using hashes here.

File details

Details for the file http_status_code-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: http_status_code-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for http_status_code-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7f940b0eda9b566f13331d53f30a507a947da2eca1e5130510627bfd4dfea341
MD5 4a7a8e1744cdc8f45908cff515e4ac8c
BLAKE2b-256 bb9cc43a124a3834bad6c0840f5e57098f3181b0300cee15d48c6d399be61986

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