detect-delimiter
Detects the delimiter used in CSV, TSV and other ad hoc file formats.
Decision gist · record as of 2026-08-14
Yes, if you need lightweight delimiter detection and accept the unmaintained status. The package has no dependencies, is small, and solves a narrow problem well. However, do not rely on it for production systems where bugs or edge cases could cause silent failures—consider it a utility for one-off scripts or low-stakes data ingestion. For critical applications, evaluate maintained alternatives or implement custom detection logic.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package is abandoned—last release was 2018-07-29 with no updates since.
- No runtime dependencies, so installation friction is low, but expect no maintenance or bug fixes.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), so you may use, modify, and distribute freely with attribution.
last release 2018-07-29 (2938 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 349,109 downloads/mo, #7,337 on PyPI
Alternatives
Verify before relying
pip install detect-delimiter
from detect_delimiter import detect
result = detect("a|b|c\nd|e|f\n")
print(result) # '|'
# With default fallback
result = detect("no delimiters here", default=',')
print(result) # ','- Accuracy of delimiter detection across real-world malformed or ambiguous CSV files
- Whether the default whitelist (comma, semicolon, colon, pipe, tab) covers typical use cases
- Performance on very large files or files with many candidate delimiters
What it is and what it does
detect_delimiter is a lightweight utility that infers the delimiter character from a sample of delimited text. It exposes a single `detect()` function that takes a string, scans it against a configurable list of candidate delimiters (defaulting to comma, semicolon, colon, pipe, and tab), and returns the most likely separator or None if no clear match is found. You can provide a fallback default, exclude certain characters via a blacklist, or restrict the search to specific delimiters via a whitelist.
The package has no external dependencies and is designed for simple, ad hoc delimiter detection in CSV-like formats. However, it has been abandoned since its initial release in July 2018, so it receives no maintenance, bug fixes, or updates. It is suitable only for straightforward delimiter-guessing tasks where you accept the risk of using unmaintained code.
Use it for
- Automatically detect the delimiter when importing a CSV file with unknown format before parsing
- Infer separator in user-uploaded delimited files to configure a parser without manual inspection
- Guess the delimiter in log files or other ad hoc text formats with consistent column separation
- Pre-process data pipelines that handle multiple file formats with different delimiters
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need lightweight delimiter detection and accept the unmaintained status.
The package has no dependencies, is small, and solves a narrow problem well. However, do not rely on it for production systems where bugs or edge cases could cause silent failures—consider it a utility for one-off scripts or low-stakes data ingestion. For critical applications, evaluate maintained alternatives or implement custom detection logic.
Install
detect-delimiter on PyPI
Before you install
Package is abandoned—last release was 2018-07-29 with no updates since. No runtime dependencies, so installation friction is low, but expect no maintenance or bug fixes.
License in practice
Licensed under Apache Software License (permissive), so you may use, modify, and distribute freely with attribution.
Quickstart
pip install detect-delimiter
from detect_delimiter import detect
result = detect("a|b|c\nd|e|f\n")
print(result) # '|'
# With default fallback
result = detect("no delimiters here", default=',')
print(result) # ','
Verify before relying
- Accuracy of delimiter detection across real-world malformed or ambiguous CSV files
- Whether the default whitelist (comma, semicolon, colon, pipe, tab) covers typical use cases
- Performance on very large files or files with many candidate delimiters
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,938 days since the last release |
| First released | |
| Downloads | 349,109 / month, #7,337 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Text ProcessingTopic :: Utilities |
Evidence: detect_delimiter-0.1.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “detect csv delimiter”
- detect-delimiterDetects the delimiter character used in CSV, TSV, and other delimited…
- csv-diffCompares two CSV, TSV, or JSON files and reports what rows were…
- clevercsvCleverCSV detects CSV file dialects automatically and provides a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also linear-tsv · csv-diff · clevercsv · gibberish-detector · pytest-csv · shellingham · csvsort · tsv2py · chardet · cchardet