Migrate data from SQL to NoSQL easily with python

sql2nosql

Migrate data from SQL to NoSQL easily.

Installation 💯

pip install sql2nosql --upgrade

Dependencies 📢

For the package to work, it first needs “clients”, which are other packages that are in charge of managing the data in the database. Most of them work very similar, as in the case of ‘mysql-connector’ and ‘pymysql’ for MySQL databases, and ‘PyMongo’ for MongoDB databases.

For example, the parameter ‘sql_client’ of the Migrator() class, receives by parameter a string where it is indicated which is the “client” to use, for example:

from sql2nosql import Migrator

Migrator(sql_client="mysql.connector")

For this case, you will need to manually install ‘mysql.connector’, as it is not a ‘native package’ of Python, therefore, the installation you need to do is as follows: pip

 

 

 

To finish reading, please visit source site