Package Details: stapler 1.0.0-5

Git Clone URL: https://aur.archlinux.org/stapler.git (read-only, click to copy)
Package Base: stapler
Description: A small utility making use of the pypdf library to provide a (somewhat) lighter alternative to pdftk
Upstream URL: https://github.com/hellerbarde/stapler
Licenses: BSD-3-Clause
Conflicts: stapler-git
Submitter: biginoz
Maintainer: fpvogel
Last Packager: fpvogel
Votes: 87
Popularity: 0.000000
First Submitted: 2010-08-26 17:32 (UTC)
Last Updated: 2026-04-17 23:46 (UTC)

Required by (0)

Sources (1)

Pinned Comments

PhCl commented on 2020-12-09 17:08 (UTC)

As python 3.8 was replaced by python 3.9, you could run into the following error:

Traceback (most recent call last):
  File "/usr/bin/stapler", line 5, in <module>
    from staplelib import main
ModuleNotFoundError: No module named 'staplelib'

To solve it, rebuild "python-pypdf2" and then "stapler". Then the directories for Python 3.9 should exist.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

m040601 commented on 2019-12-03 08:49 (UTC) (edited on 2019-12-03 09:01 (UTC) by m040601)

@oriba:

......QUOTE:it would make sense to have a list of features that really are needed as a minimal replacement for stapler (or pdftk)........

Could not agree more with you. A solid and reliable pdf tool that does this job is a must.

...... QUOTE: I started writing some pdf-tools for myself a while ago,....I might put them on github or so.....

Please do. I'd be happy to provide feedback help with docs etc... (no dev skills)

By the way, apropos PDF tooling, theres the Talk page, https://wiki.archlinux.org/index.php/Talk:PDF,_PS_and_DjVu on the excelent Arch Wiki PDF et al tools overview page

oriba commented on 2019-11-28 00:09 (UTC)

@m040601: oh, relly, they did it? Stapler undead?

oriba commented on 2019-11-28 00:05 (UTC)

In my eyes, the stapler-project is dead. Tried to contact the developer regarding some issues, and the release-numbering was one of the issues. Since months no answer. I started writing some pdf-tools for myself a while ago, nevertheless using stapler quite often. But maybe I will switch to my own tools completely one day. If other people would be interested, I might put them on github or so. But it would make sense to have a list of features that really are needed as a minimal replacement for stapler (or pdftk). At the moment I'm not sure what the current status of stapler is - which possibilities it offers, because I did not checked the current development version of it. Also the syntax of the commands maybe could be better. A Python3-release for Stapler is asked for by different peoples over months. So... a list of minimal commands might encourage me to write a new tool (or set of tools) for pdf-manipulation. Some kind of task-list for the Xmas holidays ;-)

PhCl commented on 2019-11-27 21:18 (UTC)

I'm adopting the package now (unless someone else wants?). The release policy on upstream is a bit confusing, 0.3.2 is indeed newer than 0.4, but both are extremely outdated (2015). Python 3 compatibility came recently, but is only on head. I would wait a bit for the discussion here: https://github.com/hellerbarde/stapler/issues/51 Ideally, there will be an official release to which we can update. Otherwise, bypassing the release and switching to a Git commit would be a temporary workaround, although personally I would prefer an official release.

m040601 commented on 2019-11-23 23:02 (UTC)

Please remove the python2 dependency. Not needed anymore:

https://github.com/hellerbarde/stapler/pull/55 This makes stapler Python 3 compatible while keeping compatibility with Python 2.7,

oriba commented on 2019-06-19 00:12 (UTC)

If looking on github, release 0.3.2 came after 0.4. Don't know why. But it seems to be more recent code, even though it also is old. Could you check, if the 0.3.2 is really newer and if so, could you please update the AUR-package?

Maxr commented on 2015-05-26 11:38 (UTC)

md5sums is wrong. Should be cdcde78931514816a39822952a34a05b

stratosmacker commented on 2015-04-06 22:14 (UTC)

decimal.InvalidOperation: Invalid literal for Decimal: '0.0000-11728996' Is what happens on any "stapler cat" command for me

bjo commented on 2014-06-03 05:41 (UTC)

Amazing. No setup.py.

bjo commented on 2014-06-03 04:37 (UTC)

Thanks for the hint, I will update it.