EuroPython 2020: First part of the program available

2020-05-10 Thread M.-A. Lemburg
Our program work group (WG) has been working hard over the last week
to select the first batch of sessions for EuroPython 2020, based on
your talk voting and our diversity criteria.

We’re now happy to announce the first 60 talks, brought to you by 61
speakers.

   * EuroPython 2020 Session List *

https://ep2020.europython.eu/events/sessions/


We will have over 80 sessions for EP2020


Tomorrow, we will open the second CFP to fill the additional slots we
have added for the Americas, India/Asian/Pacific time zones. This will
then complete the program for EP2020, with over 80 sessions by more
than 80 speakers waiting for you — from all over the world !

https://blog.europython.eu/post/617552560206872576/europython-2020-second-call-for-proposals-cfp

Waiting List


Some talks are still in the waiting list. We will inform all speakers
who have submitted talks about the selection status by email.

Full Schedule
-

The full schedule will be available shortly after we have completed
the second CFP, later in May.

Conference Tickets
--

Conference tickets are available on our registration page. We have
simplified and greatly reduced the prices for the EP2020 online
edition.

As always, all proceeds from the conference will go into our grants
budget, which we use to fund financial aid for the next EuroPython
edition, special workshops and other European conferences and
projects:

* EuroPython Society Grants Program *

  https://www.europython-society.org/grants


We hope to see lots of you at the conference in July. Rest assured
that we’ll make this a great event again — even within the limitations
of running the conference online.


Help spread the word


Please help us spread this message by sharing it on your social
networks as widely as possible. Thank you !

Link to the blog post:

https://blog.europython.eu/post/617740494311718912/europython-2020-first-part-of-the-program

Tweet:

https://twitter.com/europython/status/1259500793096527872


Thanks,
--
EuroPython 2020 Team
https://ep2020.europython.eu/
https://www.europython-society.org/

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Concatenation of multiple video files in single file

2020-05-10 Thread Grant Edwards
On 2020-05-09, Chris Angelico  wrote:
> On Sun, May 10, 2020 at 8:50 AM Akshay Ghodake  
> wrote:
>
>> I want a help to concatenation of multiple video files into a single file
>> in python.
>>
>> Any help will be greatly appreciated.
>
> Step 1:
> import subprocess
>
> Step 2:
> Run ffmpeg

Definitely.

Mencoder does a nice job with some containers (particularly AVI), but
ffmpeg is probably more actively maintained and more widely applicable.

If you would rather spend weeks instead of minutes, you could try
using Python ffmpeg bindings:

https://github.com/kkroening/ffmpeg-python

That will take a lot longer to develop and work and won't as well.

If you would rather spend years instead of weeks, you start with this:

import sys
infile = open(sys.argv[1],'rb')
outfile = open(sys.argv[2],'wb')
print("Converting %s to %s" % (sys.argv[1],sys.argv[2]))
# some stuff goes here
infile.close()
outfile.close()

Then you study the specifications for the container formats you want
to support, the audio and video codecs you want to support, and fill
in 'some stuff'.  This will take, much, much longer to develop and
mostly just won't work, period.  You will learn a lot more, though. :)

--
Grant

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Should setuptools version propagate to a module's __version__? If so, how?

2020-05-10 Thread John Ladasky
On Saturday, May 9, 2020 at 8:17:19 PM UTC-7, Cameron Simpson wrote:
> I also autopatch the module itself to 
> set __version__ to match when I make that release tag.

Yes, that's exactly what the module I wrote for my company's internal use does. 
 The official version number is hard-coded into setup.py.  My setup.py opens my 
module's __init__.py, and patches the line that starts with "__version__ = ".

I can see that this approach is one of several suggested approaches described 
in the Python packaging guide.  If I'm going to work with a package that 
eventually ends up on PyPI, I want to make sure that I don't do something 
unexpected or fragile.
-- 
https://mail.python.org/mailman/listinfo/python-list


How to translate this SQL query to Pandas query

2020-05-10 Thread facerias
I need to translate this SQL query to Pandas:

SELECT *
 FROM df_dicodes AS di 
 LEFT OUTER JOIN df_2 AS h2
 ON di.Dicode = h2.NM_code AND 
(datetime(julianday(datetime(di.LastResolDate))) - 
datetime(julianday(datetime(h2.FechaLectura))) < 180)
 AND ((di.Oficina=h2.Centro AND di.Incidencia=h2.`Num Ticket`)
 OR (di.Incidencia=h2.`Num Ticket` AND (di.Oficina=h2.Centro OR h2.Centro 
BETWEEN '22015' AND '22025')
 OR (di.Incidencia=h2.`Num Ticket` AND (di.Oficina <> h2.Centro OR 
h2.Centro BETWEEN '22015' AND '22025')))
 OR (di.Oficina=h2.Centro))
ORDER BY di.Oficina;


df_result = pd.merge(df_dicodes, df_2, how='left', left_on=['Dicode'], 
right_on=['NM_Code'])

How could I continue this merge?

Thanks!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Should setuptools version propagate to a module's __version__? If so, how?

2020-05-10 Thread Cameron Simpson

On 10May2020 13:00, John Ladasky  wrote:

On Saturday, May 9, 2020 at 8:17:19 PM UTC-7, Cameron Simpson wrote:

I also autopatch the module itself to
set __version__ to match when I make that release tag.


Yes, that's exactly what the module I wrote for my company's internal use does.  The 
official version number is hard-coded into setup.py.  My setup.py opens my module's 
__init__.py, and patches the line that starts with "__version__ = ".

I can see that this approach is one of several suggested approaches 
described in the Python packaging guide.  If I'm going to work with a 
package that eventually ends up on PyPI, I want to make sure that I 
don't do something unexpected or fragile.


Yah. In my case the VCS tag is the reference from which I make the 
setup.py and patch the source file.


Cheers,
Cameron Simpson 
--
https://mail.python.org/mailman/listinfo/python-list


Re: Concatenation of multiple video files in single file

2020-05-10 Thread Del Mervine

On 5/9/20 9:36 AM, Akshay Ghodake wrote:

Hello,

I want a help to concatenation of multiple video files into a single file
in python.

Any help will be greatly appreciated.

Best regards,
Akshay Ghodake

As others have said, ffmpeg.

If you need more processing features, Vapoursynth might be an option.
You have the ability to build complex processing graphs that run in 
optimized C/ASM.

Vapoursynth is built with Cython so scripts run faster than pure python.


--
https://mail.python.org/mailman/listinfo/python-list


Installation problem

2020-05-10 Thread Solomon Onuche Faruna
I install python 3.8 and pycharm community edition on window 8 but when I
try to install matplotlib in pycharm I discovered I got  "error loading
package list pypi.python.org" so I updated the pycharm to version 2020.1.
The packages loaded but when I try to install matplotlib I was told "No
matching distribution found for matplotlib". I am confused right now. I
need urgent help. Thanks
-- 
https://mail.python.org/mailman/listinfo/python-list