Personal tools
Skip to content. | Skip to navigation
The python-oracledb driver is a Python programming language extension module allowing Python programs to connect to Oracle Database. Python-oracledb is the new name for Oracle's popular cx_Oracle driver.
An OrderedSet is a custom MutableSet that remembers its order, so that every entry has an index that can be looked up. Python 3 version.
orion-utilsorionutils provides collection generation for testing Galaxy and related projects. ReleasingTo release a new version of orion-utils, follow these steps:1. Change the version in setup.py 2. Generate a distribution of the new version: python setup.py sdist 3. Upload to PyPI twine upload dist/orionutils-*.tar.gzYou must have PyPI credentials for an account with upload permissions.
A build system for OS images
oscryptoA compilation-free, always up-to-date encryption library for Python that works on Windows, OS X, Linux and BSD. Supports the following versions of Python: 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10 and pypy. - [Supported Operating Systems](supported-operationg-systems) - [Features](features) - [Why Another Python Crypto Library?](why-another-python- crypto-library) -...
Alibaba Cloud OSS SDK for Python README of Chinese < Alibaba Cloud Object Storage Python SDK 2.x. This version is not compatible with the previous version (Version 0.x). The package name is oss2 to avoid conflict with previous versions.
Unlike other datetime libraries for Python, Pendulum is a drop-in replacement for the standard datetime class (it inherits from it), so, basically, you can replace all your datetime instances by DateTime instances in you code. It also removes the notion of naive datetimes: each Pendulum instance is timezone-aware and by default in UTC for ease of use.
Python DB-API and SQLAlchemy dialect for Pinot This module allows accessing Pinot via its SQL API. Current supported Pinot version: 1.1.0. Usage Using the DB API to query Pinot Broker directly: from pinotdb import connect conn = connect(host='localhost', port=8000, path='/query/sql', scheme='http') curs = conn.cursor() curs.execute(""" SELECT place, CAST(REGEXP_EXTRACT(place, '(.*),', 1) AS FLOAT) AS lat, CAST(REGEXP_EXTRACT(place, ',(.*)', 1) AS FLOAT) AS lon FROM places LIMIT 10 """) for row in curs: print(row) For HTTPS: from pinotdb import connect conn = connect(host='localhost', port=443, path='/query/sql', scheme='https') curs = conn.cursor() curs.execute(""" SELECT place, CAST(REGEXP_EXTRACT(place, '(.*),', 1) AS FLOAT) AS lat, CAST(REGEXP_EXTRACT(place, ',(.*)', 1) AS FLOAT) AS lon FROM places LIMIT 10 ""
.. image::
Pockets full of useful Python tools! *Let me check my pockets...* -The Pockets library pulls together many of the Python helper functions I've found useful over the years.If you've worked on a project that exports an API and accesses a data store, you've probably seen some code that looks like this:: Receive a data type with underscores from some API data_type 'user_preference' Convert...