Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (0.2%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: nafi001
  • Language: Python
  • Default Branch: main
  • Size: 60.5 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Citation

README.md

Research-Assistant

Owner

  • Login: nafi001
  • Kind: user

Citation (citation_generator.py)

from pybtex.database import parse_string
from pdf_processor import extract_metadata  # Import the metadata function

def generate_citation(text, style='apa'):
    metadata = extract_metadata(text)  # Extract metadata from the text
    
    # Create a BibTeX entry
    entry = f"""
@article{{key,
    author = {{{" and ".join(metadata['authors'])}}},
    title = {{{metadata['title']}}},
    year = {{{metadata['year']}}}
}}
    """
    
    # Parse the entry and generate citation
    bib_data = parse_string(entry, 'bibtex')
    return bib_data.entries['key'].to_string(style)

GitHub Events

Total
  • Push event: 52
  • Create event: 2
Last Year
  • Push event: 52
  • Create event: 2