Giter Club home page Giter Club logo

Comments (44)

 avatar commented on September 26, 2024 1

By the way I was spelling separator wrong until now. Sorry for that, I've just realized.

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Hi, Can you elaborate ?
Separators as in ?
Pls provide a link to the code you're referring if possible

from pylibui.

superzazu avatar superzazu commented on September 26, 2024

I think he was talking about libui Separator struct

from pylibui.

 avatar commented on September 26, 2024

There is a section (a few functions) about Seperator component in ui.h file. We need someone to create a ctype wrapper for these functions, add a high level wrapper around the ctype wrapper, write some tests and an example.

You can generate a ctype wrapper template by running the command below, in scripts directory:

$ python3 bindings.py seperator

This command will generate a file, seperator.py, in script directory. Then you should complete this file by using other wrappers in pylibui/libui as a reference.

Feel free to ask more questions if you need.

from pylibui.

TiagoDanin avatar TiagoDanin commented on September 26, 2024

1

> from pylibui.controls import Separator
> Separator('Vertical')

2

> from pylibui.controls import VerticalSeparator
> VerticalSeparator()

Which is better?

from pylibui.

 avatar commented on September 26, 2024

Please use second one if you're working on this. I think it's eaiser to read and understand. We've been using it commonly in libui.

@joaoventura What do you think about this?

from pylibui.

joaoventura avatar joaoventura commented on September 26, 2024

Sorry for the delay on answering, but I agree that the second one is more explicit and provides a better API.. In doubt, follow the Zen of Python: explicit is better than implicit. 👍

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Hi, sure I'd like to work on this.
Any tips on how to get started ?
Like how will we call C functions in the wrapper (I hope I got this right...) ?

from pylibui.

 avatar commented on September 26, 2024

Start with forking then cloning the repo. Build the shared library as explained in README.md. Then generate your binding template, see my comment above. Spend some time examining the other wrapper files in pylibui/libui, you can easily find out how to complete your template.

Bonus tip: You can generate templates for completed wrappers and see what the author of the wrapper has done to complete the template.

Feel free to ask more question if you need.

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Ahh, it seems I missed that comment. I'll get to work on this right away...

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Hi, I'm having a lot of trouble with working with Cmake itself atm.
I'm running Ubuntu 14.01 and it seems that the cmake version provided by apt-get is 2.2.x and the installation of libui requires 3.2.x
I searched online and followed quite a lot of solutions, including compiling cmake from its source itself. Can't just get it to work.
Is there any other way out ?

from pylibui.

 avatar commented on September 26, 2024

What about using a ppa?

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

I did try it, it seems the PATH is not recognizable in that case. I'm trying to remove everything right now and reinstall everything cause it seems I have too many different version of cmake installled in different places.

Sorry for the unnecessary delay. I hope this issue is not an emergency. If it is, I wouldn't mind stepping down if someone else wants to immediately finish it. Else, I'll soon figure out the solution to the problem. Also, do you think once I find out a clear cut solution, we should add this information in the Contributing part of the readme ?

from pylibui.

 avatar commented on September 26, 2024

Good idea, a fresh install can solve all problems.

Sorry for the unnecessary delay. I hope this issue is not an emergency. If it is, I wouldn't mind stepping down if someone else wants to immediately finish it.

No, there is no emergency and we have a lot of issues, I don't think that will be a problem.

Also, do you think once I find out a clear cut solution, we should add this information in the Contributing part of the readme ?

I don't think that will be necessary. Because just one google search brings a few pages about using a ppa to install cmake 3.x. If it will work for you, anybody can find the solution by googling. Also I can make reference to this issue if needed.

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Hi, I finally managed to install cmake and make it work. I have compiled the libui library, but the only issue I am facing at the moment is that after making the libui dir on ubuntu bash running on windows 10, I Can't access the libui.so file. (however I can access the libui.so.0 file)
The OS (windows 10) says the file doesn't exist even though I can see it. Due to this, I have some tests failing.
Any suggestions ?

from pylibui.

 avatar commented on September 26, 2024

What is your error output?

from pylibui.

 avatar commented on September 26, 2024

And post your tests' output please.

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Technically it's simply failing as it can't find the libui.so file, and I can't copy the same from libui/build/out as Windows reports it can't even find the file, even though it exists in the Windows Explorer.
Here are a few tree structures -

/mnt/e/Projects/Open-Source/libui/build/out$ tree
.
├── libui.so -> libui.so.0
└── libui.so.0

/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs$ tree
.
└── libui.so.0

The error logs -

anshuman73@ANSHUMAN:/mnt/e/Projects/Open-Source/pylibui$ python3 -m unittest
EEEEEEEEEEEE
======================================================================
ERROR: tests.test_box (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_box
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_box.py", line 6, in <module>
    from pylibui.controls import HorizontalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_button (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_button
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_button.py", line 6, in <module>
    from pylibui.controls import Button
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_checkbox (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_checkbox
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_checkbox.py", line 6, in <module>
    from pylibui.controls import Checkbox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_combobox (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_combobox
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_combobox.py", line 6, in <module>
    from pylibui.controls import Combobox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_control (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_control
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_control.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_entry (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_entry
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_entry.py", line 6, in <module>
    from pylibui.controls import Entry, PasswordEntry, SearchEntry
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_label (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_label
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_label.py", line 6, in <module>
    from pylibui.controls import Label
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_progressbar (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_progressbar
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_progressbar.py", line 6, in <module>
    from pylibui.controls import ProgressBar
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_slider (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_slider
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_slider.py", line 6, in <module>
    from pylibui.controls import Slider
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_spinbox (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_spinbox
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_spinbox.py", line 6, in <module>
    from pylibui.controls import Spinbox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_tab (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_tab
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_tab.py", line 6, in <module>
    from pylibui.controls import Tab, Button
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/controls/box.py", line 6, in <module>
    from pylibui import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


======================================================================
ERROR: tests.test_window (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.4/unittest/case.py", line 577, in run
    testMethod()
  File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: tests.test_window
Traceback (most recent call last):
  File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
    __import__(name)
  File "/mnt/e/Projects/Open-Source/pylibui/tests/test_window.py", line 6, in <module>
    from tests.utils import WindowTestCase
  File "/mnt/e/Projects/Open-Source/pylibui/tests/utils.py", line 8, in <module>
    from pylibui.core import App
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/core.py", line 6, in <module>
    from . import libui
  File "/mnt/e/Projects/Open-Source/pylibui/pylibui/libui/__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /mnt/e/Projects/Open-Source/pylibui/pylibui/libui/sharedlibs/libui.so: cannot open shared object file: No such file or directory


----------------------------------------------------------------------
Ran 12 tests in 0.006s

FAILED (errors=12)

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

I noticed an interesting part where the tree's output states libui.so -> libui.so.0

So I changed the name of the file libui.so.0 to libui.so and got the following errors -

/mnt/e/Projects/Open-Source/pylibui$ python3 -m unittest
error: XDG_RUNTIME_DIR not set in the environment.

(python3:305): GLib-CRITICAL **: g_ptr_array_add: assertion 'rarray' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_cascade_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == &GTK_CSS_VALUE_RGBA' failed

(python3:305): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(python3:305): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(python3:305): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_cascade_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_cascade_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_cascade_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(python3:305): Gtk-CRITICAL **: _gtk_style_cascade_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Eerror: XDG_RUNTIME_DIR not set in the environment.
Segmentation fault (core dumped)

from pylibui.

 avatar commented on September 26, 2024

First, please restore name of the libui.so.0.

libui.so -> libui.so.0 means that libui.so is a link that points libui.so.0 So, try running this in libui/sharedlibs:

ln libui.so.0 libui.so

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

I still get the error: XDG_RUNTIME_DIR not set in the environment error

reference to the full error

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Could it be because of running everything in bash on Ubuntu on Windows ?

from pylibui.

 avatar commented on September 26, 2024

Maybe. I'm using Ubuntu too. But I've never seen an error like this while working on pylibui.

from pylibui.

 avatar commented on September 26, 2024

Can you please try this: http://superuser.com/a/1078889

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Same error. except with
** (python3:16): WARNING **: Could not open X display in the beginning

from pylibui.

 avatar commented on September 26, 2024

Can you open other GUI applications? Like xclock or gedit?

from pylibui.

 avatar commented on September 26, 2024

Why don't you work on windows?

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

No, gedit doesn't work, gives the same error, (could not open x display). even though I tried changing the display values.

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Well, Windows is a bit difficult to work with, especially with Cmake and the fact that my path recognizes python2.7 when I use python and it has no python3 path which I would need to configure, but yes it seems I'll have to pick that up

from pylibui.

TiagoDanin avatar TiagoDanin commented on September 26, 2024

image

GNOME create a vertical separator for gtk_separator_new(GTK_ORIENTATION_HORIZONTAL)

image

Same error with pygtk

from pylibui.

 avatar commented on September 26, 2024

@TiagoDanin Sorry, I didn't understand you. Is there an error?

from pylibui.

TiagoDanin avatar TiagoDanin commented on September 26, 2024

Yes, you can see in my fork

from pylibui.

 avatar commented on September 26, 2024

What is the problem? It seems it is working well.

from pylibui.

 avatar commented on September 26, 2024

You were trying to create a horizontal seperator but got a vertical one, am I right?

from pylibui.

 avatar commented on September 26, 2024

It's just a bit confusing. Your file name is vseperator.py but you imported and used HorizontalSeperator. And a vertical seperator appeared as a result 😄

from pylibui.

TiagoDanin avatar TiagoDanin commented on September 26, 2024

image
Yes 😁

from pylibui.

 avatar commented on September 26, 2024

Thanks. A lot much more clear 👍 I'm checking now.

from pylibui.

 avatar commented on September 26, 2024

It works well for me.

Horizontal (however I had to add a VerticalBox to make it appear):
horizontal
Vertical:
vertical

from pylibui.

 avatar commented on September 26, 2024

But I think I'm not using gnome 😁

from pylibui.

 avatar commented on September 26, 2024

It's working on Unity but not on Gnome. Maybe, it's about original libui. Please double check your code. And please try adding Vertical/Horizontal boxes and let me know if it changes.

from pylibui.

 avatar commented on September 26, 2024

Your code has missing parts. Maybe it's better to wait separator to be implemented. Then you can check again and open an issue for this if it's necessary.

@anshuman73 is working on this, meanwhile you can check other issues. It seems you got the idea 👍 your fork looks good.

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

Well, if @TiagoDanin is close to a solution, I wouldn't want to stop you.

I can't even get the tests right. Tried running on windows, ended up getting these -

EEEEEEEEEEEEEE
======================================================================
ERROR: pylibui.controls (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: pylibui.controls
Traceback (most recent call last):
  File "C:\Program Files (x86)\Python 3.5\lib\unittest\loader.py", line 462, in _find_test_path
    package = self._get_module_from_name(name)
  File "C:\Program Files (x86)\Python 3.5\lib\unittest\loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "E:\Projects\Open-Source\pylibui\pylibui\controls\__init__.py", line 6, in <module>
    from .box import Box, HorizontalBox, VerticalBox
  File "E:\Projects\Open-Source\pylibui\pylibui\controls\box.py", line 6, in <module>
    from pylibui import libui
  File "E:\Projects\Open-Source\pylibui\pylibui\libui\__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "C:\Program Files (x86)\Python 3.5\lib\ctypes\__init__.py", line 425, in LoadLibrary
    return self._dlltype(name)
  File "C:\Program Files (x86)\Python 3.5\lib\ctypes\__init__.py", line 347, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found


======================================================================
ERROR: pylibui.libui (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: pylibui.libui
Traceback (most recent call last):
  File "C:\Program Files (x86)\Python 3.5\lib\unittest\loader.py", line 462, in _find_test_path
    package = self._get_module_from_name(name)
  File "C:\Program Files (x86)\Python 3.5\lib\unittest\loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "E:\Projects\Open-Source\pylibui\pylibui\libui\__init__.py", line 24, in <module>
    ctypes.cdll.LoadLibrary(SHARED_LIBS)
  File "C:\Program Files (x86)\Python 3.5\lib\ctypes\__init__.py", line 425, in LoadLibrary
    return self._dlltype(name)
  File "C:\Program Files (x86)\Python 3.5\lib\ctypes\__init__.py", line 347, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

And so on for all the tests.

Could be related to this - http://stackoverflow.com/a/6087086 or could be related to a localized problem.
Looks mostly a localized problem with dlls though

from pylibui.

 avatar commented on September 26, 2024

So @TiagoDanin you can open a pull request for this if you want. But please make sure code is complete, for example you've commented this line, in uiNewHorizontalSeparator it's completely missing. After implementation completed, you can open another issue for the horizontal/vertical problem :octocat:

@anshuman73 thanks for your effort, I hope you keep trying and find a good solution soon. Other issues are waiting for you. Please let us know if anything changes or you need some help.

from pylibui.

anshuman73 avatar anshuman73 commented on September 26, 2024

@nsgonultas Firstly, sorry for being unresponsive for a while

Sure ! I think I'll go ahead and get a proper dual boot ubuntu that I've been planning for some time. Should help solve unnecessary issues and speed up things. Looking forward to solving some more issues !

from pylibui.

Related Issues (20)

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.