semvec/pypi-packages huggingface dataset:
smithwilson2 0.0.6
A package to extrapolate forward rates using the EIOPA Smith-Wilson method.
Requires Python: >=3.8

# This package ...
This package can be used to extrapolate forward rates, spot rates and other outputs using the method developed by EIOPA for the extrpolation of risk-free term structures. Mathematical details can be found here: https://www.eiopa.europa.eu/document/download/0ab82697-40a6-49ad-930f-211b649c1be9_en?filename=EIOPA-BoS-24-099-Report-on-the-Calculation-of-the-UFR-for-2025.pdf.
Using as input observed forward rates for the next 20 (or other value) years,
the code extrapolates these rates for a given timeframe, e.g., 80 years. The other necessary inputs are explained below.

# Code Origin
The entirety of this code was written by Kilian de Ridder.
The code reproduces the VBA code EIOPA provides for use in excel.

# Main function, inputs and outputs
The main function is:
extrapolate_with_sw(rates_obs, ufr, t2, Tau, extrapolation_target, nrofcoup, instrument, alfamin)

## Inputs
rates_obs: is a vector of observed liquid yields, e.g., for the next twenty years.
ufr (ultimate forward rate): the rate the extrapolation of forward rates should ultimately converge to
t2: the convergence maturity, that is, the point at which fitted forward rates should have converged to the ufr, where we specify how close this convergence needs to be.
Tau: The convergence tolerance in basis points. The fitted forward rates are constrained to be less or equal than Tau basis points away from the ufr at the convergence maturity.
extrapolation_target: the maturity until which our extrapolation should be executed.
nrofcoup: The number of coupons payments per year, if there are any. Put 1 (or anything else) for coupon-less instruments, the nrofcoup will be set to 1 by the code.
instrument: arguments are "Zero", "Bond", "Swap". "Zero" is for any instruments without coupon payments, for example, payments that have to be made at one point in time without prior interest payments. "Bond" and "Swap" for those instruments with coupon payments inbetween.
alfamin: The minimum convergence speed, should be set to 0.05 according to EIOPA.

## Outputs
The function returns a pandas DataFrame with 7 columns and (extrapolation_target + 1) rows. The columns are:
maturities
discount factor
spot intensity
spot rate
forward intensity
forward rate cc
forward rate ac
And thus reproduce the outputs the vba code in excel also produces.

# How to use the package
1. Install the package
2. Specify the above inputs, using alfamin = 0.05 and the current ufr published by EIOPA (e.g., 0.33).
3. Call the extrapolate_with_sw(rates_obs, ufr, t2, Tau, extrapolation_target, nrofcoup, instrument, alfamin) function, e.g.
output = (rates_obs, ufr, t2, Tau, extrapolation_target, nrofcoup, instrument, alfamin)
print(output)
This output can thne easily be written to a csv file.
labotools-nysg 0.0.1
Una colección de funciones útiles para los laboratorios de Física de la UBA FCEN
Requires Python: >=3.10

# Labo-Tools 

Una colección de funciones utiles para los laboratorios de Física de la UBA.

## Install

```sh
python -m pip install labotools-nysg
```

## Usage

```py
import labotools-nysg as ny
```

## Licensing
The code in this project is licensed under MIT license.
pore-c-py 2.1.5
Analyse Pore-C data.

