Metadata-Version: 2.1
Name: stakefish-web3-utils
Version: 0.0.3
Summary: Stakefish’s web3 utils for Python
Home-page: https://github.com/stakefish/web3-utils
Author: Michal Baranowski <mbaranovski@stake.fish>, Mateusz Sokola <mateusz@stake.fish>
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.10
Requires-Python: ==3.10.5
Provides-Extra: tests
License-File: LICENSE.md

# web3-utils

Internal Web3 utilities for Python


# Installation
Install dependencies

```bash
make install
```


# Code formatting

```bash
make format
```

# Releasing

Before releasing a new version, build and test the package that will be released. There’s a script to build and install the wheel locally, then generate a temporary virtualenv for smoke testing:

```bash
pip install --upgrade build
```

```bash
make package
```

## Push The Release to GitHub

After committing the compiled release notes and pushing them to the master branch, release a new version:

```bash
make release bump=$$VERSION_PART_TO_BUMP$$
```

## Which Version Part to Bump

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

During a release, specify which part to bump, like `make release bump=minor` or `make release bump=devnum`.

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