Fsf-api-access-python

Latest version: v2.3.6

Safety actively analyzes 642295 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

2.1.2

Bugfix for returned items not returning in the same order of input. This bug was re-introduced from 2.1.1.

Input: `[540225, 540226, 540227, 540228]`

Output: `[Object for 540225, Object for 540226, Object for 540227, Object for 540228]`

ie: The order of search_items for the input are the same as the output order of the Objects

2.1.1

- Add a Coroutine Limiter. This should prevent Timeout Errors due to the loop for large batches of data pulls. This should also improve the speed when the batch is large. The default is 100 coroutines.

Ex: `fs = firststreet.FirstStreet(api_key, connection_limit=500)`
Ex: `fs = firststreet.FirstStreet(api_key, connection_limit=1000)`

2.1.0

- Update the CSV conversion speed
- Ex: 20000 FSIDs for the probability depth product now take about 68 seconds instead of 1310 seconds

- Add explicit throttle parameters to the API initialization
- Ex: `fs = firststreet.FirstStreet(api_key, log=True, rate_limit=1, rate_period=1)` now runs 1 request per second
- Ex: `fs = firststreet.FirstStreet(api_key, log=True, rate_limit=20000, rate_period=3600)` runs 20000 request per hour

2.0.1

Bugfixes:
- Include certificate in request calls
- Fix Keyword Error when creating CSV using lat/lng or address
- Update output folder from `data_csv` to `output_data` (since tiles are also downloaded to the directory, and aren't CSVs)
- Minor text update to README

2.0.0

Note: In this and following releases, **Python 3.6 will no longer be supported** due to changes in the asynchronous call.

New Functionality:
- Added Tiles Product: Tile product for `Probability Depth` and `Historic Event` is now available
- Valid ID Field: Add a new column called `valid_id` that shows up if any input cannot be matched with a property

Bug Fixes:
- Error Handle Fix (Error 500): Error 500 should no longer cause the process to crash
- Output Order: Output from client and CSV from a product call is now ordered by the input
- Renamed Limit to Connection Limit: In the README and on the product calls, `Limit` is now called `Connection Limit` to remove the confusion of call limits
- File Header Fix: Files with headers should no longer error out
- Historic Location-Summary CSV Fix: Calling Historic Location-Summary with CSV should no longer crash

1.3.1

- Add geometry functionality. Geometry of adaptations, historic, and locations can now be seen in both the CSV and objects

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.