sqlalchemy-sqlany


Namesqlalchemy-sqlany JSON
Version 1.0.4 PyPI version JSON
download
home_pagehttps://github.com/sqlanywhere/sqlalchemy-sqlany
SummarySAP Sybase SQL Anywhere dialect for SQLAlchemy
upload_time2021-12-01 20:00:21
maintainer
docs_urlNone
authorGraeme Perrow
requires_python
licenseApache 2.0
keywords sap sybase sqlanywhere sqlalchemy
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. ***************************************************************************
.. Copyright (c) 2013 SAP AG or an SAP affiliate company. All rights reserved.
.. ***************************************************************************

sqlalchemy-sqlany
=================
This project provides a SQLAlchemy dialect for communicating with a SQL Anywhere
database server. It is built upon the Python SQL Anywhere Database Interface.

Requirements
------------
The following software is required to use the SQL Anywhere dialect for SQLAlchemy:

* SQL Anywhere 11.0.1 or higher
* Python 2.4, 2.5, 2.6, 2.7, or 3.4
* The Python SQL Anywhere Database Interface version 1.0.6 or later
* SQLAlchemy version 0.8.0 or higher

Installing the required software
--------------------------------

The dialect uses the SQL Anywhere Python driver, which must also be installed.
If you are using pip to install the sqlalchemy-sqlany dialect, you can skip
this step since the SQL Anywhere Python driver will be installed as part of
that step.

The SQL Anywhere Database Interface for Python provides a Database API v2
compliant driver (see Python PEP 249) for accessing SQL Anywhere
databases from Python. The SQL Anywhere backend for Django is built on
top of this interface so installing it is required.
    
You can use pip to make this easy::

    $ pip install sqlanydb

Alternatively, you can obtain the Python SQL Anywhere Database Interface 
from https://github.com/sqlanywhere/sqlanydb. Install the driver by
downloading the source and running the following command::
    
    $ python setup.py install

Installing the sqlalchemy-sqlany dialect
----------------------------------------

Again, use pip to install this easily::

    $ pip install sqlalchemy-sqlany

This will install the SQL Anywhere python driver if it was not already installed.

Or you can obtain the dialect from 
https://github.com/sqlanywhere/sqlalchemy-sqlany/. Install the dialect by
downloading the source and running the following command::
    
    $ python setup.py install


Testing the dialect
-------------------

Once the Python SQL Anywhere Database Interface driver and the sqlalchemy-sqlany
dialect are installed, you can run the standard SQLAlchemy tests by following the
following instructions:

1. Create an empty database.
2. Start a SQL Anywhere server on that database. Make sure the server is
   listening for TCP/IP connections on the default port (2638) using 
   -x "tcpip(port=2638)".
3. Execute

::

     $ python run_tests.py

License
-------
This package is licensed under the terms of the Apache License, Version 2.0. See
the LICENSE file for details.

