semvec/pypi-packages huggingface dataset:
takedown 0.1.1
A simple python script/package that allows users to search potential copyright violated information on GitHub
Requires Python: >=3.5

## TakeDown Script
A simple python script/package that allows users to search potential
copyright violated information on GitHub(probably more sites in future).
It returns the targets with a set of usernames.

### Requirements
```
python >= 3.8
requests~=2.23.0
PyYAML~=5.3.1
```

A `requirements.txt` is provided, so simply run:
```
pip install -r requirements.txt
```
So all dependencies will be added. Of course you should have `pip` installed.

### Install

Simply clone this repo and run
```
pip install -e .
```

Or install it from PyPi
```
pip install takedown
```

### Usage
There are a program provided called `takedown` and the entire package called `takedown`.

#### software 

After installing the package, run `takedown` in command line.

#### package
There are only GitHub TakeDown implemented now, so here's a piece of sample for you.

```python
from takedown.client.GitHub import GitHubClient

client = GitHubClient()
# authenticate and search
# you can choose not to authenticate, but limitations apply. check docs for details
results = client.authenticate("Your personal GitHub token").search("this is awesome", "code", )
# check fields options that can be used for list generation
print(results.get_fields())
results.generate_list(['owner__login', 'owner__html_url'])
```

For more samples, visit `example_scripts` folders.

### Notes
For GitHub client to search, there are certain restrictions:
1. You must provided a personal token to search the entire GitHuh site, or
you must specify a user, org, or repo.
2. The max length limit of search query is 256, so keep it shorter.
3. There is a rate limit of sending GitHub REST requests.

Consult this [page](https://docs.github.com/en/free-pro-team@latest/rest/reference/search) if you have more questions.

To get a personal token(free), check 
this [tutorial](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token).

The implementation only returns the list of max 100 search results. It is very uncommon 
that will be more than 50 repos or codes results that 
match a very specific pattern. Your search is either too broad(so narrow the search down), or your
work is entirely leaked. Limits might be raised in the future.
foodparser 0.1.10
A package to parse food logging texts.

# Food Parser
Useful tools to parse food entries from users.

# Description

It consists of one main modules:

- `foodparser`: tools to work with food logging parsing

# Installation

## Normal installation

```bash
pip install foodparser
```

## Development installation

```bash
git clone https://github.com/JoeyHou/food_parser.git
cd food_parser
pip install --editable .
```