papers-cli 2.15.2__tar.gz → 2.15.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.
- {papers_cli-2.15.2 → papers_cli-2.15.3}/PKG-INFO +1 -1
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/__main__.py +1 -1
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/_version.py +3 -3
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/bib.py +1 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/filename.py +2 -2
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers_cli.egg-info/PKG-INFO +1 -1
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers_cli.egg-info/SOURCES.txt +0 -1
- papers_cli-2.15.2/papers/compat.py +0 -8
- {papers_cli-2.15.2 → papers_cli-2.15.3}/.gitattributes +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/.github/FUNDING.yml +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/.github/workflows/pypi.yml +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/.github/workflows/tests.yml +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/.gitignore +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/LICENSE +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/README.md +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/__init__.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/config.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/duplicate.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/encoding.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/extract.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/latexenc.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers/utils.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers_cli.egg-info/dependency_links.txt +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers_cli.egg-info/entry_points.txt +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers_cli.egg-info/requires.txt +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/papers_cli.egg-info/top_level.txt +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/pyproject.toml +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/requirements.txt +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/setup.cfg +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/setup.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/__init__.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/common.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/config.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/download.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/downloadedpapers/.gitignore +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/downloadedpapers/bg-8-515-2011.txt +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_add.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_biblio.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_duplicates.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_encoding.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_extract.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_filecheck.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_install.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_list.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_misc.py +0 -0
- {papers_cli-2.15.2 → papers_cli-2.15.3}/tests/test_undo.py +0 -0
|
@@ -10,6 +10,7 @@ import subprocess as sp
|
|
|
10
10
|
import shutil
|
|
11
11
|
import itertools
|
|
12
12
|
import fnmatch # unix-like match
|
|
13
|
+
from slugify import slugify
|
|
13
14
|
|
|
14
15
|
import papers
|
|
15
16
|
from papers import logger
|
|
@@ -21,7 +22,6 @@ from papers.duplicate import list_duplicates, list_uniques, edit_entries
|
|
|
21
22
|
from papers.bib import (Biblio, FUZZY_RATIO, DEFAULT_SIMILARITY, entry_filecheck,
|
|
22
23
|
backupfile as backupfile_func, isvalidkey, DuplicateKeyError, clean_filesdir)
|
|
23
24
|
from papers.utils import move, checksum, view_pdf, open_folder
|
|
24
|
-
from papers.compat import slugify
|
|
25
25
|
from papers import __version__
|
|
26
26
|
|
|
27
27
|
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '2.15.
|
|
32
|
-
__version_tuple__ = version_tuple = (2, 15,
|
|
31
|
+
__version__ = version = '2.15.3'
|
|
32
|
+
__version_tuple__ = version_tuple = (2, 15, 3)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'gccc7b54c0'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Key and file name formatting
|
|
3
3
|
"""
|
|
4
|
-
from
|
|
4
|
+
from slugify import slugify
|
|
5
5
|
from papers.encoding import family_names
|
|
6
6
|
|
|
7
7
|
def listtag(words, maxlength=30, minwordlen=3, n=100, sep='-'):
|
|
@@ -69,7 +69,7 @@ def make_template_fields(
|
|
|
69
69
|
title = UNKNOWN_TITLE
|
|
70
70
|
Title = UNKNOWN_TITLE
|
|
71
71
|
else:
|
|
72
|
-
titlewords =
|
|
72
|
+
titlewords = slugify(entry["title"]).split('-')
|
|
73
73
|
_titles = listtag(
|
|
74
74
|
titlewords,
|
|
75
75
|
n=title_word_num,
|
|
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
|