citationmachine

A simple citation machine in python (MLA formatting).

https://github.com/jancolon/citationmachine

Science Score: 31.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
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.7%) to scientific vocabulary

Keywords

citation-machine mla-format python
Last synced: 6 months ago · JSON representation ·

Repository

A simple citation machine in python (MLA formatting).

Basic Info
  • Host: GitHub
  • Owner: JanColon
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 5.86 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
citation-machine mla-format python
Created over 5 years ago · Last pushed about 4 years ago
Metadata Files
Readme Citation

README.md

CitationMachine

I made a citation machine in python. It isn't exactly a citation machine, it just formats the input in MLA format. Enjoy!

Features

  • Create citations in MLA format
  • Can add annotations to your citations
  • Able to add citations into a text document

Bugs, limitations, etc.

  • Can't backtrack to previous parameters if a user error is made
  • Can't give the bibliography text file a unique name
  • Citations don't have text wrapping
  • Citations don't include hanging indents for wrapped text (goes against MLA format)
  • Can't make citations in increments (script needs to be restarted to add more citations)

Owner

  • Login: JanColon
  • Kind: user
  • Location: Sunrise, Florida

Professional print statement writer.

Citation (citation.py)

cite = None

print ("Jan's Citation Machine")
print ("Press ENTER key to continue")
start_type = input()

print ("What's the Source? 'URL, Book, Etc.'")
url = input()
print ("What's the date? 'Year'")
date = input()
print ("Who wrote/created the source? 'Name'")
author = input()
print ("What's the title of the source?")
title = input()	
print ("What's the name of the association/company that made the source?")
comp = input()
print ("You want to write an annotation? If not, press ENTER to continue.")
next = input()
print ("Citation complete! Hit ENTER to view. . .")
input()
    
cite = author + "." + " " + title + "." + " " + comp + (".") + " " + date + (",") + " " + url + " " + next + "\n" + "\n"
print ("\n" + cite)

if cite != None:
        print("Do you want to add this to a bibliography? 'Y or N'")
        bib_clar = input()

if bib_clar == "Y":
        bib = open("Bibliography.txt", "a")
        bib.write(cite)
        bib.close()
        print("Citation added! Check 'Bibliography.txt'")
else:
        pass

GitHub Events

Total
Last Year