Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

wells python utilities

Project description

https://travis-ci.org/python-wells/wells.svg?branch=master

wells is a collection of python utilities:

Most common and general utilities:

  • utils common utilities. sequence, string and others.

Other included utilities:

  • bashscript_utils read and write bashrc like config files (e.g. A=B)
  • config config parser. parse simple a = b config files. Because I don’t like ini sections.
  • debug debug utilities, like @trace_time
  • fileutils file io, like safe_read_file, safe_write_file
  • iputils utilities to work with IP addresses
  • py3utils python 3 portability issue helper. similar to six.
  • redisutils utilities when working with redis, including some converters for py3.
  • shellutils shell related utilities

Installation

To install this package:

$ pip install wells

Baisc Usage

>>> import datetime
>>> from wells.utils import sha1sum, to_json
>>> sha1sum("abc")
'a9993e364706816aba3e25717850c26c9cd0d89d'
>>> to_json({"start_date": datetime.date.today()})
'{"start_date": "2017-04-23"}'
>>> import wells.utils
>>> help(wells.utils)

Documentation

External documentation is not available yet. Type help(<module_name>) to get document in python REPL. You can also read examples in unit tests.

ChangeLog

  • v1.0.0 2017-04-23 - init release.

Project details


Release history Release notifications

This version
History Node

1.4.0

History Node

1.3.0

History Node

1.2.0

History Node

1.1.0

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
wells-1.4.0-py2.py3-none-any.whl (23.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 4, 2018
wells-1.4.0.tar.gz (16.5 kB) Copy SHA256 hash SHA256 Source None May 4, 2018

Supported by

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