pybgpkit 0.5.1__tar.gz → 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pybgpkit
3
- Version: 0.5.1
3
+ Version: 0.6.0
4
4
  Summary: BGPKIT tools Python bindings
5
5
  Home-page: https://github.com/bgpkit/pybgpkit
6
6
  Author: Mingwei Zhang
@@ -8,8 +8,16 @@ Author-email: mingwei@bgpkit.com
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
10
  Requires-Dist: dataclasses_json
11
- Requires-Dist: pybgpkit-parser==0.5.1
11
+ Requires-Dist: pybgpkit-parser==0.6.0
12
12
  Requires-Dist: requests
13
+ Dynamic: author
14
+ Dynamic: author-email
15
+ Dynamic: description
16
+ Dynamic: description-content-type
17
+ Dynamic: home-page
18
+ Dynamic: license-file
19
+ Dynamic: requires-dist
20
+ Dynamic: summary
13
21
 
14
22
  # PyBGPKIT
15
23
 
@@ -36,7 +44,7 @@ assert count == 4227
36
44
 
37
45
  The `Parser` constructor takes the following parameters:
38
46
  - `url`: the URL or local file path toward an MRT file
39
- - `fitlers`: optional a dictionary of filters, available filters are:
47
+ - `filters`: optional a dictionary of filters, available filters are:
40
48
  - `origin_asn`: origin AS number
41
49
  - `prefix`: exact match prefix
42
50
  - `prefix_super`: exact prefix and its super prefixes
@@ -92,9 +100,9 @@ Available fields:
92
100
  - `api_url`: the base URL for the BGPKIT Broker instance. Default: `https://api.broker.bgpkit.com/v2`
93
101
  - `page_size`: the number of items per API call (no need to change it). Default: 100.
94
102
  - `query()`
95
- - `ts_start`: start timestamp for MRT file, UNIX timestamp format
96
- - `ts_end`: end timestamp for MRT file, UNIX timestamp format
97
- - `collector`: collector name, e.g. `rrc00` or `route-views2`
103
+ - `ts_start`: start timestamp for MRT file, UNIX timestamp or string format
104
+ - `ts_end`: end timestamp for MRT file, UNIX timestamp or string format
105
+ - `collector_id`: collector name, e.g. `rrc00` or `route-views2`
98
106
  - `data_type`: `rib` or `update`
99
107
 
100
108
  ### BGPKIT ROAS Lookup
@@ -23,7 +23,7 @@ assert count == 4227
23
23
 
24
24
  The `Parser` constructor takes the following parameters:
25
25
  - `url`: the URL or local file path toward an MRT file
26
- - `fitlers`: optional a dictionary of filters, available filters are:
26
+ - `filters`: optional a dictionary of filters, available filters are:
27
27
  - `origin_asn`: origin AS number
28
28
  - `prefix`: exact match prefix
29
29
  - `prefix_super`: exact prefix and its super prefixes
@@ -79,9 +79,9 @@ Available fields:
79
79
  - `api_url`: the base URL for the BGPKIT Broker instance. Default: `https://api.broker.bgpkit.com/v2`
80
80
  - `page_size`: the number of items per API call (no need to change it). Default: 100.
81
81
  - `query()`
82
- - `ts_start`: start timestamp for MRT file, UNIX timestamp format
83
- - `ts_end`: end timestamp for MRT file, UNIX timestamp format
84
- - `collector`: collector name, e.g. `rrc00` or `route-views2`
82
+ - `ts_start`: start timestamp for MRT file, UNIX timestamp or string format
83
+ - `ts_end`: end timestamp for MRT file, UNIX timestamp or string format
84
+ - `collector_id`: collector name, e.g. `rrc00` or `route-views2`
85
85
  - `data_type`: `rib` or `update`
86
86
 
87
87
  ### BGPKIT ROAS Lookup
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pybgpkit
3
- Version: 0.5.1
3
+ Version: 0.6.0
4
4
  Summary: BGPKIT tools Python bindings
