semvec/pypi-packages huggingface dataset:
graniteloom 0.2.0
Auth Token based easy repo cloning
Requires Python: >=3.7


# **granite.**
Granite is our tool to handle working from foreign devices. It uses [Github Access Tokens](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) to clone, commit and push to your repositories.

## Install ✅
Use the `pip install` command:
```bash
python -m pip install --upgrade graniteloom
```
Install the test version:
```bash
python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple --upgrade graniteloom
```
Once the install is complete, check if it worked:
```bash
python -m garniteloom help
```

## How to use?
> The granite CLI uses an eccentric naming system for arguments and argument types:
> - #### **Normals:**
>   ```bash
>   <cmd> <arg1> <arg2> ... <argn>
>   ```
>   Normal args don't have a special syntax, it's just the command.
> - #### **Modifiers:**
>   ```bash
>   <cmd> -modifier <modifier-value> -modifier2 "a modifier accepts strings"
>   ```
>   The modifiers take a value which can be a single word or a string.
> - #### **Tags:**
>   ```bash
>   <cmd> --tag
>   ```
>   Tags modify the command line experience, but they don't take values.

### Show the help menu 📜
The help menu has explanations for all available commands.
```bash
python -m garniteloom help
```

### Clone a repository 📦
If the `-r` and/or `-t` modifiers are not provided, the CLI will prompt you to specify the repository url and the access token.
```bash
python -m garniteloom clone
```

### Workspace ⚗️
The workspace category contains commands which are helpful when managing previously cloned repositories.

1. #### The **`login` / `join`** command:
    You can log into a workspace, this means adding the remote origin by providing the access token and the repository's url. <br>
    If the `-r` and/or `-t` modifiers are not provided, the CLI will prompt you to specify the repository url and the access token.
    ```bash
    python -m garniteloom workspace join
    ```

2. #### The **`logout` / `quit`** command:
    You can logout from a workspace, this removes the remote origin, so you will be able to commit until you sign in again. <br>
    If the `-r` and/or `-t` modifiers are not provided, the CLI will prompt you to specify the repository url and the access token.
    ```bash
    python -m garniteloom workspace quit
    ```

### Modifiers 🛠️
The modifiers used to make managing repositories a bit easier.

1. #### **`-r`** - repository
    The `-r` modifier is used to provide the repository's url.
    > If used alone, without `-t` the CLI will still prompt you for the access token.
    ```bash
    python -m garniteloom clone -r https://github.com/example/repository
    ```

2. #### **`-t`** - token
    The `-t` modifier is used to provide the personal access token.
    > If used alone, without `-r` the CLI will still prompt you for the repository's url.
    ```bash
    python -m garniteloom clone -t <token>
    ```
rsc-py 0.1.0
A library for controlling PowerPoint via Remote Show Control using Python
Requires Python: >=3.6

# RSCPy: PowerPoint Remote Show Control Library

`RSCPy` is a Python library designed to remotely control PowerPoint presentations using the Remote Show Control add-in. This library enables the sending of commands to control PowerPoint presentations over network connections using both UDP and TCP protocols.

## Features

- Open and close PowerPoint presentations
- Start and stop presentations
- Navigate through slides (next, previous, go to specific slide)
- Set the desktop background to the current slide (experimental feature)
- Find PowerPoint files within a specified directory

## Installation

To install `RSCPy`, simply use pip:

```pip install rsc_py```

## Requirements

- Python 3.6 or higher
- PowerPoint with the [Remote Show Control](https://www.irisdown.co.uk/rsc.html) add-in installed

## Usage

Here's a quick start to control PowerPoint presentations:

```python
from rsc_py import RSCPy
import time

# Initialize the controller with the IP address of the PowerPoint PC
controller = RSCPy('192.168.1.1', protocol='TCP')

# Open a presentation
controller.open_presentation('path/to/presentation.pptx')

# Start the presentation and wait
controller.run_presentation()
time.sleep(3)

# Go to the next slide and wait
controller.next_slide()
time.sleep(3)

# Close the presentation
controller.close_presentation('path/to/presentation.pptx')
```

## Supported Commands
- ```open_presentation(filename)```: Opens a specified presentation.
- ```close_presentation(filename=None)```: Closes the specified or all presentations.
- ```run_presentation(filename=None)```: Starts the presentation.
- ```run_current()```: Starts the presentation from the current slide.
- ```stop_presentation(filename=None)```: Stops the presentation.
- ```prev_slide()```: Moves to the previous slide.
- ```next_slide()```: Moves to the next slide.
- ```go_to_slide(slide)```: Moves to a specified slide.
- ```set_background()```: Sets the desktop background to the current slide (will not work on Automatic in PPT 2013+).
- ```find_files(path)```: Finds PowerPoint files in the specified path.

## Contributing
Contributions to RSCPy are welcome! Feel free to fork the repository, make your changes, and submit a pull request.

## License
This project is licensed under the MIT License - see the `LICENSE` file for details.
sslcommerz-python-package 0.0.8
Implements SSLCOMMERZ payment gateway in python based web apps.
Requires Python: >=3.6

# SSLCOMMERZ Payment Gateway implementation in Python
Provides a python module to implement payment gateway in python based web apps.

## Installation
Via PIP
```bash
pip install sslcommerz-python-package
```
## Projected use
```python
from sslcommerz_python.payment import SSLCSession
from decimal import Decimal

mypayment = SSLCSession(sslc_is_sandbox=True, sslc_store_id='your_sslc_store_id', sslc_store_pass='your_sslc_store_passcode')

mypayment.set_urls(success_url='example.com/success', fail_url='example.com/failed', cancel_url='example.com/cancel', ipn_url='example.com/payment_notification')

mypayment.set_product_integration(total_amount=Decimal('20.20'), tran_id='123', currency='BDT', product_category='clothing', product_name='demo-product', num_of_item=2, shipping_method='YES', product_profile='None')

mypayment.set_customer_info(name='John Doe', email='johndoe@email.com', address1='demo address', address2='demo address 2', city='Dhaka', postcode='1207', country='Bangladesh', phone='01711111111')

mypayment.set_shipping_info(shipping_to='demo customer', address='demo address', city='Dhaka', postcode='1209', country='Bangladesh')

response_data = mypayment.init_payment()
```

## Response parameters
### When Successfull with Auth and Payloads provided
> status

> sessionkey

> GatewayPageURL

#### Example
```python
>>> response_data['status']
SUCCESS
>>> response_data['sessionkey']
F650E87F23DD2A8FFCB4E4E333C13B28
>>> response_data['GatewayPageURL']
https://sandbox.sslcommerz.com/EasyCheckOut/testcdef650e87f23dd2a8ffcb4234fasf3b28
```

### When Failed
> status

> failedreason

#### Example
```python
>>> response_data['status']
FAILED
>>> response_data['failedreason']
'Store Credential Error Or Store is De-active'
```