sql-xel-parser 1.0.0__tar.gz → 1.0.2__tar.gz

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.
Files changed (32) hide show
  1. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/.gitignore +1 -0
  2. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/PKG-INFO +1 -1
  3. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/pyproject.toml +4 -1
  4. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/setup.py +2 -1
  5. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser/__init__.py +11 -1
  6. sql_xel_parser-1.0.2/sql_xel_parser/_version.py +34 -0
  7. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser.egg-info/PKG-INFO +1 -1
  8. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser.egg-info/SOURCES.txt +1 -0
  9. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/INSTALL.md +0 -0
  10. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/LICENSE +0 -0
  11. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/MANIFEST.in +0 -0
  12. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/PYPI.md +0 -0
  13. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/QUICKSTART.md +0 -0
  14. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/README.md +0 -0
  15. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/docs/README.md +0 -0
  16. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/examples/README.md +0 -0
  17. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/examples/example_usage.py +0 -0
  18. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/git-pull.sh +0 -0
  19. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/git-push.sh +0 -0
  20. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/git-sync.sh +0 -0
  21. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/requirements.txt +0 -0
  22. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/setup.cfg +0 -0
  23. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser/__main__.py +0 -0
  24. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser/analyzer.py +0 -0
  25. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser/cli.py +0 -0
  26. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser/converter.py +0 -0
  27. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser/parser.py +0 -0
  28. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser/real_parser.py +0 -0
  29. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser.egg-info/dependency_links.txt +0 -0
  30. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser.egg-info/entry_points.txt +0 -0
  31. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser.egg-info/requires.txt +0 -0
  32. {sql_xel_parser-1.0.0 → sql_xel_parser-1.0.2}/sql_xel_parser.egg-info/top_level.txt +0 -0
@@ -8,6 +8,7 @@ data/
8
8
  __pycache__/
9
9
  *.py[cod]
10
10
  *$py.class
11
+ _version.py
11
12
  *.so
12
13
  .Python
13
14
  build/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sql-xel-parser
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Parse and analyze SQL Server Extended Events (.xel) files
5
5
  Home-page: https://github.com/josephvolmer/sql-xel-parser
6
6
  Author: SQL XEL Parser Contributors
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sql-xel-parser"
7
- version = "1.0.0"
7
+ dynamic = ["version"]
8
8
  description = "Parse and analyze SQL Server Extended Events (.xel) files"
9
9
  readme = "PYPI.md"
10
10
  requires-python = ">=3.8"
@@ -44,3 +44,6 @@ packages = ["sql_xel_parser"]
44
44
 
45
45
  [tool.setuptools.package-data]
46
46
  sql_xel_parser = ["*.md", "*.sql"]
47
+
48
+ [tool.setuptools_scm]
49
+ write_to = "sql_xel_parser/_version.py"
@@ -19,7 +19,8 @@ else:
19
19
 
20
20
  setup(
21
21
  name='sql-xel-parser',
22
- version='1.0.0',
22
+ use_scm_version=True,
23
+ setup_requires=['setuptools_scm'],
23
24
  description='Parse and analyze SQL Server Extended Events (.xel) files',
24
25
  long_description=long_description,
25
26
  long_description_content_type='text/markdown',
@@ -10,5 +10,15 @@ from .converter import XELConverter
10
10
  from .analyzer import XELAnalyzer
11
11
  from .real_parser import parse_xel_file, extract_real_data_from_xel
12
12
 
13
- __version__ = '1.0.0'
13
+ # Get version from setuptools_scm
14
+ try:
15
+ from ._version import version as __version__
16
+ except ImportError:
17
+ # Fallback for development without install
18
+ try:
19
+ from setuptools_scm import get_version
20
+ __version__ = get_version(root='..', relative_to=__file__)
21
+ except (ImportError, LookupError):
22
+ __version__ = "0.0.0.dev0"
23
+
14
24
  __all__ = ['XELParser', 'XELConverter', 'XELAnalyzer', 'parse_xel_file', 'extract_real_data_from_xel']
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '1.0.2'
32
+ __version_tuple__ = version_tuple = (1, 0, 2)
33
+
34
+ __commit_id__ = commit_id = 'g381b3714e'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sql-xel-parser
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Parse and analyze SQL Server Extended Events (.xel) files
5
5
  Home-page: https://github.com/josephvolmer/sql-xel-parser
6
6
  Author: SQL XEL Parser Contributors
@@ -16,6 +16,7 @@ examples/README.md
16
16
  examples/example_usage.py
17
17
  sql_xel_parser/__init__.py
18
18
  sql_xel_parser/__main__.py
19
+ sql_xel_parser/_version.py
19
20
  sql_xel_parser/analyzer.py
20
21
  sql_xel_parser/cli.py
21
22
  sql_xel_parser/converter.py
File without changes
File without changes
File without changes
File without changes