semvec/pypi-packages huggingface dataset:
pcs-utils 0.0.10
Some utils for scraping the PCS web
Requires Python: >=3.6

### Overview

Selenium scraper for fetching information from the ProCyclingStats page.

### Setup

#### Setting up virtualenv

```
python3 -m pip install virtualenv
virtualenv .
source bin/activate
```

#### Installing requirements

```
pip install -r requirements.txt
sudo apt-get install xvfb
sudo apt-get install -y chromium-chromedriver
```

### Usage

```
import pcs_scraper

pcs_scraper.scrap_teams_by_year(2021)
pcs_scraper.scrap_stage('tour-de-france', 2020, 2)
pcs_scraper.scrap_stage_gc('tour-de-france', 2020, 2)
pcs_scraper.scrap_final_gc('tour-de-france', 2021)
pcs_scraper.scrap_final_points('tour-de-france', 2021)
pcs_scraper.scrap_final_kom('tour-de-france', 2021)
pcs_scraper.scrap_final_youth('tour-de-france', 2021)
pcs_scraper.scrap_final_teams('tour-de-france', 2021)
```

### Publishing to PyPy

https://packaging.python.org/en/latest/tutorials/packaging-projects/
pali 0.0.7
A simple ThreadPool library

[![Downloads](https://pepy.tech/badge/pali)](https://pepy.tech/project/pali)

# Pali

Pali is a simple Thread Pool library for Python. It is compatible with Python3 as well as Python2.

Pali can be used for:
- Creating Data Pipelines.
- Handling requests in Messaging Brokers (on the top of TCP/IP layer).
- Simulating any stress testing systems.
- API Testing systems.

Usage
------------

Pali is simple to use. Pali's Worker Pool works on tasks with well defined interface in ```pali.task.Task```.
New Tasks can be extended from it as following. ```_run``` method is important and mandatory to define as the
Thread Pool internally looks and invokes this function as start of the task.

```python
>>> from pali import worker, task
>>> class MyTask(task.Task):
...     def __init__(self, ident):
...         self.task_id = ident
...         self.done = False
...
...     def _run(self):
...         self.done = True

```

Thread Pool in itself can work either as context manager or can be invoked manually. Example below shows it's use
as context manager.

```python
# create 10 tasks
>>> tasks = [MyTask(i) for i in range(10)]

# Start a Thread Pool with 3 thread and push tasks on it.
# Tasks are processed as and when they come.
>>> with worker.ThreadPool(3) as tpool:
...     _ = [tpool.append_task(t) for t in tasks]

# Check the status of Tasks
>>> status = [t.done for t in tasks]
>>> status
[True, True, True, True, True, True, True, True, True, True]
```

Further examples can be found at https://github.com/gitvipin/Pali/tree/master/tests that reflect different ways of using ThreadPool.


Requirements
------------
Python 2.7+ and Python 3.4+

Share and enjoy!
rutracker-api 0.22.92
Rutracker API provider
Requires Python: >=3.8,<4.0

# rutracker-api
Fork of https://github.com/raitonoberu/rutracker-api

# Requirements
    - python3-lxml
    - beautifulsoup4
    - requests

## Usage
```python
>>> from rutracker_api import RutrackerApi
>>> api = RutrackerApi()
>>> api.login("username", "password")
>>> search = api.search("ubuntu mate")
>>> search
{'count': 16, 'page': 1, 'total_pages': 1, 'result': [<Torrent 5956108>, <Torrent 5942849>, <Torrent 5710800>, <Torrent 5560789>, <Torrent 5533679>, <Torrent 5345515>, <Torrent 5336791>, <Torrent 5257800>, <Torrent 5099277>, <Torrent 4358219>, <Torrent 4857137>, <Torrent 4791999>, <Torrent 4692014>, <Torrent 4565546>, <Torrent 4348745>, <Torrent 4144976>]}
>>> result = search['result'][0]
>>> result.title
'[amd64] Ubuntu*Pack 20.04 MATE (сентябрь 2020)'
>>> result.get_magnet()
'magnet:?xt=urn%3Abtih%3AB2EDD8F9A0BEB1368A5EDEBBAB4907B53A69DCCA&tr=http%3A%2F%2Fbt2.t-ru.org%2Fann%3Fmagnet&dn=%5Bamd64%5D+Ubuntu%2APack+20.04+MATE+%28%D1%81%D0%B5%D0%BD%D1%82%D1%8F%D0%B1%D1%80%D1%8C+2020%29&as=http%3A%2F%2Frutracker.org%2Fforum%2Fviewtopic.php%3Ft%3D5956108'
```

## Documentation
Coming soon!
django-addanother 2.2.2
"Add another" buttons outside the Django admin

.. image:: https://travis-ci.org/jonashaag/django-addanother.svg?branch=master
    :target: https://travis-ci.org/jonashaag/django-addanother

django-addanother provides you with add-another buttons for forms outside the Django administration interface. It also provides an optional integration with django-select2_.

See documentation_ for details.

django-addanother has been extracted from django-autocomplete-light v2, after noticing that other apps copied the same code, to ease community maintenance.

.. _django-select2: http://django-select2.readthedocs.org/
.. _documentation: http://django-addanother.readthedocs.org/
pygreet 1.0.1
A simple greeting python package.

# PyGreet

A simple greeting python package.

## Install

To install the package, use the command below:

```
pip install pygreet
```

## Usage

```py
from helloworld import say_hello

# Generate "Hello, World!"
say_hello()

# Generate "Hello, Everybody!"
say_hello('Everybody!')
```

## Development

To prepare the dev environment, you need to run the command below in your virtualenv:

```bash
$ pip install -e .[dev]
```

To build the source code using, use the command below:

```bash
$ python setup.py bdist_wheel sdist
```

To publish the source distribution run the command below:

```bash
$ pip install twine

$ twine upload dist/*
```

### Using Docker

When using the docker compose setup, make sure to execute the commands below:

```bash
$ apk add --update --no-cache --virtual .tmp-build-deps gcc libc-dev linux-headers postgresql-dev && apk add libffi-dev
```

## License

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).