Skip to main content

Python Utilities

Project description

utilspie : Utilities for Python

.. image::
:alt: downloads

.. image::
:alt: build status

.. image::
:alt: codecov

.. image::
:alt: contributor-friendly

.. image::
:alt: documentation

Documentation: ` <>`_

What is **utilspie**?
Utilspie is a Python library that offers a sensible, human-friendly utilities which do not come along with Python installation. Utilspie is categorized into 5 modules:

- asyncutils : utilities for asynchronous call/threads
- fileutils : utilities related to file operations/manipulations
- iterutils : utilities for iterators. Inspired by `itertools <>`_ package
- collectionsutils : provides data objects not present in `collections <>`_ package
- importutils : utilities related to importing the modules

**utilspie** is available on `pypi <>`_. To install, run:

.. code-block:: bash

$ pip install utilspie

Source code for utilspie is available on `github <>`_

Quick Start
For using the utilspie, you have to import the package utilspie and call it's function as:

.. code-block:: python

>>> from utilspie import iterutils
# OR, from utilspie.iterutils import get_chunks

>>> iterutils.get_chunks([1, 2, 3, 4, 5, 6], 2)
<generator object <genexpr> at 0x1018fab40>
# returns generator object

>>> list(iterutils.get_chunks([1, 2, 3, 4, 5, 6], 2))
[[1, 2], [3, 4], [5, 6]]

How to Contribute

#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
#. Fork `the repository`_ on GitHub to start making your changes to the **master** branch (or branch off of it).
#. Write a test which shows that the bug was fixed or that the feature works as expected.
#. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.

.. _`the repository`:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for utilspie, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size utilspie-0.0.7-py2.py3-none-any.whl (8.5 kB) File type Wheel Python version 3.4 Upload date Hashes View hashes
Filename, size utilspie-0.0.7.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page