semvec/pypi-packages huggingface dataset:
checkalive 0.2.2
Check the status of the service by checking whether the IP exists whether the PROCESS exists or whether the LISTENING PORT exists
License: MIT
Keywords: checkalive,checkip,checkproc,checkport

# checkalive

Check the status of the service by checking whether the IP exists whether the PROCESS exists or whether the LISTENING PORT exists.


## Install

```
    pip install checkalive
```

## Command line tools installed

- checkalive
- checkip
- checkport
- checkproc

## Usage

```shell
C:\Code>checkalive --help
Usage: checkalive [OPTIONS] COMMAND [ARGS]...

  Check the status of the service by checking whether the IP exists whether
  the PROCESS exists or whether the LISTENING PORT exists.

Options:
  --help  Show this message and exit.

Commands:
  checkip    Check the IP address exists or not.
  checkport  Check the listening port exists or not.
  checkproc  Check process is still running or not.

C:\Code>checkip --help
Usage: checkip [OPTIONS] IP

  Check the IP address exists or not.

Options:
  -i, --nic TEXT
  --help          Show this message and exit.

C:\Code>checkport --help
Usage: checkport [OPTIONS] PORT

  Check the listening port exists or not.

Options:
  -i, --nic TEXT
  -p, --proto [tcp|tcp4|udp|udp4|inet|inet4|inet6|tcp6|udp6]
                                  Default to tcp.
  --help                          Show this message and exit.

C:\Code>checkproc --help
Usage: checkproc [OPTIONS]

  Check process is still running or not.

  Notice: parameter can be one and only one of pid、pidfile、command.

Options:
  -i, --pid INTEGER
  -f, --pidfile TEXT
  -c, --command TEXT
  --help              Show this message and exit.
```

## Release

### v0.2.2 2019/12/13

- Fix setup.py, add ipaddress dependence in python2.

### v0.2.1 2019/12/13

- Fix ip parse problem in centos7. In centos7, the ip address may has %eth0 suffix.

### v0.2.0 2019/12/13

- Change the language of help information from chinese to english.
- Fix setup keywords.


### v0.1.9 2019/06/24

- Add ip check.
- Add proc check.
- Add port check.
ossTools 0.1.16
Useful tools that simplify OSS file operation.
License: MIT

## Useful tools for OSS
Makes your experience with OSS easier.

### Quick start

```bash
pip install ossTools
```

**Caution: Currently, only the following functions are tested:**
- ossInit
- ossOpen
- imRead
- imWrite
- ossListFile
- ossListDir
- ossIsFile
- ossIsDir
- ossDownloadFile
- ossUploadFile

Please report any problems with other untested functions to me, thanks!

Email: [Ziheng Zhang (Suyue)](mailto:suyue.zzh@alibaba-inc.com)

```python
from ossTools import *

ossInit(
        bucket='bucket-name',
        access_id='your-access-id',
        access_key='your-access-key',
        endpoint='oss-cn-hangzhou.aliyuncs.com',
)

# Read file, multiprocess safe!
with ossOpen("some/path/in/the/bucket", "r") as fp:
    print(fp.read())

# Write file, multiprocess safe!
with ossOpen("some/path/in/the/bucket", "w") as fp:
    # Python3
    print("Hello, world!", file=fp)
    # Python2
    fp.write("Hello, world!\n")

# Open and show an image with OpenCV
import cv2
# Use wrapped imRead/imWrite function in ossTools instead of cv2.imread
img = imRead("some/image.jpg", flags=cv2.IMREAD_ANYCOLOR | cv2.IMREAD_ANYDEPTH)
cv2.imshow("img", img)
cv2.waitKey()

# Integrate with tensorboardX
import tensorboardX as tb
writter = tb.SummaryWriter(log_dir="oss://bucket/path/to/oss/dir")
writter.add_scalar("train/loss", some_loss, global_step=iters)

# File Utils
# Check file existence
assert ossIsFile("path/to/file"), "File {} does not exist!".format("path/to/file")
# List files in a dir
print(ossListFile("path/to/dir"))
# Or list dirs in a dir
print(ossListDir("path/to/dir"))

# Download/Upload/Delete/Copy
ossDownloadFile("remote/path", "local/path", progress_callback=lambda per: print("{}% downloaded.".format(per)))
ossUploadFile("remote/path", "local/path", overwrite=True, progress_callback=lambda per: print("{}% uploaded.".format(per)))
ossDeleteFile("path/to/file")
ossDeleteDir("path/to/dir", iterative=True)
ossCopyFile("source/file", "target/file")
```
booru-note-copy 1.1.0
copy translations between booru-style imageboards
License: MIT
Requires Python: >=3.5

