Metadata-Version: 2.1
Name: inferex
Version: 0.1.1
Summary: Inferex CLI - Init, deploy and manage your projects on Inferex infrastructure
Author: Greg
Author-email: greg@inferex.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: Cerberus (>=1.3.4,<2.0.0)
Requires-Dist: PyYAML (>=6.0,<7.0)
Requires-Dist: Pygments (>=2.12.0,<3.0.0)
Requires-Dist: click (>=8.1.3,<9.0.0)
Requires-Dist: dirhash (>=0.2.1,<0.3.0)
Requires-Dist: humanize (>=4.1.0,<5.0.0)
Requires-Dist: pydantic (>=1.9.2,<2.0.0)
Requires-Dist: python-dotenv (>=0.20.0,<0.21.0)
Requires-Dist: requests (>=2.28.0,<3.0.0)
Requires-Dist: requests-toolbelt (>=0.9.1,<0.10.0)
Requires-Dist: tabulate (>=0.8.9,<0.9.0)
Requires-Dist: tqdm (>=4.64.0,<5.0.0)
Requires-Dist: yaspin (>=2.1.0,<3.0.0)
Description-Content-Type: text/markdown

# Inferex CLI

Deploy and manage your AI projects on Inferex infrastructure.

[See our online documentation for a tutorial.](https://docs.inferex.com/)

## Installation

```bash
pip install inferex
```

You can invoke "inferex --help" for a list of commands. Each command may have
subcommands, which can be called with "--help" as well.

Version 0.1.1:

```bash
Usage: inferex [OPTIONS] COMMAND [ARGS]...

  Inferex CLI is a tool that enables AI companies to rapidly deploy pipelines.
  Init, deploy, and manage your projects with Inferex. Invoke "inferex --help"
  for a list of commands.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  deploy      🚀 Deploy a project.
  deployment  🌎 Manage Inferex deployments.
  pipelines   📞 List pipelines for a deployment.
  init        ✨ Initializes a new project.
  login       🔑 Fetch api key via username & password authentication.
  logs        📃 Get logs of an Inferex deployment
  projects    📁 Manage Inferex projects.
  reset       ❌ Deletes the token.json file created at login.
```

## CLI - Basic usage

1. Create or navigate to the project folder you wish to deploy. You may copy an
   example project folder from the examples folder ("face_detection",
   "sentiment_analysis", etc). Each example has inferex.yaml, pipeline.py, and
   requirements.txt files.

1. Run the "inferex login" command to log in with your inferex account
   and save your token locally.

1. Run "inferex deploy". This will create a tar archive of your project folder
   and send it to the server for processing.

That's it! `inferex deployments` will list your deployed projects and their URLs.

