Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #2719
| Path | csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Barry Warsaw <barry@python.org> |
| Newsgroups | comp.lang.python.announce |
| Subject | importlib_resources 0.2 |
| Date | Thu, 14 Dec 2017 16:11:13 -0500 |
| Lines | 62 |
| Approved | python-announce-list@python.org |
| Message-ID | <mailman.77.1513344385.14074.python-announce-list@python.org> (permalink) |
| References | <E325976D-885B-40CE-B124-B4E1709BA667@python.org> |
| Mime-Version | 1.0 (Mac OS X Mail 10.3 \(3273\)) |
| Content-Type | multipart/signed; boundary="Apple-Mail=_D4214ACE-76ED-41BF-9ECE-DB9E6A102529"; protocol="application/pgp-signature"; micalg=pgp-sha256 |
| X-Trace | news.uni-berlin.de wa2v6EQEjjd6v7ANJG3JxwoPUNNpkdabzirzqHvO5IkA== |
| Return-Path | <barry@python.org> |
| X-Original-To | python-announce-list@python.org |
| Delivered-To | python-announce-list@mail.python.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=python.org; s=200901; t=1513285876; bh=cfZi6voYbwPv9cdx0vd8k8Y7VeHl2DPN2Q4XKnaFxZM=; h=From:Subject:Date:To:From; b=hSCMWvfICk54Ru/mqrMPcnAP1wVgcTQr6/BeMPKdZurUbWzwBwwdeAFoiePgmTt/3 +RiXkMslWFJNlOsmkwTT+UPfhjTYBL4ZH4FBzCC5h6c6OM5cGUlrX9d3dOyGG3yjtA OjUviSbOyNnGiEvbXPnHem0ay5MZCisPiZciUl4Y= |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'binary': 0.07; 'incompatible': 0.07; 'filename:fname piece:signature': 0.09; 'fixes': 0.09; 'from:name:barry warsaw': 0.09; 'issue:': 0.09; 'url-ip:162.242.198.235/32': 0.09; 'url-ip:162.242.198/24': 0.09; 'url-ip:162.242/16': 0.09; 'python': 0.10; 'bug': 0.12; 'library': 0.12; 'api': 0.15; 'opened': 0.15; 'api,': 0.16; 'content- disposition:attachment;\r\n\tfilename=signature.asc': 0.16; 'content-type:application/pgp-signature': 0.16; 'content- type:multipart/signed': 0.16; 'filename:fname piece:asc': 0.16; 'filename:fname:signature.asc': 0.16; 'from:addr:barry': 0.16; 'mode.': 0.16; 'open()': 0.16; 'philosophy': 0.16; 'read()': 0.16; 'received:192.168.11': 0.16; 'received:216.15': 0.16; 'received:216.15.33': 0.16; 'received:216.15.33.194': 0.16; 'received:mail.wooz.org': 0.16; 'received:wooz.org': 0.16; 'we\xe2\x80\x99ve': 0.16; 'x-mailer:apple mail (2.3273)': 0.16; 'package,': 0.18; 'fairly': 0.20; 'split': 0.21; 'import': 0.22; 'from:addr:python.org': 0.23; 'announce': 0.24; 'read,': 0.24; 'message-id:@python.org': 0.26; 'url-ip:46.4/16': 0.27; 'url:io': 0.28; 'system,': 0.32; 'url-ip:46.4.197.70/32': 0.32; 'url- ip:46.4.197/24': 0.32; 'url:bugs': 0.32; 'packages.': 0.32; 'we\xe2\x80\x99re': 0.32; 'subject:skip:i 10': 0.34; 'url- ip:46/8': 0.34; 'compatible': 0.35; 'efficient': 0.36; 'url:python': 0.36; 'text': 0.36; 'url:org': 0.38; 'instead': 0.38; 'received:192': 0.38; 'change.': 0.39; 'received:192.168': 0.39; 'system': 0.60; 'skip:o 10': 0.62; 'functions,': 0.62; 'to:addr:python-announce-list': 0.62; 'details': 0.63; 'functions.': 0.63; 'header:Message-Id:1': 0.63; 'provide': 0.64; 'our': 0.65; 'within': 0.66; 'easy': 0.66; 'use.': 0.66; 'here:': 0.67; 'attention': 0.78; 'enjoy!': 0.84; 'leverages': 0.84 |
| X-Virus-Scanned | Debian amavisd-new at mail.wooz.org |
| X-Spam-Flag | NO |
| X-Spam-Score | -2.9 |
| X-Spam-Level | |
| X-Spam-Status | No, score=-2.9 tagged_above=-9999 required=6 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham autolearn_force=no |
| X-Mao-Original-Outgoing-Id | 534978673.244967-61aa86033e1cf1af6dea99d3d6548fbc |
| X-Mailer | Apple Mail (2.3273) |
| X-Mailman-Approved-At | Fri, 15 Dec 2017 08:26:23 -0500 |
| X-BeenThere | python-announce-list@python.org |
| X-Mailman-Version | 2.1.25 |
| Precedence | list |
| List-Id | Announcement-only list for the Python programming language <python-announce-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-announce-list/> |
| List-Post | <mailto:python-announce-list@python.org> |
| List-Help | <mailto:python-announce-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <E325976D-885B-40CE-B124-B4E1709BA667@python.org> |
| Xref | csiph.com comp.lang.python.announce:2719 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
I am happy to announce the release of importlib_resources 0.2. This version has several bug fixes and a backward incompatible API change. Instead of a single open() and read() functions, we’ve split them into open_text(), open_binary(), read_text(), and read_binary() functions. importlib_resources is a library that leverages Python’s import system to provide access to resources within packages. Given that this library is built on top of the import system, it is highly efficient and easy to use. This library’s philosophy is that, if you can import a package, you can access resources within that package. Resources can be opened or read, in either binary or text mode. This library is compatible with Python 2.7, and 3.4-3.7. We’re fairly happy with this API, so our attention now turns to porting this into the standard library for Python 3.7. You can follow along that effort via this issue: https://bugs.python.org/issue32248 Documentation and other project details for importlib_resources is available here: http://importlib-resources.readthedocs.io/ Enjoy! -Barry
Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread
importlib_resources 0.2 Barry Warsaw <barry@python.org> - 2017-12-14 16:11 -0500
csiph-web