semvec/pypi-packages huggingface dataset:
win-alias 1.0.4
A simple CLI tool to create Windows aliases.
Requires Python: >=3.11

# Win-Alias

Win-Alias is a simple CLI tool to create and manage Windows command aliases.

If you are tired of typing long commands or if you want to create custom command shortcuts, Win-Alias is for you.
If you've used Linux before, you might be familiar with the `alias` command. Win-Alias brings this functionality to Windows.

## Features

- Create custom command aliases
- List all created aliases
- Display usage instructions

## Installation

1. Install from pip
    ```sh
    pip install win-alias
    ```

## Usage

### Create an Alias

To create a new alias, run:
```sh
win_alias create-alias
```
```
>> Enter the alias name: ld 
>> Enter the command:
dir
EOF
```

- We can now use the alias `ld` to run the command `dir`.
- EOF is used to indicate the end of the command. It is not part of the command.


By default, the alias is saved in the user's home directory in a subdirectory called `aliases`. 
Each alias is saved in a separate batch file with the alias name as the filename.

**The very first time you create an alias, the `aliases` directory will need to be added to the system path. This is not needed for subsequent aliases.**

**The aliases will take effect after the system path is updated and the command prompt is restarted.**

### List All Aliases

To list all created aliases, run:
```sh
win_alias list-aliases
```

### Display Usage Instructions

To display usage instructions, run:
```sh
win_alias --help Or
win_alias guide
```
generatorepiva 1.0.3
Genera una PIVA italiana formalmente valida, in modo casuale.
Requires Python: >=3.7
Keywords: generatore piva, generatore partita iva, piva, partita iva, partite iva

# generatore-piva
Un semplice generatore di PIVA

Questo pacchetto permette di generare delle Partite IVA casuali ma formalmente valide.
L'obbiettivo di questo strumento è aiutare gli sviluppatori nel testing dei loro applicativi.

Non mi assumo alcuna responsabilià di un utilizzo improprio di questo strumento.

## Installazione

