Skip to main content

Shared Memory Database with S3 repository

Project description

Instalation Instructions

Prerequisite installations:

  • vscode
  • git
  • awscli
  • python 3.9.4
  • clone repository
  • create virtual environment

  • enter command: pip -m venv venv
  • activate virtual environnment (venv\Scripts\activate.bat)
  • install requirements

  • enter command: pip install -r requirements.txt
  • install bpapi > python -m pip install --index-url=https://bcms.bloomberg.com/pip/simple

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.70.tar.gz (29.2 kB view hashes)

Uploaded Source

Built Distribution

shareddata-0.0.70-py3-none-any.whl (34.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page