Metadata-Version: 2.1
Name: crono-api-client
Version: 0.1.17
Summary: Crono API client
Home-page: https://github.com/gduverger/crono-api-client
Author: Georges Duverger
Author-email: georges.duverger@gmail.com
License: MIT
Description: # Crono API Client
        
        Python client for the 🔮 Crono API: https://crono.com/
        
        ```python
        >>> import crono_api_client as crono
        >>> crono.request('POST', https://your.app/').after(hours=42)
        ```
        
        ## How to
        
        Install package:
        ```console
        $ pip install crono_api_client
        ```
        
        Configure `.env` variables:
        ```
        CRONO_API_URL=… 
        CRONO_API_KEY=…
        ```
        
        Get all jobs:
        ```python
        >>> job_uuids = crono.jobs()
        ```
        
        Get a job:
        ```python
        >>> job_json = crono.job(<string:job_uuid>)
        ```
        
        Schedule a job:
        ```python
        >>> job_uuid = crono.<task>(<args>, <kwargs>).<trigger>(<args>, <kwargs>)
        >>> # or
        >>> job_uuid = crono.<trigger>(<args>, <kwargs>).<task>(<args>, <kwargs>)
        ```
        
        Delete a job:
        ```python
        >>> job_uuid = crono.delete(<string:job_uuid>)
        ```
        
        ## Development
        
        Packaging
        
        ```console
        # Generating distribution archives
        $ python setup.py sdist bdist_wheel
        
        # Uploading the distribution archives
        $ twine upload --skip-existing dist/*
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Requires-Python: >=3
Description-Content-Type: text/markdown
