Metadata-Version: 2.1
Name: pykitopen
Version: 0.1.1
Summary: A KITOpen wrapper for python
Home-page: https://github.com/the16thpythonist/pykitopen
Author: Jonas Teufel
Author-email: jonseb1998@gmail.com
License: MIT license
Keywords: pykitopen
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5
Requires-Dist: Click (>=7.0)
Requires-Dist: requests

=========
pykitopen
=========


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

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


A python wrapper for the *KITOpen* database!

* Free software: MIT license
* Documentation: https://pykitopen.readthedocs.io.

Getting Started
---------------

Installation
""""""""""""

The package is best installed using pip, as it will also install all the necessary dependencies

.. code:: console

    $ pip install pykitopen

Usage
-----

To query the KITOpen search function, simply create a ``KitOpen`` wrapper object with the desired
configuration and call the ``search`` function with the relevant parameters. The returned ``SearchResults``
object can be iterated for all the publications.

.. code:: python

    from pykitopen import KitOpen, Publication
    from pykitopen.config import DEFAULT

    kitopen = KitOpen(DEFAULT)
    results = kitopen.search({
        'author':       'MUSTERMANN, MAX',
        'start':        '2012',
        'stop':         '2016',
        'view':         Publication.VIEWS.FULL
    })

    for publication in results:
        print(publication.data)


Features
--------

The library is still under development, which is why this first version only provides some basic functionality.
At the moment only a publication search is supported:

* Searching by author and by year

* Customizable publication "views", which define the fields to be included.

Planned
-------

* Support more search parameters such as publication type, open access availability etc.

* Add support for the metrics generation feature of KITOpen.

* Add additional batching strategies

* Add export of the result to different formats such as CSV, JSON...

License
-------

Distributed under the MIT License. See ``LICENSE`` for more information

Contact
-------

Jonas Teufel - jonseb1998@gmail.com

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


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

0.1.0 (17.06.2020)
------------------

- Initial release


0.1.1 (23.01.2021)
------------------

- changed datetime format in HISTORY.rst
- fixed error
- Added VERSION file

