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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gio_pyio-0.0.6-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gio_pyio-0.0.6.tar.gz
Algorithm Hash digest
SHA256 bab1231c5a456eee014a27e169ba48735cf532e34b36688b86b74ca3e5ab5915
MD5 4995dccd9e6ae5a3d151ea356552291b
BLAKE2b-256 5b513c95292f35445e525922c2488d466b4e885595779449bd1becac66546a8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gio_pyio-0.0.6.tar.gz:

Publisher: python-publish.yml on cmkohnen/gio_pyio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: gio_pyio-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for gio_pyio-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 300b73f4904fb933c751f19b08667e0b91fc73e35aca863cd72c1595aa480134
MD5 d630ed3763c213f4b083468b10253b5d
BLAKE2b-256 468896afb5571b9aefa314b3f63ff01f1180f6f0f7bfac1585be5740f78c41db

See more details on using hashes here.

Provenance

The following attestation bundles were made for gio_pyio-0.0.6-py3-none-any.whl:

Publisher: python-publish.yml on cmkohnen/gio_pyio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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