Skip to main content

This package helps you to install all modules you need in your directory

Project description

Package installer

PyPI PyPI - Python Version
This package helps you to install all modules you need in your directory.

Installation

$ pip install python-module-requirements

Sample Usage

from requirements.install import ModuleInstaller

install = ModuleInstaller({})
install.install_modules(path_to_folder="absolute path to folder")

Instruction

1. Create file "install.py" in needed directory

alt text alt text

2. Copy and paste code below

alt_text

from intaller.install import ModuleInstaller

install = ModuleInstaller({})
install.install_modules(path_to_folder="absolute path to folder")

and press CTRL + S (Save file)

3. Get needed path to folder. Click right mouse button and click "Copy path"

alt_text

4. Past path into line 4 in install.py (install.install_modules(path_to_folder="absolute path to folder")).

alt_text

4.1 Delete "\install.py" in path because it requires path to folder, not to file

alt_text

Now save the file and run script! Script will install all requested frameworks.

For Contributors

Prepare development environment

  1. Install docker on your development machine
  2. Start server for testing by following commands from the project's root folder or change path to conf dir in second command to correct:
docker pull bytemark/requirements
docker run -d --name requirements -e AUTH_TYPE=Basic -e USERNAME=alice -e PASSWORD=secret1234 -v conf:/usr/local/apache2/conf -p 8585:80 bytemark/requirements

Code convention

Please check your code according PEP8 Style guides.

Run tests

  1. Check that installer container is started on your local machine
  2. Execute following command in the project's root folder:
python -m unittest discover -s tests

Prepare a Pull Request

Please use this check list before creating PR:

  1. You code should be formatted according PEP8
  2. All tests should successfully pass
  3. Your changes shouldn't change previous default behaviour, exclude defects
  4. All changes are covered by tests

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

python-requirements-3.15.6.tar.gz (22.1 kB view details)

Uploaded Source

File details

Details for the file python-requirements-3.15.6.tar.gz.

File metadata

  • Download URL: python-requirements-3.15.6.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for python-requirements-3.15.6.tar.gz
Algorithm Hash digest
SHA256 b3999e1e64d45de39d5552aa4feb811aed859143ee9cc30fedb9475b5e42aea3
MD5 d2d1d943d7feb1a7172daa7e3f861c1c
BLAKE2b-256 abb56db9701008778770ecefd8cbd0e8f50be253f89ea2a0e43b973917f7b3bf

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