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

Uploaded Python 3

File details

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

File metadata

  • Download URL: http-status-code-0.0.7.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for http-status-code-0.0.7.tar.gz
Algorithm Hash digest
SHA256 232311baa6cf570643c52dc3ff3c20067d1a64b85047143451afc7fb06041089
MD5 2391c94eae411fd9143f16ee65908380
BLAKE2b-256 9909e133cff325262809d03ac1ddccd363906ff92b448bf2feacd98b26b07451

See more details on using hashes here.

File details

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

File metadata

  • Download URL: http_status_code-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for http_status_code-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d664b9afac5d6b1681150fbc75d4dc31c125e7d7ae7998c11d8660c2e5a92865
MD5 4c48bc81b01fea184aea214759b4fb40
BLAKE2b-256 de2f4ab9f2286b4b20ca6a2a6caea009aca00cab9f3161e5fc66c9f58addb02a

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