Skip to main content

Un paque te encargado de ayudarte a hacer base de datos censillas en json

Project description

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]))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

faciljsondb-0.0.5.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file faciljsondb-0.0.5.tar.gz.

File metadata

  • Download URL: faciljsondb-0.0.5.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for faciljsondb-0.0.5.tar.gz
Algorithm Hash digest
SHA256 453e78759857d5dc9b3d562fc1c5309e06acd90d879e2f3ec75d365f302d89e6
MD5 41d229961d1d96c2d15a2d5146a18447
BLAKE2b-256 c2eac55f4ff90db0aadb3f1e40efda938a662570f189c4bdd3722a615ae7e099

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page