https://github.com/robertdp/spacemaps-challenge
https://github.com/robertdp/spacemaps-challenge
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/robertdp/spacemaps-challenge
- Owner: robertdp
- License: bsd-3-clause
- Created: 2021-04-14T02:23:50.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-02T05:15:57.000Z (about 5 years ago)
- Last Synced: 2025-05-16T23:33:44.591Z (about 1 year ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spacemaps-challenge
This project is split into 3 small sections:
1. Command line parsing
2. Request streaming (over HTTP with gzip)
3. Results collection (using a size-limited priority queue)
There is minimal input validation or error recovery. The requirements are simple enough that these can be skipped here.
## Instructions
Build the Docker image using the tag `spacemaps-challenge`:
```sh
make build
```
Run the project on the sample input file:
```sh
make run
```
You can run it with custom arguments using:
```sh
docker run --rm spacemaps-challenge [source] [size of results]
```
See the Makefile for more details.