Skip to main content

ETL tool for transfering data from MongoDB to PostgreSQL

Project description

Purrito

Purrito is an open source ETL tool which transfers collections from MongoDB to PostgreSQL.

Features

  • quick setup
  • generate schema based on existing MongoDB collections or use a custom schema
  • keep syncing with MongoDB real-time
  • update the schema while syncing without stopping anything
  • handle connectivity issues
  • view collection transfer statistics

Support

MongoDB 3.4

PostgreSQL 9.6

Installation

Check out an example or set things up on your own:

  • install Purrito by typing pip install purrito

  • start MongoDB as a replica set

  • create a source database in MongoDB and add a collection with a couple of documents

  • create a destination database in Postgres

  • generate the schema (collections.yml):

    purrito -m -mdb mongodb://localhost:27017 -n source_db

  • start Purrito:

    purrito -cf collections.yml -pg postgres://localhost:5432/destination_db -mdb mongodb://localhost:27017 -n source_db -t

Documentation

For more details about Purrito check out our Documentation.

Contribute

Want to help us and the community with perfecting Purrito? Take a look at our contribution Guidelines and submit a PR.

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

purrito-1.0.4.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

purrito-1.0.4-py3-none-any.whl (44.1 kB view details)

Uploaded Python 3

File details

Details for the file purrito-1.0.4.tar.gz.

File metadata

  • Download URL: purrito-1.0.4.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for purrito-1.0.4.tar.gz
Algorithm Hash digest
SHA256 63ffeb7d354d968f272d254cb2d8ffed63cc6c5c6f74c2216ced2cf7c5779f1d
MD5 3f47fec996f9544186b6bb5605f0562d
BLAKE2b-256 3eb2fd279f313ed6ef9bf274d8c3420195dcee6b6ff6f47a28081e865d6df005

See more details on using hashes here.

File details

Details for the file purrito-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: purrito-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 44.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for purrito-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c9c7ee7f7a164541a9b6655bcf1cf7b0c30754267f72689ed8ddc93c82fa2e29
MD5 72c54c3e1ed7db5c5757261601d31e91
BLAKE2b-256 51b2e6300be3a958934eeb747ee6c55bc06fea38fa9bcc5e126adf64952282bd

See more details on using hashes here.

Supported by

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