semvec/pypi-packages huggingface dataset:
eze 0.0.2
Modern minimalist python 3+ pocket knife.
License: MIT

# eze
A super simple library for common tasks in python 3. 
- **No extra dependencies** required, you can go use `eze.py`and that's it!
- Great for scripting something fast.
- You are free to copy implementations for specific functions (see `get_eze`).

## TODO:
- add examples for each function, and a link to the implementation for usage outside of the lib.

## Usage
`pip install eze`  

`import eze as e`

### Strings / JSON & CSV
- `b64` - base 64 encodes to a string (no bytes needed!)
- `b64d` - base 64 decodes a string/byte
- `s` - to string
- `b` - to bytes
- `regex` - match
```Example
match = e.regex(r'hello (.*?)', 'hello world') # (' world', (' world'))
```
- `json` - json encode 
- `jsond` - json decode
- `csv` - dict/list to csv
- `csvd` - decode a csv file/string into a dict.

### IO
- `write` - write something to a file
- `read` - read something from a file

### Runtime
- `eq` - checks if two vars/objects/classes are the same in-memory (might be used for something else)
- `stack` - gets the stack up to here in a human-readable fashion.
- `dir` - shows all of the inherited functions of an object (no need to see `__init_subclass__`)
- `break` - poor man's breakpoint - will exit and print the current variables in a human-readable fashion.
- `@timeit` decorator - prints the seconds it took to run a function.
- `get_time` - returns the seconds it took to run a function.

### Printing things
- `pp`/`pretty_print` - pretty print objects/classes/functions.
- `nl`/`new_line` - create a new line string for terminal usage
- `tbl`/`table` - create an ascii table and print it out of lists/generators.
- `diff` - show the difference between vars/functions/classes/objects can also be colored.

### Imports
- `import_all` - imports the whole directory - good for `__init__.py`
- `import` - imports a python file during runtime
```Example
module = input('What module do you want?')
e.import(module)
# Use `module` functions
```
- `show_loaded` - shows the currently loaded modules.

### Web
- `get` - GET request to a URL.

### Concurrency 
- `together` - run a function concurrently.
```Example
def fetch_that(url):
  print(requests.get(url).text)
 
# together executes 
e.together(fetch_that, ['https://google.com', 'https://facebook.com'], {
  'tasks': 4,
  'done': done_callback
})
```

### Misc
- `get_eze` - prints out the implementation of a function here for production usage (without extra eze code).
- `disable` - disables all of velocity's functions - for production usage.
rnnsim 0.1
Random Neural Network Simulator implemented in Python.
License: MIT
Requires Python: >=3.6,<4.0

# Overview

Random Neural Network Simulator implemented in Python.

[![PyPI Version](https://img.shields.io/pypi/v/rnnsim.svg)](https://pypi.org/project/rnnsim)
[![PyPI License](https://img.shields.io/pypi/l/rnnsim.svg)](https://pypi.org/project/rnnsim)

# Setup

## Requirements

* Python 3.6+
* NumPy
* Sklearn 

## Installation

Install this library directly into an activated virtual environment:

```bash
$ pip install rnnsim
```

or add it to your [Poetry](https://poetry.eustace.io/) project:

```bash
$ poetry add rnnsim
```

# Usage

After installation, the package can either be used as:

```python

from rnnsim.model import SequentialRNN

sequential_model = SequentialRNN([2, 2, 1])
sequential_model.compile()
sequential_model.fit(train_data=(X_train, y_train), epochs=50, metrics="acc")
print(sequential_model.score((X_test, y_test)))
```

or 

```python
from rnnsim.RNN import RNN

# define model connections
conn_plus = {
    1: [3, 4], 2: [3, 4],
    3: [5], 4: [5], 5: []}
conn_minus = {
    1: [3, 4], 2: [3, 4],
    3: [5], 4: [5], 5: []}
model = RNN(n_total=5, input_neurons=2, output_neurons=1, conn_plus=conn_plus, conn_minus=conn_minus)
model.fit(epochs=N_Iterations, train_data=(X, Y))
```


References

1. E. Gelenbe, Random neural networks with negative and positive signals and product
form solution," Neural Computation, vol. 1, no. 4, pp. 502-511, 1989.
2. E. Gelenbe, Stability of the random neural network model," Neural Computation, vol.
2, no. 2, pp. 239-247, 1990.
archives 0.12
a new way to do python code documentation
License: MIT

# archives: a new way to do python code documentation

[![image](https://travis-ci.org/jpetrucciani/archives.svg?branch=master)](https://travis-ci.org/jpetrucciani/archives)
[![PyPI
version](https://badge.fury.io/py/archives.svg)](https://badge.fury.io/py/archives)
[![Code style:
black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![Python 3.6+
supported](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/downloads/release/python-360/)
[![Documentation style:
archives](https://img.shields.io/badge/docstyle-archives-lightblue.svg)](https://github.com/jpetrucciani/archives)

**archives** is a new style of python code documentation, as well as a
linter for the documentation itself. It can help you ensure that your
docstrings in your classes and functions stay up to date, and that they
adequately explain their purpose, arguments, and return value.

![Perhaps the archives are
incomplete](https://i.kym-cdn.com/entries/icons/original/000/023/967/obiwan.jpg)

## Features

  - linter for docstrings (work in progress, but usable\!)
  - (coming soon) documentation generator

## Usage

### Installation

``` bash
pip install archives
```

### Run the Linter

``` bash
# run archives (on itself!)
archives archives/

# archives.py:846:0: F104 function 'path_empty' missing @ret tag
#
# Impossible! Perhaps your archives are incomplete?
# 1 issues found.

# list tags!
archives --list-tag

# @arg    describe an argument of a function
# @author denote the author of a module/class/function
# @cc     denote the complexity of a function
# @desc   describe a module/class/function
# @link   add a link to the generated documentation
# @nodoc  disable this module/class/function in the documentation
# @nolint disable archives linting in this module/class/function
# @note   add a note to a module/class/function
# @ret    describe the return value of a function
# @todo   tag something as a todo
# @warn   add a warning to a module/class/function

# list rules!
archives --list-rules


# disable rules!
archives --disable M100 .

# different formats for output! defaults to flake8
archives --format pylint archives.py
```

## Testing

Tests can be run with tox\!

``` bash
# run tests
tox

# only one version of python
tox -e py36
```

## Todo

  - more rules
  - better system for multi-check rules
  - more output formats
  - potentially spell-checking inside desc?
  - documentation generator
  - tests