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
Hashes for short_urls_client-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675f5628f8b6a9e4850383f79a6756f6528803fb5a9f9ba64b3c174002edd2c0 |
|
MD5 | 753e1addf01b70eaf14791f7c073abbe |
|
BLAKE2b-256 | 3506f32ac67b99b8ac33c23d26db2413b57fe1bde6b51a6fa0422318ca766b47 |