Skip to main content

data

A Simple, Lightweight, Efficent JSON based DataBase for Python

PyPI version Downloads CodeFactor Discord GitHub Repo stars Downloads


The current stable version is v1.6.1

pip install pysondb==1.6.1

Support the project here

Hacktoberfest

While we are accepting pull requests for Hacktoberfest, we will reject any low-quality PR's.

We are accepting PRs for:

  • Packages - updating package versions, adding new packages Documentation updates
  • More features and fixes (Refer here)
  • CLI/API improvements - Redoing the CLI to reduce the usage of CLI packages.
  • We are planning to reduce the project dependencies and remove other unwanted API's.

Checkout the active issues here

Features

  • Lightweight JSON based database.
  • Supports CRUD commands.
  • No Database drivers required.
  • Unique ID assigned for each JSON document added.
  • Strict about Schema of data added.
  • Inbuilt CLI to delete,display,create JSON database.
>> from pysondb import db
>> a=db.getDb("path/to/json.json")
>> a.addMany([{"name":"pysondb","type":"DB"},{"name":"pysondb-cli","type":"CLI"}])
>> a.getAll()
>> [{"name":"pysondb","type":"DB"},{"name":"pysondb-cli","type":"CLI"}]
  • See its simple..

Install

pip install pysondb

Create a database

  • You can create a database using CLI.
pysondb create database_name.json
  • Or in the python file.
from pysondb import db

a=db.getDb("db.json")
  • The above piece of code will create a database with {data:[]} in it.
  • Even if the json file exists there is no problem.

See more Documentation here

What makes pysonDB different

  • CLI support to create,delete and display database.
  • Unique Id automatically assigned for each JSON data added.
  • Schema regularity is checked.

What pysonDB can't do.

  • Cannot store images,videos etc.

TODO

  • CLI to convert CSV to pysonDB required json.
  • Use CSV file in the database.
  • Make the database available to use local servers (Flask,Django)

Contributors.

Projects using PysonDB

Contributing

Whether reporting bugs, discussing improvements and new ideas or writing extensions: Contributions to pysonDB are welcome! Here's how to get started:

  • Join Discord channel Here
  • Check for issues or open a issue or open a feature requests.
  • Fork the repository on Github
  • Create a new branch off the master branch.
  • Write a test which shows that the bug was fixed or that the feature works as expected.
  • Send a pull request to us and wait till it get merged.

Metadata

Release files for pysondb 1.6.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysondb 1.6.7
File Size Uploaded
pysondb-1.6.7.tar.gz 14.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysondb 1.6.7
File Interpreter ABI Platform
pysondb-1.6.7-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / pysondb-1.6.7.tar.gz

Download URL pysondb-1.6.7.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b5e1ec0507a478a5dae98a735d2dbf26baddc375f752ae2ee6a2474a3d6790e
BLAKE2b-256 checksum
How to use checksums
c6d7365937d1c4cce17a73417aa92b169552232c98ad48a85725fdd718863577
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / pysondb-1.6.7-py3-none-any.whl

Download URL pysondb-1.6.7-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5891952fe35a59986ece8df4a99ce608d64f5f67798ef63cb5453fbc4e7e89f6
BLAKE2b-256 checksum
How to use checksums
2693a8af71f81777a259420808923dcdfbb1afaf333dcb14ba54cd0ea956359c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

1.6.7 This release

2 release files

1.6.6

2 release files

1.6.4

2 release files

1.6.2

2 release files

1.6.0

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.6

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.1

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page