tiggy-cli 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,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Henry Upton
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,35 @@
1
+ Metadata-Version: 2.4
2
+ Name: tiggy-cli
3
+ Version: 0.0.1
4
+ Summary: Declarative Google Tag Manager: validate, plan and apply GTM containers from a YAML spec.
5
+ Keywords: google-tag-manager,gtm,infrastructure-as-code,declarative
6
+ Author: Henry Upton
7
+ Author-email: Henry Upton <henryupton@gmail.com>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Development Status :: 1 - Planning
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Topic :: Internet :: WWW/HTTP :: Site Management
15
+ Requires-Dist: click>=8.1
16
+ Requires-Python: >=3.11
17
+ Project-URL: Repository, https://github.com/henryupton/tiggy
18
+ Description-Content-Type: text/markdown
19
+
20
+ # Tiggy
21
+
22
+ Declarative Google Tag Manager. Describe a GTM container in YAML, then validate, plan and apply it the way
23
+ [Tundra](https://github.com/henryupton/tundra) does for Snowflake permissions.
24
+
25
+ Early days: nothing works yet.
26
+
27
+ ```bash
28
+ pip install tiggy-cli
29
+
30
+ tiggy validate spec/ # every reference between tags, triggers and variables resolves
31
+ tiggy spec-test spec/ # the spec matches the live container
32
+ tiggy run spec/ --dry # the GTM changes that would make it match
33
+ tiggy run spec/ # make them, in a new workspace
34
+ tiggy import <container> # write a live container out as a spec
35
+ ```
@@ -0,0 +1,16 @@
1
+ # Tiggy
2
+
3
+ Declarative Google Tag Manager. Describe a GTM container in YAML, then validate, plan and apply it the way
4
+ [Tundra](https://github.com/henryupton/tundra) does for Snowflake permissions.
5
+
6
+ Early days: nothing works yet.
7
+
8
+ ```bash
9
+ pip install tiggy-cli
10
+
11
+ tiggy validate spec/ # every reference between tags, triggers and variables resolves
12
+ tiggy spec-test spec/ # the spec matches the live container
13
+ tiggy run spec/ --dry # the GTM changes that would make it match
14
+ tiggy run spec/ # make them, in a new workspace
15
+ tiggy import <container> # write a live container out as a spec
16
+ ```
@@ -0,0 +1,39 @@
1
+ [project]
2
+ name = "tiggy-cli"
3
+ version = "0.0.1"
4
+ description = "Declarative Google Tag Manager: validate, plan and apply GTM containers from a YAML spec."
5
+ readme = "README.md"
6
+ license = "MIT"
7
+ license-files = ["LICENSE"]
8
+ requires-python = ">=3.11"
9
+ dependencies = ["click>=8.1"]
10
+ keywords = [
11
+ "google-tag-manager",
12
+ "gtm",
13
+ "infrastructure-as-code",
14
+ "declarative",
15
+ ]
16
+ classifiers = [
17
+ "Development Status :: 1 - Planning",
18
+ "Environment :: Console",
19
+ "Intended Audience :: Developers",
20
+ "Programming Language :: Python :: 3",
21
+ "Topic :: Internet :: WWW/HTTP :: Site Management",
22
+ ]
23
+
24
+ [[project.authors]]
25
+ name = "Henry Upton"
26
+ email = "henryupton@gmail.com"
27
+
28
+ [project.urls]
29
+ Repository = "https://github.com/henryupton/tiggy"
30
+
31
+ [project.scripts]
32
+ tiggy = "tiggy.cli:cli"
33
+
34
+ [build-system]
35
+ requires = ["uv_build>=0.10.9,<0.11.0"]
36
+ build-backend = "uv_build"
37
+
38
+ [tool.uv.build-backend]
39
+ module-name = "tiggy"
@@ -0,0 +1,31 @@
1
+ [project]
2
+ name = "tiggy-cli"
3
+ version = "0.0.1"
4
+ description = "Declarative Google Tag Manager: validate, plan and apply GTM containers from a YAML spec."
5
+ readme = "README.md"
6
+ license = "MIT"
7
+ license-files = ["LICENSE"]
8
+ authors = [{ name = "Henry Upton", email = "henryupton@gmail.com" }]
9
+ requires-python = ">=3.11"
10
+ dependencies = ["click>=8.1"]
11
+ keywords = ["google-tag-manager", "gtm", "infrastructure-as-code", "declarative"]
12
+ classifiers = [
13
+ "Development Status :: 1 - Planning",
14
+ "Environment :: Console",
15
+ "Intended Audience :: Developers",
16
+ "Programming Language :: Python :: 3",
17
+ "Topic :: Internet :: WWW/HTTP :: Site Management",
18
+ ]
19
+
20
+ [project.urls]
21
+ Repository = "https://github.com/henryupton/tiggy"
22
+
23
+ [project.scripts]
24
+ tiggy = "tiggy.cli:cli"
25
+
26
+ [build-system]
27
+ requires = ["uv_build>=0.10.9,<0.11.0"]
28
+ build-backend = "uv_build"
29
+
30
+ [tool.uv.build-backend]
31
+ module-name = "tiggy"
@@ -0,0 +1,3 @@
1
+ from importlib.metadata import version
2
+
3
+ __version__ = version("tiggy-cli")
@@ -0,0 +1,9 @@
1
+ import click
2
+
3
+ from tiggy import __version__
4
+
5
+
6
+ @click.group(no_args_is_help=True)
7
+ @click.version_option(__version__, prog_name="tiggy")
8
+ def cli() -> None:
9
+ """Declarative Google Tag Manager."""