Skip to main content

RHDZMOTA Package

Project description

RHDZMOTA Package

Rodrigo H. Mota's personal python package that contains general tooling for facilitating the development of software engineering, data engineering, and machine learning projects.

Aren't toolbox packages usually heavy? One main concern of designing toolbox packages shared across projects is that the dependency set often becomes too heavy. This is specially true for data-related projects (e.g., installing pandas, request, tensorflow, sklearn, etc). To solve this issue, the rhdzmota package offers "package extensions" that can be installed by specifying their corresponding tags. This allows us to "split" the dependency set and functionality in sub-python packages; resulting in a lightweight and modular toolbox!

How can I install a package extension? You just need to specify their corresponing "extras-require" tag. Example:

$ pip install 'rhdzmota[ext.hello_world]'

All the package extensions tag will follow the pattern: ext.*

Are there any import patterns to consider? Yes, both the core package and the extensions share a common namespace: rhdzmota. The core package contains their modules directly at the first level (e.g., rhdzmota.*) and the extensions share an inner namespace (i.e., rhdzmota.ext) resulting in the following pattern: rhdzmota.ext.{{ext-slug}}).

The following example imports the Env enum from the settings module in the core package and the hello function from the hello_world extension.

from rhdzmota.settings import Env
from rhdzmota.ext.hello_world.functions import hello

...

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

rhdzmota-4.0.1.tar.gz (25.0 kB view details)

Uploaded Source

File details

Details for the file rhdzmota-4.0.1.tar.gz.

File metadata

  • Download URL: rhdzmota-4.0.1.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for rhdzmota-4.0.1.tar.gz
Algorithm Hash digest
SHA256 ee9fb93ea2d6ea7cf89700fb0c0d0a7959b083ac0951d858bd69e91df386323c
MD5 7d3341ee3523452dc66138925631a8c1
BLAKE2b-256 a3773e5e5f7b94e6f0a39b6af2eea20468b47a7fe019bc301900ccbbfd09d425

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page