semvec/pypi-packages huggingface dataset:
genu 0.1.4
A CLI tool to generate UUIDs of different versions.
License: MIT
Requires Python: >=3.9

# genu - UUID Generator

`genu` is a command-line tool for generating UUIDs of different versions.

## Installation

You can install `genu` from PyPI by running the following command:

```sh
pip install genu
```

If you want support for UUIDv7, you can install it with the `uuid7` option:

```sh
pip install genu[uuid7]
```

## Usage

To generate UUIDs, use the following command:

```sh
genu -u 4 -c 5
```

This will generate 5 UUIDs of version 4.

If you want to generate UUIDs of version 3 or 5, you must provide a namespace:

```sh
genu -u 3 --namespace example.com
```

If no options are specified, `genu` will generate a version 4 UUID by default:

```sh
genu
```

## Options

- `-u`, `--uuid-version`: Specifies the version of the UUID (1, 3, 4, 5, 7).
- `-c`, `--count`: Specifies the number of UUIDs to generate (default is 1).
- `--namespace`: Namespace URL for UUID version 3 or 5.
- `-v`, `--version`: Shows the version of the program.

## Contribute

If you want to contribute to this project, please fork the repository and submit a pull request.

## License

This project is licensed under the MIT License.
openrpc 10.5.0
Transport agnostic framework for developing OpenRPC servers.
License: MIT
Requires Python: <4.0,>=3.9

# Python OpenRPC

![](https://img.shields.io/badge/License-MIT-blue.svg)
![](https://img.shields.io/badge/code%20style-black-000000.svg)
![](https://img.shields.io/pypi/v/openrpc.svg)
![](https://img.shields.io/badge/coverage-100%25-success)

**Documentation**: https://python-openrpc.burkard.cloud

**Source Code**: https://gitlab.com/mburkard/openrpc

Python OpenRPC is a transport agnostic framework for quickly and easily
developing [OpenRPC](https://open-rpc.org/) servers in Python.

## Requirements

- Python 3.9+
- [Pydantic](https://docs.pydantic.dev/latest/) for data models.

## Installation

OpenRPC is on PyPI and can be installed with:

```shell
pip install openrpc
```

Or with [Poetry](https://python-poetry.org/)

```shell
poetry add openrpc
```

## Example

This is a minimal OpenRPC server hosted over HTTP and WebSockets
using [Tabella](https://gitlab.com/mburkard/tabella)
and [uvicorn](https://www.uvicorn.org/).

```python
from openrpc import RPCServer
import tabella

rpc = RPCServer(title="DemoServer", version="1.0.0")


@rpc.method()
async def add(a: int, b: int) -> int:
    return a + b


app = tabella.get_app(rpc)

if __name__ == "__main__":
    uvicorn.run(app, host="0.0.0.0", port=8080)
```

Example In

```json
{
  "id": 1,
  "method": "add",
  "params": {
    "a": 1,
    "b": 3
  },
  "jsonrpc": "2.0"
}
```

Example Result Out

```json
{
  "id": 1,
  "result": 4,
  "jsonrpc": "2.0"
}
```

## Template App

A [template app](https://gitlab.com/mburkard/openrpc-app-template) is available as an
example or to clone to bootstrap your RPC server.

## Support the Developer

<a href="https://www.buymeacoffee.com/mburkard" target="_blank">
  <img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me a Coffee"
       width="217"
       height="60"/>
</a>
PyMostActive 0.1.1
Retrieve the list of most active stocks from major financial websites.
License: MIT
Requires Python: >=3.12

# PyMostActive

Retrieve the list of most active stocks from major financial websites.

### Currently Supported:

#### Resources:

    class Resource(Enum):
        YAHOO = 'yahoo'
        TRADINGVIEW = 'tradingview'

#### Markets:

    class Market(Enum):
        US = "us"
        UK = "uk"
        CHINA = "china"
        HK = "hk"
        JAPAN = "japan"

#### Assets:

    class Asset(Enum):
        STOCKS = "stocks"
        ETFS = "etfs"
        CRYPTO = "crypto"

### Example:

    from pymostactive import MostActive

    most_active = MostActive()
    result = most_active.download(resource=Resource.YAHOO,
                                  market=Market.US,
                                  asset=Asset.STOCKS)
    if result is not None:
        print(result.head())
    else:
        print(f“download failed from Yahoo”)

Setting the parameter to None means that all options are included.

### Result:

|   | symbol | name                       | market | asset  |
|---|--------|----------------------------|--------|--------|
| 0 | OPEN   | Opendoor Technologies Inc. | us     | stocks |
| 1 | INTC   | Intel Corporation          | us     | stocks |
| 2 | WULF   | TeraWulf Inc.              | us     | stocks |
| 3 | NVDA   | NVIDIA Corporation         | us     | stocks |
| 4 | IQ     | iQIYI, Inc.                | us     | stocks |