Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix: added poetry extras to run examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeff07 committed Feb 10, 2022
1 parent fd18a7d commit f89d6f9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ digital transformation.
pip install ipfabric
```

To run examples please specify the extras option during install:
```
pip install ipfabric -E examples
```

## Introduction

Please take a look at [API Programmability - Part 1: The Basics](https://ipfabric.io/blog/api-programmability-part-1/)
Expand Down
20 changes: 10 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@ python-dateutil = "^2.8.2"
pydantic = "^1.8.2"
pytz = "^2021.3"
python-dotenv = "^0.19.2"
pandas = {version = "1.3.0", optional = true}
openpyxl = {version = "^3.0.9", optional = true}
tabulate = {version = "^0.8.9", optional = true}

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
flake8 = "^4.0.1"
python-semantic-release = "^7.23.0"
tabulate = {version = "^0.8.9", optional = true}
black = "^21.12b0"
pandas = {version = "1.3.0", optional = true}
openpyxl = {version = "^3.0.9", optional = true}


[tool.poetry.extras]
examples = ["tabulate", "pandas", "openpyxl"]
Expand Down

0 comments on commit f89d6f9

Please sign in to comment.