-
Notifications
You must be signed in to change notification settings - Fork 0
Description
This library is currently in an early development phase, as highlighted in the README:
This allows us to experiment with the library, adding and removing breaking changes as we like without actually having to mark them as breaking changes just yet.
Before the first full v1.0.0 release and the removal of this disclaimer in the README, we should document a clear scope and structure for this library. The pros and cons of the different scopes and structures should be discussed before a final decision is made.
Example 1: Single package
This repository contains a single package (dataorc) with smaller modules that contain classes and functions for a specific scope, for example:
- A
configmodule that contains generic pipeline configuration classes and functions - A
databricksmodule that contains Databricks specific classes and functions - An
azuremodule that contains Azure specific classes and functions
Installation:
pip install dataorcImports:
from dataorc.config import CorePipelineConfig
from dataorc.azure import LoggerExample 2: Multiple packages
This repository contains multiple packages that contain modules for a specific scope, for example:
- A
dataorc-utilspackage that contains generic utility modules, for example theconfigmodule from example 1. - A
dataorc-loggingpackage that contains logging modules, for example anazuremodule that contains classes and functions for logging to Azure Log Analytics.
Each package will be a separate entry in pypi, adding some administrative overhead.
Installation:
pip install dataorc-utils dataorc-loggingImports:
from dataorc_utils.config import CorePipelineConfig
from dataorc_logging.azure import Logger