Skip to main content

Interactive REPL helpers (embed / less / paste) — standalone module from the SciTeX ecosystem

Project description

scitex-repl

SciTeX

Interactive-REPL helpers (embed, less, paste) — standalone module from the SciTeX ecosystem.

Ported out of scitex_gen._ipython as part of the scitex-gen full retirement wave.

Install

pip install scitex-repl

Public API

import scitex_repl

# Drop into an IPython shell, optionally pre-executing the clipboard.
scitex_repl.embed()

# Pipe a string through the system `less` pager.
scitex_repl.less("a very long string ...")

# Exec the current clipboard contents.
scitex_repl.paste()

Status

  • less and paste are functional thin wrappers over IPython / pyperclip.
  • embed is preserved from the upstream — the upstream file was mostly commented-out scaffolding around a single small helper. A richer REPL bootstrapper can be layered on later if there's demand.

License

AGPL-3.0-only.

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_repl-0.1.1.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

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

scitex_repl-0.1.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file scitex_repl-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for scitex_repl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3fe643594fa0c65ce727570b74d8b67b40a06c873cb92f2826aab469f42b061a
MD5 d1f17a86e04f193609587515ccab1259
BLAKE2b-256 899d313d93a68a48e6bc9d3db7038152d061e9d0cc46e6cde4360ebbf3c9d32e

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_repl-0.1.1.tar.gz:

Publisher: pypi-publish-and-github-release-on-tag.yml on ywatanabe1989/scitex-repl

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_repl-0.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for scitex_repl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bee7c6cafa8a5558865e980eac81c13c3b2455ec150d74c397f06257618d88b9
MD5 f0fd3faf01c2532f7d498bc6a4f06508
BLAKE2b-256 bfc1223bd75a264c526c6e2dc0639cac292c04269d2e429d38f8f815d734609a

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_repl-0.1.1-py3-none-any.whl:

Publisher: pypi-publish-and-github-release-on-tag.yml on ywatanabe1989/scitex-repl

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