Skip to main content

Axolotl

db utils

install

pip install axolotl-dbu

dev install

pip install -e ./
cp example.env .env

cli help

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

config file

create a axolotl-clusters.yml file in the /.config directory in your home

cluster config file

local: mongodb://localhost:27017
beta: mongodb+srv://<user>:<password>@some-cluster.mongodb.net/

move db form one cluster to another

axolotl db-utils move-db-cluster -oc beta -dc local -db jokes -p ./tmp

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

Metadata

Release files for axolotl-dbu 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axolotl-dbu 0.1.2
File Size Uploaded Provenance Actions
axolotl-dbu-0.1.2.tar.gz 7.4 kB Without provenance Details for axolotl-dbu-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for axolotl-dbu 0.1.2
File Interpreter ABI Platform Actions
axolotl_dbu-0.1.2-py3-none-any.whl Python 3 none any Details for axolotl_dbu-0.1.2-py3-none-any.whl

Total release size: 15.2 kB

Release files / axolotl-dbu-0.1.2.tar.gz

Download URL axolotl-dbu-0.1.2.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b6fd4909bc1f55d5731029fbac8bca4aa393b98197c1757ae4fe4e168e69141e
BLAKE2b-256 checksum
How to use checksums
025515be557d325f38c89718184c55d8800732a13a86eb8bfcbbbbc72dcd118f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / axolotl_dbu-0.1.2-py3-none-any.whl

Download URL axolotl_dbu-0.1.2-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ed52d93dcb901266d610eb341d29100a55d0168c11fe0ae7c4d81a22ba8c58d
BLAKE2b-256 checksum
How to use checksums
6aa2752746d84afbff23a7ac721e3321c4f480340e5be34e871fa8bacd835986
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for axolotl-dbu 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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