Skip to main content

Python like IO for gio

Project description

gio-pyio

Python like IO for gio.

Documentation Status

This library provides python like IO for Gio. It is intended to bridge the gap between Gtk apps using GFile for file handling and python libraries that expect files in the form of file objects.

Usage

See the example below:

file = Gio.File.new_for_path('/path/to/json/file.json')
with gio_pyio.open(file, 'rb') as file_like:
    data = json.load(file_like)
    print(data)

For advanced usage see the reference

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gio_pyio-0.0.4.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

gio_pyio-0.0.4-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file gio_pyio-0.0.4.tar.gz.

File metadata

  • Download URL: gio_pyio-0.0.4.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for gio_pyio-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8fecf0aaef0ebfeaf852957c17b440ed11ae9aa26f46a37017d6c218ae0be48b
MD5 5657c19184e7f180d6e64ecdf0ec53c2
BLAKE2b-256 7418fb4ae9d7f727bae714c84ab4734049c4d1be5e7d5da56a99bbdadcd23161

See more details on using hashes here.

File details

Details for the file gio_pyio-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: gio_pyio-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for gio_pyio-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 610347010c6818fa3e242a218c22ebfcde4952a631b8a814392721fdf25ad024
MD5 f68b15405dcdd7c3d8a91c15667b8f94
BLAKE2b-256 c9f3ec8b7b09c3d2ceb1d58c03c3de1e721f6cfe09e8fd9291bb476f9c916549

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page