semvec/pypi-packages huggingface dataset:
json-server-py 0.1.11
A simple JSON server
License: MIT
Requires Python: >=3.6,<4.0

# json-server.py

[![PyPI](https://img.shields.io/pypi/v/json-server.py.svg)](https://pypi.org/project/json-server.py/)

Fake REST API with zero coding.

This project is heavily inspired by [json-server](https://github.com/typicode/json-server) in JavaScript.

Requires Python 3.6+.

## Installation

It's highly recommended to install with [pipx](https://pipxproject.github.io/pipx/).

```sh
$ pipx install json-server.py
```

Or install with pip at your own risk:

```sh
$ pip3 install json-server.py
```

## Get Started

Create a `db.json` file with following content:

```json
{
  "posts": []
}
```

Start a server:

```sh
$ json-server db.json
```

Create a post:

```sh
$ curl -H 'content-type: application/json' -d '{"content":"blablabla"}' http://localhost:3000/posts
```

List all posts:

```sh
$ curl http://localhost:3000/posts
```

## Usage

```
Usage: json-server [OPTIONS] [FILENAME]

  Start a JSON server.

  FILENAME refers to the JSON file where your data is stored. `db.json` will
  be used if not specified.

Options:
  --version        Show the version and exit.
  -b, --bind TEXT  Set address to bind, default as `:3000`
  --help           Show this message and exit.
```

**Note:**

- Collections must be contained in your data file before starting the server, otherwise the server cannot decide the type of resources.

### Examples

```sh
# Start with default config
$ json-server

# Listen on port 3000
$ json-server -b :3000

# Specify a json file
$ json-server db.json
```
MakeDjango 1.2.7
simple command line tool for start project
License: MIT
Requires Python: >=3.9

![MakeDjango](https://github.com/MahanBi/MakeDjango/blob/master/docs/images/MakeDjango.png)

[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/) ![GitHub](https://img.shields.io/github/license/MahanBi/MakeDjango) ![PyPI - Downloads](https://img.shields.io/pypi/dm/MakeDjango) ![PyPI](https://img.shields.io/pypi/v/MakeDjango) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/MakeDjango)

![GitHub watchers](https://img.shields.io/github/watchers/MahanBi/MakeDjango?style=social) ![GitHub Repo stars](https://img.shields.io/github/stars/MahanBi/MakeDjango?style=social) ![GitHub forks](https://img.shields.io/github/forks/MahanBi/MakeDjango?style=social)

# MakeDjango

- Document: Soon
- Pypi: [HERE](https://pypi.org/project/MakeDjango/)
- Version: 1.2.7

## What is MakeDjango?

A command line tool to speed up project construction ...

Its main purpose is to create the right template for each project mode.

(Create the folders and files needed for the project.)

### Installation

##### To install MakeDjango, use pip:

``` bash
pip install MakeDjango
```

Or to install from source:

``` bash
python setup.py install
```

### Usage

##### To display all commands:

``` bash
MakeDjango --help
```

##### To create a project automatically:

name: project name

mode: rest or django(jinja) or graphpl

appnames: exam-> app1 app2

``` bash
MakeDjango -a name mode apnames...
```

### License

MIT. See [LICENSE](https://github.com/MahanBi/MakeDjango/blob/master/LICENSE) for more details.