Metadata-Version: 2.4
Name: cyta
Version: 0.2.2
Summary: cython -a for terminal (no HTML/browser needed)
License-Expression: MIT
Project-URL: Homepage, https://github.com/cemrehancavdar/cyta
Project-URL: Repository, https://github.com/cemrehancavdar/cyta
Keywords: cython,annotation,terminal,performance
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Cython
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cython>=3.0.0
Requires-Dist: rich>=13.0.0
Dynamic: license-file

# cyta

`cython -a` for terminal. No HTML, no browser.

## Usage

```bash
uvx cyta file.py                    # yellow = Python interaction
uvx cyta --annotate-fullc file.py   # show generated C code
uvx cyta --raw file.py              # plain text (no colors)
```

## Install

```bash
uv add cyta   # or: pip install cyta
```

## Example

```bash
$ cyta demo.py

demo.py
Yellow = Python interaction

  1 | import cython
  2 |
  3 | def slow_sum(data: list) -> float:  # highlighted yellow
  4 |     total = 0.0                      # highlighted yellow
  5 |     for x in data:                   # highlighted yellow
  6 |         total += x                   # highlighted yellow
  7 |     return total
```

## Name

**cy**thon **t**erminal **a**nnotation

## License

MIT
