Skip to main content

Util library for GNU Taler

Project description

taler-util contains util code for the GNU Taler project, specifically it contains python code for:

  • amount representation
  • logging
  • configuration parsing

tests

To run the unittests, execute

tox

or

make check

Taler Error Codes

Error codes are defined in taler/util/errorcodes.py.

To generate the C header, run

python3 taler/util/gen_errcodes_c.py

Installation

The wheel release can be installed as-is from pypi.org as it includes only what is necessary.

The source distribution tarball (sdist) includes two build-systems:

  1. a small GNU guidelines following wrapper around python’s pip
  2. python’s default build-facility used via setup

How to upload to pypi.org

  1. From top-level directory:

$ make dist

  1. Install Twine, if it’s not installed yet:

$ pip3 install twine

  1. Upload the files to PyPI (interactively providing the credentials):

$ twine upload dist/*

License

Python modules contained in this package are licensed LGPL 3 (or later).

This does not cover code contained in build-system/taler-build-scripts, which is included in the source distribution of this software. taler-build-scripts is (mostly) 0BSD / public-domain software.

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

taler-util-0.8.3.tar.gz (171.8 kB view hashes)

Uploaded source

Built Distribution

taler_util-0.8.3-py3-none-any.whl (32.9 kB view hashes)

Uploaded 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