Skip to main content

A smarter way to find new articles

Project description


Sciencer Toolkit

A smarter way to find articles.

PyPi Package Version GitHub issues GitHub pull requests License: MIT License

About - Usage - Roadmap - Contributing

Collectors - Expanders - Filters - Providers


About

Sciencer Toolkit enables researchers to programmatically conduct a literature review using an intuitive yet flexible interface.

At its core, Sciencer collects sets of papers. The initial set of papers is created through the use of Collectors (e.g. paper doi, author name). Then, Sciencer iteratively finds new papers using Expanders (e.g. authors, citations, references). Finally, new found papers need to satisfy a series of Filters in order to be accepted into the current set. Being iterative in nature, Sciencer allows you to repeat the above steps has many times as you'd like.

This project was motivated by the absence of tools to automate systematic reviews using clear and well-defined criteria. Still, for literature reviews that do not need to follow specific criteria, there are a several tools that can help to discover new papers.

Usage

# Create the Sciencer Core Component
sciencer = Sciencer()

# Define provider
sciencer.add_provider(SemanticScholarProvider())

# Define collectors
## this collector will gather all known papers authored by "John Doe" into de set
sciencer.add_collector(sciencer.collectors.CollectByAuthorID("John Doe"))
## this collector will collect the paper with DOI "1234567890" into the set
sciencer.add_collector(sciencer.collectors.CollectByDOI("1234567890"))
## this collector will collect the papers with 
sciencer.add_collector(sciencer.collectors.CollectByTerms(["Term 1", "Term 2", "Term 3"]))

# Define expanders
## this expander will gather all known papers written by authors in the current set.
sciencer.add_expander(sciencer.expanders.ExpandByAuthors())
## this expander will gather all the referenced papers
sciencer.add_expander(sciencer.expanders.ExpandByReferences())
## this expander will gather all the cited papers
sciencer.add_expander(sciencer.expanders.ExpandByCitations())

# Define filters
## this filter will reject papers that were published before 2010 and after 2030
sciencer.add_filter(sciencer.filters.FilterByYear(min_year=2010, max_year=2030))
## this filter will reject all the papers that do not have the word social on the abstract
sciencer.add_filter(sciencer.filters.FilterByAbstract("social"))
## this filter will reject all the papers that do not have the field of study Computer Science
sciencer.add_filter(sciencer.filters.FilterByFieldOfStudy("Computer Science"))

# Run one iteration
results = sciencer.iterate()

For more examples on how to use the Sciencer toolkit, please check the directory examples/.

(back to top)

Collectors

Name Description Parameters
Author ID Collects all the papers written by an author Authors's SemanticScholar ID
Paper DOI Collects a paper by its DOI Paper's DOI
Terms Collects papers by terms Query Terms
Maximum Number of Papers

(back to top)

Expanders

Name Description
Authors Expands a paper by its authors
References Expands a paper by its references
References Expands a paper by its citations

(back to top)

Filters

Name Description Parameters
By Year Filters a paper by its year The lowest acceptable year (inclusive)
The highest acceptable year (inclusive)
By Abstract Words Filters a paper by its abstract The collection of words the abstract should include (at least one)
By Field Of Study Filters a paper by its field of study The field of study the paper should have

(back to top)

Providers

Name Provider Features
Semantic Scholar Semantic Scholar Academic Graph API Search by Author (Name, S2ID)
Search By Paper ID (S2ID, DOI, ArXiv, MAG, ACL, PubMed, Corpus)
DBLP DBLP Search API Work in Progress

(back to top)

Roadmap

  • Create Paper's and Author's Cache
  • Add Bulk Expanders (to avoid redundancy)
  • Add support for multithreading
  • Add Collectors
    • Add Collect by Venue/Proceedings
  • Add Expanders
    • Add Expand by Citations
    • Add Expand by References
    • Add Expand by Venue/Proceedings
  • Add Filters
    • Add Filter by Number of Citations
    • Add Filter by Topic
    • Add Filter by Keywords
  • Add Compound Filters
  • Add utility to write results to a *.csv

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Want to add a new provider, filter or expander? Looking to improve the core functionality of sciencer toolkit. We look forward to include your contributions in the toolkit! If you have a suggestion that would improve the toolkit just send us a Pull Request!

If you are looking for an additional collector/filter/expander/provider or just want to report a bug, you can also simply open an issue with the tag "enchament" or "bug", respectively.

(back to top)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sciencer-0.1.3.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

sciencer-0.1.3-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file sciencer-0.1.3.tar.gz.

File metadata

  • Download URL: sciencer-0.1.3.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for sciencer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f9ec495ba5ee3c3bdd894618ee8542a028d2a90a6239d04a499841c3fdb3c8ad
MD5 bcbcbc17f4e53ba2a2a1d8bb11f54500
BLAKE2b-256 5534b8fff8a4ea8085bcb83959e950da3e5607dea6124a3b5b3dced9c092aada

See more details on using hashes here.

File details

Details for the file sciencer-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: sciencer-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for sciencer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 62c00969b1161765888590f0f70f297878c93d1292dd3a0a7fe52e265cdff337
MD5 289edd67e95db772b1a7962e49c5ea51
BLAKE2b-256 55fa8a5310f6e78ddc821442e2125b4b40e4b930488d19266901e0711b407e35

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page