Constants for use across MIT Outing Club infrastructure
Project description
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 check
make 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
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file mitoc_const-1.0.1.tar.gz
.
File metadata
- Download URL: mitoc_const-1.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14a82ac40341f0dc38e5b64ffeaf9f97a0005e523a254d368cc81c0a180b2a6c |
|
MD5 | 5b2b6faf537aa95bc632c70d185c453c |
|
BLAKE2b-256 | 053fcc131f70d34a71f849ae7b43c55117829eb61f099298a1c7f0e62d974711 |
File details
Details for the file mitoc_const-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: mitoc_const-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d4713a285e9a06f7edb067a0311285c9d239628d54899521ac295e860ec23c8 |
|
MD5 | e4abb2aac0576d7cdb89ef031f08694b |
|
BLAKE2b-256 | 5b9383a18254c8b3388d3098307d5a90cdad24183bd0624f0a762a9542d922fb |