rescape-python-helpers
Functional and geospatial helpers
Installation
Create a virtual environment using
mkdir ~/.virtualenvs
python3 -m venv ~/.virtualenvs/rescape-python-helpers
Activate it
source ~/.virtualenvs/rescape-python-helpers/bin/activate
Install requirements
$VIRTUAL_ENV/bin/pip install --no-cache-dir --upgrade -r requirements.txt
Add the following to the bottom $VIRTUAL_ENV/bin/activate to setup the PYTHONPATH. Replace the path with your code directory
export RESCAPE_PYTHON_HELPERS_BASE_DIR=/Users/andy/code/rescape-python-helpers
export RESCAPE_PYTHON_HELPERS_PROJECT_DIR=$RESCAPE_HELPERS_BASE_DIR/urbinsight
export PYTHONPATH=.:$RESCAPE_PYTHON_HELPERS_BASE_DIR:$RESCAPE_PYTHON_HELPERS_PROJECT_DIR
Build
Update the version in setup.py Run to generate build: Update the version with bumpversion, which can't seem to look it up itself but udpates setup.py
git commit . -m "Version update" && git push
bumpversion --current-version {look in setup.py} patch setup.py
python3 setup.py clean sdist bdist_wheel
To distribute to testpypi site: Upload package:
twine upload dist/*
To do everything at once
git commit . -m "Version update" && git push && bumpversion --current-version {look in setup.py} patch setup.py && python3 setup.py clean sdist bdist_wheel && twine upload dist/*
# Without the commit
bumpversion --current-version {look in setup.py} patch setup.py && python3 setup.py clean sdist bdist_wheel && twine upload dist/*
For setup of testpypi see ~/.pypirc or create one according to the testpypi docs: e.g.: [distutils] index-servers= pypi testpypi
[testpypi] repository: https://test.pypi.org/legacy/ username: your username for pypi.org
Metadata
Release files for rescape-python-helpers 0.0.66
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rescape_python_helpers-0.0.66.tar.gz | 32.7 kB | Without provenance | Details for rescape_python_helpers-0.0.66.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rescape_python_helpers-0.0.66-py3-none-any.whl | Python 3 | none | any | Details for rescape_python_helpers-0.0.66-py3-none-any.whl |
Total release size: 103.6 kB
Release files / rescape_python_helpers-0.0.66.tar.gz
| Download URL | rescape_python_helpers-0.0.66.tar.gz |
|---|---|
| Size | 32.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9000fc3f29cb6dc078dbace746121fd1d16ebe22aa5e67741116c37741deb9ca
|
|
BLAKE2b-256 checksum How to use checksums |
d3d2fca5d4dd82a8968d121574c8e30f3caea83447607cd2a5e1dd0c679ab5f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.28.2 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.11.2
|
Release files / rescape_python_helpers-0.0.66-py3-none-any.whl
| Download URL | rescape_python_helpers-0.0.66-py3-none-any.whl |
|---|---|
| Size | 70.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6eb2b232f8eeda68e7b2f265c67f787d2487329cccb89019922b88628692fc7f
|
|
BLAKE2b-256 checksum How to use checksums |
0507c2028079e639283ac46a9f15cc742951c532e956cece618e34d4ce0a035e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.28.2 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.11.2
|
Security for rescape-python-helpers 0.0.66
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.