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.5.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gio_pyio-0.0.5.tar.gz
Algorithm Hash digest
SHA256 924905340a9e7f3a4f8842bb28b54517ce73879f51be6cb112dca882ec82cd90
MD5 91a8f5635cb9ece8e3d90850bb0982ea
BLAKE2b-256 affa9da31e816fd1efe72e7a8ed26786649349f48772390ccb00f885d5df5db7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gio_pyio-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 320962cb32bdbbe341fcd28d6d864abe81442cd210373e822fa7285da94b56f4
MD5 deccc22c3a67daf2699f22a8c7fbbc5b
BLAKE2b-256 e49e503501a1326fb58ec2c78a4d98d161e0dec206abf188b6654eeb4da7c86e

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