[Python] Fwd: psycopg3: request for support

2020-03-06 Thread Marco De Paoli
grande Daniele!!
... prepared statements, pure python, copy to/from con iteratori,
transazionalità ricorsiva ... async!! ... wow

un grazie sentito a Daniele per tutto il lavoro su psycopg2 e buon lavoro
per il 3!

adesso mi attivo per il founding...
cosa che invito anche voi lista a valutare

ciao!
Marco

-- Forwarded message -
Da: Daniele Varrazzo 
Date: ven 6 mar 2020 alle ore 11:31
Subject: psycopg3: request for support
To: 


As the people who know me from the software world know, I have been
psycopg2 maintainer for a good 10 years. During this time the library
has become the de-facto standard for Python and PostgreSQL
interoperation and I have learned all the good and all the bad of it
from thousands of users. I'm proud of the good, and I would love to
fix the bad.

I have wanted to write a worthy successor of psycopg2 for a long time,
but it hasn't been really possible because of that thing called *real
job*. I know myself, I am a pretty single-threaded person, and the
enthusiasm I would have poured into writing psycopg3 would have likely
sent my employer bust.

But there's good news! I don't have an employment now! :)

So I could dedicate plenty of time to write psycopg3... if only I
didn't have that background fear and need for stability that is
screaming that I cannot enjoy the simple things of life (playing
ukulele, making photography, writing database adapters...) but that I
have to find another employment ASAP.

Many companies have thrived thanks to the ease of development on the
Python/Postgres platform: it would be great if they could give back
some support to the project and help me writing a psycopg
implementation fit for the challenges of the roaring 20s!

I have written an article explaining my plans for the adapter and what
it would look like:
https://www.varrazzo.com/blog/2020/03/06/thinking-psycopg3/ Please let
me know what you think, and if you would like to help me to make it
happen please consider a contribution to keep me away from finding a
proper job! Thank you!

-- Daniele
___
Python mailing list
Python@lists.python.it
https://lists.python.it/mailman/listinfo/python


Re: [Python] Fwd: psycopg3: request for support

2020-03-06 Thread Marco Beri
Proud to be the first sponsor of Daniele!

Fatelo tutti.

Ciao.
Marco.

P.s. non ho provvigioni 😁

On Fri, 6 Mar 2020, 14:50 Marco De Paoli,  wrote:

> grande Daniele!!
> ... prepared statements, pure python, copy to/from con iteratori,
> transazionalità ricorsiva ... async!! ... wow
>
> un grazie sentito a Daniele per tutto il lavoro su psycopg2 e buon lavoro
> per il 3!
>
> adesso mi attivo per il founding...
> cosa che invito anche voi lista a valutare
>
> ciao!
> Marco
>
> -- Forwarded message -
> Da: Daniele Varrazzo 
> Date: ven 6 mar 2020 alle ore 11:31
> Subject: psycopg3: request for support
> To: 
>
>
> As the people who know me from the software world know, I have been
> psycopg2 maintainer for a good 10 years. During this time the library
> has become the de-facto standard for Python and PostgreSQL
> interoperation and I have learned all the good and all the bad of it
> from thousands of users. I'm proud of the good, and I would love to
> fix the bad.
>
> I have wanted to write a worthy successor of psycopg2 for a long time,
> but it hasn't been really possible because of that thing called *real
> job*. I know myself, I am a pretty single-threaded person, and the
> enthusiasm I would have poured into writing psycopg3 would have likely
> sent my employer bust.
>
> But there's good news! I don't have an employment now! :)
>
> So I could dedicate plenty of time to write psycopg3... if only I
> didn't have that background fear and need for stability that is
> screaming that I cannot enjoy the simple things of life (playing
> ukulele, making photography, writing database adapters...) but that I
> have to find another employment ASAP.
>
> Many companies have thrived thanks to the ease of development on the
> Python/Postgres platform: it would be great if they could give back
> some support to the project and help me writing a psycopg
> implementation fit for the challenges of the roaring 20s!
>
> I have written an article explaining my plans for the adapter and what
> it would look like:
> https://www.varrazzo.com/blog/2020/03/06/thinking-psycopg3/ Please let
> me know what you think, and if you would like to help me to make it
> happen please consider a contribution to keep me away from finding a
> proper job! Thank you!
>
> -- Daniele
>
>
> ___
> Python mailing list
> Python@lists.python.it
> https://lists.python.it/mailman/listinfo/python
>
___
Python mailing list
Python@lists.python.it
https://lists.python.it/mailman/listinfo/python


