Python JSON

Open-source Python projects categorized as JSON

Top 23 Python JSON Projects

  • fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

    Project mention: More elegant/functional way to write this endpoint | | 2022-11-30

    I don't think this is too bad, I assume type is a type of image in list of the same index. Maybe check out issues/2387 for insipration in how to maybe simplify the endpoint definition.

  • httpie

    🥧 HTTPie for Terminal — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

    Project mention: Any open source games written in Python? Ideally, something being actively developed | | 2022-12-01
  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • httpbin

    HTTP Request & Response Service, written in Python + Flask.

    Project mention: Grouping all connected values from paired values. | | 2022-12-03

    try Web.Contents( "", [ RelativePath = "/status/codes/418", ManualStatusHandling = {401, 402, 404} & {405..500} ] ) catch (e) => "Error, but we caught it" meta e

  • full-stack-fastapi-postgresql

    Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Docker, automatic HTTPS and more.

    Project mention: FastAPI Best Practices | | 2022-08-18

    I would encourage you to take a look at this repo: This is a boilerplate of an application made with fastapi, prepared by the creator of the fastapi himself. You can even set it up yourself locally and have a look how it’s organised. I know it has a lot of different services included, but I find the fastapi part itself to be well thought. Inside the api directory you can notice another folder named api_v1, so you can have multiple versions of your API routes when needed, with the general code in other places that is more generic and can be reused in all your different API versions. The schemas are separated from the models and models itself have different classes depending on what you would actually like to do with the data. The migrations are managed with alembic based on schemas rather than models itself. The settings are a python class that implicitly reads the .env file in your project’s directory. And many, many other interesting patterns to explore. Too much to write in one comment to be honest.

  • sqlmodel

    SQL databases in Python, designed for simplicity, compatibility, and robustness.

    Project mention: Best ORM to use with FastAPI? | | 2022-05-21

    I have not used it myself but the creator of fastapi has made

  • HTTP Prompt

    An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more.

    Project mention: REST Clients for the terminal (TUI) | | 2022-05-28
  • datasette

    An open source multi-tool for exploring and publishing data

    Project mention: Datasette’s new JSON write API: The first alpha of Datasette 1.0 | | 2022-12-02

    Not yet, but I hope to ship that in the next alpha in a few days time:

  • Zigi

    Close all those tabs. Zigi will handle your updates.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • visidata

    A terminal spreadsheet multitool for discovering and arranging data

    Project mention: Hanukkah of Data: Advent of Code for Data Nerds | | 2022-12-03

    The datasets will be available as SQLite, JSONL, and CSV. This will be great for sharpening your SQL/Python/VisiData skills.

  • boltons

    🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.

  • jc

    CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.

    Project mention: Posix commands with a flag to output standardized JSON or YAML | | 2022-11-22
  • TinyDB

    TinyDB is a lightweight document oriented database optimized for your happiness :)

    Project mention: ShyySH: a TUI connection manager for SSH | | 2022-11-17

    I have made yet another ssh connection manager with TUI, using asciimatics and tinyDB.

  • orjson

    Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy

    Project mention: Making Python classes serializable to/from JSON | | 2022-10-12

    Doesn't orjson do that already?

  • jsonschema

    An implementation of the JSON Schema specification for Python

    Project mention: Forced to move away from Django template because of nested forms ? | | 2022-07-07

    Forms are hard. We use python jsonschema to write our form schemas and validation and use react json schema form for the front end. It's a long time in the making and we still have to write widgets and extensions to get everything we need. Good luck.

  • Mimesis

    Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages.

    Project mention: Open source | | 2022-07-19

    P.S Here is a project I was talking about.

  • alpha_vantage

    A python wrapper for Alpha Vantage API for financial data.

    Project mention: alpha_vantage: NEW Data - star count:3775.0 | | 2022-11-26
  • tmuxp

    :computer: tmux session manager. built on libtmux

    Project mention: Could use some advice for managing projects in a way that fits my mental model and codebase. Monolithic codebase with project files spread around different working directories. Or just help me change my mental model. | | 2022-10-25

    Everything is configured with tmuxp and I can set the whole thing up with a single command.

  • toapi

    Every web site provides APIs.

  • Flask RestPlus

    Fully featured framework for fast, easy and documented API development with Flask

    Project mention: Faster time-to-market with API-first | | 2022-10-25

    When it comes to Flask, in particular, there’re plenty of choices. And in fairness, not all frameworks are created equal. You’ve got flasgger, restx (successor of flask-restplus), flask-RESTful, and flask-smorest, to mention a few. How do you choose among those???

  • django-import-export

    Django application and library for importing and exporting data with admin integration.

    Project mention: Upload CSV to change the Data Model | | 2022-08-18
  • uvicorn-gunicorn-fastapi-docker

    Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python 3.6 and above with performance auto-tuning. Optionally with Alpine Linux.

    Project mention: Handling 502 Exceptions | | 2022-06-03

    The timeouts suggestion is interesting because I haven't really configured them beyond the default

  • yq

    Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents (by kislyuk)

    Project mention: Scraping weather info | | 2022-11-24

    XML data from the API can be parsed and filtered with xq. There may be multiple ways to get it; first try the yq toolset which includes it.

  • flask-restx

    Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask

    Project mention: Faster time-to-market with API-first | | 2022-10-25

    When it comes to Flask, in particular, there’re plenty of choices. And in fairness, not all frameworks are created equal. You’ve got flasgger, restx (successor of flask-restplus), flask-RESTful, and flask-smorest, to mention a few. How do you choose among those???

  • simplejson

    simplejson is a simple, fast, extensible JSON encoder/decoder for Python

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-12-03.

Python JSON related posts


What are some of the best open-source JSON projects in Python? This list will help you:

Project Stars
1 fastapi 51,906
2 httpie 25,011
3 httpbin 11,291
4 full-stack-fastapi-postgresql 10,471
5 sqlmodel 8,979
6 HTTP Prompt 8,601
7 datasette 6,694
8 visidata 6,158
9 boltons 5,935
10 jc 5,713
11 TinyDB 5,519
12 orjson 3,999
13 jsonschema 3,922
14 Mimesis 3,811
15 alpha_vantage 3,781
16 tmuxp 3,538
17 toapi 3,334
18 Flask RestPlus 2,645
19 django-import-export 2,565
20 uvicorn-gunicorn-fastapi-docker 2,022
21 yq 2,018
22 flask-restx 1,665
23 simplejson 1,540
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.