semvec/pypi-packages huggingface dataset:
magnit-pure-api 0.4.1
Minimal Python Api for shop Magnit
Requires Python: >=3.9

# Magnit Pure API

**Magnit Pure API** — это Python-библиотека для работы с API и веб-ресурсами сети магазинов "Магнит". Она позволяет получать информацию о категориях и товарах, а также авторизовываться в системе.

---

## Установка

### Требования

* Python 3.9+
* Установленные зависимости (см. ниже)

### Установка через pip

```bash
pip install pyatorochka-min-api
```

или вручную:

```bash
git clone https://github.com/ваш-репозиторий/magnit-pure-api.git
cd magnit-pure-api
pip install -r requirements.txt
```

### Зависимости

```
requests>=2.31.0
beautifulsoup4>=4.12.2
pandas>=2.0.0
urllib3>=2.0.0
```

---

## Быстрый старт

### Инициализация

```python
from magnit_api import MagnitApi

# Инициализация с указанием телефона, пароля и кода магазина
# Параметры burp_host и burp_port не используются в текущей версии
api = MagnitApi(
    phone="+79991234567",
    password="your_password",
    shop_code="12345"
)
```

---

## Основные методы

### 1. Авторизация

```python
if api.authorize():
    print("Авторизация успешна!")
else:
    print("Ошибка авторизации.")
```

### 2. Получение списка категорий

```python
categories = api.get_categories(shop_code="12345")
print(categories)
```

### 3. Получение товаров по категории

```python
products = api.get_products(
    category_id="4226-molochnye-produkty", # у вас будет свой
    shop_code="12345",
    page=4
)
for product in products:
    print(product['title'], product['sale_price'])
```

### 4. Парсинг всех товаров и сохранение в JSON

```python
api.parse_products(
    shop_code="12345",
    output="products.json",
    rpages=2  # количество страниц товаров для парсинга
)
```

---

## Примеры использования

### Пример 1: Получение всех категорий и товаров

```python
api = MagnitApi(phone="+79991234567", password="your_password", shop_code="12345")
categories = api.get_categories("12345")
for category in categories:
    products = api.get_products(category, "12345", 1)
    print(f"Категория: {category}, Товаров: {len(products)}")
```

### Пример 2: Сохранение данных в CSV

```python
import pandas as pd

api = MagnitApi(phone="+79991234567", password="your_password", shop_code="12345")
products = api.parse_products("12345", "products.json", 2)
df = pd.DataFrame(products)
df.to_csv("products.csv", index=False)
```

---

## Обработка ошибок

* Если авторизация не удалась, проверьте правильность телефона/пароля.
* Если не удается получить данные, проверьте код магазина и интернет-соединение.
* В текущей версии \*\*Burp\*\* прокси \*\*не используется\*\*
cfgtools 0.0.9
Provides tools for managing config files.
Requires Python: >=3.12
Keywords: config

# cfgtools
Provides tools for managing config files.

## Installation
```sh
$ pip install cfgtools
```

## Requirements
```txt
pyyaml
lazyr
Faker
htmlmaster
toml
```

## Usage
### Save to a config file

```py
>>> import cfgtools as cfg
>>> f = cfg.config({"foo": "bar", "this": ["is", "an", "example"]})
>>> f.save("test.cfg", "yaml") # or: f.to_yaml("test.cfg")
```
If not specifeid, the format of the file will be automatically detected according to the file suffix. Valid formats include `ini`, `json`, `yaml`, `pickle`, `toml`, etc. For example:
```py
>>> f.save("test.yaml") # a yaml file is created
>>> f.save("test.pkl") # a pickle file is created
>>> f.save("unspecified.cfg") # by default a json file is created
```

### Read from a config file
```py
>>> cfg.read("test.cfg")
cfgtools.config({'foo': 'bar', 'this': ['is', 'an', 'example']})
```
The encoding and format of the file will be automatically detected if not specified.

### Modify configs
```py
>>> f["foo"] = None
>>> f["that"] = {"is": ["also", "an", "example"]}
>>> f
cfgtools.config({
    'foo': None, 'this': ['is', 'an', 'example'],
    'that': {'is': ['also', 'an', 'example']},
})
```
If user wants to check the changed items, run:
```py
>>> f.view_change()
```

## See Also
### Github repository
* https://github.com/Chitaoji/cfgtools/

### PyPI project
* https://pypi.org/project/cfgtools/

## License
This project falls under the BSD 3-Clause License.

## History
### v0.0.9
* Bugfix when reading text files.

