semvec/pypi-packages huggingface dataset:
shanaproject-api 0.2.0
Python API for https://www.shanaproject.com/.
License: MIT
Requires Python: >=3.5.0,<4.0.0

# shanaproject-api

Python API and CLI for https://www.shanaproject.com/.

## Example: Download all unread follows

    $ shanaproject -u <username> -p <password>
    $ shanaproject --follows > follows.json
    $ cat follows.json | jq .id | xargs -P2 -n1 shanaproject -D follows/ -d

Let's go through the commands step by step:

1. Log into your ShanaProject account. The session will be saved in your `~/.cache` directory.
2. Download all of your unread follows into a JSON file called `follows.json`
3. For each of your follows, grab the release ID and pass it into the download command. Two
   follows will be downloaded in parallel any given point in time (`-P2`).

## Quickstart

```python
from shanaproject import ShanaProject
sp = ShanaProject()
if not sp.load_session(username):
  sp.login(username, password)
  sp.save_session(username)
for release in sp.follows():
  sp.download_release_to('~/Downloads', release.id)
```
course-manager 0.0.2
Keep track of the courses you're taking
License: MIT
Requires Python: >=3.6

# course manager

Keep track of the courses you're taking with a current task and next task
for each.

# installation
`pip install .`

# usage

## help menu
```
usage: course_manager [-h] {add,remove,update,list} ...

Course Manager

positional arguments:
  {add,remove,update,list}
                        commands
    add                 Add a course
    remove              Remove a course
    update              Update a course
    list                List courses

optional arguments:
  -h, --help            show this help message and exit
```

## list all courses
`course_manager list`

## add courses
`course_manager add 'learn python'`

`course_manager add 'learn python' -c 'chapter 1' -n 'chapter 5'`

## remove a course by id
`course_manager remove 1`

## update a course
`course_manager update 1 --next 'watch lecture 2'`