معرفی شرکت ها


discrevpy-1.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Minimalist discrete event simulator
ویژگی مقدار
سیستم عامل -
نام فایل discrevpy-1.0.3
نام discrevpy
نسخه کتابخانه 1.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده snkas
ایمیل نویسنده snkasdev+discrevpy@gmail.com
آدرس صفحه اصلی https://github.com/snkas/discrevpy
آدرس اینترنتی https://pypi.org/project/discrevpy/
مجوز MIT
# discrevpy: minimalist discrete event simulator [![build](https://github.com/snkas/discrevpy/workflows/build/badge.svg)](https://github.com/snkas/discrevpy/actions?query=workflow%3Abuild+branch%3Amaster) [![codecov](https://codecov.io/gh/snkas/discrevpy/branch/master/graph/badge.svg)](https://codecov.io/gh/snkas/discrevpy) [![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/snkas/discrevpy/blob/master/LICENSE) [![GitHub release version](https://img.shields.io/github/v/release/snkas/discrevpy)](https://github.com/snkas/discrevpy/releases) [![PyPI version](https://img.shields.io/pypi/v/discrevpy?color=blue)](https://pypi.org/project/discrevpy/) **discrevpy** is a minimalist discrete event simulator in Python. It makes use of function/method callbacks in its event execution. The discrevpy simulator does not implement any message passing and is thus exclusively single-threaded. ## Installation **Python version: 3.7+** ```bash python3 -m pip install discrevpy ``` ## Getting started **Example usage:** ```python from discrevpy import simulator def something(value): print("t=" + str(simulator.now()) + ": something() with value " + str(value)) simulator.ready() simulator.schedule(44, something, "ABC") simulator.schedule(967, something, "XYZ") simulator.end(10000) simulator.run() simulator.reset() ``` **Documentation:** https://snkas.github.io/discrevpy/ **Next steps:** * [View some short examples](https://snkas.github.io/discrevpy/short_examples.html) * [View more in-depth longer examples](https://snkas.github.io/discrevpy/long_examples.html) * [Explore the API](https://snkas.github.io/discrevpy/api_reference.html) * [Learn more about discrete event simulation](https://snkas.github.io/discrevpy/what_is_discrete_event_simulation.html) * [Read some tips to help you speed up your simulations](https://snkas.github.io/discrevpy/practical_tips.html) * [Understand better the memory usage overhead of discrevpy](https://snkas.github.io/discrevpy/memory_usage.html) **Development:** * [Read the module development instructions](https://snkas.github.io/discrevpy/development.html) * [Browse the GitHub repository](https://github.com/snkas/discrevpy) * [View the MIT license](https://github.com/snkas/discrevpy/blob/master/LICENSE)


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl discrevpy-1.0.3:

    pip install discrevpy-1.0.3.whl


نصب پکیج tar.gz discrevpy-1.0.3:

    pip install discrevpy-1.0.3.tar.gz