semvec/pypi-packages huggingface dataset:
dinstar-uc-api 0.1.0
A modern Python wrapper for the Dinstar UC Gateway HTTP API (latest version).
License: MIT
Requires Python: >=3.8
Keywords: dinstar, gateway, sms, ussd, api, telecom

# dinstar-uc-api

A modern Python wrapper for the latest version of the Dinstar UC HTTP API.

This library provides typed access to Dinstar gateway endpoints for SMS, USSD, device status, port management, STK menus, and more. Built for developers who want clean, extendable, and well-documented access to gateway functionality.

---

## 📦 Features

- ✅ Send and receive SMS messages
- ✅ Manage USSD sessions and replies
- ✅ Monitor device and port status
- ✅ Query and interact with SIM Toolkit (STK) menus
- ✅ Typed dataclass models for responses
- ✅ Unified request logic via `send_api_request`

---

## 🚀 Installation

```bash
pip install dinstar-uc-api
```

## ⚙️ Configuration
Create a .env file in your root directory with the following:

```env
DINSTAR_USER=admin
DINSTAR_PASS=admin
DINSTAR_URL=https://your_gateway_ip
DINSTAR_VERIFY_SSL=false
```

This is accessed in code using decouple.config.

## 🧪 Quick Start with DinstarClient
```python
from dinstar.client import DinstarClient
from decouple import config

client = DinstarClient(
    username=config("DINSTAR_USER"),
    password=config("DINSTAR_PASS"),
    gateway_url=config("DINSTAR_URL"),
    verify_ssl=config("DINSTAR_VERIFY_SSL", cast=bool, default=True)
)

# Fetch unread SMS messages
sms = client.sms.receive_sms(flag="unread")
for msg in sms.data:
    print(f"[{msg.port}] {msg.number} → {msg.text}")

# Send USSD
ussd_response = client.ussd.send_ussd(text="*100#", ports=[0])
print(ussd_response)

# Query device performance
device_status = client.device.get_device_status()
print(device_status)
```

## 🧰 Example Scripts
Explore the examples/ folder:

- sms_fetch.py — Receive all SMS messages
- sms_send.py — Send a batch of SMS messages and track delivery
- send_ussd.py — Send and query USSD messages
- get_status.py — Query device performance (CPU, memory, flash)
- get_stk.py — Query STK menu and cancel
- set_port.py — Power ports on or off
- get_cdr.py — Query CDR logs

## 📚 Library Structure

| Module                   | Description                         |
| ------------------------ | ----------------------------------- |
| `dinstar.sms`            | SMS send, receive, queue, status    |
| `dinstar.ussd`           | USSD messaging and replies          |
| `dinstar.device`         | Device performance + SIM status     |
| `dinstar.port`           | Port info and control               |
| `dinstar.cdr`            | Call detail records                 |
| `dinstar.stk`            | STK menus and input                 |
| `dinstar.client`         | Unified wrapper across all modules  |
| `dinstar.models`         | Typed dataclasses for all responses |
| `dinstar.webhook_models` | Pydantic models for push events     |

## 🪪 License
This project is licensed under the terms of the MIT license.
For more details see [LICENSE](LICENSE)

## 🤝 Contributing
Pull requests welcome.
Please write clean code, include examples, and test API compatibility before submitting.
s2cache 0.4.1
Unofficial Semantic Scholar API with Local Cache
License: MIT
Requires Python: <4.0,>=3.8
Keywords: semanticscholar, bibliography, async

* Unofficial Semantic Scholar Client

  Python Semantic Scholar https://www.semanticscholar.org/product/api client
  with a local cache.

** Features
   - Async requests
   - Local JSON files based storage to avoid redundant requests
   - Can fetch citations > 10000 (Semantic Scholar API limit) when the full
     parsed citation graph is on disk.
   - Filter the data based on certain predicates like
     + Year
     + Author
     + Title
     + Venue
     + CitationCount
   - Local cache of dumped Semantic Scholar Citation Data, for fetching
     citations with papers > 10000.

** Installation

   ~pip install s2cache~

** Usage

   The package is a library for your Bibliography metadata managment needs.
   The intended use is applications which use Semantic Scholar data for
   generating bibliography management, visualizing citation graphs etc.

   It can fetch citations and references from Semantic Scholar API
   https://www.semanticscholar.org/product/api and store in a local cache
   to avoid redundant requests to the service as the citation data fetches
   can be network intensive.

   There is also a filters module also which can be combined to filter the data

   *More to Follow*

** License

   MIT License

   See Semantic Scholar License page https://www.semanticscholar.org/product/api/license
   to view the API License.
hwytvidgrabber 1.5.2
A YouTube downloader app with GUI
License: MIT
Requires Python: >=3.8
Keywords: youtube, downloader, video, audio, mp3, mp4, gui, pyqt6

# HwYtVidGrabber

![lol.png](screenshots/lol.png)

A simple, efficient YouTube video and audio downloader without pissing you off

## Features

- Download YouTube videos in various resolutions (144p to 4K)
- Extract audio as MP3
- Option for 60fps videos when available
- Download videos without audio (muted mp4)
- Pause, resume, and cancel downloads
- Dark mode support
- Progress tracking with speed, file size, and ETA indicators
- Auto-detection of maximum available resolution
- Customizable download location

## Requirements

- Python 3.8+
- FFmpeg (will auto install it on Linux, but theres a [shit](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) (find ffmpeg.exe), u have to put it on HwYtVidGrabbe.exe if you're on windows
- PyQt6
- yt-dlp



## Installation


### Windows

download HwYtVidGrabber.exe from the releases
and done :)

### Linux

install HwYtVidGrabber.deb(Debian/Ubuntu) or HwYtVidGrabber.pkg.tar.gz(Arch)

### MacOS

... Mount HwYtVidGrabber.dmg, move the HwYtVidGrabber.app to ur Applications folder ;)

### using pip (yep)

`pip install hwytvidgrabber`

## Usage

1. Launch the application
2. Enter a YouTube URL in the input field
3. Select your preferred format (mp4, mp3, or muted mp4)
4. Choose the desired resolution
5. Toggle 60fps option if needed
6. Click the "Download" button
7. Monitor download progress and use the pause/cancel buttons as needed

## Settings

- **Save Path**: Choose where downloaded files are saved
- **Dark Mode**: Toggle between light and dark themes


## Support

If you find this application useful, consider supporting the developer:

[![Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/MalikHw47)

## License

MIT License

## Disclaimer

This tool is designed for personal use only. Always respect copyright laws and YouTube's Terms of Service. Download only content that you have permission to download.








...dont spam somewhere & try to download a Miku song :)

















...dont click 10 times on somewhere