This package helps you to install all modules you need in your directory
Project description
Package installer
This package helps you to install all modules you need in your directory.
Installation
$ pip install python-module-installer
Sample Usage
from installer.install import ModuleInstaller
install = ModuleInstaller({})
install.install_modules(path_to_folder="absolute path to folder")
Instruction
1. Create file "install.py" in needed directory
2. Copy and paste code below
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"4. Past path into line 4 in install.py (install.install_modules(path_to_folder="absolute path to folder")).
4.1 Delete "\install.py" in path because it requires path to folder, not to file
For Contributors
Prepare development environment
- Install docker on your development machine
- 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/installer
docker run -d --name installer -e AUTH_TYPE=Basic -e USERNAME=alice -e PASSWORD=secret1234 -v conf:/usr/local/apache2/conf -p 8585:80 bytemark/installer
Code convention
Please check your code according PEP8 Style guides.
Run tests
- Check that installer container is started on your local machine
- 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:
- You code should be formatted according PEP8
- All tests should successfully pass
- Your changes shouldn't change previous default behaviour, exclude defects
- 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
File details
Details for the file python-module-installer-3.15.10.tar.gz
.
File metadata
- Download URL: python-module-installer-3.15.10.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b694dae51d6769aac65f8e385acc925b5df345be43fbfa3f5d992113cf0dbb72 |
|
MD5 | e96c97cd457dbecaced83ec7bb56e205 |
|
BLAKE2b-256 | 25548abddee0fc67b368557b1d26fa8a4ee08e24e2ffdfa3c1497008d5e85b68 |