diff --git a/videollama2/lib/python3.10/site-packages/pandas/arrays/__pycache__/__init__.cpython-310.pyc b/videollama2/lib/python3.10/site-packages/pandas/arrays/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7a4818c227ab85219b5ddf774f7bd47bf447caf5 Binary files /dev/null and b/videollama2/lib/python3.10/site-packages/pandas/arrays/__pycache__/__init__.cpython-310.pyc differ diff --git a/videollama2/lib/python3.10/site-packages/pandas/errors/__init__.py b/videollama2/lib/python3.10/site-packages/pandas/errors/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..01094ba36b9dd5f3414c32a9a4f832b85902e021 --- /dev/null +++ b/videollama2/lib/python3.10/site-packages/pandas/errors/__init__.py @@ -0,0 +1,850 @@ +""" +Expose public exceptions & warnings +""" +from __future__ import annotations + +import ctypes + +from pandas._config.config import OptionError + +from pandas._libs.tslibs import ( + OutOfBoundsDatetime, + OutOfBoundsTimedelta, +) + +from pandas.util.version import InvalidVersion + + +class IntCastingNaNError(ValueError): + """ + Exception raised when converting (``astype``) an array with NaN to an integer type. + + Examples + -------- + >>> pd.DataFrame(np.array([[1, np.nan], [2, 3]]), dtype="i8") + Traceback (most recent call last): + IntCastingNaNError: Cannot convert non-finite values (NA or inf) to integer + """ + + +class NullFrequencyError(ValueError): + """ + Exception raised when a ``freq`` cannot be null. + + Particularly ``DatetimeIndex.shift``, ``TimedeltaIndex.shift``, + ``PeriodIndex.shift``. + + Examples + -------- + >>> df = pd.DatetimeIndex(["2011-01-01 10:00", "2011-01-01"], freq=None) + >>> df.shift(2) + Traceback (most recent call last): + NullFrequencyError: Cannot shift with no freq + """ + + +class PerformanceWarning(Warning): + """ + Warning raised when there is a possible performance impact. + + Examples + -------- + >>> df = pd.DataFrame({"jim": [0, 0, 1, 1], + ... "joe": ["x", "x", "z", "y"], + ... "jolie": [1, 2, 3, 4]}) + >>> df = df.set_index(["jim", "joe"]) + >>> df + jolie + jim joe + 0 x 1 + x 2 + 1 z 3 + y 4 + >>> df.loc[(1, 'z')] # doctest: +SKIP + # PerformanceWarning: indexing past lexsort depth may impact performance. + df.loc[(1, 'z')] + jolie + jim joe + 1 z 3 + """ + + +class UnsupportedFunctionCall(ValueError): + """ + Exception raised when attempting to call a unsupported numpy function. + + For example, ``np.cumsum(groupby_object)``. + + Examples + -------- + >>> df = pd.DataFrame({"A": [0, 0, 1, 1], + ... "B": ["x", "x", "z", "y"], + ... "C": [1, 2, 3, 4]} + ... ) + >>> np.cumsum(df.groupby(["A"])) + Traceback (most recent call last): + UnsupportedFunctionCall: numpy operations are not valid with groupby. + Use .groupby(...).cumsum() instead + """ + + +class UnsortedIndexError(KeyError): + """ + Error raised when slicing a MultiIndex which has not been lexsorted. + + Subclass of `KeyError`. + + Examples + -------- + >>> df = pd.DataFrame({"cat": [0, 0, 1, 1], + ... "color": ["white", "white", "brown", "black"], + ... "lives": [4, 4, 3, 7]}, + ... ) + >>> df = df.set_index(["cat", "color"]) + >>> df + lives + cat color + 0 white 4 + white 4 + 1 brown 3 + black 7 + >>> df.loc[(0, "black"):(1, "white")] + Traceback (most recent call last): + UnsortedIndexError: 'Key length (2) was greater + than MultiIndex lexsort depth (1)' + """ + + +class ParserError(ValueError): + """ + Exception that is raised by an error encountered in parsing file contents. + + This is a generic error raised for errors encountered when functions like + `read_csv` or `read_html` are parsing contents of a file. + + See Also + -------- + read_csv : Read CSV (comma-separated) file into a DataFrame. + read_html : Read HTML table into a DataFrame. + + Examples + -------- + >>> data = '''a,b,c + ... cat,foo,bar + ... dog,foo,"baz''' + >>> from io import StringIO + >>> pd.read_csv(StringIO(data), skipfooter=1, engine='python') + Traceback (most recent call last): + ParserError: ',' expected after '"'. Error could possibly be due + to parsing errors in the skipped footer rows + """ + + +class DtypeWarning(Warning): + """ + Warning raised when reading different dtypes in a column from a file. + + Raised for a dtype incompatibility. This can happen whenever `read_csv` + or `read_table` encounter non-uniform dtypes in a column(s) of a given + CSV file. + + See Also + -------- + read_csv : Read CSV (comma-separated) file into a DataFrame. + read_table : Read general delimited file into a DataFrame. + + Notes + ----- + This warning is issued when dealing with larger files because the dtype + checking happens per chunk read. + + Despite the warning, the CSV file is read with mixed types in a single + column which will be an object type. See the examples below to better + understand this issue. + + Examples + -------- + This example creates and reads a large CSV file with a column that contains + `int` and `str`. + + >>> df = pd.DataFrame({'a': (['1'] * 100000 + ['X'] * 100000 + + ... ['1'] * 100000), + ... 'b': ['b'] * 300000}) # doctest: +SKIP + >>> df.to_csv('test.csv', index=False) # doctest: +SKIP + >>> df2 = pd.read_csv('test.csv') # doctest: +SKIP + ... # DtypeWarning: Columns (0) have mixed types + + Important to notice that ``df2`` will contain both `str` and `int` for the + same input, '1'. + + >>> df2.iloc[262140, 0] # doctest: +SKIP + '1' + >>> type(df2.iloc[262140, 0]) # doctest: +SKIP + + >>> df2.iloc[262150, 0] # doctest: +SKIP + 1 + >>> type(df2.iloc[262150, 0]) # doctest: +SKIP + + + One way to solve this issue is using the `dtype` parameter in the + `read_csv` and `read_table` functions to explicit the conversion: + + >>> df2 = pd.read_csv('test.csv', sep=',', dtype={'a': str}) # doctest: +SKIP + + No warning was issued. + """ + + +class EmptyDataError(ValueError): + """ + Exception raised in ``pd.read_csv`` when empty data or header is encountered. + + Examples + -------- + >>> from io import StringIO + >>> empty = StringIO() + >>> pd.read_csv(empty) + Traceback (most recent call last): + EmptyDataError: No columns to parse from file + """ + + +class ParserWarning(Warning): + """ + Warning raised when reading a file that doesn't use the default 'c' parser. + + Raised by `pd.read_csv` and `pd.read_table` when it is necessary to change + parsers, generally from the default 'c' parser to 'python'. + + It happens due to a lack of support or functionality for parsing a + particular attribute of a CSV file with the requested engine. + + Currently, 'c' unsupported options include the following parameters: + + 1. `sep` other than a single character (e.g. regex separators) + 2. `skipfooter` higher than 0 + 3. `sep=None` with `delim_whitespace=False` + + The warning can be avoided by adding `engine='python'` as a parameter in + `pd.read_csv` and `pd.read_table` methods. + + See Also + -------- + pd.read_csv : Read CSV (comma-separated) file into DataFrame. + pd.read_table : Read general delimited file into DataFrame. + + Examples + -------- + Using a `sep` in `pd.read_csv` other than a single character: + + >>> import io + >>> csv = '''a;b;c + ... 1;1,8 + ... 1;2,1''' + >>> df = pd.read_csv(io.StringIO(csv), sep='[;,]') # doctest: +SKIP + ... # ParserWarning: Falling back to the 'python' engine... + + Adding `engine='python'` to `pd.read_csv` removes the Warning: + + >>> df = pd.read_csv(io.StringIO(csv), sep='[;,]', engine='python') + """ + + +class MergeError(ValueError): + """ + Exception raised when merging data. + + Subclass of ``ValueError``. + + Examples + -------- + >>> left = pd.DataFrame({"a": ["a", "b", "b", "d"], + ... "b": ["cat", "dog", "weasel", "horse"]}, + ... index=range(4)) + >>> right = pd.DataFrame({"a": ["a", "b", "c", "d"], + ... "c": ["meow", "bark", "chirp", "nay"]}, + ... index=range(4)).set_index("a") + >>> left.join(right, on="a", validate="one_to_one",) + Traceback (most recent call last): + MergeError: Merge keys are not unique in left dataset; not a one-to-one merge + """ + + +class AbstractMethodError(NotImplementedError): + """ + Raise this error instead of NotImplementedError for abstract methods. + + Examples + -------- + >>> class Foo: + ... @classmethod + ... def classmethod(cls): + ... raise pd.errors.AbstractMethodError(cls, methodtype="classmethod") + ... def method(self): + ... raise pd.errors.AbstractMethodError(self) + >>> test = Foo.classmethod() + Traceback (most recent call last): + AbstractMethodError: This classmethod must be defined in the concrete class Foo + + >>> test2 = Foo().method() + Traceback (most recent call last): + AbstractMethodError: This classmethod must be defined in the concrete class Foo + """ + + def __init__(self, class_instance, methodtype: str = "method") -> None: + types = {"method", "classmethod", "staticmethod", "property"} + if methodtype not in types: + raise ValueError( + f"methodtype must be one of {methodtype}, got {types} instead." + ) + self.methodtype = methodtype + self.class_instance = class_instance + + def __str__(self) -> str: + if self.methodtype == "classmethod": + name = self.class_instance.__name__ + else: + name = type(self.class_instance).__name__ + return f"This {self.methodtype} must be defined in the concrete class {name}" + + +class NumbaUtilError(Exception): + """ + Error raised for unsupported Numba engine routines. + + Examples + -------- + >>> df = pd.DataFrame({"key": ["a", "a", "b", "b"], "data": [1, 2, 3, 4]}, + ... columns=["key", "data"]) + >>> def incorrect_function(x): + ... return sum(x) * 2.7 + >>> df.groupby("key").agg(incorrect_function, engine="numba") + Traceback (most recent call last): + NumbaUtilError: The first 2 arguments to incorrect_function + must be ['values', 'index'] + """ + + +class DuplicateLabelError(ValueError): + """ + Error raised when an operation would introduce duplicate labels. + + Examples + -------- + >>> s = pd.Series([0, 1, 2], index=['a', 'b', 'c']).set_flags( + ... allows_duplicate_labels=False + ... ) + >>> s.reindex(['a', 'a', 'b']) + Traceback (most recent call last): + ... + DuplicateLabelError: Index has duplicates. + positions + label + a [0, 1] + """ + + +class InvalidIndexError(Exception): + """ + Exception raised when attempting to use an invalid index key. + + Examples + -------- + >>> idx = pd.MultiIndex.from_product([["x", "y"], [0, 1]]) + >>> df = pd.DataFrame([[1, 1, 2, 2], + ... [3, 3, 4, 4]], columns=idx) + >>> df + x y + 0 1 0 1 + 0 1 1 2 2 + 1 3 3 4 4 + >>> df[:, 0] + Traceback (most recent call last): + InvalidIndexError: (slice(None, None, None), 0) + """ + + +class DataError(Exception): + """ + Exceptionn raised when performing an operation on non-numerical data. + + For example, calling ``ohlc`` on a non-numerical column or a function + on a rolling window. + + Examples + -------- + >>> ser = pd.Series(['a', 'b', 'c']) + >>> ser.rolling(2).sum() + Traceback (most recent call last): + DataError: No numeric types to aggregate + """ + + +class SpecificationError(Exception): + """ + Exception raised by ``agg`` when the functions are ill-specified. + + The exception raised in two scenarios. + + The first way is calling ``agg`` on a + Dataframe or Series using a nested renamer (dict-of-dict). + + The second way is calling ``agg`` on a Dataframe with duplicated functions + names without assigning column name. + + Examples + -------- + >>> df = pd.DataFrame({'A': [1, 1, 1, 2, 2], + ... 'B': range(5), + ... 'C': range(5)}) + >>> df.groupby('A').B.agg({'foo': 'count'}) # doctest: +SKIP + ... # SpecificationError: nested renamer is not supported + + >>> df.groupby('A').agg({'B': {'foo': ['sum', 'max']}}) # doctest: +SKIP + ... # SpecificationError: nested renamer is not supported + + >>> df.groupby('A').agg(['min', 'min']) # doctest: +SKIP + ... # SpecificationError: nested renamer is not supported + """ + + +class SettingWithCopyError(ValueError): + """ + Exception raised when trying to set on a copied slice from a ``DataFrame``. + + The ``mode.chained_assignment`` needs to be set to set to 'raise.' This can + happen unintentionally when chained indexing. + + For more information on evaluation order, + see :ref:`the user guide`. + + For more information on view vs. copy, + see :ref:`the user guide`. + + Examples + -------- + >>> pd.options.mode.chained_assignment = 'raise' + >>> df = pd.DataFrame({'A': [1, 1, 1, 2, 2]}, columns=['A']) + >>> df.loc[0:3]['A'] = 'a' # doctest: +SKIP + ... # SettingWithCopyError: A value is trying to be set on a copy of a... + """ + + +class SettingWithCopyWarning(Warning): + """ + Warning raised when trying to set on a copied slice from a ``DataFrame``. + + The ``mode.chained_assignment`` needs to be set to set to 'warn.' + 'Warn' is the default option. This can happen unintentionally when + chained indexing. + + For more information on evaluation order, + see :ref:`the user guide`. + + For more information on view vs. copy, + see :ref:`the user guide`. + + Examples + -------- + >>> df = pd.DataFrame({'A': [1, 1, 1, 2, 2]}, columns=['A']) + >>> df.loc[0:3]['A'] = 'a' # doctest: +SKIP + ... # SettingWithCopyWarning: A value is trying to be set on a copy of a... + """ + + +class ChainedAssignmentError(Warning): + """ + Warning raised when trying to set using chained assignment. + + When the ``mode.copy_on_write`` option is enabled, chained assignment can + never work. In such a situation, we are always setting into a temporary + object that is the result of an indexing operation (getitem), which under + Copy-on-Write always behaves as a copy. Thus, assigning through a chain + can never update the original Series or DataFrame. + + For more information on view vs. copy, + see :ref:`the user guide`. + + Examples + -------- + >>> pd.options.mode.copy_on_write = True + >>> df = pd.DataFrame({'A': [1, 1, 1, 2, 2]}, columns=['A']) + >>> df["A"][0:3] = 10 # doctest: +SKIP + ... # ChainedAssignmentError: ... + >>> pd.options.mode.copy_on_write = False + """ + + +_chained_assignment_msg = ( + "A value is trying to be set on a copy of a DataFrame or Series " + "through chained assignment.\n" + "When using the Copy-on-Write mode, such chained assignment never works " + "to update the original DataFrame or Series, because the intermediate " + "object on which we are setting values always behaves as a copy.\n\n" + "Try using '.loc[row_indexer, col_indexer] = value' instead, to perform " + "the assignment in a single step.\n\n" + "See the caveats in the documentation: " + "https://pandas.pydata.org/pandas-docs/stable/user_guide/" + "indexing.html#returning-a-view-versus-a-copy" +) + + +_chained_assignment_method_msg = ( + "A value is trying to be set on a copy of a DataFrame or Series " + "through chained assignment using an inplace method.\n" + "When using the Copy-on-Write mode, such inplace method never works " + "to update the original DataFrame or Series, because the intermediate " + "object on which we are setting values always behaves as a copy.\n\n" + "For example, when doing 'df[col].method(value, inplace=True)', try " + "using 'df.method({col: value}, inplace=True)' instead, to perform " + "the operation inplace on the original object.\n\n" +) + + +_chained_assignment_warning_msg = ( + "ChainedAssignmentError: behaviour will change in pandas 3.0!\n" + "You are setting values through chained assignment. Currently this works " + "in certain cases, but when using Copy-on-Write (which will become the " + "default behaviour in pandas 3.0) this will never work to update the " + "original DataFrame or Series, because the intermediate object on which " + "we are setting values will behave as a copy.\n" + "A typical example is when you are setting values in a column of a " + "DataFrame, like:\n\n" + 'df["col"][row_indexer] = value\n\n' + 'Use `df.loc[row_indexer, "col"] = values` instead, to perform the ' + "assignment in a single step and ensure this keeps updating the original `df`.\n\n" + "See the caveats in the documentation: " + "https://pandas.pydata.org/pandas-docs/stable/user_guide/" + "indexing.html#returning-a-view-versus-a-copy\n" +) + + +_chained_assignment_warning_method_msg = ( + "A value is trying to be set on a copy of a DataFrame or Series " + "through chained assignment using an inplace method.\n" + "The behavior will change in pandas 3.0. This inplace method will " + "never work because the intermediate object on which we are setting " + "values always behaves as a copy.\n\n" + "For example, when doing 'df[col].method(value, inplace=True)', try " + "using 'df.method({col: value}, inplace=True)' or " + "df[col] = df[col].method(value) instead, to perform " + "the operation inplace on the original object.\n\n" +) + + +def _check_cacher(obj): + # This is a mess, selection paths that return a view set the _cacher attribute + # on the Series; most of them also set _item_cache which adds 1 to our relevant + # reference count, but iloc does not, so we have to check if we are actually + # in the item cache + if hasattr(obj, "_cacher"): + parent = obj._cacher[1]() + # parent could be dead + if parent is None: + return False + if hasattr(parent, "_item_cache"): + if obj._cacher[0] in parent._item_cache: + # Check if we are actually the item from item_cache, iloc creates a + # new object + return obj is parent._item_cache[obj._cacher[0]] + return False + + +class NumExprClobberingError(NameError): + """ + Exception raised when trying to use a built-in numexpr name as a variable name. + + ``eval`` or ``query`` will throw the error if the engine is set + to 'numexpr'. 'numexpr' is the default engine value for these methods if the + numexpr package is installed. + + Examples + -------- + >>> df = pd.DataFrame({'abs': [1, 1, 1]}) + >>> df.query("abs > 2") # doctest: +SKIP + ... # NumExprClobberingError: Variables in expression "(abs) > (2)" overlap... + >>> sin, a = 1, 2 + >>> pd.eval("sin + a", engine='numexpr') # doctest: +SKIP + ... # NumExprClobberingError: Variables in expression "(sin) + (a)" overlap... + """ + + +class UndefinedVariableError(NameError): + """ + Exception raised by ``query`` or ``eval`` when using an undefined variable name. + + It will also specify whether the undefined variable is local or not. + + Examples + -------- + >>> df = pd.DataFrame({'A': [1, 1, 1]}) + >>> df.query("A > x") # doctest: +SKIP + ... # UndefinedVariableError: name 'x' is not defined + >>> df.query("A > @y") # doctest: +SKIP + ... # UndefinedVariableError: local variable 'y' is not defined + >>> pd.eval('x + 1') # doctest: +SKIP + ... # UndefinedVariableError: name 'x' is not defined + """ + + def __init__(self, name: str, is_local: bool | None = None) -> None: + base_msg = f"{repr(name)} is not defined" + if is_local: + msg = f"local variable {base_msg}" + else: + msg = f"name {base_msg}" + super().__init__(msg) + + +class IndexingError(Exception): + """ + Exception is raised when trying to index and there is a mismatch in dimensions. + + Examples + -------- + >>> df = pd.DataFrame({'A': [1, 1, 1]}) + >>> df.loc[..., ..., 'A'] # doctest: +SKIP + ... # IndexingError: indexer may only contain one '...' entry + >>> df = pd.DataFrame({'A': [1, 1, 1]}) + >>> df.loc[1, ..., ...] # doctest: +SKIP + ... # IndexingError: Too many indexers + >>> df[pd.Series([True], dtype=bool)] # doctest: +SKIP + ... # IndexingError: Unalignable boolean Series provided as indexer... + >>> s = pd.Series(range(2), + ... index = pd.MultiIndex.from_product([["a", "b"], ["c"]])) + >>> s.loc["a", "c", "d"] # doctest: +SKIP + ... # IndexingError: Too many indexers + """ + + +class PyperclipException(RuntimeError): + """ + Exception raised when clipboard functionality is unsupported. + + Raised by ``to_clipboard()`` and ``read_clipboard()``. + """ + + +class PyperclipWindowsException(PyperclipException): + """ + Exception raised when clipboard functionality is unsupported by Windows. + + Access to the clipboard handle would be denied due to some other + window process is accessing it. + """ + + def __init__(self, message: str) -> None: + # attr only exists on Windows, so typing fails on other platforms + message += f" ({ctypes.WinError()})" # type: ignore[attr-defined] + super().__init__(message) + + +class CSSWarning(UserWarning): + """ + Warning is raised when converting css styling fails. + + This can be due to the styling not having an equivalent value or because the + styling isn't properly formatted. + + Examples + -------- + >>> df = pd.DataFrame({'A': [1, 1, 1]}) + >>> df.style.applymap( + ... lambda x: 'background-color: blueGreenRed;' + ... ).to_excel('styled.xlsx') # doctest: +SKIP + CSSWarning: Unhandled color format: 'blueGreenRed' + >>> df.style.applymap( + ... lambda x: 'border: 1px solid red red;' + ... ).to_excel('styled.xlsx') # doctest: +SKIP + CSSWarning: Unhandled color format: 'blueGreenRed' + """ + + +class PossibleDataLossError(Exception): + """ + Exception raised when trying to open a HDFStore file when already opened. + + Examples + -------- + >>> store = pd.HDFStore('my-store', 'a') # doctest: +SKIP + >>> store.open("w") # doctest: +SKIP + ... # PossibleDataLossError: Re-opening the file [my-store] with mode [a]... + """ + + +class ClosedFileError(Exception): + """ + Exception is raised when trying to perform an operation on a closed HDFStore file. + + Examples + -------- + >>> store = pd.HDFStore('my-store', 'a') # doctest: +SKIP + >>> store.close() # doctest: +SKIP + >>> store.keys() # doctest: +SKIP + ... # ClosedFileError: my-store file is not open! + """ + + +class IncompatibilityWarning(Warning): + """ + Warning raised when trying to use where criteria on an incompatible HDF5 file. + """ + + +class AttributeConflictWarning(Warning): + """ + Warning raised when index attributes conflict when using HDFStore. + + Occurs when attempting to append an index with a different + name than the existing index on an HDFStore or attempting to append an index with a + different frequency than the existing index on an HDFStore. + + Examples + -------- + >>> idx1 = pd.Index(['a', 'b'], name='name1') + >>> df1 = pd.DataFrame([[1, 2], [3, 4]], index=idx1) + >>> df1.to_hdf('file', 'data', 'w', append=True) # doctest: +SKIP + >>> idx2 = pd.Index(['c', 'd'], name='name2') + >>> df2 = pd.DataFrame([[5, 6], [7, 8]], index=idx2) + >>> df2.to_hdf('file', 'data', 'a', append=True) # doctest: +SKIP + AttributeConflictWarning: the [index_name] attribute of the existing index is + [name1] which conflicts with the new [name2]... + """ + + +class DatabaseError(OSError): + """ + Error is raised when executing sql with bad syntax or sql that throws an error. + + Examples + -------- + >>> from sqlite3 import connect + >>> conn = connect(':memory:') + >>> pd.read_sql('select * test', conn) # doctest: +SKIP + ... # DatabaseError: Execution failed on sql 'test': near "test": syntax error + """ + + +class PossiblePrecisionLoss(Warning): + """ + Warning raised by to_stata on a column with a value outside or equal to int64. + + When the column value is outside or equal to the int64 value the column is + converted to a float64 dtype. + + Examples + -------- + >>> df = pd.DataFrame({"s": pd.Series([1, 2**53], dtype=np.int64)}) + >>> df.to_stata('test') # doctest: +SKIP + ... # PossiblePrecisionLoss: Column converted from int64 to float64... + """ + + +class ValueLabelTypeMismatch(Warning): + """ + Warning raised by to_stata on a category column that contains non-string values. + + Examples + -------- + >>> df = pd.DataFrame({"categories": pd.Series(["a", 2], dtype="category")}) + >>> df.to_stata('test') # doctest: +SKIP + ... # ValueLabelTypeMismatch: Stata value labels (pandas categories) must be str... + """ + + +class InvalidColumnName(Warning): + """ + Warning raised by to_stata the column contains a non-valid stata name. + + Because the column name is an invalid Stata variable, the name needs to be + converted. + + Examples + -------- + >>> df = pd.DataFrame({"0categories": pd.Series([2, 2])}) + >>> df.to_stata('test') # doctest: +SKIP + ... # InvalidColumnName: Not all pandas column names were valid Stata variable... + """ + + +class CategoricalConversionWarning(Warning): + """ + Warning is raised when reading a partial labeled Stata file using a iterator. + + Examples + -------- + >>> from pandas.io.stata import StataReader + >>> with StataReader('dta_file', chunksize=2) as reader: # doctest: +SKIP + ... for i, block in enumerate(reader): + ... print(i, block) + ... # CategoricalConversionWarning: One or more series with value labels... + """ + + +class LossySetitemError(Exception): + """ + Raised when trying to do a __setitem__ on an np.ndarray that is not lossless. + + Notes + ----- + This is an internal error. + """ + + +class NoBufferPresent(Exception): + """ + Exception is raised in _get_data_buffer to signal that there is no requested buffer. + """ + + +class InvalidComparison(Exception): + """ + Exception is raised by _validate_comparison_value to indicate an invalid comparison. + + Notes + ----- + This is an internal error. + """ + + +__all__ = [ + "AbstractMethodError", + "AttributeConflictWarning", + "CategoricalConversionWarning", + "ClosedFileError", + "CSSWarning", + "DatabaseError", + "DataError", + "DtypeWarning", + "DuplicateLabelError", + "EmptyDataError", + "IncompatibilityWarning", + "IntCastingNaNError", + "InvalidColumnName", + "InvalidComparison", + "InvalidIndexError", + "InvalidVersion", + "IndexingError", + "LossySetitemError", + "MergeError", + "NoBufferPresent", + "NullFrequencyError", + "NumbaUtilError", + "NumExprClobberingError", + "OptionError", + "OutOfBoundsDatetime", + "OutOfBoundsTimedelta", + "ParserError", + "ParserWarning", + "PerformanceWarning", + "PossibleDataLossError", + "PossiblePrecisionLoss", + "PyperclipException", + "PyperclipWindowsException", + "SettingWithCopyError", + "SettingWithCopyWarning", + "SpecificationError", + "UndefinedVariableError", + "UnsortedIndexError", + "UnsupportedFunctionCall", + "ValueLabelTypeMismatch", +] diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/GL_422_pixels.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/GL_422_pixels.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c88f4aaf48f36aae3633093bb12749f685335052 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/GL_422_pixels.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/abgr.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/abgr.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cad5a6d277b0093f25d4b7a42f5befe60d07807d Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/abgr.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/blend_color.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/blend_color.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b44763f8041ca6facf9420d346fd349fdf17f5a2 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/blend_color.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/blend_func_separate.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/blend_func_separate.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..406aed08501b44476dfa32fb668d3eb15422aae1 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/blend_func_separate.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/blend_subtract.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/blend_subtract.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4d932bc0d6287bd852fb36ba3a0941336829ed73 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/blend_subtract.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/clip_volume_hint.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/clip_volume_hint.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..16ee33e9f20f6ccbd17ad60272ff9b6298f8f8a1 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/clip_volume_hint.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/color_subtable.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/color_subtable.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7c0108f5a26749fd33c66cbe34ad603e567a3af8 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/color_subtable.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/convolution.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/convolution.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4c4412f31dec9c57a62bbb0e6f446003763a083c Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/convolution.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/coordinate_frame.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/coordinate_frame.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..788c2c09e9d24062f377b61afbdb23bdb0732e7a Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/coordinate_frame.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/debug_label.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/debug_label.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b4a988773908ae255645519d0964404d3f84d7d2 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/debug_label.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/debug_marker.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/debug_marker.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e3cfa2dae944ba96890ceca39dc33d31da2a6bc7 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/debug_marker.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/direct_state_access.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/direct_state_access.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..136679914e85cc55cc4418a2eefe06a9cad34d7f Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/direct_state_access.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/draw_buffers2.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/draw_buffers2.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f192ae914d44b98e72e899272b35613652ff0bf8 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/draw_buffers2.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/draw_instanced.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/draw_instanced.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..99e8f9fc850613cbef9181864c4b49c37f61eff1 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/draw_instanced.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/draw_range_elements.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/draw_range_elements.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..197dd706e238f42f1bc0ff0cc2c19a18972cf82a Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/draw_range_elements.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/fog_coord.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/fog_coord.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8bbf3ca216c9140181a8254fda3896d3e7efc0e5 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/fog_coord.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/framebuffer_multisample.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/framebuffer_multisample.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..686c99faf4744dc06bd5ba5070f4a7def317dd95 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/framebuffer_multisample.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/framebuffer_object.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/framebuffer_object.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fdc871f2199a7a248b8ecbdc96480db71945915d Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/framebuffer_object.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/framebuffer_sRGB.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/framebuffer_sRGB.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b9a5fc7af62bfdff846da24260aabcbbc4f2fe80 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/framebuffer_sRGB.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/geometry_shader4.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/geometry_shader4.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..95c4fe98aa449e83e581d6f335a46a2446679188 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/geometry_shader4.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/gpu_program_parameters.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/gpu_program_parameters.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..540e8fa12eefc5b76de9f9dd6a0e23dcd41acb02 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/gpu_program_parameters.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/gpu_shader4.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/gpu_shader4.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0366be8783740a436bde79b1487dcec6dc744dbe Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/gpu_shader4.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/histogram.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/histogram.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b554b8d1e2451fdbe9eb7cadcfe2a69f9c09fce2 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/histogram.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/index_func.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/index_func.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2aff6cd21e542ba11074896c4019bf0fcda6d246 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/index_func.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/index_material.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/index_material.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..40a9951e0026f5e79cc391f881df3ddfbc1d894f Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/index_material.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/index_texture.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/index_texture.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..daa7a3e4b4478e092ad77b667ff5e3a1223595be Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/index_texture.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/misc_attribute.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/misc_attribute.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..103268b6b432f9ae262fbc4694c4577c079319d6 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/misc_attribute.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/multi_draw_arrays.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/multi_draw_arrays.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c4af34199acd40dbff627329c888671c893f888d Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/multi_draw_arrays.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/multisample.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/multisample.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7401bc2cc10585fb324281e640ec994fd4c8a801 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/multisample.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/packed_depth_stencil.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/packed_depth_stencil.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..744c99804bdd152aa6ee1b36941c070a4f01aa05 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/packed_depth_stencil.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/packed_float.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/packed_float.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..eb199a89178ece5761b0337ec92082f8a8db9a62 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/packed_float.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/pixel_buffer_object.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/pixel_buffer_object.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..26eafc30b2ebe0cea5fde3bf352cce1dc342c30e Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/pixel_buffer_object.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/pixel_transform.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/pixel_transform.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..86a5b49789d24651aaad5c933941f25c4a22c4b6 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/pixel_transform.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/point_parameters.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/point_parameters.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e851ee064291d84b5849aab9b05362437f7c3cc3 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/point_parameters.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/polygon_offset.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/polygon_offset.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3d5eb752900341847f09a71ac6d74daf5ce602aa Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/polygon_offset.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/separate_specular_color.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/separate_specular_color.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..49d95fc06933b5c16b96c4a2ac6eaae6ccfb2523 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/separate_specular_color.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shader_image_load_formatted.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shader_image_load_formatted.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..565b0c5cd53740f8a64d329bf1c60e6798682efa Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shader_image_load_formatted.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shader_image_load_store.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shader_image_load_store.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..118300438d245322bfae973d51975a393c82b3dd Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shader_image_load_store.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shadow_funcs.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shadow_funcs.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..31eb416f4949821eb52dcce2b2b33158f84f93b1 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shadow_funcs.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shared_texture_palette.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shared_texture_palette.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2ac9c778d079857679de043f31d19ce05dbec91e Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/shared_texture_palette.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/stencil_clear_tag.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/stencil_clear_tag.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8e0a585ed014070391854735845e8b8d0eb4a9d1 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/stencil_clear_tag.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/stencil_two_side.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/stencil_two_side.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..45ade03225e33b485619ce09efb1629e5dd06c5f Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/stencil_two_side.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/stencil_wrap.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/stencil_wrap.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..32ff2ee8fd0fa8e31a76a63766558eb8c9719986 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/stencil_wrap.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/subtexture.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/subtexture.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e35106e1a397cd4289ad8954d9355bd397f6e291 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/subtexture.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..12e70a1b0cbdef0f7b420518075881e6b9dd671e Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_buffer_object.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_buffer_object.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4692ab12d1cec50b1ee92de6f3bb485c635324d4 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_buffer_object.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_compression_latc.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_compression_latc.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2a7e2eebb4eca8a0a8ce5811ab022239f2d3526a Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_compression_latc.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_compression_rgtc.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_compression_rgtc.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..80228865b4aa09ba23b99f99444a7d9cf1e69946 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_compression_rgtc.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_compression_s3tc.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_compression_s3tc.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..05bb19ce4d4999ae07ac5e242c42e7a5cc1b8f53 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_compression_s3tc.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_env_dot3.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_env_dot3.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e276bf3e3856db5e81a765fb17c608ca895913e7 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_env_dot3.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_integer.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_integer.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4344d4964b439e709c1584d117aad3e78677f472 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_integer.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_lod_bias.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_lod_bias.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c27bbdca847d401cd33613b78cd5f874daa44b06 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_lod_bias.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_mirror_clamp.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_mirror_clamp.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..24f4c3b3175e433f4f00dc0aee5c023458e1a21c Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_mirror_clamp.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_perturb_normal.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_perturb_normal.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9734b9191f0a2f2fa0819e35d042a8e583f0e1c5 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_perturb_normal.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_sRGB.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_sRGB.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..67a3df69122c7ccc7ad83e1d16cf55286ea7ae37 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_sRGB.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_sRGB_decode.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_sRGB_decode.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a105ad091efe7b8ae1ce07ef583cf6b02d4f2f2f Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_sRGB_decode.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_snorm.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_snorm.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bdbb7603c009aa6231360f5bf17f55a9a0907d1a Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/texture_snorm.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/transform_feedback.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/transform_feedback.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..21126f395978f571f200ea6849ba102eacfdaa8f Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/transform_feedback.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/vertex_array.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/vertex_array.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..be39d896a7e816295a5d1b0fae76601bd1506747 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/vertex_array.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/vertex_array_bgra.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/vertex_array_bgra.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fad7c3d04a3f60d3ae99594e8537c69c29c34102 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/vertex_array_bgra.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/vertex_attrib_64bit.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/vertex_attrib_64bit.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d741929ed4396e96c09828d97058e4423e0d653f Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/vertex_attrib_64bit.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/x11_sync_object.cpython-310.pyc b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/x11_sync_object.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3f6cc8937f2725a1395e8924de930bf395694170 Binary files /dev/null and b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/__pycache__/x11_sync_object.cpython-310.pyc differ diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/blend_func_separate.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/blend_func_separate.py new file mode 100644 index 0000000000000000000000000000000000000000..28702d4e2399d0aed75de3bf8c23a9de9f5477f4 --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/blend_func_separate.py @@ -0,0 +1,31 @@ +'''OpenGL extension EXT.blend_func_separate + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.blend_func_separate to provide a more +Python-friendly API + +Overview (from the spec) + + Blending capability is extended by defining a function that allows + independent setting of the RGB and alpha blend factors for blend + operations that require source and destination blend factors. It + is not always desired that the blending used for RGB is also applied + to alpha. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/blend_func_separate.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.blend_func_separate import * +from OpenGL.raw.GL.EXT.blend_func_separate import _EXTENSION_NAME + +def glInitBlendFuncSeparateEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + + +### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/fog_coord.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/fog_coord.py new file mode 100644 index 0000000000000000000000000000000000000000..eaacee92fe52644778fc2f7afc136260201fcbee --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/fog_coord.py @@ -0,0 +1,38 @@ +'''OpenGL extension EXT.fog_coord + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.fog_coord to provide a more +Python-friendly API + +Overview (from the spec) + + This extension allows specifying an explicit per-vertex fog + coordinate to be used in fog computations, rather than using a + fragment depth-based fog equation. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/fog_coord.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.fog_coord import * +from OpenGL.raw.GL.EXT.fog_coord import _EXTENSION_NAME + +def glInitFogCoordEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + +glFogCoordfvEXT=wrapper.wrapper(glFogCoordfvEXT).setInputArraySize( + 'coord', 1 +) +glFogCoorddvEXT=wrapper.wrapper(glFogCoorddvEXT).setInputArraySize( + 'coord', 1 +) +# INPUT glFogCoordPointerEXT.pointer size not checked against 'type,stride' +glFogCoordPointerEXT=wrapper.wrapper(glFogCoordPointerEXT).setInputArraySize( + 'pointer', None +) +### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/framebuffer_blit.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/framebuffer_blit.py new file mode 100644 index 0000000000000000000000000000000000000000..4f2c83bf688f78376d32efdf1389eb175038991e --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/framebuffer_blit.py @@ -0,0 +1,32 @@ +'''OpenGL extension EXT.framebuffer_blit + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.framebuffer_blit to provide a more +Python-friendly API + +Overview (from the spec) + + This extension modifies EXT_framebuffer_object by splitting the + framebuffer object binding point into separate DRAW and READ + bindings. This allows copying directly from one framebuffer to + another. In addition, a new high performance blit function is + added to facilitate these blits and perform some data conversion + where allowed. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/framebuffer_blit.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.framebuffer_blit import * +from OpenGL.raw.GL.EXT.framebuffer_blit import _EXTENSION_NAME + +def glInitFramebufferBlitEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + + +### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/histogram.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/histogram.py new file mode 100644 index 0000000000000000000000000000000000000000..f3c7c44cbb25f214af960b34fa2ae35923c29048 --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/histogram.py @@ -0,0 +1,52 @@ +'''OpenGL extension EXT.histogram + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.histogram to provide a more +Python-friendly API + +Overview (from the spec) + + This extension defines pixel operations that count occurences of + specific color component values (histogram) and that track the minimum + and maximum color component values (minmax). An optional mode allows + pixel data to be discarded after the histogram and/or minmax operations + are completed. Otherwise the pixel data continue on to the next + operation unaffected. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/histogram.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.histogram import * +from OpenGL.raw.GL.EXT.histogram import _EXTENSION_NAME + +def glInitHistogramEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + +# OUTPUT glGetHistogramEXT.values COMPSIZE(target,format,type) +glGetHistogramParameterfvEXT=wrapper.wrapper(glGetHistogramParameterfvEXT).setOutput( + 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True +) +glGetHistogramParameterivEXT=wrapper.wrapper(glGetHistogramParameterivEXT).setOutput( + 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True +) +# OUTPUT glGetMinmaxEXT.values COMPSIZE(target,format,type) +glGetMinmaxParameterfvEXT=wrapper.wrapper(glGetMinmaxParameterfvEXT).setOutput( + 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True +) +glGetMinmaxParameterivEXT=wrapper.wrapper(glGetMinmaxParameterivEXT).setOutput( + 'params',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True +) +### END AUTOGENERATED SECTION + +glGetHistogramParameterfvEXT = wrapper.wrapper(glGetHistogramParameterfvEXT).setOutput( + "params",(1,), orPassIn=True +) +glGetHistogramParameterivEXT = wrapper.wrapper(glGetHistogramParameterivEXT).setOutput( + "params",(1,), orPassIn=True +) diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/packed_pixels.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/packed_pixels.py new file mode 100644 index 0000000000000000000000000000000000000000..8a836a2dd55fb6925c463967a8f94713b8edd127 --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/packed_pixels.py @@ -0,0 +1,34 @@ +'''OpenGL extension EXT.packed_pixels + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.packed_pixels to provide a more +Python-friendly API + +Overview (from the spec) + + This extension provides support for packed pixels in host memory. A + packed pixel is represented entirely by one unsigned byte, one + unsigned short, or one unsigned integer. The fields with the packed + pixel are not proper machine types, but the pixel as a whole is. Thus + the pixel storage modes, including PACK_SKIP_PIXELS, PACK_ROW_LENGTH, + PACK_SKIP_ROWS, PACK_IMAGE_HEIGHT_EXT, PACK_SKIP_IMAGES_EXT, + PACK_SWAP_BYTES, PACK_ALIGNMENT, and their unpacking counterparts all + work correctly with packed pixels. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/packed_pixels.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.packed_pixels import * +from OpenGL.raw.GL.EXT.packed_pixels import _EXTENSION_NAME + +def glInitPackedPixelsEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + + +### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/polygon_offset.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/polygon_offset.py new file mode 100644 index 0000000000000000000000000000000000000000..ba2534d0cea7faa09fff9a67606f8b35f75b6170 --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/polygon_offset.py @@ -0,0 +1,37 @@ +'''OpenGL extension EXT.polygon_offset + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.polygon_offset to provide a more +Python-friendly API + +Overview (from the spec) + + The depth values of fragments generated by rendering polygons are + displaced by an amount that is proportional to the maximum absolute + value of the depth slope of the polygon, measured and applied in window + coordinates. This displacement allows lines (or points) and polygons + in the same plane to be rendered without interaction -- the lines + rendered either completely in front of or behind the polygons + (depending on the sign of the offset factor). It also allows multiple + coplanar polygons to be rendered without interaction, if different + offset factors are used for each polygon. Applications include + rendering hidden-line images, rendering solids with highlighted edges, + and applying `decals' to surfaces. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/polygon_offset.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.polygon_offset import * +from OpenGL.raw.GL.EXT.polygon_offset import _EXTENSION_NAME + +def glInitPolygonOffsetEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + + +### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/secondary_color.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/secondary_color.py new file mode 100644 index 0000000000000000000000000000000000000000..097623eaacbbdd5ffb1ba810120c20b8ef95bdb9 --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/secondary_color.py @@ -0,0 +1,57 @@ +'''OpenGL extension EXT.secondary_color + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.secondary_color to provide a more +Python-friendly API + +Overview (from the spec) + + This extension allows specifying the RGB components of the secondary + color used in the Color Sum stage, instead of using the default + (0,0,0,0) color. It applies only in RGBA mode and when LIGHTING is + disabled. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/secondary_color.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.secondary_color import * +from OpenGL.raw.GL.EXT.secondary_color import _EXTENSION_NAME + +def glInitSecondaryColorEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + +glSecondaryColor3bvEXT=wrapper.wrapper(glSecondaryColor3bvEXT).setInputArraySize( + 'v', 3 +) +glSecondaryColor3dvEXT=wrapper.wrapper(glSecondaryColor3dvEXT).setInputArraySize( + 'v', 3 +) +glSecondaryColor3fvEXT=wrapper.wrapper(glSecondaryColor3fvEXT).setInputArraySize( + 'v', 3 +) +glSecondaryColor3ivEXT=wrapper.wrapper(glSecondaryColor3ivEXT).setInputArraySize( + 'v', 3 +) +glSecondaryColor3svEXT=wrapper.wrapper(glSecondaryColor3svEXT).setInputArraySize( + 'v', 3 +) +glSecondaryColor3ubvEXT=wrapper.wrapper(glSecondaryColor3ubvEXT).setInputArraySize( + 'v', 3 +) +glSecondaryColor3uivEXT=wrapper.wrapper(glSecondaryColor3uivEXT).setInputArraySize( + 'v', 3 +) +glSecondaryColor3usvEXT=wrapper.wrapper(glSecondaryColor3usvEXT).setInputArraySize( + 'v', 3 +) +# INPUT glSecondaryColorPointerEXT.pointer size not checked against 'size,type,stride' +glSecondaryColorPointerEXT=wrapper.wrapper(glSecondaryColorPointerEXT).setInputArraySize( + 'pointer', None +) +### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/stencil_clear_tag.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/stencil_clear_tag.py new file mode 100644 index 0000000000000000000000000000000000000000..7c80994d4fba82a659e914b32ddd5d87ff84db70 --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/stencil_clear_tag.py @@ -0,0 +1,84 @@ +'''OpenGL extension EXT.stencil_clear_tag + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.stencil_clear_tag to provide a more +Python-friendly API + +Overview (from the spec) + + Stencil-only framebuffer clears are increasingly common as 3D + applications are now using rendering algorithms such as stenciled + shadow volume rendering for multiple light sources in a single frame, + recent "soft" stenciled shadow volume techniques, and stencil-based + constructive solid geometry techniques. In such algorithms there + are multiple stencil buffer clears for each depth buffer clear. + Additionally in most cases, these algorithms do not require all + of the 8 typical stencil bitplanes for their stencil requirements. + In such cases, there is the potential for unused stencil bitplanes + to encode a "stencil clear tag" in such a way to reduce the number + of actual stencil clears. The idea is that switching to an unused + stencil clear tag logically corresponds to when an application would + otherwise perform a framebuffer-wide stencil clear. + + This extension exposes an inexpensive hardware mechanism for + amortizing the cost of multiple stencil-only clears by using a + client-specified number of upper bits of the stencil buffer to + maintain a per-pixel stencil tag. + + The upper bits of each stencil value is treated as a tag that + indicates the state of the upper bits of the "stencil clear tag" state + when the stencil value was last written. If a stencil value is read + and its upper bits containing its tag do NOT match the current upper + bits of the stencil clear tag state, the stencil value is substituted + with the lower bits of the stencil clear tag (the reset value). + Either way, the upper tag bits of the stencil value are ignored by + subsequent stencil function and operation processing of the stencil + value. + + When a stencil value is written to the stencil buffer, its upper bits + are overridden with the upper bits of the current stencil clear tag + state so subsequent reads, prior to any subsequent stencil clear + tag state change, properly return the updated lower bits. + + In this way, the stencil clear tag functionality provides a way to + replace multiple bandwidth-intensive stencil clears with very + inexpensive update of the stencil clear tag state. + + If used as expected with the client specifying 3 bits for the stencil + tag, every 7 of 8 stencil-only clears of the entire stencil buffer can + be substituted for an update of the current stencil clear tag rather + than an actual update of all the framebuffer's stencil values. Still, + every 8th clear must be an actual stencil clear. The net effect is + that the aggregate cost of stencil clears is reduced by a factor of + 1/(2^n) where n is the number of bits devoted to the stencil tag. + + The application specifies two new pieces of state: 1) the number of + upper stencil bits, n, assigned to maintain the tag bits for each + stencil value within the stencil buffer, and 2) a stencil clear tag + value that packs the current tag and a reset value into a single + integer values. The upper n bits of the stencil clear tag value + specify the current tag while the lower s-min(n,s) bits specify + the current reset value, where s is the number of bitplanes in the + stencil buffer and n is the current number of stencil tag bits. + + If zero stencil clear tag bits are assigned to the stencil tag + encoding, then the stencil buffer operates in the conventional + manner. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/stencil_clear_tag.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.stencil_clear_tag import * +from OpenGL.raw.GL.EXT.stencil_clear_tag import _EXTENSION_NAME + +def glInitStencilClearTagEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + + +### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/texture_cube_map.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/texture_cube_map.py new file mode 100644 index 0000000000000000000000000000000000000000..4dbc8a3c47dd58658539e4afa2bb9877e61a8d14 --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/texture_cube_map.py @@ -0,0 +1,23 @@ +'''OpenGL extension EXT.texture_cube_map + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.texture_cube_map to provide a more +Python-friendly API + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/texture_cube_map.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.texture_cube_map import * +from OpenGL.raw.GL.EXT.texture_cube_map import _EXTENSION_NAME + +def glInitTextureCubeMapEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + + +### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/texture_env_combine.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/texture_env_combine.py new file mode 100644 index 0000000000000000000000000000000000000000..327f497b59005af4441686f507eef31c60b2422f --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/texture_env_combine.py @@ -0,0 +1,46 @@ +'''OpenGL extension EXT.texture_env_combine + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.texture_env_combine to provide a more +Python-friendly API + +Overview (from the spec) + + New texture environment function COMBINE_EXT allows programmable + texture combiner operations, including: + + REPLACE Arg0 + MODULATE Arg0 * Arg1 + ADD Arg0 + Arg1 + ADD_SIGNED_EXT Arg0 + Arg1 - 0.5 + INTERPOLATE_EXT Arg0 * (Arg2) + Arg1 * (1-Arg2) + + where Arg0, Arg1 and Arg2 are derived from + + PRIMARY_COLOR_EXT primary color of incoming fragment + TEXTURE texture color of corresponding texture unit + CONSTANT_EXT texture environment constant color + PREVIOUS_EXT result of previous texture environment; on + texture unit 0, this maps to PRIMARY_COLOR_EXT + + and Arg2 is restricted to the alpha component of the corresponding source. + + In addition, the result may be scaled by 1.0, 2.0 or 4.0. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/texture_env_combine.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.texture_env_combine import * +from OpenGL.raw.GL.EXT.texture_env_combine import _EXTENSION_NAME + +def glInitTextureEnvCombineEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + + +### END AUTOGENERATED SECTION \ No newline at end of file diff --git a/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/vertex_shader.py b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/vertex_shader.py new file mode 100644 index 0000000000000000000000000000000000000000..8e820c1dad289f01a13e2dc3b516205813ce4812 --- /dev/null +++ b/vllm/lib/python3.10/site-packages/OpenGL/GL/EXT/vertex_shader.py @@ -0,0 +1,105 @@ +'''OpenGL extension EXT.vertex_shader + +This module customises the behaviour of the +OpenGL.raw.GL.EXT.vertex_shader to provide a more +Python-friendly API + +Overview (from the spec) + + EXT_vertex_shader adds a flexible way to change the per-vertex + processing in the GL pipeline. It provides a method to replace + the fixed vertex/normal transform and lighting with a user + specified means of generating processed vertices, texture + coordinates, color, and secondary color, along with a primitive's + associated state. + +The official definition of this extension is available here: +http://www.opengl.org/registry/specs/EXT/vertex_shader.txt +''' +from OpenGL import platform, constant, arrays +from OpenGL import extensions, wrapper +import ctypes +from OpenGL.raw.GL import _types, _glgets +from OpenGL.raw.GL.EXT.vertex_shader import * +from OpenGL.raw.GL.EXT.vertex_shader import _EXTENSION_NAME + +def glInitVertexShaderEXT(): + '''Return boolean indicating whether this extension is available''' + from OpenGL import extensions + return extensions.hasGLExtension( _EXTENSION_NAME ) + +# INPUT glSetInvariantEXT.addr size not checked against 'id,type' +glSetInvariantEXT=wrapper.wrapper(glSetInvariantEXT).setInputArraySize( + 'addr', None +) +# INPUT glSetLocalConstantEXT.addr size not checked against 'id,type' +glSetLocalConstantEXT=wrapper.wrapper(glSetLocalConstantEXT).setInputArraySize( + 'addr', None +) +# INPUT glVariantbvEXT.addr size not checked against 'id' +glVariantbvEXT=wrapper.wrapper(glVariantbvEXT).setInputArraySize( + 'addr', None +) +# INPUT glVariantsvEXT.addr size not checked against 'id' +glVariantsvEXT=wrapper.wrapper(glVariantsvEXT).setInputArraySize( + 'addr', None +) +# INPUT glVariantivEXT.addr size not checked against 'id' +glVariantivEXT=wrapper.wrapper(glVariantivEXT).setInputArraySize( + 'addr', None +) +# INPUT glVariantfvEXT.addr size not checked against 'id' +glVariantfvEXT=wrapper.wrapper(glVariantfvEXT).setInputArraySize( + 'addr', None +) +# INPUT glVariantdvEXT.addr size not checked against 'id' +glVariantdvEXT=wrapper.wrapper(glVariantdvEXT).setInputArraySize( + 'addr', None +) +# INPUT glVariantubvEXT.addr size not checked against 'id' +glVariantubvEXT=wrapper.wrapper(glVariantubvEXT).setInputArraySize( + 'addr', None +) +# INPUT glVariantusvEXT.addr size not checked against 'id' +glVariantusvEXT=wrapper.wrapper(glVariantusvEXT).setInputArraySize( + 'addr', None +) +# INPUT glVariantuivEXT.addr size not checked against 'id' +glVariantuivEXT=wrapper.wrapper(glVariantuivEXT).setInputArraySize( + 'addr', None +) +# INPUT glVariantPointerEXT.addr size not checked against 'id,type,stride' +glVariantPointerEXT=wrapper.wrapper(glVariantPointerEXT).setInputArraySize( + 'addr', None +) +glGetVariantBooleanvEXT=wrapper.wrapper(glGetVariantBooleanvEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +glGetVariantIntegervEXT=wrapper.wrapper(glGetVariantIntegervEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +glGetVariantFloatvEXT=wrapper.wrapper(glGetVariantFloatvEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +glGetVariantPointervEXT=wrapper.wrapper(glGetVariantPointervEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +glGetInvariantBooleanvEXT=wrapper.wrapper(glGetInvariantBooleanvEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +glGetInvariantIntegervEXT=wrapper.wrapper(glGetInvariantIntegervEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +glGetInvariantFloatvEXT=wrapper.wrapper(glGetInvariantFloatvEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +glGetLocalConstantBooleanvEXT=wrapper.wrapper(glGetLocalConstantBooleanvEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +glGetLocalConstantIntegervEXT=wrapper.wrapper(glGetLocalConstantIntegervEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +glGetLocalConstantFloatvEXT=wrapper.wrapper(glGetLocalConstantFloatvEXT).setOutput( + 'data',size=_glgets._glget_size_mapping,pnameArg='id',orPassIn=True +) +### END AUTOGENERATED SECTION \ No newline at end of file