Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Well, Jim, I'm not much of an actor either.


devel / comp.lang.python.announce / [Python-announce] foffinf 0.1 released

SubjectAuthor
o [Python-announce] foffinf 0.1 releasedFacundo Batista

1
[Python-announce] foffinf 0.1 released

<CAM09pzRLkyT1yVYZFDa9BkEj3gMkoZcbq4-412B8F9BQ4qri1w@mail.gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10007&group=comp.lang.python.announce#10007

  copy link   Newsgroups: comp.lang.python.announce
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: facundob...@gmail.com (Facundo Batista)
Newsgroups: comp.lang.python.announce
Subject: [Python-announce] foffinf 0.1 released
Date: Fri, 28 Apr 2023 20:45:32 -0300
Lines: 25
Approved: python-announce-list@python.org
Message-ID: <CAM09pzRLkyT1yVYZFDa9BkEj3gMkoZcbq4-412B8F9BQ4qri1w@mail.gmail.com>
Reply-To: python-list@python.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de JMXOjYnCWFLIaO4NtZK2tAM0tNH4BRtR58/mEpdwa/oA==
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=RecKEPvl;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'skip:@ 10': 0.03;
'modules': 0.07; 'simple.': 0.07; 'twitter:': 0.07; 'pypi,': 0.09;
'received:209.85.219': 0.09; 'to:addr:python-announce-list': 0.09;
'url-ip:151.101.0.223/32': 0.09; 'url-ip:151.101.128.223/32':
0.09; 'url-ip:151.101.192.223/32': 0.09; 'url-
ip:151.101.64.223/32': 0.09; 'announce': 0.15; 'behaviour': 0.16;
'blog:': 0.16; 'declare': 0.16; 'facundo': 0.16;
'from:addr:facundobatista': 0.16; 'from:name:facundo batista':
0.16; 'pyar:': 0.16; 'url-ip:52.168.19.255/32': 0.16; 'url-
ip:52.168.19/24': 0.16; 'url-ip:52.168/16': 0.16; 'url:plog':
0.16; 'url:project': 0.16; 'url:pypi': 0.16; 'url:taniquetil':
0.16; 'old': 0.27; 'url-ip:188/8': 0.31; 'words,': 0.32; 'message-
id:@mail.gmail.com': 0.32; "i'm": 0.33; 'able': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35; "it's":
0.37; 'received:209.85': 0.37; 'way': 0.38; 'received:209': 0.39;
'use': 0.39; 'want': 0.40; 'format': 0.62; 'url-ip:151.101.0/24':
0.62; 'url-ip:151.101.128/24': 0.62; 'url-ip:151.101.192/24':
0.62; 'url-ip:151.101.64/24': 0.62; 'forget': 0.67; 'url:ar':
0.69; 'released': 0.75; 'formatting': 0.76; 'enjoy!': 0.91;
'now!': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1682725545; x=1685317545;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=Tz0fEhHdU2pGnZxbf/nCctBgQITiBavPkSCv0/vxvrk=;
b=RecKEPvlvpmLWKBZ/ovKq6Npn7W4prwS0t/Pju/2goZZ0vrOL8C62qzAe7X4H/NO9k
BZtqTcxFi3HyCiwu9fXZdp8EBe0qNmLlv0f/k4+gIKcilDVgpcjdHXXyLw3U0nWKdEOJ
6Gcx0tR/L4ySpywFOSbdEhvQl9c5K8I2V8A7IJxaQ9hTq+Xj5HHGEyML+qYm1cfO8sl1
Ag7QMeOr2DozRyFb51/Zp1FCXb9cYfpDGAc9E4y3VN5mB+7zPITzd+O2848Zh8Lybh9v
+XgdCml8y5rdMFyPWpBODbgFYIYW5Aum8UeehRxYEzAHCoDtmN+8QUI5XPun8FP1fxda
081g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1682725545; x=1685317545;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=Tz0fEhHdU2pGnZxbf/nCctBgQITiBavPkSCv0/vxvrk=;
b=RI+ITWtOp+cmX6SqPC2i35zOmFBOdE6ESW1j3Rrf8f1f6lWYBMMevdRqpo72OXmuuk
c/PNPyjOvKuKurbfj0WNEOGM2buFmRpyJTt/3oMr/gGT+h+kzmdfmxnAFINNvYo5I51s
uE0UdhPrjL0wGXrIKRacJyxuEPV2cj4esVMeKLtJv3Fy04wDJhC3kV71KEZp0wW2POLh
DWxFLppv8inwJWJ6Zb8S7qysWohiv/ALfkKb2A4RYRHFst0RZjpVNddbyoTjmOKnGuAQ
HxNA8oy9DpPp/rOtmPJoFa0szmDJT3iIOp7WE//yuti/zrWAJSDvJLOLV9fPi7Ct13kU
XqrA==
X-Gm-Message-State: AC+VfDylKchTPeHqjHs8DIXnihlYh8Ze2qajDUP/g24zAM0TtlVlfW62
rO14t3MvVBi0qWOtgZ2UZBT7dVi/8LYTPKJ9Ms1bwMKYXko=
X-Google-Smtp-Source: ACHHUZ4OPacCQ5fQDHKWUJCAi1ia5Y8A3mzXTaPXnowS9drMFIdee0j4O3rL0q0lQH1rz/fcJ8DNXAfCdAFjmvJstHc=
X-Received: by 2002:a81:9b8d:0:b0:556:c4f8:625f with SMTP id
s135-20020a819b8d000000b00556c4f8625fmr4872590ywg.1.1682725545426; Fri, 28
Apr 2023 16:45:45 -0700 (PDT)
X-MailFrom: facundobatista@gmail.com
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved
Message-ID-Hash: C6GSVA5U3AHDNHINY323KTTZL7FUIC6D
X-Message-ID-Hash: C6GSVA5U3AHDNHINY323KTTZL7FUIC6D
X-Mailman-Approved-At: Fri, 28 Apr 2023 20:26:45 -0400
X-Mailman-Version: 3.3.9b1
Precedence: list
List-Id: Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At: <https://mail.python.org/archives/list/python-announce-list@python.org/message/C6GSVA5U3AHDNHINY323KTTZL7FUIC6D/>
List-Archive: <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help: <mailto:python-announce-list-request@python.org?subject=help>
List-Owner: <mailto:python-announce-list-owner@python.org>
List-Post: <mailto:python-announce-list@python.org>
List-Subscribe: <mailto:python-announce-list-join@python.org>
List-Unsubscribe: <mailto:python-announce-list-leave@python.org>
 by: Facundo Batista - Fri, 28 Apr 2023 23:45 UTC

I'm happy to announce a newborn library! foffinf, a way to use
stdlib's logging with the new Format Specification Mini-Language.

In other words, you will be able to do:

logger.info("The result is {:05d}", result)

You can forget about old printf-style formatting now!

To enable which modules you want with this behaviour you have to
declare them (including or not the submodules. Check the README, it's
very simple.

Released in PyPI, as usual:

https://pypi.org/project/foffinf/0.1/

Enjoy!

--
.. Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org.ar/
Twitter: @facundobatista


devel / comp.lang.python.announce / [Python-announce] foffinf 0.1 released

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor