bug fixes: imports

This commit is contained in:
Steve Nyemba 2024-04-01 15:41:39 -05:00
parent 383f887db6
commit edd3efd328
3 changed files with 10 additions and 6 deletions

View File

@ -18,7 +18,8 @@ args = {
"version":__version__,
"author":__author__,"author_email":"info@the-phi.com",
"license":"MIT",
"packages":["transport","info"]}
# "packages":["transport","info","transport/sql"]},
"packages": find_packages(include=['info', 'transport.*'])}
args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
args["install_requires"] = ['pyncclient','pymongo','sqlalchemy','pandas','typer','pandas-gbq','numpy','cloudant','pika','nzpy','boto3','boto','pyarrow','google-cloud-bigquery','google-cloud-bigquery-storage','flask-session','smart_open','botocore','psycopg2-binary','mysql-connector-python','numpy']
args["url"] = "https://healthcareio.the-phi.com/git/code/transport.git"

View File

@ -18,13 +18,14 @@ Source Code is available under MIT License:
"""
import numpy as np
from transport import sql, nosql, cloud, other
import sql, nosql, cloud, other
import pandas as pd
import json
import os
from info import __version__,__author__
from transport.iowrapper import IWriter, IReader
from transport.plugins import PluginLoader
from transport import providers
PROVIDERS = {}
def init():
global PROVIDERS

View File

@ -2,9 +2,11 @@
Steve L. Nyemba, nyemba@gmail.com
This namespace implements support for cloud databases couchdb,mongodb, cloudant ...
"""
from transport.nosql import couchdb
from transport.nosql import mongodb
# from . import mongodb
# from . import couchdb
# from transport.nosql import couchdb
# from transport.nosql import mongodb
from . import mongodb
from . import couchdb
# import mongodb
# import couchdb
cloudant = couchdb