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4GJ5Gr5  SSGK3GJ6Gr6  SSGK7GJ8Gr8  SSGK9GJ:Gr:GJ;Gr;  SSGK3GJ<Gr<GJ=Gr=GJ>Gr>GJ?Gr?GJ@Gr@GJAGrAGJBGrB  S GrCS GrDS GrES GrFS GrGS GrHS GrIg! \ a-     SSKrS r\R                  " S\S9r GNX! \ a    Sr  GNdf = ff = f)a  
PyArrow is the python implementation of Apache Arrow.

Apache Arrow is a cross-language development platform for in-memory data.
It specifies a standardized language-independent columnar memory format for
flat and hierarchical data, organized for efficient analytic operations on
modern hardware. It also provides computational libraries and zero-copy
streaming messaging and interprocess communication.

For more information see the official page at https://arrow.apache.org
    N   )versionc                 *    SSK Jn  SUS'   U" U 40 UD6$ )zm
Parse function for setuptools_scm that ignores tags for non-C++
subprojects, e.g. apache-arrow-js-XXX tags.
r   parsezBgit describe --dirty --tags --long --match 'apache-arrow-[0-9]*.*'describe_command)setuptools_scm.gitr   )rootkwargsr   s      O/var/www/html/land-tabula/venv/lib/python3.13/site-packages/pyarrow/__init__.py	parse_gitr   -   s%    
 1T %&(((    z../r   )	BuildInfoCppBuildInfoRuntimeInfoset_timezone_db_pathMonthDayNanoVersionInfo
build_infocpp_build_infocpp_versioncpp_version_inforuntime_info	cpu_countset_cpu_countenable_signal_handlersio_thread_countset_io_thread_countc                     S n [        S5        U " S[        [        R                  R                  5      S:  a  [        R                  R                  OS5        U " S[        R                  R
                  5        U " S[        R                  R                   S[        R                  R                   35        U " S	[        R                  R                  5        U " S
[        R                  R                  5        U " S[        R                  R                  5        U " S[        R                  R                  5        U " S[        R                  5        g)zB
Print various version information, to help with error reporting.
c                 (    [        U S SUS 35        g )Nz <26:  <8printlabelvalues     r   print_entry"show_versions.<locals>.print_entryF   s    tBuSk*+r   z)pyarrow version info
--------------------zPackage kindr   znot indicatedzArrow C++ library versionzArrow C++ compiler zArrow C++ compiler flagszArrow C++ git revisionzArrow C++ git descriptionzArrow C++ build typezPyArrow build typeN)r$   lenr   r   package_kindr   compiler_idcompiler_versioncompiler_flagsgit_idgit_description
build_type)r(   s    r   show_versionsr3   B   s	   , 

67z00==>B !+ 9 9 F F$& +Z-F-F-N-NO$--99:!-->>?AC *J,E,E,T,TU(**C*C*J*JK+Z-F-F-V-VW&
(A(A(L(LM$j&;&;<r   c                 X     [         R                  " SU  35        g! [         a     gf = f)Nzpyarrow.TF)
_importlibimport_moduleImportError)modules    r   _module_is_availabler9   X   s5      8F8!45   s    
))c                      SS K n [        UR                  U 5        g! [         a     gf = f! [        [        4 a     gf = f)Nr   FT)
pyarrow.fsr7   getattrfsAttributeError)r=   pyarrows     r   _filesystem_is_availabler@   a   sN    

B   
 ( s    . 
++A Ac                     [        5         S n [        S5        U " S[        R                  " 5        S[        R                  " 5        35        U " S[        5       R                  5        U " S[        5       R                  5        [        5       n[        S5        U " SUR                  5        U " S	UR                  5        S
35        U " SUR                  5        S
35        U " SSR                  [        5       5      5        [        S5        / SQnU H*  n[        U5      (       a  SOSn[        SUS SUS 35        M,     [        S5        / SQnU H*  n[        U5      (       a  SOSn[        SUS SUS 35        M,     [        S5        / SQnU H5  n[         R"                  " U5      (       a  SOSn[        SUS SUS 35        M7     g)zF
Print detailed version and platform information, for error reporting
c                 *    [        SU S SUS 35        g )N   <20r!   r"   r#   r%   s     r   r(   show_info.<locals>.print_entryu   s    5,bs,-r   z

Platform:z	OS / Archr*   z
SIMD LevelzDetected SIMD Levelz
Memory:zDefault backendzBytes allocatedz bytesz
Max memoryzSupported Backendsz, z
Optional modules:)
csvcudadatasetfeatherflightr=   gandivajsonorcparquetEnabled-rC   rD   r!   r"   z
Filesystems:)AzureFileSystemGcsFileSystemHadoopFileSystemS3FileSystemz
Compression Codecs:)brotlibz2gzip	lz4_framelz4snappyzstdN)r3   r$   	_platformsystemmachiner   
simd_leveldetected_simd_leveldefault_memory_poolbackend_namebytes_allocated
max_memoryjoinsupported_memory_backendsr9   r@   Codecis_available)	r(   poolmodulesr8   statusfilesystemsr=   codecscodecs	            r   	show_inforo   o   s    O. 
-	 0 0 231Y5F5F5H4IJKln778%|~'I'IJ D	+!4#4#45!d&:&:&<%=V#DE!2 36:;$dii0I0K&LM	
 !G26::6$-r&./  

7K6r::2d)2fS\*+  

!"LF#0077S5,b-. r   )nullbool_int8int16int32int64uint8uint16uint32uint64time32time64	timestampdate32date64durationmonth_day_nano_intervalfloat16float32float64binarystringutf8binary_viewstring_viewlarge_binarylarge_string
large_utf8	decimal32	decimal64
decimal128
decimal256list_
large_list	list_viewlarge_list_viewmap_structunionsparse_uniondense_union
dictionaryrun_end_encodedbool8fixed_shape_tensorjson_opaqueuuidfieldtype_for_aliasDataTypeDictionaryType
StructTypeListTypeLargeListTypeFixedSizeListTypeListViewTypeLargeListViewTypeMapType	UnionTypeSparseUnionTypeDenseUnionTypeTimestampType
Time32Type
Time64TypeDurationTypeFixedSizeBinaryTypeDecimal32TypeDecimal64TypeDecimal128TypeDecimal256TypeBaseExtensionTypeExtensionTypeRunEndEncodedType	Bool8TypeFixedShapeTensorTypeJsonType
OpaqueTypeUuidTypeUnknownExtensionTyperegister_extension_typeunregister_extension_typeDictionaryMemoKeyValueMetadataFieldSchemaschemaunify_schemasArrayTensorarraychunked_arrayrecord_batchnullsrepeatSparseCOOTensorSparseCSRMatrixSparseCSCMatrixSparseCSFTensor
infer_typefrom_numpy_dtypearange	NullArrayNumericArrayIntegerArrayFloatingPointArrayBooleanArray	Int8Array
UInt8Array
Int16ArrayUInt16Array
Int32ArrayUInt32Array
Int64ArrayUInt64ArrayHalfFloatArray
FloatArrayDoubleArray	ListArrayLargeListArrayFixedSizeListArrayListViewArrayLargeListViewArrayMapArray
UnionArrayBinaryArrayStringArrayLargeBinaryArrayLargeStringArrayBinaryViewArrayStringViewArrayFixedSizeBinaryArrayDictionaryArrayDate32ArrayDate64ArrayTimestampArrayTime32ArrayTime64ArrayDurationArrayMonthDayNanoIntervalArrayDecimal32ArrayDecimal64ArrayDecimal128ArrayDecimal256ArrayStructArrayExtensionArrayRunEndEncodedArray
Bool8ArrayFixedShapeTensorArray	JsonArrayOpaqueArray	UuidArrayscalarNA_NULLScalar
NullScalarBooleanScalar
Int8ScalarInt16ScalarInt32ScalarInt64ScalarUInt8ScalarUInt16ScalarUInt32ScalarUInt64ScalarHalfFloatScalarFloatScalarDoubleScalarDecimal32ScalarDecimal64ScalarDecimal128ScalarDecimal256Scalar
ListScalarLargeListScalarFixedSizeListScalarListViewScalarLargeListViewScalarDate32ScalarDate64ScalarTime32ScalarTime64ScalarTimestampScalarDurationScalarMonthDayNanoIntervalScalarBinaryScalarLargeBinaryScalarBinaryViewScalarStringScalarLargeStringScalarStringViewScalarFixedSizeBinaryScalarDictionaryScalar	MapScalarStructScalarUnionScalarRunEndEncodedScalarBool8ScalarExtensionScalarFixedShapeTensorScalar
JsonScalarOpaqueScalar
UuidScalar)DeviceAllocationTypeDeviceMemoryManagerdefault_cpu_memory_manager)BufferResizableBufferforeign_buffer	py_bufferrg   compress
decompressallocate_buffer)
MemoryPoolLoggingMemoryPoolProxyMemoryPooltotal_allocated_bytesset_memory_poolra   system_memory_pooljemalloc_memory_poolmimalloc_memory_poollogging_memory_poolproxy_memory_poollog_memory_allocationsjemalloc_set_decay_msrf   )
NativeFile
PythonFileBufferedInputStreamBufferedOutputStreamCacheOptionsCompressedInputStreamCompressedOutputStreamTransformInputStreamtranscoding_input_streamFixedSizeBufferWriterBufferReaderBufferOutputStreamOSFileMemoryMappedFile
memory_mapcreate_memory_mapMockOutputStreaminput_streamoutput_streamhave_libhdfs)	ChunkedArrayRecordBatchTabletableconcat_arraysconcat_tablesTableGroupByRecordBatchReaderconcat_batches)ArrowCancelledArrowCapacityErrorArrowExceptionArrowKeyErrorArrowIndexErrorArrowInvalidArrowIOErrorArrowMemoryErrorArrowNotImplementedErrorArrowTypeErrorArrowSerializationError)serialize_pandasdeserialize_pandas)_deprecate_api_deprecate_class)MessageMessageReaderMetadataVersionRecordBatchFileReaderRecordBatchFileWriterRecordBatchStreamReaderRecordBatchStreamWriterc                      [         R                  R                  [         R                  R                  [        5      S5      $ )zf
Return absolute path to directory containing Arrow C++ include
headers. Similar to numpy.get_include
include)_ospathre   dirname__file__ r   r   get_includer  .  s(    
 88==))(3Y??r   c                  B    [         R                  R                  SS5      $ )N
PKG_CONFIG
pkg-config)r  environgetr  r   r   _get_pkg_config_executabler  6  s    ;;??<66r   c                 j    SS K n UR                  [        5       SU /5      S:H  $ ! [         a     gf = f)Nr   z--existsF)
subprocesscallr  FileNotFoundError)pkgnamer  s     r   _has_pkg_configr  :  sE     : < *G 5 69:; 	; s   % 
22c                 ,   SS K n[        5       U /U-   nUR                  X2R                  UR                  S9nUR	                  5       u  pVUR
                  S:w  a  [        SUR                  S5      -   5      eUR                  5       R                  S5      $ )Nr   )stdoutstderrzpkg-config failed: r   )	r  r  PopenPIPEcommunicate
