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.0b0.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.0b0-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PSSimPy-0.0.0b0.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.0b0.tar.gz
Algorithm Hash digest
SHA256 da76a13070f4c2565d39b55d7fd823ef974f1d5cbb06c439774001954f74f73b
MD5 5e76116908333f7ea9050e59d4ea53d2
BLAKE2b-256 a8561967cb9a4dff851b616052b12438aa12fd358a5d1e78561ce9923a695a9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PSSimPy-0.0.0b0-py3-none-any.whl
  • Upload date:
  • Size: 25.0 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.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 15340c846024b590109ee061cc92800979fe8ccad5a202f3d58958ed8756f435
MD5 c05dff32122c1d2e6588be990f73d167
BLAKE2b-256 483ad46ad096d0a3f07c46bf1c032fc3dc848590fb3cfd88d1ee5b2ced690e1c

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