semvec/pypi-packages huggingface dataset:
todo.python 0.4.4
Manage todo on git repo.
License: MIT
Keywords: utility

# todo.python

[![](https://img.shields.io/pypi/v/todo.python.svg)](https://pypi.python.org/pypi/todo.python)
[![](https://travis-ci.org/wkentaro/todo.python.svg?branch=master)](https://travis-ci.org/wkentaro/todo.python)

Manage todo on git repo.

It uses Git repo for the database,
and has feature of automated **sync** and **archive**.  
The sample database is here: https://github.com/wkentaro/todo.python.sample.

The difference from its alternatives such as Evernote and iOS todo list
is the feature of auto archiving.
*todo.python* is designed for use of daily report on your work,
and you can easily look back **what you completed at each day**
[as shown in the sample](https://github.com/wkentaro/todo.python.sample/blob/master/archive.yaml).


## Installation

```bash
pip install todo.python
```


## Usage


```bash
GITHUB_NAME=<YOUR GITHUB NAME>
REPO=todo
# https://github.com/github/hub
hub create -p $REPO  # Or create it on browser (private repo is recommended)

todo init https://github.com/$GITHUB_NAME/$REPO.git

todo edit  # pull -> archive -> edit -> push
EDITOR=emacs todo edit  # default is vim

todo show  # pull -> archive -> push -> show

todo open  # pull -> archive -> push -> open
```


## Demonstration

Here, we demonstrate its feature with [the sample database](https://github.com/wkentaro/todo.python.sample).

```bash
$ todo deinit

$ todo init https://github.com/wkentaro/todo.python.sample.git
Remote URL: https://github.com/wkentaro/todo.python.sample.git
Pulling from remote: https://github.com/wkentaro/todo.python.sample.git
+ git clone https://github.com/wkentaro/todo.python.sample.git /Users/minerva/.cache/todo
Cloning into '/Users/minerva/.cache/todo'...
remote: Counting objects: 46, done.
remote: Total 46 (delta 0), reused 0 (delta 0), pack-reused 46
Unpacking objects: 100% (46/46), done.
```

![](static/todo.show.gif) ![](static/todo.edit.gif)
rulengine 0.0.6
Simple Rule Engine
License: MIT
Keywords: python,rule,rule executor,rule engine

# rulengine
##### Simple Rule Engine for Python
##### Rule engine gives an approach to you: "it would valid, if one of the rules can provide necessarry condition"
##### You can use in your any project, but remember; you need to make your own data context and generate rules on your side

# Installation
```bash
pip install rulengine
```

# Usage
```bash
In [1]: from rulengine.core import DataType, RuleOperator, ConditionOperator, Rule, Condition
In [2]: from rulengine import execute

In [3]: condition = Condition(value=1, operator=ConditionOperator.EQUAL, comparison_value=2, data_type=DataType.INTEGER) 
In [4]: rule =  Rule(operator=RuleOperator.AND, conditions=[condition])
In [5]: execute([rule])
Out[5]: False
```