Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- parrot/lib/tk8.6/images/pwrdLogo75.gif +3 -0
- parrot/share/terminfo/s/screen-16color-bce-s +0 -0
- parrot/share/terminfo/s/screen.linux-s +0 -0
- parrot/share/terminfo/s/screen.minitel1 +0 -0
- parrot/share/terminfo/s/soroc120 +0 -0
- parrot/share/terminfo/s/soroc140 +0 -0
- parrot/share/terminfo/s/st +0 -0
- parrot/share/terminfo/s/st-0.6 +0 -0
- parrot/share/terminfo/s/st-16color +0 -0
- parrot/share/terminfo/s/sun-1 +0 -0
- parrot/share/terminfo/s/superbrain +0 -0
- parrot/share/terminfo/t/tek4012 +0 -0
- parrot/share/terminfo/t/tek4025-17 +0 -0
- parrot/share/terminfo/t/tek4105-30 +0 -0
- parrot/share/terminfo/t/tek4105a +0 -0
- parrot/share/terminfo/t/tek4106brl +0 -0
- parrot/share/terminfo/t/tek4113 +0 -0
- parrot/share/terminfo/t/tek4113-nd +0 -0
- parrot/share/terminfo/t/teleray +0 -0
- parrot/share/terminfo/t/ti800 +0 -0
- parrot/share/terminfo/t/ti924w +0 -0
- parrot/share/terminfo/t/trs80II +0 -0
- parrot/share/terminfo/t/ts100 +0 -0
- parrot/share/terminfo/t/tty4424 +0 -0
- parrot/share/terminfo/t/tty5420-rv +0 -0
- parrot/share/terminfo/t/tvi912b+2p +0 -0
- parrot/share/terminfo/t/tvi912b-p-2p +0 -0
- parrot/share/terminfo/t/tvi912b-unk +0 -0
- parrot/share/terminfo/t/tvi912b-unk-vb +0 -0
- parrot/share/terminfo/t/tvi912c +0 -0
- parrot/share/terminfo/t/tvi912c-2p-unk +0 -0
- parrot/share/terminfo/t/tvi920 +0 -0
- parrot/share/terminfo/t/tvi920b-2p-p +0 -0
- parrot/share/terminfo/t/tvi920b-vb +0 -0
- parrot/share/terminfo/t/tvi920c-2p +0 -0
- parrot/share/terminfo/t/tvi950-rv-2p +0 -0
- parrot/share/terminfo/t/tvi955 +0 -0
- parrot/share/terminfo/t/tw52 +0 -0
- vllm/lib/python3.10/site-packages/pandas/_testing/__pycache__/contexts.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/pandas/api/__init__.py +16 -0
- vllm/lib/python3.10/site-packages/pandas/api/__pycache__/__init__.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/pandas/api/extensions/__init__.py +33 -0
- vllm/lib/python3.10/site-packages/pandas/api/extensions/__pycache__/__init__.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/pandas/api/indexers/__init__.py +17 -0
- vllm/lib/python3.10/site-packages/pandas/api/types/__init__.py +23 -0
- vllm/lib/python3.10/site-packages/pandas/api/types/__pycache__/__init__.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/pandas/api/typing/__init__.py +55 -0
- vllm/lib/python3.10/site-packages/pandas/api/typing/__pycache__/__init__.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/pandas/compat/__init__.py +199 -0
- vllm/lib/python3.10/site-packages/pandas/compat/__pycache__/__init__.cpython-310.pyc +0 -0
parrot/lib/tk8.6/images/pwrdLogo75.gif
ADDED
|
Git LFS Details
|
parrot/share/terminfo/s/screen-16color-bce-s
ADDED
|
Binary file (1.92 kB). View file
|
|
|
parrot/share/terminfo/s/screen.linux-s
ADDED
|
Binary file (1.75 kB). View file
|
|
|
parrot/share/terminfo/s/screen.minitel1
ADDED
|
Binary file (1.67 kB). View file
|
|
|
parrot/share/terminfo/s/soroc120
ADDED
|
Binary file (959 Bytes). View file
|
|
|
parrot/share/terminfo/s/soroc140
ADDED
|
Binary file (486 Bytes). View file
|
|
|
parrot/share/terminfo/s/st
ADDED
|
Binary file (2.64 kB). View file
|
|
|
parrot/share/terminfo/s/st-0.6
ADDED
|
Binary file (2.41 kB). View file
|
|
|
parrot/share/terminfo/s/st-16color
ADDED
|
Binary file (2.8 kB). View file
|
|
|
parrot/share/terminfo/s/sun-1
ADDED
|
Binary file (994 Bytes). View file
|
|
|
parrot/share/terminfo/s/superbrain
ADDED
|
Binary file (969 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4012
ADDED
|
Binary file (214 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4025-17
ADDED
|
Binary file (661 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4105-30
ADDED
|
Binary file (1.16 kB). View file
|
|
|
parrot/share/terminfo/t/tek4105a
ADDED
|
Binary file (969 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4106brl
ADDED
|
Binary file (920 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4113
ADDED
|
Binary file (493 Bytes). View file
|
|
|
parrot/share/terminfo/t/tek4113-nd
ADDED
|
Binary file (523 Bytes). View file
|
|
|
parrot/share/terminfo/t/teleray
ADDED
|
Binary file (566 Bytes). View file
|
|
|
parrot/share/terminfo/t/ti800
ADDED
|
Binary file (412 Bytes). View file
|
|
|
parrot/share/terminfo/t/ti924w
ADDED
|
Binary file (618 Bytes). View file
|
|
|
parrot/share/terminfo/t/trs80II
ADDED
|
Binary file (451 Bytes). View file
|
|
|
parrot/share/terminfo/t/ts100
ADDED
|
Binary file (1.25 kB). View file
|
|
|
parrot/share/terminfo/t/tty4424
ADDED
|
Binary file (775 Bytes). View file
|
|
|
parrot/share/terminfo/t/tty5420-rv
ADDED
|
Binary file (1.4 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912b+2p
ADDED
|
Binary file (249 Bytes). View file
|
|
|
parrot/share/terminfo/t/tvi912b-p-2p
ADDED
|
Binary file (1.31 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912b-unk
ADDED
|
Binary file (1.19 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912b-unk-vb
ADDED
|
Binary file (1.32 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912c
ADDED
|
Binary file (1.22 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912c-2p-unk
ADDED
|
Binary file (1.3 kB). View file
|
|
|
parrot/share/terminfo/t/tvi920
ADDED
|
Binary file (816 Bytes). View file
|
|
|
parrot/share/terminfo/t/tvi920b-2p-p
ADDED
|
Binary file (1.4 kB). View file
|
|
|
parrot/share/terminfo/t/tvi920b-vb
ADDED
|
Binary file (1.42 kB). View file
|
|
|
parrot/share/terminfo/t/tvi920c-2p
ADDED
|
Binary file (1.39 kB). View file
|
|
|
parrot/share/terminfo/t/tvi950-rv-2p
ADDED
|
Binary file (1.03 kB). View file
|
|
|
parrot/share/terminfo/t/tvi955
ADDED
|
Binary file (1.03 kB). View file
|
|
|
parrot/share/terminfo/t/tw52
ADDED
|
Binary file (1.35 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/pandas/_testing/__pycache__/contexts.cpython-310.pyc
ADDED
|
Binary file (6.23 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/pandas/api/__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
""" public toolkit API """
|
| 2 |
+
from pandas.api import (
|
| 3 |
+
extensions,
|
| 4 |
+
indexers,
|
| 5 |
+
interchange,
|
| 6 |
+
types,
|
| 7 |
+
typing,
|
| 8 |
+
)
|
| 9 |
+
|
| 10 |
+
__all__ = [
|
| 11 |
+
"interchange",
|
| 12 |
+
"extensions",
|
| 13 |
+
"indexers",
|
| 14 |
+
"types",
|
| 15 |
+
"typing",
|
| 16 |
+
]
|
vllm/lib/python3.10/site-packages/pandas/api/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (362 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/pandas/api/extensions/__init__.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Public API for extending pandas objects.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
from pandas._libs.lib import no_default
|
| 6 |
+
|
| 7 |
+
from pandas.core.dtypes.base import (
|
| 8 |
+
ExtensionDtype,
|
| 9 |
+
register_extension_dtype,
|
| 10 |
+
)
|
| 11 |
+
|
| 12 |
+
from pandas.core.accessor import (
|
| 13 |
+
register_dataframe_accessor,
|
| 14 |
+
register_index_accessor,
|
| 15 |
+
register_series_accessor,
|
| 16 |
+
)
|
| 17 |
+
from pandas.core.algorithms import take
|
| 18 |
+
from pandas.core.arrays import (
|
| 19 |
+
ExtensionArray,
|
| 20 |
+
ExtensionScalarOpsMixin,
|
| 21 |
+
)
|
| 22 |
+
|
| 23 |
+
__all__ = [
|
| 24 |
+
"no_default",
|
| 25 |
+
"ExtensionDtype",
|
| 26 |
+
"register_extension_dtype",
|
| 27 |
+
"register_dataframe_accessor",
|
| 28 |
+
"register_index_accessor",
|
| 29 |
+
"register_series_accessor",
|
| 30 |
+
"take",
|
| 31 |
+
"ExtensionArray",
|
| 32 |
+
"ExtensionScalarOpsMixin",
|
| 33 |
+
]
|
vllm/lib/python3.10/site-packages/pandas/api/extensions/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (727 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/pandas/api/indexers/__init__.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Public API for Rolling Window Indexers.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
from pandas.core.indexers import check_array_indexer
|
| 6 |
+
from pandas.core.indexers.objects import (
|
| 7 |
+
BaseIndexer,
|
| 8 |
+
FixedForwardWindowIndexer,
|
| 9 |
+
VariableOffsetWindowIndexer,
|
| 10 |
+
)
|
| 11 |
+
|
| 12 |
+
__all__ = [
|
| 13 |
+
"check_array_indexer",
|
| 14 |
+
"BaseIndexer",
|
| 15 |
+
"FixedForwardWindowIndexer",
|
| 16 |
+
"VariableOffsetWindowIndexer",
|
| 17 |
+
]
|
vllm/lib/python3.10/site-packages/pandas/api/types/__init__.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Public toolkit API.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
from pandas._libs.lib import infer_dtype
|
| 6 |
+
|
| 7 |
+
from pandas.core.dtypes.api import * # noqa: F403
|
| 8 |
+
from pandas.core.dtypes.concat import union_categoricals
|
| 9 |
+
from pandas.core.dtypes.dtypes import (
|
| 10 |
+
CategoricalDtype,
|
| 11 |
+
DatetimeTZDtype,
|
| 12 |
+
IntervalDtype,
|
| 13 |
+
PeriodDtype,
|
| 14 |
+
)
|
| 15 |
+
|
| 16 |
+
__all__ = [
|
| 17 |
+
"infer_dtype",
|
| 18 |
+
"union_categoricals",
|
| 19 |
+
"CategoricalDtype",
|
| 20 |
+
"DatetimeTZDtype",
|
| 21 |
+
"IntervalDtype",
|
| 22 |
+
"PeriodDtype",
|
| 23 |
+
]
|
vllm/lib/python3.10/site-packages/pandas/api/types/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (552 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/pandas/api/typing/__init__.py
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Public API classes that store intermediate results useful for type-hinting.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
from pandas._libs import NaTType
|
| 6 |
+
from pandas._libs.missing import NAType
|
| 7 |
+
|
| 8 |
+
from pandas.core.groupby import (
|
| 9 |
+
DataFrameGroupBy,
|
| 10 |
+
SeriesGroupBy,
|
| 11 |
+
)
|
| 12 |
+
from pandas.core.resample import (
|
| 13 |
+
DatetimeIndexResamplerGroupby,
|
| 14 |
+
PeriodIndexResamplerGroupby,
|
| 15 |
+
Resampler,
|
| 16 |
+
TimedeltaIndexResamplerGroupby,
|
| 17 |
+
TimeGrouper,
|
| 18 |
+
)
|
| 19 |
+
from pandas.core.window import (
|
| 20 |
+
Expanding,
|
| 21 |
+
ExpandingGroupby,
|
| 22 |
+
ExponentialMovingWindow,
|
| 23 |
+
ExponentialMovingWindowGroupby,
|
| 24 |
+
Rolling,
|
| 25 |
+
RollingGroupby,
|
| 26 |
+
Window,
|
| 27 |
+
)
|
| 28 |
+
|
| 29 |
+
# TODO: Can't import Styler without importing jinja2
|
| 30 |
+
# from pandas.io.formats.style import Styler
|
| 31 |
+
from pandas.io.json._json import JsonReader
|
| 32 |
+
from pandas.io.stata import StataReader
|
| 33 |
+
|
| 34 |
+
__all__ = [
|
| 35 |
+
"DataFrameGroupBy",
|
| 36 |
+
"DatetimeIndexResamplerGroupby",
|
| 37 |
+
"Expanding",
|
| 38 |
+
"ExpandingGroupby",
|
| 39 |
+
"ExponentialMovingWindow",
|
| 40 |
+
"ExponentialMovingWindowGroupby",
|
| 41 |
+
"JsonReader",
|
| 42 |
+
"NaTType",
|
| 43 |
+
"NAType",
|
| 44 |
+
"PeriodIndexResamplerGroupby",
|
| 45 |
+
"Resampler",
|
| 46 |
+
"Rolling",
|
| 47 |
+
"RollingGroupby",
|
| 48 |
+
"SeriesGroupBy",
|
| 49 |
+
"StataReader",
|
| 50 |
+
# See TODO above
|
| 51 |
+
# "Styler",
|
| 52 |
+
"TimedeltaIndexResamplerGroupby",
|
| 53 |
+
"TimeGrouper",
|
| 54 |
+
"Window",
|
| 55 |
+
]
|
vllm/lib/python3.10/site-packages/pandas/api/typing/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (1.07 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/pandas/compat/__init__.py
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
compat
|
| 3 |
+
======
|
| 4 |
+
|
| 5 |
+
Cross-compatible functions for different versions of Python.
|
| 6 |
+
|
| 7 |
+
Other items:
|
| 8 |
+
* platform checker
|
| 9 |
+
"""
|
| 10 |
+
from __future__ import annotations
|
| 11 |
+
|
| 12 |
+
import os
|
| 13 |
+
import platform
|
| 14 |
+
import sys
|
| 15 |
+
from typing import TYPE_CHECKING
|
| 16 |
+
|
| 17 |
+
from pandas.compat._constants import (
|
| 18 |
+
IS64,
|
| 19 |
+
ISMUSL,
|
| 20 |
+
PY310,
|
| 21 |
+
PY311,
|
| 22 |
+
PY312,
|
| 23 |
+
PYPY,
|
| 24 |
+
)
|
| 25 |
+
import pandas.compat.compressors
|
| 26 |
+
from pandas.compat.numpy import is_numpy_dev
|
| 27 |
+
from pandas.compat.pyarrow import (
|
| 28 |
+
pa_version_under10p1,
|
| 29 |
+
pa_version_under11p0,
|
| 30 |
+
pa_version_under13p0,
|
| 31 |
+
pa_version_under14p0,
|
| 32 |
+
pa_version_under14p1,
|
| 33 |
+
pa_version_under16p0,
|
| 34 |
+
pa_version_under17p0,
|
| 35 |
+
)
|
| 36 |
+
|
| 37 |
+
if TYPE_CHECKING:
|
| 38 |
+
from pandas._typing import F
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
def set_function_name(f: F, name: str, cls: type) -> F:
|
| 42 |
+
"""
|
| 43 |
+
Bind the name/qualname attributes of the function.
|
| 44 |
+
"""
|
| 45 |
+
f.__name__ = name
|
| 46 |
+
f.__qualname__ = f"{cls.__name__}.{name}"
|
| 47 |
+
f.__module__ = cls.__module__
|
| 48 |
+
return f
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def is_platform_little_endian() -> bool:
|
| 52 |
+
"""
|
| 53 |
+
Checking if the running platform is little endian.
|
| 54 |
+
|
| 55 |
+
Returns
|
| 56 |
+
-------
|
| 57 |
+
bool
|
| 58 |
+
True if the running platform is little endian.
|
| 59 |
+
"""
|
| 60 |
+
return sys.byteorder == "little"
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
def is_platform_windows() -> bool:
|
| 64 |
+
"""
|
| 65 |
+
Checking if the running platform is windows.
|
| 66 |
+
|
| 67 |
+
Returns
|
| 68 |
+
-------
|
| 69 |
+
bool
|
| 70 |
+
True if the running platform is windows.
|
| 71 |
+
"""
|
| 72 |
+
return sys.platform in ["win32", "cygwin"]
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
def is_platform_linux() -> bool:
|
| 76 |
+
"""
|
| 77 |
+
Checking if the running platform is linux.
|
| 78 |
+
|
| 79 |
+
Returns
|
| 80 |
+
-------
|
| 81 |
+
bool
|
| 82 |
+
True if the running platform is linux.
|
| 83 |
+
"""
|
| 84 |
+
return sys.platform == "linux"
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def is_platform_mac() -> bool:
|
| 88 |
+
"""
|
| 89 |
+
Checking if the running platform is mac.
|
| 90 |
+
|
| 91 |
+
Returns
|
| 92 |
+
-------
|
| 93 |
+
bool
|
| 94 |
+
True if the running platform is mac.
|
| 95 |
+
"""
|
| 96 |
+
return sys.platform == "darwin"
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
def is_platform_arm() -> bool:
|
| 100 |
+
"""
|
| 101 |
+
Checking if the running platform use ARM architecture.
|
| 102 |
+
|
| 103 |
+
Returns
|
| 104 |
+
-------
|
| 105 |
+
bool
|
| 106 |
+
True if the running platform uses ARM architecture.
|
| 107 |
+
"""
|
| 108 |
+
return platform.machine() in ("arm64", "aarch64") or platform.machine().startswith(
|
| 109 |
+
"armv"
|
| 110 |
+
)
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
def is_platform_power() -> bool:
|
| 114 |
+
"""
|
| 115 |
+
Checking if the running platform use Power architecture.
|
| 116 |
+
|
| 117 |
+
Returns
|
| 118 |
+
-------
|
| 119 |
+
bool
|
| 120 |
+
True if the running platform uses ARM architecture.
|
| 121 |
+
"""
|
| 122 |
+
return platform.machine() in ("ppc64", "ppc64le")
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
def is_ci_environment() -> bool:
|
| 126 |
+
"""
|
| 127 |
+
Checking if running in a continuous integration environment by checking
|
| 128 |
+
the PANDAS_CI environment variable.
|
| 129 |
+
|
| 130 |
+
Returns
|
| 131 |
+
-------
|
| 132 |
+
bool
|
| 133 |
+
True if the running in a continuous integration environment.
|
| 134 |
+
"""
|
| 135 |
+
return os.environ.get("PANDAS_CI", "0") == "1"
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
def get_lzma_file() -> type[pandas.compat.compressors.LZMAFile]:
|
| 139 |
+
"""
|
| 140 |
+
Importing the `LZMAFile` class from the `lzma` module.
|
| 141 |
+
|
| 142 |
+
Returns
|
| 143 |
+
-------
|
| 144 |
+
class
|
| 145 |
+
The `LZMAFile` class from the `lzma` module.
|
| 146 |
+
|
| 147 |
+
Raises
|
| 148 |
+
------
|
| 149 |
+
RuntimeError
|
| 150 |
+
If the `lzma` module was not imported correctly, or didn't exist.
|
| 151 |
+
"""
|
| 152 |
+
if not pandas.compat.compressors.has_lzma:
|
| 153 |
+
raise RuntimeError(
|
| 154 |
+
"lzma module not available. "
|
| 155 |
+
"A Python re-install with the proper dependencies, "
|
| 156 |
+
"might be required to solve this issue."
|
| 157 |
+
)
|
| 158 |
+
return pandas.compat.compressors.LZMAFile
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
def get_bz2_file() -> type[pandas.compat.compressors.BZ2File]:
|
| 162 |
+
"""
|
| 163 |
+
Importing the `BZ2File` class from the `bz2` module.
|
| 164 |
+
|
| 165 |
+
Returns
|
| 166 |
+
-------
|
| 167 |
+
class
|
| 168 |
+
The `BZ2File` class from the `bz2` module.
|
| 169 |
+
|
| 170 |
+
Raises
|
| 171 |
+
------
|
| 172 |
+
RuntimeError
|
| 173 |
+
If the `bz2` module was not imported correctly, or didn't exist.
|
| 174 |
+
"""
|
| 175 |
+
if not pandas.compat.compressors.has_bz2:
|
| 176 |
+
raise RuntimeError(
|
| 177 |
+
"bz2 module not available. "
|
| 178 |
+
"A Python re-install with the proper dependencies, "
|
| 179 |
+
"might be required to solve this issue."
|
| 180 |
+
)
|
| 181 |
+
return pandas.compat.compressors.BZ2File
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
__all__ = [
|
| 185 |
+
"is_numpy_dev",
|
| 186 |
+
"pa_version_under10p1",
|
| 187 |
+
"pa_version_under11p0",
|
| 188 |
+
"pa_version_under13p0",
|
| 189 |
+
"pa_version_under14p0",
|
| 190 |
+
"pa_version_under14p1",
|
| 191 |
+
"pa_version_under16p0",
|
| 192 |
+
"pa_version_under17p0",
|
| 193 |
+
"IS64",
|
| 194 |
+
"ISMUSL",
|
| 195 |
+
"PY310",
|
| 196 |
+
"PY311",
|
| 197 |
+
"PY312",
|
| 198 |
+
"PYPY",
|
| 199 |
+
]
|
vllm/lib/python3.10/site-packages/pandas/compat/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (4.74 kB). View file
|
|
|