$npx skillfedfor your agent

cigam

magic

SkipPyPI UtilitiesReleased Mar 2018247.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cigam-0.0.3-py3-none-any.whl
v0.0.3 · released 2018-03-21

No. The package is abandoned and explicitly superseded by the author's newer project. Although it has no dependencies and installs easily, you should use the recommended successor instead. If you are already using cigam in legacy code, it may continue to work, but do not start new projects with it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation is frictionless with no runtime dependencies, but the package is abandoned and has not been maintained since 2021.
  • The repository is archived and the author has explicitly directed users to a successor project.

License · maintenance · safety

MIT (permissive) — Licensed under MIT (permissive), so you may use, modify, and distribute it freely with minimal restrictions.

last release 2018-03-21 (3068 days) · last repo commit 2021-10-28 · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 247,670 downloads/mo, #8,687 on PyPI

Verify before relying

pip install cigam

from cigam import Magic

m = Magic('test.dex')
print(m.get_type())
print(m.get_extension())
print(m.get_mime())
  • Whether the package works correctly with modern Python versions despite lack of maintenance
  • Whether file type detection remains accurate for current file formats
  • Why monthly downloads remain at 247670 despite the package being abandoned and explicitly superseded
Same gist for agents: .md · .json

What it is and what it does

cigam is a file type detection library that reads magic bytes from files to determine their type, MIME classification, and appropriate extension. It wraps the core logic needed to inspect a file's binary signature and report back structured metadata about what kind of file it is.

The package is no longer maintained—the last release was in 2018 and the repository was archived. The author has explicitly directed users to a successor project for ongoing support. While installation is frictionless and the MIT license is permissive, adopting this package means accepting that no bug fixes or compatibility updates will be provided.

Use it for

  • Identify file types in a batch processing pipeline by reading magic bytes instead of relying on file extensions.
  • Determine the MIME type of uploaded files in a web application to validate content before processing.
  • Extract the correct file extension for files that may have been renamed or stripped of their original extension.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned and explicitly superseded by the author's newer project. Although it has no dependencies and installs easily, you should use the recommended successor instead. If you are already using cigam in legacy code, it may continue to work, but do not start new projects with it.

Install

cigam on PyPI

Before you install

Installation is frictionless with no runtime dependencies, but the package is abandoned and has not been maintained since 2021. The repository is archived and the author has explicitly directed users to a successor project.

License in practice

Licensed under MIT (permissive), so you may use, modify, and distribute it freely with minimal restrictions.

Quickstart

pip install cigam

from cigam import Magic

m = Magic('test.dex')
print(m.get_type())
print(m.get_extension())
print(m.get_mime())

Verify before relying

  • Whether the package works correctly with modern Python versions despite lack of maintenance
  • Whether file type detection remains accurate for current file formats
  • Why monthly downloads remain at 247670 despite the package being abandoned and explicitly superseded

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 3,068 days since the last release
Last repo commit repository archived
First released
Downloads247,670 / month, #8,687 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3 :: OnlyTopic :: Utilities

Evidence: cigam-0.0.3-py3-none-any.whl

Tags

Capabilities
file type detectionmagic bytesfile mime typefile extension detectionfile format identificationmagic number detection
Topics
file-analysisabandoned
PyPI keywords
file typefile magic

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 › “file type detection”

  • cigamDetects and reports file types, MIME types, and extensions by…
  • typecodeDetects file types and MIME types using libmagic and Pygments, with…
  • file-magicfile-magic provides a Python interface to libmagic, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo

See also python-magic · filetype · python-magic-bin · magika · file-magic · libmagic · puremagic · typecode · zope.contenttype · chardet