Shared Memory Database with S3 repository
Project description
Instalation Instructions
Prerequisite installations:
- vscode
- git
- awscli
- python 3.9.4
- clone repository
- enter command: pip -m venv venv
- activate virtual environnment (venv\Scripts\activate.bat)
- enter command: pip install -r requirements.txt
- install bpapi > python -m pip install --index-url=https://bcms.bloomberg.com/pip/simple
create virtual environment
install requirements
Create .env file in root folder Ie:
- SOURCE_FOLDER=C:\src\SharedData\src
- PYTHONPATH=${SOURCE_FOLDER}
- DATABASE_FOLDER=C:\DB
- LOG_LEVEL=DEBUG
- AWSCLI_PATH=C:\Program Files\Amazon\AWSCLIV2\aws.exe
- S3_BUCKET=[S3_BUCKET]
Configure aws cli
Read only permission enter command bellow
- aws configure --profile s3readonly
- enter variables bellow:
- [USERKEY]
- [USERSECRET]
- sa-east-1
- json
Read-Write permission enter command bellow:
- aws configure --profile s3readwrite
- enter variables bellow:
- [USERKEY]
- [USERSECRET]
- sa-east-1
- json
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
shareddata-0.0.27.tar.gz
(26.9 kB
view hashes)
Built Distribution
Close
Hashes for shareddata-0.0.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4baa65cb751a1acd33faeb56bf44ba69e41461c5bd3e63226bf6d149da0951f |
|
MD5 | c4820937a85f981e7de7bc6a8440416c |
|
BLAKE2b-256 | 02d0b5e0e8ebdd0300796de9689d45c6d19ed9e09da010a2957ae43f2d6b0f67 |