Skip to main content

wells python utilities

Project description

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


To install this package:

$ pip install wells

Baisc Usage

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


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


Copyright (C) 2019 Yuanle Song <>

This library is licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


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

Project details

Download files

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

Source Distribution

wells-1.5.0.tar.gz (16.6 kB view hashes)

Uploaded source

Built Distribution

wells-1.5.0-py2.py3-none-any.whl (26.8 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page