A simple python package for fitting L2- and smoothing-penalized generalized linear models. Built primarily because the statsmodels GLM fit_regularized method is built to do elastic net (combination of L1 and L2 penalities), but if you just want to do an L2 or a smoothing penalty (like in generalized additive models), using a penalized iteratively reweighted least squares (p-IRLS) is much faster.
Pytest-examples provides functionality for testing Python code examples in docstrings and markdown files, with its main features being:
lint code examples using ruff and black
run code examples
run code examples and check print statements are inlined correctly in the code
It can also update code examples in place to format them and insert or update print statements
This package provides a Python library for building and analyzing recommender systems that deal with explicit rating data. It was designed with the following purposes in mind:
Provide tools to handle downloaded or user-provided datasets.
Provide ready-to-use prediction algorithms and similarity measures.
Provide a base for creating custom algorithms.
Provide tools to evaluate, analyse and compare algorithm performance.
Provide documentation with precise details regarding library algorithms.
This package provides wrappers for the commands of Python 3.x such that they can also be invoked under their usual names---e.g., python instead of python3 or pip instead of pip3.
To function properly, this package should not be installed together with the python package: this package uses the python package as a propagated input, so installing this package already makes both the versioned and the unversioned commands available.
This package can be used for different things:
golden master/approval/snapshot testing. The idea is that you have a function with a currently unknown result and you want to write a tests, which ensures that the result does not change during refactoring.
Compare things which are complex like lists with lot of numbers or complex data structures.
Things which might change during the development like error messages.
inline-snapshot automates the process of recording, storing and updating the value you want to compare with. The value is converted with repr() and stored in the source file as argument of the snapshot() function.
Psycopg is a PostgreSQL database adapter for the Python programming language. Its main features are the complete implementation of the Python DB API 2.0 specification and the thread safety (several threads can share the same connection). It was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a large number of concurrent INSERTs or UPDATEs.
Psycopg 2 is mostly implemented in C as a libpq wrapper, resulting in being both efficient and secure. It features client-side and server-side cursors, asynchronous communication and notifications, COPY TO/COPY FROM support. Many Python types are supported out-of-the-box and adapted to matching PostgreSQL data types; adaptation can be extended and customized thanks to a flexible objects adaptation system.
Psycopg 2 is both Unicode and Python 3 friendly.
HTTPX is a fully featured HTTP client for Python 3, which provides sync and async APIs, and support for both HTTP/1.1 and HTTP/2.
HTTPX builds on the well-established usability of requests, and gives you:
A broadly requests-compatible API.
Standard synchronous interface, but with async support if you need it.
HTTP/1.1 and HTTP/2 support.
Ability to make requests directly to WSGI applications or ASGI applications.
Strict timeouts everywhere.
Fully type annotated.
99% test coverage.
Plus all the standard features of requests:
International Domains and URLs
Keep-Alive & Connection Pooling
Sessions with Cookie Persistence
Browser-style SSL Verification
Basic/Digest Authentication
Elegant Key/Value Cookies
Automatic Decompression
Automatic Content Decoding
Unicode Response Bodies
Multipart File Uploads
HTTP(S) Proxy Support
Connection Timeouts
Streaming Downloads
.netrc Support
Chunked Requests
Zope contenttype.
Zope Deprecation Infrastructure
Typing stubs for simplejson.
Typing stubs for setuptools
Typing stubs for setuptools.
This package provides typing stubs for setuptools.
Simple, easy-to-use throttler for asyncio
Clone non-relocatable virtualenvs without breaking site-packages.
This package provides DataStax Driver for Apache Cassandra.
Monkey-patching and extensions for django-stubs
Asyncio frontend for the pulsectl Python bindings of libpulse.
This package provides a Wolfram language lexer for Pygments.
Wrappers to build Python packages using PEP 517 hooks.
This package adds SQLAlchemy support to your Flask application.
This package extends Pyserial with asynchronous I/O support.
A theme for Sphinx used by ReadTheDocs.org.
This package provides a Matplotlib theme for Sphinx.