academia-mcp 1.11.1__tar.gz → 1.11.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/PKG-INFO +1 -1
- academia_mcp-1.11.3/academia_mcp/files.py +15 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp.egg-info/PKG-INFO +1 -1
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/pyproject.toml +1 -1
- academia_mcp-1.11.1/academia_mcp/files.py +0 -30
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/LICENSE +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/README.md +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/__init__.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/__main__.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/latex_templates/agents4science_2025/agents4science_2025.sty +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/latex_templates/agents4science_2025/agents4science_2025.tex +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/llm.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/pdf.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/py.typed +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/server.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/settings.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/__init__.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/anthology_search.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/arxiv_download.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/arxiv_search.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/bitflip.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/document_qa.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/hf_datasets_search.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/latex.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/py.typed +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/review.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/s2.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/show_image.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/speech_to_text.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/visit_webpage.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/web_search.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/tools/yt_transcript.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp/utils.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp.egg-info/SOURCES.txt +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp.egg-info/dependency_links.txt +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp.egg-info/entry_points.txt +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp.egg-info/requires.txt +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/academia_mcp.egg-info/top_level.txt +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/setup.cfg +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_anthology_search.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_arxiv_download.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_arxiv_search.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_bitflip.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_document_qa.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_extract_json.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_hf_dataset_search.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_latex.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_review.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_s2.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_server.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_show_image.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_speech_to_text.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_visit_webpage.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_web_search.py +0 -0
- {academia_mcp-1.11.1 → academia_mcp-1.11.3}/tests/test_yt_transcript.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: academia-mcp
|
3
|
-
Version: 1.11.
|
3
|
+
Version: 1.11.3
|
4
4
|
Summary: MCP server that provides different tools to search for scientific publications
|
5
5
|
Author-email: Ilya Gusev <phoenixilya@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/IlyaGusev/academia_mcp
|
@@ -0,0 +1,15 @@
|
|
1
|
+
from pathlib import Path
|
2
|
+
|
3
|
+
from academia_mcp.settings import settings
|
4
|
+
|
5
|
+
DIR_PATH = Path(__file__).parent
|
6
|
+
ROOT_PATH = DIR_PATH.parent
|
7
|
+
DEFAULT_LATEX_TEMPLATES_DIR_PATH: Path = DIR_PATH / "latex_templates"
|
8
|
+
|
9
|
+
|
10
|
+
def get_workspace_dir() -> Path:
|
11
|
+
assert settings.WORKSPACE_DIR is not None, "Please set the WORKSPACE_DIR environment variable"
|
12
|
+
directory = Path(settings.WORKSPACE_DIR)
|
13
|
+
if not directory.exists():
|
14
|
+
directory.mkdir(parents=True, exist_ok=True)
|
15
|
+
return directory
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: academia-mcp
|
3
|
-
Version: 1.11.
|
3
|
+
Version: 1.11.3
|
4
4
|
Summary: MCP server that provides different tools to search for scientific publications
|
5
5
|
Author-email: Ilya Gusev <phoenixilya@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/IlyaGusev/academia_mcp
|
@@ -1,30 +0,0 @@
|
|
1
|
-
from typing import Optional
|
2
|
-
from pathlib import Path
|
3
|
-
|
4
|
-
from academia_mcp.settings import settings
|
5
|
-
|
6
|
-
DIR_PATH = Path(__file__).parent
|
7
|
-
ROOT_PATH = DIR_PATH.parent
|
8
|
-
DEFAULT_WORKSPACE_DIR_PATH: Path = DIR_PATH / "workdir"
|
9
|
-
DEFAULT_LATEX_TEMPLATES_DIR_PATH: Path = DIR_PATH / "latex_templates"
|
10
|
-
|
11
|
-
|
12
|
-
class WorkspaceDirectory:
|
13
|
-
workspace_dir: Optional[Path] = None
|
14
|
-
|
15
|
-
@classmethod
|
16
|
-
def get_dir(cls) -> Path:
|
17
|
-
if cls.workspace_dir is None:
|
18
|
-
return Path(settings.WORKSPACE_DIR)
|
19
|
-
return cls.workspace_dir
|
20
|
-
|
21
|
-
@classmethod
|
22
|
-
def set_dir(cls, workspace_dir: Path) -> None:
|
23
|
-
cls.workspace_dir = workspace_dir
|
24
|
-
|
25
|
-
|
26
|
-
def get_workspace_dir() -> Path:
|
27
|
-
directory = WorkspaceDirectory.get_dir()
|
28
|
-
if not directory.exists():
|
29
|
-
directory.mkdir(parents=True, exist_ok=True)
|
30
|
-
return directory
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|