Module Utilities¶
pcapkit.utilities contains several useful functions
and classes which are fundations of pcapkit, including
decorater function seekset()
and beholder(), and
several user-refined exceptions and warnings.
Logging System¶
pcapkit.utilities.logging contains naïve integration
of the Python logging system, i.e. a logging.Logger
instance as logger.
Environment Variables¶
- pcapkit.utilities.logging.DEVMODE¶
Development mode flag.
- Type:
See also
This variable can be configured through the environment variable
PCAPKIT_DEVMODE.
- pcapkit.utilities.logging.VERBOSE¶
Verbose output flag.
- Type:
See also
This variable can be configured through the environment variable
PCAPKIT_VERBOSE.
- pcapkit.utilities.logging.SPHINX_TYPE_CHECKING¶
This is a workaround for
typing.TYPE_CHECKINGin Sphinx.- Type:
See also
This variable can be configured through the environment variable
PCAPKIT_SPHINX.
Version Compatibility¶
pcapkit further provides a compatibility layer for the
following objects and functions:
Compatibility Target |
Minimal Required Version |
|---|---|
Python 3.5 |
|
Python 3.6 |
|
Python 3.6 |
|
Python 3.8 |
|
Python 3.9 |
|
Python 3.9 |
|
Python 3.9 |
|
Python 3.9 |
|
Python 3.11 |
|
Python 3.8 |
|
Python 3.11 |
|
Python 3.11 |
|
Python 3.10 |