From ec84808332b760addda79fb446c2cad7e0ab1e28 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 3 Mar 2022 21:06:49 -0600 Subject: [PATCH] Capitalize the name Messkit sounds more official that way..? --- .gitignore | 2 +- README.rst | 4 ++-- messkit/__init__.py | 12 ++++++------ messkit/appsettings.py | 12 ++++++------ messkit/commands.py | 26 +++++++++++++------------- messkit/config.py | 16 ++++++++-------- messkit/db/model.py | 12 ++++++------ messkit/web/app.py | 16 ++++++++-------- messkit/web/menus.py | 12 ++++++------ messkit/web/static/__init__.py | 12 ++++++------ messkit/web/subscribers.py | 10 +++++----- messkit/web/views/__init__.py | 12 ++++++------ messkit/web/views/common.py | 12 ++++++------ setup.py | 14 +++++++------- 14 files changed, 86 insertions(+), 86 deletions(-) diff --git a/.gitignore b/.gitignore index 645e03d..212ca21 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -messkit.egg-info/ +Messkit.egg-info/ diff --git a/README.rst b/README.rst index a0cc7f1..c61b2c3 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ -messkit -======= +Messkit +======== Hopefully some kind of generic data manipulation thingy, we'll see... diff --git a/messkit/__init__.py b/messkit/__init__.py index 1d25760..b9441f2 100644 --- a/messkit/__init__.py +++ b/messkit/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ -messkit +Messkit """ from ._version import __version__ diff --git a/messkit/appsettings.py b/messkit/appsettings.py index be51dda..57d5d83 100644 --- a/messkit/appsettings.py +++ b/messkit/appsettings.py @@ -1,27 +1,27 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ -messkit app settings +Messkit app settings """ # bring in some common settings from rattail diff --git a/messkit/commands.py b/messkit/commands.py index d667139..e9fde15 100644 --- a/messkit/commands.py +++ b/messkit/commands.py @@ -1,27 +1,27 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ -messkit commands +Messkit commands """ import os @@ -41,7 +41,7 @@ from messkit import __version__ def main(*args): """ - Main entry point for messkit command system + Main entry point for Messkit command system """ args = list(args or sys.argv[1:]) cmd = Command() @@ -50,24 +50,24 @@ def main(*args): class Command(commands.Command): """ - Main command for messkit + Main command for Messkit """ name = 'messkit' version = __version__ - description = "messkit (Generic Data App)" + description = "Messkit (Generic Data App)" long_description = '' class Install(commands.Subcommand): """ - Install a messkit app + Install a Messkit app """ name = 'install' description = __doc__.strip() def run(self, args): - rprint("\n\t[blue]Welcome to messkit![/blue]") + rprint("\n\t[blue]Welcome to Messkit![/blue]") rprint("\n\tThis tool will install and configure a new app.") rprint("\n\t[italic]NB. You should already have created a new database in PostgreSQL.[/italic]") @@ -107,10 +107,10 @@ class Install(commands.Subcommand): # make config files context = { - 'app_title': "messkit", + 'app_title': "Messkit", 'appdir': appdir, 'db_url': dburl, - 'pyramid_egg': 'messkit', + 'pyramid_egg': 'Messkit', 'beaker_key': 'messkit', } rattail_conf = self.app.make_config_file( diff --git a/messkit/config.py b/messkit/config.py index 18f5f67..a5bb434 100644 --- a/messkit/config.py +++ b/messkit/config.py @@ -1,27 +1,27 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ -Config extension for messkit +Config extension for Messkit """ import os @@ -32,14 +32,14 @@ from rattail.config import ConfigExtension class MesskitConfig(ConfigExtension): """ - Rattail config extension for messkit + Rattail config extension for Messkit """ key = 'messkit' def configure(self, config): # set some default config values - config.setdefault('rattail', 'app_title', "messkit") + config.setdefault('rattail', 'app_title', "Messkit") config.setdefault('tailbone', 'menus', 'messkit.web.menus') config.setdefault('rattail', 'model', 'messkit.db.model') config.setdefault('rattail', 'settings', 'messkit.appsettings') diff --git a/messkit/db/model.py b/messkit/db/model.py index 8b30c99..fccddb8 100644 --- a/messkit/db/model.py +++ b/messkit/db/model.py @@ -1,27 +1,27 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ -messkit Data Model +Messkit Data Model """ from rattail.db.model import * diff --git a/messkit/web/app.py b/messkit/web/app.py index 27102d1..a9c6ea0 100644 --- a/messkit/web/app.py +++ b/messkit/web/app.py @@ -1,27 +1,27 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ -messkit web app +Messkit web app """ from tailbone import app @@ -31,7 +31,7 @@ def main(global_config, **settings): """ This function returns a Pyramid WSGI application. """ - # prefer messkit templates over Tailbone + # prefer Messkit templates over Tailbone settings.setdefault('mako.directories', ['messkit.web:templates', 'tailbone:templates',]) @@ -42,7 +42,7 @@ def main(global_config, **settings): rattail_config = app.make_rattail_config(settings) pyramid_config = app.make_pyramid_config(settings) - # bring in the rest of messkit + # bring in the rest of Messkit pyramid_config.include('messkit.web.static') pyramid_config.include('messkit.web.subscribers') pyramid_config.include('messkit.web.views') diff --git a/messkit/web/menus.py b/messkit/web/menus.py index c7c0b86..932ecaa 100644 --- a/messkit/web/menus.py +++ b/messkit/web/menus.py @@ -1,23 +1,23 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ @@ -124,7 +124,7 @@ def simple_menus(request): 'perm': 'tables.list', }, { - 'title': "messkit Upgrades", + 'title': "Messkit Upgrades", 'url': url('upgrades'), 'perm': 'upgrades.list', }, diff --git a/messkit/web/static/__init__.py b/messkit/web/static/__init__.py index 21cf400..129d306 100644 --- a/messkit/web/static/__init__.py +++ b/messkit/web/static/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ -messkit static assets +Messkit static assets """ diff --git a/messkit/web/subscribers.py b/messkit/web/subscribers.py index 9227248..364ba94 100644 --- a/messkit/web/subscribers.py +++ b/messkit/web/subscribers.py @@ -1,23 +1,23 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ diff --git a/messkit/web/views/__init__.py b/messkit/web/views/__init__.py index 5c2dca2..b3c55d6 100644 --- a/messkit/web/views/__init__.py +++ b/messkit/web/views/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ -messkit web views +Messkit web views """ diff --git a/messkit/web/views/common.py b/messkit/web/views/common.py index 0d43306..a2b2664 100644 --- a/messkit/web/views/common.py +++ b/messkit/web/views/common.py @@ -1,23 +1,23 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ @@ -31,7 +31,7 @@ import messkit class CommonView(base.CommonView): - project_title = "messkit" + project_title = "Messkit" project_version = messkit.__version__ + '+dev' diff --git a/setup.py b/setup.py index 4c48960..fb02cef 100644 --- a/setup.py +++ b/setup.py @@ -1,27 +1,27 @@ # -*- coding: utf-8; -*- ###################################################################### # -# messkit -- Generic-ish Data Utility App +# Messkit -- Generic-ish Data Utility App # Copyright © 2022 Lance Edgar # -# This file is part of messkit. +# This file is part of Messkit. # -# messkit is free software: you can redistribute it and/or modify it +# Messkit is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# messkit is distributed in the hope that it will be useful, but +# Messkit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with messkit. If not, see . +# along with Messkit. If not, see . # ###################################################################### """ -messkit setup script +Messkit setup script """ import os @@ -73,7 +73,7 @@ requires = [ setup( - name = "messkit", + name = "Messkit", version = __version__, author = "Lance Edgar", author_email = "lance@edbob.org",