semvec/pypi-packages huggingface dataset:
code-detector 0.1.0
A package to detect if text is likely code
Requires Python: >=3.6
Keywords: code, detection, text-analysis, regex, nlp

# Code Detector

A Python package to detect if text is likely code.

## Installation

You can install the package via pip:

```
pip install code-detector
```

## Usage

```python
from code_detector import is_code

# Check if a string is likely code
text = "for i in range(10): print(i)"
result = is_code(text)  # Returns True

# Check if a string is not code
text = "This is just regular text explaining something."
result = is_code(text)  # Returns False

# Process multiple texts in batch
from code_detector.utils import batch_process
texts = [
    "for i in range(10): print(i)",
    "This is just regular text.",
    "npm install react --save"
]
results = batch_process(texts)  # Returns [True, False, True]

# Get statistics for a corpus
from code_detector.utils import get_statistics
stats = get_statistics(texts)
# Returns: {'total': 3, 'code_count': 2, 'non_code_count': 1, 'code_percentage': 66.66...}
```

## Features

- Detects various programming languages and code patterns
- Recognizes command line instructions
- Distinguishes between code and natural language descriptions of code
- Handles code within backticks
- Detects package manager commands
- Recognizes specialized patterns for R, CSS, and other languages
- Works with both simple and complex code examples

## License

This project is licensed under the MIT License - see the LICENSE file for details.
dirorganizer 1.0.4
A simple CLI tool to organize files by extensions
Requires Python: >=3.6

File Organizer CLI 📂

A simple command-line tool to organize files in a directory by extensions. Ideal for Download folders and keeping your workspace clean!

🚀 Features

✔ Categorizes files into folders based on extensions
✔ Supports all file types automatically
✔ Prevents overwriting existing files
✔ Lightweight and fast


---

📥 Installation

1️⃣ Install via pip (Recommended)

pip install dirorganizer

2️⃣ Install from Source

git clone https://github.com/SudoRV/dirorganizer.git
cd dirorganizer
pip install --editable .


---

🔧 Usage

Basic Command:

arrange /path/to/folder

Example:

📂 Before:

Downloads/
├── report.pdf
├── music.mp3
├── photo.jpg

📂 After arrange Downloads/

Downloads/
├── pdf/   → report.pdf
├── mp3/   → music.mp3
├── jpg/   → photo.jpg


---

🛠 Development

To modify the tool, follow these steps:

git clone https://github.com/SudoRV/dirorganizer.git
cd dirorganizer
pip install --editable .

Test your changes using:

arrange /path/to/folder


---

📄 License

This project is licensed under the MIT License.


---

🤝 Contributing

Got ideas or improvements? Feel free to open an issue or submit a pull request! 🚀


---

📌 Notes

Requires Python 3.6+

To uninstall, run:

pip uninstall dirorganizer
arizona-forum-api-extended 1.1
API для работы с форумом Arizona RP
Requires Python: >=3.6

# Arizona Forum API Extended
Расширенная библиотека для Python, предоставляющая возможность взаимодействия с ресурсом forum.arizona-rp.com без необходимости в получении API ключа XenForo у администрации форума.

# Описание проекта
Данная библиотека является расширенным форком библиотеки [Arizona-API](https://github.com/TastyBread123/Arizona-API) от [TastyBread123](https://www.blast.hk/members/455219/)
Поддерживает около 38 методов, которые помогают в решении большого количества задач. API имеет удобные документации:
1. [Документация к текущей расширенной версии](https://github.com/fakelag28/Arizona-Forum-API-Extended/wiki/Основная-документация)
2. [Документация оригинальной библиотеки](https://tastybread123.github.io/Arizona-API/arz_api.html)
Также репозиторий имеет [примеры](https://github.com/fakelag28/Arizona-Forum-API-Extended/tree/main/examples), где показаны самые простые возможности использования библиотеки.

# Установка
Расширенная (текущая) версия доступна для установки при помощи PyPi:
```bash
pip install arizona-forum-api-extended
```
Оригинальный пакет доступен в PyPi:  
```bash
pip install arz-api
```