Metadata-Version: 2.1
Name: loggertodb
Version: 0.2.1
Summary: Insert meteorological station data to Enhydris
Home-page: https://github.com/aptiko/loggertodb
Author: Antonis Christofides
Author-email: antonis@antonischristofides.com
License: GNU General Public License v3
Keywords: loggertodb
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/x-rst
Requires-Dist: Click (<8,>=7.0)
Requires-Dist: iso8601
Requires-Dist: htimeseries (<2,>=1)
Requires-Dist: simpletail
Requires-Dist: enhydris-api-client (<1,>=0.3)

==========
loggertodb
==========


.. image:: https://img.shields.io/travis/openmeteo/loggertodb.svg
        :target: https://travis-ci.org/openmeteo/loggertodb

.. image:: https://codecov.io/github/openmeteo/loggertodb/coverage.svg
        :target: https://codecov.io/gh/openmeteo/loggertodb
        :alt: Coverage

.. image:: https://img.shields.io/pypi/v/loggertodb.svg
        :target: https://pypi.python.org/pypi/loggertodb

.. image:: https://readthedocs.org/projects/loggertodb/badge/?version=latest
        :target: https://loggertodb.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://pyup.io/repos/github/openmeteo/loggertodb/shield.svg
     :target: https://pyup.io/repos/github/openmeteo/loggertodb/
     :alt: Updates



Insert meteorological station data to Enhydris

License
=======

Free software: GNU General Public License v3

Documentation
=============

https://loggertodb.readthedocs.io.

Creating a Windows executable
=============================

On Windows; the first time:

 1. Install ``git``.
 2. Install a recent Python 3 version.
 3. Execute Git Bash.
 4. Clone loggertodb.
 5. Change to the working directory of ``loggertodb``.
 6. ``pip install virtualenv==16.1.0`` (this is because of a
    `pyinstaller bug`_).
 7. ``virtualenv ../venv``
 8. ``../venv/Scripts/pip install -e .``
 9. ``../venv/Scripts/pip install pyinstaller``

.. _pyinstaller bug: https://github.com/pyinstaller/pyinstaller/issues/4064

Next times:

 1. ``rm -r dist loggertodb-windows.spec``
 2. ``../venv/Scripts/pyinstaller --onefile --name=loggertodb bin/loggertodb-windows``

After this, ``loggertodb.exe`` should be in the ``dist`` directory.


=======
History
=======

0.2.1 (2019-07-17)
==================

- Fixed a crash when a file was empty in multi-file simple format.
- Improved error messages in multi-file simple format when the
  timestamps were badly ordered in a file or overlapping between files.

0.2.0 (2019-07-16)
==================

- Added multi-file option to simple format.
- Added configuration parameters "encoding" and "ignore_lines".

0.1.3 (2019-06-07)
==================

- Upgraded htimeseries to 1.0.
- Made dependencies more robust.

0.1.2 (2019-05-27)
==================

- Made parsing dates more robust in simple format.
- Fixed extreme slowness when thousands of records had to be inserted.
- Fixed unhelpful error message when file was out of order.

0.1.1 (2019-04-18)
==================

- Fixed a bug that prevented using a log file.

0.1.0 (2019-04-18)
==================

- Initial release


