Skip to main content

A currency trading ledger in Python

Project description

Tallywallet helps Engineers understand Money and Banking.

You can use it to create economic simulations, or to enable your applications with currency exchange and accounting features.

This package

Tallywallet is a very young project. This package implements the following:

Code

  • Functions to work with Promissory Notes

  • A Ledger class for double-entry accounting

  • An Exchange class to enable currency trading

  • Pre-hoc calculation of exchange rate gains on currency trading accounts

  • Evaluation of the Fundamental Accounting Equation to verify balanced accounts

  • A text format for saving Ledgers to file

Documentation

  • A how-to on loans, discounting, and amortization

  • A tutorial on how to achieve foreign currency exchange in Python code

  • An example of a macroeconomic monetary circuit simulation

Requirements

Tallywallet requires Python 3. It uses setuptools for installation, but normally it has no external runtime dependencies.

Tallywallet comes with unit tests. To run them all requires the RSON package.

Quick start

Clone the git repository:

git clone git@github.com:tundish/tallywallet-common.git
cd tallywallet-common

Install the package and its dependencies:

python3 -m pip install .[docbuild,test]

Run the tests:

python3 -m unittest discover tallywallet

Consult the documentation:

    sphinx_build tallywallet/common/doc tallywallet/common/doc/html
firefox tallywallet/common/doc/html/index.html

Roadmap

Tallywallet’s mission is to provide a validated Pythonic framework for money trading and economic applications.

It is developed by a private individual but released to the public under the GNU Affero General Public License.

The API may change significantly as the project proceeds. At this early stage, you should only use the latest release, which may not be compatible with previous versions.

Can you help?

  • If you’ve spotted a bug in Tallywallet, please let us know so we can fix it.

  • If you think Tallywallet lacks a feature, you can help drive development by describing your Use Case.

In either event, please leave a message on the project’s message board.

Author:

D Haynes

Copyright:

2014 Thuswise Ltd

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

tallywallet-common-0.10.0.tar.gz (241.1 kB view details)

Uploaded Source

File details

Details for the file tallywallet-common-0.10.0.tar.gz.

File metadata

  • Download URL: tallywallet-common-0.10.0.tar.gz
  • Upload date:
  • Size: 241.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for tallywallet-common-0.10.0.tar.gz
Algorithm Hash digest
SHA256 b93b6840167f5aed3ed6d447ace5434e7f572f4fa153572130ac13b5a6f5c987
MD5 52b55a3d9b3383b028e06abde27db81f
BLAKE2b-256 bacb616d2d6de505423f4a01ebb68fdcef192c49060b1c313af15a982912ea6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page