Skip to main content

Host check + safe file mv — standalone module from the SciTeX ecosystem

Project description

scitex-os

PyPI Python Tests Install Test Coverage Docs License: AGPL v3

Host check + safe file move helpers, extracted from the SciTeX ecosystem as a standalone, zero-dep package.

Install

pip install scitex-os

API

import scitex_os as sxos

sxos.is_host("hostname")          # bool
sxos.check_host("hostname")       # bool
sxos.verify_host("hostname")      # raises if mismatch

sxos.mv(src, tgt)                 # shutil.move with mkdir(tgt)

Status

Standalone fork of scitex.os. Pure stdlib — zero deps. The umbrella package's scitex.os import path is preserved via a sys.modules-alias bridge. 7/7 smoke tests pass.

License

AGPL-3.0-only (see LICENSE).

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

scitex_os-0.1.2.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

scitex_os-0.1.2-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file scitex_os-0.1.2.tar.gz.

File metadata

  • Download URL: scitex_os-0.1.2.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_os-0.1.2.tar.gz
Algorithm Hash digest
SHA256 62dacd29e31d599d857ff315e8f36902be862f7bc4aa242023b72fc7ff9afffa
MD5 ea765c2d5b10ad988d316f3d4a04385d
BLAKE2b-256 0d8666114ebb4758036a2880c3be3254889654b0681a25bf91f8e0fdff519061

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_os-0.1.2.tar.gz:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-os

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

File details

Details for the file scitex_os-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: scitex_os-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_os-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0b2e6d602c5f0fa4f5f19ca9916650a9f6df33a16011af0967a9cae1e5146cc
MD5 6ef3219210ed48339c3c2d35450cc4a7
BLAKE2b-256 0e902ae004a70c751013a6a02f42a20b9d71c408f913b94206cdf5c361aa758d

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_os-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-os

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