semvec/pypi-packages huggingface dataset:
imagenet-c 0.0.3
Access to ImageNet-C corruption functions

# ImageNet-C Corruption Functions

With this package, it is possible to corrupt an image with ImageNet-C corruptions.
These functions are exposed with the function ```corrupt```.

Try
```
from imagenet_c import corrupt

corrupt(<image>, corruption_number=0)
```

The ```corrupt``` function looks like
```
def corrupt(x, severity=1, corruption_name=None, corruption_number=-1):
    """
    :param x: image to corrupt; a 224x224x3 numpy array in [0, 255]
    :param severity: strength with which to corrupt x; an integer in [0, 5]
    :param corruption_name: specifies which corruption function to call;
    must be one of 'gaussian_noise', 'shot_noise', 'impulse_noise', 'defocus_blur',
                    'glass_blur', 'motion_blur', 'zoom_blur', 'snow', 'frost', 'fog',
                    'brightness', 'contrast', 'elastic_transform', 'pixelate', 'jpeg_compression',
                    'speckle_noise', 'gaussian_blur', 'spatter', 'saturate';
                    the last four are validation functions
    :param corruption_number: the position of the corruption_name in the above list;
    an integer in [0, 18]; useful for easy looping; 15, 16, 17, 18 are validation corruption numbers
    :return: the image x corrupted by a corruption function at the given severity; same shape as input
    """
    ...

```
anyblok_address 1.2.2
Address management
Keywords: anyblok_address

.. This file is a part of the AnyBlok project
..
..    Copyright (C) 2014 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr>
..
.. This Source Code Form is subject to the terms of the Mozilla Public License,
.. v. 2.0. If a copy of the MPL was not distributed with this file,You can
.. obtain one at http://mozilla.org/MPL/2.0/.

.. image:: https://travis-ci.org/AnyBlok/anyblok_address.svg?branch=master
    :target: https://travis-ci.org/AnyBlok/anyblok_address
    :alt: Build status

.. image:: https://coveralls.io/repos/github/AnyBlok/anyblok_address/badge.svg?branch=master
    :target: https://coveralls.io/github/AnyBlok/anyblok_address?branch=master
    :alt: Coverage

.. image:: https://img.shields.io/pypi/v/anyblok_address.svg
   :target: https://pypi.python.org/pypi/anyblok_address/
   :alt: Version status

.. image:: https://readthedocs.org/projects/anyblok-address/badge/?version=latest
    :alt: Documentation Status
    :scale: 100%
    :target: https://anyblok-address.readthedocs.io/en/latest/


===============
Anyblok Address
===============

Address management

AnyBlok is released under the terms of the `Mozilla Public License`.

See the `latest documentation <http://doc.anyblok-address.anyblok.org>`_


Features
--------

* TODO

Author
------

Franck Bret
f.bret@sensee.com
https://github.com/franckbret

Hugo Quezada
h.quezada@sensee.com
https://github.com/gohuhq

Contributors
------------

Jean-Sebastien Suzanne
jssuzanne@anybox.fr
https://github.com/jssuzanne

Credits
-------

.. _`anyblok_address`: https://github.com/AnyBlok/anyblok_address


==========
Change Log
==========

All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

1.2.2 (2018-10-06)
------------------

* Removed VERSION file, the version is filled directly in setup.py

1.2.1 (2018-05-30)
------------------

* Update dépendencies AnyBlok and anyblok_io

1.2.0 (2018-05-23)
------------------

* Add **Mixin.BooleanReadOnly** on address model

1.1.0 (2018-05-16)
------------------

* Use latest, newest columns from AnyBlok: Country, PhoneNumber, Email

1.0.0 (2018-03-07)
------------------

Main version of Anyblok Address. What is available with this version:

* A basic address model ready to use