A simple JSON server
Project description
json_server.py
Fake REST API with zero coding.
This project is heavily inspired by json-server in JavaScript.
Requires Python 3.5+.
Usage
Usage: json_server [OPTIONS] [FILENAME]
Options:
-b, --bind TEXT the address to bind, default as `:3000`
--help Show this message and exit.
Examples
# Start with default config
$ json_server
# Listen on port 3000
$ json_server -b :3000
# Specify a json file
$ json_server db.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
json-server.py-0.1.4.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for json_server.py-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ce134669358496e9ebd8e3b023d98422eef801f99a730f37f5476b29eb20154 |
|
MD5 | 3fbbe8f681568e66a07da12cab58c463 |
|
BLAKE2b-256 | 6b366a5b4073cfcb993bcda7f3e1cdd0b952fa67e08bf0b1efef17552faee026 |