semvec/pypi-packages huggingface dataset:
pymtodo 0.2
Unofficial Microsoft To-Do python library

Pymtodo
=================

=================
Table of contents
=================

- `Description`_

- `Installing`_

- `Quick start`_

  #. `Authorizing`_

  #. `Get lists and tasks`_

  #. `Create lists and tasks`_

  #. `Delete lists and tasks`_

- `Documentation`_

- `Disclaimer`_

- `License`_

============
Description
============

Pymtodo is an unofficial Microsoft To-Do python library which allows managing your tasks. It can help you to optimize 
your workflow and create long lists (for example, if you read books and like to check it in your To-Do list).

============
Installing
============

You can install pymtodo via pip:

.. code:: shell

	$ git clone https://github.com/efiminem/pymtodo.git
        $ pip install pymtodo

============
Quick start
============

-------------------
Authorizing
-------------------

Pymtodo is very easy to use. First, you need to be authorized in the Microsoft To-Do system:

.. code:: python

	from pymtodo import ToDoConnection
	from getpass import getpass

	a = ToDoConnection()
	a.connect(email = 'your-email@gmail.com', password = getpass())

Getpass package allows you to write your password in the secure way, so noone will see it. Alternatively, you 
can just type it directly.

-------------------
Get lists and tasks
-------------------

In order to get all your lists you can just type:

.. code:: python

	a.lists

To get the tasks for the particular list, you can write:

.. code:: python

	a.lists[0].tasks

-----------------------
Create lists and tasks
-----------------------

You can create lists by using

.. code:: python

	a.create_list("New list")

and new tasks can be created in the particluar list:

.. code:: python

	a.lists[0].create_task("New task")

-----------------------
Delete lists and tasks
-----------------------

You can delete your lists and tasks by the delete method:

.. code:: python

	a.lists[0].delete()
	a.lists[0].tasks[0].delete()

Be careful, there will not be a warning message.

==============
Documentation
==============

Detailed documentation will be available soon.

============
Disclaimer
============

Pymtodo is an unofficial, open source, third-party, free app and is not affiliated in any way with Microsoft.

============
License
============

Pymtodo is distributed under the MIT `license
<https://github.com/efiminem/pymtodo/blob/master/LICENSE>`_.
pydapt 0.3
Ruby's OpenStruct for python

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![codecov](https://codecov.io/gh/dev-prakhar/pydapt/branch/master/graph/badge.svg)](https://codecov.io/gh/dev-prakhar/pydapt)
[![Build Status](https://travis-ci.com/dev-prakhar/pydapt.svg?branch=master)](https://travis-ci.com/dev-prakhar/pydapt)
[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)

#  PyDapt

PyDapt coverts a dictionary into an object.
It is similar to the [OpenStruct](https://ruby-doc.org/stdlib-2.5.1/libdoc/ostruct/rdoc/OpenStruct.html) of ruby.

# Installation

```
Python Version Required >= 3
```
```
pip install pydapt
```

# Usage

### Converting a dictionary to Object

```python
from pydapt.models import PyFlex

dictionary = {"test": 1, "test1": {"test2": 2}}
pyflex = PyFlex(dictionary)

print(pyflex.test) # 1
print(pyflex.test1.test2) # 2
```

### Converting a dictionary to Object with kwargs

```python
from pydapt.models import PyFlex

dictionary = {"test": 1, "test1": {"test2": 2}}
pyflex = PyFlex(dictionary, test3=3, test4=4)

print(pyflex.test) # 1
print(pyflex.test1.test2) # 2
print(pyflex.test3) # 3
print(pyflex.test4) # 4
```

### Deleting an attribute

```python
from pydapt.models import PyFlex

dictionary = {"test": 1, "test1": {"test2": 2}}
pyflex = PyFlex(dictionary)

print(pyflex.test) # 1
print(pyflex.test1.test2) # 2

pyflex.drop('test3') # None
pyflex.drop('test') # 1

print(pyflex.test) # AttributeError: 'PyFlex' object has no attribute 'test'
```
myFbase 0.1.1
Change to/from any base you like

# myFbase

Change to/from any base you like: hexadecimal, binary or whatever you want.

## How to use

### Installation

    $ pip install myFbase

### Usage

    from myFbase import MyFbase

    mfb = MyFbase('abc')
    print(mfb.encode(8))  # cc
    print(mfb.decode('cc'))  # 8

    mfb = MyFbase('0123456789ABCDEF')  # Hex base
    print(mfb.encode(15))  # F
    print(mfb.encode(16))  # 10
    print(mfb.encode(4294967295))  # FFFFFFFF