Personal tools
Skip to content. | Skip to navigation
persistent: automatic persistence for Python objects :target:
persistent include files
petl Extract, Transform and Load (Tables of Data) petl is a general purpose Python package for extracting, transforming and loading tables of data. Docs: Source: Download: Mailing list: also petlx < a library of extension modules for petl.
petlx Extensions to the petl package petlx is a collection of domainspecific and/or experimental extensions to petl < a Python package for extracting, transforming and loading tables of data. Docs: Source: Download: Mailing list:
Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. This package contains the python3 version of this module. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to automate setup scripts for duplicating software package installations on different servers. And it can be used for automated software testing. Pexpect is in the spirit of Don Libes' Expect, but Pexpect is pure Python. Unlike other Expect-like modules for Python, Pexpect does not require TCL or Expect nor does it require C extensions to be compiled. It should work on any platform that supports the standard Python pty module.
python-pgpdump is a Python 3 library for parsing PGP packets. The intent here is not on completeness, as we don't currently decode every packet type, but on being able to do what people actually have to 95% of the time. Currently supported things include: * Signature packets * Public key packets * Secret key packets * Trust, user ID, and user attribute packets * ASCII-armor decoding and CRC check
**PgSanity checks the syntax of Postgresql SQL files.**It does this by leveraging the ecpg command which is traditionally used for preparing C files with embedded sql for compilation. However, as part of that preparation, ecpg checks the embedded SQL statements for syntax errors using the exact same parser that is in PostgreSQL.So the approach that PgSanity takes is to take a file that has a...
pgvector-python pgvector support for Python Supports Django, SQLAlchemy, SQLModel, Psycopg 3, Psycopg 2, asyncpg, and Peewee Installation Run: pip install pgvector And follow the instructions for your database library: Django SQLAlchemy SQLModel Psycopg 3 Psycopg 2 asyncpg Peewee Or check out some examples: Embeddings with OpenAI Sentence embeddings with SentenceTransformers Hybrid search with SentenceTransformers (Reciprocal Rank Fusion) Hybrid search with SentenceTransformers (cross-encoder) Sparse search with Transformers Image search with PyTorch Image search with perceptual hashing Implicit feedback recommendations with Implicit Explicit feedback recommendations with Surprise Recommendations with LightFM Horizontal scaling with Citus Bulk loading with COPY Django Create a migration to enable the extension from pgvector.django import VectorExtension class Migration(migrations.Migration): operations = [ VectorExtension() ] Add a vector field to your model fro