Re: [Offline-l] [OPENZIM] Introducing Python-libzim

2020-07-15 Thread Emmanuel Engelhart
Hi Tommi

We do our best, thank you for your legacy!

Emmmanuel

On 10.07.20 22:26, Tommi Mäkitalo wrote:
> Hi,
> 
> Really cool. Nice to hear, that libzim is in good shape. Thank you for
> your work.
> 
> 
> Tommi
> 
> Am 03.07.20 um 16:40 schrieb Emmanuel Engelhart:
>> Hi
>>
>> I'm happy to introduce you to Python-libzim.
>>
>> Python-libzim package allows you to read/write ZIM files in Python. It
>> provides a shallow Python interface on top of the libzim C++ library. It
>> supports out-of-the-box macOS and GNU/Linux. For the other OSes you will
>> have to compile the libzim manually.
>>
>> After Node.js, this is the second scripting language for which openZIM
>> proposes a binding of its famous reference implementation of the ZIM
>> open specification. This move is really important to allow more people
>> to benefit of the file format and ZIM files already published.
>>
>> On our side, Python-libzim was critical for a few other projects which
>> are currently running. In the next months a few critical scrapers will
>> be migrated from zimwriterfs to python-libzim and benefit of a sensitive
>> code simplification and speed-up.
>>
>> Install easily python-libzim with pip and give it a try:
>> https://pypi.org/project/libzim/
>>
>> Happy coding!
>>
>> Regards
>> Emmanuel
>>
>> ___
>> Offline-l mailing list
>> Offline-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/offline-l
> 
> ___
> Offline-l mailing list
> Offline-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/offline-l
> 


-- 
Kiwix - Wikipedia Offline & more
* Web: https://kiwix.org/
* Twitter: https://twitter.com/KiwixOffline
* Wiki: https://wiki.kiwix.org/



signature.asc
Description: OpenPGP digital signature
___
Offline-l mailing list
Offline-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/offline-l


Re: [Offline-l] [OPENZIM] Introducing Python-libzim - Youtube2zim updated

2020-07-15 Thread Emmanuel Engelhart
Hi

We have now updated our first scraper to use Python-libzim: youtube2zim,
cf. https://pypi.org/project/youtube2zim/

See release 2.1.7 Changelog:
* using zimscraperlib 1.2.0
* replaced zimwriterfs with pylibzim
* tmp-dir now sanitized as build-dir
* fixed --debug not forwarded in playlists mode
* changed workdir to /output in docker image

As a consequence, anybody on macOS or GNU/Linux can now simply install
and then create ZIM files from a Youtube channel/user/playlist with
youtube2zim:
$sudo pip3 install -U youtube2zim
$youtube2zim --help

Other scrapers to follow in the next weeks.

Regards
Emmanuel

On 03.07.20 16:40, Emmanuel Engelhart wrote:
> Hi
> 
> I'm happy to introduce you to Python-libzim.
> 
> Python-libzim package allows you to read/write ZIM files in Python. It
> provides a shallow Python interface on top of the libzim C++ library. It
> supports out-of-the-box macOS and GNU/Linux. For the other OSes you will
> have to compile the libzim manually.
> 
> After Node.js, this is the second scripting language for which openZIM
> proposes a binding of its famous reference implementation of the ZIM
> open specification. This move is really important to allow more people
> to benefit of the file format and ZIM files already published.
> 
> On our side, Python-libzim was critical for a few other projects which
> are currently running. In the next months a few critical scrapers will
> be migrated from zimwriterfs to python-libzim and benefit of a sensitive
> code simplification and speed-up.
> 
> Install easily python-libzim with pip and give it a try:
> https://pypi.org/project/libzim/
> 
> Happy coding!
> 
> Regards
> Emmanuel
> 
> 
> ___
> Offline-l mailing list
> Offline-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/offline-l
> 


-- 
Kiwix - Wikipedia Offline & more
* Web: https://kiwix.org/
* Twitter: https://twitter.com/KiwixOffline
* Wiki: https://wiki.kiwix.org/



signature.asc
Description: OpenPGP digital signature
___
Offline-l mailing list
Offline-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/offline-l


Re: [Offline-l] [OPENZIM] Introducing Python-libzim

