Skip to main content

Extension functions and objects

Project description

Extensions

size gh license code style: black

An extensions functions and objects which provides all plug-ins and objects that use for data processing and transformation.

:round_pushpin: Installation

pip install -U ddeutil-extensions

:rocket: Features

This extensions package provides 3 main components:

  • Plug-in the extension tasks that use with the Workflow
  • Connection and Dataset interface objects
  • Schema models

Connection

The connection for worker able to do anything.

conn_postgres_data:
  type: conn.Postgres
  url: 'postgres//username:${ENV_PASS}@hostname:port/database?echo=True&time_out=10'
from ddeutil.extensions.conn import Conn

conn = Conn.from_loader(name='conn_postgres_data', externals={})
assert conn.ping()

Dataset

The dataset is defined any objects on the connection. This feature was implemented on /extensions because it has a lot of tools that can interact with any data systems in the data tool stacks.

ds_postgres_customer_tbl:
  type: dataset.PostgresTbl
  conn: 'conn_postgres_data'
  features:
    id: serial primary key
    name: varchar( 100 ) not null
from ddeutil.extensions.datasets.pg import PostgresTbl

dataset = PostgresTbl.from_loader(name='ds_postgres_customer_tbl', externals={})
assert dataset.exists()

:speech_balloon: Contribute

I do not think this project will go around the world because it has specific propose, and you can create by your coding without this project dependency for long term solution. So, on this time, you can open the GitHub issue on this project :raised_hands: for fix bug or request new feature if you want it.

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

ddeutil_extensions-0.0.1.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ddeutil_extensions-0.0.1-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file ddeutil_extensions-0.0.1.tar.gz.

File metadata

  • Download URL: ddeutil_extensions-0.0.1.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ddeutil_extensions-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4664e54bf6525f5c9c936695fbfe67689113f970443f07d17178bd61e8bdd891
MD5 f736832b820cdef5656486d25d96895e
BLAKE2b-256 e7db734915a5e60f1e835880090f5183fd60e0138027595baf8571e948a478ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for ddeutil_extensions-0.0.1.tar.gz:

Publisher: publish.yml on ddeutils/ddeutil-extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ddeutil_extensions-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ddeutil_extensions-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27761e680edb2f252d03953465a82859bef39372f8b09b7a42a029870ea5850d
MD5 df509fb10512a65630e7b134b209d40b
BLAKE2b-256 6304cae98a6322a67348752e81b8984714e0ca92a1e88d6b787f2b3770453715

See more details on using hashes here.

Provenance

The following attestation bundles were made for ddeutil_extensions-0.0.1-py3-none-any.whl:

Publisher: publish.yml on ddeutils/ddeutil-extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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