semvec/pypi-packages huggingface dataset:
pdftoimg 0.1.1
Easily convert PDF to Image from command line
License: MIT
Requires Python: >=3.6
Keywords: pdf-to-image convert

# [Pdf-To-Image](https://github.com/starkblaze01/Pdf-To-Image)
[![PyPI version](https://badge.fury.io/py/pdftoimg.svg)](https://badge.fury.io/py/pdftoimg) [![Downloads](https://pepy.tech/badge/pdftoimg)](https://pepy.tech/project/pdftoimg)


Simple Command Line tool to convert PDF to Image. It is a wrapper of [pdf2image](https://pypi.org/project/pdf2image/).

# How to Install
`pip install pdftoimg`

### You need to install poppler if you don't have already.
- For Windows you can install it from [here](https://anaconda.org/conda-forge/poppler/files).
- For MacOS you can install it from [here](http://macappstore.org/poppler/).

## How to use
- Open terminal.
- Run `pdftoimg -h` for help.

#### Usage:
- `pdftoimg -i <pdf_path> -o <output_folder_path> -f <format> -d <dpi> -g <True/False>`

#### Example usage:

To convert single PDF to image by specifying absolute path:
- `pdftoimg -i /Users/starkblaze01/Bova/file_name.pdf -o /Users/starkblaze01/output_folder`

To convert multiple PDFs in a directory to images in the sample folder:
- `pdftoimg -i /Users/starkblaze01/Bova/input_folder -o /Users/starkblaze01/output_folder`
- **Note:** Using this will convert all the PDFs present in input_folder directory and its sub-directories.

Definitions:
- -i for input pdf_file path
- -o for output_folder path
- -f for image format(Default: jpeg)
- -d for dpi(Default: 200)
- -g for grayscale image(Default: False)

## GIF
Click [here](https://github.com/starkblaze01/Pdf-To-Image/blob/master/GIFs) to see GIF of sample usage.


![](GIFs/pdftoimg.gif)


![](GIFs/Multiple_PDF.gif)
django-json-schema-validator 0.1.1
A Django app used to validate request and response objects for django apis.
License: MIT

Validator
=========

Validator is a Django app used to validate request and response objects for django apis.

Quick start
-----------

1. Add "validator" to your INSTALLED_APPS setting like this before your apps::

    INSTALLED_APPS = [
        ...
        'validator',
    ]

2. Add "validator.middleware.Validator" to your MIDDLEWARE setting like this::

    MIDDLEWARE = [
        ...
        'validator.middleware.Validator',
        'django.middleware.common.CommonMiddleware',
        ...
    ]

3. Add SCHEMA variable in settings.py, which gives the location of the schema.json file.

    SCHEMA = 'ext_app/schema.json'
   
4. Add DOCUMENTATION variable in settings.py, which gives the location of the DOC.md file to be generated.

    DOCUMENTATION = 'ext_app/DOC.md'

5. To generate api documentation from schema.json, run

   ``python3 manage.py gen_docs``
hns-notification 20.3
Thin wrappers around various notification systems
License: MIT
Requires Python: ~=3.6

# hns_notification
Thin wrapper around various notification systems. 

## Notifications available
1. Opsgenie

## Installation
`pip install hns-notification`

## Opsgenie usage
Below code snippet shows how to create alert on opsgenie. 
```python
# Import Opsgenie Class
from hns_notification.opsgenie import Opsgenie
# Your API key
api_key = 'api_key'

# Instantiate Opsgenie class
ops_genie = Opsgenie(api_key)

# Create the alert, pass the alert message body. 
# This always add a `_alert_timestamp` field to the details options in alert body
# Check https://docs.opsgenie.com/docs/python-sdk-alert#section-create-alert for details on accepted alert body fields.  
ops_genie.create_alert({
    'message': 'sample_msg',
    'alias': 'some-alias',
    'responders': [{
                'name': 'SampleTeam',
                'type': 'team'
              }],
    'visible_to': [
      {'name': 'Sample',
       'type': 'team'}],
    'actions': ['Restart', 'AnExampleAction'],
    'tags': ['OverwriteQuietHours'],
    'details': {'key1': 'value1',
             'key2': 'value2'},
    'entity': 'An example entity',
    'priority': 'P3',
    'description': 'Sample of SDK v2'
})
```
convertemppy 4.0.0
Easily convert between temperatures!
License: MIT
Requires Python: >=3.7,<4.0
Keywords: temperature,conversion

## convertempPy 

![](https://github.com/ttimbers/convertempPy/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/ttimbers/convertempPy/branch/master/graph/badge.svg)](https://codecov.io/gh/ttimbers/convertempPy) ![Release](https://github.com/ttimbers/convertempPy/workflows/Release/badge.svg)

[![Documentation Status](https://readthedocs.org/projects/convertemppy/badge/?version=latest)](https://convertemppy.readthedocs.io/en/latest/?badge=latest)

Easily convert between temperatures: Celsius, Kelvin & Fahrenheit! This is a toy package developed for the [UBC MDS DSCI 524 (Collaborative Software Development) course](https://github.com/UBC-MDS/DSCI_524_collab-sw-dev). 

### Installation:

```
pip install -i https://test.pypi.org/simple/ convertempPy
```

### Features
Contains functions for all permutations of conversions between Celsius, Kelvin and Fahrenheit. This package is an example for the UBC MDS DSCI 524 (Collaborative Software Development) course. Yup, that one!

### Dependencies

- Python 3 or greater

### Usage

Example usage:
```
>>> from convertempPy import convertempPy as tmp
>>> tmp.fahr_to_celsius(32)
```

```
0
```

### Documentation
The official documentation is hosted on Read the Docs: <https://convertempPy.readthedocs.io/en/latest/>

### Credits
This package was created with Cookiecutter and the UBC-MDS/cookiecutter-ubc-mds project template, modified from the [pyOpenSci/cookiecutter-pyopensci](https://github.com/pyOpenSci/cookiecutter-pyopensci) project template and the [audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage).