Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Sands Python Functions

Code style: black

Some functions I find useful regularly and I put them all into one package for easy access

I created this using Poetry.

Instructions

  • To build this you must first install poetry see instructions here
  • However to make it easy to access this is all of the code you'll need on linux to make this run (note that I use zsh not bash for my shell)
    • First you must navigate to the folder containing these files CHANGELOG.md LICENSE 'README reference.md' README.md dist poetry.lock pyproject.toml src
    • You then to make sure that you have the python environment that you want activated
    • You can then enter the code below
# installation on linux
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
# check version
poetry --version
# update poetry
poetry self update

# set up virtual environment using pyenv
python -m venv venv
# activate the virtual environment
source ./venv/bin/activate
# upgrade pip
python -m pip install --upgrade pip

# Initialising a pre-existing project (not already managed by poetry)
cd pre-existing-project
poetry init

# poetry add (or remove) PackageName
poetry add PackageName
poetry remove PackageName
# update the poetry.lock file
poetry update
# The build command builds the source and wheels archives
poetry build
# The install command reads the pyproject.toml file from the current project, resolves the dependencies, and installs them.
poetry install
# this will publish the package
poetry publish

Basic Usage Example

TODO:

Included Packages

Functions from EmailFunctions

Functions from MultiprocessingFunctions

Functions from ParquetFunctions

Functions from PrintFunctions

Functions from TimerFunctions

CI/CD

See this repo for an example of someone using poetry with they're python project to upload to PyPI on push to master.

Other Notes About This Code

I use "TESTCODE:" to designate code used in testing functions and scripts. I try to make sure to comment or delete those lines in the release versions of the package

Metadata

Release files for sandspythonfunctions 0.0.1a23

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

Source distribution (sdist)

Source distribution for sandspythonfunctions 0.0.1a23
File Size Uploaded Provenance Actions
SandsPythonFunctions-0.0.1a23.tar.gz 12.2 kB Without provenance Details for SandsPythonFunctions-0.0.1a23.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sandspythonfunctions 0.0.1a23
File Interpreter ABI Platform Actions
SandsPythonFunctions-0.0.1a23-py3-none-any.whl Python 3 none any Details for SandsPythonFunctions-0.0.1a23-py3-none-any.whl

Total release size: 25.0 kB

Release files / SandsPythonFunctions-0.0.1a23.tar.gz

Download URL SandsPythonFunctions-0.0.1a23.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6417abd36240dd43a06c647d47653daa5d990d531e6f5ab7b6da82b0fe64b3bf
BLAKE2b-256 checksum
How to use checksums
e1a51b6327b7e526daeaa3b23d8144039030f6207a5d1cd782b0eabfec593426
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.7 Linux/4.19.128-microsoft-standard

Release files / SandsPythonFunctions-0.0.1a23-py3-none-any.whl

Download URL SandsPythonFunctions-0.0.1a23-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60638dda29768126189228406617d01d0fa3a0a1f9c4e8228efbe97e1fbb7951
BLAKE2b-256 checksum
How to use checksums
14bb42c388d7565f1b17d6b259c85a317a288d9e2ec7a47635be0c40ed6d4b9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.7 Linux/4.19.128-microsoft-standard

Security for sandspythonfunctions 0.0.1a23

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.

Release history Release notifications | RSS feed

This release
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