Metadata-Version: 2.4
Name: compute-infinity
Version: 0.0.0
Summary: A minimal Python library template using uv, ruff, and pytest.
Project-URL: Homepage, https://github.com/maifeeulasad/compute-infinity
Project-URL: Issues, https://github.com/maifeeulasad/compute-infinity/issues
Author: Maifee Ul Asad<maifeeulasad@gmail.com>
License: MIT License
        
        Copyright (c) 2026 Maifee Ul Asad
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# compute-infinity

A minimal Python library template using:
- `uv` for environment and dependency management
- `ruff` for linting
- `pytest` for tests
- GitHub Actions for CI (lint + test) and CD (publish to PyPI)

## Project layout

```text
.
├── pyproject.toml
├── src/
│   └── compute_infinity/
│       ├── __init__.py
│       └── core.py
├── tests/
│   └── test_core.py
└── .github/workflows/
		├── ci.yml
		└── publish.yml
```

## Quick start

1. Install dependencies:

```bash
uv sync --dev
```

2. Run lint:

```bash
uv run ruff check .
```

3. Run tests:

```bash
uv run pytest
```

## Library API

```python
from compute_infinity import hello_world

print(hello_world())
# hello, world
```

## CI and CD

- CI: `.github/workflows/ci.yml`
	- Runs `ruff` and `pytest` on push to `main` and pull requests.
- CD: `.github/workflows/publish.yml`
	- Builds with `uv build`
	- Publishes to PyPI using trusted publishing on release publish or manual trigger.

## PyPI publishing setup

1. Create a project on PyPI with the same name as `project.name` in `pyproject.toml`.
2. In PyPI, configure Trusted Publisher for this GitHub repository and workflow.
3. Create a GitHub Release to trigger publishing.


## Inspiration
### Naming

```
'Cause I love you for infinity (Oh, oh, oh)
I love you for infinity (Oh, oh, oh)
'Cause I love you for infinity (Oh, oh, oh)
I love you for infinity (Oh, oh, oh)
```
 - Infinity, Jaymes Young