Beautiful Soup is a Python library designed for rapidly setting up screen-scraping projects. It offers Pythonic idioms for navigating, searching, and modifying a parse tree, providing a toolkit for dissecting a document and extracting what you need. It automatically converts incoming documents to Unicode and outgoing documents to UTF-8.
This package provides metadata objects which can be used to represent common constraints such as upper and lower bounds on scalar values and collection sizes, a Predicate marker for runtime checks, and descriptions of how we intend these metadata to be interpreted. In some cases, we also note alternative representations which do not require this package.
This simple Django utility allows you to utilize the 12factor inspired DATABASE_URL environment variable to configure your Django application.
The dj_database_url.config method returns a Django database connection dictionary, populated with all the data specified in your URL. There is also a conn_max_age argument to easily enable Django’s connection pool.
SocksiPy - A Python SOCKS client module. It provides a socket-like interface that supports connections to any TCP service through the use of a SOCKS4, SOCKS5 or HTTP proxy. The original version was developed by Dan Haim, this is a branch created by Mario Vilas to address some open issues,as the original project seems to have been abandoned circa 2007.
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.
(guix-science-nonfree packages machine-learning)JAX is Autograd and XLA, brought together for high-performance numerical computing, including large-scale machine learning research. With its updated version of Autograd, JAX can automatically differentiate native Python and NumPy functions. It can differentiate through loops, branches, recursion, and closures, and it can take derivatives of derivatives of derivatives. It supports reverse-mode differentiation (a.k.a. backpropagation) via grad as well as forward-mode differentiation, and the two can be composed arbitrarily to any order.
The table remodeler provides a flexible, operation-based framework for transforming tabular data files through JSON-configurable pipelines. Originally extracted from the hed-python remodeling tools, this package operates as a standalone tool while maintaining compatibility with HED annotations via the hedtools dependency.
Key features:
Operation-based architecture for reproducible data transformations
JSON-configurable pipelines for batch processing
Support for HED-annotated event files (via hedtools package)
Built-in backup and restore functionality
Both programmatic API and command-line interface
Extensible: create custom operations by extending BaseOp
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.
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.