semvec/pypi-packages huggingface dataset:
wppcpy 0.1.1
Verify that the directory is a WordPress plugin based on the defined constraints.
License: MIT

# WPPCPY - Wordpress Plugin Checker

![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/shahmal1yev/wppcpy?label=latest&style=flat)
![GitHub last commit](https://img.shields.io/github/last-commit/shahmal1yev/wppcpy)
![GitHub stars](https://img.shields.io/github/stars/shahmal1yev/wppcpy)
![GitHub issues](https://img.shields.io/github/issues/shahmal1yev/wppcpy)

```wppcpy``` is a Python package designed to verify if a directory meets the necessary constraints to be considered a
valid WordPress plugin. It checks for essential headers in the main PHP file and ensures the presence of required files
like `readme.txt`.

## Features

- **Header Validation**: Checks for the existence of key headers in the main PHP file, such as `Plugin Name`,
  `Plugin URI`, `Description`, `Version`, and more.
- **File Validation**: Ensures that required files like `readme.txt` are present in the plugin directory.

## Installation

You can install the ```wppcpy``` using pip:

```bash
pip install wppcpy
```

## Usage

Here's a basic example of how to use the Plugin Validator:

```python
import wppcpy.constraints

if __name__ == "__main__":
    plugin_path = "/var/www/wordpress/vns/booknetic.run/wp-content/plugins/booknetic"

    main_file_name = 'init.php'

    constraints = [
        constraints.header.PluginName(plugin_path, main_file_name),
        constraints.header.Description(plugin_path, main_file_name),
        constraints.header.Version(plugin_path, main_file_name),
        constraints.file.MainFile(plugin_path, main_file_name),
    ]

    all_valid = all(constraint.validate() for constraint in constraints)

    if all_valid:
        print("Directory is a wordpress plugin by constraints.")
    else:
        print("Directory is not a wordpress plugin by constraints.")
```

## Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you find a bug or have a
suggestion.
cbrf-exchange-rates 0.0.1
Client for The Central Bank of the Russian Federation APIs
License: MIT
Requires Python: ~=3.12

## Python client for CBRF Rates API
cbrf_exchange_rates - это модуль для скачивания курсов валют с сайта cbr.ru (Центральный банк Российской Федерации)

Модуль использует открытое [API](https://cbr.ru/development/sxml/).

Лицензия MIT.

## Зависимости
* python==3.12
* requests==2.32.3

## Установка
```
pip install cbrf_exchange_rates
```

## Использование
```python
from cbrf_exchange_rates.service import CbrfRatesClient

cbrf_client = CbrfRatesClient()
cbrf_client.get_rates()
```

Результат:
```
[
    {
        'code': 'AUD',
        'id': '036',
        'name': 'Австралийский доллар',
        'rate': Decimal('58.9448')
     },
     {
         'code': 'AZN',
         'id': '944',
         'name': 'Азербайджанский манат',
         'rate': Decimal('52.2978')
     }
]
```
taskly 0.1.5
A CLI based todo app
License: MIT

# TASKLY : A Todos CLI Application

**taskly** is a command-line interface (CLI) based application for managing tasks across multiple databases. It allows users to create, manage, and organize tasks within different databases, providing flexibility and ease of use for personal task management needs.

## Features

- **Database Management**: Create, list, delete, and switch between task databases.
- **Task Operations**: Add, remove, update descriptions, mark as completed, and perform batch operations on tasks.
- **Interactive CLI**: User-friendly command-line interface using rich text formatting for enhanced user experience.
- **Customizable Settings**: Configure default database directory and main database name.

## Installation

For installation refer to this guide [Installation Guide](install.md).

## Usage

1. **Setup**: Edit `settings.py` in `~/.config/taskly/` to configure database directory and main database settings.
2. **Run Application**: Execute `taskly` command in your terminal to launch the Todos CLI application.
3. **Navigate Menu**: Use numeric options to navigate through various tasks and databases management features.

## Requirements

- Python 3.6+
- `rich` library for enhanced CLI formatting
- `pyfiglet` library for ASCII text art

## Contributing

Contributions are welcome! If you have ideas for new features, improvements, or find any issues, please submit them via issues or fork the repository and create a pull request.

1. Fork the repository [`https://github.com/talhaticx/taskly`](https://github.com/talhaticx/taskly)
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a pull request

## License

This project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details.

## Acknowledgements

- **Rich**: For enhancing the CLI interface with rich text formatting.
- **Pyfiglet**: For generating ASCII text art for the application name display.