Commit Graph

58 Commits (bafe699f3da189a550c847ce405587d5aa4e5b1a)

Author SHA1 Message Date
Chris Lenk ccf3b1a0fc
Merge pull request #480 from emmanvg/479-pagination-taxii-datastore
Support Pagination in TAXII DataStore
2021-03-15 09:33:42 -04:00
Emmanuelle Vargas-Gonzalez 34e9da805f move taxii2client dependency to 2.3.0 2021-03-12 16:31:28 -05:00
Chris Lenk 528d956f4a Specify lowest supported Python version 2021-02-18 20:49:47 -05:00
Chris Lenk b4a0a9ea10 Remove six dependency (backwards breaking)
We've already removed Python 2 from our test harness, but this removes
all python 2 compatibility code left in.
2021-02-18 12:38:35 -05:00
Emmanuelle Vargas-Gonzalez 0004ef1861 update Python build matrix 2021-01-14 14:39:46 -05:00
Michael Chisholm 241d253a29 Add a version restriction to the stix2-patterns dependency, to
ensure users aren't tripped up by old versions.
2020-08-17 13:49:19 -04:00
Emmanuelle Vargas-Gonzalez 2d64bc86bb
Update setup.py
Add version restriction to ensure reasonably updated dependency
2020-08-17 10:49:07 -04:00
Chris Lenk 457085a115
Merge pull request #377 from maxbachmann-forks/master
use rapidfuzz instead of fuzzywuzzy
2020-07-08 10:49:41 -04:00
Chris Lenk c92807a59a Restrict version of six library 2020-07-07 09:02:36 -04:00
Chris Lenk 41cfb4d382 Drop support for Python versions older than 3.5 2020-06-12 09:52:43 -04:00
Michael Chisholm 7955a41997 Drop python-dateutil as a dependency and switch to the builtin
datetime module for parsing timestamps.  Dateutil proved too
slow.
2020-05-20 15:06:53 -04:00
maxbachmann 9388a9820f
use rapidfuzz instead of fuzzywuzzy 2020-03-23 02:16:36 +01:00
Michael Chisholm 4aa69fa7c9 Add support for enforcing STIX 2.1 minimum precision requirement
on versioning timestamps.
2020-03-16 20:25:38 -04:00
Chris Lenk 6c0fba0e67 Add Python3.8 support, fix import
Uses try/catch to still support 2.7 too
2020-01-04 13:50:06 -05:00
Chris Lenk 62cd4fd33c Change string semantic comparison algorithm
Use `fuzzywuzzy`'s Token Sort Ratio instead of Jaro-Winkler.
2019-12-23 17:00:52 -05:00
Emmanuelle Vargas-Gonzalez 88b883c91d
Merge branch 'master' into semantic-equivalence 2019-09-23 23:20:42 -04:00
Emmanuelle Vargas-Gonzalez dc79a1f869 add docstrings for new public methods. add test with disabled spec_version check.
fix calculation for distance, using incorrect algorithm. update package settings, tox settings
2019-09-23 23:13:50 -04:00
Chris Lenk d4bbc80777 Fix package distribution
(don't include tests)
2019-08-12 15:57:25 -04:00
Chris Lenk 4fafdfecff Update readme check 2019-08-12 12:28:27 -04:00
Emmanuelle Vargas-Gonzalez 93aa709b68 write down some of the semantic-equivalence work. WIP 2019-07-26 16:01:45 -04:00
Emmanuelle Vargas-Gonzalez e365de3693 update setup.py information 2018-11-29 10:53:54 -05:00
Emmanuelle Vargas-Gonzalez f8a72b0937 Custom builder code updated for 3.7 support.
Updated properties to support more constrains.
Make all regexes literal strings.
Update tests to align to new constrains.
Workbench problem. _check_object_constraints() uses instance class to
perform proper class resolution calls.
2018-10-17 07:34:15 -04:00
Emmanuelle Vargas-Gonzalez b2ef77b322 Merge branch 'master' of github.com:oasis-open/cti-python-stix2 into stix2.1 2018-10-17 07:30:23 -04:00
Maciej Urbanski e80fb4f59a
python 3.7 support 2018-10-03 18:00:38 +02:00
Emmanuelle Vargas-Gonzalez 51a499cb33 Formatting changes made by the new pre-commit hook 'add trailing commas'
closes #189
2018-07-13 11:10:05 -04:00
Emmanuelle Vargas-Gonzalez 7fd379d0b5 Minor style changes.
Removed OrderedDict and update()... Also a lot of single quoting except for errors
2018-06-29 18:38:04 -04:00
Greg Back 3e159abd4d WIP: Merge branch 'master' into stix2.1 2018-05-23 10:43:52 -05:00
Emmanuelle Vargas-Gonzalez 470b3ec092 Update setup.py to include taxii2-client as an extra dependency 2018-04-02 09:25:26 -04:00
Emmanuelle Vargas-Gonzalez c518533275 Update stix2 setup configuration
# Remove taxii2-client as a requirement to install stix2
# Add taxii2-client to the Tox configuration instead
# Re-factor the version and description loading
2018-04-02 07:51:51 -04:00
Emmanuelle Vargas-Gonzalez 722d46c6c5 Merge branch 'master' of github.com:oasis-open/cti-python-stix2 into stix2.1 2017-12-08 09:36:59 -05:00
Greg Back c0669d7a5f Drop support for Python 3.3 2017-11-29 22:11:40 +00:00
Emmanuelle Vargas-Gonzalez f6f7d0aed8 Merge branch 'master' of github.com:oasis-open/cti-python-stix2 2017-11-02 07:48:37 -04:00
Emmanuelle Vargas-Gonzalez a17d770d34 Merge master 2017-11-01 14:17:41 -04:00
Emmanuelle Vargas-Gonzalez b9d25a8375 Add notebook docs, fix package distribution 2017-10-28 00:32:28 -04:00
Chris Lenk 4ffad6d34f Remove stix2-validator dependency
Fixes #94.
2017-10-27 16:01:51 -04:00
Chris Lenk 42962e6675 Improve markings tests
- Test markings functions with both dictionaries and our _STIXBase-derived
  classes as input.
- Slightly improve test coverage.
- Drop Python 2.6 support.
2017-09-01 16:41:16 -04:00
Emmanuelle Vargas-Gonzalez 415c53066f Code coverage changes, fix some tests. Add stix2-validator dependency. 2017-08-28 15:19:55 -04:00
Emmanuelle Vargas-Gonzalez d3f1eb86ab Update setup.py 2017-08-28 14:29:10 -04:00
Greg Back 69eb09c32b Merge remote-tracking branch 'origin/master' into datastores 2017-08-21 22:40:07 +00:00
Greg Back 4cd99f04ea Use version of taxii2-client from PyPI. 2017-08-21 22:16:23 +00:00
clenk d4edb8b0bc Validate patterns when creating Indicators 2017-08-18 14:22:57 -04:00
Emmanuelle Vargas-Gonzalez f67d34990c Style error. 2017-08-15 14:16:49 -04:00
Emmanuelle Vargas-Gonzalez a18804a195 Add ordereddict dependency for 2.6 support. Import change in utils.py 2017-08-15 14:12:21 -04:00
Emmanuelle Vargas-Gonzalez 15b5e107d5 Fix imports, sort requirements. 2017-08-15 13:54:16 -04:00
Emmanuelle Vargas-Gonzalez cb5c4ad080 Merge pull request #42 from oasis-open/bundles Parse bundles correctly 2017-08-14 15:21:58 -04:00
Emmanuelle Vargas-Gonzalez 4763695ad5 Add simplejson dependency. 2017-08-11 15:07:25 -04:00
Greg Back 750b408801 Avoid byte/str error on reading version file. 2017-07-19 22:17:48 +00:00
Greg Back 3420bb3493 Convert README to ReStructuredText 2017-07-19 22:04:54 +00:00
Greg Back fd74edc33b Update setup.py to match PyPA sampleproject 2017-07-19 21:51:07 +00:00
clenk 6f680be8a6 Add stix2.__version__ 2017-07-06 09:41:50 -04:00