Catbackup API-NPP
-
Per executar el programa s'a de tenir instal·lat python v3 o mes. I instal·lar el tesseract (ja hi ha el .exe a la carpeta) en la carpeta tesseract
-
Requeriments a "requirements.txt".
-
Configuració de la base de dades a
config/config.yaml -
Logs de errors a
errorLogs/*txt -
Executar amb opcio -h per veure mes opcions i funcionalitats.
Estructura de la base de dades
En una Base de dades que es digui "catbackup" un taula anomenada "credencials":
"usuari" Usuari amb permisos d'administrador del CatBackup
"contrassenya" Contrassenya del usuari
"host" URL de la interfaç web + /Admin/Login.aspx Per exemple https://catbackup.net/Admin/Login.aspx
"clau" Clau de OPT de CatBackup
Instal·lació
-
Utilitzant pip:
pip install CatbackupAPI-NPP -
Clonar el repositori
gh repo clone NilPujolPorta/CatbackupAPI-NPP
Ús
Maneres d'execució del programa (ordenades per recomenades)
-
A la linea de commandes
catbackupAPI [opcions] -
python -m CatBackupAPI [opcions] -
./CatbackupAPI_NPP-runner [opcions] -
Executar el fitxer
CatbackupAPI_NPP.pyoCatbackupAPI_NPP.cpython-39.pycamb les opcions adients. Llavors les dades es guardaran adadesCatBackup.json
Opcions
usage: CatbackupAPI_NPP.cpython-39.pyc [-h] [-q] [-tr RUTA] [-g] [-v] [-w URL]
Una API per a recullir informacio de la web de CatBackup.
optional arguments:
-h, --help show this help message and exit
-q, --quiet Nomes mostra els errors i el missatge de acabada per pantalla.
--json-file RUTA La ruta(fitxer inclos) a on es guardara el fitxer de dades json. Per defecte es: dadesCatBackup.json
-tr RUTA, --tesseractpath RUTA La ruta fins al fitxer tesseract.exe
-g, --graphicUI Mostra el navegador graficament.
-v, --versio Mostra la versio
-w URL, --web URL Especificar la web de Catbackup a on accedir. Per defecte es l'aconsegueix de la basa de dades
Proximament:
- Afegir support per altres bases de dades a part de mysql
Metadata
Release files for CatbackupAPI-NPP 1.6.1
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 | Actions |
|---|---|---|---|---|
| CatbackupAPI-NPP-1.6.1.tar.gz | 5.2 kB | Without provenance | Details for CatbackupAPI-NPP-1.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| CatbackupAPI_NPP-1.6.1-py3-none-any.whl | Python 3 | none | any | Details for CatbackupAPI_NPP-1.6.1-py3-none-any.whl |
Total release size: 10.8 kB
Release files / CatbackupAPI-NPP-1.6.1.tar.gz
| Download URL | CatbackupAPI-NPP-1.6.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5c6e509efffec9a479b6a4d79634828d55a7bbd0ba13046b689860b14a3dfdc
|
|
BLAKE2b-256 checksum How to use checksums |
4c5713e35b20b9ff5d85bae25ce2317c045829fbb6b9d50126041f79ae929798
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / CatbackupAPI_NPP-1.6.1-py3-none-any.whl
| Download URL | CatbackupAPI_NPP-1.6.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35ae062f5fea95cc3936bd3873c2e85c60a0234aa99e7f2f729baa6ab2cc4df1
|
|
BLAKE2b-256 checksum How to use checksums |
01ef49d00fbe65da49a3fbe648e0f172c886f839b97c88dd0473116b37e88bd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for CatbackupAPI-NPP 1.6.1
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.