3.1.1.2. datanator_query_python.config package

3.1.1.2.1. Submodules

3.1.1.2.2. datanator_query_python.config.config module

class datanator_query_python.config.config.AtlasConfig[source]

Bases: object

AUTHDB = 'admin'[source]
PASSWORD = 'B0Qu6x8AZsoRmfBb'[source]
PORT = '27017'[source]
PRODUCTION = 'True'[source]
READ_PREFERENCE = 'nearest'[source]
REPLSET = 'atlas-zap7lq-shard-0'[source]
SERVER = 'datanator.9dv6u.mongodb.net'[source]
USERNAME = 'restapi-1'[source]
class datanator_query_python.config.config.Config[source]

Bases: object

API for frontend with read permission to ‘datanator’

AUTHDB = 'admin'[source]
PASSWORD = 'B0Qu6x8AZsoRmfBb'[source]
PORT = '27017'[source]
PRODUCTION = 'True'[source]
READ_PREFERENCE = 'nearest'[source]
REPLSET = 'atlas-zap7lq-shard-0'[source]
SERVER = 'datanator.9dv6u.mongodb.net'[source]
SESSION_KEY = '0dlGGQvSjts_GQ-r0VyJUQ'[source]
USERNAME = 'restapi-1'[source]
class datanator_query_python.config.config.DatanatorAdmin[source]

Bases: datanator_query_python.config.config.Config

PASSWORD = '586389Lzymon'[source]
USERNAME = 'mongo-admin'[source]
class datanator_query_python.config.config.DatanatorTest[source]

Bases: datanator_query_python.config.config.Config

PASSWORD = '3CTx99osSJmbW6pU'[source]
USERNAME = 'datanator-test'[source]
class datanator_query_python.config.config.FtxConfig[source]

Bases: datanator_query_python.config.config.Config

Environment variables for AWS Elasticsearch service

FTX_AWS_PROFILE = 'FTX'[source]
REST_FTX_AWS_PROFILE = 'REST_FTX'[source]
TEST_FTX_PROFILE_NAME = 'mock'[source]
class datanator_query_python.config.config.H1hescConfig[source]

Bases: datanator_query_python.config.config.Config

config for h1_hesc package

Parameters

Config (Obj) – Config class.

H1_HESC_PASSWORD = 'kKWgLAG5Ul'[source]
H1_HESC_USERNAME = 'h1-hesc'[source]
class datanator_query_python.config.config.ProductionConfig[source]

Bases: datanator_query_python.config.config.Config

PRODUCTION = True[source]
class datanator_query_python.config.config.SchemaMigration[source]

Bases: datanator_query_python.config.config.Config

PASSWORD = 'YbcupTkzgzyB2uDJ'[source]
USERNAME = 'schema_migrator'[source]
class datanator_query_python.config.config.TestConfig[source]

Bases: datanator_query_python.config.config.Config

test user with read permission to ‘datanator’ and readWrite permission to ‘test’

PASSWORD = 'ljQ91yTMnC'[source]
READ_PREFERENCE = 'primary'[source]
USERNAME = 'querytest-0'[source]
class datanator_query_python.config.config.UserAccountConfig[source]

Bases: datanator_query_python.config.config.Config

API user account manager with readWrite permission to ‘registered_users’

USERDAEMON = 'restapi-user-daemon'[source]
USERDAEMON_AUTHDB = 'registered_users'[source]
USERDAEMON_PASSWORD = 'v9SdPYF5'[source]

3.1.1.2.3. datanator_query_python.config.motor_client_manager module

3.1.1.2.4. datanator_query_python.config.query_manager module

class datanator_query_python.config.query_manager.FtxManager[source]

Bases: object

ftx_manager()[source]
class datanator_query_python.config.query_manager.KeggManager[source]

Bases: object

kegg_manager()[source]
class datanator_query_python.config.query_manager.Manager[source]

Bases: object

eymdb_manager()[source]
metabolite_concentration_manager()[source]
protein_manager(database='datanator')[source]
class datanator_query_python.config.query_manager.RnaManager[source]

Bases: object

rna_manager(db='datanator')[source]
class datanator_query_python.config.query_manager.RxnManager[source]

Bases: object

rxn_manager()[source]
class datanator_query_python.config.query_manager.TaxonManager[source]

Bases: object

txn_manager()[source]
datanator_query_python.config.query_manager.metabolites_meta_manager()[source]
datanator_query_python.config.query_manager.uniprot_manager()[source]

3.1.1.2.5. datanator_query_python.config.query_schema_2_manager module

class datanator_query_python.config.query_schema_2_manager.QM(server='datanator.9dv6u.mongodb.net', username='restapi-1', password='B0Qu6x8AZsoRmfBb', authSource='admin', replicaSet='atlas-zap7lq-shard-0', readPreference='nearest')[source]

Bases: datanator_query_python.util.mongo_util.MongoUtil

conn_protein(db)[source]

Establish connection with protein queries.

Parameters
  • db (str) – name of database.

  • collection (str) – name of collection.

Returns

(pymongo.database.Database)

3.1.1.2.6. Module contents