Skip to main content

Constants for use across MIT Outing Club infrastructure

Project description

Build Status PyPI version npm version

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, and make 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mitoc-const, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size mitoc_const-1.0.0-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mitoc_const-1.0.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page