returncodeRuntimeErrordecoderstrip)r  cli_argsr  cmdprocouterrs          r   _read_pkg_config_variabler  C  s    %'
1H
<CC#-??  4D!HC!03::f3EEFF::<v&&r   c                  
    SS/$ )zn
Return list of library names to include in the `libraries` argument for C
or Cython extensions using pyarrow
arrow_pythonarrowr  r  r   r   get_librariesr  N  s    
 G$$r   c                  B   SSK n [        R                  S:X  a  g[        R                  R                  [        5      n[        R                  S:X  a3  U R                  [        R                  R                  US5      5      nS nO2U R                  [        R                  R                  US5      5      nS nU HH  nU" U5      n[        R                  R                  U5      (       a  M1   [        R                  " XE5        MJ     g! [         a    [        S	5         Me  f = f)
a  
With Linux and macOS wheels, the bundled shared libraries have an embedded
ABI version like libarrow.so.17 or libarrow.17.dylib and so linking to them
with -larrow won't work unless we create symlinks at locations like
site-packages/pyarrow/libarrow.so. This unfortunate workaround addresses
prior problems we had with shipping two copies of the shared libraries to
permit third party projects like turbodbc to build their C++ extensions
against the pyarrow wheels.

This function must only be invoked once and only when the shared libraries
are bundled with the Python package, which should only apply to wheel-based
installs. It requires write access to the site-packages/pyarrow directory
and so depending on your system may need to be run with root.
r   Nwin32linuxz*.so.*c                 ,    U R                  SS5      S   $ )N.r   r   )rsplit	hard_paths    r   get_symlink_path1create_library_symlinks.<locals>.get_symlink_pathm  s    ##C+A..r   z	*.*.dylibc                 N    SR                  U R                  SS5      S   S45      $ )Nr     r   dylib)re   r  r  s    r   r  r  r  s(    88Y--c15a8'BCCr   zyTried creating symlink {}. If you need to link to bundled shared libraries, run pyarrow.create_library_symlinks() as root)glob_sysplatformr  r  r  r  re   existssymlinkPermissionErrorr$   )r  package_cwdbundled_libsr  lib_hard_pathsymlink_paths         r   create_library_symlinksr  V  s     }}((""8,K}}yy{H!EF	/ yy{K!HI	D &'688??<((	?KK4 &  	? > ?	?s   *DDDc                  D  ^ [         R                  R                  [        5      n U /mU4S jn[         R                  R                  S5      =(       d    SnS H[  n[        U5      (       d  M  [        US/5      nU(       d  M+  UR                  S5      (       d  [        SU< 35      eU" USS	 5        M]     [        R                  S
:X  Ga1  [         R                  R                  [        R                  5      n[         R                  R                  USS5      n[         R                  R                  [         R                  R                  US5      5      (       a  U" U5        [         R                  R                  [         R                  R                  [         R                  R                  [        5      [         R                   S5      5      n[         R                  R                  U5      (       a  U" U5        [         R                  R                  S5      (       a9  U" [         R                  R                  [         R                  S   S5      5        T$ U" [         R                  R                  [         R                  R                  [        5      5      5        T$ )zt
Return lists of directories likely to contain Arrow C++ libraries for
linking C or Cython extensions using pyarrow
c                 6   > U T;  a  TR                  U 5        g g )N)append)library_dirlibrary_dirss    r   append_library_dir,get_library_dirs.<locals>.append_library_dir  s    l*, +r   r  r  )r  r  z--libs-only-Lz-Lz3pkg-config --libs-only-L returned unexpected value r  Nr  Librarylibz	arrow.libzpyarrow.libs
ARROW_HOME)r  r  r  r  r  r  r  r  
startswith
ValueErrorr  r  
executablere   r  abspathpardir)r  r  pkg_config_executabler  r  python_base_installpyarrow_libs_dirr  s          @r   get_library_dirsr    s   
 ((""8,K=L-  KKOOL9I\,7##3G5D4EGK {"--d33$!!,12 2 #;qr?3 - }} "hh..t?hhmm$7EJ88??388==kBCC{+ 88++HHMM#((**84cjj.Q
 88??+,,/0 {{|$$388==\)BEJK
  	388++CHH,<,<X,FGHr   (J  __doc__	importlibr5   osr  r  r\   sysr  _generated_versionr   __version__r7   setuptools_scmr   get_versionpyarrow.libr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r3   r9   r@   ro   rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r  r  r	  r
  NULLr  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  r+  r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r8  r9  r:  r;  r<  r=  r>  r?  r@  rA  rB  rg   rC  rD  rE  rF  rG  rH  rI  rJ  ra   rK  rL  rM  rN  rO  rP  rQ  rf   rR  rS  rT  rU  rV  rW  rX  rY  rZ  r[  r\  r]  r^  r_  r`  ra  rb  rc  rd  re  rf  rg  rh  ri  rj  rk  rl  rm  rn  ro  rp  rq  rr  rs  rt  ru  rv  rw  rx  ry  pyarrow.ipcrz  r{  ipcpyarrow.typestypespyarrow.utilr|  r}  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   <module>r     s  (
    :*? ? ? ? ?=,'/TQW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QW QWh5 5G G G4 4 4 4 4 4 4	' 	' 	' 	' 	' 	' 	' 	' 	' 	' 	'< < < < <

2 
2 
2 
2 
2 
2 = <     : 9K K K K K@7'%(?V5u
  	) %007@B #s)   M NM22M?:N>M??N