https://github.com/annotation/text-fabric
Tip revision: 56e51261ba90e49b77962d80e843c842ad3fe5e8 authored by Dirk Roorda on 07 March 2019, 13:21:09 UTC
small fixes for data display
small fixes for data display
Tip revision: 56e5126
parameters.py
import sys
from zipfile import ZIP_DEFLATED
VERSION = '7.4.8'
NAME = 'Text-Fabric'
ORG = 'annotation'
REPO = 'text-fabric'
URL_GH_API = 'https://api.github.com/repos'
URL_GH = 'https://github.com'
URL_NB = 'https://nbviewer.jupyter.org/github'
DOWNLOADS = '~/Downloads'
GH_BASE = '~/github'
EXPRESS_BASE = '~/text-fabric-data'
EXPRESS_INFO = '__release.txt'
URL_TFDOC = f'https://{ORG}.github.io/{REPO}'
DOI_TEXT = '10.5281/zenodo.592193'
DOI_URL = 'https://doi.org/10.5281/zenodo.592193'
APIREF = f'https://{ORG}.github.io/{REPO}/Api/Fabric/'
APP_URL = f'{URL_GH}/{ORG}'
APP_NB_URL = f'{URL_NB}/{ORG}/tutorials/blob/master'
APP_EXPRESS = f'{EXPRESS_BASE}/__apps__'
APP_GITHUB = f'{GH_BASE}/annotation'
APP_CODE = 'code'
APP_INFO = '__commit.txt'
LOCATIONS = [
'~/Downloads/text-fabric-data',
'~/text-fabric-data',
'~/github/text-fabric-data',
'~/Dropbox/text-fabric-data',
'/mnt/shared/text-fabric-data',
]
GZIP_LEVEL = 2
PICKLE_PROTOCOL = 4
ZIP_OPTIONS = dict(
compression=ZIP_DEFLATED,
)
if sys.version_info[1] >= 7:
ZIP_OPTIONS['compresslevel'] = 6