Skip to main content

A simulator for Large Value Payment Systems

Project description

PSSimPy: A Payment and Settlement Systems Simulator Python Library

Getting Started

pip install PSSimPy

Usage

from PSSimPy.simulator import BasicSim
from PSSimPy.constraint_handler import MinBalanceConstraintHandler
from PSSimPy.queues import FIFOQueue
from PSSimPy.credit_facilities import SimplePriced
from PSSimPy.transaction_fee import FixedTransactionFee

# initialize simulator
sim = BasicSims(name='my_lvps_sim', banks=banks, accounts=accounts, transactions=transactions, num_days=1, open_time='08:00', close_time='17:00', \
txn_arrival_prob=0.5, txn_amount_range=(1, 100), constraint_handler=MinBalanceConstraintHandler(), queue=FIFOQueue(), credit_facility=SimplePriced(), \
transaction_fee_handler=FixedTransactionFee())
# execute simulation
sim.run()

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

PSSimPy-0.0.0rc1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PSSimPy-0.0.0rc1-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file PSSimPy-0.0.0rc1.tar.gz.

File metadata

  • Download URL: PSSimPy-0.0.0rc1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for PSSimPy-0.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 9b6bebe4357a5279b8eed4c04d274c21a263b6d0497701b46b7ebdc94008e678
MD5 091510af4028acab212167f8f70f6595
BLAKE2b-256 d47a84e5588edaa58a096dca5a30c94b9325faaa4c9648ee82b830657f09e8fc

See more details on using hashes here.

File details

Details for the file PSSimPy-0.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: PSSimPy-0.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for PSSimPy-0.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 c16bbb05cebc4dc5f680a5ca0c67e70070bab513c4a0741e0427f96fb6660dbd
MD5 1487e697704e8bc7cb3ae520fca45827
BLAKE2b-256 b3ec78bacc414d83818d912c49eb8ba742f5b94d3674bd5df72e470ca231dbb5

See more details on using hashes here.

Supported by

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