| 
									
										
										
										
											2025-01-26 18:04:09 +01:00
										 |  |  | """
 | 
					
						
							|  |  |  | Read resources contained within a package. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | This codebase is shared between importlib.resources in the stdlib | 
					
						
							|  |  |  | and importlib_resources in PyPI. See | 
					
						
							|  |  |  | https://github.com/python/importlib_metadata/wiki/Development-Methodology | 
					
						
							|  |  |  | for more detail. | 
					
						
							|  |  |  | """
 | 
					
						
							| 
									
										
										
										
											2017-12-30 15:18:06 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-29 21:05:05 -04:00
										 |  |  | from ._common import ( | 
					
						
							|  |  |  |     as_file, | 
					
						
							|  |  |  |     files, | 
					
						
							|  |  |  |     Package, | 
					
						
							| 
									
										
										
										
											2024-01-16 13:55:59 +03:00
										 |  |  |     Anchor, | 
					
						
							| 
									
										
										
										
											2021-07-29 21:05:05 -04:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-04-05 13:55:59 +02:00
										 |  |  | from ._functional import ( | 
					
						
							|  |  |  |     contents, | 
					
						
							|  |  |  |     is_resource, | 
					
						
							|  |  |  |     open_binary, | 
					
						
							|  |  |  |     open_text, | 
					
						
							|  |  |  |     path, | 
					
						
							|  |  |  |     read_binary, | 
					
						
							|  |  |  |     read_text, | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-30 21:00:48 -05:00
										 |  |  | from .abc import ResourceReader | 
					
						
							| 
									
										
										
										
											2017-12-30 15:18:06 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-17 11:41:53 -04:00
										 |  |  | __all__ = [ | 
					
						
							|  |  |  |     'Package', | 
					
						
							| 
									
										
										
										
											2024-01-16 13:55:59 +03:00
										 |  |  |     'Anchor', | 
					
						
							| 
									
										
										
										
											2021-03-04 13:43:00 -05:00
										 |  |  |     'ResourceReader', | 
					
						
							| 
									
										
										
										
											2020-05-08 19:20:26 -04:00
										 |  |  |     'as_file', | 
					
						
							|  |  |  |     'files', | 
					
						
							| 
									
										
										
										
											2024-04-05 13:55:59 +02:00
										 |  |  |     'contents', | 
					
						
							|  |  |  |     'is_resource', | 
					
						
							|  |  |  |     'open_binary', | 
					
						
							|  |  |  |     'open_text', | 
					
						
							|  |  |  |     'path', | 
					
						
							|  |  |  |     'read_binary', | 
					
						
							|  |  |  |     'read_text', | 
					
						
							| 
									
										
										
										
											2021-03-04 13:43:00 -05:00
										 |  |  | ] |