From sakthirengaraj at gmail.com Sun Jan 1 10:28:46 2023 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Sun, 1 Jan 2023 20:58:46 +0530 Subject: [Chennaipy] Talk at Chennaipy Message-ID: Hi Everyone, Happy new year. We have scheduled a January meetup on 28/01/23, We have open slots for talks. If you are willing to give a talk, kindly reply to this thread with talk title and description or you can update in the event page[1]. Regards Rengaraj [1]. https://www.meetup.com/chennaipy/events/290648818/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From vpmglug at gmail.com Mon Jan 2 02:58:08 2023 From: vpmglug at gmail.com (VGLUG) Date: Mon, 2 Jan 2023 13:28:08 +0530 Subject: [Chennaipy] Call for proposal for Mini-Debian conference Tamil Nadu - 2023 Message-ID: Dear FOSS activist, MiniDebConf Tamil Nadu 2023 will be held in Viluppuram, Tamil Nadu hosted by VGLUG Foundation (https://vglug.org) . It is a smaller version of the Debian Conference which focuses on Debian, FOSS by conducting talks and workshops on various topics. We cordially invite Debian contributors, FOSS activists, and working professionals to present a talk on behalf of the conference on the following topics or your area of interest: - Debian and FOSS related topics - Artificial Intelligence, Machine Learning, NLP, Deep Learning, Open Source AI - Robotics, Open Hardware, IoT - Cloud & DevOps, Micro-services, Kubernetes, Distributed Services, Digital Sovereignty. - Blockchain - Web and Mobile Technologies We believe that your experience with FOSS will benefit other groups of FOSS activists, hence we would like to invite you/your organisation to present a talk, demo, and workshop. *Call for proposal:* *Start Date :* 25 December, 2022 *End Date :* 10 January, 2023 *For more details* - https://tn23.mini.debconf.org/contribute/cfp/ *Wiki page* - https://wiki.debian.org/DebianIndia/MiniDebConfTamilNadu2023/ *Poster link:* https://villupuramglug.files.wordpress.com/2022/12/mdc-tn23-cfp.png Conference Date: 28 ? 29 January, 2023 Venue: University College of Engineering, Viluppuram, Tamil Nadu, India Regards, MiniDebConf Tamil Nadu Team. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: deb-cfp-new.png Type: image/png Size: 831977 bytes Desc: not available URL: From selvi.dct at gmail.com Mon Jan 9 13:14:04 2023 From: selvi.dct at gmail.com (selvi dct) Date: Mon, 9 Jan 2023 23:44:04 +0530 Subject: [Chennaipy] Chennaipy - Monday Module - 09 Jan 2023 Message-ID: Date: 09 Jan 2023 Module : PDFknife Installation : pip install PDFknife About: A Swiss Army Knife sort of python scripts collection to manipulate PDFs. It relies on: pdfjam pdftk pdfunite (poppler) ghostscript mupdf-tools Execution: pdfknife-A5.py -- Turn a PDF in A5 format pdfknife-even.py -- Add blank page to odd pages PDF pdfknife-extract -- Extract images from PDF pdfknife-merge.py -- Merge PDFs pdfknife-recto.py -- Add blank page between each original page pdfknife-reverse.py -- Reverse page order pdfknife-shrink.py -- Compress a PDF pdfknife-split.py -- Make one page per file pdfknife-trim.py -- Change the margins Reference: https://pypi.org/project/PDFknife/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From selvi.dct at gmail.com Mon Jan 16 12:39:47 2023 From: selvi.dct at gmail.com (selvi dct) Date: Mon, 16 Jan 2023 23:09:47 +0530 Subject: [Chennaipy] Chennaipy - Monday Module - 16 Jan 2023 Message-ID: Date: 16 Jan 2023 Module: python-dateutil Installation: pip install python-dateutil About: Generic parsing of dates in almost any string format. Computing of relative deltas (next month, next year, next Monday, last week of month, etc). Computing of relative deltas between two given date and/or datetime objects. Source: >>> from dateutil.relativedelta import * >>> from dateutil.easter import * >>> from dateutil.rrule import * >>> from dateutil.parser import * >>> from datetime import * >>> now = parse("Sat Oct 11 17:13:46 UTC 2003") >>> today = now.date() >>> print("Today is: %s" % today) Today is: 2003-10-11 >>> year = rrule(YEARLY,dtstart=now,bymonth=8,bymonthday=13,byweekday=FR)[0].year >>> print("Year with next Aug 13th on a Friday is: %s" % year) Year with next Aug 13th on a Friday is: 2004 >>> rdelta = relativedelta(easter(year), today) >>> print("How far is the Easter of that year: %s" % rdelta) How far is the Easter of that year: relativedelta(months=+6) >>> print("And the Easter of that year is: %s" % (today+rdelta)) And the Easter of that year is: 2004-04-11 Reference: https://pypi.org/project/python-dateutil/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From selvi.dct at gmail.com Mon Jan 23 13:30:01 2023 From: selvi.dct at gmail.com (selvi dct) Date: Tue, 24 Jan 2023 00:00:01 +0530 Subject: [Chennaipy] Chennaipy - Monday Module - 23 Jan 2023 Message-ID: Date: 23 Jan 2023 Module : BeautifulTime Installation : pip install BeautifulTime About: BeautifulTime is a python package for converting date string, datetime, time and timestamp. Sample: import BeautifulTime date_str = '2016-10-30 12:30:30' dt = BeautifulTime.str2datetime(date_str) print(dt) # with a custom format dt = BeautifulTime.str2datetime(date_str, format='%Y-%m-%d %H:%M:%S') print(dt) t = BeautifulTime.str2time(date_str) print(t) ts = BeautifulTime.str2timestamp(date_str) print(ts) Output: 2016-10-30 12:30:30 2016-10-30 12:30:30 time.struct_time(tm_year=2016, tm_mon=10, tm_mday=30, tm_hour=12, tm_min=30, tm_sec=30, tm_wday=6, tm_yday=304, tm_isdst=-1) 1477810830 Reference: https://pypi.org/project/BeautifulTime/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From selvi.dct at gmail.com Mon Jan 30 12:51:26 2023 From: selvi.dct at gmail.com (selvi dct) Date: Mon, 30 Jan 2023 23:21:26 +0530 Subject: [Chennaipy] Chennaipy - Monday Module - 30 Jan 2023 Message-ID: Date: 30 Jan 2023 Module : ExifRead Installation : pip install ExifRead About: Easy to use Python module to extract Exif metadata from digital image files. Supported formats: TIFF, JPEG, PNG, Webp, HEIC. Source Code: from os import path import exifread path_name = r'C:\Users\Desktop\sss.jpg' filename = open(path_name, 'rb') tags = exifread.process_file(filename) print(tags) Output: {'EXIF ApertureValue': (0x9202) Ratio=45/8 @ 644, 'EXIF ColorSpace': (0xA001) Short=sRGB @ 452, 'EXIF ComponentsConfiguration': (0x9101) Undefined=YCbCr @ 308, 'EXIF CustomRendered': (0xA401) Short=Normal @ 536, .... 'Image Orientation': (0x0112) Short=Horizontal (normal) @ 42, 'Image ResolutionUnit': (0x0128) Short=Pixels/Inch @ 78, 'Image Software': (0x0131) ASCII=GIMP 2.4.5 @ 182, 'Image XResolution': (0x011A) Ratio=72 @ 166, 'Image YResolution': (0x011B) Ratio=72 @ 174, 'Interoperability InteroperabilityIndex': (0x0001) ASCII=R98 @ 958, 'Interoperability InteroperabilityVersion': (0x0002) Undefined=[48, 49, 48, 48] @ 970, 'Thumbnail Compression': (0x0103) Short=JPEG (old-style) @ 1006, 'Thumbnail ResolutionUnit': (0x0128) Short=Pixels/Inch @ 1042, 'Thumbnail XResolution': (0x011A) Ratio=72 @ 1074, 'Thumbnail YResolution': (0x011B) Ratio=72 @ 1082} Reference: https://pypi.org/project/ExifRead/ -------------- next part -------------- An HTML attachment was scrubbed... URL: