-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8d857d
commit 2e0e05e
Showing
48 changed files
with
8,965 additions
and
3,378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Metadata-Version: 1.0 | ||
Name: mysql-connector-python | ||
Version: 1.0.12 | ||
Summary: MySQL driver written in Python | ||
Home-page: http://dev.mysql.com/doc/connector-python/en/index.html | ||
Author: Oracle and/or its affiliates | ||
Author-email: UNKNOWN | ||
License: GNU GPLv2 (with FOSS License Exception) | ||
Download-URL: http://dev.mysql.com/downloads/connector/python/ | ||
Description: MySQL driver written in Python which does not depend on MySQL C client | ||
libraries and implements the DB API v2.0 specification (PEP-249). | ||
|
||
Keywords: mysql db | ||
Platform: UNKNOWN | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Other Environment | ||
Classifier: Intended Audience :: Developers | ||
Classifier: Intended Audience :: Education | ||
Classifier: Intended Audience :: Information Technology | ||
Classifier: Intended Audience :: System Administrators | ||
Classifier: License :: OSI Approved :: GNU General Public License (GPL) | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python :: 2.4 | ||
Classifier: Programming Language :: Python :: 2.5 | ||
Classifier: Programming Language :: Python :: 2.6 | ||
Classifier: Programming Language :: Python :: 2.7 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.1 | ||
Classifier: Programming Language :: Python :: 3.2 | ||
Classifier: Programming Language :: Python :: 3.3 | ||
Classifier: Topic :: Database | ||
Classifier: Topic :: Software Development | ||
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks | ||
Classifier: Topic :: Software Development :: Libraries :: Python Modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,44 @@ | ||
MySQL Connector/Python 1.0 | ||
|
||
This is a release of MySQL Connector/Python, Oracle's dual- | ||
license Python Driver for MySQL. For the avoidance of | ||
doubt, this particular copy of the software is released | ||
under the version 2 of the GNU General Public License. | ||
MySQL Connector/Python is brought to you by Oracle. | ||
|
||
Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. | ||
|
||
License information can be found in the COPYING file. | ||
|
||
MySQL FOSS License Exception | ||
We want free and open source software applications under | ||
certain licenses to be able to use the GPL-licensed MySQL | ||
Connector/Python (specified GPL-licensed MySQL client libraries) | ||
despite the fact that not all such FOSS licenses are | ||
compatible with version 2 of the GNU General Public License. | ||
Therefore there are special exceptions to the terms and | ||
conditions of the GPLv2 as applied to these client libraries, | ||
which are identified and described in more detail in the | ||
FOSS License Exception at | ||
<http://www.mysql.com/about/legal/licensing/foss-exception.html> | ||
|
||
This software is OSI Certified Open Source Software. | ||
OSI Certified is a certification mark of the Open Source Initiative. | ||
|
||
This distribution may include materials developed by third | ||
parties. For license and attribution notices for these | ||
materials, please refer to the documentation that accompanies | ||
this distribution (see the "Licenses for Third-Party Components" | ||
appendix) or view the online documentation at | ||
<http://dev.mysql.com/doc/> | ||
A copy of the license/notices is also reproduced below. | ||
|
||
GPLv2 Disclaimer | ||
For the avoidance of doubt, except that if any license choice | ||
other than GPL or LGPL is available it will apply instead, | ||
Oracle elects to use only the General Public License version 2 | ||
(GPLv2) at this time for any software where a choice of GPL | ||
license versions is made available with the language indicating | ||
that GPLv2 or any later version may be used, or where a choice | ||
of which version of the GPL is applied is otherwise unspecified. | ||
|
||
MySQL Connector/Python MySQL driver written in Python | ||
============================================================================== | ||
Copyright (c) 2009,2010, Oracle and/or its affiliates. All rights reserved. | ||
Use is subject to license terms. (See COPYING) | ||
|
||
MySQL Connector/Python is implementing the MySQL Client/Server protocol | ||
completely in Python. This means you don't have to compile anything or MySQL | ||
(client library) doesn't even have to be installed on the machine. | ||
|
||
Disclaimer | ||
===================== | ||
|
||
!!!!!!!!!!! THIS IS STILL IN DEVELOPMENT !!!!!!!!!!!!!!!!!!! | ||
!!!!!!!! EXPECT THING TO NOT WORK OR GO WRONG !!!!!!!!!!!!!! | ||
!!!! DO NOT USE IN PRODUCTION etc.. etc... !!!!!!!!!!!!!!!!! | ||
|
||
Ah, and make backups! | ||
|
||
Dependencies | ||
===================== | ||
|
||
* Python 2.5 or greater | ||
* Python 3.1 or greater | ||
|
||
Connects to: | ||
* MySQL 4.1 or greater | ||
* Will not work with MySQL servers using 'old passwords'! | ||
|
||
Installation | ||
===================== | ||
|
||
To install MySQL Connector/Python, first unpack the ZIP archive or | ||
'tar ball' you download: | ||
|
||
shell> unzip mysql-connector-python-0.2.0-devel.zip | ||
or | ||
shell> tar xzf mysql-connector-python-0.2.0-devel.tar.gz | ||
|
||
Then simply execute the setup.py script with the 'install' argument: | ||
|
||
shell> cd mysql-connector-python-0.2.0/ | ||
shell> python setup.py install | ||
|
||
setup.py will figure out which Python version you have and install the | ||
correct modules. | ||
|
||
Usage | ||
===================== | ||
|
||
There are examples provided for both Python v2 and v3. Please check | ||
the following directories which comes with the MySQL Connector/Python | ||
distribution: | ||
|
||
* For Python v2: python2/examples/ | ||
* For Python v3: python3/examples/ | ||
|
||
Simply execute the examples as follows after installation: | ||
|
||
shell> python engines.py | ||
|
||
Testing | ||
===================== | ||
|
||
Unit tests are provided and can be run using the unittests.py script. Mind | ||
that you best edit the file so the connection parameters are correct for your | ||
MySQL Server. | ||
|
||
Report problems | ||
===================== | ||
|
||
Report problems using LaunchPad's bug system here: | ||
https://bugs.launchpad.net/myconnpy | ||
|
||
Credits | ||
===================== | ||
|
||
* Andy Dustman - we owe you big time for MySQLdb | ||
* Jess Balint - early development of native Python driver, helped a bit | ||
* Everyone reporting bugs through Launchpad |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="script.module.myconnpy" | ||
name="MySQL Connector/Python" | ||
version="0.3.2" | ||
provider-name="http://forge.mysql.com/projects/project.php?id=302"> | ||
version="1.0.12" | ||
provider-name="MySQL"> | ||
<requires> | ||
<import addon="xbmc.python" version="2.0"/> | ||
<import addon="xbmc.python" version="2.1.0"/> | ||
</requires> | ||
<extension point="xbmc.python.module" library="lib"/> | ||
<extension point="xbmc.addon.metadata"> | ||
<summary>MySQL Connector/Python</summary> | ||
<description>MySQL Connector/Python is implementing the MySQL Client/Server protocol completely in Python. This means you don't have to compile anything or MySQL (client library) doesn't even have to be installed on the machine.</description> | ||
<summary lang="en">MySQL Connector/Python</summary> | ||
<description lang="en">MySQL Connector/Python is implementing the MySQL Client/Server protocol completely in Python. This means you don't have to compile anything or MySQL (client library) doesn't even have to be installed on the machine.</description> | ||
<license>GPLv2</license> | ||
<platform>all</platform> | ||
<website>http://dev.mysql.com/doc/connector-python/en/index.html</website> | ||
</extension> | ||
</addon> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.