Skip to content

simpy 4.1.1

Download JSON

  • PyPI https://pypi.org/project/simpy/
    Repository https://gitlab.com/team-simpy/simpy

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 237
        "Any" : 5
        "Untyped" : 69
    • 77.8% coverage
    • 76.2% coverage (strict)
    • 311 typable
      • 237 typed
      • 69 untyped
      • 5 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 6
        "classes" : 239
        "other" : 9
    • 2 functions (+0 overloads)
      • 4 parameters
    • 37 classes
      • 105 methods (+0 overloads)
        • 117 parameters
      • 16 properties
    • 9 modules
      • 9 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
simpy.core 79.5% 79.5% 39 0
simpy.events 85.7% 83.7% 98 0
simpy.exceptions 75.0% 75.0% 4 0
simpy.resources.base 80.0% 80.0% 40 0
simpy.resources.container 70.8% 70.8% 24 0
simpy.resources.resource 65.5% 63.8% 58 1
simpy.resources.store 75.0% 68.8% 32 1
simpy.rt 70.0% 70.0% 10 0
simpy.util 100.0% 100.0% 6 0

Incomplete Annotations

simpy.core (8 missing, 0 any)

Symbol Typable Typed Any
meth Environment.init 2 1 0
attr Environment.process 1 0 0
attr Environment.timeout 1 0 0
attr Environment.event 1 0 0
attr Environment.all_of 1 0 0
attr Environment.any_of 1 0 0
meth BoundClass.init 2 1 0
attr BoundClass.cls 1 0 0

simpy.events (14 missing, 2 any)

Symbol Typable Typed Any
meth AnyOf.init 3 2 0
meth Process.init 3 2 0
attr Process.env 1 0 0
meth AllOf.init 3 2 0
meth Timeout.init 4 3 0
attr Timeout.env 1 0 0
meth Event.init 2 1 0
attr Event._value 1 1 1
attr Event.env 1 0 0
meth Condition.init 4 3 0
meth Initialize.init 3 2 0
attr Initialize.env 1 0 0
meth Interruption.init 3 2 0
attr Interruption.env 1 0 0
attr Interruption.process 1 0 0
meth ConditionValue.getitem 2 2 1

simpy.exceptions (1 missing, 0 any)

Symbol Typable Typed Any
meth Interrupt.init 2 1 0

simpy.resources.base (8 missing, 0 any)

Symbol Typable Typed Any
meth Get.init 2 1 0
attr Get.resource 1 0 0
attr Get.proc 1 0 0
meth Put.init 2 1 0
attr Put.resource 1 0 0
meth BaseResource.init 3 2 0
attr BaseResource.put 1 0 0
attr BaseResource.get 1 0 0

simpy.resources.container (7 missing, 0 any)

Symbol Typable Typed Any
meth Container.init 4 3 0
attr Container.put 1 0 0
attr Container.get 1 0 0
meth ContainerPut.init 3 2 0
attr ContainerPut.amount 1 0 0
meth ContainerGet.init 3 2 0
attr ContainerGet.amount 1 0 0

simpy.resources.resource (20 missing, 1 any)

Symbol Typable Typed Any
meth PriorityResource.init 3 2 0
attr PriorityResource.request 1 0 0
attr PriorityResource.release 1 0 0
meth Resource.init 3 2 0
attr Resource.queue 1 0 0
attr Resource.request 1 0 0
attr Resource.release 1 0 0
meth Preempted.init 4 3 0
attr Preempted.by 1 0 0
attr Preempted.usage_since 1 0 0
attr Preempted.resource 1 0 0
meth PriorityRequest.init 4 3 0
attr PriorityRequest.priority 1 0 0
attr PriorityRequest.preempt 1 0 0
attr PriorityRequest.time 1 0 0
attr PriorityRequest.key 1 0 0
meth SortedQueue.init 2 1 0
meth SortedQueue.append 2 2 1
attr SortedQueue.maxlen 1 0 0
meth Release.init 3 2 0
attr Release.request 1 0 0

simpy.resources.store (8 missing, 2 any)

Symbol Typable Typed Any
attr FilterStore.get 1 0 0
meth Store.init 3 2 0
meth Store.put 2 2 1
attr Store.put 1 0 0
attr Store.get 1 0 0
meth StorePut.init 3 2 1
attr StorePut.item 1 0 0
meth FilterStoreGet.init 3 2 0
attr FilterStoreGet.filter 1 0 0

simpy.rt (3 missing, 0 any)

Symbol Typable Typed Any
meth RealtimeEnvironment.init 4 3 0
attr RealtimeEnvironment.env_start 1 0 0
attr RealtimeEnvironment.real_start 1 0 0

Type-Ignore Comments

Flavor Count
type: ignore 1
type: ignore[override] 1