Skip to main content
Quarantined

This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.

scrambleeer

scrambleeer is a tiny Python package that shuffles a sequence of numbers and then swaps the first and last values. It returns a new list and does not modify the input sequence.

Installation

pip install scrambleeer

Usage

from scrambleeer import scrambleeer

numbers = [1, 2, 3, 4, 5]
scrambled = scrambleeer(numbers)

print(scrambled)
print(numbers)  # Still [1, 2, 3, 4, 5]

Empty and one-item sequences are supported:

scrambleeer([])       # []
scrambleeer([10])     # [10]

Development

Run the tests from the project root:

python -m unittest discover -s tests -v

Build the distributions:

python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*

Publish to TestPyPI first:

python -m twine upload --repository testpypi dist/*

When the TestPyPI package works as expected, publish it to PyPI:

python -m twine upload dist/*

The name scrambleeer must be available on PyPI before it can be registered by the first upload. Update the version in pyproject.toml for every later release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrambleeer-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

scrambleeer-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file scrambleeer-0.1.0.tar.gz.

File metadata

  • Download URL: scrambleeer-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for scrambleeer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1fb8a568ba2801e19682162b482fe1298556e309d01d97ce5edb51e721536ded
MD5 f22627fe4a44af51db0ea161087164bb
BLAKE2b-256 3f88144233e169a2e8fba5680fc0801a4cbc850f99b22e62edf5940f1e31e6b1

See more details on using hashes here.

File details

Details for the file scrambleeer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: scrambleeer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for scrambleeer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a97988d9b0b6ed76534b00e8c8a91e021d24302e60a268be6f7c01d7b309b28
MD5 4b4ab7072d1d59831be369ffe496e29d
BLAKE2b-256 c15b3e3c3bd96a4d69cc8c61de53dbea0906f8d7bca885a20579c16388d47c33

See more details on using hashes here.

Supported by

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