semvec/pypi-packages huggingface dataset:
ibapi-stable 10.37.2
Interactive Brokers Python API
Requires Python: >=3.1
Keywords: interactive brokers, ibapi, tws, trading, api

# IB API Python - Automated Publisher

This project automatically downloads the Interactive Brokers TWS API Python client and publishes it to PyPI.

## Overview

The Interactive Brokers TWS API is distributed as a zip file containing multiple language bindings. This project:

1. Downloads the latest TWS API zip file from https://interactivebrokers.github.io/
2. Extracts only the Python client (`IBJts/source/pythonclient`)
3. Commits the extracted code to a git branch
4. Tags the commit with the API version number
5. (Future) Publishes to PyPI automatically

## Quick Start

### Method 1: Automatic (if web access is unrestricted)

```bash
# Get the download URL from the IB website
python get_download_url.py

# Update the IB API using the URL from above
python update_ibapi.py <download_url>
```

### Method 2: Manual URL

If automatic scraping doesn't work (e.g., due to firewall/proxy restrictions):

1. Open https://interactivebrokers.github.io/ in your browser
2. Find the download link in the table (usually the third row: `tr.linebottom:nth-child(3) > td:nth-child(2) > a`)
3. Right-click and copy the link address
4. Run the update script:

```bash
python update_ibapi.py <download_url>
```

Example:
```bash
python update_ibapi.py https://interactivebrokers.github.io/downloads/twsapi_macunix.1040.01.zip
```

## How It Works

### Version Detection

The version is automatically extracted from the zip filename. For example:
- `twsapi_macunix.1040.01.zip` → version `1040.01`
- `twsapi_macunix.1051.00.zip` → version `1051.00`

### Git Workflow

1. The Python client code is copied to the `ibapi/` directory
2. Changes are committed with message: `Update IB API to version X.XX`
3. A git tag is created: `vX.XX`

### File Structure

```
ibapi-python/
├── README.md                 # This file
├── get_download_url.py      # Helper script to fetch download URL
├── update_ibapi.py          # Main automation script
├── scrape_and_publish.py    # Legacy script (alternative method)
└── ibapi/                   # IB Python client code (created after first run)
    ├── client.py
    ├── wrapper.py
    └── ...
```

## Requirements

```bash
pip install requests beautifulsoup4
```

## Manual Steps (Alternative)

If you prefer to do it manually:

1. Download the TWS API zip from https://interactivebrokers.github.io/
2. Extract the zip file
3. Copy `IBJts/source/pythonclient/*` to `ibapi/` in this repository
4. Commit and tag:

```bash
git add ibapi/
git commit -m "Update IB API to version X.XX"
git tag -a vX.XX -m "Version X.XX"
```

## Future Enhancements

- [ ] Automatic publishing to PyPI
- [ ] GitHub Actions workflow for scheduled checks
- [ ] Version comparison to detect updates
- [ ] Automated testing of the Python client
- [ ] setup.py for PyPI packaging

## License

The IB API code is proprietary to Interactive Brokers. This automation tool is provided as-is.

## Support

For issues with:
- The IB API itself: Contact Interactive Brokers
- This automation tool: Open an issue in this repository
order-status-notify 0.2.3
A lightweight Django utility for sending email notifications on order status updates.
Requires Python: >=3.8

# order_status_notify

A lightweight Django library for automatically sending **email notifications** to users whenever their order status changes 
---

## Features

- Simple integration with any Django project  
- Works with Django’s built-in `User` model  
- Sends rich HTML + plain-text emails  
- Handles exceptions gracefully  
- Fully compatible with **Django 3.2.x**

---

## Installation

You can install this library directly from PyPI (after upload):

##bash
pip install order_status_notify

## Usage

from order_status_notify import notify_status_change
notify_status_change(user, order)
blakport 1.0.0
Fast, lightweight FastAPI wrapper for exposing Ollama server to local network
Requires Python: >=3.8
Keywords: ollama, fastapi, llm, local-network, api-gateway

# BlakPort

<div align="center">

**Fast, lightweight FastAPI wrapper for exposing Ollama server to your local network**

