cryptozoology 0.0.1__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.
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: cryptozoology
3
+ Version: 0.0.1
4
+ Summary: Cryptographic utilities and key storage
5
+ Author-email: "Beanbag, Inc." <questions@beanbaginc.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/beanbaginc/cryptozoology
8
+ Project-URL: Documentation, https://github.com/beanbaginc/cryptozoology
9
+ Project-URL: Repository, https://github.com/beanbaginc/cryptozoology
10
+ Keywords: aes,crypto,icies,keys
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Software Development
22
+ Classifier: Topic :: Software Development :: Build Tools
23
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
+ Requires-Python: >=3.10
25
+ Description-Content-Type: text/x-rst
26
+ Requires-Dist: cryptography~=49.0.0
@@ -0,0 +1,22 @@
1
+ """Cryptography utilities and key storage for Python.
2
+
3
+ Version Added:
4
+ 1.0
5
+ """
6
+
7
+ from cryptozoology._version import (VERSION,
8
+ __version__,
9
+ __version_info__,
10
+ get_package_version,
11
+ get_version_string,
12
+ is_release)
13
+
14
+
15
+ __all__ = [
16
+ 'VERSION',
17
+ '__version__',
18
+ '__version_info__',
19
+ 'get_package_version',
20
+ 'get_version_string',
21
+ 'is_release',
22
+ ]
@@ -0,0 +1,78 @@
1
+ """Basic version and package information."""
2
+
3
+ from __future__ import annotations
4
+
5
+
6
+ # The version of cryptozoology.
7
+ #
8
+ # This is in the format of:
9
+ #
10
+ # (Major, Minor, Micro, alpha/beta/rc/final, Release Number, Released)
11
+ #
12
+ VERSION: tuple[int, int, int, str, int, bool] = \
13
+ (0, 0, 1, 'final', 0, True)
14
+
15
+
16
+ def get_version_string() -> str:
17
+ """Return the display version of cryptozoology.
18
+
19
+ Returns:
20
+ str:
21
+ The display version.
22
+ """
23
+ major, minor, micro, tag, release_num, released = VERSION
24
+
25
+ version = f'{major}.{minor}'
26
+
27
+ if micro:
28
+ version = f'{version}.{micro}'
29
+
30
+ if tag != 'final':
31
+ if tag == 'rc':
32
+ version = f'{version} RC{release_num}'
33
+ else:
34
+ version = f'{version} {tag} {release_num}'
35
+
36
+ if not is_release():
37
+ version = f'{version} (dev)'
38
+
39
+ return version
40
+
41
+
42
+ def get_package_version() -> str:
43
+ """Return the package version of cryptozoology.
44
+
45
+ Returns:
46
+ str:
47
+ The display version.
48
+ """
49
+ major, minor, micro, tag, release_num, released = VERSION
50
+
51
+ version = f'{major}.{minor}'
52
+
53
+ if micro:
54
+ version = f'{version}.{micro}'
55
+
56
+ if tag != 'final':
57
+ if tag == 'alpha':
58
+ tag = 'a'
59
+ elif tag == 'beta':
60
+ tag = 'b'
61
+
62
+ version = f'{version}{tag}{release_num}'
63
+
64
+ return version
65
+
66
+
67
+ def is_release() -> bool:
68
+ """Return whether the package is released.
69
+
70
+ Returns:
71
+ bool:
72
+ ``True`` if the package is a released build, or ``False`` if it is not.
73
+ """
74
+ return VERSION[5]
75
+
76
+
77
+ __version_info__ = VERSION[:-1]
78
+ __version__ = get_package_version()
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: cryptozoology
3
+ Version: 0.0.1
4
+ Summary: Cryptographic utilities and key storage
5
+ Author-email: "Beanbag, Inc." <questions@beanbaginc.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/beanbaginc/cryptozoology
8
+ Project-URL: Documentation, https://github.com/beanbaginc/cryptozoology
9
+ Project-URL: Repository, https://github.com/beanbaginc/cryptozoology
10
+ Keywords: aes,crypto,icies,keys
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Software Development
22
+ Classifier: Topic :: Software Development :: Build Tools
23
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
+ Requires-Python: >=3.10
25
+ Description-Content-Type: text/x-rst
26
+ Requires-Dist: cryptography~=49.0.0
@@ -0,0 +1,8 @@
1
+ pyproject.toml
2
+ cryptozoology/__init__.py
3
+ cryptozoology/_version.py
4
+ cryptozoology.egg-info/PKG-INFO
5
+ cryptozoology.egg-info/SOURCES.txt
6
+ cryptozoology.egg-info/dependency_links.txt
7
+ cryptozoology.egg-info/requires.txt
8
+ cryptozoology.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ cryptography~=49.0.0
@@ -0,0 +1 @@
1
+ cryptozoology
@@ -0,0 +1,57 @@
1
+ [build-system]
2
+ requires = [
3
+ 'buildthings',
4
+ ]
5
+ build-backend = 'buildthings.backend'
6
+
7
+
8
+ [project]
9
+ dynamic = ['version']
10
+
11
+ name = 'cryptozoology'
12
+ description = 'Cryptographic utilities and key storage'
13
+ authors = [
14
+ {name = 'Beanbag, Inc.', email='questions@beanbaginc.com'},
15
+ ]
16
+ license = 'MIT'
17
+ license-files = ['LICENSE']
18
+ readme = 'README.rst'
19
+
20
+ requires-python = '>=3.10'
21
+
22
+ dependencies = [
23
+ 'cryptography~=49.0.0',
24
+ ]
25
+
26
+ keywords = [
27
+ 'aes',
28
+ 'crypto',
29
+ 'icies',
30
+ 'keys',
31
+ ]
32
+
33
+ classifiers = [
34
+ 'Development Status :: 5 - Production/Stable',
35
+ 'Intended Audience :: Developers',
36
+ 'Operating System :: OS Independent',
37
+ 'Programming Language :: Python',
38
+ 'Programming Language :: Python :: 3',
39
+ 'Programming Language :: Python :: 3.10',
40
+ 'Programming Language :: Python :: 3.11',
41
+ 'Programming Language :: Python :: 3.12',
42
+ 'Programming Language :: Python :: 3.13',
43
+ 'Programming Language :: Python :: 3.14',
44
+ 'Topic :: Software Development',
45
+ 'Topic :: Software Development :: Build Tools',
46
+ 'Topic :: Software Development :: Libraries :: Python Modules',
47
+ ]
48
+
49
+
50
+ [project.urls]
51
+ Homepage = 'https://github.com/beanbaginc/cryptozoology'
52
+ Documentation = 'https://github.com/beanbaginc/cryptozoology'
53
+ Repository = 'https://github.com/beanbaginc/cryptozoology'
54
+
55
+
56
+ [tool.setuptools.dynamic]
57
+ version = { attr = 'cryptozoology.get_package_version' }
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+