semvec/pypi-packages huggingface dataset:
nahuatl-tools 0.0.2
A selection of open source tools for Nahuatl NLP.
Requires Python: >=3.8

`nahuatl_tools`: a selection of tools for Nahuatl NLP, designed to be fast, simple, and easy to use. It has no library dependencies other than those included in base Python. All code files have fully documented functions for ease of use. Download with `pip`: `pip install nahuatl_tools`.

For all features of `nahuatl_tools`, it is expected that the text be in an orthography designed for a one-to-one phoneme to grapheme conversion. For automatic orthography conversion, see `nahuatl_tools/orthography_converter.py`. The wordlists are also written with this orthography.

Features:
- Morphological segmentation (see `nahuatl_tools/parse.py`)
- Stemming (see `nahuatl_tools/parse.py`)
- Part-of-speech tagging (see `nahuatl_tools/pos_tagger.py`)
- Full text tokenization/morpheme segmentation pipeline, including optional orthography conversion (see `nahuatl_tools/tokenizer.py`)
- Wordlists and lists of stems (see `wordlists/`)
- Morpheme glosser (see `nahuatl_tools/gloss.py`)

For questions, suggestions, or anything else, email `nicocloutier1@gmail.com`.
serfilesreader 0.0.8
A library handling SER files
Requires Python: >=3.8

# pyserfilesreader

pyserfilesreader is a library helping you to use SER video files.

SER video files are used in astronomy to provide uncompressed container with header informations

CAUTION : don't read -yet- color (RGB) ser files.

## dependencies
LIBRARY :
- numpy
- cv2

pip3 install numpy cv2

GUI : 
- pysimplegui-qt
- cv2
- numpy

pip3 install PySimpleGUIQt

## capabilities
reading a ser file
saving as png
saving as fit (another astronomical use file format)

## inside the loop
all datas are numpy array

# methods
    .read() :           return a numpy frame and go to the next frame
    .getHeader() :      return SER file header in a dictionnary
    .readFrameAtPos(n:int) : return frame number n.
    .getLength() :      return number of frame in SER file.
    .getWidth() :       return width of a frame
    .getHeight() :      return height of a frame
    .getCurrentPosition():       return current cursor value
    .setCurrentPosition(n:int) : set the cursor at position n. Return position if OK, -1 if something's wrong.
    .saveFit(filename) : save as FIT file filename frame at "cursor". Return (OK_Flag, filename)
    .savePng(filename) : save as PNG file filename frame at "cursor". Return (OK_Flag, filename)
    .nextFrame() :        add 1 to cursor i.e. go to next frame. Return current cursor value. -1 if the end of th video.
    .previousFrame() :  remove 1 to cursor i.e. go to previous frame. Return current cursor value. -1 if it's from first frame..
    .getName()          return name of SER file.
batch-options-price 0.11.0
Batch Black-Scholes pricing European options on stocks without dividends


# batch_options_price

Installation
-------------

pip install batch-options-price 

Documentation
-------------
BSB - Black-Scholes Used for pricing European options on stocks without dividends

BSB.option_price_batch(volatility, daysToExpiration, underlyingPrice, strikePrice, interestRate, side)

eg: 
prices = BSB.option_price_batch(pd.Series([0.31, 0.29]), pd.Series([125, 26]), pd.Series([25, 26]), pd.Series([25, 26]), 4, 'C')

Returns the put-call price series 

Contributions:
--------------
Please send suggestions, critics,
github-wiki-page-index 0.1.4
Creates an index based on tags for GitHub Wiki pages.
Requires Python: >=3.8

# GitHub Wiki Page Index

This package will generate a page index for your GitHub Wiki, and
optionally insert it into the Home.md file. It can also be set up as 
a GitHub Action to auto-update the Home.md file when the wiki is 
edited.

## Usage

To start, clone your GitHub repo's wiki to your local file system:
```
  git clone https://github.com/paulsuh/<reponame>.wiki.git
```

There are then two modes of running the code: 

1) Generate the Page Index and print it to stdout. You can then paste 
   this into your Home.md file. 
    ```
    python generate_wiki_page_index.py <path to cloned wiki>
    ```

2) Have the Page Index automatically inserted into your Home.md file.

    ```
    python generate_wiki_page_index.py --insert <path to cloned wiki>
    ```

   The first time the index is automatically inserted into the Home.md
   file it will be added to the very beginning of the file. The top and
   bottom of the inserted Page Index will be marked by a pair of HTML
   comments. Any subsequent runs to update the Page Index will preserve
   any text above or below the index.

## Tagging

You can place a line of text containing tags in each page. The 
script will scan for the first line that starts with "Tags:" and use 
that to list the page in a section. Only one line is used, so it is 
most efficient if the tags are put on the first line of the page. 

Tags are snake case and case-sensitive. `Tag_one` and `Tag_One` are 
considered to be two different tags. When the headings are rendered, 
underscores are turned into spaces. A page can have any number of 
tags. 

Tags can be hierarchical, with segments separated by a hyphen ('-'). 
For example, `Tag_Level_One-Level_Two-Subtag_Level_Three` will produce 
a structure that looks like:  

>## Tag Level One
>### Level Two
>#### Subtag Level Three
> Title of the Page

The first part of the page index will the pages that have no tags, 
listed in alphabetical order. Then, each tag will have a section 
listing the pages that have that tag, and then subheadings for pages 
that are tagged with hierarchical tags. 

## Automated Deployment

TBA

<!--
    COMMENTED OUT FOR NOW AS NOT READY YET BUT DON'T WANT TO LOSE
    THE INFO

There are two suggested ways to deploy githubwikipageindex: 

1. GitHub Action
2. Webhook

To use this as a GitHub Action, use the GitHub_Action.yaml file as 
your action metadata. 

Use the Docker image and supply the following four environment 
variables: 
* REPO_NAME: formatted as <username>/<reponame>. The 
  https://github.com/ prefix and the .wiki suffix will be added 
  automatically. 
* AUTH_TOKEN: authentication token to allow content to be pushed. 
  Generate this in GitHub. 
* USERNAME: does not need to be a real user, just needed for 
  commit messages. 
* USER_EMAIL: does not need to be a real email address, just needed for 
    commit messages.

The Docker image will automatically clone the wiki, insert the page 
index, commit, and push the wiki back up to GitHub. This is intended 
to be used as a GitHub Action, but it is not quite ready for that yet. 

-->