AWS Console Tool
Project description
Console for AWS
Install
pip install ns-lab-aws
Initialize
python -m ns_lab_aws.init
Will be created "logging.conf" and ".env" with default values
Set AWS credentials
AWS_KEY=eEXAMPLEoIAN88J7LAH45X
AWS_SECRET=eEXAMPLEo2D4zGlMlwNrn7vC/rmKzxXz6X0cgj/
AWS_REGION=eu-central-1
Run
Help Info
python -m ns_lab_aws.manager --help
(venv) salavat@Linux AWS % python -m ns_console.client --help
usage: client.py [-h] [--list] [--create] [--delete]
[--upload] [--download] [--content]
[--force] [-b BUCKET] [-f FILE] [-d DIR]
AWS S3 Buckets
options:
-h, --help show this help message and exit
--list List all buckets
--create Create bucket
--delete Delete bucket
--upload Upload file to bucket
--download Download file from bucket
--content Show bucket content
--force Force delete bucket
-b BUCKET, --bucket BUCKET
Bucket name
-f FILE, --file FILE File name
-d DIR, --dir DIR Directory name
Show all buckets
python -m ns_lab_aws.manager --list
(venv) salavat@Linux AWS % python -m ns_console.client --list
AWS S3 Buckets
ID Files Bucket Location Created
──────────────────────────────────────────────────────────────────────────────────────────────────────────
1 2 ns-lab.open-storage EU-CENTRAL-1 2023-02-14 08:45:55
2 0 aws-sam-cli-managed-default-samclisourcebucket-1agj41… EU-CENTRAL-1 2023-04-03 14:34:25
3 4 backname EU-CENTRAL-1 2023-06-07 13:32:36
4 0 2023-06-08-my-bucket EU-CENTRAL-1 2023-06-08 06:02:00
5 2 new-storage4 EU-CENTRAL-1 2023-02-15 20:15:51
6 10 new-storage3 EU-CENTRAL-1 2023-02-15 14:00:37
7 1 zappa-s3-test1 EU-CENTRAL-1 2023-04-17 09:27:41
8 189 ns-lab-web EU-WEST-3 2022-12-03 09:15:52
Create new S3 Bucket
python -m ns_lab_aws.manager --create -b 'project-8.console'
Delete S3 Bucket
python -m ns_lab_aws.manager --delete -b 'project-8.console'
Show S3 Bucket content
python -m ns_lab_aws.manager --content -b 'backname'
Files in AWS S3 Bucket
ID Path File Extension Size Created
─────────────────────────────────────────────────────────────────────────────────
1 4100020573.pdf PDF 350.64 KB 2023-06-07 19:34:09
2 Docker.dmg DMG 590.5 MB 2023-06-07 19:35:26
3 flower.jpeg JPEG 202.35 KB 2023-06-07 19:39:00
4 my_pdf_document.pdf PDF 350.64 KB 2023-06-07 19:31:02
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
Close
Hashes for ns_lab_aws-23.6.9.post1349.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72aa7c4bf6dd36639a235209dd9caa3e579933c4fcc0b64df59c72d45d66f361 |
|
MD5 | f1e9955afbae9ead6b5525401df12d46 |
|
BLAKE2b-256 | ce5622c4907515fcc251ae1c4d665685f000a5cca8356f650b105ab53b75998f |
Close
Hashes for ns_lab_aws-23.6.9.post1349-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db9a9dd2cefec8c54d7fcf36fadba0c8ef5b54c035499b7a37e7f1af64d775c8 |
|
MD5 | c5f80c7db4372f737c2b83d764704bea |
|
BLAKE2b-256 | 20a28b36d0a8ac5db1b6e9064d156cb8e22b9dca08c8fb31a2eeffd0dbe67f85 |