semvec/pypi-packages huggingface dataset:
waves-utilities 1.0.0
SURF WAVES physiological waveform dataset utilities
License: MIT

# WAVES Utilities #

This python package/repository contains useful scripts, dataloaders, and examples for
working with the WAVES dataset of pediatric physiological waveforms.

## What is WAVES? ###

WAVES is an open-access pediatric physiological waveform dataset containing ECG, 
respiratory, plethysmogram, arterial blood pressure, and a variety of other 
high-frequency waveforms extracted from bedside monitors for patients at the Lucile 
Packard Childrens Hospital. The WAVES dataset itself is hosted by Redivis at 
[https://redivis.com/WAVES/datasets](https://redivis.com/WAVES/datasets)

WAVES is administrated by the 
[SURF Stanford Medicine](https://surf.stanford.edu/)
research group.

## What is this repository for? ###

* Python utilities to load and plot physiological waveform data from the WAVES dataset

## How do I get set up? ###
* Download/clone the repository
* Set up a python environment with the required dependencies: `conda env create -f environment.yml`
* Install the python package from pypi with `pip install waves_utilities`
    * (or run `python setup.py develop` for local development)


## Usage Examples

Refer to the tests and API documentation for more information on API options/arguments.

### Load data from .csv file
    from waves_utilities import WavesUtilityAPI
    util_api = WavesUtilityAPI()

    # Load a single row
    csv_row = next(util_api.csv_manager.read_csv("waveform_test_extract.csv", limit=1))

    # Load all rows (keep memory usage in mind for large data extracts)
    csv_rows = list(util_api.csv_manager.read_csv("waveform_test_extract.csv"))

### Plot waveforms
    # Plot 5 seconds from a single waveform
    util_api.waveform_plotter.plot_waveform(
        csv_row, save_filepath="single_waveform.png", duration_seconds=5
    )

    # Plot the full duration of multiple waveforms in file
    util_api.waveform_plotter.plot_waveforms(
        csv_rows, save_filepath="multi_waveforms.png", title="Test Waveform Data"
    )

## Contribution guidelines ###

* Writing tests
* Code review
* Other guidelines

## Who do I talk to? ###

* Daniel Miller: Primary researcher/developer for the WAVES dataset and codebase
* David Scheinker: Head of the SURF Stanford Medicine research group
cashstatistic 0.1.3
Utility functions related to the Cash statistic
License: MIT

.. image:: https://img.shields.io/pypi/v/cashstatistic.svg
   :alt: PyPi
   :target: https://pypi.python.org/pypi/cashstatistic
.. image:: https://img.shields.io/pypi/l/cashstatistic.svg
   :alt: MIT
   :target: https://mit-license.org/license.txt

===============
cashstatistic
===============
**Utility functions related to the Cash statistic**


The Poisson distribution is

P(x|mu) = exp(-mu) mu^x / x!

The `Cash statistic <http://adsabs.harvard.edu/abs/1979ApJ...228..939C>`_ is defined to be the model (mu) dependent part of -2ln(P), analogous to the role that chi^2 plays for the Gaussian distribution,

C = 2( mu - x\*ln(mu) ).

A modified version,

C_m = 2( mu - x + x\*ln(x/mu) ),

is equivalent to C for parameter inference (i.e. has the same dependence on mu), and also has the nice property of becoming equivalent to chi^2 when x is large. `Kaastra (2017) <http://adsabs.harvard.edu/abs/2017A%26A...605A..51K>`_ was kind enough to provide approximate expressions for the mean and variance of C_m, which can be used to determine whether the actual C_m corresponding to a fitted model is indicative of a good fit (just as chi^2 does for the Gaussian distribution).

This package contains python code to calculate C, C_m, and the theoretical mean and variance of C_m. The `GitHub repo <https://github.com/abmantz/cstat>`_ contains implementations in other languages.
dj-materialized-views 0.4.1
Django admin app that allows you to manage materialized views from the admin panel
License: MIT
Requires Python: >=3.6

# Django Materialized Views

![workflow](https://github.com/MilanPecov/dj_materialized_views/actions/workflows/django.yml/badge.svg)

# Overview

Django Materialized Views is a powerful admin app that allows you to manage materialized views from the admin panel

The app can:

* Create, update and delete materialized views
* Create indexes for the materialized views
* Refresh the materialized views at regular intervals

Limitation:
* Works only with PostgreSQL

# Requirements
* Python 3.6+
* Django 2, 3 or 4
* Celery


# Installation
Install using pip
```
pip install dj_materialized_views 
```

Add 'django_celery_beat' and 'dj_materialized_views' to your INSTALLED_APPS setting
```
INSTALLED_APPS = [
    ...
    'django_celery_beat',
    'dj_materialized_views',
]
```

# Documentation

For more information on how to use the app, see the documentation at:

https://dj-materialized-views.readthedocs.io/en/latest/quick_start/
devpi-private-mirrors 0.0.3
devpi plugin prevent mixing packages using both private and public mirrors
License: MIT
Requires Python: >=3.10

# devpi-private-mirrors

[![PyPI version shields.io](https://img.shields.io/pypi/v/devpi-private-mirrors.svg)](https://pypi.python.org/pypi/devpi-private-mirrors/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/devpi-private-mirrors.svg)](https://pypi.python.org/pypi/devpi-private-mirrors/)
[![PyPI download month](https://img.shields.io/pypi/dm/devpi-private-mirrors.svg)](https://pypi.python.org/pypi/devpi-private-mirrors/)

Plugin prevent mixing packages using both private and public mirrors at the same time.

## Installation

```sh
pip install devpi-private-mirrors
```

There is no configuration needed as devpi-server will automatically discover the plugin
through calling hooks using the setuptools entry points mechanism.

## Motivation

Sometimes you need to use private mirrors, but still want access to pypi.

With base devpi only option is to specify both as private index bases,
but in that case you got mix of packages and their versions between
private and public mirrors.

Which leads to security and compatibility issues.

This plugin allows mark some indexes as private and hide all packages from them
from public indexes.

## Usage

Create local index with `stage_private_base` type with several mirrors

```
devpi index -c root/dev type=stage_private_base bases=root/private1,root/private2,root/pypi
```

Set `private_base` option for all private bases

```
devpi root/private1 private_base=True
devpi root/private2 private_base=True
```

Now private mirrors will not be mixed with public.

Note: private indexes can be mixed with each other (for example, if you have some version
of package in private1 and some in private2, you will get both versions).
nile-verifier 0.1.5
Nile plugin to verify smart contracts on starkscan.co
License: MIT
Requires Python: >=3.8,<3.10
Keywords: cairo,nile

# ⛵️✅ Nile verifier plugin

Plugin for [Nile](https://github.com/OpenZeppelin/nile) to verify contracts on [starkscan.co](https://starkscan.co).

## Installation

```
pip install nile-verifier
```

## Usage

```
nile verify CONTRACT_PATH --network NETWORK
```

For example:
```
$ nile verify contracts/uwu.cairo --network goerli
🔎 Verifying uwu on goerli...
✅ Success! https://testnet.starkscan.co/class/0x226718449b40fa299d718eb50f72af707f2210e540e11a830c2ad72a235d5e0#code
```

Note that the contract has to be deployed, or the verification will fail
```
$ nile verify contracts/uwu.cairo --network goerli
❌ Could not find any contract with hash 0x226718449b40fa299d718eb50f72af707f2210e540e11a830c2ad72a235d5e0
🤔 Are you sure you deployed to goerli?
```

## License

MIT.