Puoi installare questo pacchetto dal [PyPI](https://pypi.org/project/generatorepiva/):

    python -m pip install generatorepiva

## Esempio d'uso
```
from generatorepiva import GeneratorePiva


def main():
    generatore_piva = GeneratorePiva()

    # Genera 100 PIVA
    for _ in range(100):
        piva = generatore_piva.genera()
        print(f'PIVA: {piva}')


if __name__ == '__main__':
    main()
```
haven-spc 2025.2.1
Tools and GUI for running the spectroscopy group beamlines at the Advanced Photon Source.
Requires Python: >=3.10
Keywords: synchrotron, xray, bluesky

# Haven

![Build Status](https://github.com/spc-group/haven/actions/workflows/ci.yml/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/haven-spc/badge/?version=latest)](https://haven-spc.readthedocs.io/en/latest/?badge=latest)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

Bluesky tools for beamlines managed by the spectroscopy group.

"Don't fly in anything with a Capissen 38 engine, they fall right out
of the sky."


## Installation

### Python Packing Index

Easiest way to install haven is using pip.

```
$ python -m pip install 'haven-spc'
```

### Development (Conda)

*haven* can also use *mamba* for dependency management, and
*setuptools* for installation and development.

First, download the package from github:

```bash
$ git clone https://github.com/spc-group/haven.git
$ cd haven
```

Then create the conda environment with mamba:

```bash
$ mamba env create -f environment.yml -n haven
```

lastly install the package, in developer mode:

```bash
$ conda activate haven
$ pip install -e ".[dev]"
```

## Usage

The easiest way to start **haven** is to use IPython's magic run command.

```
$ ipython
In [1]: %run -m haven.ipython_startup
```

This will load some common tools, and print some useful information
about how to use Haven.

## Running Tests

To run tests, run

```
$ pytest
```

# firefly

User-facing applications for controlling the beamlines managed by the
spectroscopy group. Be sure to include the [gui] extras if you plan
to use the GUI.

```
$ python -m pip install 'haven-spc[gui]'
$ firefly
```

# Versioning

Haven/Firefly uses calendar versioning, with short year and short
month for the MAJOR and MINOR versions, then a incremental MICRO
version. For example, version *2024.7.2* is the 3rd (*2*) release in
July (*7*) 2023 (*23*).

# Packaging

## Python Package Index (PyPI)

To deploy to PyPI:

```
$ python -m build
$ python -m twine check dist/*
$ python -m twine upload dist/*
dk-zonscrape 0.2.0
A package for scraping Amazon product details using ASIN
Requires Python: >=3.10

# Amazon Scraper

## Overview

The **Amazon Scraper** is a Python package that allows users to extract product details from Amazon product pages using web scraping techniques. It retrieves key information such as product title, pricing, specifications, ratings, and more.

## Installation

Ensure you have Python 3.7 or later installed.

1. Clone the repository:

   ```bash
   git clone https://github.com/dibkb/amazon-sku-scraper
   cd amazon-sku-scraper
   ```

## Usage

### Initializing the Scraper

Import the `AmazonScraper` class and initialize it with the ASIN (Amazon Standard Identification Number) of the product.

```python
from amazon_scraper import AmazonScraper

asin = "B08N5WRWNW"  # Example ASIN
scraper = AmazonScraper(asin)
```

### Fetching Product Details

#### Get Product Title

```python
product_title = scraper.get_product_title()
print(product_title)
```

#### Get MRP (Maximum Retail Price)

```python
mrp = scraper.get_mrp()
print(mrp)
```

#### Get Selling Price

```python
selling_price = scraper.get_selling_price()
print(selling_price)
```

#### Get Product Categories (Tags)

```python
tags = scraper.get_tags()
print(tags)
```

#### Get Technical Information

```python
technical_info = scraper.get_technical_info()
print(technical_info)
```

#### Get Additional Information

```python
additional_info = scraper.get_additional_info()
print(additional_info)
```

#### Get Product Details

```python
product_details = scraper.get_product_details()
print(product_details)
```

#### Get Ratings

```python
ratings = scraper.get_ratings()
print(ratings)
```

#### Get "About This Item" Section

```python
about = scraper.get_about()
print(about)
```

#### Get All Product Details in One Call

```python
all_details = scraper.get_all_details()
print(all_details)
```

### Save Page HTML as Text File

```python
scraper.page_html_to_text("amazon_product")
```

## Error Handling

If an error occurs during fetching, the functions return `None` or a dictionary containing an error message.

## Notes

- This scraper may not work if Amazon changes its page structure.
- Amazon's `robots.txt` file should be reviewed to ensure compliance with their policies.
- Frequent scraping may trigger Amazon's anti-bot mechanisms, so it's recommended to use proxies and rate-limiting.

## License

This project is licensed under the MIT License.

## Contributions

Pull requests and improvements are welcome! If you encounter any issues, feel free to open an issue in the repository.

## Contact

For questions or suggestions, contact [Your Name] at [Your Email].
beets-webm3u 0.6.5
Serve M3U playlists via HTTP

# beets-webm3u

A [beets](https://github.com/beetbox/beets) plugin to serve M3U playlists via HTTP.

## Features

* Allows to access M3U playlists (generated by the [smartplaylist plugin](https://beets.readthedocs.io/en/stable/plugins/smartplaylist.html)) via HTTP.
* Rewrites playlist item URIs to be accessible via HTTP, allowing to maintain a single set of playlists with local paths instead of having to generate each playlist with multiple URI formats (one per client/integration) upfront.

## Installation

```sh
python3 -m pip install beets-webm3u
```

## Configuration

Enable the plugin and add a `webm3u` section to your beets `config.yaml` as follows:
```yaml
plugins:
  - webm3u

webm3u:
  host: '127.0.0.1'
  port: 8339
  cors: ''
  cors_supports_credentials: false
  reverse_proxy: false
  include_paths: false
  # Can be omitted when smartplaylist plugin is configured:
  playlist_dir: /data/playlists
```

## Usage

Once the `webm3u` plugin is enabled within your beets configuration, you can run it as follows:
```sh
beet webm3u
```

You can browse the server at [`http://localhost:8339`](http://localhost:8339).

To serve multiple beets web APIs using a single process, you can use the [webrouter plugin](https://github.com/mgoltzsche/beets-webrouter).

### CLI

```
Usage: beet webm3u [options]

Options:
  -h, --help   show this help message and exit
  -d, --debug  debug mode
```

## Web API

The following endpoints allow listing and downloading playlist as well as audio files:

* `GET /playlists/index.m3u[?uri-format=$url]`: Returns the playlist of playlists.
* `GET /playlists/`: List available playlists.
* `GET /playlists/*.m3u[?uri-format=$url]`: Get/download a playlist.
* `GET /audio/`: List available audio files.
* `GET /audio/*.opus`: Download/stream an audio file.

The `uri-format` parameter allows specifying a playlist item URI template.
Item field names prefixed with a `$` can be used as placeholders, e.g. `beets:library:track;$id` or `subidy:song:3$id`.
`$url` is a built-in placeholder and the default value.

The list endpoints return either a JSON or HTML response, supporting content type negotiation.
A JSON response body looks as follows:
```json
{
	"directories": [{"name":"some-dir"}],
	"files": [{"name":"afrobeat", "path":"afrobeat.m3u"}],
}
```

## Development

The following assumes you have [docker](https://docs.docker.com/engine/install/) installed.

Run the unit tests (containerized):
```sh
make test
```

Run the e2e tests (containerized):
```sh
make test-e2e
```

To test your plugin changes manually, you can run a shell within a beets docker container as follows:
```sh
make beets-sh
```

A temporary beets library is written to `./data`.
It can be removed by calling `make clean-data`.

To just start the server, run:
```sh
make beets-webm3u
```