Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pikepdf/pikepdf

A Python library for reading and writing PDF, powered by QPDF
https://github.com/pikepdf/pikepdf

Fix incomplete rename of topil to as_pil_image

31a12afdec0504e0c43b2849a1d12bf76f94f481 authored over 6 years ago by James R. Barlow <[email protected]>
Add metadata (/Info) access

08b9f689e860beeef1486892c5bc738c539325c0 authored over 6 years ago by James R. Barlow <[email protected]>
Make sure nothing blows up if we delete the page in a file then save

763d1e41c7aa17587afac25a6427ff8bd45aa051 authored over 6 years ago by James R. Barlow <[email protected]>
Tweak README

80916a587e90a8646dea1773f0b648cc25952053 authored over 6 years ago by James R. Barlow <[email protected]>
Change name to extract_to, fix tests

eb9dea9b7b344e17ab4a999f1bb12096e9a5294e authored over 6 years ago by James R. Barlow <[email protected]>
Refactoring PdfImage

0e1f1fc651f3a5681c09e903f2d6062944cbbbc4 authored over 6 years ago by James R. Barlow <[email protected]>
Prohibit /Name with invalid utf-8 bytes

4ef38343bda780db2bc875ec9366d014a98c402c authored over 6 years ago by James R. Barlow <[email protected]>
Allow conversion of pikepdf.Name to str, bytes

48cd6d98bd9f3fedef59adf787642601cf07ad84 authored over 6 years ago by James R. Barlow <[email protected]>
Expand image access capabilities

07bb8b18f61c5ce12db137d9cc36e36e7ae533cd authored over 6 years ago by James R. Barlow <[email protected]>
Fix some hash violations

Ensure bytes objects that are different encodings of the same string
compare equal. Also fix co...

8b74c104a7be8cc521f8cc2e1923804da7a157fd authored over 6 years ago by James R. Barlow <[email protected]>
Remove unnecessary reinterpret_borrow

(This will end calling the move constructor.)

49467f648f6188a5334930ad41b135ecf0288237 authored over 6 years ago by James R. Barlow <[email protected]>
Clean up comments for Unicode

8bb97e77e34edf9205aa729f651bdbc9f4a1db7d authored over 6 years ago by James R. Barlow <[email protected]>
Fix another Unicode issue

U+D800 through U+DFFF (Unicode surrogate pairs) have no UTF-16BE
encoding so Python returned nul...

f779dad6c8e5b6892322ee73eb2a76e13c6672a3 authored over 6 years ago by James R. Barlow <[email protected]>
Update test reqs

8e724eaa4b00af11fc23f7bf28be151595d44224 authored over 6 years ago by James R. Barlow <[email protected]>
docs: tidy wrapping

2ec72124559423968ac7daa4e14e811c33107304 authored over 6 years ago by James R. Barlow <[email protected]>
Mark as alpha, Py3.5+

ba2a8501c6f0087ee4bbd86266089303cb63ca2a authored over 6 years ago by James R. Barlow <[email protected]>
Fix a crash found by hypothesis

3380e59f1108a21acca517c1a149e2bba8757ad8 authored over 6 years ago by James R. Barlow <[email protected]>
Unicode: use ASCII representation when possible

d6ffbf385046aaf23221fb85241b67a78c1001ca authored over 6 years ago by James R. Barlow <[email protected]>
Fix several Unicode problems

It's necessary to call QPDFObjectHandle::newString() with a UTF-16 BE
string with byte order mar...

721d1c2dbfb3e8c19433f5ea6165bc6fbf11c7b1 authored over 6 years ago by James R. Barlow <[email protected]>
Expose normalize_content

54bbb590f1fab66100ee0ee88177de356d53f511 authored over 6 years ago by James R. Barlow <[email protected]>
Fix _parse_stream regressions

04cf81bedb715a5062b483f47c419a1d3e07b84c authored over 6 years ago by James R. Barlow <[email protected]>
Fix hashing for cases where unequal types are comparable

b98ee308f2b39cda65b552fa3ec29fc752784fc1 authored over 6 years ago by James R. Barlow <[email protected]>
Whitelist our extension

95ef94a5ebe14cb4837579b4558b4252436ab8f3 authored over 6 years ago by James R. Barlow <[email protected]>
Implement __instancecheck__ on objects

043374c61740ddff3d1e8aefad94bc6a3178e767 authored over 6 years ago by James R. Barlow <[email protected]>
Improve docs wrt PDF objects

4360d02bdc6435c28b44fe860f2b26a6806bb1b5 authored over 6 years ago by James R. Barlow <[email protected]>
Create classes to stand in for PDF object types

