Skip to main content

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.

Release files for ddeutil-extensions 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ddeutil-extensions 0.0.1
File Size Uploaded
ddeutil_extensions-0.0.1.tar.gz 27.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ddeutil-extensions 0.0.1
File Interpreter ABI Platform
ddeutil_extensions-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 62.0 kB

Release files / ddeutil_extensions-0.0.1.tar.gz

Download URL ddeutil_extensions-0.0.1.tar.gz
Size 27.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4664e54bf6525f5c9c936695fbfe67689113f970443f07d17178bd61e8bdd891
BLAKE2b-256 checksum
How to use checksums
e7db734915a5e60f1e835880090f5183fd60e0138027595baf8571e948a478ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 19, 2025.

Transparency log

Release files / ddeutil_extensions-0.0.1-py3-none-any.whl

Download URL ddeutil_extensions-0.0.1-py3-none-any.whl
Size 34.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27761e680edb2f252d03953465a82859bef39372f8b09b7a42a029870ea5850d
BLAKE2b-256 checksum
How to use checksums
6304cae98a6322a67348752e81b8984714e0ca92a1e88d6b787f2b3770453715
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 19, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page