delineate 0.0.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.
delineate/__init__.py
ADDED
|
File without changes
|
delineate/main.py
ADDED
|
@@ -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'))
|
delineate/py.typed
ADDED
|
File without changes
|
|
@@ -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,8 @@
|
|
|
1
|
+
delineate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
delineate/main.py,sha256=0uc4k1Ji0-pihMs6H2g0roia9amhSdvE9El9M_UOURA,728
|
|
3
|
+
delineate/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
delineate-0.0.0.dist-info/METADATA,sha256=Rh4lFx8p-rhJOhXMDD9ykPbP1gTMI1FP9rE4pe3r8Tg,960
|
|
5
|
+
delineate-0.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
+
delineate-0.0.0.dist-info/entry_points.txt,sha256=xQPiwLbYcdgzijcVtEIn85MMbmW4iWo2GggZr_-zDOk,49
|
|
7
|
+
delineate-0.0.0.dist-info/licenses/LICENSE.txt,sha256=pVbCTXAblnPXyMplcpJyuI8fSoBj33ckxKvzUVy4VVU,1065
|
|
8
|
+
delineate-0.0.0.dist-info/RECORD,,
|
|
@@ -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.
|