Find the closest plum in San Francisco
Project description
SF_plum_finder
A program that finds the nearest plum trees to a given address in San Francisco
Installation
To install with pip, run:
pip install SF_plum_finder
Config
To use the plum finder, a config file must be generated in the working directory. This is generated automatically by running the program the first time.
Keys
Google maps: an appropriate google maps API key must be stored here
Settings
n: number of possible closest trees to be sent to gmaps; max = 25 usesql: not currently implemented performance_log: logs parameters regarding the performance and entered data for each call to find_closest_plum if yes or True
Usage
Cloned Repository:
CLI usage can be achieved by entering:
python src/SF_plum_finder [street address in San Francisco]
in the working directory.
As a module
Simple CLI use can be acheived through the following script:
'from SF_plum_finder import plum_finder
plum_finder.command_line_runner()'
Contribute
If you'd like to contribute to SF_plum_finder, check out https://github.com/zcook7904/plum_finder
Tree Locations
DataSF graciously hosts the entire data set of trees maintained by the Department of Public Works here: https://data.sfgov.org/City-Infrastructure/Street-Tree-List/tkzw-k3nqq
This data was filtered for plum trees on side walks for more manageable search and geolocations were added to trees with addresses that were missing them
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
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
File details
Details for the file SF_plum_finder-1.2.9.tar.gz.
File metadata
- Download URL: SF_plum_finder-1.2.9.tar.gz
- Upload date:
- Size: 5.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bade1c9b510112c2d8554888de3bdf8fb009a13ec012ee405427fa153ec09188
|
|
| MD5 |
b6a00d8cf3a0b3e7490ada2b54b7de07
|
|
| BLAKE2b-256 |
72eacc88592956f54a93927a089e8b8a2bf7ded682d4551f6118b629f997ee47
|
File details
Details for the file SF_plum_finder-1.2.9-py3-none-any.whl.
File metadata
- Download URL: SF_plum_finder-1.2.9-py3-none-any.whl
- Upload date:
- Size: 5.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e29eae167bafe7c85da9315359d8f92ad12641b0c7aca00018dba34001af07e
|
|
| MD5 |
af100075bddfb103a76e545d7c035776
|
|
| BLAKE2b-256 |
7694553991b22e928898c36607cfedfe8969d1d3c17dd15e23015bd00b0b4cc8
|