Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pho9ubenaa/py-playground
https://github.com/pho9ubenaa/py-playground
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pho9ubenaa/py-playground
- Owner: pHo9UBenaA
- Created: 2023-11-10T09:57:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-20T06:52:34.000Z (17 days ago)
- Last Synced: 2025-01-20T07:36:21.883Z (17 days ago)
- Language: HTML
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# py-playground
This repository serves as a playground for learning and experimenting with Python. Follow the steps below to set up the environment and run sample scripts.
## Getting Started
### 1. Clone the Repository
```bash
git clone https://github.com/pHo9UBenaA/py-playground.git
cd py-playground
```### 2. Install Dependencies
```bash
pip install -r requirements.txt
```## Running Sample Scripts
The `scripts` directory contains sample Python scripts. You can run them using:
```bash
python scripts/your_script.py
```## Using Docker for Environment Setup
Alternatively, you can use Docker to set up the environment. Follow these steps:
### 1. Build the Docker Image
```bash
docker-compose build
```### 2. Start the Container
```bash
docker-compose up -d
```### 3. Access the Container
To execute scripts inside the container, enter the following command:
```bash
docker-compose exec python bash
```Once inside the container, you can run Python scripts as usual.
## License
This project is licensed under the MIT License. See the `LICENSE` file for more details.