Metadata-Version: 2.1
Name: Mongodb_JConnect
Version: 0.0.7
Summary: A python package for connecting with database.
Home-page: https://github.com/JostonSaldanha/mongodbpackage
Author: JostonSaldanha
Author-email: jostonsaldanha0@gmail.com
License: MIT
Project-URL: Bug Tracker, https://github.com/JostonSaldanha/mongodbpackage/issues
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Requires-Dist: pymongo
Requires-Dist: pymongo[srv]
Requires-Dist: dnspython
Requires-Dist: pandas
Requires-Dist: numpy
Requires-Dist: ensure
Requires-Dist: pytest
Provides-Extra: testing
Requires-Dist: pytest>=7.1.3; extra == "testing"
Requires-Dist: mypy>=0.971; extra == "testing"
Requires-Dist: flake8>=5.0.4; extra == "testing"
Requires-Dist: tox>=3.25.1; extra == "testing"
Requires-Dist: black>=22.8.0; extra == "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

[](https://github.com/JostonSaldanha/mongodbpackage/blob/main/README.md#difference-between-requirements_devtxt-and-requirementstxt)

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

[](https://github.com/JostonSaldanha/mongodbpackage/blob/main/README.md#toxini)

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

## how tox works tox enviornment creation

[](https://github.com/JostonSaldanha/mongodbpackage/blob/main/README.md#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

[](https://github.com/JostonSaldanha/mongodbpackage/blob/main/README.md#pyprojecttoml)

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

[](https://github.com/JostonSaldanha/mongodbpackage/blob/main/README.md#setupcfg)

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

# Testing python application

[](https://github.com/JostonSaldanha/mongodbpackage/blob/main/README.md#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)

[](https://github.com/JostonSaldanha/mongodbpackage/blob/main/README.md#check-with-the-code-style-formatting-and-syntaxcoding-standard)

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