semvec/pypi-packages huggingface dataset:
cryptohash 1.0.5
Tiny hashing module that uses the native crypto API in Python

## Crypto Hash

> Tiny hashing module that uses the native crypto API in Python

## Demo

Demo on [Repl.it](https://repl.it/@yoginth/cryptohash)

## Screenshot

<img src="https://gitlab.com/yoginth/cryptohash/raw/master/Screenshot.png" width="550">

## Install

```
$ pip install cryptohash
```

## Usage

```python
from cryptohash import sha1

print (sha1('��'))
#=> d0b16946377589fbc68d8b1ca324f16e84171463
```

## API

## API

### sha1(input)
### sha224(input)
### sha256(input)
### sha384(input)
### sha512(input)

### md5(input)

Returns a `Promise<string>` with a hex-encoded hash.

*Don't use `md5` or `sha1` for anything sensitive. [They're insecure.](http://googleonlinesecurity.blogspot.no/2014/09/gradually-sunsetting-sha-1.html)*

#### input

Type: `string`

##### outputFormat

Type: `string`
Values: `hex`
Default: `hex`

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
ispublicdomain 1.0.2
Check if a domain is public

## Is Public Domain

> Check if a domain is public

## Screenshot

<img src="https://gitlab.com/yoginth/ispublicdomain/raw/master/Screenshot.png" width="550">

## Install

```
$ pip install ispublicdomain
```

## Usage

```python
import ispublicdomain as domain

domain.check('http://google.com')
#=> True
```

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
isredirect 1.0.1
Check if a number is a redirect HTTP status code

## isRedirect

> Check if a number is a redirect HTTP status code

## Demo

Demo on [Repl.it](https://repl.it/@yoginth/isredirect)

## Screenshot

<img src="https://gitlab.com/yoginth/isredirect/raw/master/Screenshot.png" width="550">

## Install

```
$ pip install isredirect
```

## Usage

```python
from isredirect import isRedirect

isRedirect(300)
#=> True

isRedirect(200)
#=> False
```

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
isgitlabdown 1.0.4
Check if GitLab is down

## Is GitLab Down

> Check if GitLab is down

## Inspired From

- [Sindresorhus's is-github-down](https://github.com/sindresorhus/is-github-down)

## Install

```
$ pip install isgitlabdown
```

## Usage

```
$ isgitlabdown

 �� It's down.

$ isgitlabdown

 �� It's up.
```

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
isgithubdown 1.0.4
Check if GitHub is down

## Is GitHub Down

> Check if GitHub is down

## Inspired From

- [Sindresorhus's is-github-down](https://github.com/sindresorhus/is-github-down)

## Install

```
$ pip install isgithubdown
```

## Usage

```
$ isgithubdown

 �� It's down.

$ isgithubdown

 �� It's up.
```

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
mathavg 1.0.1
Get the average of numbers

## Math Avg

> Get the average of numbers

## Screenshot

<img src="https://gitlab.com/yoginth/mathavg/raw/master/Screenshot.png" width="550">

## Install

```
$ pip install mathavg
```

## Usage

```python
from mathavg import mathAvg

mathAvg([1, 2, 3, 4, 5, 6, 7])
#=> 4.0
```

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
ghavatar 1.0.2
Get the avatar of a GitHub user

## GitHub Avatar

> Get the avatar of a GitHub user

## Screenshot

<img src="https://gitlab.com/yoginth/ghavatar/raw/master/Screenshot.png" width="550">

## Install

```
$ pip install ghavatar
```

## Usage

```python
import ghavatar as avatar

avatar.get('iamyoginth')
#=> https://avatars2.githubusercontent.com/u/26025640?v=4
```

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
ghuser 1.0.1
Get user info from a GitHub username

## GitHub

> Get user info from a GitHub username

## Install

```
$ pip install ghuser
```

## Usage

```python
import ghuser as user

user.get('iamyoginth')

"""
{
   'username': 'iamyoginth',
   'bio': 'Open-Source Enthusiast • Developer & Toolmaker • Pythonista �� • Issue Resolver • Support me on Patreon: yoginth ⭐',
   'company': None,
   'location': 'Parallel Universe',
   'repos': 54,
   'followers': 2,
   'following': 11,
   'website_url': 'https://t.me/yoginth',
   'id': 26025640,
   'avatar_url': 'https://avatars2.githubusercontent.com/u/26025640?v=4',
   'web_url': 'https://github.com/iamyoginth'
}
"""
```

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
leapyear 1.0.1
Check if a year is a leap year

## Leap Year

> Check if a year is a leap year

## Screenshot

<img src="https://gitlab.com/yoginth/leapyear/raw/master/Screenshot.png" width="550">

## Install

```
$ pip install leapyear
```

## Usage

```python
import leapyear

leapyear.get(2016)
#=> True

leapyear.get(2018)
#=> False
```

## API

### leapyear.get(input)

#### input

Type: `string` or `number`

Year to check.

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
glavatar 1.0.1
Get the avatar of a GitLab user

## GitLab Avatar

> Get the avatar of a GitLab user

## Screenshot

<img src="https://gitlab.com/yoginth/glavatar/raw/master/Screenshot.png" width="550">

## Install

```
$ pip install glavatar
```

## Usage

```python
import glavatar as avatar

avatar.get('yoginth')
#=> https://secure.gravatar.com/avatar/554506e208edaf6c95dc896105b898f0?s=80&d=identicon
```

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
unipad 1.0.1
�� Left pad a string with Unicorns

## Uni Pad

> �� Left pad a string with Unicorns

## Screenshot

<img src="https://gitlab.com/yoginth/unipad/raw/master/Screenshot.png" width="550">

## Install

```
$ pip install unipad
```

## Usage

```python
import unipad

unipad.pad('yoginth', 10)
#=> ������yoginth
```

## API

### unipad.pad(input, length)

Pads `input` with unicorns on the left side if it's shorter than `length`. Padding unicorns are truncated if they exceed `length`.

#### input

Type: `string`

String to pad.

#### length

Type: `number`<br>
Default: `0`

Padding length.

## License

[MIT][license] Yoginth

[LICENSE]: https://mit.yoginth.com
yeardays 1.0.2
Get the number of days in a year

## Year Days

> Get the number of days in a year

## Screenshot

<img src="https://gitlab.com/yoginth/leapyear/raw/master/Screenshot.png" width="550">

## Install

```
$ pip install yeardays
```

## Usage

```python
import yeardays

yeardays.get(2016)
#=> 366

yeardays.get(2018)
#=> 365
```

## API

### yeardays.get(input)

#### input

Type: `string` or `number`

Year to get days.

## License

[MIT][license]

[LICENSE]: https://mit.yoginth.com
isdocker 1.0.0
Check if the process is running inside a Docker container

## isDocker [![pipeline status](https://gitlab.com/yoginth/isdocker/badges/master/pipeline.svg)](https://gitlab.com/yoginth/isdocker/commits/master)

> Check if the process is running inside a Docker container

## Demo

Demo on [Repl.it](https://repl.it/@yoginth/isdocker)

## Install

```
$ pip install isdocker
```

## Usage

```python
from isdocker import isDocker

if (isDocker()):
    print('Running inside a Docker container');
else:
    print('Running outside the Docker container');
```

## License

[MIT][LICENSE] Yoginth

[LICENSE]: https://mit.yoginth.com