# Short URLs Client 
A python client for my [aws-lambda-short-url](https://github.com/jamesridgway/aws-lambda-short-url) project.
## Installation TODO
## Usage
### Setup credentials
short-urls config mydoma.in MyApiKey-l3tm31n
### List all URLs
short-urls list
### Create a URL
short-urls create https://github.com/jamesridgway/short-urls-client
Or specify a custom token (e.g. python-client)
short-urls create https://github.com/jamesridgway/short-urls-client python-client
### Delete a URL
short-urls delete https://mydoma.in/T0k3N
## Development The following instructions will help you get started in developing changes for this project.
### Python Environment Run the following to setup a python virtual environment and install all dependencies:
./setup.sh
### Pylint Pylint is used to check code quality and style, pylint can be run using:
./run-pylint.sh
### Tests You can run the test as follows:
./run-tests.sh
An HTML code coverage report will be generated in the htmlcov directory.
Metadata
Release files for short-urls-client 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| short-urls-client-1.0.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| short_urls_client-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / short-urls-client-1.0.0.tar.gz
| Download URL | short-urls-client-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a00524f44592d78272d3a81bfe942def10fdd85259c7f286ff62eb3cf0a5871
|
|
BLAKE2b-256 checksum How to use checksums |
f212cd8239bbf55a1a6abe0eb1c8931e65d4ac10f6d2b82e50ddd2e90eec9a3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / short_urls_client-1.0.0-py3-none-any.whl
| Download URL | short_urls_client-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
675f5628f8b6a9e4850383f79a6756f6528803fb5a9f9ba64b3c174002edd2c0
|
|
BLAKE2b-256 checksum How to use checksums |
3506f32ac67b99b8ac33c23d26db2413b57fe1bde6b51a6fa0422318ca766b47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|