Skip to main content

MySQL db models

Project description


This package provides a reusable abstraction to connect to the silver surfer database.


List commands

inv -l


Configure the database in your app

from silver_surfer_models.database import get_db_session

db_uri = 'mysql+pymysql://%s:%s@%s/%s?charset=utf8mb4' % (
engine, db_session, Base = database.get_db_session(db_uri)

How to release a new version?

Update the version in


Build the wheel

inv build

Upload the wheel to PyPi repository

inv push

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for silver-surfer-models, version 0.0.56.dev0
Filename, size File type Python version Upload date Hashes
Filename, size silver_surfer_models-0.0.56.dev0-py3-none-any.whl (102.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size silver-surfer-models-0.0.56.dev0.tar.gz (45.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page