Asynchronous backend crawler framework
Project description
Asynchronous Backend Framework
Initial code pull and local environment deployment:
-
- git clone https://github.com/YSH0313/pacer.git
-
- Change the MYSQL address in settings.py to your own.
Operating environment
- Python3.7.2 and above
- Install dependencies in requirements.txt
Usage
- Use the pacer -p <project_name> command to create a project.
- Use production.py to create an app.
- The application directory contains the created app project.
- Write view functions in the created app.
- The urls.py under the app project is used to store corresponding views and routes.
Start the service
- Execute runner.py to start the service.
Start the service in production environment
- Docker can be used to start or other methods, docker startup is recommended.
- You can execute docker-compose up -d in the project root directory.
- The service can be restarted directly by executing reload_server.sh.
- Dockerfile and docker-compose.yml parameters can be adjusted as needed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pacer_builder-0.2.0.tar.gz
(31.3 kB
view details)
Built Distribution
File details
Details for the file pacer_builder-0.2.0.tar.gz
.
File metadata
- Download URL: pacer_builder-0.2.0.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.7.2 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26dc1905ac455e4f85224dca07785278dee125c39e35e885b2805e41c498391c |
|
MD5 | 1d4bbcc12163abb643b57a2116acd54a |
|
BLAKE2b-256 | 7b2a1f03657a401416ee09227be7d2e05542c38d8ea973ef372af2b7ff3d6993 |
File details
Details for the file pacer_builder-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pacer_builder-0.2.0-py3-none-any.whl
- Upload date:
- Size: 43.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.7.2 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17550dc96205422b936e1c7e9760e7d13139caabc3c6c2111e5a038b55938e12 |
|
MD5 | 9c3fb9a7809b27ca158fefda590d0fff |
|
BLAKE2b-256 | 23de67f115019338a2a1b1fc2a704fa77098a58769a475a53d9bb91104907259 |