File: download.rst

package info (click to toggle)
sqlobject 3.12.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,684 kB
  • sloc: python: 17,536; makefile: 162; sh: 95
file content (97 lines) | stat: -rw-r--r-- 2,463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Download SQLObject
++++++++++++++++++

The latest releases are always available on the `Python Package Index
<https://pypi.org/project/SQLObject/>`_, and is installable
with `pip <https://pip.pypa.io/en/latest/>`_ or `easy_install
<https://setuptools.readthedocs.io/en/latest/easy_install.html>`_.

You can install the latest release with::

  pip install -U SQLObject

or::

  easy_install -U SQLObject

You can install the latest version of SQLObject with::

  easy_install SQLObject==dev

You can install the latest bug fixing branch with::

  easy_install SQLObject==bugfix

If you want to require a specific revision (because, for instance, you
need a bugfix that hasn't appeared in a release), you can put this in
your `setuptools
<https://setuptools.readthedocs.io/en/latest/index.html>`_ using
``setup.py`` file::

  setup(...
    install_requires=["SQLObject==bugfix,>=0.7.1dev-r1485"],
  )

This says that you *need* revision 1485 or higher.  But it also says
that you can aquire the "bugfix" version to try to get that.  In fact,
when you install ``SQLObject==bugfix`` you will be installing a
specific version, and "bugfix" is just a kind of label for a way of
acquiring the version (it points to a branch in the repository).

Drivers
-------

SQLObject can be used with a number of drivers_. They can be installed
separately but it's also possible to install them with ``pip install``,
for example ``pip install SQLObject[mysql]`` or
``pip install SQLObject[postgres]``. The following drivers are
available:

.. _drivers: SQLObject.html#requirements

Firebird/Interbase
^^^^^^^^^^^^^^^^^^

fdb firebirdsql kinterbasdb

MS SQL
^^^^^^

adodbapi pymssql

MySQL
^^^^^

mysql (installs MySQL-python for Python 2.7 and mysqlclient for Python 3.4+)
mysql-connector pymysql cymysql mariadb

ODBC
^^^^

pyodbc pypyodbc odbc (synonym for pyodbc)

PostgreSQL
^^^^^^^^^^

psycopg
psycopg2 postgres postgresql (synonyms for psycopg2)
pygresql pypostgresql py-postgresql pg8000

The rest
^^^^^^^^

sapdb sybase

Repositories
------------

The SQLObject `git <https://git-scm.com/>`_ repositories are located at
https://github.com/sqlobject and
https://sourceforge.net/p/sqlobject/_list/git

Before switching to git development was performed at the Subversion
repository that is no longer available.

.. footer:: Get SQLObject at Sourceforge.net_. Fast, secure and Free Open Source software downloads

.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject