meterline-copilot 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ """meterline-copilot: reads GitHub Copilot usage reports, billing and seats and emits meterline records."""
2
+
3
+ from importlib.metadata import PackageNotFoundError as _NotInstalled, version as _version
4
+
5
+ try:
6
+ __version__ = _version("meterline-copilot") # the one source is pyproject.toml
7
+ except _NotInstalled: # a source tree that is not installed
8
+ __version__ = "0+unknown"
9
+
10
+ from meterline import RunResult
11
+
12
+ from .cli import StateError, run
13
+ from .client import ApiError, UnusableBody
14
+ from .fetch import BadShape, PaginationError, RawFileExists
15
+
16
+ # The public interface is the command line, ``run``, the records they write and the documented ``testing``
17
+ # module (README, "Public interface"); every other module of this package is internal.
18
+ __all__ = [
19
+ "ApiError", "BadShape", "PaginationError", "RawFileExists", "RunResult", "StateError", "UnusableBody",
20
+ "__version__", "run",
21
+ ]