semvec/pypi-packages huggingface dataset:
UPLID 0
Universal Prefixed Literal Ids, runtime/statically typed via pydanitc, designed for humans
License: MIT
Requires Python: >=3.9,<4.0

# UPLID - Universal Prefixed Literal Unique Ids

A pydantic compatible, human friendly prefixed id.

Uses literal string types to enforce typing at both runtime (via pydantic) and during static analysis.

UIDs underneath are KSUIDs allowing them to be sorted by time of creation while still being collision resistant.

String representations are encoded with base62 keeping them url safe and human friendly.

Python 3.9 or higher is required.

## Usage

### With Pydantic

```py
from lpid import LPID, factory
from pydantic import BaseModel, Field

UserId = LPID[Literal["usr]]
WorkspaceId = LPID[Literal["wrkspace"]]

class User(BaseModel):
  id: UserId = Field(default_factory=factory(UserId))
  workspace_id: WorkspaceId

user = User(workspace_id = LPID.generate("wrkspace))

user_json = user.model_dump_json()

restored_user = User.validate_json(user_json)
```

### Standalone

```py
from lpid import LPID

UserId = LPID[Literal["usr]]

user_id = LPID.generate("usr")
workspace_id = LPID.generate("wrkspace")

def foo(bar: UserId) -> None:
  pass

foo(bar=user_id) # good
foo(bar=workspace_id) # fails static check
```

## Inspirations

- https://dev.to/stripe/designing-apis-for-humans-object-ids-3o5a
- https://pypi.org/project/django-charid-field/
- https://pypi.org/project/django-prefix-id/
- https://sudhir.io/uuids-ulids
interesting 0.0.2
A corporate finance package focused on Brazilian Fixed Income titles.
License: MIT
Requires Python: >=3.12

# Interesting - Brazilian Fixed Income Titles

## Overview

The `interesting` Python package is a specialized toolkit for dealing with Brazilian fixed income titles. It provides functionalities to build, analyze, visualize, and valuate various types of fixed income instruments and portfolios made thereof.

There is a

## Features

- **Build**: Build cashflows from fixed income definitions.
- **Analytics**: Performing analytical calculations such as valuation (XXX one day also yield calculations, duration, convexity, etc).
- **Visualization**: Visualizing fixed income data through plots and charts.
- **Portfolio Management**: Tools for managing fixed income portfolios.
- **Risk Assessment**: Basic risk assessment (plot against FGC limit).

## Installation

This package in on PyPi, and hence you may install the `interesting` package via pip:

```bash
pip install interesting
```

# A few nice things
- `interesting` classes are powered by `pydantic` to guarantee proper input validation.
- `interesting` is kept neat using `ruff`.
- `interesting` is kept functional using `pytest` and `coverage`.
- `interesting` is managed using GitHub actions.
- `interesting` is kept safe using: XXX (to be developed).