semvec/pypi-packages huggingface dataset:
spatial-ops 0.1.0
spatial ops is libraray for spatial transcritomics
Keywords: spatial_ops

=================================================
spatial_ops
=================================================

.. image:: https://readthedocs.org/projects/spatial_ops/badge/?version=latest
        :target: http://spatial_ops.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status               

.. image:: https://img.shields.io/travis/DerThorsten/spatial_ops.svg
        :target: https://travis-ci.org/DerThorsten/spatial_ops

.. image:: https://travis-ci.org/DerThorsten/spatial_ops.svg?branch=master
    :target: https://travis-ci.org/DerThorsten/spatial_ops

.. image:: https://circleci.com/gh/DerThorsten/spatial_ops/tree/master.svg?style=svg
    :target: https://circleci.com/gh/DerThorsten/spatial_ops/tree/master

.. image:: https://dev.azure.com/derthorstenbeier/spatial_ops/_apis/build/status/DerThorsten.spatial_ops?branchName=master
    :target: https://dev.azure.com/derthorstenbeier/spatial_ops/_build/latest?definitionId=1&branchName=master








Features
--------

Current features include: 
  * conda ready
  * pytest unit test
  * continous integration

  * coverall code coverage
  * documentation with sphinx
  * documentation on readthedocs
handy-decorators 0.0.7
Handy decorators for day-to-day use!

[![Build Status](https://travis-ci.org/siddheshsathe/handy-decorators.svg?branch=master)](https://travis-ci.org/siddheshsathe/handy-decorators)
---
# Handy Decorators
---
This is a set of `handy decorators` which one can use for their day-to-day life coding.

## Installation Method
Install it via pip
```bash
pip install handy-decorators
```

## Description
The set of decorators contain some daily needed decorators for being used in our day to day coding life. This has following set of decorators.

### trycatch
This decorator surounds your function with a `try-except` block and if your code/function raises an exception, it's caught by this decorator and reported by logging.
```python
>>> from decorators import trycatch
>>> @trycatch
... def func():
...     print(0/0) # Division by 0 must raise exception
...
>>> func()
Exception occurred: [integer division or modulo by zero]
>>>
```

### timer
This decorator will calculate a time required in seconds by your function for execution.
```python
>>> from decorators import timer
>>> @timer
... def a():
...     import time
...     print('Hi')
...     time.sleep(1)
...
>>> a()
Hi
Time taken by the function is [1.00103902817] sec
>>>
```

### singleton
This decorator is for making your class [`singleton`](https://python-3-patterns-idioms-test.readthedocs.io/en/latest/Singleton.html).
<br>
The features given by this decorator are:
* If instances of same class are created with **same** args and kwargs, decorator will return previously existing instance
* If instances of same class are created with **different** args and kwargs, decorator will create a different one for you and store the newly created instance

```python
>>> from decorators import singleton
>>>
>>> @singleton
... class A:
...     def __init__(self, *args, **kwargs):
...         pass
...
>>>
>>> a = A(name='Siddhesh')
>>> b = A(name='Siddhesh', lname='Sathe')
>>> c = A(name='Siddhesh', lname='Sathe')
>>> a is b  # has to be different
False
>>> b is c  # has to be same
True
>>>
```
---
Please create an issue if more decorators are needed.
typeytypey 0.1.0
A Linux CLI demo replay tool, written in Python 3

typeytypey
==========

This is a Linux CLI demo replay tool, written in Python 3.  As I've gone
to meetups around the place, I've always wondered why presenters rarely
make mistakes.  I mean, how can they be so polished in their presentations,
especially with "live" demos?

I'll let you in on a secret, they're not.

Often presenters will use demo replay tools, and I've written a prrof of
concept showing you how it can be done.

Even though this thing is fine for my personal use, I welcome patches,
bug reports etc to make this thing useful to others.  Feel free to drop me a
line at michael@the-davies.net if you want to help.

Development Installation
========================

You should run this in a venv. Do something like this:

```
$ python3 -m venv ~/venv
$ . ~/venv/bin/activate
$ pip install -U pip
$ pip install .
```

Installing a Release
====================

That's what pypi is for!

```
$ python3 -m venv ~/venv
$ . ~/venv/bin/activate
$ pip install -U pip
$ pip install typeytypey
```

Usage
=====

```
# Show us the options:
$ typeytypey --help

Usage: typeytypey [--help|--version|--make-example] <replay-file>

Supported commands in a replay file are:
  #          This is a comment
  prompt     Set the shell prompt
  cmd        Command to print
  out        Start of output to display
  endout     End of output to display
  wait       <seconds> before proceeding
  clear      Clear the screen
  return     Print an empty prompt
  start      Display start message and delay <seconds>
  end        Suppress input and wait <seconds>

# Check out what version we're running
$ typeytypey --version
typeytypey version typeytypey 0.1.0
Copyright (C) 2019 Michael Davies <michael@the-davies.net>

# Generate a sample replay file
$ typeytypey --make-example
Writing "/tmp/typeytypey.replay" as an example replay file

# Run the replay file we just created
$ typeytypey /tmp/typeytypey.replay
```

And that's about it.  Enjoy!