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.3.0.tar.gz
(191.5 kB
view details)
Built Distribution
pacer_builder-0.3.0-py3-none-any.whl
(214.4 kB
view details)
File details
Details for the file pacer_builder-0.3.0.tar.gz
.
File metadata
- Download URL: pacer_builder-0.3.0.tar.gz
- Upload date:
- Size: 191.5 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 | e4e54df863b4fe5083c454b70a1b1e4ecafa1c99808be77c234c3a7eb474aedd |
|
MD5 | 04533b73bc02c61862e00935c964db1c |
|
BLAKE2b-256 | 60fa1bb408c594e7747db451861b7370d0b4c0daeb5a29fe166e4cde47518d26 |
File details
Details for the file pacer_builder-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pacer_builder-0.3.0-py3-none-any.whl
- Upload date:
- Size: 214.4 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 | 16db9d56bfdc4c6471919042c87d15b0c790c009f0af89ee3467ad3156109a15 |
|
MD5 | e43ed808f1db90eeed6575a6332b23ce |
|
BLAKE2b-256 | 0534cb6cec541d81f8ea8024345020b5158c4dcd7793b3a66eff63bde27b75e3 |