semvec/pypi-packages huggingface dataset:
nanoid 2.0.0
A tiny, secure, URL-friendly, unique string ID generator for Python
License: MIT

# Nano ID

[![CircleCI](https://circleci.com/gh/puyuan/py-nanoid/tree/master.svg?style=svg)](https://circleci.com/gh/puyuan/py-nanoid/tree/master)

A tiny, secure, URL-friendly, unique string ID generator for Python.

* __Safe__. It uses cryptographically strong random APIs and tests distribution of symbols;
* __Compact__. It uses a larger alphabet than UUID (A-Za-z0-9_-). So ID size was reduced from 36 to 21 symbols.

## Usage

Install Nano ID using pip:

```
pip install nanoid
```

### Normal

The main module uses URL-friendly symbols (A-Za-z0-9_-) and returns an ID with 21 characters (to have a collision probability similar to UUID v4).


```python
from nanoid import generate

generate() # => NDzkGoTCdRcaRyt7GOepg
```

Symbols `-,.()` are not encoded in the URL. If used at the end of a link they could be identified as a punctuation symbol.

If you want to reduce ID length (and increase collisions probability), you can pass the length as an argument.

```python
from nanoid import generate

generate(size=10) # => "IRFa-VaY2b"

```

Don’t forget to check the safety of your ID length in ID [collision probability calculator](https://zelark.github.io/nano-id-cc/).


## Custom Alphabet or Length

If you want to change the ID's alphabet or length you can use the internal generate module.

```python
from nanoid import generate

generate('1234567890abcdef', 10) # => "4f9zd13a42"
```

Non-secure API is also available:

```python
from nanoid import non_secure_generate

non_secure_generate('1234567890abcdef', 10)
```

## Tools

* [ID size calculator](https://zelark.github.io/nano-id-cc/) to choice smaller ID size depends on your case.
nanoid-dictionary with popular alphabets to use with nanoid/generate;
* [`nanoid-dictionary`](https://github.com/aidarkhanov/py-nanoid-dictionary) with popular alphabets to use.



## Other Programming Languages

* [C#](https://github.com/codeyu/nanoid-net)
* [Clojure and ClojureScript](https://github.com/zelark/nano-id)
* [Crystal](https://github.com/mamantoha/nanoid.cr)
* [Dart](https://github.com/pd4d10/nanoid)
* [Go](https://github.com/matoous/go-nanoid)
* [Elixir](https://github.com/railsmechanic/nanoid)
* [Haskell](https://github.com/4e6/nanoid-hs)
* [Java](https://github.com/aventrix/jnanoid)
* [JavaScript](https://github.com/ai/nanoid)
* [Nim](https://github.com/icyphox/nanoid.nim)
* [PHP](https://github.com/hidehalo/nanoid-php)
* [Ruby](https://github.com/radeno/nanoid.rb)
* [Rust](https://github.com/nikolay-govorov/nanoid)
* [Swift](https://github.com/antiflasher/NanoID)


## Changelog
- v2.0.0
    - Replace ~ to - in default alphabet
    - Add non-secure fast generator
    - Reduce default characters from 22 to 21
- v0.3.0
    - Fix array out of bound error.

## Credits

- Andrey Sitnik for [Nano ID](https://github.com/ai/nanoid);
- [Dair Aidarkhanov](https://github.com/aidarkhanov) for main contribution to v2.0, and adding test cases.
- Aleksandr Zhuravlev for [ID collision probability](https://zelark.github.io/nano-id-cc/).
django-postgres-utils 0.1.2
Django Utilities for Postgresql
License: MIT
Keywords: django-postgres-utils

=============================
Django Postgres Utils
=============================

.. image:: https://badge.fury.io/py/django-postgres-utils.svg
    :target: https://badge.fury.io/py/django-postgres-utils

.. image:: https://travis-ci.org/tehamalab/django-postgres-utils.svg?branch=master
    :target: https://travis-ci.org/tehamalab/django-postgres-utils

.. image:: https://codecov.io/gh/tehamalab/django-postgres-utils/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/tehamalab/django-postgres-utils

UtiliUtilities for Django Postgresql

Quickstart
----------

Install Django Postgres Utils::

    pip install django-postgres-utils

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'django_postgres_utils',
        ...
    )

Sample usage usage of ``AdminHStoreWidget`` in admin:

.. code-block:: python

    # admin.py
    from django.contrib import admin
    from django.contrib.postgres.fields import HStoreField
    from django_postgres_utils.widgets import AdminHStoreWidget
    # ...

    class MyModelAdmin(admin.ModelAdmin):

        formfield_overrides = {
            HStoreField: {'widget': AdminHStoreWidget},
        }

    # ...


Features
--------

* User friendly Admin widget for django HStoreField;
  ``django_postgres_utils.widgets.AdminHStoreWidget``

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




History
-------

0.1.0 (2017-09-18)
++++++++++++++++++

* First release on PyPI.


0.1.1 (2018-10-03)
++++++++++++++++++

* Upgrade to underscore 1.9.1
* Fix bug in displaying quoted values

0.1.2 (2018-11-20)
++++++++++++++++++

* Django 2.1 compatibility
ciscoreputation 2.1.4
Get the Cisco's senderbase.org reputation for a hostname or ip address
License: MIT

ciscoreputation
===============

Get the Cisco's `talosintelligence.com`_ email reputation for an IP address

Usage
-----

.. code-block::

    ciscoreputation
    Get the email reputation for an IP address from talosintelligence.com

    Usage:
        ciscoreputation <query> [options]
        ciscoreputation reputation <query> [options]
        ciscoreputation volumes <query> [options]
        ciscoreputation --help

    Commands:
        reputation      Get the reputation for the given <query>
        volumes         Get the volume for last month and current day for the given <query>

    Arguments:
        query           The ip address to query for.

    Options:
        --tos                  Accept TalosIntelligence Term of Service
        --values               Output only the requested value, useful when using in another script
        --version              Print version.
        -h --help              Show this screen.

    Note: Use wisely, don't query like crazy.

Installation
------------

Install from PyPi:

When installing form PyPi is better to use a virtual environment, when installing the debian package a virtual environment is automatically created and used.

.. code-block::

    $ virtaulenv cisco-env
    $ source cisco-env/bin/activate
    (cisco-env)$ pip install ciscoreputation

Or from the debian package:

.. code-block::

    $ sudo gdebi ciscoreputation-[version]_[platform].deb

Requirements
^^^^^^^^^^^^
* `requests`_
* `docopts`_

Licence
-------

MIT. See LICENCE

Authors
-------

`ciscoreputation` was written by `Francesco Barresi`_ `@cescobarresi`_.

.. _talosintelligence.com: https://talosintelligence.com/reputation_center/
.. _requests: http://python-requests.org/
.. _docopts: https://github.com/docopt/docopt
.. _Francesco Barresi: https://github.com/cescobarresi
.. _@cescobarresi: https://twitter.com/cescobarresi
zuzuvibhu 1.0.4
Zuzu Package of Vibhu Agarwal
License: MIT
Keywords: zuzu vibhu agarwal vibhuagarwal

# ZuzuVibhu

The module provides the zuzu package for Vibhu Agarwal.\
Zuzu is a unique language defined by Vibhu Agarwal himself.\
The language is in no way related to other standard languages understood in public which is not specifically defined by Vibhu Agarwal.

Happy Go Zuzus!

## Installing the package
```
pip install zuzuvibhu
```

## Using the package
```
>>> import zuzuvibhu
>>> zuzuvibhu.get_zuzus()
```

Go to http://localhost:5000/ to get the response in HTML\
or you may visit http://localhost:5000/api to get the text in JSON format.
hitchexamplefiles 0.2.0
Example jpeg, pdf and png files which can be used for testing.
License: MIT
Keywords: pdf jpeg png test

# HitchExampleFiles

A group of example files which can be used for testing - a big jpeg, small jpeg, pdf and png.

Uses [path.py](https://pathpy.readthedocs.io/en/stable/api.html),
so you can use path.py API to do anything with the files.

E.g.

.. code:: python

  import hitchexamplefiles
  from path import Path

  >>> hitchexamplefiles.jpeg_large.copy(Path("/path/to/your/jpegname.jpeg"))
  >>> hitchexamplefiles.jpeg_small.copy(Path("/path/to/your/jpegname.jpeg"))
  >>> hitchexamplefiles.pdf_one_page.copy(Path("/path/to/your/pdf_one_page.pdf"))
  >>> hitchexamplefiles.png_large.copy(Path("/path/to/your/png_large.png"))


  >>> hitchexamplefiles.asset_directory.joinpath("jpeg_large.jpg")
  >>> hitchexamplefiles.asset_directory.joinpath("jpeg_small.jpg")
  >>> hitchexamplefiles.asset_directory.joinpath("pdf_one_page.pdf")
  >>> hitchexamplefiles.asset_directory.joinpath("png_large.png")
bio2bel-hsdn 0.0.1
Converts the human symptoms-disease network produced by Zhou and Himmelstein to BEL
License: MIT
Requires Python: >=3.6
Keywords: Biological Expression Language,Bio2BEL

Bio2BEL HSDN |build|
====================
Converts the human symptoms-disease network produced by Zhou and Himmelstein to BEL

Big thanks to Daniel Himmelstein for preprocessing this data in his repository at: https://github.com/dhimmel/hsdn

Installation |pypi_version| |python_versions| |pypi_license|
------------------------------------------------------------
``bio2bel_hsdn`` can be installed easily from
`PyPI <https://pypi.python.org/pypi/bio2bel_hsdn>`_
with the following code in your favorite terminal:

.. code-block:: sh

    $ python3 -m pip install bio2bel_hsdn

or from the latest code on `GitHub <https://github.com/bio2bel/hsdn>`_ with:

.. code-block:: sh

    $ python3 -m pip install git+https://github.com/bio2bel/hsdn.git

Setup
-----
This repository does not currently cache the data, but only wraps conversion to BEL.

Python REPL
~~~~~~~~~~~
.. code-block:: python

    >>> import bio2bel_hsdn
    >>> hsdn_manager = bio2bel_hsdn.Manager()
    >>> graph = hsdn_manager.to_bel()


.. |build| image:: https://travis-ci.com/bio2bel/hsdn.svg?branch=master
    :target: https://travis-ci.com/bio2bel/hsdn
    :alt: Build Status

.. |documentation| image:: http://readthedocs.org/projects/bio2bel-hsdn/badge/?version=latest
    :target: http://bio2bel.readthedocs.io/projects/hsdn/en/latest/?badge=latest
    :alt: Documentation Status

.. |pypi_version| image:: https://img.shields.io/pypi/v/bio2bel_hsdn.svg
    :alt: Current version on PyPI

.. |coverage| image:: https://codecov.io/gh/bio2bel/hsdn/coverage.svg?branch=master
    :target: https://codecov.io/gh/bio2bel/hsdn?branch=master
    :alt: Coverage Status

.. |python_versions| image:: https://img.shields.io/pypi/pyversions/bio2bel_hsdn.svg
    :alt: Stable Supported Python Versions

.. |pypi_license| image:: https://img.shields.io/pypi/l/bio2bel_hsdn.svg
    :alt: MIT License
bio2bel-adeptus 0.0.1
Bio2BEL ADEPTUS.
License: MIT
Requires Python: >=3.6
Keywords: Biological Expression Language,Bio2BEL

Bio2BEL ADEPTUS |build|
=======================
Converts ADEPTUS disease-differential gene expression signatures to BEL.

Big thanks to Daniel Himmelstein for preprocessing this data in his repository at:
https://github.com/dhimmel/adeptus

Installation |pypi_version| |python_versions| |pypi_license|
------------------------------------------------------------
``bio2bel_adeptus`` can be installed easily from
`PyPI <https://pypi.python.org/pypi/bio2bel_adeptus>`_
with the following code in your favorite terminal:

.. code-block:: sh

    $ python3 -m pip install bio2bel_adeptus

or from the latest code on `GitHub <https://github.com/bio2bel/adeptus>`_ with:

.. code-block:: sh

    $ python3 -m pip install git+https://github.com/bio2bel/adeptus.git

Setup
-----
This repository does not currently cache the data, but only wraps conversion to BEL.

Python REPL
~~~~~~~~~~~
.. code-block:: python

    >>> import bio2bel_adeptus
    >>> adeptus_manager = bio2bel_adeptus.Manager()
    >>> graph = adeptus_manager.to_bel()



.. |build| image:: https://travis-ci.com/bio2bel/adeptus.svg?branch=master
    :target: https://travis-ci.com/bio2bel/adeptus
    :alt: Build Status

.. |documentation| image:: http://readthedocs.org/projects/bio2bel-adeptus/badge/?version=latest
    :target: http://bio2bel.readthedocs.io/projects/adeptus/en/latest/?badge=latest
    :alt: Documentation Status

.. |pypi_version| image:: https://img.shields.io/pypi/v/bio2bel_adeptus.svg
    :alt: Current version on PyPI

.. |coverage| image:: https://codecov.io/gh/bio2bel/adeptus/coverage.svg?branch=master
    :target: https://codecov.io/gh/bio2bel/adeptus?branch=master
    :alt: Coverage Status

.. |python_versions| image:: https://img.shields.io/pypi/pyversions/bio2bel_adeptus.svg
    :alt: Stable Supported Python Versions

.. |pypi_license| image:: https://img.shields.io/pypi/l/bio2bel_adeptus.svg
    :alt: MIT License