Gcamreader

Latest version: v1.4.0

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

Scan your dependencies

Page 1 of 2

1.4.0

What's Changed
* Add query multiprocessing by publicmatt in https://github.com/JGCRI/gcamreader/pull/35


**Full Changelog**: https://github.com/JGCRI/gcamreader/compare/v1.3.1...v1.4.0

1.3.1

Bug fixes from v1.3.0 to include:

- https://github.com/JGCRI/gcamreader/pull/34
- https://github.com/JGCRI/gcamreader/pull/37

1.3.0

🥳 A new CLI was introduced by publicmatt enabling the following:

`python3 -m gcamreader -d /path/to/database -q /path/to/query.xml -o /path/to/output`

This will run `query.xml` against `database` and output a .csv file for each query in the batch to `output/*.csv`

By default, the cli works with a local database, but a similar command for remote is also available:

`python3 -m gcamreader remote --username admin --hostname localhost -d database_basex_[...] -q /path/to/query.xml -o /path/to/output`

By default, the password flag can be left off, in which case, the user will be prompted for one. Additionally, the port number defaults to 8984, which is similar to the source.

Additionally, help docs can be accessed with:


> python3 -m gcamreader --help

Usage: python -m gcamreader [OPTIONS] COMMAND [ARGS]...

Run queries against a gcam scenario database.

Saves outputs as .csv

Documentation: https://github.com/JGCRI/gcamreader/

Options:
--version Show the version and exit.
--help Show this message and exit.

Commands:
local* query gcam scenario databases
remote query a remote server containing gcam scenario databases


And version number can be viewed as well:


> python3 -m gcamreader --version
python -m gcamreader, version 1.2.6


This commit adds the following dependencies for the cli functionality:

- click
- click-default-group-wheel

1.2.6

Bug fix affecting any results in which "vintaged" technologies are queried when there are collapsed technologies in the structure. This causes a need to aggregate to remove duplicity.

Corresponding issue: 26
Corresponding PR: 27

1.2.5

Bug fix for old path name error to the model interface jar.

1.2.4

Changes:

- name change to `gcamreader`
- now installable from PyPi via `pip install gcamreader`
- changed Travis CI to GitHub actions
- updated README with actions build, codecov, zenodo

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.