Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/badr-moufad/test-python-repo
Basic steps to clone a python repo and execute its code
https://github.com/badr-moufad/test-python-repo
clone-repo environment python template
Last synced: 15 days ago
JSON representation
Basic steps to clone a python repo and execute its code
- Host: GitHub
- URL: https://github.com/badr-moufad/test-python-repo
- Owner: Badr-MOUFAD
- Created: 2021-06-24T09:15:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-19T18:16:43.000Z (about 1 year ago)
- Last Synced: 2024-12-07T17:47:07.275Z (15 days ago)
- Topics: clone-repo, environment, python, template
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This is a test python repo
Objective is to **Clone a python repo and execute its code**.
# Steps
1. clone repository`git clone https://github.com/Badr-MOUFAD/test-git-remote-repo`
2. create a virtual environment where to install python package instead of installing them globally
`py -m venv venv`
3. activate the virtual environment
`.\venv\Script\activate`
4. install repo packages
`pip install -r requirement.txt`
# Execute script
Et Voilà! you can run python script
`py .\m_pack\script_1.py`