Port details on branch 2022Q2 |
- py-aesqlapius Manage SQL queries as a Python API
- 0.0.9 databases =0 0.0.9Version of this port present on the latest quarterly branch.
- Maintainer: amdmi3@FreeBSD.org
- Port Added: 2020-12-02 21:48:32
- Last Update: 2023-01-11 15:58:34
- Commit Hash: 77d6847
- Also Listed In: python
- License: MIT
- WWW:
- https://pypi.org/project/aesqlapius/
- Description:
- So you don't want to use ORM, and want to organize your SQL queries
in a convenient way. Don't mix them with your python code, don't
write `execute` and `fetchrow`s by hand for each query. With
aesqlapius:
- Store your SQL queries separate from the code, in a dedicated
file or directory hierarchy
- Annotate each query with python-like function definition specifying
input arguments and output types and patterns
aesqlapius builds a class out of this, where you can call your
queries as plain methods. It handles arguments (pass positional
or keyword arguments as you like, default values are also handled) and
output types and patterns (you may specify whether a method returns
iterator, list, dict of rows, or a single row, where row may
be represented as a tuple, list, dict, single value or a custom
type such as a dataclass).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}aesqlapius>0:databases/py-aesqlapius@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/databases/py-aesqlapius/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/py-aesqlapius
- pkg install py39-aesqlapius
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-aesqlapius listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-aesqlapius
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1630413560
SHA256 (aesqlapius-0.0.9.tar.gz) = 7c373c47c418352228be4545de936f20a67c79fe089512f9bcec125f66df3e6f
SIZE (aesqlapius-0.0.9.tar.gz) = 24835
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest>=0 : devel/py-pytest@py39
- py39-pytest-asyncio>=0 : devel/py-pytest-asyncio@py39
- py39-pytest-datadir>=0 : devel/py-pytest-datadir@py39
- py39-sqlite3>=0 : databases/py-sqlite3@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- databases_py-aesqlapius
- USES:
- python:3.9+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|