# note_copy
## Copy translation notes between booru-style imageboards


[![Build Status](https://api.travis-ci.com/torsten-ostgard/booru-note-copy.svg?branch=master)](https://travis-ci.com/torsten-ostgard/booru-note-copy)
[![Codecov](https://codecov.io/gh/torsten-ostgard/booru-note-copy/branch/master/graph/badge.svg)](https://codecov.io/gh/torsten-ostgard/booru-note-copy)


## Introduction
`note_copy` is a program that copies translation notes from one booru post to another, either on the same site or across sites.


## Installation
The recommended way to install the `booru-note-copy` module is to simply use [`pipenv`](https://pipenv.org/):
```
$ pipenv install booru-note-copy
```
Or, if you prefer plain, old `pip`:
```
$ pip install --user booru-note-copy
```
Once installed, the program is accessible as `note_copy`.


## Example
To copy notes between posts, simply supply two post IDs:
```
$ note_copy --source d1671559 --destination g2244172
```
This will copy the notes from the source and change the tags on the destination post as necessary. On first usage, you will be prompted for your login information for each site used so that the notes can be created with your account. If you choose to store this data, the files are created in the `.note_copy` directory inside your home directory. For sites that require passwords, only the hash of the password is stored.

The script can also read from a file to copy notes between multiple pairs at once. The file should have a pair of post IDs per line, with the IDs separated by whitespace.
```
$ cat ids
d1671559 g2244172
d1701853 g2283415
$ note_copy --file ids
```
The lower-case prefixes are called short codes and can be used to identify the site on which the post is located. Alternatively, the full domain of the site can be used instead of the short code, e.g. `gelbooru.com2244172`.

`note_copy` is also able to be run as a module:
```
$ python -m note_copy -s d1102540 -d g1433185
```


## Requirements
- Python 3.5+


## Usage
```
usage: note_copy [-h] [-s SOURCE] [-d DESTINATION] [-f FILE]

optional arguments:
  -h, --help            show this help message and exit
  -s SOURCE, --source SOURCE
                        The post from which notes will be copied
  -d DESTINATION, --destination DESTINATION
                        The post to which notes will be copied
  -f FILE, --file FILE  File containing post pairs, separated by whitespace,
                        one per line
```
You need to provide either a source/destination combo or a file; you cannot use both sets of arguments simultaneously.


## Supported sites
| Site Name       | Short Code   | Domain               | Login Information           |
|-----------------|--------------|----------------------| --------------------------- |
| Danbooru        | `d`          | `danbooru.donmai.us` | Username, API key           |
| Gelbooru        | `g`          | `gelbooru.com`       | Username, password, API key |
django-typeform-feedback 0.2.5
Use typeform as feedback with Django
License: MIT
Keywords: python,django,typeform,feedback

=============================
django-typeform-feedback
=============================

.. image:: https://badge.fury.io/py/django-typeform-feedback.svg
    :target: https://badge.fury.io/py/django-typeform-feedback

.. image:: https://requires.io/github/exolever/django-typeform-feedback/requirements.svg?branch=master
     :target: https://requires.io/github/exolever/django-typeform-feedback/requirements/?branch=master
     :alt: Requirements Status

.. image:: https://travis-ci.org/exolever/django-typeform-feedback.svg?branch=master
    :target: https://travis-ci.org/exolever/django-typeform-feedback

.. image:: https://codecov.io/gh/exolever/django-typeform-feedback/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/exolever/django-typeform-feedback

.. image:: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat
   :target: https://github.com/exolever/django-typeform-feedback/issues

.. image:: https://img.shields.io/badge/License-MIT-green.svg
   :target: https://opensource.org/licenses/MIT

Use typeform as feedback with Django

Quickstart
----------

Install django-typeform-feedback::

    pip install django-typeform-feedback

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'typeform_feedback',
        ...
    )

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
sthree 0.1.2
A suite of typed data structures backed by Amazon S3.
License: MIT

# Typed access to Amazon S3 for humans

## Installation

```shell script
pip install sthree
```

`sthree` requires `boto3` for its operation, but it is not listed as package dependency because, if you'd want to use `sthree` in AWS Lambda, you do not need to install `boto3` there - since it is already installed.

If you're not using Lambda you may run

```shell script
pip install sthree[boto]
```

to make sure all dependencies are satisfied.

## Usage Examples

```python
from sthree import Keys
from itertools import islice    

for key in islice(Keys('my-bucket'), 10):
    print(key)

```

## Motivation

Motivation to build this library is to simplify using Amazon S3 in Python applications and to make development experience a bit more pleasant and Pythonic, as well as to benefit from Python's type hinting capabilities.