Skip to content

Sendhub/sh_util

Repository files navigation

requirements:

- settings.py in the base path of your app
    With the following directives:
        SH_UTIL_DB_DRIVER = 'django' | 'sqlalchemy'

        SH_UTIL_USE_PERSISTENT_DBLINK = os.getenv('SH_UTIL_USE_PERSISTENT_DBLINK', '') == '1'

        AWS_STORAGE_BUCKET_NAME = ''

        STATIC_TABLES = ('sequence', 'of', 'static', 'db', 'tables', 'which', 'should', 'not', 'be', 'replicated')

        SHARDING_IGNORE_TABLES = ('sequence', 'of', 'additional', 'tables', 'to', 'ignore')

- Python >= 2.7
- DB Driver: Django or SQLAlchemy
- SQL Parse lib from: git+git://github.com/Sendhub/sqlparse.git@betterAliasDetection

pip requirements.txt:

phonenumbers
boto
psycopg2==2.4.6
pylibmc==1.2.3
git+git://github.com/Sendhub/sqlparse.git@betterAliasDetection

Releases

No releases published

Packages

No packages published

Languages