Dependencies#
camply
is compatible with any Python version >= 3.8
. Here are the current dependencies:
- click
- The
click
package is used to leverage it's simple Command Line Interface API for camply
- The
- requests
- The
requests
package is used to fetch data from the APIs of Camping Booking Providers.
- The
- pandas
- The
pandas
package is to group and aggregate across large data sets of campsites, campgrounds, and recreation areas.
- The
- tenacity
- The
tenacity
package is used for retrying data searches on the underlying campsite APIs. This retrying methodology handles exceptions allowing for API downtime and facilitating exponential backoff.
- The
- rich
- Colorizing the CLI (also using rich-click to
colorize
click
)
- Colorizing the CLI (also using rich-click to
colorize
- python-dotenv
- The
python-dotenv
package reads key-value pairs from a.env
file and can set them as environment variables - this helps with the.camply
configuration file.
- The
- pydantic
- The
pydantic
package performs data validation against API responses and assists with fancy data containers forcamply
objects.
- The
- PyYAML
- PyYAML is a YAML parsing library - this helps with the YAML file campsite searches.
- ratelimit
- The
ratelimit
package is used for limiting the frequency of our API calls to external APIs so we can be good partners to our friends who run the campsite booking services.
- The
- fake-useragent
fake-useragent
makes it easy for us to mock the latest browsers when interacting with certain API providers.