Yabadaba

Latest version: v0.2.2

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

Scan your dependencies

Page 1 of 2

0.2.2

- A count_records() method added to all Database styles that gives a count of
all matching records.
- CDCSDatabase add_record() and update_record() have additional parameter
auto_set_pid_off that turns off the auto_set_pid setting when uploading new
record contents to avoid URL assignment issues.
- Bug fix with UnitConverter when setting working units with an energy value.
- Bug fix with get_tar() that now correctly returns tar contents.
- Depreciation fixes for IPython and pandas.
- Typing should be added to all method headers.

0.2.1

- Query objects now have a "parameter_type" attribute to indicate what type
of value should be given to the associated Python method parameter. The
query doc string methods now include this information.
- A database parameter has been added to the Records allowing for any record
object to have a default database to fetch additional content from. This
allows for more interactive methods to be developed. The database value
is automatically set to a record when using database.get_record operations.
NOTE: This may require Record subclasses to add database to their init
methods.
- Base Record now has a tar attribute that provides an open TarFile object for
the record's associated tar archive. When first accessed, this will use the
database to retrieve the tar contents. Subsequent calls then interact with
the already downloaded content.
- Base Record also has a new get_file() method that retrieves a file from the
record's associated tar file simply by giving the file name. This builds on
the tar attribute above, so getting files in this way is both convenient and
efficient.

0.2.0

- UnitConverter class added in as part of the project. Necessary to handle
unit conversions from records that store values with units.
- Query operations now fully managed by Query objects rather than functions.
- Mongo query builders should work for more general cases now.
- FloatMatchQuery added for comparing float values with/without units and
within a tolerance.
- Methods added to both record and database objects to view query docs.

0.1.3

- This version fixes a critical bug associated with function parameter order with calls to load_record.
- tqdm progress bars now added to certain methods.
- Starting to add more utility methods to the Database classes to help with large numbers of records. Unfortunately, this is also resulting in some divergence as these useful methods are not implemented in all database styles yet.

0.1.2

Minor updates, plus some typing hints added to the code. Also, tests have been added for some parts but not all.

0.1.1

Bug fix

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.