<commit_before># Copyright 2014-2015 Boxkite Inc.

# This file is part of the DataCats package and is released under
# the terms of the GNU Affero General Public License version 3.0.
# See LICENSE.txt or http://www.fsf.org/licensing/licenses/agpl-3.0.html

"""datacats command line interface

Usage:
  datacats pull
  datacats create PROJECT [PORT] [-bin] [--ckan=CKAN_VERSION]
  datacats stop [PROJECT] [-r]
  datacats start [PROJECT [PORT] [-p] | -p | [PROJECT] -r]
  datacats reload [PROJECT [PORT] [-p] | -p | [PROJECT] -r]
  datacats deploy [PROJECT]
  datacats logs [PROJECT] [-f | [-t] [--tail=LINES]] [-d | -s]
  datacats info [PROJECT] [-qr]
  datacats list
  datacats open [PROJECT]
  datacats shell [PROJECT [COMMAND...]]
  datacats install [PROJECT] [-c]
  datacats purge [PROJECT [--delete-project]]
  datacats init [PROJECT [PORT]] [-i]

Options:
  -b --bare                   Bare CKAN site with no example extension
  -c --clean                  Reinstall into a clean virtual environment
  --ckan=CKAN_VERSION         Use CKAN version CKAN_VERSION, defaults to
                              latest development release
  -d --data-logs              Show database logs instead of web logs
  --delete-project            Delete project folder as well as its data
  -f --follow                 Follow logs instead of exiting immediately
  -i --image-only             Only create the project, don't start containers
  -r --remote                 Operate on cloud-deployed production datacats
                              instance
  -s --search-logs            Show search logs instead of web logs
  -t --timestamps             Include timestamps in logs
  --tail=LINES                Number of lines to show [default: all]
  -n --no-sysadmin            Don't create an initial sysadmin user account
  -p --production             Run in production mode instead of debug mode
  -q --quiet                  Simple text response suitable for scripting<commit_msg>more commands that will support -r<commit_after># Copyright 2014-2015 Boxkite Inc.

# This file is part of the DataCats package and is released under
# the terms of the GNU Affero General Public License version 3.0.
# See LICENSE.txt or http://www.fsf.org/licensing/licenses/agpl-3.0.html

"""datacats command line interface

Usage:
  datacats pull
  datacats create PROJECT [PORT] [-bin] [--ckan=CKAN_VERSION]
  datacats stop [PROJECT] [-r]
  datacats start [PROJECT [PORT] [-p] | -p | [PROJECT] -r]
  datacats reload [PROJECT [PORT] [-p] | -p | [PROJECT] -r]
  datacats deploy [PROJECT]
  datacats logs [PROJECT] [-f | [-t] [--tail=LINES]] [-d | -s] [-r]
  datacats info [PROJECT] [-qr]
  datacats list
  datacats open [PROJECT] [-r]
  datacats shell [PROJECT [COMMAND...]]
  datacats install [PROJECT] [-c]
  datacats purge [PROJECT [--delete-project]]
  datacats init [PROJECT [PORT]] [-i]

Options:
  -b --bare                   Bare CKAN site with no example extension
  -c --clean                  Reinstall into a clean virtual environment
  --ckan=CKAN_VERSION         Use CKAN version CKAN_VERSION, defaults to
                              latest development release
  -d --data-logs              Show database logs instead of web logs
  --delete-project            Delete project folder as well as its data
  -f --follow                 Follow logs instead of exiting immediately
  -i --image-only             Only create the project, don't start containers
  -r --remote                 Operate on cloud-deployed production datacats
                              instance
  -s --search-logs            Show search logs instead of web logs
  -t --timestamps             Include timestamps in logs
  --tail=LINES                Number of lines to show [default: all]
  -n --no-sysadmin            Don't create an initial sysadmin user account
  -p --production             Run in production mode instead of debug mode
  -q --quiet                  Simple text response suitable for scripting
{'fraction_non_alphanumeric': 0.09086332746035741, 'fraction_numerical': 0.006040775232821546, 'mean_word_length': 2.1514670896114194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3996212', 'n_tokens_mistral': 1173, 'n_tokens_neox': 1126, 'n_words': 452}