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.10.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.10-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: http-status-code-0.0.10.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.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.10.tar.gz
Algorithm Hash digest
SHA256 a73473e4e31aae4884b681ca111daa672fb5ed8f8a09ab2439d8ca3dd2e21807
MD5 a1ea950039435c8be33cb38cea2926e1
BLAKE2b-256 096fc324fd0761a73bb3b6a5f82e2d3f65794f0016369dcccb6ef3898634849c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: http_status_code-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 2e53ff8389d3f6eeb0daa82aae687667bb6b08735acee94d7cd598040012f27a
MD5 b00aac17f61209d374b007d12e9d25fd
BLAKE2b-256 155b5f0a51889a762b8dd71303a964e5108366c5f469ff87f915cb52baefa891

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