[Python] Non scrive tutte le cartelle ed i file.

2020-03-06 Thread Gabriele Battaglia

Buondì.
Questa utility l'ho scritta per un'amica che mi chiedeva come fare per 
salvare il contenuto dei suoi archivi di file e cartelle, in un file .txt.


So che ci sono altri modi per farlo, tipo redirigere l'output di stdout 
direttamente in un file ma io...  colto da un momento di cavalleresca 
esaltazione, mi ci sono messo in prima persona e beh, mi sono 
bruciato qualsiasi possibilità di uscire con lei, data la magra figura.


Quello che ho scritto è questo:

https://www.dropbox.com/s/o3hfcw093i4mei5/cartella.py?dl=0

Che sembrerebbe anche funzionare bene, se non fosse che... non va su 
cartelle di grosse dimensioni.
Non so esattamente quanto debbano essere grosse, per mettere in crisi lo 
script, ne se dipenda dal numero di nidificazioni piuttosto che da 
quello degli oggetti contenuti... Non saprei.


Qualcuno di voi ha per caso voglia di dargli un'occhiata?
Niente virus, promesso, il COVID19 già basta per tutti. Lo script si 
limita a scrivere un file di testo.


Gabriele.

--
Gabriele Battaglia, IZ4APU (Libero)
Sent from TB on Windows 10, Genus Bononiae's computer.
___
Python mailing list
Python@lists.python.it
https://lists.python.it/mailman/listinfo/python


Re: [Python] Non scrive tutte le cartelle ed i file.

2020-03-06 Thread Gianni Piccini

Il 06/03/20 15:08, Gabriele Battaglia ha scritto:

Che sembrerebbe anche funzionare bene, se non fosse che... non va su 
cartelle di grosse dimensioni.
Non so esattamente quanto debbano essere grosse, per mettere in crisi lo 
script, ne se dipenda dal numero di nidificazioni piuttosto che da 
quello degli oggetti contenuti... Non saprei.


Se non da errori, erche' non provi a salvare il l'ultimo nome file 
letto, e poi casomai lo rimuovi per vedere se e' quello che da' problemi?

___
Python mailing list
Python@lists.python.it
https://lists.python.it/mailman/listinfo/python


Re: [Python] Non scrive tutte le cartelle ed i file.

2020-03-06 Thread Gabriele Battaglia


> Il giorno 6 mar 2020, alle ore 19:04, Gianni Piccini  ha 
> scritto:
> 
> Il 06/03/20 15:08, Gabriele Battaglia ha scritto:
> 
>> Che sembrerebbe anche funzionare bene, se non fosse che... non va su 
>> cartelle di grosse dimensioni.
>> Non so esattamente quanto debbano essere grosse, per mettere in crisi lo 
>> script, ne se dipenda dal numero di nidificazioni piuttosto che da quello 
>> degli oggetti contenuti... Non saprei.
> 
> Se non da errori, erche' non provi a salvare il l'ultimo nome file letto, e 
> poi casomai lo rimuovi per vedere se e' quello che da' problemi?
Ciao Gianni. Grazie ma il problema temo sia diverso: non c’è un singolo file 
che gli impedisce di terminare il suo processo.
Ne scrive un grande numero ma, arriva ad un certo punto in cui inspiegabilmente 
si ferma e taglia via intere cartelle e sottocartelle… Come se avesse un 
problema di memoria insufficiente. Cosa per altro direi impossibile.
Grazie comunque.
Gabriele.

___
Python mailing list
Python@lists.python.it
https://lists.python.it/mailman/listinfo/python


Re: [Python] Non scrive tutte le cartelle ed i file.

2020-03-06 Thread Gianni Piccini

Il 06/03/20 23:48, Gabriele Battaglia ha scritto:


arriva ad un certo punto in cui inspiegabilmente si ferma


Appunto sarebbe interessante capire quale e' questo punto. A quel punto 
uno va a vedere il motivo, magari uno capisce cosa e' il problema. 
Stampa pure a video o usa un file di supporto per loggare, magari il 
problema e' che legge e non scrive (ora non ricordo piu' cosa avevi 
fatto di preciso): poi non so, Windows non lo uso e non saprei dire di piu'.

___
Python mailing list
Python@lists.python.it
https://lists.python.it/mailman/listinfo/python