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
Metadata
Release files for SF-plum-finder 1.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SF_plum_finder-1.2.9.tar.gz | 5.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SF_plum_finder-1.2.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 MB
Release files / SF_plum_finder-1.2.9.tar.gz
| Download URL | SF_plum_finder-1.2.9.tar.gz |
|---|---|
| Size | 5.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bade1c9b510112c2d8554888de3bdf8fb009a13ec012ee405427fa153ec09188
|
|
BLAKE2b-256 checksum How to use checksums |
72eacc88592956f54a93927a089e8b8a2bf7ded682d4551f6118b629f997ee47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.0
|
Release files / SF_plum_finder-1.2.9-py3-none-any.whl
| Download URL | SF_plum_finder-1.2.9-py3-none-any.whl |
|---|---|
| Size | 5.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e29eae167bafe7c85da9315359d8f92ad12641b0c7aca00018dba34001af07e
|
|
BLAKE2b-256 checksum How to use checksums |
7694553991b22e928898c36607cfedfe8969d1d3c17dd15e23015bd00b0b4cc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.0
|