Skip to main content

facil-json-db

Iniciar

Para iniciar tu base de datos debes usar la clase BaseDeDatos() que te ayudara a modificar tu base de datos y la creara en caso de que no exista

import faciljsondb
db = faciljsondb("nombre")

leer

En este modulo hay dos funciones leer (leer y leer_async) esta funcion no retorna nada solo imprime en pantalla tu db.

leer

import faciljsondb
db = faciljsondb("nombre")

leer()

async

import faciljsondb
import asyncio
db = faciljsondb("nombre")

asyncio.run(leer([tiempo1,] [tiempo2]))

obtener

Te devuelve el json almacenado.

obtener

import faciljsondb
db = faciljsondb("nombre")

obtener()

async

import faciljsondb
import asyncio
db = faciljsondb("nombre")

asyncio.run(obtener([tiempo1,] [tiempo2]))

escribir

Sirve para escribir el json.

escribir

import faciljsondb
db = faciljsondb("nombre")

escribir(json)

async

import faciljsondb
import asyncio
db = faciljsondb("nombre")

asyncio.run(escribir(json, [tiempo1,] [tiempo2]))

Metadata

Release files for faciljsondb 0.0.5

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

Source distribution (sdist)

Source distribution for faciljsondb 0.0.5
File Size Uploaded
faciljsondb-0.0.5.tar.gz 1.8 kB Details

Release files / faciljsondb-0.0.5.tar.gz

Download URL faciljsondb-0.0.5.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
453e78759857d5dc9b3d562fc1c5309e06acd90d879e2f3ec75d365f302d89e6
BLAKE2b-256 checksum
How to use checksums
c2eac55f4ff90db0aadb3f1e40efda938a662570f189c4bdd3722a615ae7e099
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

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