Skip to main content

codemap-c

A C language indexer for CodeMap, shipped as an independent PyPI package.

What it captures

Backed by tree-sitter-c:

AST node Symbol kind
function_definition function
struct_specifier (named, with body) class (extra.c_kind=struct)
union_specifier (named, with body) class (extra.c_kind=union)
enum_specifier (named) class (extra.c_kind=enum)
type_definition (typedef) class (extra.c_kind=typedef)
preproc_def (#define X ...) variable (extra.c_kind=macro)
Top-level declaration with initializer variable
field_declaration inside a struct/union body field (attached to the parent)

Function bodies are not walked for inner declarations — locals are not script-level interface.

Install

pip install codemap-c

File patterns

  • *.c, *.h

Limits

  • Preprocessor conditionals (#ifdef/#if) parse but no branch selection is performed — both arms contribute symbols.
  • Function declarations (prototypes) are not emitted; only definitions.
  • Forward struct declarations without a body are skipped.

License

MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_c-0.4.10.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_c-0.4.10-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file codemap_c-0.4.10.tar.gz.

File metadata

  • Download URL: codemap_c-0.4.10.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_c-0.4.10.tar.gz
Algorithm Hash digest
SHA256 b31b1534f28add20fc3495f7f84fb70419f986eba9be5a6657cb1ca1d72c4f4d
MD5 b55e569869fe2571255d778167c44250
BLAKE2b-256 0783d11cb3c46c1b8d84219e445ceb8d7f26b957ef037482bb4348cbe7908f5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_c-0.4.10.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_c-0.4.10-py3-none-any.whl.

File metadata

  • Download URL: codemap_c-0.4.10-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_c-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 e987a21cd29854d599f6774b6485ab3e7632a79e0b1d70b39c7ffcfbf075f220
MD5 5ecb6fc5104305008a1e1329c34f06c1
BLAKE2b-256 718598527b428999117eedb072b3a1c834b90b825e8ee8a1b301736424711cc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_c-0.4.10-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.10 This release

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page