semvec/pypi-packages huggingface dataset:
pagpdf 0.9.2
Print number of PAGes in PDF files.
Requires Python: >=3.6

```
INSTALLATION

    $ pip3 install pagpdf

HELP

    $ pagpdf -h

USAGE

    $ pagpdf [-h] [-V] [-c] [-n] [-r] [-t] [-T] [file [file ...]]


Print number of PAGes in PDF files.

This simple utility prints file counter, number of pages and filename
for each given pdf file. Fields are separated by a '\t' (horizontal tab)
character.

Non-pdf files are silently skipped.

Empty or erroneous pdf files are reported as containing zero pages.

Examples:

    $ pagpdf * # list number of pages of all pdf files in current path

    $ pagpdf * 2>/dev/null # leave out warnings from pdfrw.PdfReader

POSITIONAL ARGUMENTS

  file                 files to be listed (non-pdf files are silently skipped)

OPTIONAL ARGUMENTS

  -h, --help           show this help message and exit
  -V, --version        show program's version number and exit
  -c, --csv-header     print CSV header as first line (default: don't)
  -n, --sort-by-pages  sort files by number of pages (default: sort by
                       filename)
  -r, --reverse        sort files in descending order (default: sort in
                       ascending order)
  -t, --total-too      print file list and total line (default: print file
                       list)
  -T, --total-only     print total line only (default: print file list)
```
beunique 0.1.3
A todo app to understand the building packages.
Keywords: python,data collection,data science,ML,todo,custom,custom package,beunique

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/beunique)  ![PyPI - Status](https://img.shields.io/pypi/status/beunique)  ![PyPI](https://img.shields.io/pypi/v/beunique) ![PyPI - License](https://img.shields.io/pypi/l/beunique)
# [beunique]

## This is a basic project for learning how to make the PIP([PyPI]) package

### To install the package!
#### On Windows:
```bash 
$ pip install beunique
```
#### On macOS and Linux:
```bash
$ sudo pip3 install beunique
```

# Changelog

Check the [changelog here].
### Available modules in beunique package is
```bash
|_beunique
  |_data_collection
  |_repeat
```
### How to use:
### Example 1:
```python
from beunique import data_collection
# instanciate a variable for data_collection class.
collector = data_collection() #A url or path is expected, default url is 'https://raw.githubusercontent.com/cs109/2014_data/master/countries.csv'
collector.print_head() #Default value of rows is 5.
```
#### output 
```text
   Country  Region
0   Algeria  AFRICA
1    Angola  AFRICA
2     Benin  AFRICA
3  Botswana  AFRICA
4   Burkina  AFRICA
```
### Example 2:
```python
collector.print_head(3) # Here we are specifying for 3 rows.
```
#### output
```text
   Country  Region
0  Algeria  AFRICA
1   Angola  AFRICA
2    Benin  AFRICA
```
### Example 3:
```python
from beunique import repeat
# instanciate a variable for repeat class.
repetitor = repeat() 
repetitor.print_repeat() #The default word is hello and count is 100.
```
#### output
```text
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
                hello hello hello hello hello 
```
### Example 4:
```python
repetitor.print_repeat("congrats",10) # Here we are specifying word as congrats for 10 times.
```
#### output
```text
            congrats congrats congrats congrats congrats 
            congrats congrats congrats congrats congrats
```

# License
[MIT License]

Copyright (c) 2020 [Dara Ekanth]

[PyPI]: https://pypi.org/
[changelog here]: https://github.com/Dara-Ekanth/todo_custom_package/releases
[beunique]: https://pypi.org/project/beunique/
[MIT License]: https://github.com/Dara-Ekanth/todo_custom_package/blob/master/LICENSE
[Dara Ekanth]: https://github.com/Dara-Ekanth/
django-localizedfields 0.19
An app to ease localization on model contents

======================
django-localizedfields
======================

.. image:: https://img.shields.io/pypi/v/django-localizedfields.svg
    :target: https://pypi.python.org/pypi/django-localizedfields

.. image:: https://img.shields.io/pypi/pyversions/django-localizedfields.svg
    :target: https://pypi.python.org/pypi/django-localizedfields

.. image:: https://img.shields.io/pypi/djversions/django-localizedfields
    :alt: PyPI - Django Version
    :target: https://pypi.python.org/pypi/django-localizedfields

Django-localizedfields is an app to ease localization, an extension of
`Django-CompositeField <https://github.com/bikeshedder/django-composite-field>`_


Installation
============

* Add localizedfields to `INSTALLED_APPS`
* Add `TranslatableAdminMixin` to your ModelAdmins


Tests
=====

Run tests with `tox`
cdsr-pack 0.0.3a2
CDSR pack is a package to store common functions from CDSR project.
Requires Python: >=3.6

# cdsr_pack

CDSR pack is a package to store common functions from CDSR project.


## Installation

```
$ pip install cdsr-pack==<version>
```

Look at [here](https://pypi.org/project/cdsr-pack/#history) to see the available versions.


## Usage

```python
>>> from cdsr_pack import build_collection, build_item, decode_path

>>> image = ('/TIFF/AMAZONIA1/2021_03/AMAZONIA_1_WFI_DRD_2021_03_03.12_57_40_CB11/'
             '217_015_0/2_BC_LCC_WGS84/AMAZONIA_1_WFI_20210303_217_015_L2_BAND4.tif')

>>> decoded_image = decode_path(image)

>>> decoded_image
{
    'satellite': 'AMAZONIA1', 'sensor': 'WFI', 'path': '217', 'row': '015',
    'date': '2021-03-03', 'geo_processing': '2', 'radio_processing': 'DN',
    'antenna': 'CB11'
}

>>> build_collection(decoded_image)
'AMAZONIA1_WFI_L2_DN'

>>> build_item(decoded_image)
'AMAZONIA1_WFI_217015_20210303_CB11'
```

## Development

Install a specific Python version and create a virtualenv with it. For example:

```
$ pyenv install 3.8.5 && \
    pyenv virtualenv 3.8.5 inpe_cdsr_cdsr_pack
```

Activate the virtualenv and install the dependencies inside it:

```
$ pyenv activate inpe_cdsr_cdsr_pack && \
    pip install -r requirements.txt
```


### Testing

Activate the virtualenv:

```
$ pyenv activate inpe_cdsr_cdsr_pack
```

Run the test cases:

```
$ python -m unittest discover tests "test_*.py" -v
```

Or, run the test cases and get coverage report:

```
$ coverage run -m unittest discover tests "test_*.py" -v &&
    coverage report -m &&
    coverage html
```