Skip to main content

ebbinghaus

Ebbinghaus remembering framework, based on python3 and sqlite3.

Install

pip install ebbinghaus

Usage

import ebbinghaus

# Set the database to save data.
ebbinghaus.set_database(':memory:')

# Register a key to ebbinghaus.
ebbinghaus.register(3)
assert ebbinghaus.get_stage(3) == 0

# Check a key exists.
assert ebbinghaus.exists(3)

# Remember the key.
ebbinghaus.remember(3)
assert ebbinghaus.get_stage(3) == 1

# Forget the key for one time.
ebbinghaus.forget(3)
assert ebbinghaus.get_stage(3) == 0

# Get random keys to review.
assert ebbinghaus.random(1) == [3]

History

v0.2.0

Add method: ebbinghaus.exists(id).

v0.1.2

Fix bug: add requirements.txt.

v0.1.1

Fix bug: set_database at a non-exists directory will cause OSError.

Now set_database will return the database created inside the function.

v0.1.0

Build main functions.

Metadata

Release files for ebbinghaus 0.2.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 ebbinghaus 0.2.0
File Size Uploaded Provenance Actions
ebbinghaus-0.2.0.tar.gz 2.6 kB Without provenance Details for ebbinghaus-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 18.5 kB

Release files / ebbinghaus-0.2.0.tar.gz

Download URL ebbinghaus-0.2.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cc0169d236a9b1dcf38536f559daa3068f8eb5811849852119694154548cb940
BLAKE2b-256 checksum
How to use checksums
bc75f8b001ace6aeb25231713dbe71899fecc37cbfc5536156e703d41fb0297b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

Release files / ebbinghaus-0.2.0-py3-none-any.whl

Download URL ebbinghaus-0.2.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21402c51d722dd6b7bb23416ce53885b10ab473c253c3004e52a803326598762
BLAKE2b-256 checksum
How to use checksums
d569f0f90b5c674841576a0554049941295fae6a97066592e88275ab864d43e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

Security for ebbinghaus 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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