PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 131
_KfdZddlZddlZddlZddlZddlZddlZddlmZddl Z ddl m Z ddl mZmZddlmZmZmZddlmZmZddlmZmZdd lmZmZmZmZmZej e!Z"d Z#ej$d gd Z%ej$d gdZ&ej'dZ(dZ)GddZ*GddZ+GddeZ,GddeZ-GddZ.GddZ/GddZ0Gdd eZ1e12de/Gd!d"ej3Z4Gd#d$e4Z5Gd%d&e4Z6dS)'aCSpeeds up S3 throughput by using processes Getting Started =============== The :class:`ProcessPoolDownloader` can be used to download a single file by calling :meth:`ProcessPoolDownloader.download_file`: .. code:: python from s3transfer.processpool import ProcessPoolDownloader with ProcessPoolDownloader() as downloader: downloader.download_file('mybucket', 'mykey', 'myfile') This snippet downloads the S3 object located in the bucket ``mybucket`` at the key ``mykey`` to the local file ``myfile``. Any errors encountered during the transfer are not propagated. To determine if a transfer succeeded or failed, use the `Futures`_ interface. The :class:`ProcessPoolDownloader` can be used to download multiple files as well: .. code:: python from s3transfer.processpool import ProcessPoolDownloader with ProcessPoolDownloader() as downloader: downloader.download_file('mybucket', 'mykey', 'myfile') downloader.download_file('mybucket', 'myotherkey', 'myotherfile') When running this snippet, the downloading of ``mykey`` and ``myotherkey`` happen in parallel. The first ``download_file`` call does not block the second ``download_file`` call. The snippet blocks when exiting the context manager and blocks until both downloads are complete. Alternatively, the ``ProcessPoolDownloader`` can be instantiated and explicitly be shutdown using :meth:`ProcessPoolDownloader.shutdown`: .. code:: python from s3transfer.processpool import ProcessPoolDownloader downloader = ProcessPoolDownloader() downloader.download_file('mybucket', 'mykey', 'myfile') downloader.download_file('mybucket', 'myotherkey', 'myotherfile') downloader.shutdown() For this code snippet, the call to ``shutdown`` blocks until both downloads are complete. Additional Parameters ===================== Additional parameters can be provided to the ``download_file`` method: * ``extra_args``: A dictionary containing any additional client arguments to include in the `GetObject `_ API request. For example: .. code:: python from s3transfer.processpool import ProcessPoolDownloader with ProcessPoolDownloader() as downloader: downloader.download_file( 'mybucket', 'mykey', 'myfile', extra_args={'VersionId': 'myversion'}) * ``expected_size``: By default, the downloader will make a HeadObject call to determine the size of the object. To opt-out of this additional API call, you can provide the size of the object in bytes: .. code:: python from s3transfer.processpool import ProcessPoolDownloader MB = 1024 * 1024 with ProcessPoolDownloader() as downloader: downloader.download_file( 'mybucket', 'mykey', 'myfile', expected_size=2 * MB) Futures ======= When ``download_file`` is called, it immediately returns a :class:`ProcessPoolTransferFuture`. The future can be used to poll the state of a particular transfer. To get the result of the download, call :meth:`ProcessPoolTransferFuture.result`. The method blocks until the transfer completes, whether it succeeds or fails. For example: .. code:: python from s3transfer.processpool import ProcessPoolDownloader with ProcessPoolDownloader() as downloader: future = downloader.download_file('mybucket', 'mykey', 'myfile') print(future.result()) If the download succeeds, the future returns ``None``: .. code:: python None If the download fails, the exception causing the failure is raised. For example, if ``mykey`` did not exist, the following error would be raised .. code:: python botocore.exceptions.ClientError: An error occurred (404) when calling the HeadObject operation: Not Found .. note:: :meth:`ProcessPoolTransferFuture.result` can only be called while the ``ProcessPoolDownloader`` is running (e.g. before calling ``shutdown`` or inside the context manager). Process Pool Configuration ========================== By default, the downloader has the following configuration options: * ``multipart_threshold``: The threshold size for performing ranged downloads in bytes. By default, ranged downloads happen for S3 objects that are greater than or equal to 8 MB in size. * ``multipart_chunksize``: The size of each ranged download in bytes. By default, the size of each ranged download is 8 MB. * ``max_request_processes``: The maximum number of processes used to download S3 objects. By default, the maximum is 10 processes. To change the default configuration, use the :class:`ProcessTransferConfig`: .. code:: python from s3transfer.processpool import ProcessPoolDownloader from s3transfer.processpool import ProcessTransferConfig config = ProcessTransferConfig( multipart_threshold=64 * 1024 * 1024, # 64 MB max_request_processes=50 ) downloader = ProcessPoolDownloader(config=config) Client Configuration ==================== The process pool downloader creates ``botocore`` clients on your behalf. In order to affect how the client is created, pass the keyword arguments that would have been used in the :meth:`botocore.Session.create_client` call: .. code:: python from s3transfer.processpool import ProcessPoolDownloader from s3transfer.processpool import ProcessTransferConfig downloader = ProcessPoolDownloader( client_kwargs={'region_name': 'us-west-2'}) This snippet ensures that all clients created by the ``ProcessPoolDownloader`` are using ``us-west-2`` as their region. N)deepcopy)Config)MAXINT BaseManager)ALLOWED_DOWNLOAD_ARGSMBPROCESS_USER_AGENT)CancelledErrorRetriesExceededError)BaseTransferFutureBaseTransferMeta)S3_RETRYABLE_DOWNLOAD_ERRORSCallArgsOSUtilscalculate_num_partscalculate_range_parameterSHUTDOWNDownloadFileRequest transfer_idbucketkeyfilename extra_args expected_size GetObjectJob)rrr temp_filenameroffsetrc#lKt}dVtjtj|dSN)"_add_ignore_handler_for_interruptssignalSIGINT)original_handlers I/opt/alt/python311/lib/python3.11/site-packages/s3transfer/processpool.py ignore_ctrl_cr&s69;; EEE M&-!122222cTtjtjtjSr )r"r#SIG_IGNr'r%r!r!s = 7 77r'c(eZdZdezdezdfdZdS)ProcessTransferConfig c0||_||_||_dS)auConfiguration for the ProcessPoolDownloader :param multipart_threshold: The threshold for which ranged downloads occur. :param multipart_chunksize: The chunk size of each ranged download. :param max_request_processes: The maximum number of processes that will be making S3 API transfer-related requests at a time. N)multipart_thresholdmultipart_chunksizemax_request_processes)selfr0r1r2s r%__init__zProcessTransferConfig.__init__s" $7 #6 %:"""r'N)__name__ __module__ __qualname__rr4r*r'r%r,r, s;FF ;;;;;;r'r,czeZdZddZ ddZdZdZdZdZdZ d Z d Z d Z d Z d ZdZdZdZdZdZdS)ProcessPoolDownloaderNcn|i}t||_||_|t|_t jd|_t jd|_t|_ d|_ tj |_ d|_d|_d|_g|_dS)aDownloads S3 objects using process pools :type client_kwargs: dict :param client_kwargs: The keyword arguments to provide when instantiating S3 clients. The arguments must match the keyword arguments provided to the `botocore.session.Session.create_client()` method. :type config: ProcessTransferConfig :param config: Configuration for the downloader NiF) ClientFactory_client_factory_transfer_configr,multiprocessingQueue_download_request_queue _worker_queuer_osutil_started threadingLock _start_lock_manager_transfer_monitor _submitter_workers)r3 client_kwargsconfigs r%r4zProcessPoolDownloader.__init__$s  M,];; & >$9$;$;D !'6'++ !% r'cz||i}|||j}t ||||||}t d||j|t|||||}| ||} | S)asDownloads the object's contents to a file :type bucket: str :param bucket: The name of the bucket to download from :type key: str :param key: The name of the key to download from :type filename: str :param filename: The name of a file to download to. :type extra_args: dict :param extra_args: Extra arguments that may be passed to the client operation :type expected_size: int :param expected_size: The expected size in bytes of the download. If provided, the downloader will not call HeadObject to determine the object's size and use the provided value instead. The size is needed to determine whether to do a multipart download. :rtype: s3transfer.futures.TransferFuture :returns: Transfer future representing the download Nrz%Submitting download file request: %s.)rrrrr) _start_if_needed_validate_all_known_argsrHnotify_new_transferrloggerdebugr@putr_get_transfer_future) r3rrrrrrdownload_file_request call_argsfutures r% download_filez#ProcessPoolDownloader.download_fileEs6   J %%j111,@@BB 3#!' ! ! !   35J    $(()>???!'    **; BB r'c.|dS)zhShutdown the downloader It will wait till all downloads are complete before returning. N)_shutdown_if_neededr3s r%shutdownzProcessPoolDownloader.shutdown{s   """""r'c|Sr r*r[s r% __enter__zProcessPoolDownloader.__enter__s r'ct|tr |j|j|dSr ) isinstanceKeyboardInterruptrHnotify_cancel_all_in_progressr\)r3exc_type exc_valueargss r%__exit__zProcessPoolDownloader.__exit__sE i!2 3 3 G%1&DDFFF r'c||j5|js|ddddS#1swxYwYdSr )rFrC_startr[s r%rNz&ProcessPoolDownloader._start_if_neededs    =                     155c|||d|_dS)NT)_start_transfer_monitor_manager_start_submitter_start_get_object_workersrCr[s r%rhzProcessPoolDownloader._startsC ,,...  &&((( r'c|D]:}|tvr/dt}td|d|;dS)Nz, zInvalid extra_args key 'z', must be one of: )rjoin ValueError)r3providedkwarg download_argss r%rOz.ProcessPoolDownloader._validate_all_known_argssn  E111 $ *? @ @  7u77'4772  r'cTt||}t|j|}|S)N)rVr)monitormeta)ProcessPoolTransferMetaProcessPoolTransferFuturerH)r3rrVrvrWs r%rTz*ProcessPoolDownloader._get_transfer_futures@&[   +*    r'ctdt|_|jt |j|_dS)Nz$Starting the TransferMonitorManager.)rQrRTransferMonitorManagerrGstartr!TransferMonitorrHr[s r%rkz5ProcessPoolDownloader._start_transfer_monitor_managersW ;<<<.00 >???!%!>!>!@!@r'ctdt|j|j|j|j|j|j|_ |j dS)Nz Starting the GetObjectSubmitter.)transfer_configclient_factorytransfer_monitorosutildownload_request_queue worker_queue) rQrRGetObjectSubmitterr=r<rHrBr@rArIr{r[s r%rlz&ProcessPoolDownloader._start_submittersj 7888, 1/!3<#'#?+     r'c2td|jjt |jjD]W}t |j|j|j|j }| |j |XdS)NzStarting %s GetObjectWorkers.)queuerrr) rQrRr=r2rangeGetObjectWorkerrAr<rHrBr{rJappendr3_workers r%rmz/ProcessPoolDownloader._start_get_object_workerss +  ! 7   t,BCC ) )A$(#3!%!7| F LLNNN M  ( ( ( ( ) )r'c||j5|jr|ddddS#1swxYwYdSr )rFrC _shutdownr[s r%rZz)ProcessPoolDownloader._shutdown_if_neededs   ! !} !    ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !ric|||d|_dS)NF)_shutdown_submitter_shutdown_get_object_workers"_shutdown_transfer_monitor_managerrCr[s r%rzProcessPoolDownloader._shutdownsC   """ ))+++ //111 r'cltd|jdS)Nz)Shutting down the TransferMonitorManager.)rQrRrGr\r[s r%rz8ProcessPoolDownloader._shutdown_transfer_monitor_managers/ @AAA      r'ctd|jt|jdS)Nz%Shutting down the GetObjectSubmitter.)rQrRr@rSSHUTDOWN_SIGNALrIror[s r%rz)ProcessPoolDownloader._shutdown_submittersF <=== $((999 r'ctd|jD]!}|jt "|jD]}|dS)Nz#Shutting down the GetObjectWorkers.)rQrRrJrArSrrors r%rz2ProcessPoolDownloader._shutdown_get_object_workerssj :;;; 4 4A   " "? 3 3 3 3m  F KKMMMM  r')NN)r5r6r7r4rXr\r^rfrNrhrOrTrkrlrmrZrrrrr*r'r%r9r9#s)DEI4444l###   AAA     ) ) )!!!  !!! r'r9c<eZdZdZedZdZdZdZdS)rxc"||_||_dS)a`The future associated to a submitted process pool transfer request :type monitor: TransferMonitor :param monitor: The monitor associated to the process pool downloader :type meta: ProcessPoolTransferMeta :param meta: The metadata associated to the request. This object is visible to the requester. N)_monitor_meta)r3rurvs r%r4z"ProcessPoolTransferFuture.__init__s   r'c|jSr )rr[s r%rvzProcessPoolTransferFuture.metas zr'cJ|j|jjSr )ris_donerrr[s r%donezProcessPoolTransferFuture.dones}$$TZ%;<<D !+ . NNa NN                   s/AA Ac&|j|jS)zDetermine a particular transfer is complete :param transfer_id: Unique identifier for the transfer :return: True, if done. False, otherwise. )rrrs r%rzTransferMonitor.is_done`s $[166r'cD|j|dS)zqNotify a particular transfer is complete :param transfer_id: Unique identifier for the transfer N)rset_doners r% notify_donezTransferMonitor.notify_donehs$ k*3355555r'cp|j||j|j}|r|dS)aPoll for the result of a transfer :param transfer_id: Unique identifier for the transfer :return: If the transfer succeeded, it will return the result. If the transfer failed, it will raise the exception associated to the failure. N)rwait_till_done exceptionr3rrs r%rzTransferMonitor.poll_for_resultos@ k*99;;;)+6@  Otr'c*||j|_dS)zNotify an exception was encountered for a transfer :param transfer_id: Unique identifier for the transfer :param exception: The exception encountered for that transfer Nrrrs r%rz TransferMonitor.notify_exception}s8Ak*444r'cr|jD]}|jst|_dSr )rvaluesrr r)r3transfer_states r%rbz-TransferMonitor.notify_cancel_all_in_progresssD"3::<< < z       H H H LL(      " 3 3COQ G G G G G G G G G Hs37 B >BB c <d}t|jD]w} |jjd||d|}||||ddS#t $r3} t d| |dz|jd| }Yd} ~ pd} ~ wwxYwt|)NrBodyzCRetrying exception caught (%s), retrying request, (attempt %s / %s)rTrr*) r _MAX_ATTEMPTSr get_object_write_to_filerrQrRr ) r3rrrrrlast_exceptionr%responser s r%r6zGetObjectWorker._do_get_objectst)** # #A #24<2!s.8##M68F;KLLL/ # # # :E&! "# ##>222s2A B )BB ct|d5}||tfdd}|D]}|| ddddS#1swxYwYdS)Nzrb+c8jSr )read _IO_CHUNKSIZE)bodyr3sr%z0GetObjectWorker._write_to_file..s$))D,>"?"?r'r')openseekiterwrite)r3rrrBfchunkschunks` ` r%r;zGetObjectWorker._write_to_files (E " " a FF6NNN?????EEF                     sAA%%A),A)c|j|r|j|n|||||j|dSr )rHrrB remove_file_do_file_renamer)r3rrrs r%r2z"GetObjectWorker._finalize_downloadsj  ! / / < < G L $ $] 3 3 3 3  mX F F F **;77777r'c |j||dS#t$r@}|j|||j|Yd}~dSd}~wwxYwr )rB rename_filer rHrrL)r3rrrr s r%rMzGetObjectWorker._do_file_renames 4 L $ $]H = = = = = 4 4 4  " 3 3K C C C L $ $] 3 3 3 3 3 3 3 3 3 4s A)5A$$A))r5r6r7r9rrAr4rr1r6r;r2rMrrs@r%rrsMFM&6HHH&333*8884444444r'r)7r collections contextlibloggingr>r"rDcopyrbotocore.sessionrbotocore.configrs3transfer.compatrrs3transfer.constantsrrr s3transfer.exceptionsr r s3transfer.futuresr r s3transfer.utilsrrrrr getLoggerr5rQr namedtuplerrcontextmanagerr&r!r,r9rxrwr;r|rrzregisterProcessrrrr*r'r%r`suul """"""11111111NNNNNNNNNNFFFFFFFFCCCCCCCC  8 $ $ -k,  &{%    " 333 888 ;;;;;;;;,CCCCCCCCL- - - - - 2- - - `"""""."""*        4]O]O]O]O]O]O]O]O@-*-*-*-*-*-*-*-*`     [    1?CCC/////O3///6D D D D D .D D D No4o4o4o4o4+o4o4o4o4o4r'