semvec/pypi-packages huggingface dataset:
YouTubeWrapped 1.8
Analyze your YouTube watch history and get your Youtube Wrapped for the year!
Keywords: Youtube Wrapped, data-analysis, playwright, wrapped, youtube

# 🎁 YouTubeWrapped 🎁

**YouTubeWrapped** is a Python library that creates a personalized yearly recap of your YouTube watch history—just like Spotify Wrapped, but for YouTube!

## Setup and Usage 🛠️

### 1. Install YouTubeWrapped

To install **YouTubeWrapped**, run the following command in your terminal:

```bash
pip install YouTubeWrapped
```

This will install the library and all its dependencies.

### 2. Import and Use `getWrapped`

Once installed, you can easily retrieve your **YouTube Wrapped** data with the `getWrapped` function.

In your Python script, import the `getWrapped` function:

```python
from YouTubeWrapped import getWrapped
```

### 3. Get Your YouTube Wrapped Data

To retrieve your **YouTube Wrapped**, simply call the `getWrapped` function and include any account name you wish

```python
getWrapped("accountname")
```

### 4. Log In to Your YouTube Account

You will be prompted to log in to your YouTube account. Once logged in, the tool will automatically retrieve your **YouTube Wrapped** data and give you a wrapped image with your data.


## Work in Progress

**YouTubeWrapped** is still a work in progress, and more features are currently in development.
purehtml-fatihky 0.1.1
HTML data extraction library
Requires Python: >=3.8

# PureHTML

PureHTML is a parsing specification for extracting JSON from HTML.

- [Documentation](https://purescraps.github.io/purehtml/)

**Installation**:

To install **PureHTML**, you can use `pip` with following command:

```bash
  pip install purehtml
```

## Usage

```python
from purehtml import ConfigFactory, extract

yaml_string = """
selector: span
type: array
items: {}
"""
html_string = """
<div>
  <span>a</span>
  <span>b</span>
  <span>c</span>
</div>
"""
expected_output = "['a', 'b', 'c']"

config = ConfigFactory.from_yaml(yaml_string)

print(f"Extracted output : {extract(config, html_string, 'http://example.com')}")
print(f"Expected  output : {expected_output}")

```

## Development

For testing, we use test specifications defined in `<purehtml root>/specs`.
You may run `python3 run_tests.py` to check if the python implementation
is working correctly or has some incompatibilities.

#### Building

1. Install `build` pip with this command: `python3 -m pip install --upgrade build`
2. Execute `make clean build` to create a clean build output. The output will be placed in `dist/`

#### Publishing to Python Package Index

1. Install the `twine` package: `python3 -m pip install --upgrade twine`
2. Publish to pypi: `python3 -m twine upload dist/*` or with `make publish`

## License

[MIT](https://choosealicense.com/licenses/mit/)