Skip to main content

# Ethereum Utils

[![Join the chat at https://gitter.im/ethereum/eth-utils](https://badges.gitter.im/ethereum/eth-utils.svg)](https://gitter.im/ethereum/eth-utils)

[![Build Status](https://circleci.com/gh/ethereum/eth-utils.svg?style=shield)](https://circleci.com/gh/ethereum/eth-utils)

[Documentation hosted by ReadTheDocs](https://eth-utils.readthedocs.io/en/latest/)

Common utility functions for codebases which interact with ethereum.

> This library and repository was previously located at https://github.com/pipermerriam/ethereum-utils. It was transferred to the Ethereum foundation github in November 2017 and renamed to eth-utils. The PyPi package was also renamed from ethereum-utils to eth-utils.

## Installation

`sh pip install eth-utils `

## Development

Clone the repository and then run:

`sh pip install -e .[dev] eth-hash[pycryptodomex] `

## Documentation

Building Sphinx docs locally:

`sh pip install -e .[doc] cd docs make html `

Docs are written in [reStructuredText](http://docutils.sourceforge.net/rst.html) and built using the [Sphinx](http://www.sphinx-doc.org/) documentation generator.

### Running the tests

You can run the tests with:

`sh py.test tests `

Or you can install tox to run the full test suite.

### Releasing

Pandoc is required for transforming the markdown README to the proper format to render correctly on pypi.

For Debian-like systems:

` apt install pandoc `

Or on OSX:

`sh brew install pandoc `

To release a new version:

`sh make release bump=$$VERSION_PART_TO_BUMP$$ `

#### How to bumpversion

The version format for this repo is {major}.{minor}.{patch} for stable, and {major}.{minor}.{patch}-{stage}.{devnum} for unstable (stage can be alpha or beta).

To issue the next version in line, specify which part to bump, like make release bump=minor or make release bump=devnum.

If you are in a beta version, make release bump=stage will switch to a stable.

To issue an unstable version when the current version is stable, specify the new version explicitly, like make release bump=”–new-version 4.0.0-alpha.1 devnum”

Metadata

Release files for vips-utils 1.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vips-utils 1.6.4
File Size Uploaded
vips-utils-1.6.4.tar.gz 16.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vips-utils 1.6.4
File Interpreter ABI Platform
vips_utils-1.6.4-py3-none-any.whl Python 3 none any Details

Total release size: 37.9 kB

Release files / vips-utils-1.6.4.tar.gz

Download URL vips-utils-1.6.4.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0b29db8fddda6a20fb322e425ec62c3669441d5313349ff9cd556a545bb0ea0a
BLAKE2b-256 checksum
How to use checksums
66405070926ad1d5ffaae49373a8975ce1ee4f8be91b8664d3c52d31746ef01c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / vips_utils-1.6.4-py3-none-any.whl

Download URL vips_utils-1.6.4-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e2038b6f7438ebf25545e67ffbf06233dc3009a19b902c41583835b4ff6762b
BLAKE2b-256 checksum
How to use checksums
4623d18d992d7604ef5ecafc1c3cc894e514459d2c58047c1a498a576e685cdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release history Release notifications | RSS feed

This release

1.6.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page