Overview
tport is a simple command line tool written in Python for all your JSON transporting needs. Tools currently supported:
Amazon S3
Elastic Search
Kafka
MongoDB
HBase
Quickstart
pip install json-transporter
Add your specific connections to a .tport file in your home directory. For example,
[elasticsearch] host = http://myescluster.com:9200 ssl = false [kafka] host = http://mykafkabroker.com:9092 [s3] access_key = youraccesskey secret_key = yoursecretkey
To view command line usage just type tport --help
Configuration
If tport does not find the relevant settings on the command line or the .tport file, it will resort to the default settings for each tools. For example,
localhost:9200 –> Elastic search
localhost:9092 –> Kafka
Connection settings such as the host and db can also be specified on the command line. Anything specified on the command line will have presedence over settings in files. Order of precedence:
command line
.tport
defaults
Release files for json-transporter 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| json-transporter-0.2.3.tar.gz | 7.5 kB | Details |
Release files / json-transporter-0.2.3.tar.gz
| Download URL | json-transporter-0.2.3.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bf6a18b3e3aa344c5d696864085353e02a15eaa99d2cf2fb6124ca508d7284d
|
|
BLAKE2b-256 checksum How to use checksums |
1c528d314211f8d99e4509b6e4e9f689ef3ee07d63f6f784a972d4fd616b50e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |