commonmeta-py 0.132__py3-none-any.whl → 0.133__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.
- commonmeta/__init__.py +1 -1
- commonmeta/cli.py +7 -0
- {commonmeta_py-0.132.dist-info → commonmeta_py-0.133.dist-info}/METADATA +1 -1
- {commonmeta_py-0.132.dist-info → commonmeta_py-0.133.dist-info}/RECORD +7 -7
- {commonmeta_py-0.132.dist-info → commonmeta_py-0.133.dist-info}/WHEEL +0 -0
- {commonmeta_py-0.132.dist-info → commonmeta_py-0.133.dist-info}/entry_points.txt +0 -0
- {commonmeta_py-0.132.dist-info → commonmeta_py-0.133.dist-info}/licenses/LICENSE +0 -0
commonmeta/__init__.py
CHANGED
commonmeta/cli.py
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import importlib.metadata
|
1
2
|
import time
|
2
3
|
|
3
4
|
import click
|
@@ -280,5 +281,11 @@ def update_ghost_post(id, api_key, api_url):
|
|
280
281
|
click.echo(output)
|
281
282
|
|
282
283
|
|
284
|
+
@cli.command()
|
285
|
+
def version():
|
286
|
+
version = importlib.metadata.version("commonmeta-py")
|
287
|
+
click.echo(f"commonmeta-py {version}")
|
288
|
+
|
289
|
+
|
283
290
|
if __name__ == "__main__":
|
284
291
|
cli()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: commonmeta-py
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.133
|
4
4
|
Summary: Library for conversions to/from the Commonmeta scholarly metadata format
|
5
5
|
Project-URL: Homepage, https://python.commonmeta.org
|
6
6
|
Project-URL: Repository, https://github.com/front-matter/commonmeta-py
|
@@ -1,8 +1,8 @@
|
|
1
|
-
commonmeta/__init__.py,sha256=
|
1
|
+
commonmeta/__init__.py,sha256=LXbxDYjamWbC_7LWnUezqclzNROGBmiQXfm_gQkkd2o,2118
|
2
2
|
commonmeta/api_utils.py,sha256=P8LMHHYiF4OTi97_5k4KstcBreooMkOAKZ4ebxsAv4o,2691
|
3
3
|
commonmeta/author_utils.py,sha256=3lYW5s1rOUWNTKs1FP6XLfEUY3yCLOe_3L_VdJTDMp0,8585
|
4
4
|
commonmeta/base_utils.py,sha256=-MGy9q2uTiJEkPWQUYOJMdq-3tRpNnvBwlLjvllQ5g8,11164
|
5
|
-
commonmeta/cli.py,sha256=
|
5
|
+
commonmeta/cli.py,sha256=kBDSn7hL29I_ICn8XKFFEaIWl_ZVE_KrNWpzfar9v3g,8639
|
6
6
|
commonmeta/constants.py,sha256=wSTEUiHeRdXLwjXEQD9AU2hxFyEKi5OTX2iHOKO6nF0,19844
|
7
7
|
commonmeta/date_utils.py,sha256=H2cCobX0JREIUOT_cCigGd3MG7prGiQpXk1m4ZNrFwU,6318
|
8
8
|
commonmeta/doi_utils.py,sha256=WCERy6sJ8C7KRxYU-ZGnvmFe6YIdl_jtYO4lQ23aeYA,11510
|
@@ -83,8 +83,8 @@ commonmeta/writers/datacite_writer.py,sha256=bcinpwhq7XnVthKHH8-sdXA34dSlvFH4ImY
|
|
83
83
|
commonmeta/writers/inveniordm_writer.py,sha256=tiuq9JEkz02l615yVe9wUcJQqiIPJLUqNDyofEE8Aus,26726
|
84
84
|
commonmeta/writers/ris_writer.py,sha256=3SdyEvMRaPRP1SV1MB-MXBlunE7x6og7RF1zuWtetPc,2094
|
85
85
|
commonmeta/writers/schema_org_writer.py,sha256=s18_x0ReXwAGBoEAwp2q-HCgFQ-h5qRg6JyAlqCoSFE,5871
|
86
|
-
commonmeta_py-0.
|
87
|
-
commonmeta_py-0.
|
88
|
-
commonmeta_py-0.
|
89
|
-
commonmeta_py-0.
|
90
|
-
commonmeta_py-0.
|
86
|
+
commonmeta_py-0.133.dist-info/METADATA,sha256=mkjntJUhPLkq6tY_n54BHPwzGClmKKAozrlQX0SUO3A,7656
|
87
|
+
commonmeta_py-0.133.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
88
|
+
commonmeta_py-0.133.dist-info/entry_points.txt,sha256=U4w4BoRuS3rN5t5Y-uYSyOeU5Lh_VRVMS9OIDzIgw4w,50
|
89
|
+
commonmeta_py-0.133.dist-info/licenses/LICENSE,sha256=wsIvxF9Q9GC9vA_s79zTWP3BkXJdfUNRmALlU8GbW1s,1074
|
90
|
+
commonmeta_py-0.133.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|