elsapy | A Python module for use with Elsevier 's APIs | Natural Language Processing library

 by   ElsevierDev Python Version: 0.5.1 License: BSD-3-Clause

kandi X-RAY | elsapy Summary

kandi X-RAY | elsapy Summary

elsapy is a Python library typically used in Artificial Intelligence, Natural Language Processing applications. elsapy has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install elsapy' or download it from GitHub, PyPI.

A Python module for use with api.elsevier.com. Its aim is to make life easier for people who are not primarily programmers, but need to interact with publication and citation data from Elsevier products in a programmatic manner (e.g. academic researchers). The module consists of the following classes:. More info on the wiki.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              elsapy has a low active ecosystem.
              It has 232 star(s) with 108 fork(s). There are 19 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 22 open issues and 25 have been closed. On average issues are closed in 167 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of elsapy is 0.5.1

            kandi-Quality Quality

              elsapy has 0 bugs and 0 code smells.

            kandi-Security Security

              elsapy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              elsapy code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              elsapy is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              elsapy releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              elsapy saves you 302 person hours of effort in developing the same functionality from scratch.
              It has 728 lines of code, 98 functions and 11 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed elsapy and discovered the below as its top functions. This is intended to give you an instant insight into elsapy implemented functionality, and help decide if they suit your requirements.
            • Executes the search
            • Transform a pandas DataFrame into a Pandas DataFrame
            • Execute a GET request
            • Write the object to disk
            • Returns True if the limit is exceeded
            • Reads the payload
            • Read entity data
            • Read document documentation
            • Read documents from the entity
            • Create a logger with the given name
            • Write the docs to a file
            • Read the payload
            • Read the documentation for this user
            Get all kandi verified functions for this library.

            elsapy Key Features

            No Key Features are available at this moment for elsapy.

            elsapy Examples and Code Snippets

            No Code Snippets are available at this moment for elsapy.

            Community Discussions

            QUESTION

            Scopus API - Number of requests remaining for the week
            Asked 2019-Sep-27 at 18:09

            I am using the Elsevier API to access citation count data from Scopus, through the scopus-api module (but would be happy to use Elsevier's elsapy module). I can access the data I need, but there is a limit for the number of requests that can be made per week.

            How would one obtain the number of remaining requests for the week?

            All help is appreciated.

            ...

            ANSWER

            Answered 2019-Sep-27 at 18:09

            Although an old question, the answer might help someone else who stumbles across it. The quota related information is contained in the headers of the response to your request. Each API endpoint seems to have its own limit.

            Here's an example of a response that still has something left of the quota:

            {'allow': 'GET', 'Content-Encoding': 'gzip', 'Content-Type': 'application/xml;charset=UTF-8', 'Date': 'Fri, 26 Aug 2019 17:46:46 GMT', 'Server': 'Apache-Coyote/1.1', 'vary': 'Origin', 'X-ELS-APIKey': 'your-api-key-would-be-here', 'X-ELS-ReqId': '16385g19-b193-1308-5817-c5694db5619g', 'X-ELS-ResourceVersion': 'default', 'X-ELS-Status': 'OK', 'X-ELS-TransId': '16385g19-b193-1308-5817-c5694db5619g', 'X-RateLimit-Limit': '20000', 'X-RateLimit-Remaining': '19636', 'X-RateLimit-Reset': '2019-10-03 07:18:17', 'transfer-encoding': 'chunked', 'Connection': 'keep-alive'}

            Here's an example for which the quota has been exceeded:

            {'Content-Encoding': 'gzip', 'Content-Type': 'text/xml;charset=UTF-8', 'Date': 'Fri, 19 Aug 2019 17:46:46 GMT', 'Server': 'Apache-Coyote/1.1', 'X-ELS-Status': 'QUOTA_EXCEEDED - Quota Exceeded', 'X-RateLimit-Reset': '2019-08-26 05:51:01', 'Content-Length': '191', 'Connection': 'keep-alive'}

            An example to get the headers in python using requests:

            Source https://stackoverflow.com/questions/50099885

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install elsapy

            Run pip install elsapy from your command line
            In your project root folder, create a config file and add your APIkey to it
            Download exampleProg.py to your project root folder and modify it to suit your needs

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install elsapy

          • CLONE
          • HTTPS

            https://github.com/ElsevierDev/elsapy.git

          • CLI

            gh repo clone ElsevierDev/elsapy

          • sshUrl

            git@github.com:ElsevierDev/elsapy.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Natural Language Processing Libraries

            transformers

            by huggingface

            funNLP

            by fighting41love

            bert

            by google-research

            jieba

            by fxsjy

            Python

            by geekcomputers

            Try Top Libraries by ElsevierDev

            rss

            by ElsevierDevJavaScript

            scopusWidgets

            by ElsevierDevJavaScript

            apidemo

            by ElsevierDevHTML

            get_sd_oa

            by ElsevierDevPython