2020-07-07 Thread Chase Pettet
Awesome!  Thanks for this work.

On Fri, Jul 3, 2020 at 9:41 AM Emmanuel Engelhart  wrote:

> Hi
>
> I'm happy to introduce you to Python-libzim.
>
> Python-libzim package allows you to read/write ZIM files in Python. It
> provides a shallow Python interface on top of the libzim C++ library. It
> supports out-of-the-box macOS and GNU/Linux. For the other OSes you will
> have to compile the libzim manually.
>
> After Node.js, this is the second scripting language for which openZIM
> proposes a binding of its famous reference implementation of the ZIM
> open specification. This move is really important to allow more people
> to benefit of the file format and ZIM files already published.
>
> On our side, Python-libzim was critical for a few other projects which
> are currently running. In the next months a few critical scrapers will
> be migrated from zimwriterfs to python-libzim and benefit of a sensitive
> code simplification and speed-up.
>
> Install easily python-libzim with pip and give it a try:
> https://pypi.org/project/libzim/
>
> Happy coding!
>
> Regards
> Emmanuel
> --
> Kiwix - Wikipedia Offline & more
> * Web: https://kiwix.org/
> * Twitter: https://twitter.com/KiwixOffline
> * Wiki: https://wiki.kiwix.org/
>
> ___
> Offline-l mailing list
> Offline-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/offline-l
>
___
Offline-l mailing list
Offline-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/offline-l


Re: [Offline-l] [OPENZIM] Introducing Python-libzim

2020-07-03 Thread Wilfredo Rodríguez
Excellent good news, this will allow developing many tools more easily.
*Wilfredo Rodríguez*


El vie., 3 de jul. de 2020 a la(s) 10:41, Emmanuel Engelhart (
kel...@kiwix.org) escribió:

> Hi
>
> I'm happy to introduce you to Python-libzim.
>
> Python-libzim package allows you to read/write ZIM files in Python. It
> provides a shallow Python interface on top of the libzim C++ library. It
> supports out-of-the-box macOS and GNU/Linux. For the other OSes you will
> have to compile the libzim manually.
>
> After Node.js, this is the second scripting language for which openZIM
> proposes a binding of its famous reference implementation of the ZIM
> open specification. This move is really important to allow more people
> to benefit of the file format and ZIM files already published.
>
> On our side, Python-libzim was critical for a few other projects which
> are currently running. In the next months a few critical scrapers will
> be migrated from zimwriterfs to python-libzim and benefit of a sensitive
> code simplification and speed-up.
>
> Install easily python-libzim with pip and give it a try:
> https://pypi.org/project/libzim/
>
> Happy coding!
>
> Regards
> Emmanuel
> --
> Kiwix - Wikipedia Offline & more
> * Web: https://kiwix.org/
> * Twitter: https://twitter.com/KiwixOffline
> * Wiki: https://wiki.kiwix.org/
>
> ___
> Offline-l mailing list
> Offline-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/offline-l
>
___
Offline-l mailing list
Offline-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/offline-l


[Offline-l] [OPENZIM] Introducing Python-libzim

2020-07-03 Thread Emmanuel Engelhart
Hi

I'm happy to introduce you to Python-libzim.

Python-libzim package allows you to read/write ZIM files in Python. It
provides a shallow Python interface on top of the libzim C++ library. It
supports out-of-the-box macOS and GNU/Linux. For the other OSes you will
have to compile the libzim manually.

After Node.js, this is the second scripting language for which openZIM
proposes a binding of its famous reference implementation of the ZIM
open specification. This move is really important to allow more people
to benefit of the file format and ZIM files already published.

On our side, Python-libzim was critical for a few other projects which
are currently running. In the next months a few critical scrapers will
be migrated from zimwriterfs to python-libzim and benefit of a sensitive
code simplification and speed-up.

Install easily python-libzim with pip and give it a try:
https://pypi.org/project/libzim/

Happy coding!

Regards
Emmanuel
-- 
Kiwix - Wikipedia Offline & more
* Web: https://kiwix.org/
* Twitter: https://twitter.com/KiwixOffline
* Wiki: https://wiki.kiwix.org/



signature.asc
Description: OpenPGP digital signature
___
Offline-l mailing list
Offline-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/offline-l