Module opshin.std

OpShin provides a few features in its standard libary. You can import modules from there (i.e. the opshin.std.fractions module) with

from opshin.std.fractions import *
Expand source code
"""
OpShin provides a few features in its standard libary.
You can import modules from there (i.e. the `fractions` module) with

```python
from opshin.std.fractions import *
```
"""

Sub-modules

opshin.std.bitmap

The BitMap library provides tools to interact with a highly efficient datastructure that stores boolean values with minimal overhead (1 bit per bool)

opshin.std.builtins

A special libary that gives direct access to UPLC built-ins It is valid code and parts of it may be copied if not all built-ins are required by the user.

opshin.std.fractions

An implementation of fractions in opshin This does not maintain smallest possible notation invariants for the sake of efficiency - the user has full …

opshin.std.hashlib

A std library that imports all valid hash functions from the builtin python hashlib library: If you want to have all hash functions in scope, simply …

opshin.std.integrity

A special libary that gives access to a function that checks the integrity of PlutusDatum objects.

opshin.std.math

An implementation of some math operations in opshin