Skip to main content

YCCDB

A database api for yorkson creek coding club hosted databases

EXAMPLE CODE :

(replace exampleToken with db token if you want to actually do this)

(also replace main with another .db files name you can add the .db extentsion but you can do it without the extension for that file but main is the default added file so it works.)

1 (pushdb):

import yccdb as db
import time
db.pushdb("exampleToken", "time", "time", str(time.time()) )

2 (dumpdb):

import yccdb as db
import time
db.dumpdb("exampleToken", "time", {"time": str(time.time())} )

3 (clr):

import yccdb as db
def resetUsers():
    db.clrdb("exampleToken", "users" )

4 (deldb):

import yccdb as db
def remove(key: str):
    db.deldb("exampleToken", "Settings", key) # deletes a key in the db not the entire db lol

5 (getdb):

import yccdb as db
def get(key: str):
    return db.getdb("exampleToken", "Settings")[key]

6 (attrdb):

import yccdb as db
def created():
    return int(db.attrdb("exampleToken")["created at"])

7 (isonline):

import yccdb as db
# some code

if not db.isonline():
    print("db is not online. please check later")
    exit(0)

# some more code

Keep in mind you don't need to import it as db instead of the default yccdb and you can import it as anything you want
other packages by us :

That's it for now...

CREDITS:

We basicly did the same thing. Anthony just did more frontend and I (Th3ou1d3x) did more backend I did like very little frontend

- Th3ou1d3x and Anthony

ABOUT US:

Th3ou1d3x

Anthony

Metadata

Release files for yccdb 0.5.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 yccdb 0.5.0
File Size Uploaded Provenance Actions
yccdb-0.5.0.tar.gz 2.8 kB Without provenance Details for yccdb-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.6 kB

Release files / yccdb-0.5.0.tar.gz

Download URL yccdb-0.5.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8751dd214eb4940a3c1d80a4c1b1d0346c8389371753e20d8c7ae1ae8bd5dd60
BLAKE2b-256 checksum
How to use checksums
8cc9e8be67f2165a70897e0a69f8c1ee61c99caf7d00445a4e5f6dafac17fe21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / yccdb-0.5.0-py3-none-any.whl

Download URL yccdb-0.5.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b1cd4869f41b0e16aa7dec565c20acd3275bf339d03b6cc8ce7a8ead78e13a7
BLAKE2b-256 checksum
How to use checksums
498da0bffd0ea10bb7b8fe717f565fb3601109e1709de77020cd8c7f740f46d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for yccdb 0.5.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