Skip to main content

# Data Engine

Data Engine is a general purpose python package for data engineering that leverages python, pandas, Apache Spark, and public cloud services.

[![codecov](https://codecov.io/gh/leealessandrini/dataengine/branch/main/graph/badge.svg)](https://codecov.io/gh/leealessandrini/dataengine)

## Usage Guide

### Installing the Package

To use dataengine, you can install it directly from PyPI:

`bash pip install dataengine `

### Adding to Your Project’s Requirements

If you want to include dataengine as a dependency for your project, add it to your requirements.txt file:

`bash dataengine `

Then, install the updated requirements:

`bash pip install -r requirements.txt `

Once installed, you can start using dataengine in your Python scripts or applications.

### How to use the package

In dataengine the primary class that will drive everything is the Engine class. For each instance of Engine you can specify the different subclasses through a configuration file or files. The different subclasses include the Database, Dataset, and Query classes.

  • An instance of Database defines a single database you will interact with

  • An instance of Dataset defines where to load data from using Apache spark (it can be locally or in s3)

  • An instance of Query defines what datasets are input dependencies, what the SQL statments you would like to run are, where the output of the query will be saved, and if the result should be inserted into a database along with custom parameters for each

TODO: Add explicit example here.

## Development

In order to contribute to the project follow the following instructions.

### Setup Instructions

The following steps will help you clone the repository and setup your environment.

  1. Clone the repository:

`bash git clone https://github.com/leealessandrini/dataengine.git cd dataengine `

  1. Create and activate a virtual environment:

`bash python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate `

  1. Install the required dependencies:

`bash pip install -r requirements.txt `

You’re now ready to start contributing the project!

### Contribution Guide

  1. Create or check out a new branch:

`bash git checkout -b your-feature-branch ` Replace your-feature-branch with a descriptive name for your branch.

  1. Make changes to the code and stage the changes:

`bash git add . `

  1. Commit your changes with a meaningful message:

`bash git commit -m "Add a concise description of your changes" `

  1. Push your branch to the remote repository:

`bash git push origin your-feature-branch `

  1. Create a pull request:

  • Go to your repository on GitHub.

  • Navigate to the “Pull Requests” tab.

  • Click “New Pull Request” and select your branch to merge with the main branch.

  • Add a descriptive title and details about your changes, then submit the pull request.

  1. Merge the pull request (once reviewed and approved):

  • If you have the required permissions, merge the pull request.

  • Otherwise, wait for a project maintainer to review and merge it.

Congratulations! 🎉 You’ve successfully contributed to the project!

Metadata

Release files for dataengine 0.0.92

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

Source distribution (sdist)

Source distribution for dataengine 0.0.92
File Size Uploaded
dataengine-0.0.92.tar.gz 173.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dataengine 0.0.92
File Interpreter ABI Platform
dataengine-0.0.92-py3-none-any.whl Python 3 none any Details

Total release size: 353.8 kB

Release files / dataengine-0.0.92.tar.gz

Download URL dataengine-0.0.92.tar.gz
Size 173.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1d28293665000f6a6a0b66c6d815f0be1c0472fcc93f4ecfff17c5f0c79fcce9
BLAKE2b-256 checksum
How to use checksums
c640b7716307df69e973dd25639098e46c38d870433dc57f69a094128efd0802
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / dataengine-0.0.92-py3-none-any.whl

Download URL dataengine-0.0.92-py3-none-any.whl
Size 180.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b52ea3d56509d8a69d34b641ee8bca7ee6eaa90b8e569925fcd7f6e6de0d1df8
BLAKE2b-256 checksum
How to use checksums
b0bd5481a1bc9a56a81fd9e68395f4b95ed787fd75c81d5a059883d6b8e3b53e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.0.92 This release

2 release files

0.0.87

2 release files

0.0.86

2 release files

0.0.85

2 release files

0.0.84

2 release files

0.0.83

2 release files

0.0.82

2 release files

0.0.81

2 release files

0.0.80

2 release files

0.0.79

2 release files

0.0.78

2 release files

0.0.77

2 release files

0.0.73

2 release files

0.0.72

2 release files

0.0.71

2 release files

0.0.70

2 release files

0.0.69

2 release files

0.0.68

2 release files

0.0.67

2 release files

0.0.62

2 release files

0.0.61

2 release files

0.0.60

2 release files

0.0.59

2 release files

0.0.58

2 release files

0.0.57

2 release files

0.0.56

2 release files

0.0.55

2 release files

0.0.54

2 release files

0.0.49

2 release files

0.0.48

2 release files

0.0.47

2 release files

0.0.46

2 release files

0.0.45

2 release files

0.0.42

2 release files

0.0.41

2 release files

0.0.40

2 release files

0.0.39

2 release files

0.0.34

2 release files

0.0.29

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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