MITOC Constants
This is a set of constants for use across MIT Outing Club infrastructure.
MITOC has a number of projects, many of which reference values used in other databases or deployed projects. These projects may be deployed separately, so there's value in having shared values at constants in an external package.
Releasing a new version
It's recommended to keep the Python and TypeScript versions in lock-step. Even if no changes were made in one of the two, it's best to release both at the same time.
pypi/Python
First, augment the version in setup.py. Then:
rm -rf dist/ build/ mitoc_const.egg-info/
pipenv run python setup.py sdist bdist_wheel
pipenv run twine upload dist/*
git push origin master
npm/TypeScript
(Not used yet anywhere, an early prototype)
npm run build
npm publish
TODO:
- Add a Makefile for this project:
make lint,make test, andmake checkmake push
- Black & isort
- Run mypy as part of build check
- Switch to poetry
- Clean up the (unused) TypeScript package, verify for use
- Automatically deploy after successful build
Metadata
Release files for mitoc-const 1.0.1
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 |
|---|---|---|---|---|
| mitoc_const-1.0.1.tar.gz | 3.2 kB | Without provenance | Details for mitoc_const-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mitoc_const-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for mitoc_const-1.0.1-py3-none-any.whl |
Total release size: 7.5 kB
Release files / mitoc_const-1.0.1.tar.gz
| Download URL | mitoc_const-1.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14a82ac40341f0dc38e5b64ffeaf9f97a0005e523a254d368cc81c0a180b2a6c
|
|
BLAKE2b-256 checksum How to use checksums |
053fcc131f70d34a71f849ae7b43c55117829eb61f099298a1c7f0e62d974711
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.11
|
Release files / mitoc_const-1.0.1-py3-none-any.whl
| Download URL | mitoc_const-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d4713a285e9a06f7edb067a0311285c9d239628d54899521ac295e860ec23c8
|
|
BLAKE2b-256 checksum How to use checksums |
5b9383a18254c8b3388d3098307d5a90cdad24183bd0624f0a762a9542d922fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.11
|
Security for mitoc-const 1.0.1
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.