semvec/pypi-packages huggingface dataset:
fswatch 0.1.1
Python wrapper for the libfswatch
License: MIT
Requires Python: >=3.5

# Python fswatch

Cross-platform filesystem event monitor for Python.

This is wrapper for the [libfswatch](https://github.com/emcrisostomo/fswatch/)


## Install

```sh
brew install fswatch
pip install fswatch
```


## Usage

```python
from fswatch import Monitor

monitor = Monitor()
monitor.add_path("/tmp/test/")


def callback(path, evt_time, flags, flags_num, event_num):
    print(path.decode())


monitor.set_callback(callback)
monitor.start()
```

Low level functions can be accessed via `libfswatch` module.

It is implemented one to one with this [header file](https://github.com/emcrisostomo/fswatch/blob/master/libfswatch/src/libfswatch/c/libfswatch.h)

```python
from fswatch import libfswatch

libfswatch.fsw_init_library()
handle = fsw_init_session(0)
...
```
google-music-manager-auth 1.3.1
Google MusicManager package to manage your music library to Google Music - Auth module
License: MIT
Requires Python: >=3

.. image:: https://raw.githubusercontent.com/jaymoulin/google-music-manager-auth/master/logo.png
    :alt: logo
    :target: http://github.com/jaymoulin/google-music-manager-auth

=====================================
Google Music Manager - Authentication
=====================================



.. image:: https://img.shields.io/github/release/jaymoulin/google-music-manager-auth.svg
    :alt: latest release
    :target: http://github.com/jaymoulin/google-music-manager-auth/releases
.. image:: https://img.shields.io/pypi/v/google-music-manager-auth.svg
    :alt: PyPI version
    :target: https://pypi.org/project/google-music-manager-auth/
.. image:: https://github.com/jaymoulin/jaymoulin.github.io/raw/master/ppl.png
    :alt: PayPal donation
    :target: https://www.paypal.me/jaymoulin
.. image:: https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png
    :alt: Buy me a coffee
    :target: https://www.buymeacoffee.com/3Yu8ajd7W
.. image:: https://badgen.net/badge/become/a%20patron/F96854
    :alt: Become a Patron
    :target: https://patreon.com/jaymoulin

(This product is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added.)

This program will replace former Google MusicManager to upload your music library to Google Music

This work is based upon `Simon Weber's Google Music API <https://github.com/simon-weber/gmusicapi>`_.

Installation
------------

.. code::

    apt-get install python3-pip build-essential
    pip3 install google-music-manager-auth


Once installed, You have to authenticate to Google Music via the `google-music-auth` command

.. code::

    # Usage google-music-auth [path_to_oauth_cred_file=~/oauth]


If first parameter is not defined, the script will try to store/load your oauth credentials through the `~/oauth` file.

Then follow prompted instructions.

You will be asked to go to a Google URL to allow the connection:

.. code::

    Visit the following url:
        https://accounts.google.com/o/oauth2/v2/auth?client_id=XXXXXXXXXXX.apps.googleusercontent.com&access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fmusicmanager&response_type=code&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob
    Follow the prompts, then paste the auth code here and hit enter:

=====
About
=====

Requirements
------------

Google Music Uploader works with Python 3 or above.
It requires `Simon Weber's Google Music API <https://github.com/simon-weber/gmusicapi>`_.

Submitting bugs and feature requests
------------------------------------

Bugs and feature request are tracked on GitHub

Author
------

Jay MOULIN jaymoulin@gmail.com See also the list of contributors which participated in this program.

License
-------

Google Music Uploader is licensed under the MIT License
dentoscrapper 0.1.4
Useful tools for scrapping textbook centre images
License: MIT
Keywords: WebSrapper,Data Mining,Textbook centre,Web scrapping

Useful tools for websrapping textbook centre images

# Description

It consists of two main modules:

- `beautifulsoup4`: tool for webscapping
- `pysimplegui`: tools to work with python GUI

# Installation

## Normal installation

```bash
pip install dentoscrapper
```
## Usage

```bash
python3 -m tbcscrapper
```

## Development installation

```bash
git clone https://github.com/Denniskamau/TextbookcentreWebScrapper

```


# Change log

## [0.1.1] - 2020-04-11
- Initial release
igeAppsFlyer 0.0.2
C++ extension AppsFlyer for 3D and 2D games.
License: MIT
Keywords: AppsFlyer 3D game Indigames

# igeAppsFlyer

C++ extension AppsFlyer for 3D and 2D games.

### Before running this tutorial, you have to install igeAppsFlyer
	[pip install igeAppsFlyer]
spotiflite 1.0.0
scrapes spotify starting from an artist id, stores in sqlite
License: MIT
Requires Python: >=3.7,<4.0
Keywords: spotify,scraping,sqlite

<img src="https://github.com/sloev/spotiflite/raw/master/assets/logo.png" width="300"/>

# Spotiflite

[![Build Status](https://travis-ci.com/sloev/spotiflite.svg?branch=master)](https://travis-ci.com/sloev/spotiflite) [![Latest Version](https://img.shields.io/pypi/v/spotiflite.svg)](https://pypi.python.org/pypi/spotiflite)

Scrapes Spotify and dumps data to a sqlite3 database.

* Uses `requests` to make queries, with pythonic user-agent
* sleeps randomly between each HTTP call
* is *NOT* in a hurry to get anywhere
* has nice 80's cli interface

## Install

```bash
$ pip install spotiflite
```

then go somewhere and setup a database:

```bash
$ spotiflite setup
```

you can also specify the db filename:

```bash
$ spotiflite --spotifydb=this/awesome/db setup
```

## Usage

For example scrape **Frank ෴ Zappa** 

```bash
$ spotiflite scrape 6ra4GIOgCZQZMOaUECftGN 
got 44 artist ids
extracted data for Tom Waits
saved data for Tom Waits
got 8 artist ids
extracted data for Elmer Snowden
saved data for Elmer Snowden
got 6 artist ids
extracted data for Wesley Willis
saved data for Wesley Willis
...
```

while its running you can get stats in another window

```bash
$ spotiflite stats 
rows: 9882
completed: 1395
jobs to do: 8487
DB size: 48.04 MB
```

### Cli usage

```bash
Usage: spotiflite.py [OPTIONS] COMMAND [ARGS]...

Options:
  -db, --spotifydb TEXT  sqlite filename [default: spotify.db]
  --help                 Show this message and exit.

Commands:
  scrape    starts scraping from given artist id
  setup     creates tables
  stats     print out db stats
  teardown  deletes tables

```
seis-acc 0.4.0
Auto-Correlogram Calculation in seismology
License: MIT

[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.3674643.svg)](http://dx.doi.org/10.5281/zenodo.3674643)
[![PyPI version](https://badge.fury.io/py/seis-acc.svg)](https://badge.fury.io/py/seis-acc)
[![GitHub license](https://img.shields.io/github/license/weijias-opensource/acc)](https://github.com/weijias-opensource/acc/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/weijias-opensource/acc)](https://github.com/weijias-opensource/acc/issues)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/seis-acc)
![PyPI - Downloads](https://img.shields.io/pypi/dm/seis-acc)


# ACC: Auto-Correlogram Calculation in seismology

Extracting P-wave reflections between the free surface and the lithospheric discontinuities to image the subsurface structures.

## Requirements

* Python 3 
* python packages including: 'click', 'commentjson', 'geographiclib', 'matplotlib>=2', 'numpy', 'obspy>=1.0.3', 'pandas', 'setuptools', 'shapely', 'scipy>=0.19.0', 'tqdm'

## Installation

Here I offer two conventional ways to install the package. The first is downloading the code via git clone command.

```
>>> git clone https://github.com/weijias-opensource/acc.git
```

and enter the main directory of the package where the `setup.py` file is, then execute

```
>>> python setup.py install
```
. The second is just simply to execute the command of 

```
>>> pip install seis-acc
```

I strongly suggest you install [Anaconda3](https://docs.anaconda.com/anaconda/install/) first, since 


>Anaconda Distribution is a free, easy-to-install package manager, environment manager, and Python distribution with a collection of 1,500+ open source packages with free community support. Anaconda is platform-agnostic, so you can use it whether you are on Windows, macOS, or Linux.


This allow you to install the acc package using the second way above easily.


## Tutorials

Please go the the example directory and run 

```
>>> sh run.sh
``` 

for a simple example of the Warramungga array data. 

More information can be found at https://acc.readthedocs.io/en/latest/index.html.


## Deployment

The package could be run on all operating systems, including Windows, Mac and Linux. But the package is well-tested on Ubuntu Linux (19.10) with Anaconda3 at now.

## Authors

* **Weijia Sun**

If you have any suggestions to help improve the package, please let me know and I will try to carry them out as soon.

## Contributors

* **B. L. N. Kennett**
* **Huaiyu Yuan**

## Acknowledgments

The author learned to write a flexible, practical and modern software for friendly usage from other packages. More, a small part of code in this package is also reproduced from other projects.

* [rf](https://github.com/trichter/rf)
* [seispy](https://github.com/xumi1993/seispy)
* [obspy](https://github.com/obspy/obspy)
RoboBandit 1.2
Robot Framework Library for Python's Bandit SAST Product and PyUP Safety SCA Scanner for Python
License: MIT

## RoboBandit

Robot Framework Library for Python's Bandit SAST Tool and PyUP's Safety SCA tool

**Supports Python 2.7.x for now**

### Install Instructions
* You need docker to run this program
* Pull the brakeman docker image: `docker pull abhaybhargav/robobandit`
* Install the RoboBandit Library with `pip install RoboBandit`
* Create a `.robot` file that includes the keywords used by RoboBandit Library


### Keywords

`run bandit against python source`

`| run bandit against python source  | source code path  | results path`

* source code path: where your ruby source code is located currently
* results path: where your results will be stored. An `.json` file is generated as outputs

`run safety against python source`

`| run safety against python source  | source code path  | results path`

**please note that the `requirements.txt` file needs to be at the top level directory of `/src`**

* source code path: where your ruby source code is located currently
* results path: where your results will be stored. An `.json` file is generated as outputs
pytest-django-rq 0.2.0
A pytest plugin to help writing unit test for django-rq
License: MIT
Requires Python: >=3.6

# pytest-django-rq


A pytest plugin to help writing unit test for django-rq.

<p align="center">
<a href="https://github.com/ein-plus/pytest-django-rq/actions?query=workflow%3Abuild"><img alt="build" src="https://github.com/ein-plus/pytest-django-rq/workflows/build/badge.svg"></a>
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
</p>

This plugin provides a `django_rq_worker` fixture which has a `work()` method
to run all enqueued jobs in current process.


## Usage

```python
def test_async_api(django_rq_worker):
    client = django.test.Client()

    # Call an async API
    response = client.post(URL)
    assert response.status_code == 201  # Accepted

    # now let's run all enqueued jobs
    django_rq_worker.work()

    # assert the async jobs has taken place.
    assert ...
```