Skip to main content

oslib

Una libreria Python leggera, veloce e affidabile per ottenere informazioni sul dispositivo e fornire utility di sistema.


Installazione

Installa la libreria con pip:

pip install demenigeco-oslib

Verifica che l'installazione sia andata a buon fine:

python -c "import oslib; print('si.')"

Se il comando stampa:

si.

la libreria è installata correttamente.


Esempi d'utilizzo

Informazioni sul sistema operativo

from oslib import sys_info

os_tag = sys_info.get_platform_tag()

print(os_tag)
# Esempio output:
# windows-x64

Utility per i percorsi

from oslib import path_utils

path = ("C:\\", "Windows", "System32", "..", "Temp")

normalized_path = path_utils.normalize(path)

print(normalized_path)
# Output:
# C:\Windows\Temp

Caratteristiche

  • Rilevamento del sistema operativo e dell'architettura.
  • Utility per normalizzare e gestire i percorsi.
  • API semplice e intuitiva.
  • Compatibile con Windows, Linux e macOS.
  • Leggera e senza dipendenze inutili.

Licenza

Distribuita sotto licenza MIT.

Metadata

Release files for demenigeco-oslib 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for demenigeco-oslib 0.1.0
File Size Uploaded
demenigeco_oslib-0.1.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for demenigeco-oslib 0.1.0
File Interpreter ABI Platform
demenigeco_oslib-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / demenigeco_oslib-0.1.0.tar.gz

Download URL demenigeco_oslib-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
667a648080df36e2bea19c480dc4ac9162aa325c5166e283d16faa9db77f836d
BLAKE2b-256 checksum
How to use checksums
147890823677f551be94cb5da0fd20e2c80d52943bc463caee674b50ae07bac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / demenigeco_oslib-0.1.0-py3-none-any.whl

Download URL demenigeco_oslib-0.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71e8ed6e38ff986b62b950cfbf5d010b717a77dd4399069436798ddc8c639b15
BLAKE2b-256 checksum
How to use checksums
2a8ae63d6ceedf9700d5e83caad728ecdcba452ab9300484cc35788f1c419879
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page