Skip to main content

mongo2arango

mongo2arango is a CLI tool designed to facilitate the migration of data from MongoDB to ArangoDB. It provides an efficient and user-friendly way to transfer your data between these two databases.

Why mongo2arango?

Seamless Migration: Easily migrate your data from MongoDB to ArangoDB without the hassle.
Multi-threading Support: Optimize the migration process with multi-threaded data processing.
Real-time Progress Tracking: Stay informed with a real-time progress bar during the migration.

Prerequisites

Ensure you have exported your MongoDB data using mongoexport. Note: Declarative types from Studio 3T export will not work with this tool. We require standard .json data.

Why simplejson and ijson?

simplejson: We use simplejson for its speed in encoding and decoding JSON data. It's especially beneficial when dealing with large datasets, ensuring the migration process is as fast as possible.

ijson: ijson is utilized for its ability to parse large JSON files iteratively, without loading the entire file into memory. This means even if you have a massive MongoDB export, mongo2arango can handle it without consuming all of your system's memory.

How to Use

Installation:

``` bash
pip install mongo2arango
```

Setting Up ArangoDB Credentials: Before migrating data, you need to set up your ArangoDB credentials. Run:

``` bash
mongo2arango login
```

You will be prompted to enter your ArangoDB host, user, and password. These credentials will be stored securely for future migrations.

Migrating Data: To migrate data, use the migrate command. You can specify options like the target database, collection, input JSON file, and more. For example:

``` bash
mongo2arango migrate --db mydatabase --col mycollection --input /path/to/exported_data.json
```

If you don't specify the options, the tool will prompt you for the necessary information.

Feel free to modify or expand upon this draft to better suit your needs.

Metadata

Release files for mongo2arango 0.2.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 mongo2arango 0.2.2
File Size Uploaded Provenance
mongo2arango-0.2.2.tar.gz 7.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 15.5 kB

Release files / mongo2arango-0.2.2.tar.gz

Download URL mongo2arango-0.2.2.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3c97bd9fa3202918f637a96f733468b194ea4a23353c86429193e169c4b05cd0
BLAKE2b-256 checksum
How to use checksums
7db903e2db7e6eb6d8a95d5b0285793a2f33151ed1cd28546c8d35f735809db3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.16 Darwin/22.5.0

Release files / mongo2arango-0.2.2-py3-none-any.whl

Download URL mongo2arango-0.2.2-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74993eedf07300e1d8efc72e8072645192a3b7572d06a8104de48387bf2c830d
BLAKE2b-256 checksum
How to use checksums
9dd145df5061ef567874558e94f2d120878419f7db7145675687579611dc9f1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.16 Darwin/22.5.0

Security for mongo2arango 0.2.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.

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