Skip to main content

while learning mlops I created this python package for connecting with database.

Project description

requirements_dev.txt we use for the testing

It makes it easier to install and manage dependencies for development and testing, separate from the dependencies required for production.

difference between requirements_dev.txt and requirements.txt

requirements.txt is used to specify the dependencies required to run the production code of a Python project, while requirements_dev.txt is used to specify the dependencies required for development and testing purposes.

tox.ini

We use if for the testing in the python package testing against different version of the python

how tox works tox enviornment creation

  1. Install depedencies and packages
  2. Run commands
  3. Its a combination of the (virtualenvwrapper and makefile)
  4. It creates a .tox

pyproject.toml

it is being used for configuration the python project it is a alternative of the setup.cfg file. its containts configuration related to the build system such as the build tool used package name version author license and dependencies

setup.cfg

In summary, setup.cfg is used by setuptools to configure the packaging and installation of a Python projec

Testing python application

types of testing

  1. Automated testing
  2. Manual testing

Mode of testing

  1. Unit testing
  2. Integration tests

Testing frameworks

  1. pytest
  2. unittest
  3. robotframework
  4. selenium
  5. behave
  6. doctest

check with the code style formatting and syntax(coding standard)

  1. pylint
  2. flake8(it is best because it containt 3 library pylint pycodestyle mccabe)
  3. pycodestyle

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

dbautomater-0.0.6.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbautomater-0.0.6-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file dbautomater-0.0.6.tar.gz.

File metadata

  • Download URL: dbautomater-0.0.6.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for dbautomater-0.0.6.tar.gz
Algorithm Hash digest
SHA256 73a47ffbf7cb43a38ce601b628ba9eb2137ab76ecd7b7c32450d288db3768886
MD5 d8cfdcdfab4b6d3d4788c341389d61c0
BLAKE2b-256 0adb8c140e6b663d47fa747f6d0be749020823e2ec3b9b0e1704fd3a18cb420b

See more details on using hashes here.

File details

Details for the file dbautomater-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: dbautomater-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for dbautomater-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c54193e33311d08593ba70cd3d8339cfb941d7e06eed51ed1962d132e3683414
MD5 10868086cc8dbe83278d4ac84aadddd4
BLAKE2b-256 d0bc1ec07daa69480bb77b4d1bbe547d138d113ee1d03759e5247c34ae51aa6a

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