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.0rc4.tar.gz (15.1 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.0rc4-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for PSSimPy-0.0.0rc4.tar.gz
Algorithm Hash digest
SHA256 cb45d455e29baa2c2d38c21aa22fb7a0a44373dc382abbdb70cdbf89bd64e93b
MD5 e3ac60f143740b2c39a2302c5179128a
BLAKE2b-256 b2e42b9f66eb73856918e30805a7446b0040425c26ebd764415df5acedf85b5d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PSSimPy-0.0.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 456e63658394be512ae425ed04c0564c33638f9df7a319f3a44540a5d329e7a8
MD5 bca6e929fbf989e7414a2e9ba1c2ec28
BLAKE2b-256 28eb38b048d12ca30ddcfa82df7ae9b85c6630e75b4b3669cf2fc7ce129af0ec

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