Skip to main content

Teia Labs DB Utils packege

Project description

Axolotl

db utils

pip install ./
cp example.env .env

cli help

axolotl --help 
axolotl backup-and-restore --help
axolotl db-utils --help

example

import os
import dotenv
from axolotl import BackupAndRestoreClient

dotenv.load_dotenv()

client = BackupAndRestoreClient(db_uir=os.getenv("MONGO_DB_URI"))
client.backup_collection(
    db="jokes", collection="funny-jokes", path="./results"
)

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

axolotl-dbu-0.1.1.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

axolotl_dbu-0.1.1-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

Supported by

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