habanero


Namehabanero JSON
Version 1.2.6 PyPI version JSON
download
home_pagehttps://github.com/sckott/habanero
SummaryLow Level Client for Crossref Search API
upload_time2024-02-03 17:47:38
maintainer
docs_urlNone
authorScott Chamberlain
requires_python>=3.7
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            habanero
========

|pypi| |docs| |ghactions| |coverage| |black|

This is a low level client for working with Crossref's search API. It's been named to be more generic, as other organizations are/will adopt Crossref's search API, making it possible to interact with all from one client.

`Crossref API docs <https://github.com/CrossRef/rest-api-doc>`__

Other Crossref API clients:

- Ruby: `serrano`, `<https://github.com/sckott/serrano>`__

Crossref's API issue tracker: https://gitlab.com/crossref/issues

`habanero` includes three modules you can import as needed (or
import all):

`Crossref` - Crossref search API. The `Crossref` module includes methods matching Crossref API routes, and a few convenience methods for getting DOI agency and random DOIs:

- `works` - `/works` route
- `members` - `/members` route
- `prefixes` - `/prefixes` route
- `funders` - `/funders` route
- `journals` - `/journals` route
- `types` - `/types` route
- `licenses` - `/licenses` route
- `registration_agency` - get DOI minting agency
- `random_dois` - get random set of DOIs

`counts` - citation counts. Includes the single `citation_count` method

`cn` - content negotiation. Includes the methods:

- `content_negotiation` - get citations in a variety of formats
- `csl_styles` - get CSL styles, used in `content_negotation` method

`WorksContainer` - A class for handling Crossref works. Pass output of works from methods on the `Crossref` class to more easily extract specific fields of works. 

Note about searching:

You are using the Crossref search API described at https://api.crossref.org/swagger-ui/index.html. When you search with query terms, on Crossref servers they are not searching full text, or even abstracts of articles, but only what is available in the data that is returned to you. That is, they search article titles, authors, etc. For some discussion on this, see https://gitlab.com/crossref/issues/-/issues/101

Rate limits
-----------

See the headers `X-Rate-Limit-Limit` and `X-Rate-Limit-Interval` for current rate limits.

The Polite Pool
---------------

To get in the polite pool it's a good idea now to include a `mailto` email
address. See docs for more information.


Installation
============

Stable version

.. code-block:: console

  pip (or pip3) install habanero


If you need to fix bibtex format citations using content negotiation use

.. code-block:: console

  pip (or pip3) install habanero[bibtex]


Dev version

.. code-block:: console

    pip install git+https://github.com/sckott/habanero.git#egg=habanero


Or build it yourself locally

.. code-block:: console

    git clone https://github.com/sckott/habanero.git
    cd habanero
    make install

Usage
=====

Initialize a client

.. code-block:: python

    from habanero import Crossref
    cr = Crossref()

Works route

.. code-block:: python
  
  # query
  x = cr.works(query = "ecology")
  x['message']
  x['message']['total-results']
  x['message']['items']

  # fetch data by DOI
  cr.works(ids = '10.1371/journal.pone.0033693')

Members route

.. code-block:: python
  
  # ids here is the Crossref Member ID; 98 = Hindawi
  cr.members(ids = 98, works = True)

Citation counts

.. code-block:: python

  from habanero import counts
  counts.citation_count(doi = "10.1016/j.fbr.2012.01.001")

Content negotiation - get citations in many formats

.. code-block:: python

  from habanero import cn
  cn.content_negotiation(ids = '10.1126/science.169.3946.635')
  cn.content_negotiation(ids = '10.1126/science.169.3946.635', format = "citeproc-json")
  cn.content_negotiation(ids = "10.1126/science.169.3946.635", format = "rdf-xml")
  cn.content_negotiation(ids = "10.1126/science.169.3946.635", format = "text")
  cn.content_negotiation(ids = "10.1126/science.169.3946.635", format = "text", style = "apa")
  cn.content_negotiation(ids = "10.1126/science.169.3946.635", format = "bibentry")

