Observed since 20 Oct, 21:18 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aganitha-intern-task
# Get Papers List(Aganiths_Intern_task) This project fetches research papers from PubMed based on a query, filters out non-academic authors, and generates a CSV file with relevant details. ## Project Organization ``` project/ ├── get_papers/ │ ├── fetch_papers.py # Module to fetch and filter papers ├── scripts/ │ ├── get_papers_list.py # Command-line program to use the module ├── tests/ # Directory for test cases ├── README.md # Project documentation ├── pyproject.toml # Poetry configuration ├── dist/ # Generated distribution files for publishing ``` ## Installation 1. Clone the repository: ```bash git clone https://github.com/Vighnesh-M-S/Aganitha_Intern_task cd Aganitha_Intern_task 2. Inst
This project fetches research papers from PubMed based on a query, filters out non-academic authors, and generates a CSV file with relevant details.
project/
├── get_papers/
│ ├── fetch_papers.py # Module to fetch and filter papers
├── scripts/
│ ├── get_papers_list.py # Command-line program to use the module
├── tests/ # Directory for test cases
├── README.md # Project documentation
├── pyproject.toml # Poetry configuration
├── dist/ # Generated distribution files for publishing
git clone https://github.com/Vighnesh-M-S/Aganitha_Intern_task
cd Aganitha_Intern_task
poetry install
poetry run python3 scripts/get_papers_list.py "<search_query>" -f <output_file> -d
| Argument | Description | Example |
|---|---|---|
| query | Search query for PubMed | "cancer research" |
| -f, --file | Output filename for CSV | "output.csv" |
| -d, --debug | Enable debug output | N/A |
poetry run python3 scripts/get_papers_list.py "cancer treatment" -f results.csv -d
The generated CSV file will have the following columns:
| Column Name | Description |
|---|---|
| PubmedID | Unique identifier for the paper |
| Title | Title of the paper |
| Publication Date | Date the paper was published |
| Non-academic Author(s) | Names of authors affiliated with non-academic institutions |
| Company Affiliation(s) | Names of pharmaceutical/biotech companies |
| Corresponding Author Email | Email address of the corresponding author |
The following tools and libraries are used in this project:
The module can be published to Test PyPI using the following steps:
poetry build
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
For more information, refer to the Test PyPI Guide.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
requestsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | requests<3.0.0,>=2.32.3 | runtime |
pandasEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pandas<3.0.0,>=2.2.3 | runtime |
bdist_wheel · 3.89 KB · Python py3
sdist · 3.79 KB · Python source
Observed since 20 Oct, 21:18 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:c41f05a3712275453bf4b0fcb35526f92bf2887f3f5ac5c3b3aefa8fbffdf78e