Skip to main content
logo

logo

Package Updates CI Coverage CodeHealth License README

  • What if no one accept your PR ?

  • What if lib upgrade their dependency ?

  • What if you got a brand new requirement ?

forgive

forgive

lowdb is JavaScript, tinydb is not that tiny. ForgiveDB is your destiny.

ForgiveDB is a small, independent database, supports in-memory or json-file storage.

Installation

Use pip. Oh you should learn it.

pip install forgive

Usage

Code is the best document. (Because we are not good at writing documents.)

from forgive import ForgiveDB

file_db = ForgiveDB('/some/path')
# file_db = ForgiveDB(r'C:\\some\\path')  # windows
file_db.set('key', 'value')
value = file_db.get('key')
default_value = file_db.get('no-such-key', 'default-value')

# Or in memory
memory_db = ForgiveDB()
memory_db.set(ForgiveDB, 'simple and interesting')
memory_db.get(ForgiveDB)  # simple and interesting

Metadata

Release files for forgive 1.0.0

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

Source distribution (sdist)

Source distribution for forgive 1.0.0
File Size Uploaded
forgive-1.0.0.linux-x86_64.tar.gz 3.2 kB Details

Built distribution (wheel)

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

Total release size: 7.7 kB

Release files / forgive-1.0.0.linux-x86_64.tar.gz

Download URL forgive-1.0.0.linux-x86_64.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7176604491690c4d4095a02deb4f8f159f2bd48fe91d609e19e0f48489037ddf
BLAKE2b-256 checksum
How to use checksums
0f1565c0f78a5368de786f6544d92ed6642ead5194cf4028cb7efc1831aa16a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / forgive-1.0.0-py3-none-any.whl

Download URL forgive-1.0.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
846f62999afaf769820b7243fa7074094e05679f7b82bd09a2473e82bd2e9cae
BLAKE2b-256 checksum
How to use checksums
7135473d8fdd63293476132eecc0ce0ee885166f52dc6022b4b8985b7cc5c673
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.1

3 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