Meta
====

* Please note that this project is released with a `Contributor Code of Conduct <https://github.com/sckott/habanero/blob/main/CODE_OF_CONDUCT.md>`__. By participating in this project you agree to abide by its terms.
* License: MIT; see `LICENSE file <https://github.com/sckott/habanero/blob/main/LICENSE>`__

.. |pypi| image:: https://badge.fury.io/py/habanero.svg
    :target: https://badge.fury.io/py/habanero

.. |docs| image:: https://readthedocs.org/projects/habanero/badge/?version=latest
   :target: http://habanero.rtfd.org/

.. |ghactions| image:: https://github.com/sckott/habanero/actions/workflows/python.yml/badge.svg?branch=main
   :target: https://github.com/sckott/habanero/actions/workflows/python.yml

.. |coverage| image:: https://codecov.io/gh/sckott/habanero/branch/main/graph/badge.svg?token=6RrgNAuQmR
   :target: https://codecov.io/gh/sckott/habanero

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black

Changelog
=========

1.2.6 (2024-02-01)
--------------------
* mark two more tests for vcr to create cassettes for (both content_negotation tests) - no user facing changes (#114)
* habanero now conditionally uses bibtexparser to roundtrip bibtex to attempt to fix any bibtex that's not formatted correctly (#144) (#153)
* generalize handling  of field queries like `query.publisher-name` to allow all field queries, and any in the future (#150) (#152)
* improved error handling (#123)
* `ids` now a required param in the Crossref.prefixes method; improved crossef API error parsing (#116)

1.2.3 (2023-02-02)
--------------------
* now using typehints, tested on Python back to 3.6; though could work with older Python 3 versions. See the new docs for better information on types (#70)
* fixed problem with usage of `warn=True`; in a for loop, an internal variable `warning_thrown` wasn't being reset after each loop iteration, with the result that all objects returned after a warning was thrown were `None` regardless of the actual result. sorry about that!  (#112) (#113)

1.2.2 (2022-05-19)
--------------------
* Fixed class `WorksContainer` to work with cursor output of works results (e.g., `cr.works(query, cursor="*")`) (#106) thanks @IvanSterligov

1.2 (2022-03-27)
--------------------
* Added class `WorksContainer` to make handling works data easier (#101)
* changed master branch to main in github development repository (#103)
* exclude tests from install (#105)

1.0 (2021-11-12)
--------------------
* fixes to docs/contributing.rst and package level docs for habanero (#89) (#90) thanks @Daniel-Mietchen !
* fix limit and offset internal handling for `request` and `Request` (#91) thanks @Bubblbu !
* `content_negotation` throws warning now on 4xx/5xx status code to allow for bad DOIs alongside good DOIS (#92)
* add example to README for querying `works` by DOI (#93)
* fail better when json is not returned; try json.loads and catch ValueError (JSONDecodeError is a subclass of ValueError) (#97)
* funders, journals, members, prefixes, types and works gain `warn` parameter to optionally throw a warning instead of error if a DOI is not found - not found DOI with `warn=True` returns `None` (#69)

0.7.4 (2020-05-29)
--------------------
* `query.title` filter is deprecated, use `query.bibliographic` instead (#85)

0.7.2 (2019-12-12)
--------------------
* `Crossref()` class gains `ua_string` option to add an additional string to the user-agent sent with every request (#84)

0.7.0 (2019-11-08)
--------------------
* `filter_names()` and `filter_details()` altered to get metadata for works, members and funders filters; and added egs to members and funders methods for using filters (#67)
* many typos fixed (#80) thanks @Radcliffe !
* use of a progress bar is now possible when fetching works route data, only when doing deep paging, see `progress_bar` parameter (#77) (#82)
* `content_negotiation` fixes: `ids` parameter is now required (has no default), and must be a str or list of str (#83)
* no longer testing under Python 2

0.6.2 (2018-10-22)
--------------------
* changelog was missing from the pypi distribution, fixed now (#71)
* fixed `Crossref.registration_agency()` method, borked it up on a previous change (#72)
* set encoding on response text for `content_negotiation()` method to UTF-8 to fix encoding issues (#73)
* fix `Crossref.filter_names()` method; no sort on `dict_keys` (#76)

0.6.0 (2017-10-20)
--------------------
* Added verification and docs for additional Crossref search filters (#62)
* Big improvement to docs on readthedocs (#59)
* Added `mailto` support (#68) (#63) and related added docs about polite pool (#66)
* Added support for `select` parameter (#65)
* Added all new `/works` route filters, and simplified filter option handling within library (#60)

0.5.0 (2017-07-20)
--------------------
* Now using `vcrpy` to mock all unit tests (#54)
* Can now set your own base URL for content negotation (#37)
* Some field queries with `works()` were failing, but now seem to be working, likely due to fixes in Crossref API (#53)
* style input to `content_negotiation` was fixed (#57) (#58) thanks @talbertc-usgs
* Fix to `content_negotiation` when inputting a DOI as a unicode string (#56)

0.3.0 (2017-05-21)
--------------------
* Added more documentation for field queries, describing available fields that support field queries, and how to do field queries (#50)
* `sample` parameter maximum value is 100 - has been for a while, but wasn't updated in Crossref docs (#44)
* Updated docs that `facet` parameter can be a string query in addition to a boolean (#49)
* Documented new 10,000 max value for `/works` requests - that is, for the `offset` parameter - if you need more results than that use `cursor` (see https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md#deep-paging-with-cursors) (#47)
* Added to docs a bit about rate limiting, their current values, that they can change, and how to show them in verbose curl responses (#45)
* Now using `https://doi.org` for `cn.content_negotation` - and function gains new parameter `url` to  specify different base URLs for content negotiation (#36)
* Fixes to kwargs and fix docs for what can be passed to kwargs  (#41)
* Duplicated names passed to `filter` were not working - fixed now (#48)
* Raise proper HTTP errors when appropriate for `cn.content_negotiation` thanks @jmaupetit (#55)

0.2.6 (2016-06-24)
--------------------
* fixed problem with `cr.works()` where DOIs passed weren't making the correct API request to Crossref (#40)
* added support for field queries to all methods that support `/works` (<https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md#field-queries>) (#38)

0.2.2 (2016-03-09)
--------------------
* fixed some example code that included non-working examples (#34)
* fixed bug in `registration_agency()` method, works now! (#35)
* removed redundant `filter_names` and `filter_details` bits in docs

0.2.0 (2016-02-10)
--------------------
* user-agent strings now passed in every http request to Crossref, including a `X-USER-AGENT` header in case the `User-Agent` string is lost (#33)
* added a disclaimer to docs about what is actually searched when searching the Crossref API - that is, only what is returned in the API, so no full text or abstracts are searched (#32)
* improved http error parsing - now passes on the hopefully meaningful error messages from the Crossref API (#31)
* more tests added (#30)
* habanero now supports cursor for deep paging. note that cursor only works with requests to the `/works` route (#18)

0.1.3 (2015-12-02)
--------------------
* Fix wheel file to be a universal to install on python2 and python3 (#25)
* Added method `csl_styles` to get CSL styles for use in content negotiation (#27)
* More documentation for content negotiation (#26)
* Made note in docs that `sample` param ignored unless `/works` used (#24)
* Made note in docs that funders without IDs don't show up on the `/funders` route (#23)

0.1.1 (2015-11-17)
--------------------
* Fix readme

0.1.0 (2015-11-17)
--------------------
* Now compatible with Python 2x and 3x
* `agency()` method changed to `registration_agency()`
* New method `citation_count()` - get citation counts for DOIs
* New method `crosscite()` - get a citation for DOIs, only supports simple text format
* New method `random_dois()` - get a random set of DOIs
* Now importing `xml.dom` to do small amount of XML parsing
* Changed library structure, now with module system, separated into modules for the main Crossref search API (i.e., `api.crossref.org`) including higher level methods (e.g., `registration_agency`), content negotiation, and citation counts.

0.0.6 (2015-11-09)
--------------------
* First pypi release

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sckott/habanero",
    "name": "habanero",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Scott Chamberlain",
    "author_email": "myrmecocystus@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3d/17/885ee33738a7ecb29d487ca42043378804d0c47945d24ee040cfaa35beeb/habanero-1.2.6.tar.gz",
    "platform": null,
    "description": "habanero\n========\n\n|pypi| |docs| |ghactions| |coverage| |black|\n\nThis is a low level client for working with Crossref's search API. It's been named to be more generic, as other organizations are/will adopt Crossref's search API, making it possible to interact with all from one client.\n\n`Crossref API docs <https://github.com/CrossRef/rest-api-doc>`__\n\nOther Crossref API clients:\n\n- Ruby: `serrano`, `<https://github.com/sckott/serrano>`__\n\nCrossref's API issue tracker: https://gitlab.com/crossref/issues\n\n`habanero` includes three modules you can import as needed (or\nimport all):\n\n`Crossref` - Crossref search API. The `Crossref` module includes methods matching Crossref API routes, and a few convenience methods for getting DOI agency and random DOIs:\n\n- `works` - `/works` route\n- `members` - `/members` route\n- `prefixes` - `/prefixes` route\n- `funders` - `/funders` route\n- `journals` - `/journals` route\n- `types` - `/types` route\n- `licenses` - `/licenses` route\n- `registration_agency` - get DOI minting agency\n- `random_dois` - get random set of DOIs\n\n`counts` - citation counts. Includes the single `citation_count` method\n\n`cn` - content negotiation. Includes the methods:\n\n- `content_negotiation` - get citations in a variety of formats\n- `csl_styles` - get CSL styles, used in `content_negotation` method\n\n`WorksContainer` - A class for handling Crossref works. Pass output of works from methods on the `Crossref` class to more easily extract specific fields of works. \n\nNote about searching:\n\nYou are using the Crossref search API described at https://api.crossref.org/swagger-ui/index.html. When you search with query terms, on Crossref servers they are not searching full text, or even abstracts of articles, but only what is available in the data that is returned to you. That is, they search article titles, authors, etc. For some discussion on this, see https://gitlab.com/crossref/issues/-/issues/101\n\nRate limits\n-----------\n\nSee the headers `X-Rate-Limit-Limit` and `X-Rate-Limit-Interval` for current rate limits.\n\nThe Polite Pool\n---------------\n\nTo get in the polite pool it's a good idea now to include a `mailto` email\naddress. See docs for more information.\n\n\nInstallation\n============\n\nStable version\n\n.. code-block:: console\n\n  pip (or pip3) install habanero\n\n\nIf you need to fix bibtex format citations using content negotiation use\n\n.. code-block:: console\n\n  pip (or pip3) install habanero[bibtex]\n\n\nDev version\n\n.. code-block:: console\n\n    pip install git+https://github.com/sckott/habanero.git#egg=habanero\n\n\nOr build it yourself locally\n\n.. code-block:: console\n\n    git clone https://github.com/sckott/habanero.git\n    cd habanero\n    make install\n\nUsage\n=====\n\nInitialize a client\n\n.. code-block:: python\n\n    from habanero import Crossref\n    cr = Crossref()\n\nWorks route\n\n.. code-block:: python\n  \n  # query\n  x = cr.works(query = \"ecology\")\n  x['message']\n  x['message']['total-results']\n  x['message']['items']\n\n  # fetch data by DOI\n  cr.works(ids = '10.1371/journal.pone.0033693')\n\nMembers route\n\n.. code-block:: python\n  \n  # ids here is the Crossref Member ID; 98 = Hindawi\n  cr.members(ids = 98, works = True)\n\nCitation counts\n\n.. code-block:: python\n\n  from habanero import counts\n  counts.citation_count(doi = \"10.1016/j.fbr.2012.01.001\")\n\nContent negotiation - get citations in many formats\n\n.. code-block:: python\n\n  from habanero import cn\n  cn.content_negotiation(ids = '10.1126/science.169.3946.635')\n  cn.content_negotiation(ids = '10.1126/science.169.3946.635', format = \"citeproc-json\")\n  cn.content_negotiation(ids = \"10.1126/science.169.3946.635\", format = \"rdf-xml\")\n  cn.content_negotiation(ids = \"10.1126/science.169.3946.635\", format = \"text\")\n  cn.content_negotiation(ids = \"10.1126/science.169.3946.635\", format = \"text\", style = \"apa\")\n  cn.content_negotiation(ids = \"10.1126/science.169.3946.635\", format = \"bibentry\")\n\nMeta\n====\n\n* Please note that this project is released with a `Contributor Code of Conduct <https://github.com/sckott/habanero/blob/main/CODE_OF_CONDUCT.md>`__. By participating in this project you agree to abide by its terms.\n* License: MIT; see `LICENSE file <https://github.com/sckott/habanero/blob/main/LICENSE>`__\n\n.. |pypi| image:: https://badge.fury.io/py/habanero.svg\n    :target: https://badge.fury.io/py/habanero\n\n.. |docs| image:: https://readthedocs.org/projects/habanero/badge/?version=latest\n   :target: http://habanero.rtfd.org/\n\n.. |ghactions| image:: https://github.com/sckott/habanero/actions/workflows/python.yml/badge.svg?branch=main\n   :target: https://github.com/sckott/habanero/actions/workflows/python.yml\n\n.. |coverage| image:: https://codecov.io/gh/sckott/habanero/branch/main/graph/badge.svg?token=6RrgNAuQmR\n   :target: https://codecov.io/gh/sckott/habanero\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/psf/black\n\nChangelog\n=========\n\n1.2.6 (2024-02-01)\n--------------------\n* mark two more tests for vcr to create cassettes for (both content_negotation tests) - no user facing changes (#114)\n* habanero now conditionally uses bibtexparser to roundtrip bibtex to attempt to fix any bibtex that's not formatted correctly (#144) (#153)\n* generalize handling  of field queries like `query.publisher-name` to allow all field queries, and any in the future (#150) (#152)\n* improved error handling (#123)\n* `ids` now a required param in the Crossref.prefixes method; improved crossef API error parsing (#116)\n\n1.2.3 (2023-02-02)\n--------------------\n* now using typehints, tested on Python back to 3.6; though could work with older Python 3 versions. See the new docs for better information on types (#70)\n* fixed problem with usage of `warn=True`; in a for loop, an internal variable `warning_thrown` wasn't being reset after each loop iteration, with the result that all objects returned after a warning was thrown were `None` regardless of the actual result. sorry about that!  (#112) (#113)\n\n1.2.2 (2022-05-19)\n--------------------\n* Fixed class `WorksContainer` to work with cursor output of works results (e.g., `cr.works(query, cursor=\"*\")`) (#106) thanks @IvanSterligov\n\n1.2 (2022-03-27)\n--------------------\n* Added class `WorksContainer` to make handling works data easier (#101)\n* changed master branch to main in github development repository (#103)\n* exclude tests from install (#105)\n\n1.0 (2021-11-12)\n--------------------\n* fixes to docs/contributing.rst and package level docs for habanero (#89) (#90) thanks @Daniel-Mietchen !\n* fix limit and offset internal handling for `request` and `Request` (#91) thanks @Bubblbu !\n* `content_negotation` throws warning now on 4xx/5xx status code to allow for bad DOIs alongside good DOIS (#92)\n* add example to README for querying `works` by DOI (#93)\n* fail better when json is not returned; try json.loads and catch ValueError (JSONDecodeError is a subclass of ValueError) (#97)\n* funders, journals, members, prefixes, types and works gain `warn` parameter to optionally throw a warning instead of error if a DOI is not found - not found DOI with `warn=True` returns `None` (#69)\n\n0.7.4 (2020-05-29)\n--------------------\n* `query.title` filter is deprecated, use `query.bibliographic` instead (#85)\n\n0.7.2 (2019-12-12)\n--------------------\n* `Crossref()` class gains `ua_string` option to add an additional string to the user-agent sent with every request (#84)\n\n0.7.0 (2019-11-08)\n--------------------\n* `filter_names()` and `filter_details()` altered to get metadata for works, members and funders filters; and added egs to members and funders methods for using filters (#67)\n* many typos fixed (#80) thanks @Radcliffe !\n* use of a progress bar is now possible when fetching works route data, only when doing deep paging, see `progress_bar` parameter (#77) (#82)\n* `content_negotiation` fixes: `ids` parameter is now required (has no default), and must be a str or list of str (#83)\n* no longer testing under Python 2\n\n0.6.2 (2018-10-22)\n--------------------\n* changelog was missing from the pypi distribution, fixed now (#71)\n* fixed `Crossref.registration_agency()` method, borked it up on a previous change (#72)\n* set encoding on response text for `content_negotiation()` method to UTF-8 to fix encoding issues (#73)\n* fix `Crossref.filter_names()` method; no sort on `dict_keys` (#76)\n\n0.6.0 (2017-10-20)\n--------------------\n* Added verification and docs for additional Crossref search filters (#62)\n* Big improvement to docs on readthedocs (#59)\n* Added `mailto` support (#68) (#63) and related added docs about polite pool (#66)\n* Added support for `select` parameter (#65)\n* Added all new `/works` route filters, and simplified filter option handling within library (#60)\n\n0.5.0 (2017-07-20)\n--------------------\n* Now using `vcrpy` to mock all unit tests (#54)\n* Can now set your own base URL for content negotation (#37)\n* Some field queries with `works()` were failing, but now seem to be working, likely due to fixes in Crossref API (#53)\n* style input to `content_negotiation` was fixed (#57) (#58) thanks @talbertc-usgs\n* Fix to `content_negotiation` when inputting a DOI as a unicode string (#56)\n\n0.3.0 (2017-05-21)\n--------------------\n* Added more documentation for field queries, describing available fields that support field queries, and how to do field queries (#50)\n* `sample` parameter maximum value is 100 - has been for a while, but wasn't updated in Crossref docs (#44)\n* Updated docs that `facet` parameter can be a string query in addition to a boolean (#49)\n* Documented new 10,000 max value for `/works` requests - that is, for the `offset` parameter - if you need more results than that use `cursor` (see https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md#deep-paging-with-cursors) (#47)\n* Added to docs a bit about rate limiting, their current values, that they can change, and how to show them in verbose curl responses (#45)\n* Now using `https://doi.org` for `cn.content_negotation` - and function gains new parameter `url` to  specify different base URLs for content negotiation (#36)\n* Fixes to kwargs and fix docs for what can be passed to kwargs  (#41)\n* Duplicated names passed to `filter` were not working - fixed now (#48)\n* Raise proper HTTP errors when appropriate for `cn.content_negotiation` thanks @jmaupetit (#55)\n\n0.2.6 (2016-06-24)\n--------------------\n* fixed problem with `cr.works()` where DOIs passed weren't making the correct API request to Crossref (#40)\n* added support for field queries to all methods that support `/works` (<https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md#field-queries>) (#38)\n\n0.2.2 (2016-03-09)\n--------------------\n* fixed some example code that included non-working examples (#34)\n* fixed bug in `registration_agency()` method, works now! (#35)\n* removed redundant `filter_names` and `filter_details` bits in docs\n\n0.2.0 (2016-02-10)\n--------------------\n* user-agent strings now passed in every http request to Crossref, including a `X-USER-AGENT` header in case the `User-Agent` string is lost (#33)\n* added a disclaimer to docs about what is actually searched when searching the Crossref API - that is, only what is returned in the API, so no full text or abstracts are searched (#32)\n* improved http error parsing - now passes on the hopefully meaningful error messages from the Crossref API (#31)\n* more tests added (#30)\n* habanero now supports cursor for deep paging. note that cursor only works with requests to the `/works` route (#18)\n\n0.1.3 (2015-12-02)\n--------------------\n* Fix wheel file to be a universal to install on python2 and python3 (#25)\n* Added method `csl_styles` to get CSL styles for use in content negotiation (#27)\n* More documentation for content negotiation (#26)\n* Made note in docs that `sample` param ignored unless `/works` used (#24)\n* Made note in docs that funders without IDs don't show up on the `/funders` route (#23)\n\n0.1.1 (2015-11-17)\n--------------------\n* Fix readme\n\n0.1.0 (2015-11-17)\n--------------------\n* Now compatible with Python 2x and 3x\n* `agency()` method changed to `registration_agency()`\n* New method `citation_count()` - get citation counts for DOIs\n* New method `crosscite()` - get a citation for DOIs, only supports simple text format\n* New method `random_dois()` - get a random set of DOIs\n* Now importing `xml.dom` to do small amount of XML parsing\n* Changed library structure, now with module system, separated into modules for the main Crossref search API (i.e., `api.crossref.org`) including higher level methods (e.g., `registration_agency`), content negotiation, and citation counts.\n\n0.0.6 (2015-11-09)\n--------------------\n* First pypi release\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Low Level Client for Crossref Search API",
    "version": "1.2.6",
    "project_urls": {
        "Documentation": "http://habanero.rtfd.org/",
        "Homepage": "https://github.com/sckott/habanero",
        "Source": "https://github.com/sckott/habanero",
        "Tracker": "https://github.com/sckott/habanero/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "183ba24c9533cd2557ebca717e1e2b2a5485982d69dc8b609b2199eae20a6e22",
                "md5": "221100f7c429e855d27ef5768a0d3878",
                "sha256": "ccc57e7dc9cc1850961b4e6f85fc7749896cba6ddcc06ea15297dbad9af2b62e"
            },
            "downloads": -1,
            "filename": "habanero-1.2.6-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "221100f7c429e855d27ef5768a0d3878",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 30689,
            "upload_time": "2024-02-03T17:47:33",
            "upload_time_iso_8601": "2024-02-03T17:47:33.872472Z",
            "url": "https://files.pythonhosted.org/packages/18/3b/a24c9533cd2557ebca717e1e2b2a5485982d69dc8b609b2199eae20a6e22/habanero-1.2.6-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d17885ee33738a7ecb29d487ca42043378804d0c47945d24ee040cfaa35beeb",
                "md5": "3bd04aaa332fc8df718092dff015394e",
                "sha256": "b206d49f44f41c2289f0ad731f259a50d4376c747d8ecbb219a73874d45309d4"
            },
            "downloads": -1,
            "filename": "habanero-1.2.6.tar.gz",
            "has_sig": false,
            "md5_digest": "3bd04aaa332fc8df718092dff015394e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 1547954,
            "upload_time": "2024-02-03T17:47:38",
            "upload_time_iso_8601": "2024-02-03T17:47:38.486328Z",
            "url": "https://files.pythonhosted.org/packages/3d/17/885ee33738a7ecb29d487ca42043378804d0c47945d24ee040cfaa35beeb/habanero-1.2.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-03 17:47:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sckott",
    "github_project": "habanero",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "habanero"
}
        
Elapsed time: 0.48965s