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

Uploaded Python 3

File details

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

File metadata

  • Download URL: http-status-code-0.0.8.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/50.0.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for http-status-code-0.0.8.tar.gz
Algorithm Hash digest
SHA256 20a8adc798b49dac216dbae96fcac01d8985990803a942eeab76762a936e3639
MD5 ee2931ee2be49577cf64603b222f76d0
BLAKE2b-256 f27a0be990555b4633be3776667e2e67fc5012f6e8070388f22871ca3937fc25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: http_status_code-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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/50.0.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for http_status_code-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 61575b60fe4691685d86ab48a8cfbff7c49983ece496b0a09205917d1481a3d0
MD5 a57f8bfc79e4adbc3b4e094aa5309397
BLAKE2b-256 5904e2fca2a2a06109ef9a575d089271e8d4a9c7c8e4865b3b936d1235d64822

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