semvec/pypi-packages huggingface dataset:
evfl 1.2.0
Library for parsing and writing Breath of the Wild Event Flow files
Requires Python: >=3.6

# Library for parsing and writing Nintendo EventFlow binary files

`evfl` is able to parse and rewrite every single event flow found in
*Breath of the Wild*, both flowcharts (bfevfl) and timelines (bfevtm).

## Usage

```python
import evfl

flow = evfl.EventFlow()
with open('Animal_Master.bfevfl', 'rb') as file:
    flow.read(file.read())

flowchart = flow.flowchart
# Real documentation is nonexistent at the moment. I'm sorry.

with open('Animal_Master_Modified.bfevfl', 'wb') as modified_file:
    flow.write(modified_file)
```

## Tests

Unit and integration tests can be executed by running `python3 -m unittest discover`.

## License

This software is licensed under the terms of the GNU General Public License, version 2 or later.
django-healthy 0.0.1a5
Simple health checking for django applications
Requires Python: >=3.8
Keywords: django

# django-healthy

[![PyPI - Version](https://img.shields.io/pypi/v/django-healthy.svg)](https://pypi.org/project/django-healthy)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-healthy.svg)](https://pypi.org/project/django-healthy)

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install django-healthy
```

## License

`django-healthy` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
sarc 2.0.5
Nintendo SARC archive reader and writer
Requires Python: >=3.6

## Nintendo SARC archive reader and writer

### Setup

Install Python 3.6+ (**64 bit version**) then run `pip install sarc`.

### List files in an archive

    sarc list ARCHIVE

### Extract an archive

    sarc extract ARCHIVE

### Create an archive

    sarc create [--be] FILES_TO_ADD  DEST_SARC

You can give it directories too, in which case the entire directory will be added to the archive
recursively.

Pass `--be` (shorthand: `-b`) if you want `sarc` to use big endian mode (for the Wii U).

An important option is `--base-path`. This option lets you remove parts of the path.
For example, if you pass a path like `Mods/BotW/System/Version.txt`, you will likely want to pass
`--base-path Mods/BotW` to get rid of the leading components.

If only a single directory is passed, the base path is set for you automatically.

So typical usage example:

    sarc create  ~/botw/Bootup/  ~/botw/ModifiedBootup.pack

### Update an archive

    sarc update  FILES_TO_ADD  SARC_TO_MODIFY

This is almost identical to `create`.

By default, `sarc` will keep the endianness of the original archive. You can override this
with `--endian {le,be}` (le for little and be for big endian).

### Delete files from an archive

    sarc delete  FILES_TO_DELETE  SARC_TO_MODIFY

Nothing much to say here. Just keep in mind FILES_TO_DELETE takes archive paths
(those that are printed by `list`).

### Library usage

```python
import sarc

archive = sarc.read_file_and_make_sarc(file)
# or if you already have a buffer
archive = sarc.SARC(archive_bytes)
if archive:
    for file_name in archive.list_files():
        size = archive.get_file_size(file_name)
        data = archive.get_file_data(file_name)

```

To modify an archive:

```python
import sarc

writer = sarc.make_writer_from_sarc(archive)
# or if you're reading from a file
writer = sarc.read_sarc_and_make_writer(file)
# or for a blank archive
writer = sarc.SARCWriter(be=big_endian)

writer.add_file('test.bfevfl', b'file contents')
writer.add_file('another_file.txt', b'file contents')
writer.add_file('test.bfevfl', b'replacing a file')

writer.delete_file('another_file.txt')

writer.write(output_stream)
```

For more information, please look at [sarc.py](sarc/sarc.py).

### License

This software is licensed under the terms of the GNU General Public License, version 2 or later.
ehte 1.0.2
The Python package ehte is designed to assess the heterogeneity of treatment effects between study arms.
Requires Python: >=3.8

# ehte
updated - 2024-06-19

The Python package `ehte` is designed to assess the heterogeneity of treatment effects between study arms. To evaluate the presence and quantify the degree of treatment response variability, it calculates the variance in the differences in cumulative responses between the placebo and active treatment arms across various percentiles. It tests null hypotheses ($H_0$): suggesting homogeneity in treatment effect.  An alternative hypothesis indicating heterogeneity in treatment effect.

eHTE_Estimator estimates the standard deviation of individual treatment effects (ITE) in two ways. 1. Uses actual patient data to determine percentiles. 2. It calculates percentiles at intervals from 3 to 97 by 2 (a total of 48 percentiles).

See [tutorial](https://htmlpreview.github.io/?https://github.com/stomioka/ehte/blob/main/tutorial.html).

See our paper 

[Siegel JS](https://scholar.google.com/citations?hl=en&user=DrHXk5wAAAAJ), Zhong J, [Tomioka S](https://scholar.google.com/citations?user=830xBqsAAAAJ), Ogirala A, Faraone SV, Szabo ST, Koblan KS, [Hopkins SC.](https://scholar.google.com/citations?hl=en&user=oBdcDJ0AAAAJ) Estimating heterogeneity of treatment effect in psychiatric clinical trials. medRxiv [Preprint]. 2024 Apr 23:2024.04.23.24306211. doi: 10.1101/2024.04.23.24306211. PMID: 38712180; PMCID: PMC11071592.
globy-core 0.0.14
Globy Core
Requires Python: >=3.9

# Globy Core

### Building the package
```bash
python3 -m build .
```

### Publishing the package to Globy artifactory ("globy-dev")
```bash
python3 -m twine upload -r globy-dev dist/*
```

### Updating the Globy core package in your python environment
```bash
pip install --upgrade globy-core --index-url http://localhost:8080
```

### Upgrading locally
```bash
pip install globy_core-0.0.6-py3-none-any.whl  --upgrade
```
mathegenius 1.0.0
A Python module for performing specific mathematical operations
Requires Python: >=3.7

# mathegenius

`mathegenius` is a Python module designed to provide various mathematical utilities, including perfect square checks, power calculations, tetration, and operations related to natural numbers such as prime checking, divisors, and factorization.

## Features

- **Check Perfect Square**: Determine if a number is a perfect square.
- **Square a Number**: Calculate the square of a number.
- **Tetration**: Perform tetration operations.
- **Natural Number Operations**: Work with natural numbers to find divisors, prime factors, and perform other related calculations.

## Installation

To install the `mathegenius` module, use `pip`:

```bash
pip install mathegenius
byml 2.4.5.post1
A simple Nintendo BYML or BYAML v2/v3 parser and writer
Requires Python: >=3.6

## Simple bymlv2 parser + writer + converters

Features:

* **Supports v2, v3 and v4 files.** These versions are respectively used by
*The Legend of Zelda: Breath of the Wild* and *Super Mario Odyssey*.
* **Supports 64-bit node types** which are used in *Super Mario Odyssey*.
* **Supports both endianness**. The little-endian format is used on the Switch.
* **Cross platform**.
* **Easy to edit and readable output**. No ugly XML. Unobtrusive type information.

### Quick usage

Install Python 3.6+, then run `pip install byml`.

The C module for PyYAML is currently a **hard dependency**. If you are on Windows, you don't have to do anything special. If you are on Linux or on macOS, you will need to install libyaml.

### BYML to YAML

```shell
byml_to_yml  PATH_TO_BYML    PATH_TO_YAML
```

**If the byml is compressed, this tool will automatically decompress them.**

To reuse the input file name and only change the extension, use `!!.NEW_EXTENSION` as the second argument.

Example: to convert to YAML in the same directory as the BYML, use `byml_to_yml path_to_botw/Actor/ActorInfo.product.sbyml !!.yml`

### YAML to BYML

```shell
yml_to_byml  PATH_TO_YAML    PATH_TO_BYML
```

**Add `-b` at the end if big endian should be used. For the Wii U version of Breath of the Wild,
you must pass that flag.**

To reuse the input file name and only change the extension, use `!!.NEW_EXTENSION` as the second argument.

If the target file extension starts with `.s`, the tool will **automatically compress**
the BYML using yaz0.

### Note about YAML integers/floats

* `!u` before an integer indicates that the value is unsigned. **In general, you should keep
the signedness unchanged.**

* `!l` is for signed 64 bit values. (Not used in BotW.)
* `!ul` is for unsigned 64 bit values. (Not used in BotW.)
* `!f64` is for binary64 floating point values. (Not used in BotW.)

### Advanced usage

By default, if the destination argument is not specified, output will be sent to stdout,
which is handy for looking at bymls without creating temporary files.

### Library usage

```python
import byml

parser = byml.Byml(raw_bytes)
document = parser.parse()

writer = byml.Writer(document, be=big_endian_mode, version=byml_version)
writer.write(writable_seekable_stream)
```

### License

This software is licensed under the terms of the GNU General Public License, version 2 or later.
pyLSPAPI 1.0.4
Python API for Leitstellenspiel
Requires Python: >=3.6
Keywords: Leitstellenspiel, API, LSPAPI, LSS, API

# LSPAPI
Eine simple API um Daten aus [Leitstellenspiel](https://www.leitstellenspiel.de/) zu erhalten.

## Basic usage
```python
from pyLSPAPI import LSPAPI

user = ""  # LSP username
password = ""  # LSP password

key_file = "keyfile.key"  # The file where cookies are saved (for fater second login)
key_file_password = "supersecretpassword"  # encryption password for keyfile

lsp_api = LSPAPI(user, password, key_file, key_file_password)
lsp_api.start()
try:
    # All functions
    print(lsp_api.vehicle_states())
    print(lsp_api.user_stats())
    print(lsp_api.vehicles())
    print(lsp_api.buildings())

finally:
    lsp_api.stop()

```

## Installation

Using pip:
`pip install pyLSPAPI`


## List of Functions

### vehicle_states()
Returns how many vehicles are in what state.

---
### user_stats()
Returns information about the player.

---
### vehicles()
Returns the vehicles of the player.

---
### buildings()
Returns the buildings of the player.



> [!IMPORTANT]
> # DISCLAIMER
> I (the creator of this software) am NOT responsible for any damages done by this program. 


> [!TIP]
> If you are an Administrator of Leitstellenspiel and want this repo removed, please submit an issue containing the reason and a link to a Leitstellenspiel Forum post to verify that you are an Administrator. After that The repo will be taken down :)
gage-summary 0.1.1
Light weight utility to support Gage summaries
Requires Python: >=3.10

# Gage Summary Support

`gage-summary` is a very lightweight utility to support
[Gage](https://github.com/gageml/gage) summaries. It has no install
time dependencies. If it requires a library, the requirement is tested
only as needed (e.g. `display_summary` is specific to Jupyter
notebooks and requires the `IPython` package).

Install the package:

```shell
pip install gage-summary
```

Write Gage summary from a Python script:

```python
from gage_summary import write_summary

write_summary(
  metrics={
    "loss": 0.123,
    "acc": 0.987
  }
)
```

Display summary from a Jupter notebook cell:

```python
from gage_summary import display_summary

display_summary(
  metrics={
    "loss": 0.123,
    "acc": 0.987
  }
)
```

In both cases, the library writes `summary.json` to the current
directory when executed during a Gage run. Otherwise the summary is
just displayed to the user.

Note that Gage summaries are simply JSON formatted metrics and
attributes written to `summary.json` during a run. You're free to
simply write this file yourself without the help of this library. This
library provides aesthetic improvements to summary reporting to users,
either printed to the console or displayed in a Jupyter notebook cell
output.