semvec/pypi-packages huggingface dataset:
paymongo-wrapper 1.1.1
A simple PayMongo API wrapper for Python.
Requires Python: >=3.6
Keywords: paymongo payments api wrapper

# PayMongo Service (Python)

A simple and lightweight Python wrapper for the [PayMongo API](https://developers.paymongo.com/) that allows developers to create payment intents, methods, and attach them using Python code.

## Features

- Create Payment Intents
- Create Payment Methods
- Attach a Payment Method to an Intent
- Supports both `card` and `gcash`
- Supports environment variable or direct secret key assignment

## Installation

Install via pip:

```bash
pip install paymongo-wrapper
```

## Setup

You can either:

### 1. Use environment variables (recommended):

Create a `.env` file:

```env
PAYMONGO_SECRET_KEY=sk_test_your_secret_key
PAYMONGO_PUBLIC_KEY=pk_test_your_public_key
PAYMONGO_RETURN_URL=http://127.0.0.1:8000/
```

Then load them using `python-dotenv`:

```python
from dotenv import load_dotenv
load_dotenv()
```

### 2. Declartion

```python
from paymongo_wrapper import PayMongoService

paymongo = PayMongoService(
    secret_key="sk_test_your_secret_key",
    return_url="http://127.0.0.1:8000/"
)

intent = paymongo.create_payment_intent(100.00)
```


### 3(Optional). Or directly modify the variables in `service.py`:

```python
PAYMONGO_SECRET_KEY = "sk_test_your_secret_key"
PAYMONGO_PUBLIC_KEY = "pk_test_your_public_key"
PAYMONGO_RETURN_URL = "http://127.0.0.1:8000/"
```

## Usage

```python
from paymongo_wrapper import PayMongoService

paymongo = PayMongoService()

# Step 1: Create a Payment Intent
intent = paymongo.create_payment_intent(amount=100)  # PHP 100.00
payment_intent_id = intent['data']['id']

# Step 2: Create a Payment Method
method = paymongo.create_payment_method(
    method_type="gcash",
    details={"phone": "09171234567"}
)
payment_method_id = method['data']['id']

# Step 3: Attach the Payment Method to the Intent
result = paymongo.attach_payment_intent(payment_intent_id, payment_method_id)
print(result)
```

## Exception Handling

The library raises custom exceptions:

- `PaymentIntentError`
- `PaymentMethodError`
- `AttachIntentError`

Wrap your logic in try-except blocks if needed.

## Contributing

Contributions are welcome. Please open an issue or pull request.

## License

This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.
eduval 1.0.2
Python library for evaluating student performance and conducting assessments
Keywords: academy, assessment, python, education, student performance

# StudentAssessment

**eduval** is a Python package designed to streamline the process of 
assessing and scoring students based on their performance across quizzes, 
assignments, exams, and other evaluation criteria.

## Features

- Add and manage student records
- Record scores for different assessment types
- Calculate weighted or average scores
- Generate report cards or summaries
- Export data to CSV or JSON
- Basic data validation and error handling

## Installation
You can install the package using pip:

```bash
pip install eduval
```
videoslice 0.1.2
A tool to slice YouTube videos into smaller segments
Requires Python: >=3.10
Keywords: ffmpeg, slicing, tool, video, youtube

# Videoslice

![PyPI - Version](https://img.shields.io/pypi/v/videoslice)
![PyPI - Downloads](https://img.shields.io/pypi/dm/videoslice)
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/mmsaki/videoslice)
![GitHub License](https://img.shields.io/github/license/mmsaki/videoslice)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/mmsaki/videoslice)
![X (formerly Twitter) Follow](https://img.shields.io/twitter/follow/msakiart)

Videoslice is a Python package that provides a simple way to slice videos into smaller segments based on specified time intervals. 


Use it to create clips from longer videos, making it easier to manage and share specific parts of your video content.

## Installation

You can install Videoslice using pip:

```bash
pip install videoslice
```

## Usage

Here's a basic example of how to use Videoslice:

>[!NOTE]
> Make sure you have `ffmpeg` installed on your system, as Videoslice relies on it for video processing.
> - [Download ffmpeg](https://ffmpeg.org/download.html)
> - [Download yt-dlp](https://github.com/yt-dlp/yt-dlp)

1. Download video from a YouTube URL + slice it:

```sh
videoslice --url https://youtu.be/sLaxGAL_Pl0 \
--start 00:00:10 \
--end 00:00:20 \
--input input_video.mp4 \
--output output_video.mp4 \
--log
```

2. Slice an existing video file:

```sh
videoslice --start 00:01:00 \
--end 00:01:30 \
--input existing_video.mp4 \
--output sliced_video.mp4 \
--log
```


## Command Line Options

You can view the command line options and their descriptions by running:

```sh
videoslice --help
```

<details>
<summary>Command Line Options</summary>

```text
usage: videoslice [-h] --start START --end END --input INPUT --output OUTPUT --url URL [--log]

Video slicing utility

options:
  -h, --help            show this help message and exit
  --start START, -s START
                        Start time in HH:MM:SS format
  --end END, -e END     End time in HH:MM:SS format
  --input INPUT, -i INPUT
                        Path to save the downloaded video file
  --output OUTPUT, -o OUTPUT
                        Path to save the sliced video
  --url URL, -u URL     URL of the video to download
  --log, -l             Enable logging of yt-dlp command and output
aerocae-robotics-controller 0.2.4
Python control interface for aerocae robotics
Requires Python: >=3.8

# Aerocae robotics controller

Python networking interface for aerocae robotics.

## Install & Upgrade

```
pip install --upgrade aerocae-robotics-controller
```

## Use

```
import arcpy

c = arcpy.Controller()
obj = c.get_object(...)
...
```
heroui-provider 0.1.5
Hero UI - Modern UI components for Reflex Web Framework
Requires Python: >=3.10

# HeroUI Provider

Modern UI components for the Reflex Python Web Framework.
> I will update the classNames props later.

## Features

- Modern UI components with a clean, consistent design
- Built specifically for Reflex web applications
- Customizable themes and styling
- TypeScript and Python type hints
- Framer Motion animations
- Tailwind CSS integration

## Installation

```bash
uv pip install heroui-provider
```

## Quick Start

```python
import reflex as rx
import heroui as hero

# Create a state
class State(rx.State):
    count: int = 0
    
    def increment(self):
        self.count += 1
        
    def decrement(self):
        self.count -= 1

# Build your UI
def index():
    return rx.container(
        hero.provider(
            rx.vstack(
                hero.avatar(
                    name="John Doe",
                    size="lg",
                    src="https://api.dicebear.com/9.x/glass/svg?seed=Kingston",
                ),
                rx.flex(
                    hero.button(
                        "Increment",
                        on_press=State.increment,
                        color="success"
                    ),
                    rx.text(State.count),
                    hero.button(
                        "Decrement",
                        on_press=State.decrement,
                        color="danger"
                    ),
                    align="center",
                    margin="auto",
                    gap="1rem",
                ),
            ),
        )
    )

# Create and run the app
app = rx.App()
app.add_page(index)
```

## Configuration

The HeroUI Provider comes with Tailwind configuration. In your `rxconfig.py` file:

```python
import reflex as rx

tailwindplugin: dict = {
    "name": "@heroui/theme",
    "import": {"name": "heroui", "from": "@heroui/theme"},
    "call": "heroui",
}

HeroUILinker: str = "./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}"

config = rx.Config(
    app_name="my_app",
    tailwind={
        "theme": {"extend": {}},
        "content": [HeroUILinker],
        "darkMode": "class",
        "plugins": [
            "@tailwindcss/typography",
            tailwindplugin,
        ],
    },
)
```

## Components

- `provider`: Main HeroUI provider component
- `avatar`: Profile image or initials display
- `button`: Clickable actions
- `card`: Content container with various states
- `checkbox`: Selection input
- `input`: Text input field
- `radio`: Radio button selection
- `textarea`: Multiline text input
- `alert`: Notification and message display
- More components available!

Check the [documentation](https://github.com/itsmeadarsh2008/heroui-provider) for complete component details.

## Contributing

Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

## License

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

## Acknowledgments

- [Reflex Web Framework](https://reflex.dev)
- Wrapper over [HeroUI](https://www.heroui.com)