Skip to main content

xsanta

Secret Santa sender / receiver generator

PyPI version Actions Status PyPI version PyPI - Downloads

Coffee

Installation

pip install xsanta

Example

In python:

>>> from secret import santa
>>> invited = [
...     'Iron Man', 'Captain America', 'Thanos', 'Hulk',
...     'Black Widow', 'Thor', 'Loki', 'Wanda Maximoff',
... ]
>>> excluded = [
...     ('Iron Man', 'Captain America'),
...     ('Thor', 'Loki'),
...     ('Black Widow', 'Hulk'),
... ]
>>> santa.run(invited, excluded)
Thor 🎁 >> Thanos 🎁 >> Loki 🎁 >> Hulk 🎁 >> Iron Man 🎁 >> Thor
Captain America 🎁 >> Black Widow 🎁 >> Wanda Maximoff 🎁 >> Captain America

In command line:

python santa.py "['Iron Man', 'Captain America', 'Thanos']" --emoji=False
Captain America >> Thanos >> Iron Man >> Captain America

Metadata

Release files for xsanta 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xsanta 0.1.3
File Size Uploaded Provenance Actions
xsanta-0.1.3.tar.gz 3.6 kB Without provenance Details for xsanta-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xsanta 0.1.3
File Interpreter ABI Platform Actions
xsanta-0.1.3-py3-none-any.whl Python 3 none any Details for xsanta-0.1.3-py3-none-any.whl

Total release size: 7.9 kB

Release files / xsanta-0.1.3.tar.gz

Download URL xsanta-0.1.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ecf59ca6ac4b16c18fb14d466fadc26601bfbdbf8d4b2fe9af70fc7c142e8d3e
BLAKE2b-256 checksum
How to use checksums
e2e642b497fb4616f55a8bd9ce9a566032054ace022c5353230315483833296e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.4

Release files / xsanta-0.1.3-py3-none-any.whl

Download URL xsanta-0.1.3-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1db996311bd24f73f7abc953f9b1f551482be2af87eff2467abaad77adb7a0b
BLAKE2b-256 checksum
How to use checksums
1d975ba9468123fe3a4954b36799500e33b1f5441ef64ee7c967aec16f4f532b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.4

Security for xsanta 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page