Skip to main content

A tool to quickly export all references to bibtex

Project description

BibtexGen

PyPi Version PyPi License PyPi PyVersions PyPi Format

Continuous Integration Continuous Delivery
test publish to pypi

A simple cli tool to generate a list of references of any paper available on Semantic Scholar as a .bib file.

Installation

This package supports only Python 3.5 and above.

$ pip install bibtexgen
    Installing build dependencies ... done
    Getting requirements to build wheel ... done
        Preparing wheel metadata ... done
.
.
.
Successfully built bibtexgen
Installing collected packages: bibtexgen
Successfully installed bibtexgen-0.0.1

Usage

  • As cli tool:

    $ bibtexgen
    
    
    ================================= Welcome to BibTex Generator =================================
    
    
    Please enter the Sematic Scholar Id of your paper: 6258b37b8d517f121c844ebad226da472761adc6
    
    Creating file 6258b37b8d517f121c844ebad226da472761adc6_references.bib
    
    100%|█████████████████████████████████████████████████████████| 8/8 [00:21<00:00,  2.63s/papers]
    
    Your references have been saved!
    
  • Programmatically:

    from bibtexgen import bibtex
    from pprint import pprint
    
    b = bibtex()
    r = b.generate_references('6258b37b8d517f121c844ebad226da472761adc6')
    
    pprint(r)
    

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

bibtexgen-0.0.2.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

bibtexgen-0.0.2-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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