Celus-pycounter

Latest version: v4.0.1

Safety actively analyzes 638730 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.13.0

Other

* Only pin lxml version on PyPy 2. [Geoffrey Spear]

* Only pin lxml version on PyPy. [Geoffrey Spear]

* Bump version since SUSHI API changes... [Geoffrey Spear]

* Add customer name to SUSHI. [Geoffrey Spear]

* Add requestor name to SUSHI requests; make it possible to specify name and email in the client. [Geoffrey Spear]

* Enables logging output in sushiclient; use a UUID for request ID. [Geoffrey Spear]

* Add "created" attribute to ReportRequest. Fix 30. [Geoffrey Spear]

* Suppress logging and warning output in unit tests... These are expected and there's no point in outputting them... [Geoffrey Spear]

0.12.0

Other

* Bump version for release. [Geoffrey Spear]

* Set title and platform attributes on CounterResource even if they're blank... [Geoffrey Spear]

* Order output reports by title. Fix 28. [Geoffrey Spear]

(Also correct missing line at EOF in last commit)

* Add a test of bad content in CSV, not just Excel (which does more magic conversion behind the scenes before it even hits our code...) [Geoffrey Spear]

* Style/refactor: rename some locals, adjust some docs, to make pycharm inspections happier... [Geoffrey Spear]

* Travis: wrong YAML syntax... [Geoffrey Spear]

