Skip to content

Commit ec1e54e

Browse files
authored
Merge pull request #133 from DomainTools/2.0.0
Python Wrapper Release 2.0.0
2 parents 6c65f05 + 96cc5c1 commit ec1e54e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+72196
-32995
lines changed

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Tests
44

55
jobs:
66
test:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-20.04
88
strategy:
99
matrix:
1010
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ pyvenv.cfg
6969
share/
7070
venv/
7171
.python-version
72+
__pycache__
7273

7374
# Cython
7475
*.c

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
### 2.0.0
4+
- [NEW] Modernize package - migrate package settings to pyproject.toml
5+
- [NEW] Migrate CLI wrapper to use `typer` library. (CLI comes now with new interface.)
6+
- [NEW] Add support for making `api_url` and `api_port` configurable.
7+
- [NEW] Add `--source-file` or `-s` cli parameter in `iris_investigate` and `iris_enrich` command to support file input instead of long comma-separated domains when typing the domains. Max of **100** domains in a single file.
8+
- [NEW] Add output filtering in `iris_investigate` and `iris_enrich` function in API wrapper (see sample code in `examples/iris_investigate_filter_output.py` folder). Changes includes the ff:
9+
- Filtering of results "**>=**" to a given `risk_score`.
10+
- Filtering of results based on `expiration_date` field. (`younger_than_date`, `older_than_date`)
11+
- Filtering of results based on `updated_after` field.
12+
- Filtering of results based on a missing field. (include_domains_with_missing_field` or `exclude_domains_with_missing_field`).
13+
- [NEW] Add support on removing/stripping colon in when passing a value in `--ssl_hash` in `iris_investigate` cli command.
14+
- [UPDATE] replace use of upcoming deprecated `datetime.uctnow()` to `timezone.utc`
15+
- [UPDATE] Improve help text in CLI commands.
16+
- [UPDATE] Remove `dateparser` dependency and use native python `datetime` library.
17+
- [FIX] Fix error in `-o` or `--out-file` parameter.
18+
19+
320
### 1.0.1
421

522
- Adds support for the hourly query limit on the Account API endpoint

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.0.0

domaintools/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""DomainTools Official Python API"""
2+
23
from domaintools._version import current
34
from domaintools.api import API
45

domaintools/_version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@
1919
OTHER DEALINGS IN THE SOFTWARE.
2020
2121
"""
22-
current = "1.0.1"
22+
23+
current = "2.0.0"

0 commit comments

Comments
 (0)