semvec/pypi-packages huggingface dataset:
One-Password-Utility 0.1.4
1Password_Utility is a Python package providing utility functions for interacting with 1Password via the command-line interface (CLI). It simplifies the process of retrieving credentials from 1Password vaults within your Python scripts, making it easier to automate tasks and securely manage sensitive information.
Requires Python: >=3.6

# 1Password_Utility 🚀

A collection of utility functions for interacting with 1Password via the command-line interface (CLI).

## Features ✨

- Retrieve credentials (username and password) from 1Password vaults securely within your Python scripts. 🔒
- Simplifies the process of automating tasks and managing sensitive information. 🤖

## Prerequisites 📋

- **1Password:** You need to have 1Password installed and set up on your system. 
- **1Password CLI (`op`):**  Install the 1Password CLI by following the instructions on the [1Password Developer website](https://developer.1password.com/docs/cli/get-started). 🛠️

## Installation 📥

```bash
pip install 1Password-Utility
```
## Usage

```python
onepassword = __import__('1Password-Utility')

# Retrieve credentials from a 1Password item
item_uuid = "your_item_uuid"  # Replace with the actual UUID of your 1Password item
username, password = onepassword_utils.get_credentials_from_1password(item_uuid)

if username and password:
    print(f"Username: {username}")
    print(f"Password: {password}")
    # ... Use the credentials in your script 🎉
else:
    print("Failed to retrieve credentials.") 😕
```
## Important:⚠️

Make sure you have the 1Password CLI (op) installed and configured correctly before using this package.
Handle the retrieved credentials securely within your scripts. Avoid printing them to the console or storing them in plain text. 🛡️

## Contributing 🤝
Contributions are welcome! Please feel free to submit pull requests or open issues if you find any bugs or have suggestions for improvements. 

## License 📄
This project is licensed under the MIT License - see the LICENSE file for details.   


**Key points:**

- **Clear sections:** The README is organized into clear sections with headings to make it easy to navigate.
- **Prerequisites:** The prerequisites section explicitly mentions the need for 1Password and the 1Password CLI.
- **Installation:** Provides the `pip install` command for easy installation.
- **Usage:** Includes a concise code example demonstrating how to use the `get_credentials_from_1password` function.
- **Important notes:** Highlights important considerations for security and setup.
- **Contributing and License:** Encourages contributions and specifies the license under which the project is released.

Remember to replace placeholders like `your_item_uuid` and `your-username` with your actual values. 

You can further enhance the README by adding more detailed explanations, additional usage examples, or information about any other functions you might include in your `onepassword_utils` package in the future. 

Let me know if you have any other questions or need help with further refinements!
signup-genius 0.0.10
A package to parse sign up genius form responses
Requires Python: >=3.9

## signup-genius

A library for parsing signup-genius responses from the signup html, as a free alternative to a paid Signup Genius subscription.

### Install

```sh
pip install signup-genius

```

### Usage

```python
from signup_genius import get_signups

signups = get_signups('https://www.signup-genius.com/go/xyz...')

```

The signup objects returned will vary depending on the type of signup genius encountered.

For example for a simple yes/no response with adult / child counts the signup will look like:

```python
class Signup:
    name: str
    response: str
    comments: str = ''
    adult_count: int = 0
    child_count: int = 0

```

Whereas for a signup-genius with Date / Location / Time and multiple slots with capacities, it will look like:

```python
class Signup:
    name: str
    comments: str = ''
    count: int = 0
    slot: Slot

# where the embedded slot object is:

class Slot:
    date: str
    location: str
    time: str
    name: str
    comments: str = ""
    capacity: int = 1
    filled: int = 0
```

### Name Mapping

Often times it is useful to coerce the signup names returned to a known set of names, e.g. a club or organization whose menbers are known but where there may be variations in how those names are entered in the signup genius ... Jeff vs. Jeffrey, amy vs Amy, etc.

2 Options are supported:

#### An explicit mapping from what is entered to the final representation

```python

mapping = {'Jeff Adams': 'Jeffrey Adams'}
signups = get_signups(url, name_mapping=mapping)

```

Where a signup is updated, an *_original_name* attribute will be added to the object allowing you to detect after the fact which signups have been updated

#### Fuzzy matching against a population of names

You can supply a population of known names, and any names not matching this population will be mapped to the closest match (using Levenshtein distance).

```python
known_names = ['Jeffrey Adams', 'John Doe', Amy Malone']
signups = get_signups(url, match_names=known_names)

```

Again the signups that are updated will be annotated with an *_original_name* attribute.


### Signup Genius Variants supported

So far the following variants are supported:

* Yes / No / Maybe responses with guest count
* Yes / No / Maybe responses with adult, child counts
* Date / Time / Slot signups
* Date / Location / Time / Slot signups

The call to get_signups will first inspect the signup genius to interpret the variant, and use the appropriate parser.  If the variant is not known then a *UnsupportedVariant* exception will be raised