Hamsterlib

Latest version: v0.1.0

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

Scan your dependencies

0.12.0

--------------------
* Added support for tags! ``hamster_lib.objects.Tag`` instances can be appended
to ``Fact.tags`` and will be stored by the sqlalchemy backend. We also
provide comprehensive CRUD methods as part of the brand new
``storage.TagManager``.
* Major refactoring of *raw fact* parsing. In particular the way timeinfo is
extracted from the string. We are now very clear and explicit about the
supported timeinfo formats. Anything unmatched before the ` token will be
considered the ``activity.name``. This means in particular that our activity
names may contain whitespace!
* Added new ``partial`` parameter to ``time.complete_timeframe`` which defaults
to ``False`` which maintains the functions previous behaviour. Setting it to
``True`` however will cause it to only 'complete' those bits of the timeframe
where there is at least some partial (time or date) information available.
* Moved time related helpers to a dedicated submodule:
``hamster_lib.helpers.time``
* Added ``HamsterControl.update_config`` method to allow config updates at
runtime.
* Renamed ``get_config`` helper to ``load_config`` and limit it to deal just
with config retrieval. It no longer ensures a default config is written and
returned. Your client will need to handle any such fallback behaviour now.
* Use ``tox-travis`` to ensure proper multi python version testing on Travis-CI
* Minor fixes in ``config_helpers._get_config_instance``
* Renamed requirements/\*.txt to \*.pip

0.11.0

--------------------
* Renamed this package to ``hamster-lib`` as it now an offical part of
`projecthamster <https://github.com/projecthamster>`_. It was previously
named and distributed as `hamsterlib <https://pypi.python.org/pypi/hamsterlib/0.1.0>`_
* Add documentation checker ``pep257`` to testsuite.
* Fixed docstrings.
* Removed ``hamster_lib.objects.Fact.serialized_name``.
* Improved test factories
* Made ``hamster_lib.objects.*`` *hashable*.
* Provide consistent and improved ``__repr__`` methods for
``hamster_lib.objects`` classes.
* ``FactManager._get_all`` can now return facts completely*or* partially within
the timeframe. As a consequence, we removed
``FactManager._timeframe_is_free``.
* Added a set of helper function to ease common configuration related tasks.
In particular they make it easy to store a given config at its canonical
file system location.
* Improved ``ActivityManager.get_all`` to enable it to return *all* activities.

0.10.0

-------------------
* Add ``ical`` export facilities. Brand new writer using the ``icalendar`` library.
* Add ``xml`` export facilities.
* Switch to `semantic versioning <http://semver.org>`_
* Added GPL3 boilerplate
* Provide documentation on packaging and ``requirements.txt``.
* Add support for `editorconfig <http://editorconfig.org>`_
* Introduce fine grained, storage backend dependent config options.

0.0.3

-------------------
* fact managers ``save`` method now enforces new ``fact_min_delta`` setting.
* Fixed broken packing in ``setup.py``.
* Storage manager methods now use extensive logging.
* Documentation moved to 'alabaster' theme and content extended.
* Remove usage of ``future.builtins.str``.
* Adjusted ``release`` make target.

0.0.2

------------------
* First release on PyPi
* Improved documentation
* Support for *ongoing facts*.
* Updated requirements

0.0.1

---------------------
* First release on github

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.