Skip to main content

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

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)

Source distribution for mitoc-const 1.0.1
File Size Uploaded
mitoc_const-1.0.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mitoc-const 1.0.1
File Interpreter ABI Platform
mitoc_const-1.0.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

3 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

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