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.1.tar.gz
(197.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pacer_builder-0.3.1-py3-none-any.whl
(222.1 kB
view details)
File details
Details for the file pacer_builder-0.3.1.tar.gz.
File metadata
- Download URL: pacer_builder-0.3.1.tar.gz
- Upload date:
- Size: 197.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 |
c097a32d66982a08f6e56808a44789004b7d4c25e1bbb267a62b6bed719df80a
|
|
| MD5 |
38cf88333ea36101abcbdfbf13e9aa86
|
|
| BLAKE2b-256 |
542d7573a7d8770515a69907cd5215c207950666cb3fb2cf61be8ce01d1f88ed
|
File details
Details for the file pacer_builder-0.3.1-py3-none-any.whl.
File metadata
- Download URL: pacer_builder-0.3.1-py3-none-any.whl
- Upload date:
- Size: 222.1 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 |
798266ca5d8710dead61e634192c12df0641fbf0e5fc484ee00faaa8607e12ad
|
|
| MD5 |
81634f669933e8cd8a5fb86b8cdee545
|
|
| BLAKE2b-256 |
63d99e0033ebd1625558b25808b796bd1676a00f59c42b8330779952e7557658
|