d6628979bcaaa4c4fd16284438f748cce8ad3aae authored over 6 years ago by James R. Barlow <[email protected]>
Now that we have pybind 2.2.3 don't force pip < 10

7ab45fcf639c8600027739dfef0d399f3fc0ded8 authored over 6 years ago by James R. Barlow <[email protected]>
PdfMatrix documentation

c3ca5e37af0c9f845a7ef62f9389b14e97122e5a authored over 6 years ago by James R. Barlow <[email protected]>
Add a harder page replacement test that still passes

50b7a0002162e68295fa4010dc6023fe8dd39be8 authored over 6 years ago by James R. Barlow <[email protected]>
Bind page_contents_coalesce

Didn't need it

ca69a52099f09ef730db8cca1dcb3a78c4672d78 authored over 6 years ago by James R. Barlow <[email protected]>
Add PdfMatrix for CTM manipulation

f2bad8fc1a6647335252952865baddaa5f5f8d10 authored over 6 years ago by James R. Barlow <[email protected]>
Use pybind11 2.2.3 for pip10

1239f6c2f2e3d9be55957fd8361722f7574731ff authored over 6 years ago by James R. Barlow <[email protected]>
Remove __setitem__ object ownership test

For reasons not 100% clear this test was failing on related ocrmypdf work,
when it should have p...

af67a90113d5d5f2a76a564ac857947adcf2cd4f authored over 6 years ago by James R. Barlow <[email protected]>
Add explicit binding to copyForeignObject

2ddd6f5b211aa2fe0f68d097d41a979c0d8bd3cd authored over 6 years ago by James R. Barlow <[email protected]>
Add indirect object handle testing

0703892f8226832595a061d537c6c0c4633f48ad authored over 6 years ago by James R. Barlow <[email protected]>
Test that len(array) works properly

94bdacf1af39950b5a8a81619dd1c4fbae260020 authored over 6 years ago by James R. Barlow <[email protected]>
Add page_contents_add(), ability to attach more streams to page content stream

6b1812aa9d637b72a39ac9a94d1d66712ce31891 authored over 6 years ago by James R. Barlow <[email protected]>
Add .images API

83932935f8b99cd8e14512c56648f1735070cfbd authored over 6 years ago by James R. Barlow <[email protected]>
Try pip < 10

b2c53c095f1034fc0d093906f54cf9c6c375bcef authored over 6 years ago by James R. Barlow <[email protected]>
Fix some encoding mojibake

d3fabc0911243d78b5647f5d7afe1ccf8290fb5f authored over 6 years ago by James R. Barlow <[email protected]>
Make dictionary get methods work on streams

Make getattr, getitem dunders and .get() share code to avoid inconsistency,
and make them consis...

62c8f22f62749bce28941cb31853bea533ec4966 authored over 6 years ago by James R. Barlow <[email protected]>
Make pikepdf.open() work, as a convenience function

bc7afc7363451e79e0c0764f16aacdd17b84953d authored over 6 years ago by James R. Barlow <[email protected]>
CIBW is pretty broken...

f06e70975d64ac85a61a7c4adba392901780a712 authored over 6 years ago by James R. Barlow <[email protected]>
Try certifi

aadb0b36b2305313a23c6c4c12b3bb3884068ad6 authored over 6 years ago by James R. Barlow <[email protected]>
Seems like Travis is wrong Python?

1d5aa7af9d2cd58563e81dd8394fc1852eee4925 authored over 6 years ago by James R. Barlow <[email protected]>
Try to fix macOS build failure

b738cef1e45b726974d8695d69da78515eb70b11 authored over 6 years ago by James R. Barlow <[email protected]>
Fix spelling of setuptools_scm

bae627fc5e6cc28d418d38b24848b5c3df1fdd19 authored over 6 years ago by James R. Barlow <[email protected]>
Travis: hopefullly avoid shell_session_update

058edbbe0f497c3c792c3a008433e295fe9d374d authored over 6 years ago by James R. Barlow <[email protected]>
Try pip without user everywhere

80d8f1cfb6529b694ca210907cddbc8736792627 authored almost 7 years ago by James R. Barlow <[email protected]>
Another Travis attempt

254d833903f68d4a5fe310dbdbaf6a01d119cef3 authored almost 7 years ago by James R. Barlow <[email protected]>
Revert "Revised to work around macOS wheel issue"

This reverts commit 56f7fabfc13e88013354249b053099186dd00fa3.

