Skip to main content

This is a 3TL module for pipeline creation

Project description

### Step class ### The Step class consists of common functions that can be inherited by other classes : setTaskID, setUUID, setTaskExecutionID ,startRedisConn ,setLogger ,loadParams ,connectToAPIForKey , create and GetResponseFromURL, getLogger, exceptionTraceback, getRelativeFile.

### Extract class### The extract class includes an init method that sets all Parameters and log files, as well as a superclass startup that can be defined from the client extract.

### ML class ### The ML class is made up of an init method that sets all parameters and the log file, as well as a startMLSubscriber method that subscribes to incoming data.

### Transform class ### The Transform class has an init method that sets all Parameters and the log file. a startTRSubscriber method that subscribes to incoming data.

### Load Class ### Load class consists of an init method that sets all parameters and the log file, load subscribers to subscribe to incoming data from Redis queue, and client logic; to load final data, it needs to be added to the client load file;

### Connectors Added ### AzBlob Read (Azure Blob)Â Using this connector, you can read files from AzBlob. For an Azure Blob Read connection ,create a source folder inside params, and add spec.json with connection configs.

AzBlob Write (Azure Blob) Using this connector, you can write a file to an AzBlob. For an Azure Blob Write connection, create a destination folder inside params, and add spec.json with connection configs.

SFTP Read This connector is used to read files from an SFTP server. For an SFTP connection, create a source folder inside params and add spec.json with connection configs.

SFTP Write Using this connector, you can read files to an SFTP server for an SFTP write connection, Create a destination folder inside params and add spec.json with connection configs.

Postgres Read This is the Source connector for PostgreSQL databases using SQLAlchemy, It includes the check() method, which validates the connection to the Postgres database. The read() method takes an optional query parameter and executes the query on the connected database. discover(): This discover() function is used to discover the tables in the database.

Postgres Write Using this connector, you can read files into a Postgres database, consisting of check(), read() In addition to this, it contains the create_table() function that is used to create a new table in the database. It compiles the table object provided into a SQL; the alter_table() function is used to alter a table in the database, and the write() function is used to write data to the database. It takes in the table object and a list of dictionaries.

IPFS source You can use this connector to read file from any IPFS http url. This connector includes a check() function for validating the connection and a read() function for returning data in bytes format.

IPFS destination This connector helps you upload any file to a custom IPFS node. The write() function in this connector uses file and target location as input and will return JSON consisting of contentId, name, and size of the file.

License-File: LICENSE.txt

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

libsnew-0.1.3.tar.gz (24.2 kB view details)

Uploaded Source

File details

Details for the file libsnew-0.1.3.tar.gz.

File metadata

  • Download URL: libsnew-0.1.3.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for libsnew-0.1.3.tar.gz
Algorithm Hash digest
SHA256 98ebcba5c4089c44cede23c5ea6fabba026bf60d1a13e33f4ae0f260cf5735f5
MD5 a98a69fadc2fdf6ca77715063c61e7ea
BLAKE2b-256 7d57aced0424254b2803dd17f5e8c9e982f23c14850e9d4a183f51ae480e8034

See more details on using hashes here.

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