python3 port

10 views
Skip to first unread message

Fabien Millerand

unread,
Feb 17, 2017, 10:18:53 AM2/17/17
to imdbpy-devel
Hi,


I was in need of a python3 port of your project. So far it is a bit of a gross hack but I was wondering if you would like to develop it further, or at least if I could publish it (referencing your own project of course).

I would also be glad to get some answers about what is actuallly is built in C.

Allso I figured out that the beautifulsoup module you are using is way outdated. I am using lxml as bs4 is not comptible anymore out of the box.

Anyway, if you want/have time to help me out, I am all ears.

Cheers,
Fabien 

Davide Alberani

unread,
Feb 20, 2017, 3:08:53 PM2/20/17
to imdbpy...@googlegroups.com, Fabien Millerand
On Fri, Feb 17, 2017 at 4:18 PM, Fabien Millerand <mill...@gmail.com> wrote:
>
> I was in need of a python3 port of your project. So far it is a bit of a
> gross hack but I was wondering if you would like to develop it further, or
> at least if I could publish it (referencing your own project of course).

Cool. :-)
Do you have a fork on bitbucket or github?

> I would also be glad to get some answers about what is actuallly is built in
> C.

Just a couple of function to speed-up some fuzzy string comparison.
It's used when searching the SQL database. If not present, a slower
pure-Python implementation is used.

> Allso I figured out that the beautifulsoup module you are using is way
> outdated. I am using lxml as bs4 is not comptible anymore out of the box.

Ok, that's not a big deal after all.

> Anyway, if you want/have time to help me out, I am all ears.

IMDbPY is suffering from the lack of maintainers (me, above all), so
any help is welcome.

I think we should reduce a little the scope of the project: the SQL
part, while it has its
problems (mostly when the db is populated), is quite stable.
The web parts... is always on the verge of being completely obsolete,
but it's also really
useful to many projects out there.
Not sure what can we do about it... maybe I'll discuss this in another
email, later. ;-)


Thanks for your help!

--
Davide Alberani <davide....@gmail.com> [PGP KeyID: 0x3845A3D4AC9B61AD]
http://www.mimante.net/

Fabien Millerand

unread,
Feb 21, 2017, 3:36:19 AM2/21/17
to Davide Alberani, imdbpy...@googlegroups.com

> On 20 Feb 2017, at 21:08, Davide Alberani <davide....@gmail.com> wrote:
>
> On Fri, Feb 17, 2017 at 4:18 PM, Fabien Millerand <mill...@gmail.com> wrote:
>>
>> I was in need of a python3 port of your project. So far it is a bit of a
>> gross hack but I was wondering if you would like to develop it further, or
>> at least if I could publish it (referencing your own project of course).
>
> Cool. :-)
> Do you have a fork on bitbucket or github?

No, not yet

>
>> I would also be glad to get some answers about what is actuallly is built in
>> C.
>
> Just a couple of function to speed-up some fuzzy string comparison.
> It's used when searching the SQL database. If not present, a slower
> pure-Python implementation is
> used.


Ok, it can be added later then.

>
>> Allso I figured out that the beautifulsoup module you are using is way
>> outdated. I am using lxml as bs4 is not comptible anymore out of the box.
>
> Ok, that's not a big deal after all.


Yes, maybe removing it entirely and adding lxml as a dependency could be enough..

>
>> Anyway, if you want/have time to help me out, I am all ears.
>
> IMDbPY is suffering from the lack of maintainers (me, above all), so
> any help is welcome.
>

I bet ;)

> I think we should reduce a little the scope of the project: the SQL
> part, while it has its
> problems (mostly when the db is populated), is quite stable.
> The web parts... is always on the verge of being completely obsolete,
> but it's also really
> useful to many projects out there.

I would need to look more into the project. I think so far I am only using the web part… And that is the one I just fixed.

I guess we could discuss about all that a bit later. I need to finish some part of the project I am working on now. Then I will think about doing this “port” properly ;)

Thanks for the answer
Reply all
Reply to author
Forward
0 new messages