# Califire Wildfires
Download wildfires data from Calfire
## Installation
```
pipenv install calfire-wildfires
```
## Command-line usage
```
Usage: calfirewildfires [OPTIONS] COMMAND [ARGS]...
A command-line interface for downloading wildfires data from CalFire.
Returns GeoJSON.
Options:
--help Show this message and exit.
Commands:
active-fires The latest active fires
all-fires Fires year-to-date, both active and contained
```
From the shell:
```
calfirewildfires all-fires
calfirewildfires active-fires
```
## Python usage
Import the library.
```
import calfire_wildfires
data = calfire_wildfires.get_all_fires()
data = calfire_wildfires.get_active_fires()
```
## Contributing
Install dependencies for development.
```
pipenv install --dev
```
Run tests.
```
pipenv run python test.py
```
## Developing the CLI
The command-line interface is implemented using Click and setuptools. To install it locally for development inside your virtual environment, run the following installation command, as prescribed by the Click documentation.
```
pipenv run pip install --editable .
```
### Links
* Docs: [palewi.re/docs/calfire-wildfires/](https://palewi.re/docs/calfire-wildfires/)
* Issues: [github.com/datadesk/calfire-wildfires/issues](https://github.com/datadesk/calfire-wildfires/issues)
* Packaging: [pypi.python.org/pypi/calfire-wildfires](https://pypi.python.org/pypi/calfire-wildfires)
* Testing: [github.com/datadesk/calfire-wildfires/actions](https://github.com/datadesk/calfire-wildfires/actions)
Raw data
{
"_id": null,
"home_page": "https://palewi.re/docs/calfire-wildfires/",
"name": "calfire-wildfires",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Ben Welsh",
"author_email": "b@palewi.re",
"download_url": "https://files.pythonhosted.org/packages/e6/2f/0a70ad30cfb31d10dae7b927b47b46e73f7cd943a46043ad4ae04107f717/calfire-wildfires-1.1.2.tar.gz",
"platform": null,
"description": "# Califire Wildfires\nDownload wildfires data from Calfire\n\n## Installation\n```\npipenv install calfire-wildfires\n```\n## Command-line usage\n\n```\nUsage: calfirewildfires [OPTIONS] COMMAND [ARGS]...\n\n A command-line interface for downloading wildfires data from CalFire.\n Returns GeoJSON.\n\nOptions:\n --help Show this message and exit.\n\nCommands:\n active-fires The latest active fires\n all-fires Fires year-to-date, both active and contained\n```\n\nFrom the shell:\n```\ncalfirewildfires all-fires\ncalfirewildfires active-fires\n```\n\n## Python usage\nImport the library.\n```\nimport calfire_wildfires\n\ndata = calfire_wildfires.get_all_fires()\ndata = calfire_wildfires.get_active_fires()\n```\n\n## Contributing\nInstall dependencies for development.\n```\npipenv install --dev\n```\n\nRun tests.\n```\npipenv run python test.py\n```\n\n## Developing the CLI\nThe command-line interface is implemented using Click and setuptools. To install it locally for development inside your virtual environment, run the following installation command, as prescribed by the Click documentation.\n```\npipenv run pip install --editable .\n```\n\n### Links\n\n* Docs: [palewi.re/docs/calfire-wildfires/](https://palewi.re/docs/calfire-wildfires/)\n* Issues: [github.com/datadesk/calfire-wildfires/issues](https://github.com/datadesk/calfire-wildfires/issues)\n* Packaging: [pypi.python.org/pypi/calfire-wildfires](https://pypi.python.org/pypi/calfire-wildfires)\n* Testing: [github.com/datadesk/calfire-wildfires/actions](https://github.com/datadesk/calfire-wildfires/actions)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Download wildfires data from CalFire",
"version": "1.1.2",
"project_urls": {
"Homepage": "https://palewi.re/docs/calfire-wildfires/",
"Maintainer": "https://github.com/datadesk",
"Source": "https://github.com/datadesk/calfire-wildfires",
"Tracker": "https://github.com/datadesk/calfire-wildfires/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c3364c906f56b7b55ae415dbf6431b4df49a3c5a64ff06378e6c557919de4d77",
"md5": "8ba9cfb9d8df3fcdca7bee11faf018ef",
"sha256": "485dd4e5f6004a96a4b762ae05a30b095d1f8951d452e480280c05242c0936a1"
},
"downloads": -1,
"filename": "calfire_wildfires-1.1.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "8ba9cfb9d8df3fcdca7bee11faf018ef",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 4135,
"upload_time": "2023-07-09T19:50:51",
"upload_time_iso_8601": "2023-07-09T19:50:51.330901Z",
"url": "https://files.pythonhosted.org/packages/c3/36/4c906f56b7b55ae415dbf6431b4df49a3c5a64ff06378e6c557919de4d77/calfire_wildfires-1.1.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e62f0a70ad30cfb31d10dae7b927b47b46e73f7cd943a46043ad4ae04107f717",
"md5": "bdb1041ae9a2d6f036f8aafd4a7bc815",
"sha256": "7f7c692d8a988da6991a9061a3876baf792c1789ef31b79dd5c1c6db918ed109"
},
"downloads": -1,
"filename": "calfire-wildfires-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "bdb1041ae9a2d6f036f8aafd4a7bc815",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 34921,
"upload_time": "2023-07-09T19:50:52",
"upload_time_iso_8601": "2023-07-09T19:50:52.747882Z",
"url": "https://files.pythonhosted.org/packages/e6/2f/0a70ad30cfb31d10dae7b927b47b46e73f7cd943a46043ad4ae04107f717/calfire-wildfires-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-09 19:50:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "datadesk",
"github_project": "calfire-wildfires",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "calfire-wildfires"
}