BSD Ports

databases/py-mysql-connector 2.2.1nb2 NetBSD

Standardized mysql database driver for Python development

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
databases, python
Package size
350.3 KiB, 2924.9 KiB installed

Description

MySQL Connector/Python enables Python programs to access MySQL databases, using an API that is compliant with the Python DB API version 2.0. It is written in pure Python and does not have any dependencies except for the Python Standard Library.

MySQL Connector/Python includes support for: * Almost all features provided by MySQL Server up to and including MySQL Server version 5.5. * Converting parameter values back and forth between Python and MySQL data types, for example Python datetime and MySQL DATETIME. You can turn automatic conversion on for convenience, or off for optimal performance. * All MySQL extensions to standard SQL syntax. * Protocol compression, which enables compressing the data stream between the client and server. * Connections using TCP/IP sockets and on Unix using Unix sockets. * Secure TCP/IP connections using SSL. * Self-contained driver. Connector/Python does not require the MySQL client library or any Python modules outside the standard library.

Install

Binary package:

pkgin install py311-mysql-connector

From pkgsrc:

cd /usr/pkgsrc/databases/py-mysql-connector && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.2.1nb2
NetBSD 10.1 aarch642.2.1nb2
SmartOS / illumos x86_642.2.1nb2
macOS 15 arm642.2.1nb2

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-mysql-connector-2.2.1nb2, py313-mysql-connector-2.2.1nb2, py314-mysql-connector-2.2.1nb2