mongo2arango


Namemongo2arango JSON
Version 0.2.2 PyPI version JSON
download
home_page
SummaryA tool to migrate data from MongoDB to ArangoDB.
upload_time2023-08-17 15:10:45
maintainer
docs_urlNone
authortadeasf
requires_python>=3.9,<4.0
licenseMIT
keywords mongodb arangodb migration
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- @format -->

# 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.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mongo2arango",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "mongodb,arangodb,migration",
    "author": "tadeasf",
    "author_email": "taddy.fort@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7d/b9/03e2db7e6eb6d8a95d5b0285793a2f33151ed1cd28546c8d35f735809db3/mongo2arango-0.2.2.tar.gz",
    "platform": null,
    "description": "<!-- @format -->\n\n# mongo2arango\n\nmongo2arango is a CLI tool designed to facilitate the migration of data from\nMongoDB to ArangoDB. It provides an efficient and user-friendly way to transfer\nyour data between these two databases.\n\n## Why mongo2arango?\n\n    Seamless Migration: Easily migrate your data from MongoDB to ArangoDB without the hassle.\n    Multi-threading Support: Optimize the migration process with multi-threaded data processing.\n    Real-time Progress Tracking: Stay informed with a real-time progress bar during the migration.\n\n## Prerequisites\n\n    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.\n\n## Why simplejson and ijson?\n\n    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.\n\n    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.\n\n## How to Use\n\nInstallation:\n\n    ``` bash\n    pip install mongo2arango\n    ```\n\nSetting Up ArangoDB Credentials: Before migrating data, you need to set up your\nArangoDB credentials. Run:\n\n    ``` bash\n    mongo2arango login\n    ```\n\nYou will be prompted to enter your ArangoDB host, user, and password. These\ncredentials will be stored securely for future migrations.\n\nMigrating Data: To migrate data, use the migrate command. You can specify\noptions like the target database, collection, input JSON file, and more. For\nexample:\n\n    ``` bash\n    mongo2arango migrate --db mydatabase --col mycollection --input /path/to/exported_data.json\n    ```\n\nIf you don't specify the options, the tool will prompt you for the necessary\ninformation.\n\nFeel free to modify or expand upon this draft to better suit your needs.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A tool to migrate data from MongoDB to ArangoDB.",
    "version": "0.2.2",
    "project_urls": null,
    "split_keywords": [
        "mongodb",
        "arangodb",
        "migration"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9dd145df5061ef567874558e94f2d120878419f7db7145675687579611dc9f1a",
                "md5": "c557e61ebae2ef3f6206159649955f71",
                "sha256": "74993eedf07300e1d8efc72e8072645192a3b7572d06a8104de48387bf2c830d"
            },
            "downloads": -1,
            "filename": "mongo2arango-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c557e61ebae2ef3f6206159649955f71",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 8237,
            "upload_time": "2023-08-17T15:10:44",
            "upload_time_iso_8601": "2023-08-17T15:10:44.333281Z",
            "url": "https://files.pythonhosted.org/packages/9d/d1/45df5061ef567874558e94f2d120878419f7db7145675687579611dc9f1a/mongo2arango-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7db903e2db7e6eb6d8a95d5b0285793a2f33151ed1cd28546c8d35f735809db3",
                "md5": "547b8e3665cc6bccf587c95915365ae9",
                "sha256": "3c97bd9fa3202918f637a96f733468b194ea4a23353c86429193e169c4b05cd0"
            },
            "downloads": -1,
            "filename": "mongo2arango-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "547b8e3665cc6bccf587c95915365ae9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 7296,
            "upload_time": "2023-08-17T15:10:45",
            "upload_time_iso_8601": "2023-08-17T15:10:45.430048Z",
            "url": "https://files.pythonhosted.org/packages/7d/b9/03e2db7e6eb6d8a95d5b0285793a2f33151ed1cd28546c8d35f735809db3/mongo2arango-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-17 15:10:45",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "mongo2arango"
}
        
Elapsed time: 0.11404s