delineate 0.0.0__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,17 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ _build/
6
+ dist/
7
+ wheels/
8
+ *.egg-info
9
+
10
+ # All dotfiles, excluding specific ones
11
+ .*
12
+ !.git*
13
+ !.python-version
14
+ !.readthedocs.yaml
15
+ /*.json
16
+ /*.jsonl
17
+ uv.lock
@@ -0,0 +1,21 @@
1
+ Copyright (c) 2025 onwards Chris Withers
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without restriction,
6
+ including without limitation the rights to use, copy, modify, merge,
7
+ publish, distribute, sublicense, and/or sell copies of the Software,
8
+ and to permit persons to whom the Software is furnished to do so,
9
+ subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
16
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
18
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: delineate
3
+ Version: 0.0.0
4
+ Summary: Backup and export data from Linear.
5
+ Project-URL: Homepage, https://delineate.readthedocs.io/
6
+ Project-URL: Documentation, https://delineate.readthedocs.io/
7
+ Project-URL: Repository, https://github.com/cjw296/delineate
8
+ Author-email: Chris Withers <chris@withers.org>
9
+ License-File: LICENSE.txt
10
+ Requires-Python: >=3.13
11
+ Requires-Dist: click>=8.2
12
+ Description-Content-Type: text/x-rst
13
+
14
+ delineate
15
+ =========
16
+ |Docs|_ |PyPI|_ |Git|_
17
+
18
+ .. |Docs| image:: https://readthedocs.org/projects/delineate/badge/?version=latest
19
+ .. _Docs: https://delineate.readthedocs.io/
20
+
21
+ .. |PyPI| image:: https://badge.fury.io/py/delineate.svg
22
+ .. _PyPI: https://pypi.org/project/delineate/
23
+
24
+ .. |Git| image:: https://github.com/cjw296/delineate/actions/workflows/ci.yml/badge.svg
25
+ .. _Git: https://github.com/cjw296/delineate
26
+
27
+ This package provides a command line tool to backup and export data from `Linear`__.
28
+
29
+ __ https://linear.app/
@@ -0,0 +1,16 @@
1
+ delineate
2
+ =========
3
+ |Docs|_ |PyPI|_ |Git|_
4
+
5
+ .. |Docs| image:: https://readthedocs.org/projects/delineate/badge/?version=latest
6
+ .. _Docs: https://delineate.readthedocs.io/
7
+
8
+ .. |PyPI| image:: https://badge.fury.io/py/delineate.svg
9
+ .. _PyPI: https://pypi.org/project/delineate/
10
+
11
+ .. |Git| image:: https://github.com/cjw296/delineate/actions/workflows/ci.yml/badge.svg
12
+ .. _Git: https://github.com/cjw296/delineate
13
+
14
+ This package provides a command line tool to backup and export data from `Linear`__.
15
+
16
+ __ https://linear.app/
File without changes
@@ -0,0 +1,32 @@
1
+ import logging
2
+ from pathlib import Path
3
+
4
+ import click
5
+
6
+
7
+ @click.group()
8
+ @click.option(
9
+ '--auth',
10
+ 'auth_path',
11
+ type=click.Path(path_type=Path),
12
+ default=Path('.delineate.json'),
13
+ help='Path to the authentication file.',
14
+ )
15
+ @click.option(
16
+ '-l',
17
+ '--log-level',
18
+ type=click.Choice(['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']),
19
+ )
20
+ @click.pass_context
21
+ def cli(ctx: click.Context, auth_path: Path, log_level: str | None) -> None:
22
+ ctx.obj = auth_path
23
+ if log_level:
24
+ logging.basicConfig(level=getattr(logging, log_level))
25
+
26
+
27
+ @cli.command()
28
+ def version() -> None:
29
+ """Show the version."""
30
+ from importlib.metadata import version as get_version
31
+
32
+ click.echo(get_version('delineate'))
File without changes
@@ -0,0 +1,57 @@
1
+ [project]
2
+ name = "delineate"
3
+ version = "0.0.0"
4
+ description = "Backup and export data from Linear."
5
+ readme = "README.rst"
6
+ authors = [
7
+ { name = "Chris Withers", email = "chris@withers.org" }
8
+ ]
9
+ requires-python = ">=3.13"
10
+ dependencies = [
11
+ "click>=8.2",
12
+ ]
13
+
14
+ [project.urls]
15
+ "Homepage" = "https://delineate.readthedocs.io/"
16
+ "Documentation" = "https://delineate.readthedocs.io/"
17
+ "Repository" = "https://github.com/cjw296/delineate"
18
+
19
+ [project.scripts]
20
+ delineate = "delineate.main:cli"
21
+
22
+ [build-system]
23
+ requires = ["hatchling"]
24
+ build-backend = "hatchling.build"
25
+
26
+ [dependency-groups]
27
+ docs = [
28
+ "furo>=2024.8.6",
29
+ "sphinx>=8.1.3,<9.0",
30
+ ]
31
+ dev = [
32
+ "mypy>=1.15.0",
33
+ "pytest>=8.3.5",
34
+ "pytest-cov>=6.1.1",
35
+ ]
36
+
37
+ [tool.hatch.build.targets.sdist]
38
+ packages = ["src/delineate"]
39
+
40
+ [tool.mypy]
41
+ strict= true
42
+ check_untyped_defs = true
43
+ disallow_untyped_defs = true
44
+ disallow_incomplete_defs = true
45
+
46
+ [tool.pytest.ini_options]
47
+
48
+ [tool.ruff]
49
+ line-length = 100
50
+
51
+ [tool.ruff.format]
52
+ quote-style = "preserve"
53
+
54
+ [tool.coverage.report]
55
+ exclude_also = [
56
+ "\\.\\.\\.",
57
+ ]