Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.2%) to scientific vocabulary
Repository
AWS utilities and often repeated code.
Basic Info
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
- Releases: 0
Metadata Files
README.md
TLX
Tools for working with AWS.
Install
This package is not distributed through pypi. Clone the repository and install it locally.
bash
pip install -e .
CLI apps
Tools that should be in the awscli but aren't or don't function well. All have --help for details.
All CLI applications have their own detailed help menus. Currently available tools are:
| function | description |
|---| --- |
| get-aws-creds | returns temporary session credentials. Locally mock AWS runtime environments, debugging IAM etc |
| dynamo-batch-write | loads scan results into a dynamo table. Much better than awscli option |
| dynamo-clear-table | empties the items from a dynamodb table |
```bash $ dynamo-batch-write --help Usage: dynamo-batch-write [OPTIONS]
DYNAMO BATCH WRITE
Loads the results of a scan opperation into a table.
Details:
Takes the output of a scan operation such as: aws dynamodb scan --table-name <TableName>
and writes to an existing table. Similar to the aws dynamodb batch-write-item command except:
- No limit to amount of items in the upload (25 with awscli)
- Take the output of a table scan, requiring no reformatting
Options:
-d, --dump-file FILENAME File dumped from dynamodb with a scan. [required]
-t, --table TEXT Table to send data to. Table must exist and key schema must match. Use aws dynamodb
describe-table --table-name <TableName> [required]
-h, --help Show this message and exit.
```
AWS CLI Wrappers
A collection of tools and alias' that make remembering aws cli commands easier and faster.
They are not production grade.
Standard features
They start with the name of the service so that you can hit tab and see the options you expect. E.g:
code-pipelineorecs. Some may have a short alias such ascp-forcode-pipelinebecause this is meant to make the aws cli more intuitive. The command you want, should be guessable.If the usage isn't obvious (e.g
ecs-clusters) then they have a--helpwith an example.They produce json output. This allows standard tools like
jqorjtblto format it. The--helpsays what kind of output is produced. Lists of things should producejsonlinesso that the output can be grep'ed and still passed tojtbl. E.gstack-status | grep meta | jtbl
Instalation
It is a manual step to source ./tools/rcfile because you may choose to run it in a sub-shell to avoid polluting your environment. For example I add the following alias to my .bashrc.
bash
alias awsenv='bash --rcfile ${TLXPATH}/tools/rcfile'
Otherwise source the .tools/rcfile in your own way.
examples
Find differences to be deployed by a Cope-Pipeline deployment
Find your executionId's to compare somehow. Maybe by using cp-state $p to look at different stages.
Maybe you want to look at previous executions: cp-execs $p 20 | grep -e 'Prod_Environment' | jtbl to see when Prod was last deployed.
cp-state $pto show pipeline executionId between your stages (blocked by an approval)cp-execs $p 30 | grep "exId1\|exId2" | jtblto get the Source hash.- git log diff1..diff2
Module Summary
Import these in a python program or shell.
| function | description |
|---| --- |
| tlx.apigateway | Reduce boilerplate when using proxy response lambdas with API Gateway |
| tlx.dynamodb | clear_table, batch loaders for csv bigquery and functions for nested data reliably |
| tlx.util | Extra tools such as: better boto3 Session, generic paginator that works on all boto3 calls + more |
See Submodule docs for more examples.
Owner
- Name: Tim Elson
- Login: tlelson
- Kind: user
- Website: timelson.com
- Repositories: 43
- Profile: https://github.com/tlelson
5x Hawaii Ironman Champion. Reigning Coney Is. hotdog/not-hotdog eating champ.
GitHub Events
Total
- Push event: 16
Last Year
- Push event: 16
Committers
Last synced: 12 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Tim | t****0@g****m | 262 |
| George Murdocca | g****e@l****m | 4 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 15
- Total pull requests: 4
- Average time to close issues: about 1 month
- Average time to close pull requests: 19 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 1.4
- Average comments per pull request: 0.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- tlelson (14)
- divv (1)
Pull Request Authors
- tlelson (3)
- gmurdocca (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- boto3 >=1.9.199
- click >=6.7
- flake8 >=3.7.7 test
- pytest >=5.0.0 test
- vcrpy >=2.1.1 test