This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Ballade No.1 in G Minor, Op.23 (F.Chopin, 1835-1836) | |
% | |
% (C) 2016, Michiel Sikma <[email protected]> | |
% Licensed under CC BY-SA 4.0. | |
% | |
% This sheet music is part of the Pdly project. | |
% See <https://github.com/msikma/pdly> for more information. | |
AUTHORS = "M.Sikma" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2014-2016, Reisan Ltd. - All rights reserved. | |
# This file is proprietary and confidential. For more information, | |
# see the 'copyright.md' file, which is part of this source code package. | |
''' | |
Database schema definitions for the site's persistent state information. | |
''' | |
from reisan.flask import db |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Schema for JMdict files. There will be only a single entry: the currently | |
used JMdict file. If needed, it's possible to create a new one, parse and | |
insert a whole new JMdict file, and then delete the old. | |
Every dictionary entry is in a 1-n relationship with the DictDictionary | |
entry. | |
''' | |
from tqdm import tqdm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MIT license | |
''' | |
Module for formatting text for display in a terminal. Colored output is | |
provided through the use of ISO 6429 terminal escape sequences. | |
''' | |
# Terminal colors are defined by the ISO 6429 standard. | |
# To convert this list to foreground colors, add 30; | |
# for a background color, add 40. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vf deactivate | |
$ vf new kc | |
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.5' | |
New python executable in /Users/msikma/.virtualenvs/kc/bin/python3.5 | |
Not overwriting existing python script /Users/msikma/.virtualenvs/kc/bin/python (you must use /Users/msikma/.virtualenvs/kc/bin/python3.5) | |
Installing setuptools, pip, wheel...done. | |
$ ./setup.py develop | |
running develop | |
running egg_info | |
writing top-level names to kanaconv.egg-info/top_level.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/Users/msikma/.virtualenvs/kc/bin/kanaconv.py", line 9, in <module> | |
load_entry_point('kanaconv', 'console_scripts', 'kanaconv.py')() | |
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 547, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2719, in load_entry_point | |
return ep.load() | |
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2379, in load | |
return self.resolve() | |
File "/Users/msikma/.virtualenvs/kc/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2385, in resolve |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
running sdist | |
running egg_info | |
writing kanaconv.egg-info/PKG-INFO | |
writing entry points to kanaconv.egg-info/entry_points.txt | |
writing top-level names to kanaconv.egg-info/top_level.txt | |
writing dependency_links to kanaconv.egg-info/dependency_links.txt | |
reading manifest file 'kanaconv.egg-info/SOURCES.txt' | |
writing manifest file 'kanaconv.egg-info/SOURCES.txt' | |
warning: sdist: standard file not found: should have one of README, README.rst, README.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./setup.py develop | |
running develop | |
running egg_info | |
writing dependency_links to kanaconv.egg-info/dependency_links.txt | |
writing top-level names to kanaconv.egg-info/top_level.txt | |
writing entry points to kanaconv.egg-info/entry_points.txt | |
writing kanaconv.egg-info/PKG-INFO | |
reading manifest file 'kanaconv.egg-info/SOURCES.txt' | |
writing manifest file 'kanaconv.egg-info/SOURCES.txt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./setup.py develop | |
running develop | |
running egg_info | |
writing dependency_links to kanaconv.egg-info/dependency_links.txt | |
writing top-level names to kanaconv.egg-info/top_level.txt | |
writing entry points to kanaconv.egg-info/entry_points.txt | |
writing kanaconv.egg-info/PKG-INFO | |
reading manifest file 'kanaconv.egg-info/SOURCES.txt' | |
writing manifest file 'kanaconv.egg-info/SOURCES.txt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ which asdf.py | |
/Users/msikma/.virtualenvs/kc/bin/asdf.py | |
$ which python | |
/Users/msikma/.virtualenvs/kc/bin/python | |
$ cat /Users/msikma/.virtualenvs/kc/bin/asdf.py |