semvec/pypi-packages huggingface dataset:
spikefeatures 0.1.2
Python toolkit for computing extracellular waveforms features

[![Build Status](https://travis-ci.com/SpikeInterface/spikefeatures.svg?branch=master)](https://travis-ci.com/SpikeInterface/spikefeatures) [![PyPI version](https://badge.fury.io/py/spikefeatures.svg)](https://badge.fury.io/py/spikefeatures)

# SpikeFeatures
Feature extraction library for extracellular waveforms. 

The base code (and portions of the README images/description) was ported from: https://github.com/AllenInstitute/ecephys_spike_sorting/tree/master/ecephys_spike_sorting/modules/mean_waveforms
consoleinvaders 0.1
Space Invaders in your console

# Console Invaders

A text-mode space invaders game (suggested from [Austin Z. Henley's blog](https://web.eecs.utk.edu/~azh/blog/challengingprojects.html)).

## Install

Install by runing:

```shell
pip install consoleinvaders
```

Uses `pynput` and `windows-curses` dependencies.

## Run

To play the game use arrow keys to move, and hold Left Shift to shoot, run on a terminal:

```shell
consoleinvaders
```

The game is over if you destroy all aliens or an alien destroys you or reaches the bottom.

Press ESC or Ctrl+C to quit.

### Windows

The Windows Terminal doesn't seem to handle resizing while the game is running: microsoft/terminal#5094 

### MacOS

In order to [detect keyboard state](https://pynput.readthedocs.io/en/latest/limitations.html), your terminal needs [Input Monitoring](https://support.apple.com/guide/mac-help/control-access-to-input-monitoring-on-mac-mchl4cedafb6/mac) permission.

For some reason, when using iTerm2 the keyboard state doesn't work if iTerm2 is selected. Click to focus a different app and then play the game, or use a different terminal.


## Developing

```shell
git clone https://github.com/darthwalsh/ConsoleInvaders.git
cd ConsoleInvaders
python3 -m venv env   # Or on Windows, use python
. env/bin/activate    # Or on Windows, use Activate.ps1
pip install -r requirements.txt

# On Windows: pip install windows-curses
```

Run with:

```shell
python3 -c "import consoleinvaders.app; consoleinvaders.app.main()"
```
curva 1.1
Simple library for ECIES with AES and HKDF.
Requires Python: >=3

# Curva - ECIES based on AES and HKDF

__Repos: http://github.com/origamizyt/curva__

Simple library for Elliptic-Curve Integrated Encryption Scheme with Rijndael and Hmac-based Key Deriviation Function.

Replacement for blowcurve since blowfish is deprecated now.

## Installation

This module uses `ecdsa` and `PyCryptodome` module as backend. No DLLs are needed.

This module is avaiable on PyPI:
```
$ pip install curva
```

Or you can download the source .tar.gz and execute `setup.py` manually:
```
$ python setup.py install
```

## Usage

This module exposes interfaces for key agreement, signatures and encryptions.

Use class `curva.Curva` to access all interfaces:
```py
>>> c1 = Curva() # create instance, generate keys
>>> c2 = Curva()
```

Use its `export` / `exportHex` method to export local public key, and `load` / `loadHex` method to load remote public key:
```py
>>> c1.load(c2.export()) # bytes
>>> c2.loadHex(c1.exportHex()) # hex string
```

After exchanging public keys, a shared secret can now be established:
```py
>>> c1.secret() == c2.secret() # shared secret (bytes)
True
```

Use the `sign` / `verify` method to create signatures and verify them:
```py
>>> data = b'data'
>>> signature = c1.sign(data)
>>> c2.verify(data, signature)
True
>>> c2.verify(b'attack!', signature)
False
```

Use the `encrypt` / `decrypt` method to encrypt / decrypt data:
```py
>>> data = b'data'
>>> encrypted = c1.encrypt(data)
>>> c2.decrypt(encrypted)
b'data'
```