semvec/pypi-packages huggingface dataset:
trello-todoist 0.2.0
convert due trello cards to todoist tasks
License: MIT

Trello's email reminder system is broken (in my view); it sends email reminders
the day before you specify a due date. I can imagine scenarios where this is
nice, but it is very counterintuitive to me. Trello also doesn't have webhooks
associated with due dates, so services like IFTTT or Zapier are unable to
accomplish the functionality I want: add todoist tasks from Trello on the day
they are due.

`trello-todoist` is a hack to add trello cards to todoist on the day that they
are due. It is intended to be set up as a cronjob with a crontab entry like:

```
53 3 * * * trello-todoist 'trello board' 'trello username' 'todoist project'
```

which runs `trello-todoist` every morning at 3:53 a.m. By default, this adds
all trello cards that are due today from board `trello board` of which `trello
username` is a member as a task to the corresponding `todoist project`.
Depending on the version of `requests` that is installed via python
dependencies, you may also want to use `PYTHONWARNINGS=ignore` somewhere in
your crontab to avoid being sent warnings every time the script is run.

## quick start

1. install `trello-todoist` from pypi:
    ```sh
    pip install trello-todoist
    ```

1. get your trello api key and secret [from here](https://trello.com/app-key)
   and get your oauth tokens:
    ```sh
    export TRELLO_API_KEY=your-key
    export TRELLO_API_SECRET=your-secret
    export TRELLO_EXPIRATION=never
    python -m trello.util
    # follow instructions
    ```

1. get your todoist api token from the todoist `Settings` > `Account` > `API
   token`.

1. place your trello credentials in a `trello.json` file in the repository root
   that looks like this:
    ```json
    {
        "api_key": "your-key",
        "api_secret": "your-secret",
        "token": "your-oauth-token-key",
        "token_secret": "your-oauth-token-secret"
    }
    ```

1. place your todoist api token in a `todoist.json` file in the repository root
   that looks like this:
   ```json
   {
       "token": "your-token"
   }
   ```

1. :boom: For usage instructions, see
  ```sh
  trello-todoist -h
  ```


## development

1. instantiate virtual environment
    ```sh
    mkvirtualenv trello-todoist
    pip install -r requirements/python-dev
    ```

1. follow the quick start instructions above to get your trello and todoist
   credentials.
strandex 0.3.1
Strand-anchored regex for expansion or contraction of FASTQ files
License: MIT

# strandex
**strand**-anchored reg**ex** for uniform sampling from FASTQ files (think **spandex**)

[![Build Status](https://travis-ci.org/mdshw5/strandex.svg?branch=master)](https://travis-ci.org/mdshw5/strandex)
[![PyPI](https://img.shields.io/pypi/v/strandex.svg?branch=master)](https://pypi.python.org/pypi/strandex)
[![Landscape](https://landscape.io/github/mdshw5/strandex/master/landscape.svg)](https://landscape.io/github/mdshw5/strandex/master)
[![Coveralls](https://coveralls.io/repos/mdshw5/strandex/badge.svg?branch=master)](https://coveralls.io/r/mdshw5/strandex?branch=master)

##Why use this?
- You want only a few reads from a large FASTQ file (**downsampling**)
- You are constrained by I/O so that reading through the entire file is very slow
- You want to avoid sampling only the beginning or end of the file
- You want to expand a small FASTQ file to a specific number of reads (**upsampling**)

# Install

`pip install strandex`

# Examples

```
from strandex import FastqSampler

sampler = FastqSampler('read1.fastq', fastq2='read2.fastq', nreads=100000, seed=42)
for read1, read2 in sampler:
  # read1 and read2 are 4-line strings sampled from paired input

sampler = FastqSampler('read1.fastq', nreads=100000, seed=42)
  for read1, read2 in sampler:
    # read1 is a 4-line string sampled from input
    # read2 is NoneType
```
Note that you may sample more reads *than are available in your input file*. In
the event that you want to sample more reads than your input file contains, strandex
will sample the file with replacement, meaning you will get some duplicate reads.

# CLI script

```
usage: strandex [-h] [-fq2 FASTQ2] [-o2 OUT2] [-n NREADS] [-s SEED] fastq1 out

sample uniformly without reading an entire fastq file

positional arguments:
  fastq1                input fastq file
  out                   output fastq file

optional arguments:
  -h, --help            show this help message and exit
  -fq2 FASTQ2, --fastq2 FASTQ2
                        input fastq file read pairs
  -o2 OUT2, --out2 OUT2
                        output fastq file read pairs
  -n NREADS, --nreads NREADS
                        number of reads to sample from input (default: 1)
  -s SEED, --seed SEED  seed for random number generator (default: None)
```
bracon 0.0.1
Branch and Confluence. You can have consecutive another process.
License: MIT
Keywords: reactive

BraCon
######

This library is Branch and Confluence. You can have consecutive another process.

.. code-block::

   timeline >-------------------------------->

   main process o---o---o---o---o---o---o---o---o
                     \       \           \
   sub process        o-------o-----------o

Requirements
============

* Python3

Quick Example
=============

.. code-block:: python

   import bracon

   b = bracon.Bracon()
   b.add(lambda x: "Hello")
   b.add(lambda x: x * 2)
   b.add(lambda x: print("print from sub process", x))
   print("print from main process")

When you run this script, you will get:

.. code-block::

   print from main process
   print from sub process HelloHello

But if you copy and paste on your python shell one by one, you will get:

.. code-block::

   print from sub process HelloHello
   print from main process

Sometime main is called fist, sometime sub is called first. That's why BraCon runs on another process.