Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
Sign inSign up free
catalog / Data & ETL / Polars
⇄ConnectorData & ETLFree

Polars

Blazing-fast DataFrame library written in Rust with a Python API — handles datasets that don't fit in RAM.

@ai-supply
Installs346k
⟳ upstream py-1.43.0 · updated 6d ago
↗ Source repository
← More Data & ETLData & ETL leaderboard →How we grade security →Source ↗
! Grade B · 88/100 · ReviewSecurity assessment
✓No compromise signals11capabilities surfaced1known CVE9of 20 OWASP controls clear
Suspicious code patternsSuspicious code patternsSuspicious network referencesBroad capability surface
scanned 1d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

Polars

Polars is a high-performance DataFrame library written in Rust with Python, R, and Node.js bindings. It uses a columnar memory layout (Apache Arrow), a lazy execution engine, and aggressive parallelism to outperform Pandas by 5–100x on many operations.

Key Features

  • Lazy API: Build a query plan and let Polars optimize + execute it — ideal for large datasets
  • Multi-threaded: Automatically parallelizes operations across all CPU cores
  • Streaming mode: Process datasets larger than RAM in fixed-memory chunks
  • Expressive expressions: A composable, chainable expression syntax with no index ambiguity
  • Arrow-native: Zero-copy interop with PyArrow, DuckDB, pandas, and Hugging Face datasets
  • Native I/O: Read/write Parquet, CSV, JSON, IPC, Avro, databases, and cloud storage

Quick Start

pip install polars
import polars as pl

df = pl.read_parquet("events.parquet")

result = (
    df.lazy()
    .filter(pl.col("event_type") == "purchase")
    .group_by("user_id")
    .agg(pl.col("amount").sum().alias("total_spent"))
    .sort("total_spent", descending=True)
    .limit(100)
    .collect()
)

Add to ai-supply

npx ai-supply add polars-dataframe-library

Curated mirror of the open-source Polars (MIT). Get it from the source.

Rating rank
#1
of 24 in Data & ETL
Install rank
#3
of 24 in Data & ETL
Security score
88/100 · B
review
Security rank
#6
of 24 in Data & ETL
Installs
346k
cat avg 164k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Data & ETL leaderboard →
! Security: Review · 8888/100 · grade Bscanned 1d ago
✓ no compromise signals12 risk-surface · 6/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ shell⚑ network⚑ secrets
egress → www.contributor-covenant.org, pypi.org, matthewrocklin.com, crates.io, help.github.com, stackoverflow.com, discord.gg, docs.pola.rs +27
auth: bearerwww.contributor-covenant.orggithub.compypi.orgmatthewrocklin.comcrates.iohelp.github.comstackoverflow.comdiscord.ggscope: default_scopes

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM03Supply Chainhigh
Vulnerable/compromised dependencies, models or archives in the artifact.
•Vulnerable dependencies — 8 known vulnerabilities in: anyhow@1.0.102, bincode@2.0.1, quick-xml@0.39.4, quinn-proto@0.11.14, pydantic@2.0.0 (CWE-1395)known CVE · -12 pts
⚠LLM05Improper Output Handlinghigh
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — OS command execution; dynamic code execution · pola-rs-polars-a3e282a/.github/scripts/test_bytecode_parser.py (CWE-78)risk surface
•Suspicious code patterns — pipe-to-shell install · pola-rs-polars-a3e282a/.github/workflows/benchmark-remote.yml (CWE-494)risk surface
•Suspicious code patterns — dynamic code execution · pola-rs-polars-a3e282a/crates/polars-core/src/chunked_array/ops/chunkops.rs (CWE-95)risk surface
⚠LLM06Excessive Agencymedium
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · pola-rs-polars-a3e282a/.github/CODE_OF_CONDUCT.mdexpected
•External endpoints declared — 3 distinct host(s) · pola-rs-polars-a3e282a/.github/ISSUE_TEMPLATE/bug_report_python.ymlexpected
•External endpoints declared — 2 distinct host(s) · pola-rs-polars-a3e282a/.github/ISSUE_TEMPLATE/bug_report_rust.ymlexpected
•External endpoints declared — 4 distinct host(s) · pola-rs-polars-a3e282a/.github/workflows/release-python.ymlexpected
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · pola-rs-polars-a3e282a/.github/workflows/test-coverage.yml (CWE-272)risk surface
•External endpoints declared — 18 distinct host(s) · pola-rs-polars-a3e282a/README.mdexpected
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · pola-rs-polars-a3e282a/crates/polars-compute/src/decimal.rs (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM01Prompt InjectionPassed
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM07System Prompt LeakagePassed
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chainhigh
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Vulnerable dependencies — 8 known vulnerabilities in: anyhow@1.0.102, bincode@2.0.1, quick-xml@0.39.4, quinn-proto@0.11.14, pydantic@2.0.0 (CWE-1395)known CVE · -12 pts
⚠ML09Output Integrityhigh
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — OS command execution; dynamic code execution · pola-rs-polars-a3e282a/.github/scripts/test_bytecode_parser.py (CWE-78)risk surface
•Suspicious code patterns — pipe-to-shell install · pola-rs-polars-a3e282a/.github/workflows/benchmark-remote.yml (CWE-494)risk surface
•Suspicious code patterns — dynamic code execution · pola-rs-polars-a3e282a/crates/polars-core/src/chunked_array/ops/chunkops.rs (CWE-95)risk surface
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML02Data PoisoningPassed
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (4) · hygiene / uncategorized
•Unrecognized file type — '.gitattributes' is not on the allowlist · pola-rs-polars-a3e282a/.gitattributesrisk surface
•Unrecognized file type — '.?' is not on the allowlist · pola-rs-polars-a3e282a/.github/CODEOWNERSrisk surface
•Suspicious network references — suspicious TLD (6 URLs) · pola-rs-polars-a3e282a/.github/workflows/release-python.ymlrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · pola-rs-polars-a3e282a/.gitignorerisk surface
✔ verified source · pinned pola-rs-polars-a3e282a · changed since last scan (-12 pts)
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/polars-dataframe-library/check). Click a policy:

Consume Polars programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/polars-dataframe-library

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/polars-dataframe-library/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add polars-dataframe-library

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/polars-dataframe-library/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "polars-dataframe-library" })
OpenAPI spec →
vlatest
! Security: Review · 881mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

Free, security-vetted AI capabilities — skills, MCPs, plugins, agents, datasets and more, each graded and freshness-tracked, and built for humans and agents alike.

api · v3.1status · all green
Contact
support@ai-supply.storesecurity@ai-supply.store
Catalog
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
  • Security
  • Scan a repo
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
Account
  • Create account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy