Giter VIP home page Giter VIP logo

youseedee's People

Contributors

simoncozens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

moyogo

youseedee's Issues

This probably only works on Simons machine 🙂

I reached here because it is an (undeclared) flux dependency, but I can’t get it to work.

I had to first install requests (there are no listed dependencies), then it trackbacks:

Downloading Unicode Character Database...
[==================================================]Traceback (most recent call last):
  File "/usr/local/Cellar/[email protected]/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/Cellar/[email protected]/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/khaled/Development/attic/flux/Flux/__main__.py", line 128, in <module>
    FluxEditor(proj).show()
  File "/Users/khaled/Development/attic/flux/Flux/__main__.py", line 39, in __init__
    self.shapingDebugger = QShapingDebugger(self.project)
  File "/Users/khaled/Development/attic/flux/Flux/UI/qshapingdebugger.py", line 25, in __init__
    self.shapeText()
  File "/Users/khaled/Development/attic/flux/Flux/UI/qshapingdebugger.py", line 28, in shapeText
    buf = Buffer(self.project.font.font, unicodes=self.text, direction="RTL")
  File "/Users/khaled/Development/attic/fontfeatures/fontFeatures/jankyPOS/Buffer.py", line 72, in __init__
    self.guess_segment_properties()
  File "/Users/khaled/Development/attic/fontfeatures/fontFeatures/jankyPOS/Buffer.py", line 82, in guess_segment_properties
    thisScript = ucd_data(u.codepoint)["Script"]
  File "/Users/khaled/Development/attic/flux/env/lib/python3.8/site-packages/youseedee/__init__.py", line 176, in ucd_data
    out.update(props["datareader"](file, codepoint))
  File "/Users/khaled/Development/attic/flux/env/lib/python3.8/site-packages/youseedee/__init__.py", line 73, in dictget
    fileentry["data"] = fileentry["reader"](filename)
  File "/Users/khaled/Development/attic/flux/env/lib/python3.8/site-packages/youseedee/__init__.py", line 60, in parse_file_semicolonsep
    with open(os.path.join(ucd_dir(), filename), "r", newline='') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/khaled/.youseedee/USECategory.txt

There are many files under ~/.youseedee (yay for saving files in the home directory), but no USECategory.txt indeed,

Angle brackets in names

The returned Name field is taken from field 2 of UnicodeData.txt, which is not always the name. Some code points’ names are the empty string and some are derived algorithmically.

$ python3 -m youseedee 0000
{'Age': '1.1',
 'Block': 'Basic Latin',
 'Canonical_Combining_Class': '0',
 'East_Asian_Width': 'N',
 'General_Category': 'Cc',
 'Line_Break': 'CM',
 'Name': '<control>',
 'Name_Alias': 'NUL',
 'Script': 'Common'}
$ python3 -m youseedee 4e00
{'Age': '1.1',
 'Block': 'CJK Unified Ideographs',
 'Canonical_Combining_Class': '0',
 'East_Asian_Width': 'W',
 'General_Category': 'Lo',
 'Line_Break': 'ID',
 'Name': '<CJK Ideograph, First>',
 'Script': 'Han'}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.