HTTP Code Lookup
Allows you to very quickly view and search an offline version of the Wikipedia's HTTP Codes page.
What the hell is this?
Look up specific codes
Filter using wildcards
Don't know the status code?
How to Install
pipx install hhttpcode
Arguments
The usage for the tool is as follows:
http-code <search_term> --output-as-json --no-pretty --indent-size --no-colour
<search_term>- Mandatory: Can be either a 3 digit code (use x to replace unknowns, eg: 2xx for all codes starting with 2) or a text search.
--output-as-json- Optional: Output as JSON, by default will pretty-print JSON... use
--no-prettyto disable
- Optional: Output as JSON, by default will pretty-print JSON... use
--no-pretty- Optional: Disable pretty printing of JSON, does nothing without
--output-as-jsonflag set
- Optional: Disable pretty printing of JSON, does nothing without
--indent-size- Optional: Change the default (2) indent size
--no-colour- Optional: Disable colour for non-JSON output
How to test
python tests/test.py
Known Issues
- Tests don't run on Windows systems :|
Metadata
Release files for hhttpcode 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hhttpcode-1.0.5.tar.gz | 18.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hhttpcode-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.8 kB
Release files / hhttpcode-1.0.5.tar.gz
| Download URL | hhttpcode-1.0.5.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ac2c726d2b8b56da179dc26bf42a3fec414a16b9868cd30cf0b92a17567534d
|
|
BLAKE2b-256 checksum How to use checksums |
65ae5c04a0738304c83515e9001d50dcc9b23e0f088297dba7889f96d12fd7e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / hhttpcode-1.0.5-py3-none-any.whl
| Download URL | hhttpcode-1.0.5-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acdb05e9a821cd8b4425aac7078c081d0ed11a7a4600524d8dfea07e3c81451b
|
|
BLAKE2b-256 checksum How to use checksums |
7920c5a8f8d552ea2302340af5a071006f4a2e66f80e75bed8947dd5be6d35df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|