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.

scrambleeeer

scrambleeeer 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 scrambleeeer

Usage

from scrambleeeer import scrambleeeer

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

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

Empty and one-item sequences are supported:

scrambleeeer([])       # []
scrambleeeer([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/scrambleeeer-*

Publish to TestPyPI first:

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

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

python -m twine upload dist/scrambleeeer-*

The name scrambleeeer 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

scrambleeeer-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

scrambleeeer-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scrambleeeer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c3df3db21d35fa2498e555722d36431538250b83da2ed0cc51df458ceb10e700
MD5 46c5538a37fafbb76233b714c3a85b4f
BLAKE2b-256 030efc5c7fda14c12821552de028cc40335fe11843d9aa24f1f92deac230d098

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for scrambleeeer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1602827bf78d7799675029c4de0c2152a8354594fbab1f4903bba62c06be609
MD5 9c5272374dfcac3f6613a83608d25396
BLAKE2b-256 0b689ccc2f8d23e43177e1f1507c7483f438b741dd0ce5004afa4e5b7d5c7c78

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

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