Skip to main content

Client for Tesseract API

Project description

Tesseract-client documentation

Introduction

Tesseract-client is a client for the Tesseract file-hosting service. It is written in Python 3 and uses the Tesseract API to communicate with the server.

Installation

tesseract-client requires Python 3.9 or higher.

Tesseract-client is available on PyPI and can be installed with pip:

pip install tesseract-client

Verify that the installation was successful by running tesseract --version.

$ tesseract --version
tesseract 0.0.5

Usage

Login

Before you can use the client, you must login with your Tesseract credentials. You can do this with the login command:

tesseract login --username <username> --password <password>

If you do not specify a username and password, you will be prompted for them.

It uses the keyring library to store your credentials in the system keyring. You will only need to login once, as the credentials will be stored for future use.

Running the monitoring

To run the monitoring, you can use the tesseract run command. This will start the monitoring process, which will automatically upload any files that are added to or modified in the monitored directory.

tesseract run [--path PATH] [--db DB] [--api_url API_URL]

The --path option specifies the path to the directory to monitor. If not specified, the ~/tesseract directory will be used.

The --db option specifies the path where the database file will be stored. If not specified, the ~/.local/share/tesseract/tesseract.db file will be used.

The --api_url option specifies the URL of the Tesseract API. If not specified, the default URL will be used.

Pulling files

To pull files from the server, you can use the tesseract pull command. This will download all the updated files.

tesseract pull

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tesseract_client-0.0.6.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

tesseract_client-0.0.6-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file tesseract_client-0.0.6.tar.gz.

File metadata

  • Download URL: tesseract_client-0.0.6.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for tesseract_client-0.0.6.tar.gz
Algorithm Hash digest
SHA256 4c8afe5746b5983620128132465700faee06906f938acfd763da4fcff8f1fa74
MD5 6c8ddb0fee117694f376ab62aa81dc44
BLAKE2b-256 97001dd66bf60aaf7e4c1aa5152c3fbf08852c024a0f3baaad15231adc37a712

See more details on using hashes here.

File details

Details for the file tesseract_client-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for tesseract_client-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2845109d6f2ea61f42d6ff9334f22dd75c4d5c1c2878949d5fc32560a808740d
MD5 0bb913b0ebb3555729940212de0c37f3
BLAKE2b-256 c66acfd8dcdf81041c54dfe0ca0f03ee4673e4f46b1ad8d22e4eccb28f4f1956

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page