Metadata-Version: 2.1
Name: jina-hubble-sdk
Version: 0.1.3.dev19
Summary: SDK for Hubble API at Jina AI.
Home-page: https://github.com/jina-ai/hubble-client-python/
Author: Jina AI
Author-email: hello@jina.ai
License: Proprietary
Download-URL: https://github.com/jina-ai/hubble-client-python/tags
Project-URL: Source, https://github.com/jina-ai/hubble-client-python/
Project-URL: Tracker, https://github.com/jina-ai/hubble-client-python/issues
Description: <p align="center">
            <a href="https://jina.ai/">
                <img src="https://github.com/jina-ai/hubble-client-python/blob/main/.github/logos/hubble-colorful.png?raw=true" alt="Hubble python SDK logo" width="200px">
            </a>
        </p>
        
        <p align="center">
            <b>Hubble Python SDK: Talk with Hubble in a Pythonic Way</b>
        </p>
        
        ## Install
        
        ```shell
        pip install --pre jina-hubble-sdk
        ```
        
        ## Core functionality
        
        * Authentication and token management.
        * Artifact management.
        
        ## Usage
        
        ### Login to Hubble
        
        ```python
        import hubble
        
        # Open browser automatically and login via 3rd party.
        # Token will be saved locally.
        hubble.login()
        ```
        
        ### Logout
        
        ```python
        import hubble
        
        # If there is a valid token locally, 
        # this will disable that token and remove it from local config.
        hubble.logout()
        ```
        
        ### Authentication and Token Management
        
        After calling `hubble.login()`, you can use the client with:
        
        ```python
        import hubble
        
        client = hubble.Client(
            max_retries=None,
            timeout=10,
            jsonify=True
        )
        # Get current user information.
        response = client.get_user_info()
        # Create a new personally access token for longer expiration period.
        response = client.create_personal_access_token(
            name='my-pat',
            expiration_days=30
        )
        # Query all personal access tokens.
        response = client.list_personal_access_tokens()
        ```
        
        ### Artifact Management
        ```python
        import hubble
        
        client = hubble.Client(
            max_retries=None,
            timeout=10,
            jsonify=True
        )
        # Upload artifact to Hubble Artifact Storage.
        response = client.upload_artifact(
            path='my-model.onnx',
            is_public=False
        )
        # Get current artifact information.
        response = client.get_artifact_info(id='my-artifact-id')
        # Download artifact to local directory.
        response = client.download_artifact(
            id='my-artifact-id',
            path='my-local-filepath'
        )
        # Delete the artifact.
        response = client.delete_artifact(id='my-artifact-id')
        ```
        
        ## Release cycle
        
        Each time new commits come into `main` branch, the pre-release procedure will be started. 
        It will generate a pre-release in Pypi.
        
        <!-- start support-pitch -->
        ## Support
        
        - Use [Discussions](https://github.com/jina-ai/finetuner/discussions) to talk about your use cases, questions, and
          support queries.
        - Join our [Slack community](https://slack.jina.ai) and chat with other Jina community members about ideas.
        - Join our [Engineering All Hands](https://youtube.com/playlist?list=PL3UBBWOUVhFYRUa_gpYYKBqEAkO4sxmne) meet-up to discuss your use case and learn Jina's new features.
            - **When?** The second Tuesday of every month
            - **Where?**
              Zoom ([see our public events calendar](https://calendar.google.com/calendar/embed?src=c_1t5ogfp2d45v8fit981j08mcm4%40group.calendar.google.com&ctz=Europe%2FBerlin)/[.ical](https://calendar.google.com/calendar/ical/c_1t5ogfp2d45v8fit981j08mcm4%40group.calendar.google.com/public/basic.ics))
              and [live stream on YouTube](https://youtube.com/c/jina-ai)
        - Subscribe to the latest video tutorials on our [YouTube channel](https://youtube.com/c/jina-ai)
        
        ## Join Us
        
        Hubble Python SDK is backed by [Jina AI](https://jina.ai) and licensed under [Apache-2.0](./LICENSE). [We are actively hiring](https://jobs.jina.ai) AI engineers, solution engineers to build the next neural search ecosystem in opensource.
        
        <!-- end support-pitch -->
        
Keywords: jina neural-search neural-network deep-learning pretraining fine-tuning pretrained-models triplet-loss metric-learning siamese-network few-shot-learning
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
Provides-Extra: full
