Packages
Provides a drop-in replacement for the deprecated `distutils.version.LooseVersion` class, enabling flexible version comparison for non-PEP-440 version schemes.
loralib provides PyTorch modules that implement Low-Rank Adaptation (LoRA), enabling efficient fine-tuning of large language models by training only small rank-decomposition matrices while freezing original weights.
However, note that loralib has been dormant since August 2023 and may not track the latest library changes, so verify compatibility with your current dependencies…
Generates random placeholder text that resembles Latin (lorem ipsum style) for use in templates, mockups, and testing.
However, verify compatibility with your Python version before relying on it in production, and consider maintaining a local fork if long-term support becomes necessary.
Generates dummy lorem ipsum text (sentences, paragraphs, and words) for use in Python code or via command-line interface.
Loro provides Python bindings for a CRDT (Conflict-free Replicated Data Type) library implemented in Rust, enabling high-performance collaborative data structures for local-first applications.
Provides a human-readable summary of NumPy arrays with shape, dtype, statistics, and special values, plus visualization methods for debugging and exploration.
Monkey-patches PyTorch tensors to display human-readable summaries with statistics, histograms, and anomaly detection instead of raw numerical dumps.
LovelyPlots provides matplotlib style sheets that format scientific plots for papers, theses, and presentations while keeping them editable in Adobe Illustrator and compatible with LaTeX documents.
However, note the dormant maintenance status: the last release was 891 days ago, so verify compatibility with your current matplotlib version before relying on it for…
Calculates LPC firmware checksums for embedded systems, usable as a standalone command-line tool or as a Python module integrated into build pipelines.
However, be aware that the package is abandoned—no updates since 2022—so verify compatibility with your current LPC toolchain and Python version before committing to it.
Computes perceptual similarity between image pairs using deep neural network features, returning a scalar distance metric where lower values indicate more similar images.
However, it is dormant—no active maintenance since 2021—so expect no bug fixes or updates.
A fast C-based LRU (Least Recently Used) dict container that evicts the oldest items when a fixed size limit is exceeded, with dict-like access and optional eviction callbacks.
However, the aging maintenance status (285 days since last release, seeking a lead maintainer) means you should verify the project's stability for your use case and…
LSCSoft-GLUE provides utilities and grid access tools for running data analysis pipelines in gravitational-wave physics research, supporting both online and offline analysis workflows.
However, the aging maintenance status (last release 392 days ago) means you should verify that it still meets your current grid infrastructure and Python environment…
Client library for accessing LSEG Data Platform financial data through multiple connection methods, providing abstraction layers for pricing, fundamental data, historical data, and real-time streaming.
However, the aging maintenance status (last release 497 days ago) means you should verify ongoing support and check that your use case aligns with the documented…
Provides Python object types and converters for the Language Server Protocol, enabling you to build LSP clients and servers with standardized message structures.
Install it if you are building any LSP-based tool.
Provides an abstraction layer for reading and writing astronomical data to datastores, enabling structured access to large scientific datasets through a unified interface.
However, it is a specialized tool tightly coupled to a specific observatory's data model; it is not a general-purpose data access layer.
Downsamples time series data using the Largest-Triangle-Three-Buckets algorithm to reduce visually redundant points while preserving overall shape, built on numpy.
Parses Lua source code into an abstract syntax tree (AST) and provides tools to traverse, analyze, and regenerate Lua code from the AST.
LucoPy is a Python SDK for interacting with the Luco API, providing methods to manage slots, submissions, and slot sequences in a data observability platform.
However, the dormant maintenance status is a significant concern: you should verify that Luco itself remains supported by Lu.co and that this SDK is compatible with…
Generates and verifies Luhn check digits for digit strings, commonly used to validate credit card numbers and similar identifiers.
However, it is abandoned and has not been updated since 2015-06-23—install only if you are confident the Luhn algorithm implementation is correct for your use case…
Luigi is a Python workflow orchestration framework that builds and manages complex pipelines of batch jobs, handling dependency resolution, task scheduling, failure recovery, and visualization.
Install it if you need workflow orchestration; skip it if your tasks are simple, one-off scripts.
Sends summary Slack notifications when Luigi job pipelines finish, consolidating failures and missing dependencies into a single message instead of per-failure emails.
Lumibot is a Python framework for building, backtesting, and running algorithmic trading strategies and AI agents across stocks, options, crypto, futures, and forex using a single codebase that works identically in backtest and live trading.
Provides core utilities and helpers for distributed tracing instrumentation in Python applications, designed as a foundation for Lumigo's tracing ecosystem.
However, the aging maintenance status means you should verify that the utilities it provides match your current needs and be prepared for slower issue resolution if…
Lumigo-tracer instruments Python Lambda functions to automatically collect distributed traces, metrics, and performance data, sending them to the Lumigo platform for observability and debugging.
Converts between Gregorian (solar) and Chinese lunar calendars, and computes associated astrological and traditional calendar properties like zodiac signs, stems-and-branches, lucky directions, and festival dates.
However, the high install friction (source-only distribution) and aging maintenance status (last commit 282 days ago) mean you should verify compatibility with your…
Converts between lunar and solar calendar dates, and provides access to lunar and solar festivals (including Chinese New Year, Mid-Autumn Festival, Easter, and 24 solar terms) for dates between 1900 and 2100.
Not recommended if you require active maintenance, support for dates outside the 1900–2100 range, or frequent updates to festival definitions.
Converts between Gregorian (solar) and Chinese (lunar) calendar dates, with support for leap months and date arithmetic.
Lunary is a Python SDK that monitors and logs interactions with LLM models and custom agents, integrating with langchain-community and other libraries to capture and send telemetry to the Lunary platform.
However, resolve the unclear license status before use in commercial or compliance-sensitive contexts, and verify that the data-collection model aligns with your…
Lunr is a lightweight, in-memory full-text search library that builds an inverted index from a set of documents and performs fast text searches without requiring a separate search server.
However, the aging maintenance status (524 days since last release) means you should verify compatibility with your specific Python version and use case before…
Lupa embeds Lua or LuaJIT runtimes into CPython, allowing you to execute Lua code and pass objects bidirectionally between Python and Lua within the same process.
Parses Lucene Query DSL syntax into an abstract syntax tree, enabling inspection, analysis, and transformation of search queries for use with Elasticsearch or custom backends.
Install it if you need to accept Lucene syntax from users and convert it to Elasticsearch or apply custom query logic.
Python client library for the LUSID API, providing programmatic access to portfolio management, accounting, and valuation endpoints.
However, confirm that your use case aligns with the early-access and experimental status of many endpoints, and ensure you have valid LUSID credentials before…
lxml provides Python bindings to libxml2 and libxslt, enabling parsing, validation, and transformation of XML and HTML documents through an ElementTree-compatible API with support for XPath, XSLT, and schema validation.
Install it if you need robust XML/HTML parsing, validation, or transformation; avoid it only if you must stay pure-Python and can accept slower performance.
Cleans and sanitizes HTML by removing unwanted tags and attributes using a blocklist approach, extracted from lxml's original HTML cleaner module.
However, do not use it for security-sensitive applications—the maintainers explicitly recommend alternatives like nh3 for those cases.
Provides type annotations for the lxml package to enable static type checking with mypy and other type checkers.
However, be aware that the abandoned status means type annotations will not be updated for new lxml features or API changes.
Implements parameter-efficient fine-tuning algorithms (LoRA, LoHa, LoKr, DyLoRA, and others) for Stable Diffusion models, enabling training and inference with reduced memory and storage overhead.
Python bindings for the LZ4 compression library, providing frame and block format compression with a standard library-compatible API.
lzallright provides Python bindings to compress and decompress data using the LZO compression format via a minimal C++14 implementation.
Python bindings for the LZFSE reference implementation, providing compression and decompression of LZFSE-encoded data.
However, the package has been dormant since April 2024 and receives no active maintenance, so verify that the current version meets your needs before depending on it…
Compresses and decompresses text using the LZ-String algorithm, supporting multiple output formats including Base64 encoding.