Skip to main content

No project description provided

Project description

JSON Server

An tiny CLI to load data from a JSON File during development.


After installing `json-server` by
pip install json_server

You can run

json-server <path-to-JSON-file> <port:optional>

The port argument defaults to 5000

This shall output:

 * Serving Flask app 'json_server.main' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 816-527-262
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Which is similar to what a standard Flask app logs.

Now that you have run the command, http://127.0.0.1:<port>/ shall respond with your JSON.

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

json_server-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

json_server-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file json_server-0.1.0.tar.gz.

File metadata

  • Download URL: json_server-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6

File hashes

Hashes for json_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 75fc9c174de1430f0800fb4bdb6d7b6bd9e5c7b5f41e20a7b15fbe1f034546a6
MD5 19740f8d327d3dc8df6385730f324b90
BLAKE2b-256 f126582d87b2f70f33e180b28a1da6f0207ec77e5398a6d722f4abaa07ff2bca

See more details on using hashes here.

File details

Details for the file json_server-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: json_server-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6

File hashes

Hashes for json_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09d41c7b0b540ecd5fd212c06384fd3f21d17ae0631f4d75fe545180a00739c0
MD5 9bae95a1f166c84945d063d783a655eb
BLAKE2b-256 15ea3c8766f396cb25a3c16c989dd02dd7b6f8dcbbc56444099c458cef01ef51

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