4db39dc5a14fe3f152070301b9dd96f599f240de authored almost 7 years ago by James R. Barlow <[email protected]>
Revised to work around macOS wheel issue

Running cibuildwheel inside a virtualenv is not a good idea.

56f7fabfc13e88013354249b053099186dd00fa3 authored almost 7 years ago by James R. Barlow <[email protected]>
Fix macOS travis failure, probably

1302eff2e343dc8639bc32530f051d85c98376f6 authored almost 7 years ago by James R. Barlow <[email protected]>
Update travis for qpdf 8.0.2

fae6bc740de662fbb08cf0766dff2410d6961760 authored almost 7 years ago by James R. Barlow <[email protected]>
Fix infinite loop on parse non-stream object

ef714ed4c28fed9b5a44f8389f7e1dc81924c188 authored almost 7 years ago by James R. Barlow <[email protected]>
Fix failing test after 8.0.0 upgrade

9fb3e71922fb9f34b6e0e5cb7250caa012a9e22d authored almost 7 years ago by James R. Barlow <[email protected]>
Do more thorough refcount checkign

dac87b2e8ebee82b08fa808f0d828ea047a5e518 authored about 7 years ago by James R. Barlow <[email protected]>
Start documenting the object model

061e5c2b14637cb4e36f4ea3bd743e90ecbc311e authored about 7 years ago by James R. Barlow <[email protected]>
Improve type_caster

pybind11 people indicated that all three cast() overloads of type_caster_base really ought to be...

7b79b70f5451c74018002fa953dbe2920e2c2092 authored about 7 years ago by James R. Barlow <[email protected]>
Make a note of interesting changes to type caster before deleting it all

4589d63793fe2d35676290214e2621367d84ce40 authored about 7 years ago by James R. Barlow <[email protected]>
Improve tutorial

b10639fea854f2841dd2c3d5a5fd5e98ee96111a authored about 7 years ago by James R. Barlow <[email protected]>
Fix custom type caster

Discussion in pybind11 issue #1176

bcafb72bf0b89616a2a22b444fb4a928d1157be3 authored about 7 years ago by James R. Barlow <[email protected]>
Allow Object() constructor - why not?

f6571154a38188642ce68b78dc8e1c8aad34f741 authored about 7 years ago by James R. Barlow <[email protected]>
Fix C++11 build issues

2ddbe39cd9fc48b65d669e8fe9457c9da0afde90 authored about 7 years ago by James R. Barlow <[email protected]>
Use keep_alive_impl instead of inc_ref

We're not supposed to touch it, of course, but it may be the best option for now. An alternative...

a33ed01d6eceb1c4651612abb53c72ea079bad3e authored about 7 years ago by James R. Barlow <[email protected]>
Doesn't seem to be necessary to explicitly create to lambda fns for shared_ptr types

d1ff2f1c5c460ce3e7021217e37f89d5b40d15e2 authored about 7 years ago by James R. Barlow <[email protected]>
Some tweaks

f10401c1181469dccd14bfaed1c7369a7ea6fba2 authored about 7 years ago by James R. Barlow <[email protected]>
With custom type caster, these keep_alives are no longer needed and

probably responsible for leaking memory

9eae0b6d989c08d827b14a5533cbb0b0baa0e6b0 authored about 7 years ago by James R. Barlow <[email protected]>
Stream should be working with shared_ptr<> now

b6365c614c4ac356dafd329c33c5bcbd694a6664 authored about 7 years ago by James R. Barlow <[email protected]>
The only thing that solves all causes seems to be the custom type caster

Note this fact now. Almost certainly leaks memory, however

b5f16cf08df265a65a8dc6552732f23844b6e147 authored about 7 years ago by James R. Barlow <[email protected]>
Fix header compilation

63e45ec2a391c11457090bd63325cae2c40b6622 authored about 7 years ago by James R. Barlow <[email protected]>
All tests passed, issue resolved for now

65ec52d767aa81710e237d2a587998e3cb4cfb3b authored about 7 years ago by James R. Barlow <[email protected]>
Setting keepalives on all of the accessors allows test_image_access tests to pass

Getting some weak reference errors now

c1f5796260067f46f034fe06ffb4e655ba81ef77 authored about 7 years ago by James R. Barlow <[email protected]>
Use only shared_ptr<QPDF>

6f8223902b779933a0f236ba85d2008ed66cc973 authored about 7 years ago by James R. Barlow <[email protected]>
Nevermind, it's not fixed

It appears to only be fixed when the pyqpdf.inc_ref() is hacked in via custom type conversion be...

