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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scrambleeer-0.1.1.tar.gz.
File metadata
- Download URL: scrambleeer-0.1.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
834ad864bb98a84e53e152fd74e785d41613e7f4b546a2c53776213e35fc23a8
|
|
| MD5 |
04f587595f8e3cc80e5aa29c95b67097
|
|
| BLAKE2b-256 |
ed63d76ef895a73c0cc331671328def31f47fcfe26ec09925325e3a015d5aa14
|
File details
Details for the file scrambleeer-0.1.1-py3-none-any.whl.
File metadata
- Download URL: scrambleeer-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10d5938322cf598c05c6ae0fd0414eab70fc6fbb2071d6e339cbb95655e782c6
|
|
| MD5 |
31d5d17fa61ccc05f0ff9c36f574bdad
|
|
| BLAKE2b-256 |
39216151526f4fb69ce19325fc62e397da8275d52b636c09ed0e1f36696f7d5b
|