semvec/pypi-packages huggingface dataset:
hg2-item-parser 0.7.2
Python package for parsing Houkai Gakuen 2 items data
Requires Python: <4.0,>=3.12

# **About**
hg2-item-parser is a Python package for parsing [Houkai Gakuen 2](https://houkai2nd.miraheze.org/wiki/Houkai_Gakuen_2_Wiki) items data.

## **Installation**
### **From PyPi**
```bash
pip install hg2-item-parser
```

## **Preparations**
To use this package, you will need a folder containing all item data, which can be downloaded and extracted using another package [hg2-data-extractor](https://github.com/xcvhmq33/hg2-data-extractor). It is recommended to use both packages in the same directory to avoid manually specifying folder paths, as they are designed to create and use directories with compatible names by default.

## **Commands Overview**

The CLI offers several commands for processing data. Below is a quick summary:

| Command        | Description                                                                 |
|----------------|-----------------------------------------------------------------------------|
| `check`        | Parses a single item by ID and prints to the console.                       |
| `parse`        | Parses a single item or a range of items by ID(s) and writes to a file.     |

---

## **Usage**
The CLI is invoked through a main entry point (e.g., `hg2-item-parser` or `python -m <module-name>`). Below are detailed examples for each command.

### **1. Check item**
Parses and displays details about a single in-game item by its ID.

```bash
hg2-item-parser check <item_id> --data-dir path/to/data/
```

| Option                | Description                                          | Default Value    |
|-----------------------|------------------------------------------------------|------------------|
| `<item_id>`           | The in-game ID of a single item to parse.            | `None`           |
| `--data-dir`, `-d`    | Path to the directory where data files are located.  | `extracted`      |

---

### **2. Parse item(s)**
Parses and writes a single item or a range of items by their in-game IDs to a file.

```bash
hg2-item-parser parse <item_id> --range from to
```

| Option            | Description                                                                                     | Default Value     |
|-------------------|-------------------------------------------------------------------------------------------------|-------------------|
| `<item_id>`       | The in-game ID of a single item to parse.                                                       | `None`            |
| `--range`, `-r`   | Specify a range of item IDs to parse. Provide two integers: the start and end IDs (inclusive).  | `None`            |

---

## **Examples**

### **1. Check item**
Display item with ID=200:

```bash
hg2-item-parser check 200 --data-dir extracted
```

### **2. Parse a single item**
Parse item with ID=200:

```bash
hg2-item-parser parse 200 --output items.txt --data-dir extracted
```

### **3. Parse a range of items**
Parse items with IDs from 1 to 200:

```bash
hg2-item-parser parse --range 1 200 --output items.txt --data-dir extracted
```
faker-wifi-essid 0.5.0
Faker provider for Wi-Fi ESSIDs.
Requires Python: <4,>=3.9
Keywords: faker, faker-library, faker-provider, faker-generator, wifi, essid

=================
Faker Wi-Fi ESSID
=================

|PyPI Package| |PyPI Downloads| |PyPI Python Versions| |Build Status|

`Faker <https://github.com/joke2k/faker/>`__ provider for Wi-Fi ESSIDs.

.. image:: docs/_static/img/faker_wifi_essid_demo.gif
   :target: https://asciinema.org/a/191287
   :alt: Faker Wi-Fi ESSID - Demo

Usage
=====

.. code-block:: python

   # Import Faker.
   from faker import Faker
   # Import the WifiESSID class from Faker Wi-Fi ESSID.
   from faker_wifi_essid import WifiESSID

   # Create an instance of Faker.
   fake = Faker()
   # Add Faker Wi-Fi ESSID to the Faker providers.
   fake.add_provider(WifiESSID)

   # Call 'wifi_essid()' to get a random fake Wi-Fi ESSID.
   fake.wifi_essid()

License
=======

This project is `MIT <https://opensource.org/license/MIT>`__ licensed.

.. |Build Status| image:: https://github.com/SkypLabs/faker-wifi-essid/actions/workflows/test_and_publish.yml/badge.svg?branch=develop
   :target: https://github.com/SkypLabs/faker-wifi-essid/actions/workflows/test_and_publish.yml?query=branch%3Adevelop
   :alt: Build Status

.. |PyPI Downloads| image:: https://img.shields.io/pypi/dm/faker-wifi-essid.svg?style=flat
   :target: https://pypi.org/project/faker-wifi-essid/
   :alt: PyPI Package Downloads Per Month

.. |PyPI Package| image:: https://img.shields.io/pypi/v/faker-wifi-essid.svg?style=flat
   :target: https://pypi.org/project/faker-wifi-essid/
   :alt: PyPI Package Latest Release

.. |PyPI Python Versions| image:: https://img.shields.io/pypi/pyversions/faker-wifi-essid.svg?logo=python&style=flat
   :target: https://pypi.org/project/faker-wifi-essid/
   :alt: PyPI Package Python Versions