pyfiredb
Agiliza las consultas a la base de datos utilizando la librería "Pyrebase". Pyrebase es una biblioteca de Python que proporciona una interfaz para interactuar con Firebase, una plataforma de desarrollo de aplicaciones web y móviles.
Características
- Permite actualizar, leer, buscar el máximo, buscar entre, buscar
Instalación y uso
Instalación
pip install pyfiredb
Uso
Un ejemplo para usar este paquete, la configuración de firebase y credenciales de acceso se han tomado desde las variables de entorno
from pyfiredb import Credentials
from pyfiredb import Database
from pyfiredb import Session
def run():
fire = Session(Credentials.user, Credentials.password)
firebase = Database(fire)
print(firebase.equal("alegra/products", "reference", "TP-19100"))
print(firebase.get("woocommerce/products"))
invoices = firebase.between("alegra/invoices", "date",
"2023-05-01", "2023-05-1")
print(invoices[1])
if __name__ == "__main__":
run()
Créditos
- Camilo Andrés Rodriguez
referencias
Licencia
Este proyecto está bajo la Licencia [MIT].
¡Puedes personalizarlo según las necesidades específicas de tu proyecto!
Metadata
Release files for pyfiredb 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyfiredb-0.0.8.tar.gz | 4.0 kB | Without provenance | Details |
Release files / pyfiredb-0.0.8.tar.gz
| Download URL | pyfiredb-0.0.8.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
133dd747033f349ff0108db68de4041d43762fc9c79072fa341fba91247a30b2
|
|
BLAKE2b-256 checksum How to use checksums |
4e1967594e94d4896cfd39b91190149753a21a3087e38a59aaca35c86a560b5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for pyfiredb 0.0.8
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.