Skip to content

Commit b3e81c2

Browse files
committed
Update README with install extras for trie and test dependencies
https://claude.ai/code/session_01M3wRX9tnmc4qorVWRjmqTZ
1 parent 73718ae commit b3e81c2

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ Install the latest version of the cli with `pip`.
5757
pip install ipdata
5858
```
5959

60-
or `easy_install`
60+
To use the [IPTrie](#iptrie) data structure, install with the `trie` extra (requires a C compiler):
6161

6262
```bash
63-
easy_install ipdata
63+
pip install ipdata[trie]
6464
```
6565

6666
## Library Usage
@@ -580,6 +580,8 @@ IPTrie is a production-ready, type-safe trie for IP addresses and CIDR prefixes
580580
581581
### Quick Start
582582
583+
> **Note:** IPTrie requires the `trie` extra: `pip install ipdata[trie]`
584+
583585
```python
584586
from ipdata import IPTrie
585587
@@ -741,6 +743,12 @@ A list of possible errors is available at [Status Codes](https://docs.ipdata.co/
741743
742744
## Tests
743745
746+
Install test dependencies:
747+
748+
```shell
749+
pip install ipdata[test,trie]
750+
```
751+
744752
To run all tests
745753
746754
```shell

0 commit comments

Comments
 (0)