Skip to main content

Code intelligence and reuse discovery for research repositories

Project description

codio

Code intelligence and reuse discovery for research repositories.

Codio answers a practical question before implementation begins: What code already exists that solves this problem?

It maintains a two-layer registry — a catalog of library identity (name, language, repo, license) and a project profile of local policy (priority, runtime import rules, capability tags) — so agents and humans can search before they build.

Install

pip install codio

Quick start

codio init                          # scaffold .codio/ in your project
codio list                          # list registered libraries
codio discover "signal-processing"  # search by capability
codio get mylib                     # full library record
codio validate                      # check registry consistency
codio vocab                         # show controlled vocabulary
codio study mylib                   # structured library analysis
codio compare lib1 lib2             # compare libraries side-by-side

Registry model

Codio separates what a library is from how your project uses it:

  • Catalog (.codio/catalog.yml) — shared, project-agnostic metadata: name, kind, language, repo URL, package name, license, local source paths.
  • Profile (.codio/profiles.yml) — project-local interpretation: priority tier, runtime import policy, decision default, capability tags, curated note path.

Fields use a controlled vocabulary (codio vocab): kind (internal, external_mirror, utility), runtime_import (internal, pip_only, reference_only), decision_default (existing, wrap, direct, new), priority (tier1, tier2, ...).

MCP integration

Codio exposes tools through the projio MCP server:

Tool Description
codio_list Filtered library listing
codio_get Full library record
codio_registry Full registry snapshot
codio_vocab Controlled vocabulary
codio_validate Registry consistency check
codio_discover Capability search across libraries
codio_add_urls Add libraries from GitHub/GitLab URLs

Agent skills

  • codelib-discovery — search before implement: returns candidates with evidence and recommends a decision (reuse, wrap, depend, or implement new).
  • codelib-update — maintain registry and curated notes.
  • library-study — deep parallel analysis of external libraries.

Ecosystem

Codio is part of the projio ecosystem alongside indexio (semantic search), biblio (bibliography), and notio (structured notes).

Documentation

See the full documentation for tutorials, how-to guides, and reference.

pip install codio[dev]
mkdocs serve

Project details


Download files

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

Source Distribution

codio_tools-0.1.1.tar.gz (34.4 kB view details)

Uploaded Source

Built Distribution

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

codio_tools-0.1.1-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file codio_tools-0.1.1.tar.gz.

File metadata

  • Download URL: codio_tools-0.1.1.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for codio_tools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 324fc704dcab799900b1846cbf09da0f083c6bfc9ecfe0c4c0fdb2557f98caca
MD5 f1b514d2087bcacac1aa443252a618b0
BLAKE2b-256 017cd5ce59d3d71fe1e21a107ecebf43e01828a6a2c3729aebca8e180be95197

See more details on using hashes here.

File details

Details for the file codio_tools-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: codio_tools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for codio_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebf26a69122244c84f9cede790d8f59965a51d13f92fed9bed96f2743c95f253
MD5 c2d7e2c40e57634c4d0388fd1aecf301
BLAKE2b-256 6b1b3df2d8d351b33832cc24970e1ccce30b692bec9ce20024ba5ff35e53f1fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page