Coverage for sources/librovore/xtnsmgr/__init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.10.4, created at 2025-08-17 23:43 +0000

1# vim: set filetype=python fileencoding=utf-8: 

2# -*- coding: utf-8 -*- 

3 

4#============================================================================# 

5# # 

6# Licensed under the Apache License, Version 2.0 (the "License"); # 

7# you may not use this file except in compliance with the License. # 

8# You may obtain a copy of the License at # 

9# # 

10# http://www.apache.org/licenses/LICENSE-2.0 # 

11# # 

12# Unless required by applicable law or agreed to in writing, software # 

13# distributed under the License is distributed on an "AS IS" BASIS, # 

14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 

15# See the License for the specific language governing permissions and # 

16# limitations under the License. # 

17# # 

18#============================================================================# 

19 

20 

21''' Extension manager with async package installation. ''' 

22 

23 

24from .installation import ( 

25 install_package, 

26) 

27from .importation import ( 

28 add_package_to_import_path, 

29 cleanup_import_paths, 

30 import_processor_module, 

31 get_module_info, 

32 list_registered_processors, 

33 process_pth_files, 

34 reload_processor_module, 

35 remove_from_import_path, 

36) 

37from .cachemgr import ( 

38 CacheInfo, 

39 calculate_cache_path, 

40 calculate_platform_id, 

41 cleanup_expired_caches, 

42 clear_package_cache, 

43 acquire_cache_info, 

44 ensure_package, 

45 invalidate, 

46 save_cache_info, 

47) 

48from .configuration import ( 

49 ExtensionArguments, 

50 ExtensionConfig, 

51 select_intrinsic_extensions, 

52 select_active_extensions, 

53 extract_extension_arguments, 

54 select_external_extensions, 

55 extract_extensions, 

56 validate_extension, 

57) 

58from .processors import *