Feedback and Questions
----------------------
For feedback on this project, or for general questions about using SQL Anywhere
please use the SQL Anywhere Forum at http://sqlanywhere-forum.sap.com/
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sqlanywhere/sqlalchemy-sqlany",
    "name": "sqlalchemy-sqlany",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "SAP Sybase SQLAnywhere SQLAlchemy",
    "author": "Graeme Perrow",
    "author_email": "sqlany_interfaces@sap.com",
    "download_url": "https://files.pythonhosted.org/packages/7a/0d/577e193c78736e37e87ac9c45b9b636e784580550d3e2aecf93fb3061d9b/sqlalchemy_sqlany-1.0.4.tar.gz",
    "platform": "",
    "description": ".. ***************************************************************************\n.. Copyright (c) 2013 SAP AG or an SAP affiliate company. All rights reserved.\n.. ***************************************************************************\n\nsqlalchemy-sqlany\n=================\nThis project provides a SQLAlchemy dialect for communicating with a SQL Anywhere\ndatabase server. It is built upon the Python SQL Anywhere Database Interface.\n\nRequirements\n------------\nThe following software is required to use the SQL Anywhere dialect for SQLAlchemy:\n\n* SQL Anywhere 11.0.1 or higher\n* Python 2.4, 2.5, 2.6, 2.7, or 3.4\n* The Python SQL Anywhere Database Interface version 1.0.6 or later\n* SQLAlchemy version 0.8.0 or higher\n\nInstalling the required software\n--------------------------------\n\nThe dialect uses the SQL Anywhere Python driver, which must also be installed.\nIf you are using pip to install the sqlalchemy-sqlany dialect, you can skip\nthis step since the SQL Anywhere Python driver will be installed as part of\nthat step.\n\nThe SQL Anywhere Database Interface for Python provides a Database API v2\ncompliant driver (see Python PEP 249) for accessing SQL Anywhere\ndatabases from Python. The SQL Anywhere backend for Django is built on\ntop of this interface so installing it is required.\n    \nYou can use pip to make this easy::\n\n    $ pip install sqlanydb\n\nAlternatively, you can obtain the Python SQL Anywhere Database Interface \nfrom https://github.com/sqlanywhere/sqlanydb. Install the driver by\ndownloading the source and running the following command::\n    \n    $ python setup.py install\n\nInstalling the sqlalchemy-sqlany dialect\n----------------------------------------\n\nAgain, use pip to install this easily::\n\n    $ pip install sqlalchemy-sqlany\n\nThis will install the SQL Anywhere python driver if it was not already installed.\n\nOr you can obtain the dialect from \nhttps://github.com/sqlanywhere/sqlalchemy-sqlany/. Install the dialect by\ndownloading the source and running the following command::\n    \n    $ python setup.py install\n\n\nTesting the dialect\n-------------------\n\nOnce the Python SQL Anywhere Database Interface driver and the sqlalchemy-sqlany\ndialect are installed, you can run the standard SQLAlchemy tests by following the\nfollowing instructions:\n\n1. Create an empty database.\n2. Start a SQL Anywhere server on that database. Make sure the server is\n   listening for TCP/IP connections on the default port (2638) using \n   -x \"tcpip(port=2638)\".\n3. Execute\n\n::\n\n     $ python run_tests.py\n\nLicense\n-------\nThis package is licensed under the terms of the Apache License, Version 2.0. See\nthe LICENSE file for details.\n\nFeedback and Questions\n----------------------\nFor feedback on this project, or for general questions about using SQL Anywhere\nplease use the SQL Anywhere Forum at http://sqlanywhere-forum.sap.com/",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "SAP Sybase SQL Anywhere dialect for SQLAlchemy",
    "version": "1.0.4",
    "project_urls": {
        "Homepage": "https://github.com/sqlanywhere/sqlalchemy-sqlany"
    },
    "split_keywords": [
        "sap",
        "sybase",
        "sqlanywhere",
        "sqlalchemy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7a0d577e193c78736e37e87ac9c45b9b636e784580550d3e2aecf93fb3061d9b",
                "md5": "071539fb11e2790c099c397dab0305bd",
                "sha256": "c5bc4d86c463e157680b6f488f884667c378105811d3611704a95570e9794720"
            },
            "downloads": -1,
            "filename": "sqlalchemy_sqlany-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "071539fb11e2790c099c397dab0305bd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 17950,
            "upload_time": "2021-12-01T20:00:21",
            "upload_time_iso_8601": "2021-12-01T20:00:21.135715Z",
            "url": "https://files.pythonhosted.org/packages/7a/0d/577e193c78736e37e87ac9c45b9b636e784580550d3e2aecf93fb3061d9b/sqlalchemy_sqlany-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-12-01 20:00:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sqlanywhere",
    "github_project": "sqlalchemy-sqlany",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "sqlalchemy-sqlany"
}
        
Elapsed time: 0.23710s