แสดงบทความที่มีป้ายกำกับ Kivy แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ Kivy แสดงบทความทั้งหมด

วันพฤหัสบดีที่ 19 พฤศจิกายน พ.ศ. 2563

Kivy on Big Sur , Mac OS X 11.0.1

 A few project i used Kivy(www.kivy.org).

When Mac OS X 11.0.1 Big Sur come. I need to recompile Kivy again. Here is my way.


Python3.7 from brew

Gstreamer-1.0-1.18.0-x86_64 (http://gstreamer.freedesktop.org/data/pkg/osx/1.18.0/gstreamer-1.0-1.18.0-x86_64.pkg)

Gstreamer-1.0-devel-1.18.0-x86_64 (http://gstreamer.freedesktop.org/data/pkg/osx/1.18.0/gstreamer-1.0-devel-1.18.0-x86_64.pkg)

SDL2-2.0.12 (https://www.libsdl.org/release/SDL2-2.0.12.dmg)

SDL2_image-2.0.5 (https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.5.dmg)

SDL2_mixer-2.0.4 (https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.dmg)

SDL2_ttf-2.0.15

# Install python3.7

$ brew install python@3.7


# Create new virtualenv

$ virtualenv -p /usr/local/opt/python@3.7/bin/python python3env


# Install SDL2 Gstreamer from here (https://kivy.org/doc/stable/installation/installation-devel.html#)


# then install kivy 1.11.1 from Kivy

# Updated 2.0.0 passed test.

$ pip install https://github.com/kivy/kivy/archive/stable.zip

Successfully installed Kivy-1.11.1 Kivy-Garden-0.1.4 certifi-2020.11.8 chardet-3.0.4 docutils-0.16 idna-2.10 pygments-2.7.2 requests-2.25.0 urllib3-1.26.2

Good Luck!

วันอาทิตย์ที่ 29 มีนาคม พ.ศ. 2558

Iot with Kivy, Autobahn, Twisted and Crossbar

Kivy is an object programming framework. It's a collection of the python applications together. So everyone can learn Kivy easily!

You need to know about Class!

Kivy is event loop programming. When you understand how event work you can go with many event driven programming.

Twisted -> Autobahn -> Crossbar.io

Twisted is also reactor. It's event loop! Autobahn is web-socket programming framework. Crossbar.io is WAMP router.

All components is event ! Asynchronous Programming!


Let's start :)

Kivy, main application should start with main.py (It's very important). In main.py we create WAMP component here.

วันพุธที่ 11 มีนาคม พ.ศ. 2558

Run Kivy with WAMP on Crossbar.io

Begin with my Raspberry Pi Project about Digital Signage. Totally it is going to be Iot (Internet of Things).

And this is the beginning of way i have to develop another project. The important thing about this project is Python Universal Language.

First i started with Python on Raspberry Pi with Serial Interface with nurse equipment. Old stuff start this project with web server and repeatedly refresh the web client every second.

After first version is outed. The requirement  never stop. They want to add more video in background when specific time meet, play sound and show IP camera.

Raspberry can not answer those answers.

Then we move all projects to minimal PC. It's work!

After all requirements are setting. I decide move the project into the Internet of Thing.

The players are Kivy, Twisted, Autobahn and Crossbar.io.

The next topic will be "How to implement those technologies for IoT"

วันอาทิตย์ที่ 26 ตุลาคม พ.ศ. 2557

Learn from both Kivy and Twisted

I, myself searched for many months to see what can i integrate Kivy and Twisted together.

Now my idea is come true.

https://github.com/digitaltrails/piKam

วันอาทิตย์ที่ 5 ตุลาคม พ.ศ. 2557

Another Raspberry PI with Kivy and implementation on Twisted.

I visited this site last month. At that time i did not know how to use it. But now i have any idea to do with this.

please visit this. Then i will do my test.


วันอาทิตย์ที่ 14 กันยายน พ.ศ. 2557

a Problem with Kivy on RTSP Video Streaming

2 days for searching and trying to Play RTSP IP Camera in Kivy.

It was no video show any on Kivy, no error !

It's not easy for me to find someone to help me continue develop Kivy to support RTSP now in Thailand.

Should i continue with Kivy?

updated: 25 Sep 2014

I'm back. Kivy is awesome.

วันเสาร์ที่ 26 กรกฎาคม พ.ศ. 2557

Kivy, another UIX for new device.

Long time on web application development. First we thought web application can easy to deploy on many operating systems and devices.

Some use java applet, flash. But when the applications are more complicated. The better way to do is going back to server side again. Then we began to use java script to do client functions.  Javascript framework are continue developing. We've switch to new framework over and over because we need the simple usage that hide the complex of javascript behind.

When personal devices are popular.  Most of users use web browser do some general purpose, like searching. Developer do responsive UI for many kind of screen width. Many standard come out like HTML5.  But it is 1 step behind user need.

After a few months with Kivy. The development for myself is changed.

Web is only is web, high-level of networks, data infrastructure. We going to use web-service to scales our application and support many kind of devices.

So i going to use Framework like Kivy to change the way.

Please try..

Webpy, Flask, Django, Tornado Web, Kivy

Then i live with Python.:)