czds

- ICANN Centralized Zone Data Service Tool
git clone git://git.acid.vegas/czds.git
Log | Files | Refs | Archive | README | LICENSE

commit d116ae2d8a54416ebdff24a3607ec6415f54f5e8
parent 1d76aaf5527c32e2d7642e5641e6446aa61fb119
Author: acidvegas <acid.vegas@acid.vegas>
Date: Tue, 11 Mar 2025 11:37:34 -0400

syncronous entrance

Diffstat:
Mczds/__init__.py | 5+++--
Mczds/__main__.py | 4++++
Mczds_api.egg-info/PKG-INFO | 2+-
Msetup.py | 4++--

4 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/czds/__init__.py b/czds/__init__.py
@@ -5,7 +5,7 @@
 from .client import CZDS
 
 
-__version__ = '1.2.0'
+__version__ = '1.2.1'
 __author__  = 'acidvegas'
 __email__   = 'acid.vegas@acid.vegas'
-__github__  = 'https://github.com/acidvegas/czds'
+__github__  = 'https://github.com/acidvegas/czds'
+\ No newline at end of file
diff --git a/czds/__main__.py b/czds/__main__.py
@@ -73,6 +73,10 @@ async def main():
                 raise Exception(f'Failed to download zone files: {e}')
 
 
+def cli_entry():
+    '''Synchronous entry point for console script'''
+    return asyncio.run(main())
+
 
 if __name__ == '__main__':
     asyncio.run(main()) 
 \ No newline at end of file
diff --git a/czds_api.egg-info/PKG-INFO b/czds_api.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.2
 Name: czds-api
-Version: 1.1.0
+Version: 1.2.0
 Summary: ICANN API for the Centralized Zones Data Service
 Home-page: https://github.com/acidvegas/czds
 Author: acidvegas
diff --git a/setup.py b/setup.py
@@ -11,7 +11,7 @@ with open('README.md', 'r', encoding='utf-8') as fh:
 
 setup(
 	name='czds-api',
-	version='1.2.0',
+	version='1.2.1',
 	author='acidvegas',
 	author_email='acid.vegas@acid.vegas',
 	description='ICANN API for the Centralized Zones Data Service',
@@ -43,7 +43,7 @@ setup(
 	python_requires='>=3.6',
 	entry_points={
 		'console_scripts': [
-			'czds=czds.__main__:main',
+			'czds=czds.__main__:cli_entry',
 		],
 	},
 	install_requires=[