* Travis: print coverage report into log (coveralls being down shouldn't make it impossible to view coverage on the web...) [Geoffrey Spear]

* Py2: checking for int objects isn't enough in py2, since these get converted as longs. Use six. [Geoffrey Spear]

* Be more accepting of Excel dates formatted as dates (instead of COUNTER-mandated date format strings), Weirdly formatted date strings, commas in data. [Geoffrey Spear]

( issue 15 )

* Fix typo in docstring. [Geoffrey Spear]

* Some tiny reformatting. [Geoffrey Spear]

* Update copyright dates. [Geoffrey Spear]

* Warning when fallback encoding is used... [Geoffrey Spear]

* Bump version since the API is changing with encoding stuff... [Geoffrey Spear]

* Fall back to 'latin-1' codec (or any specified encoding) when reading files. Fixes issue 26. [Geoffrey Spear]

* Py2: missed this hardcoded utf-8 instead of using self.encoding... [Geoffrey Spear]

* Allow encoding to be specified for separated files. See issue 26. [Geoffrey Spear]

* Fix typo. [Geoffrey Spear]

* Coverage: add SUSHI book with blank value for ISBN fields. [Geoffrey Spear]

* Remove mock that was added then never used. [Geoffrey Spear]

* Merge pull request 27 from chill17/publisher-fix. [Geoffrey Spear]

Removed if condition for setting self.publisher from CounterEresource

* Removed if condition for setting self.publisher from CounterEresource class. [Ed Hill]

ItemPublisher is listed in schema with minOccurs="0"
Not required for every field for valid Counter report
When if condition fails and self.publisher is not set various methods
such as CounterReport.write_tsv throw AttributeError exceptions because
they assume self.publisher.
Causes failure of writing and reading reports from some Counter compliant
vendors.

* Bump version for dev... [Geoffrey Spear]

* SUSHI book report: set ISBN from Online_ISBN field. Fix 25. [Geoffrey Spear]

0.11.1

Other

* Bump version for release. [Geoffrey Spear]

* Catch and ignore AttributeError when trying to iterate over SUSHI ItemIdentifier tags; possibly none will be present. Fix 24. [Geoffrey Spear]

* Add failing test for 24 (missing ItemIdentifiers causing error) [Geoffrey Spear]

0.11.0

Other

* Unpin openpxyl version; possibly pypy bug is fixed? (Issue on bitbucket looks closed, not 100% sure fix was released) [Geoffrey Spear]

* Update README to reflect that not only JR is supported by write_tsv (all report types supported for parsing can be output now); bump version for release. [Geoffrey Spear]

* Coverage: have a new file with 2-digit years since we dropped coverage by insisting BR2 did parse-export roundtrip correctly. [Geoffrey Spear]

* Add support for BR2 output. Fix 9. [Geoffrey Spear]

* Py2.6: no set literal syntax; just use a tuple, it's not slower for such a small test. [Geoffrey Spear]

* Add support for output of DB reports (DB1, DB2); fix some style issues. [Geoffrey Spear]

* Coverage: test file with multiple publishers and platforms (should bring us to 100% coverage) [Geoffrey Spear]

* Coverage: remove ISSNs from 1 SUSHI file to cover bit that deals with missing ISSNs. [Geoffrey Spear]

* Coverage: test creation of blank CounterJournal item. [Geoffrey Spear]

* If all publications have the same publisher, include the publisher name in the totals line. fix 23. [Geoffrey Spear]

* Use correct format for Platform report, even if it's bogus... [Geoffrey Spear]

* Pull report types for regex from constant instead of hardcoding. [Geoffrey Spear]

* Test valid but unsupported report type (Platform Report) [Geoffrey Spear]

* Remove some dead code; no idea if this actually ever did anything. [Geoffrey Spear]

* (coverage): don't cover line asserting it's unreachable. [Geoffrey Spear]

Test unknown file type raises exception.

* (coverage): check that extra blank lines at the end of a file doesn't trip up the parser. [Geoffrey Spear]

* Change some __str__ methods to __repr__ and skip checking coverage for them... [Geoffrey Spear]

* Whoops... this test passes on Windows because of case-insensitive file system; fails on Travis. [Geoffrey Spear]

* Flake8: missed newline at end of file :( [Geoffrey Spear]

* Add support for output of report BR1. [Geoffrey Spear]

* Move hardcoded header column cells to a constant. [Geoffrey Spear]

* Document missing sushiclient options; a bit more code quality stuff. [Geoffrey Spear]

* Tweak BR1 SUSHI response a bit to make it more book-like and for code coverage. [Geoffrey Spear]

* Test SUSHI for book reports (The report could... use some work. Just based it off the JR1 report, and it's probably largely invalid but the parser doesn't care) [Geoffrey Spear]

* More tests for the SUSHI client. [Geoffrey Spear]

* Python 2.6 doesn't have assertIn; skip coverage check for __name__ == "__main__" guard. [Geoffrey Spear]

* Add a simple test of the SUSHI client. [Geoffrey Spear]

0.10.1

Other

* Bump version for tiny test fix, and release this instead. [Geoffrey Spear]

* Python 2.6 doesn't have assertIsNone... [Geoffrey Spear]

0.10

Other

* Restore isbn attribute to CounterJournal and CounterDatabase objects; the attribute should consistently exist on CounterEresources even if it's None. Tag version for release. [Geoffrey Spear]

* Bump dev version number; move a private function to a public helper instead. [Geoffrey Spear]

* Flake8: some whitespace issues introduced in refactor. [Geoffrey Spear]

* Report bad report type earlier (doesn't make sense to do it within a loop over all the lines of the report.) [Geoffrey Spear]

Refactor parse_generic to reduce complexity, break things out into smaller functions. Fixes issue 20

* Enforce PEP8 import order. [Geoffrey Spear]

* Load version.py relative to setup.py. Fixes bug 19. [Geoffrey Spear]

* Delete pointless never-updated changelog file. [Geoffrey Spear]

* Pep8: missing newline. [Geoffrey Spear]

* Pep8: too many blank lines. [Geoffrey Spear]

* Move format_stat function to pycounter.helpers module. [Geoffrey Spear]

* Bump version for development. [Geoffrey Spear]

remove deprecated line argument to constructors; we no longer support passing a line of COUNTER 3-compatible data instead of parsed data.

remove pyisbn requirement that we apparently weren't using.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.