Skip to main content

SAP ASE (Sybase) for SQLAlchemy

Project description

sqlalchemy-sybase

https://img.shields.io/pypi/dm/sqlalchemy-sybase.svg

SAP ASE (Sybase) support for SQLAlchemy.

Objectives

This is a fork of SQLAlchemy’s internal “sybase” dialect which is soon to be deprecated and will be removed from a future release.

Status

This dialect currently depends on SQLAlchemy features that have not been officially released. For now you must first install SQLAlchemy from source before installing this dialect.

For SQLAlchemy 1.3 …:

pip install git+https://github.com/sqlalchemy/sqlalchemy@rel_1_3

… or for (pre-release) SQLAlchemy 1.4 …:

pip install git+https://github.com/sqlalchemy/sqlalchemy.git

Pre-requisites

You will need an ODBC driver for Sybase installed on the machine from which you want to connect to the Sybase server. This dialect is tested with a current version of the FreeTDS ODBC driver.

Co-requisites

This dialect requires SQLAlchemy and pyodbc. They are both specified as requirements so pip will install them if they are not already in place. To install, just:

pip install sqlalchemy-sybase --pre

Getting Started

Create an ODBC DSN (Data Source Name) that points to your Sybase database. Then, in your Python app, you can connect to the database via:

from sqlalchemy import create_engine
engine = create_engine("sybase+pyodbc://scott:tiger@your_dsn")

For other ways of connecting see the Getting Connected page in the Wiki.

The SQLAlchemy Project

sqlalchemy-sybase is affiliated with the SQLAlchemy Project and adheres to the same standards and conventions as the core project.

Development / Bug reporting / Pull requests

Please refer to the SQLAlchemy Community Guide for guidelines on coding and participating in this project.

Code of Conduct

Above all, SQLAlchemy places great emphasis on polite, thoughtful, and constructive communication between users and developers. Please see the current Code of Conduct at Code of Conduct.

License

sqlalchemy-sybase is distributed under the MIT license.

Project details


Download files

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

Source Distribution

sqlalchemy-sybase-1.0.0b2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

sqlalchemy_sybase-1.0.0b2-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy-sybase-1.0.0b2.tar.gz.

File metadata

  • Download URL: sqlalchemy-sybase-1.0.0b2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for sqlalchemy-sybase-1.0.0b2.tar.gz
Algorithm Hash digest
SHA256 448c43f31a1be186e2697ff1bfe9eb553b18ad1e8e15770fe90f41599eaaa186
MD5 d3f19eabc7246282bfe3515fd509b6aa
BLAKE2b-256 890093797a98c2a58dbfacf87c3ca0584022a5faff5e16347a581ff38bdef199

See more details on using hashes here.

File details

Details for the file sqlalchemy_sybase-1.0.0b2-py3-none-any.whl.

File metadata

  • Download URL: sqlalchemy_sybase-1.0.0b2-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for sqlalchemy_sybase-1.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1c4cc9af6d7220301e7905b9fd9a55ecaec6b7f011a56d6d23a25af77bffb0e
MD5 486f6279de7e5bd164c48e2e17740f01
BLAKE2b-256 3cc6c7f06e93ae1c6c10f2a99bf21ef282eb028f1b4e17360b47de43536fb2f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page