Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
67 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
import logging | ||
import requests | ||
|
||
|
||
class API(): | ||
|
||
def __init__(self): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
# Street view image downloader | ||
# Image downloader | ||
|
||
This **consumes** from the `image_download_jobs` queue. downloads images from street | ||
view, saves the image to disk and **pushes** jobs to the `image_processing_jobs` | ||
queue. | ||
This **consumes** from the `image_download_jobs` queue. | ||
|
||
`downloader.py` is a template: Modify accordingly to download images from a | ||
remote source. | ||
|
||
For each downloaded image, the image is saved to disk and then **pushed** to | ||
the `image_processing_jobs` queue. | ||
|
||
This stage can be: | ||
* **long lived** - Blocking on `image_download_jobs` forever. | ||
* **concurrent** - Image download workers can consume/produce in parallel. | ||
* **distributed** - Image download workers can access job queues over a network. | ||
|
||
## Dependencies | ||
|
||
```bash | ||
sudo pip3 install requests | ||
``` | ||
* **distributed** - Image download workers can access job queues over a network. |
Oops, something went wrong.