Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

silver-surfer-db-models

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

Commands

List commands

inv -l

Usage

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' % (
    'root',
    'password',
    'host',
    'db',
)
engine, db_session, Base = database.get_db_session(db_uri)

How to release a new version?

Update the version in setup.py

setuptools.setup(
    ...
    version='0.0.9',
    ...
)

Build the wheel

inv build

Upload the wheel to PyPi repository

inv push

Metadata

Release files for silver-surfer-models 0.0.56.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for silver-surfer-models 0.0.56.dev0
File Size Uploaded Provenance Actions
silver-surfer-models-0.0.56.dev0.tar.gz 45.7 kB Without provenance Details for silver-surfer-models-0.0.56.dev0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for silver-surfer-models 0.0.56.dev0
File Interpreter ABI Platform Actions
silver_surfer_models-0.0.56.dev0-py3-none-any.whl Python 3 none any Details for silver_surfer_models-0.0.56.dev0-py3-none-any.whl

Total release size: 148.3 kB

Release files / silver-surfer-models-0.0.56.dev0.tar.gz

Download URL silver-surfer-models-0.0.56.dev0.tar.gz
Size 45.7 kB
Tags Source
SHA-256 checksum
How to use checksums
af7ab462cc3a20084421226e7f52027cdd7a1e2ba4c5b31b85a219b2095ccc01
BLAKE2b-256 checksum
How to use checksums
85f5c87719c725d977ed4eb0d1f1b918dbc3f72782fea6297046116ab3ba14a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.0

Release files / silver_surfer_models-0.0.56.dev0-py3-none-any.whl

Download URL silver_surfer_models-0.0.56.dev0-py3-none-any.whl
Size 102.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbb4082a36449da002c722cc06165f1c2f0350829d6d3a7714e245c608eaed36
BLAKE2b-256 checksum
How to use checksums
be7da09dd3403e72ffeca1c6c55064f5911300decb7fafd18fa12a30014a53d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.0

Security for silver-surfer-models 0.0.56.dev0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page