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:
-
- Classes:
- GcloudOperator()
- MysqlOperator()
- ElasticsearchOperator()
- RedshiftOperator()
- SnowflakeOperator()
- S3Operator()
- Main Functions:
- 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()
- Classes:
-
- Classes:
- RawDataFile()
- Classes:
-
- Main Functions:
- timeit()
- debug()
- Main Functions:
-
- Classes:
- FileOperator()
- FileDownloader()
- Main Functions:
- detect_path()
- detect_all_files()
- write_df_to_json_parallel()
- download_excel()
- download_csv()
- download_pdf()
- download_zip()
- Classes:
-
- Main Functions:
- strip_all_text_column()
- check_na()
- check_duplication()
- check_quality_table_names()
- normalize_date_column()
- detect_aws_type()
- Main Functions:
-
- Main Functions:
- convert_to_snowflake_syntax()
- correct_sql_system_variables_syntax()
- Main Functions:
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.
This git repository has an automated CI/CD process found on the git worflow: main.yml. It means that once all modifications have been made, a Pull Request to main will trigger a serie of actions:
- Install Package:
poetry install - Run Unitary Tests:
poetry run pytest -v tests/ --cov=rcd_dev_kit --cov-report=xml - Build Package:
poetry build - Publish Package in PyPI:
poetry publish - Install Package from PyPI:
pip install rcd_dev_kit - Send a Teams message with the new available version: Git Image
toko-bifrost/ms-teams-deploy-card@master.
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.
/ Top contributors
/ Recent activity 
Metadata
Release files for tekkare-dev-kit 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tekkare_dev_kit-2.4.0.tar.gz | 65.3 kB | Without provenance | Details for tekkare_dev_kit-2.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tekkare_dev_kit-2.4.0-py3-none-any.whl | Python 3 | none | any | Details for tekkare_dev_kit-2.4.0-py3-none-any.whl |
Total release size: 142.0 kB
Release files / tekkare_dev_kit-2.4.0.tar.gz
| Download URL | tekkare_dev_kit-2.4.0.tar.gz |
|---|---|
| Size | 65.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
787b5d608b511d1f43c02ffe6c18cb884621cc406844ed021c5bff94db88fd98
|
|
BLAKE2b-256 checksum How to use checksums |
5866d21d6b986e662d00bf1511282657011f636af3f1d4aabc24bca8ecbffd0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / tekkare_dev_kit-2.4.0-py3-none-any.whl
| Download URL | tekkare_dev_kit-2.4.0-py3-none-any.whl |
|---|---|
| Size | 76.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84bc8bcbf3898eb42f714a9794b49eb0c9e3f5eace4a554dc1e9530cec50cbeb
|
|
BLAKE2b-256 checksum How to use checksums |
834abb2e3f588540b76f074064bf4948018920dadf5b6b53debe973203bcbd4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for tekkare-dev-kit 2.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.