[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![FastAPI](https://img.shields.io/badge/FastAPI-0.104+-green.svg)](https://fastapi.tiangolo.com/)

</div>

## Overview

BlakPort is a lightweight API gateway that exposes your local Ollama server to devices on your local network. It provides a simple REST API wrapper around Ollama, making it easy to access your LLM models from any device on your LAN.

## Installation

### From PyPI

```bash
pip install blakport
```

### From Source

```bash
git clone https://github.com/yourusername/blakport.git
cd blakport
pip install -e .
```

## CLI Commands

### `blakport start`

Start the BlakPort server.

```bash
blakport start                    # Foreground (auto-moves to background)
blakport start --background       # Background immediately
blakport start --host 192.168.1.100 --port 11435  # Override Ollama config
```

### `blakport stop`

Stop the running server.

```bash
blakport stop
```

### `blakport status`

Show server status.

```bash
blakport status
```

### `blakport log`

View server logs.

```bash
blakport log              # Last 50 lines
blakport log --lines 100  # Last 100 lines
blakport log --follow     # Follow logs (tail -f)
```

### `blakport init` / `blakport configure`

Initialize or update configuration.

```bash
blakport init                          # Interactive setup
blakport init --host 127.0.0.1 --port 11434
blakport configure --host 192.168.1.100
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## License

MIT License - see [LICENSE](LICENSE) file for details.

---

<div align="center">

Made with ❤️ in London

</div>
plotprimes 1.0.1
Plot prime numbers on a polar coordinate system
Requires Python: >=3.13

# plot-primes

It plots primes in a polar coordinate system. Looks real nice for wallpapers and
such.

## Run it

### Directly

- Download
[`plotprimes.py`](src/plotprimes/plotprimes.py)
and run it with Python. This script requires
[`matplotlib`](https://pypi.org/project/matplotlib/).
- OR: Install from [PyPi](https://pypi.org/project/plotprimes)
using whatever people use to install Python packages nowadays.
- OR: Install a wheel from the
[releases](https://github.com/jtompkin/plot-primes/releases) page.

### Nix

The flake exposes `plotprimes` as the default package:

```bash
nix run 'github:jtompkin/plot-primes' -- -h
```

If you're feeling spicy, you can download the
[`nix/plotprimes.py`](nix/plotprimes.py)
script and run it directly. This is a reproducible interpreted script: all you
need is Nix; it will run in an environment with all dependencies satisfied
automagically.

## Use it

### Flags

- `-n`: `int` Number of primes to plot. (default 1000)
- `-c`: `str` [Matplotlib colormap](https://matplotlib.org/stable/users/explain/colors/colormaps.html)
name. (default "twilight")

## Build it

Requires Python and [`build`](https://pypi.org/project/build/).

```bash
git clone https://github.com/jtompkin/plot-primes
cd plot-primes
python -m build
```
merge-front-back 1.0.0b2
Merge two single-sided scanned PDFs into a duplex document
Requires Python: >=3.14

# merge-front-back

Command line program merge_front_back to merge two single-sided scanned PDFs into a duplex document.

Scan the odd pages first with your scanner.  Flip your stack of paper over and scan the even pages into a seperate document.  The pages will be scanned in reverse order.  

Use merge_front_back to interleave the pages into a propertly ordered PDF.

Instructions are available, run the command without arguments:

```powershell
merge_front_back  
```



## Installation

### For General Use on an Operating system.

Install pipx if you don't already have it installed:  https://github.com/pypa/pipx.  

Install merge-front-back
```powershell
pipx install merge-front-back
```
#### On Windows
On Windows you can use this to install pipx:

Install [Scoop](https://scoop.sh/):

```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
```
.  

Install a systemwide Python.
If you have uv installed:
```powershell
uv python install --default
```
 Otherwise [install Python](https://www.python.org/downloads/windows/).

Install [pipx](https://github.com/pypa/pipx):
```powershell
scoop install pipx
pipx ensurepath
```

Now install merge-front-back:

```powershell
pipx install merge-front-back
```

### For Use in a Specific Python Enviornment 

This project uses Python packaging and is compatible with [uv](https://github.com/astral-sh/uv).  

For an editiable install:

```powershell
uv venv
source .venv/bin/activate
uv pip install -e .
```

To simply install in your current Python environment:
```powershell
pip install merge-front-back
```