# Pore_c_py
This package provides Python scripts for working with Pore-C data. It
is not intended to be used directly by end uses, but rather as part of
our Nextflow workflow [wf-pore-c](https://github.com/epi2me-labs/wf-pore-c).
Hence the terse nature of this documentation.

## Installation

A package is available to install through either `pip`:
```
pip install pore-c-py
```
or through conda:
```
conda install -c nanoporetech pore-c-py
```

## Usage

```
$ pore-c-py --help
usage: pore_c_py [OPTIONS] COMMAND [ARGS].

Available subcommands are:
    digest       Digest concatemer sequences into monomers using a restriction enzyme.      
    annotate     Annotate alignments with a "walk", which simply
                 enumerates the alignment coordinates of the monomers comprising the
                 concatemer.
```

### Example

The following is indicative use, similar to that performed by
[wf-pore-c](https://github.com/epi2me-labs/wf-pore-c).

```
INPUT="myreads.bam"
ENZYME="NlaIII"
REF="myref.fasta"
OUTPUT="all"

pore-c-py digest "${INPUT}" "${ENZYME}" \
    | samtools fastq -T '*' \
    | minimap2 -ay -t 8 -x map-ont "${REF}" - \
    | pore-c-py annotate - "${OUTPUT}" --monomers --stdout --summary --chromunity \
    | tee "${OUTPUT}.ns.bam" \
    | samtools sort --write-index -o "${OUTPUT}.cs.bam" -
samtools index "${OUTPUT}.ns.bam"
```

The `digest` program can read its input from standard input, so it can be used with
[bamindex](https://github.com/epi2me-labs/fastcat?tab=readme-ov-file#bamindex) in
order to process a subset of a file. This is particularly useful for
distributing the workload on a cluster.
pet-bit-melody 0.0.1
This is a music player/composer for 8, 16, 32 bit and piano cord music.

# pet_bit_melody

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pet_bit_melody)
![PyPI - Implementation](https://img.shields.io/pypi/implementation/pet_bit_melody)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/pet_bit_melody)
![PyPI - Version](https://img.shields.io/pypi/v/pet_bit_melody?label=pypi%20package:%20tty_ov)
![PyPI - Downloads](https://img.shields.io/pypi/dm/pet_bit_melody)
![PyPI - License](https://img.shields.io/pypi/l/pet_bit_melody)
![Execution status](https://github.com/Hanra-s-work/pet_bit_melody/actions/workflows/python-package.yml/badge.svg)
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/Hanra-s-work/pet_bit_melody/python-package.yml)
![GitHub repo size](https://img.shields.io/github/repo-size/Hanra-s-work/pet_bit_melody)
![GitHub Repo stars](https://img.shields.io/github/stars/Hanra-s-work/pet_bit_melody)
![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/Hanra-s-work/pet_bit_melody)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/Hanra-s-work/pet_bit_melody/main)

[![Static Badge](https://img.shields.io/badge/Buy_me_a_tea-Hanra-%235F7FFF?style=flat-square&logo=buymeacoffee&label=Buy%20me%20a%20coffee&labelColor=%235F7FFF&color=%23FFDD00&link=https%3A%2F%2Fwww.buymeacoffee.com%2Fhanra)](https://www.buymeacoffee.com/hanra)

 This is a music player/composer for 8, 16, 32 bit and piano cord music.
mac-formatter 0.4.0
A simple tool for formatting MAC addresses

mac-formatter
======
A simple package to convert MAC-addresses to different formats.
<br />
<hr>

## How to use in terminal(cli).

### positional arguments:

  mac_address: The MAC address to format

options:

  -h, --help: show this help message and exit
<br>
  -f, --format: {'colon','dot','dash','ddash','space','blank','binary','compact','eui64','bpf','reverse'}, The format to use. If not specified, all formats will be printed.<br>
    "The format to use. If not specified, all formats will be printed.<br><br>
    Available formats: <br>
      **colon**       : Colon-separated format, e.g., ab:12:cd:34:ef:56.<br>
      **dot**         : Dot notation, e.g., abcd.ef12.3456.<br>
      **dash**        : Hyphen-separated format, e.g., ab-12-cd-34-ef-56.<br>
      **ddash**       : Double-dash-separated format, e.g., ab12-cd34-ef56.<br>
      **space**       : Space-separated format, e.g., ab 12 cd 34 ef 56.<br>
      **blank**       : Continuous string with no delimiters, e.g., ab12cd34ef56.<br>
      **binary**      : Binary format, e.g., 10101011 00010010 11001101 00110100 11101111 01010110.<br>
      **compact**     : Base64 encoded format, e.g., qXLNTq9W.<br>
      **eui64**       : Cisco EUI-64 format, e.g., ab12.cd34.fffe.ef56.<br>
      **bpf**         : BPF format with each byte prefixed by '\\x', e.g., \\xab\\x12\\xcd\\x34\\xef\\x56.<br>
      **reverse**     : Reverse byte order, e.g., 56ef34cd12ab.<br>
      <br>
  -u, --uppercase: Prints the MAC address in uppercase.
  <br>
  -l, --lowercase: Prints the MAC address in lowercase.


Example usage:
`````bash
mac-formatter abcdef123456 -f dot
`````
output:
`````bash
abcd.ef12.3456
`````
There is also a shorter name `macf`:
`````bash
macf abcd.ef12.3456 -f colon -u
`````
output:
`````bash
AB:CD:EF:12:34:56
`````


## How to use in your code.

`````pycon
from mac_formatter import MacFormatter

mac_address = 'ab:cd:ef:12:34:56'
mac = MacFormatter(mac_address)

print(mac.dot)
print(mac.dash)
print(mac.ddash)
print(mac.space)
print(mac.colon)
print(mac.blank)
print(mac.binary)
print(mac.compact)
print(mac.eui64)
print(mac.bpf)
print(mac.reverse) 
`````
output:
`````bash
abcd.ef12.3456
ab-cd-ef-12-34-56
abcd-ef12-3456
ab cd ef 12 34 56
ab:cd:ef:12:34:56
abcdef123456
10101011 11001101 11101111 00010010 00110100 01010110
q83vEjRW
ab12.cd34.fffe.ef56
\xab\xcd\xef\x12\x34\x56
654321fedcba
`````
<hr>

<hr style="border-top: 3px solid rgba(255, 255, 255, 0.2);">
---

*thamuppet* <br>