Skip to main content

myodbc

By fr8train-sv

A refactored facade for ODBC connections.

  pip install myodbc-fr8train

Upgrade this specific library by running:

  pip install --upgrade myodbc-fr8train

Important Commands

The following list of commands are important for project maintenance.

Building the Library

To build the library, ensure that the necessary build tools are installed in your environment. This can be done by installing setuptools, build, and wheel:

  pip install build twine setuptools wheel

twine can also be installed here while we're installing shit since we'll need it later.

REMEMBER: INCREMENT YOUR VERSION NUMBER IN THE TOML BEFORE BUILDING.

REMEMBER: REMOVE THE /DIST DIRECTORY BEFORE BUILDING FOR A CLEAN BUILD

Now, you can create the distribution files (source distribution and wheel) using the following command:

  python3 -m build

This will generate builds in the dist/ directory.

Deploying to PyPI

Ensure you have a valid PyPI account and credentials added to your .pypirc file or provide them during the publish process. Then, upload your package to PyPI with:

  python3 -m twine upload dist/*

Follow any prompts from twine to successfully upload your package. Once deployed, your package will be available on PyPI.

Usage

Initialization

To start using the API SDK, you will need to initialize an API object:

from myodbc.myodbc import MyODBC

my = MyODBC(override=True)

This will reach out into your project for a .env file for credentials to establish a connection to the Agilix API Gateway. Structure your .env file like the example below and maintain it at the root of your project directory.

SQL_HOST=
SQL_PORT=
SQL_USER=
SQL_PASSWORD=
SQL_DATABASE=

Metadata

Release files for myodbc-fr8train 1.1.0

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

Source distribution (sdist)

Source distribution for myodbc-fr8train 1.1.0
File Size Uploaded Provenance Actions
myodbc_fr8train-1.1.0.tar.gz 5.5 kB Without provenance Details for myodbc_fr8train-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for myodbc-fr8train 1.1.0
File Interpreter ABI Platform Actions
myodbc_fr8train-1.1.0-py3-none-any.whl Python 3 none any Details for myodbc_fr8train-1.1.0-py3-none-any.whl

Total release size: 11.1 kB

Release files / myodbc_fr8train-1.1.0.tar.gz

Download URL myodbc_fr8train-1.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cbb5587ebf314187411e7cd72ded32da1a5e90358364bda3af0589e261604f71
BLAKE2b-256 checksum
How to use checksums
5c1acd3f52850b91d4dd4e7362eff6043e6481ca48564e18d872637435e0b634
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / myodbc_fr8train-1.1.0-py3-none-any.whl

Download URL myodbc_fr8train-1.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
176ef42e552072e37533b90f0bde8df67a23e917fc8f6f43b719dc4bc04eead5
BLAKE2b-256 checksum
How to use checksums
614ddcdbe550fd55b1af63785f7d902bb55798cb5b6b9e023814e57d14252696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for myodbc-fr8train 1.1.0

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.

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