### v0.0.8
* Add a simple cli command `cfg [OPTIONS] FILENAME`.
* Rename `ConfigIOWrapper.safematch()` to `ConfigIOWrapper.adapt()`.

### v0.0.7
* New method for `BasicWrapper`: `*.asstr()`, `*.asint()`, `*.asfloat()`, `*.asbool()`, `*.asnone()`.

### v0.0.6
* Beautified the output of `ConfigIOWrapper.view_change()` through `_repr_mimebundle_()`.

### v0.0.5
* Added support for .toml files.
* New method for `ConfigIOWrapper`: `*.view_change()`, `*.asdict()`, `*.aslist()`.

### v0.0.4
* Fixed a bug in path resolution.

### v0.0.3
* Added reliance on `htmlmaster`.

### v0.0.2
* New method `ConfigIOWrapper.safematch()`.

### v0.0.1
* Initial release.
arygem 0.1.0
A simple Python wrapper for Google Gemini AI
Requires Python: >=3.9

# AryGem

AryGem is a minimal Python wrapper for **Google Gemini AI** that makes it super easy to generate AI responses with just a few lines of code.  

---

## Installation

```bash
pip install arygem
````

---

## Usage

```python
from arygem import AryGem

# Initialize with your Gemini API key
client = AryGem("YOUR_GEMINI_API_KEY")

# Generate a response
answer = client.generate(
    "Tell me something interesting about cats.",
    context="Cats are small, furry mammals known for their agility."
)

print(answer)
```

---

## Features

* Simple and minimal setup
* Supports optional context to guide AI responses
* Uses Google Gemini default model (`gemini-2.5-flash`)
* Ready to use out-of-the-box

---

## Requirements

* Python >= 3.9
* `google-genai` library (installed automatically with AryGem)

---

## License

MIT License


This is **ready to use for PyPI** or GitHub â€” clean, concise, and user-friendly.  

If you want, Aryan, I can **also make an extended version with examples for batch queries and optional parameters** to make it look more professional. Do you want me to do that?
khingproj-1 0.1.2
This is my first project.Use to calculate dot product,cross product, and magnitude of vector.
Requires Python: >=3.7

`khingproj_1` is a lightweight Python package that provides simple utility functions
for **Magnitude**, **Dot product**, and **Cross Product**.
It is designed mainly for learning purposes and as an example of Python packaging.

---

## Features
- **Magnitude**: calculate magnitude of vector
- **Dot product**: calculate dot product of vector
- **Cross Product**: calculate cross product of vector

---

## Installation

You can install the package directly from PyPI:

```bash
pip install khingproj_1
pybugmate 0.1.2
Effortless debugging, error hints, profiling, and postmortem REPL for Python
Requires Python: >=3.6

# PyBugMate

**[PyPI-READY] Effortless, smart debugging and postmortem for every Python project. Track errors, see real data, get smart hints, and drop into a REPL instantly—zero setup!**

---

## ✨ Features

- Automatic error tracing: See which function crashed, with parameters and variable values.
- Colorful, instant logs: [CALL], [RETURN], [PROFILE], [EXCEPTION]—all clear and readable!
- Smart hints: Friendly, actionable tips for common Python mistakes.
- Drop-in postmortem: On any unhandled error, instantly debug in a live REPL (IPython shell).
- No config, zero boilerplate: Add two lines—works everywhere, from scripts to complex apps.

---

## 🚀 Installation

pip install pybugmate


## 🧑‍💻 Usage: Quick Start

Paste these lines at the top of your script:
from pybugmate.postmortem import enable_postmortem   
from pybugmate.autowrap import autowrap

enable_postmortem()              # Step 1: Enable postmortem REPL for ANY unhandled crash !

# Define your functions normally
def foo(x): 
    return x+1

def bar(y): 
    return foo(y) * 2

autowrap(globals())              # Step 2: Auto-wrap all your functions for smart tracing
### (Call this after defining functions you want wrapped...)

### Now call your functions as usual
result = bar(5)
print(result)

---

## **💡 Why PyBugMate?**

- **Faster bug hunts:** Find errors instantly, with real context—no more `print` everywhere!
- **Perfect for learners:** You get helpful advice for real bugs, not just code line numbers.
- **Works anywhere:** CLI, notebooks, scripts, web apps, and more.

---

## 🌐 Links
- [GitHub](https://github.com/ANU-2524/pybugmate)
- [PyPI](https://pypi.org/project/pybugmate/)

---

> PRs, issues, and stars are welcome !...  
> Built with ♥ by ANU.