Skip to main content

A simulator for Large Value Payment Systems

Reason this release was yanked:

Not compatible with Python <3.9

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for PSSimPy-0.0.0.tar.gz
Algorithm Hash digest
SHA256 04a5f47fb03ac66974ce1492ba32f3e262fc9a5ccb86d9952878d4de8c0df50a
MD5 2b03f56afacf6c994193ed34a419e780
BLAKE2b-256 c8a045daa70cccb879d81812900916c3eb37b8c1b06a802c656c1f4656dffbfc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PSSimPy-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf22b19d0f8825e58e2fdedabd55568e345c4260e501518daac1f460b6d7d836
MD5 8a16f94b59b29c291156ad1348a77a29
BLAKE2b-256 51fe563ad550b48b78ffd572ab61f9d60503fb1d7cd51ddce37de91f5533d356

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