semvec/pypi-packages huggingface dataset:
enexlib 0.1.3
Convert Evernote backup files (.enex) to plaintext.
Requires Python: >=3.9
Keywords: evernote,enex

# enexlib
[![Test](https://github.com/whitgroves/enexlib/actions/workflows/run-tests.yml/badge.svg)](https://github.com/whitgroves/enexlib/actions/workflows/run-tests.yml)

A python3 module for converting Evernote backup files (.enex) to plaintext.

## Usage
```
pip install enexlib
```

```
import enexlib as nx

for title, note in nx.read_enex('<filename>.enex'):
	# do something

plain_text = nx.read_enex('<filename>.enex', text_only=True)
raw_content = nx.read_enex('<filename>.enex', raw_text=True)
all_combined = nx.read_enex('<filename>.enex', join_all=True)
```
python-minecraft-data 3.20.0
Provide easy access to minecraft data in python
Requires Python: >=3.8

python-minecraft-data
=====================

|pypi|_

Provide easy access to `minecraft-data <https://github.com/PrismarineJS/minecraft-data>`__ in python

Installation
------------
From PyPi:

``pip install minecraft_data``

From Repo:

``python -m pip install git+https://github.com/SpockBotMC/python-minecraft-data``

Usage
-----

See the `example.py <https://github.com/rom1504/python-minecraft-data/blob/master/example.py>`__


Documentation
-------------

- See `doc/api.md <https://github.com/rom1504/python-minecraft-data/blob/master/doc/api.md>`__
- See `doc/history.md <https://github.com/rom1504/python-minecraft-data/blob/master/doc/history.md>`__


.. |pypi| image:: https://img.shields.io/pypi/v/minecraft_data.svg
.. _pypi: https://pypi.python.org/pypi/minecraft_data
minecraft-data-standalone 3.21.0
Provide easy access to minecraft data in python
Requires Python: >=3.8

python-minecraft-data
=====================

|pypi|_

Provide easy access to `minecraft-data <https://github.com/PrismarineJS/minecraft-data>`__ in python

Installation
------------
From PyPi:

``pip install minecraft_data_standalone``

From Repo:

``python -m pip install git+https://github.com/EnzoPB/python-minecraft-data``

Usage
-----

- Clone `minecraft-data <https://github.com/PrismarineJS/minecraft-data>`__: ``git clone https://github.com/PrismarineJS/minecraft-data``
- See the `example.py <https://github.com/EnzoPB/python-minecraft-data/blob/master/example.py>`__


Documentation
-------------

- See `doc/api.md <https://github.com/EnzoPB/python-minecraft-data/blob/master/doc/api.md>`__
- See `doc/history.md <https://github.com/EnzoPB/python-minecraft-data/blob/master/doc/history.md>`__


.. |pypi| image:: https://img.shields.io/pypi/v/minecraft_data_standalone.svg
.. _pypi: https://pypi.python.org/pypi/minecraft_data_standalone
html-image-embedder 1.0.0
Converts images to base64 and embeds them in HTML files.
Requires Python: >=3.7

# html_image_embedder

A Python package that embeds images into HTML documents using data URIs.

## Installation

You can install html_image_embedder using pip:

```pip install html_image_embedder```

## Usage

To use html_image_embedder, you need to import the embed_images function from the package:

```python
from html_image_embedder import embed_images
```

The embed_images function takes two arguments: html and images. The html argument is a string containing the HTML code. The images argument is a dictionary mapping image URLs to image bytes. For example, you can use the requests library to get the image bytes from a URL:

```python
import requests

url = "https://example.com/image.png"
response = requests.get(url)
image_bytes = response.content
```

The embed_images function returns a modified HTML string with the image data embedded in the src attributes of the img tags. For example:

```python
html = "<html><body><img src='https://example.com/image.png'></body></html>"
images = {"https://example.com/image.png": image_bytes}
new_html = embed_images(html, images)
print(new_html)
# <html><body><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."></body></html>
```

## License

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