Skip to main content

bdbcar

Consulta de solo lectura a una base de datos CARIS Bathy DataBASE (BDB): exporta a CSV las ultimas features modificadas segun el journal de la base.

  • Sin credenciales en el codigo. Host, base de datos, usuario y contrasena se piden en un formulario HTML5 que se abre en tu navegador desde un servidor local (127.0.0.1, puerto aleatorio, token de un solo uso). Nada se guarda en disco.
  • Sin dependencias pip. Solo biblioteca estandar. El modulo caris de Teledyne CARIS (5.6 / 6.1, Python 3.9) se importa de forma perezosa desde tu instalacion local de CARIS; indica su ruta con --caris-path o con la variable CARIS_PYTHON_PATH (por defecto C:\CARIS\BASE Editor\6.1\python\3.9).

Instalacion

pip install bdbcar

Uso en linea de comandos

bdbcar --limit 50 --output ultimos_50.csv
python -m bdbcar --no-browser      # solo imprime la URL del formulario

Uso como libreria

import sys
import bdbcar

creds = bdbcar.ask_credentials()          # abre el formulario web local
db = bdbcar.connect(creds)
rows = bdbcar.last_modified(db, limit=50)
bdbcar.write_csv(rows, sys.stdout)

Columnas del CSV: fecha_hora;operacion;usuario;fid;OBJNAM;planam;ihmsou;ModificationTime.

Nunca se hace commit ni se escribe en la base de datos.

Licencia

MIT

Metadata

Release files for bdbcar 0.1.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 bdbcar 0.1.0
File Size Uploaded
bdbcar-0.1.0.tar.gz 12.7 kB Details

Built distribution (wheel)

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

Total release size: 26.5 kB

Release files / bdbcar-0.1.0.tar.gz

Download URL bdbcar-0.1.0.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a5b8321b22826339447d79d53ddd1f9c60413b3379440510dc4dd8812fcdc6c7
BLAKE2b-256 checksum
How to use checksums
8629868620011bb457a8e43bccdf3003b2c315291a6d0d6144e9a6b08aca8790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / bdbcar-0.1.0-py3-none-any.whl

Download URL bdbcar-0.1.0-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd6e3f62089b6886cbdee0e87b0da27c128e86a2d757caa7d93278b30994a729
BLAKE2b-256 checksum
How to use checksums
aabf969ae7314b24e33697a94b786a896556a20a7cd0f34e2886f039e1300960
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.3.0

1 release file

0.2.0

1 release file

This release

0.1.0 This release

2 release files

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