A python client for the https://github.com/jamesridgway/aws-lambda-short-url project.
Project description
# Short URLs Client ![CI](https://github.com/jamesridgway/short-urls-client/workflows/CI/badge.svg?branch=master)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file short-urls-client-1.0.0.tar.gz
.
File metadata
- Download URL: short-urls-client-1.0.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a00524f44592d78272d3a81bfe942def10fdd85259c7f286ff62eb3cf0a5871 |
|
MD5 | 55022d899f6759957984dd84634783d0 |
|
BLAKE2b-256 | f212cd8239bbf55a1a6abe0eb1c8931e65d4ac10f6d2b82e50ddd2e90eec9a3c |
File details
Details for the file short_urls_client-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: short_urls_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675f5628f8b6a9e4850383f79a6756f6528803fb5a9f9ba64b3c174002edd2c0 |
|
MD5 | 753e1addf01b70eaf14791f7c073abbe |
|
BLAKE2b-256 | 3506f32ac67b99b8ac33c23d26db2413b57fe1bde6b51a6fa0422318ca766b47 |