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
clenk
61c1e07433
Move codecov invocation from Tox to Travis
...
This avoids errors when running Tox locally.
Also display line numbers missing test coverage.
2017-06-01 17:00:22 -04:00
Greg Back
9dbde93031
Bump version: 0.1.0 → 0.2.0
2017-05-31 10:03:50 -05:00
Greg Back
33cc4caa36
Bump version: 0.0.1 → 0.1.0
2017-05-22 10:18:49 -05:00
clenk
cd815bfe84
Fix import order, add flake8-import-order plugin
...
to Tox
2017-04-24 18:29:56 -04:00
clenk
2e3dfe5d84
Add TimestampProperty
2017-04-11 12:10:55 -04:00
clenk
dd382520d6
Clean up code/comments
2017-04-10 10:18:54 -04:00
Greg Back
6761d1fdfc
Add required fields to Indicator.
2017-01-17 14:07:49 -08:00
Greg Back
86585d229e
Initial package files.
2017-01-17 08:54:39 -08:00