pm4py.streaming.util.dictio.versions package#

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

Submodules#

pm4py.streaming.util.dictio.versions.classic module#

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

pm4py.streaming.util.dictio.versions.classic.apply(parameters=None)[source]#

Returns an object that is the classic implementation of a Python dictionary

pm4py.streaming.util.dictio.versions.redis module#

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

class pm4py.streaming.util.dictio.versions.redis.Parameters(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

HOSTNAME = 'hostname'#
PORT = 'port'#
DICT_ID = 'dict_id'#
class pm4py.streaming.util.dictio.versions.redis.ThreadSafeRedisDict(redis_connection, *args, **kw)[source]#

Bases: dict

keys() a set-like object providing a view on D's keys[source]#
values() an object providing a view on D's values[source]#
itervalues()[source]#
flushdb()[source]#
flushall()[source]#
pm4py.streaming.util.dictio.versions.redis.apply(parameters: Dict[Any, Any] | None = None)[source]#

Create a Python dictionary supported by a Redis database

Parameters#

parameters

Parameters of the algorithm, including: - Parameters.HOSTNAME => hostname of the connection to Redis (default: 127.0.0.1) - Parameters.PORT => port of the connection to Redis (default: 6379) - Parameters.DICT_ID => integer identifier of the specific dictionary in Redis (default: 0)

Returns#

r

Redis (Python-like) dictionary

pm4py.streaming.util.dictio.versions.thread_safe module#

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

class pm4py.streaming.util.dictio.versions.thread_safe.ThreadSafeDict(*args, **kw)[source]#

Bases: dict

keys() a set-like object providing a view on D's keys[source]#
values() an object providing a view on D's values[source]#
itervalues()[source]#
pm4py.streaming.util.dictio.versions.thread_safe.apply(parameters: Dict[Any, Any] | None = None)[source]#