Dxtr Dagster Library
A Python library that provides utilities and components for data engineering workflows using Dagster. The library focuses on data processing capabilities including downloading data from Sharepoint, loading to PostgreSQL, and performing data transformations.
Project Structure
The library is organized into the following components:
dxtr/
├── dxtr/ # Main library package
│ ├── dagster/ # Dagster-specific components and resources
│ └── utils/ # Utility functions
├── pyproject.toml # Project configuration and dependencies
└── README.md # This file
Features
- Sharepoint data file downloading
- SQLAlchemy data loading
- Data transformation capabilities
- Integration with Dagster for workflow orchestration
Dependencies
The library requires Python 3.11.8 or higher and includes key dependencies such as:
- polars
- google-cloud-storage
- requests
- msal
- pandas
- sqlalchemy
- psycopg2-binary
- and more (see pyproject.toml for complete list)
Development
Installation
For development purposes, install the package in editable mode:
pip install -e ".[dev] --config-settings editable_mode=compat"
Please refer to the Wiki to usage of ./dxtrx.sh to setup the environment and start the Dagster code server a more convenient way of working with this code.
The library requires several environment variables to be set:
- Sharepoint credentials
- Database credentials
- Other configuration variables
Please refer to the Wiki for detailed setup instructions using ./dxtrx.sh to configure the environment and start the Dagster code server.
Contributing Guidelines
When contributing to this library:
- Follow the existing code structure and naming conventions
- Add new components in the appropriate directories
- Update documentation as needed
- Test changes locally
- Submit PRs with evidence of testing and team review
Running tests
To run the tests, use the following command:
pytest
Or you can also run them in watching mode:
ptw
Metadata
Release files for dxtrx 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dxtrx-0.0.8.tar.gz | 44.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dxtrx-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.3 kB
Release files / dxtrx-0.0.8.tar.gz
| Download URL | dxtrx-0.0.8.tar.gz |
|---|---|
| Size | 44.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c9d6acbb0dab5a0e6bcb7ae1490c5269ec8e5a1d244ea6eda1ef66647878a6f
|
|
BLAKE2b-256 checksum How to use checksums |
58dcd470c5a43ff804209dd092e3a01e220933120d74a3da1fb57fc29788a800
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / dxtrx-0.0.8-py3-none-any.whl
| Download URL | dxtrx-0.0.8-py3-none-any.whl |
|---|---|
| Size | 53.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c87c15e710080c34a6035c55c9158e79bf713d0ba4c12fd383e1093daf6b1c4
|
|
BLAKE2b-256 checksum How to use checksums |
bdab3093f6bff70c270303b837df211dd90dfeff9112eb1ad6bddfbec4fbfe8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|