Interact with OIP ecosystem.
Project description
rcd_dev_kit
Developed by Real Consulting Data
Description
We've developed rcd-dev-kit
to facilitate the manipulation and interaction with the OIP ecosystem.
Installation
pip install rcd-dev-kit
Modules
We've divided our functions in four main modules:
-
- GcloudOperator()
- MysqlOperator()
- ElasticsearchOperator()
- RedshiftOperator()
- SnowflakeOperator()
- S3Operator()
- index_json_bulk()
- index_json()
- index_json_bulk_parallel()
- send_to_redshift()
- read_from_redshift()
- send_metadata_to_redshift()
- find_tables_by_column_name()
- migrate_metadata_from_redshift()
- upload_raw_s3()
- download_raw_s3()
- upload_to_gcloud()
- download_from_gcloud()
-
- RawDataFile()
-
- timeit()
- debug()
-
- FileOperator()
- detect_path()
- detect_all_files()
- write_df_to_json_parallel()
-
- strip_all_text_column()
- check_na()
- check_duplication()
- check_quality_table_names()
- normalize_date_column()
- detect_aws_type()
Pre-requirements
Since some of the functions deal with database connections(S3, Redshift, Snowflake, GCP, Elasticsearch, ...), we must
be careful to sensitive information. Thus, to use the functions correctly we must have a .env
file following
the .env.example
template.
Feedback
Any questions or suggestions? Please contact package maintainer.
python-sdk
Refer to book https://py-pkgs.org/01-introduction for best practices
Maintainers
This package is using poetry for pkg management, it must be installed locally if you are maintaining the package.
For developing and test the pkg locally, you must run poetry install
.
After all modifications have been developed, the new version can be published with the following commands:
Build Package: poetry build
Publish Package: poetry publish
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
rcd_dev_kit
was created by RCD. It is licensed under the terms of the MIT license.
Credits
rcd_dev_kit
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
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
Hashes for rcd_dev_kit-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d7e5bb66f6323185139f251caa5dfd5bcf597365632bd846309f9059ff4d7a1 |
|
MD5 | c1f5cbba94d1a1b9de5f52895af01188 |
|
BLAKE2b-256 | ce0588b587354460083070d069c0088ff101b035cce60be46a253264150c69cb |