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.0rc3.tar.gz (15.0 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.0rc3-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PSSimPy-0.0.0rc3.tar.gz
  • Upload date:
  • Size: 15.0 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.0rc3.tar.gz
Algorithm Hash digest
SHA256 0657c31e7cd3133bc7890721ab9f9f7095a369ef64ce9b58c33625d3ca9cd703
MD5 39b60436a6c83d25110aec21ad871732
BLAKE2b-256 53e2a9418783b55ab8c4b41b08545e52aadbf2868224ed6bb057c01fafb331f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PSSimPy-0.0.0rc3-py3-none-any.whl
  • Upload date:
  • Size: 25.2 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.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 ff60056aecf1cc3db78bc1deafef6fceba38b6199780288d7efbf840aa34f721
MD5 d8fe6b2ded29a2af957ed6535bc6501c
BLAKE2b-256 a3934df4332e51d7c76faa543978a0a1d272130e43efcaadd5357eb63bb4a810

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