5
5
  Home-page: https://github.com/bgpkit/pybgpkit
6
6
  Author: Mingwei Zhang
@@ -8,8 +8,16 @@ Author-email: mingwei@bgpkit.com
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
10
  Requires-Dist: dataclasses_json
11
- Requires-Dist: pybgpkit-parser==0.5.1
11
+ Requires-Dist: pybgpkit-parser==0.6.0
12
12
  Requires-Dist: requests
13
+ Dynamic: author
14
+ Dynamic: author-email
15
+ Dynamic: description
16
+ Dynamic: description-content-type
17
+ Dynamic: home-page
18
+ Dynamic: license-file
19
+ Dynamic: requires-dist
20
+ Dynamic: summary
13
21
 
14
22
  # PyBGPKIT
15
23
 
@@ -36,7 +44,7 @@ assert count == 4227
36
44
 
37
45
  The `Parser` constructor takes the following parameters:
38
46
  - `url`: the URL or local file path toward an MRT file
39
- - `fitlers`: optional a dictionary of filters, available filters are:
47
+ - `filters`: optional a dictionary of filters, available filters are:
40
48
  - `origin_asn`: origin AS number
41
49
  - `prefix`: exact match prefix
42
50
  - `prefix_super`: exact prefix and its super prefixes
@@ -92,9 +100,9 @@ Available fields:
92
100
  - `api_url`: the base URL for the BGPKIT Broker instance. Default: `https://api.broker.bgpkit.com/v2`
93
101
  - `page_size`: the number of items per API call (no need to change it). Default: 100.
94
102
  - `query()`
95
- - `ts_start`: start timestamp for MRT file, UNIX timestamp format
96
- - `ts_end`: end timestamp for MRT file, UNIX timestamp format
97
- - `collector`: collector name, e.g. `rrc00` or `route-views2`
103
+ - `ts_start`: start timestamp for MRT file, UNIX timestamp or string format
104
+ - `ts_end`: end timestamp for MRT file, UNIX timestamp or string format
105
+ - `collector_id`: collector name, e.g. `rrc00` or `route-views2`
98
106
  - `data_type`: `rib` or `update`
99
107
 
100
108
  ### BGPKIT ROAS Lookup
@@ -1,3 +1,3 @@
1
1
  dataclasses_json
2
- pybgpkit-parser==0.5.1
2
+ pybgpkit-parser==0.6.0
3
3
  requests
@@ -2,24 +2,25 @@ import setuptools
2
2
 
3
3
  # read the contents of your README file
4
4
  from pathlib import Path
5
+
5
6
  this_directory = Path(__file__).parent
6
7
  long_description = (this_directory / "README.md").read_text()
7
8
 
8
9
  setuptools.setup(
9
- name='pybgpkit',
10
- version='0.5.1',
11
- description='BGPKIT tools Python bindings',
12
- url='https://github.com/bgpkit/pybgpkit',
13
- author='Mingwei Zhang',
14
- author_email='mingwei@bgpkit.com',
10
+ name="pybgpkit",
11
+ version="0.6.0",
12
+ description="BGPKIT tools Python bindings",
13
+ url="https://github.com/bgpkit/pybgpkit",
14
+ author="Mingwei Zhang",
15
+ author_email="mingwei@bgpkit.com",
15
16
  packages=setuptools.find_packages(),
16
17
  include_package_data=True,
17
18
  long_description=long_description,
18
- long_description_content_type='text/markdown',
19
+ long_description_content_type="text/markdown",
19
20
  install_requires=[
20
21
  # available on pip
21
- 'dataclasses_json',
22
- 'pybgpkit-parser==0.5.1',
23
- 'requests',
24
- ]
22
+ "dataclasses_json",
23
+ "pybgpkit-parser==0.6.0",
24
+ "requests",
25
+ ],
25
26
  )
File without changes
File without changes
File without changes
File without changes
File without changes