Metadata-Version: 2.4
Name: afromag-ama-citation-tool
Version: 1.0.2
Summary: An open-source AMA 11th edition citation generator by Afromag.
Home-page: https://afromag.com.ng/ama-citation-generator/
Author: Afromag
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: summary

\# Afromag AMA Citation Generator (Python Edition)



An open-source Python library designed to automate reference formatting according to the \*\*American Medical Association (AMA 11th Edition)\*\* manual of style. Built for medical researchers, data scientists, academic writers, and developers building healthcare or scholarly publishing tools.



\---



\## Official Web Tool \& Interactive Resources

For non-technical users or quick manual citation formatting, use our live interactive web version:

\* \*\*Interactive Generator:\*\* \[Afromag AMA Citation Tool](https://afromag.com.ng/ama-citation-generator/)

\* \*\*Official Academic Hub:\*\* \[Afromag Main Portal](https://afromag.com.ng)



\---



\## Key Features

\* \*\*AMA 11th Edition Compliant:\*\* Follows strict formatting rules for authors, journal title abbreviations, year, volume, issue, page numbers, and DOIs.

\* \*\*Flexible Author Handling:\*\* Formats surname and initial combinations effortlessly for single or multi-author medical papers.

\* \*\*DOI Integration:\*\* Automatically appends active Digital Object Identifier (DOI) URLs when provided.

\* \*\*Lightweight \& Zero Dependencies:\*\* Pure Python implementation with zero third-party packages required for maximum reliability in pipeline integrations.



\---



\## Installation



Install the latest release directly from PyPI via `pip`:



```bash

pip install afromag-ama-citation-tool



from afromag\_ama\_citation import generate\_ama\_citation



citation = generate\_ama\_citation(

&#x20;   authors="Smith AB, Johnson CD, Patel R",

&#x20;   title="Advances in automated reference extraction for medical literature",

&#x20;   journal="J Med Res Sci",

&#x20;   year=2026,

&#x20;   volume=14,

&#x20;   issue=2,

&#x20;   pages="110-118"

)



print(citation)

\# Output: Smith AB, Johnson CD, Patel R. Advances in automated reference extraction for medical literature. J Med Res Sci. 2026;14(2):110-118.



citation = generate\_ama\_citation(

&#x20;   authors="Akinwande KO, Taylor ME",

&#x20;   title="Global trends in health informatics and digital reference management",

&#x20;   journal="Lancet Digit Health",

&#x20;   year=2026,

&#x20;   volume=8,

&#x20;   issue=5,

&#x20;   pages="e204-e211",

&#x20;   doi="\[https://doi.org/10.1016/S2589-7500(26)00012-3](https://doi.org/10.1016/S2589-7500(26)00012-3)"

)



print(citation)



AMA 11th Edition Quick Reference Guide

Author Names: List inverted names (LastName Initials) without periods after initials. Separate multiple authors with commas.



Article Title: Capitalize only the first letter of the title and proper nouns (sentence case). Do not place quotes around the title.



Journal Names: Abbreviate according to NLM Title Abbreviations (e.g., Journal of the American Medical Association becomes JAMA).



Publication Details: Format as Year;Volume(Issue):Pages. without spaces around the semicolon or colon.



About Afromag



Afromag is a global platform dedicated to advancing open access tools, medical technology resources, and scholarly publishing solutions for international researchers and academic institutions.



For additional citation styles, API documentation, or to contribute to our open-source tools, visit the Afromag AMA Citation Generator.



License

Distributed under the MIT License. Developed and maintained by **Afromag**.

