semvec/pypi-packages huggingface dataset:
repo2notebook 1.0.0
Convert any code repository into a single markdown file for NotebookLM
License: MIT
Requires Python: >=3.9
Keywords: notebooklm, llm, markdown, code, repository, converter

# repo2notebook

Convert any code repository into a single markdown file for [NotebookLM](https://notebooklm.google.com/) and other LLM tools.

**Problem:** NotebookLM doesn't accept `.tsx`, `.py`, `.cs`, or most code files. You have to manually copy-paste everything.

**Solution:** One command, one file. Upload and start chatting with your codebase.

## Installation

```bash
pip install repo2notebook
```

## Usage

```bash
# Run in your project directory
cd your-project
repo2notebook

# Or specify a path
repo2notebook /path/to/your/repo
```

**Output:** `_repo2notebook/notebook.md` — ready to upload to NotebookLM.

### Alternative: Run Without Installing

```bash
curl -O https://raw.githubusercontent.com/Appaholics/repo2notebook/main/repo2notebook.py
python repo2notebook.py
```

## Features

- **Zero dependencies** — Only Python standard library
- **Single file** — Just `repo2notebook.py`, nothing else
- **All languages** — TypeScript, Python, Rust, Go, Kotlin, Swift, C#, and 50+ more
- **Smart filtering** — Automatically excludes `node_modules`, lock files, build outputs
- **Respects .gitignore** — Your ignore rules are honored
- **Safe** — Never modifies or deletes your original files
- **Auto-updates .gitignore** — Adds output folder to prevent committing

## What Gets Excluded

The tool automatically skips files that would add noise without value:

| Category | Examples |
|----------|----------|
| Dependencies | `node_modules/`, `vendor/`, `venv/`, `Pods/` |
| Lock files | `package-lock.json`, `yarn.lock`, `Cargo.lock`, `poetry.lock` |
| Build output | `dist/`, `build/`, `.next/`, `target/`, `bin/`, `obj/` |
| IDE config | `.idea/`, `.vscode/`, `.vs/` |
| OS files | `.DS_Store`, `Thumbs.db` |
| Secrets | `.env` (but `.env.example` is included) |

Plus everything in your `.gitignore`.

## Output Format

Clean markdown with proper syntax highlighting:

```markdown
# Repository: my-project

Generated: 2025-01-15 14:30
Total files: 42

---

## File: src/components/Button.tsx

​```typescript
import React from 'react';

export const Button = ({ label }) => {
  return <button>{label}</button>;
};
​```

---

## File: src/utils/api.py

​```python
def fetch_data(url: str) -> dict:
    ...
​```
```

## Requirements

- Python 3.9+

That's it. No `pip install`, no virtual environments.

## License

[MIT](LICENSE)

## Contributing

Issues and PRs welcome. Keep it simple.
seraschars 0.1.2
a small module for setting up personas
License: MIT
Requires Python: >=3.9

hi hello yes i wrote a small python package for making personas and stuff here it is
theres some example code below if you like to copy and paste example code i also like to copy and paste example code too yepyep oiuv;hsdbdi;ouvgho8v7gh 23o89f7vgh3fo8

```python
from seraschars import Character
from openai import OpenAI
from my_tokens import BOT_TOKEN

debugger = Character()
debugger.client = OpenAI()
debugger.bot_token = BOT_TOKEN
debugger.knowledge_dir = './seraschars'

debugger.start()
```
geounit 1.0.1
Geometric units conversions made easy
License: MIT
Requires Python: >=3.7

## geounit

`geounit` makes conversion of geometric units (G=c=1) easy and hassle-free. Geometric units are commonplace in numerical relativity and gravitational wave astrophysics.

At its core, `geounit` uses wonderful `astropy.units` package and operates with quantities with units.

### Installation

```python
pip install geounit
```

Currently implemented quantities:
 * Mass
 * Length
 * Time
 * Energy
 * Luminosity
 * Density
 * Pressure
 * Frequency

### Examples

For the total mass of M = 5Msun, calculate how much 12M is in ms:

```python
>>> import geounit
>>> M = 5
>>> gu = geounit.GU(M)
>>> 12 * gu.Time.to("ms")
<Quantity 0.29552946 ms>
>>> 12 * gu.Time.to("ms").value
np.float64(0.29552945685847604)
```

In units of one solar mass, there is a convinience variable:
```python
>>> from geounit import one as gu
>>> gu.Frequency.to("kHz")
<Quantity 203.02544673 kHz>
```

One can operate with fundamental mass-length-time (MLT) units:
```python
>>> import geounit
>>> energy = geounit.one.MLT(1, 2, -2) # mc**2
>>> energy.to("erg")
<Quantity 1.78709367e+54 erg>
```