f88e7eb8bbd7add9add4e6b3cd6dc1beb1fb2597 authored about 7 years ago by James R. Barlow <[email protected]>
XObject crash fixed!

It seems sufficient to wrap QPDF with a shared_ptr, and prevent wild QPDF* from escaping.

3fbb908f5a445604d042ca9826acef135bee8051 authored about 7 years ago by James R. Barlow <[email protected]>
Having PdfImage explicitly keep a reference solves the refcount program for it, but not for not converted Stream objects that rely on access to the underlying PDF

24fda959dcac5744ee5f985b347dca26c6f374f2 authored about 7 years ago by James R. Barlow <[email protected]>
Attempted adding custom type conversion

Based on pybind11 Gitter advice, although this is probably not the ideal solution. Does not work...

1d50b8486200c9b06e4dc9465cc371be0c2a9767 authored about 7 years ago by James R. Barlow <[email protected]>
Insist on garbage collection in keep alive test

525e0d5169fb921ffef026ba99d05f618fdd5a87 authored about 7 years ago by James R. Barlow <[email protected]>
Interestingly using test fixtures here causes a crash... why?

35c1afd5d0ad740ba96ec0571e7fe5d8f5e5b49b authored about 7 years ago by James R. Barlow <[email protected]>
Expand readme a bit

2db6f20e900016a9c7919b659c39ea589257c1ae authored about 7 years ago by James R. Barlow <[email protected]>
Indicate type of dictionary more clearly

40e77dd00a25820a17ea1f943bcbdc3f9419198d authored about 7 years ago by James R. Barlow <[email protected]>
Move page_to_svg to pdfimage

b1e16cb5adbb9f8760246d4e8a69f8e79c81b83e authored about 7 years ago by James R. Barlow <[email protected]>
We can now write to .svg

2740713c4c529f0566c6e4d0c30156b0e45b6eaa authored about 7 years ago by James R. Barlow <[email protected]>
Add _repr_pdf for pages, but doesn't work that well... Jupyter problem?

fe038c843c00f71bfcf3084fc70f989483affee8 authored about 7 years ago by James R. Barlow <[email protected]>
PdfImage: Add PIL-style repr

5131dc096d64274f1f7d41b704e996d0c9827d03 authored about 7 years ago by James R. Barlow <[email protected]>
Recursion check on equality

1ba0c5f855d223c05e62fc6bfe8d5d679974fd74 authored about 7 years ago by James R. Barlow <[email protected]>
Do some stack checking

a587259840779864fb7f75f01227933906f4b903 authored about 7 years ago by James R. Barlow <[email protected]>
Silence debug message

0ef27986ffb266cf69cd4643c5ce2637a834ed40 authored about 7 years ago by James R. Barlow <[email protected]>
Support encoding/decoding of False, True, None and nested arrays

9a17fea595695243e97a4d52925c4d61fc9892e7 authored about 7 years ago by James R. Barlow <[email protected]>
Do dictionary equality too

24692fbed7fdb3f110ea6933162155bee461208f authored about 7 years ago by James R. Barlow <[email protected]>
Do indirect object identity test earlier

2a38eb943e2d2d6d316c8ee12fcf44e1f222e9bd authored about 7 years ago by James R. Barlow <[email protected]>
Add wrapper class to provide image handling support

a54139899f3b4d78c021f86b75bc77b024f959f8 authored about 7 years ago by James R. Barlow <[email protected]>
Improve object equality checking

998e74cd2e0bd413888c1d8c1aa1b51df2dba7b2 authored about 7 years ago by James R. Barlow <[email protected]>
Improve equality testing on string types

de5b55bacb7bd25fac403042aba109c34bcaa310 authored about 7 years ago by James R. Barlow <[email protected]>
Remove ot_ prefix from ObjectType for Python names

aea5b1d32eabf7c0225639a08657e63575917435 authored about 7 years ago by James R. Barlow <[email protected]>
Move Object constructors out of Object. namespace

For now just put them in pikepdf, could go in pikepdf.types or something too.

b2b18ed917b0e863b5affb4b560b6da5433dfd8b authored about 7 years ago by James R. Barlow <[email protected]>
PageList: Make class method naming convention consistent

c16fec11ed64d007954fa4b1ad0c4dea72fab3fc authored about 7 years ago by James R. Barlow <[email protected]>
Refactor out PageList

e94a9713e40f8ebcf1423e71a6fc8a0b6d78835b authored about 7 years ago by James R. Barlow <[email protected]>
Comments

8213a075ebd82c25bd8fd1794350b9c2f0949209 authored about 7 years ago by James R. Barlow <[email protected]>