Ncflag

Latest version: v0.3.2

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

Scan your dependencies

Page 1 of 2

0.3.2

- use long_description_content_type="text/markdown" in setup.py
- unpin click dep, tested with latest 8.1.3

0.3.1

- `ignore_missing` option on `get_flag` to bitwise and flag meanings, but not raise exception if a
meaning is missing from the flag.

0.3.0

- New method: `FlagWrap.is_valid_meaning` for convenience.
- Change reduce method to exclude _entire_ flag vectors (all bits) from reduction if any bits in
the exclude_mask are set.
- Make FlagWrap.flag_meanings "public" (prev. FlagWrap._flag_meanings)
- Adds name attribute, available from init as kwarg, for misc use.
- Drops support for Python 2.7

0.2.6

- Bug fix: cli: fix `--show_flags` option not working for Python 3

0.2.5

- cli: Support Python 3 by removing relative import.
- setup.py move to `convert_file` from deprecated pypandoc `convert`
- Adds shape, fill shortcuts for `init_from_netcdf`
- Persist internal reference to netcdf object for convenience in `write_to_netcdf`.

0.2.0

- netcdf agnostic, just need flag_meanings, flag_values, and optionally
flag_masks.
- Previous FlagWrap(netcdf.Variable) construction should be replaced with
FlagWrap.init_from_netcdf(netcdf.Variable) class method to conveniently
construct from FlagWrap.
- Confusing sync method removed. Replaced with interface:
FlagWrap.write_to_netcdf(netcdf.Variable).
- Fixed bug in setting mutually exclusive flag_meanings.
- Added comprehensive testing.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.