Skip to main content

SDF Converter

Project description

Steps to run script

  1. Install google-cloud-storage Python library with
pip install -r requirements.txt
  1. Create a config.json containing following three fields:
{
    "bucket_name": "sankir-storage-prospark",
    "input_path": "raw-retail-data/q1",
    "output_path": "processed-retail-data/"
}
  1. Set GOOGLE_APPLICATION_CREDENTIALS environment variable
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/creds.json
  1. Run the script with
python3 -m sdf /path/to/config.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sankir-sdf-0.0.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

sankir_sdf-0.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file sankir-sdf-0.0.2.tar.gz.

File metadata

  • Download URL: sankir-sdf-0.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3

File hashes

Hashes for sankir-sdf-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ca69068dd291bd8495ad046269fab6e2fe3e87b387dd66be3a661b50318b03cb
MD5 ba21ca565a1fedacadff17e1f3c41c00
BLAKE2b-256 e1c0688df8bd9bd80e040708884bf465d61ebda8c2f4c4b168f224fb64391b45

See more details on using hashes here.

File details

Details for the file sankir_sdf-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: sankir_sdf-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3

File hashes

Hashes for sankir_sdf-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b82b75552de4787a860330d937f8f03a56eb1bd66b8142d72355639cb5986c2
MD5 f1d1cacf20147af318e169e9ea8a3f11
BLAKE2b-256 d9a0239d4596a00b10fc24a018d720ead6f540a132c3171d67fe10b144451e77

See more details on using hashes here.

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