Skip to main content

Nuanced Python

Project description

nuanced

nuanced uses static analysis to generate enriched function call graphs of Python modules, providing agents and coding assistants with deeper understanding of code behavior.

Docs: https://docs.nuanced.dev

CLI Quick Start

Install nuanced

uv tool install nuanced

Initialize the graph

cd my_project
nuanced init my_python_module

Enrich and add context

nuanced enrich path/to/module/file.py some_function_name > some_function_name_subgraph.json
echo "test_some_function_name_succeeds is failing. Can you use the call graph in
some_function_name_subgraph.json to debug and update the relevant code to make
the test pass?" > agent_prompt.txt

Contributing

Setup

  1. Set up and activate virtualenv
% cd nuanced
% uv venv
% source .venv/bin/activate
  1. Install dependencies
% uv sync

Running tests

% pytest

Releasing new versions

https://docs.nuanced.dev/versioning#release-process

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

nuanced-0.1.4.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

nuanced-0.1.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file nuanced-0.1.4.tar.gz.

File metadata

  • Download URL: nuanced-0.1.4.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for nuanced-0.1.4.tar.gz
Algorithm Hash digest
SHA256 03352050bf78233eaeee00ca55df7ebe7ae29e78afc4719ce2ac86ff88dbf3cf
MD5 38ca35b805e1638a1c4c8d3afdd5c7b1
BLAKE2b-256 d5def96786ae44007ff8eb0ea3d8f112eaa3e2994615af290d7fa556ea479121

See more details on using hashes here.

File details

Details for the file nuanced-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: nuanced-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for nuanced-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 29bd7e3d00a9a0e89894c74d5d812883d94c00408e5e08701a5ac3f6e4b295b8
MD5 b82c9ed4f7b270d7fb9143db1685fe2e
BLAKE2b-256 b8e59f73881a7cda332ac59948ec065d4d239bccb3cc235a166df68ae3f51e2f

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