semvec/pypi-packages huggingface dataset:
pytrask-Nimelli 0.0.1
Minimalist Kanban task management tool
Requires Python: >=3.6

# pyTrask

A minimalist kanban task management app that lives within your code.

Easilly add "todo" and other type of tasks in your code, and the pyTrasker app will let you visualize a managing kanban board of them.

## Description
"trask is the combination of "task" & "track""

The motivation behind this app was to have a serverless, lightweight kanban board that follows your code.
Before being an application, trask is above all a coding phylosophy. Indeed, "a trask" is a specific notation, as a comment in your code, that is describing the type of task and other meaningfull information that will be visualize on a kanban board.

Advantages are that it is (will be)
- language agnostic
- simple and straighforward to use
- git and sharing friendly: trasks live in your code, they follows it

> This started as a small "refreshing, unpretentious" project.
> But, at the end of the day, it became a quite useful tool. 
> 
> It is, obiously, prone to improvements, especially optimization, and UI. Currently the GUI is done through flask (and flaskwebgui) and the rendered is done with simple html and few javascript. The latter could really benefits some improvements.


## Installation

pip install pytrask

## Usage

### Add a Trask
To add a "trask", simply add in your code, where you want it to be, a comment with the following format:
```
@trask
<type>: <description>
author: <author>
tag: <tag1>, <tag2>, ..., <tagN>
```
only the "type" and "description" is mandatory. The other fields are optional.

Example of a 'todo' task in a python file:
``` python

"""
@trask
todo: this is an exampe 'todo' task.
      It will then be displayed in the 'todo' column on the kanban board
author: optional.author@example.com
"""
def func(arg):
    ...
```


### Analyse and display the Kanban Board

![Image of Yaktocat](screenshot.png)

The pytraskgui app lets you visualize the kanban board and quickly jump into its location.
Following features are implemented:
- Visual kanban board interface. Retreive all your tasks in your code.
- Drag & drop tasks to change its type (ex: from "todo" to "done"). It you be updated in your code automatically.
- Open the file at the location of your task. (currently works for windows with sublime or vscode editor)

Default (analyse recursively current directory )
```
python -m pytrask 
```

List arguments
```
python -m pytrask --help
```

Analyse and visualize specific files
```
python -m pytrask -f <filename1> ... <filenameN>
```

Analyse and visualize a specific folder (add -nr if recursivity is undesirable)
```
python -m pytrask -d <directory_path>
```

## Upcoming improvements

- more languages analysis support
- more text-editors support to open trasks through UI
- linux & macOS support to open trasks through UI
- UI improvements
twitter-sdk 0.1.8
Communicate with the official twitter api.
Requires Python: >=3.6

# TwitterAPI (Python)

## Installation

This python package requires python >= 3.6 with pip.

### Install with pip

```shell
python3 -m pip install --upgrade --user twitter_sdk
```

### Install manual

```shell
git clone https://github.com/AdriBloober/TwitterSDK && cd TwitterSDK
python3 setup.py install
```

## How to use?

Go here (https://developer.twitter.com/en/apps) and create a developer app. Under Tab `Keys and tokens` get you'r tokens.


### How to get the authentication credentials? (OAuth1.0)


```python
from twitter.api import TwitterApi, TwitterAuth

consumer_key = ""
consumer_secret = ""
access_token_key = ""
access_token_secret = ""

api = TwitterApi(TwitterAuth.get_oauth1_auth(consumer_key, consumer_secret, access_token_key, access_token_secret))
```

### How to get the authentication credentials? (OAuth2-Bearer Token)
```python
from twitter.api import TwitterApi, TwitterAuth

bearer_token = ""

api = TwitterApi(TwitterAuth.get_oauth2_bearer_token(bearer_token))
```

### How to get the authentication credentials? (Basic Auth for premium & enterprise)
```python
from twitter.api import TwitterApi, TwitterAuth

email_address = ""
password = ""

api = TwitterApi(TwitterAuth.get_basic_authentication(email_address, password))
```

The `TwitterApi` object contains all methods.

### Rate limits

Here are all rate limits documented: https://developer.twitter.com/en/docs/twitter-api/v1/rate-limits/endpoint-rate-limits.   
If the rate limit has been reached, the error ``twitter.error_management.RateLimitReachedError`` will been thrown.

### HTTPErrors

If the response status code is betweet 400 and 599, the ``twitter.error_management.TwitterError`` will been thrown.
```python
import requests
class TwitterError(Exception):
  status_message: str
  status_code: int
  url: str
  response: requests.Response
  def __init__(self, status_message, status_code, url, response=None):
    self.status_message = status_message
    self.status_code = status_code
    self.url = url
    self.response = response
    super().__init__(f"Error {status_code}: {status_message} for url {url}.")
```