Giter VIP home page Giter VIP logo

pydelhi_mobile's Introduction

PyDelhiConf India 2023 Application

Mobile App for PyConIndia

Requirements:

Kivy Installation:

Dependencies-

Install from pip

  • pip install -r requirements.txt

WIP

To test install kivy and run the following::

$ python eventsapp/main.py -m screen:droid2,portrait -m inspector
$ python3 eventsapp/main.py -m screen:droid2,portrait -m inspector

Help on screens

To change images in app

  • Paste/change the image in pydelhi_mobile/tools/theming
  • Change your directory to pydelhi_mobile
  • Run command make theming

This command will aggregate all the png images in your file to one atlas from which the images are loaded.

to make apk prefer linux

  1. Install buildozer: pip install buildozer
  2. Edit the buildozer.spec to specify if you have android ndk and sdk, if not they will be automatically be downloaded by the next step.
  3. Connect your mobile, enable usb debugging, Then goto pydelhi_mobile folder and type make apk

Link to a existing vm that can be re-used will be added for convenience.

to make ipa for ios **

  1. Install XCode with latest updates & latest command line tools
  2. pip install buildozer
  3. goto the app folder and do buildozer init
  4. edit the buildoze.spec and add details for ios
  5. run buildozer ios debug

** Release Notes **

TBD

*** Enjoy ***

pydelhi_mobile's People

Contributors

1bitphoenix avatar abhishek1605 avatar akshayaurora avatar amanchouhan192 avatar ayush3298 avatar curiouslearner avatar darthgera123 avatar dependabot[bot] avatar dhuadaar avatar gaurav-b98 avatar hastagab avatar juggernaut451 avatar karx avatar kiok46 avatar manojpandey avatar omi10859 avatar prodyte avatar puranjay25 avatar pythongiant avatar rahulkumaran avatar santumahapatra avatar sjha2048 avatar stalwart201 avatar subtleskills avatar t1war1 avatar tm9k1 avatar warlord77 avatar xacrolyte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pydelhi_mobile's Issues

UnicodeDecodeError: 'charmap' codec can't decode , Windows 8.1, 64bit

Here's the log,

(pydelhi) C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf>python main.py -m
screen:droid2,portrait -m inspector
[INFO ] [Logger ] Record log in C:\Users\ADMIN.kivy\logs\kivy_18-05-27_2
.txt
[INFO ] [Screen ] Apply screen settings for Motorola Droid 2
[INFO ] [Screen ] size=480x854 dpi=240 density=1.5 orientation=portrait
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif
(img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1
900 64 bit (AMD64)]
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'4.0.0 - Build 10.18.10.4276'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) HD Graphics 4000'>
[INFO ] [GL ] OpenGL parsed version: 4, 0
[INFO ] [GL ] Shading version <b'4.00 - Build 10.18.10.4276'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Base ] Start application main loop
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "main.py", line 193, in
PyConApp().run()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\app.py", line 828, i
n run
runTouchApp()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\base.py", line 504,
in runTouchApp
EventLoop.window.mainloop()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\core\window\window_s
dl2.py", line 663, in mainloop
self._mainloop()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\core\window\window_s
dl2.py", line 405, in _mainloop
EventLoop.idle()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\base.py", line 339,
in idle
Clock.tick()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\clock.py", line 581,
in tick
self._process_events()
File "kivy_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7700)
File "kivy_clock.pyx", line 397, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7577)
File "kivy_clock.pyx", line 395, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7498)
File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (kivy_clock
.c:3490)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\animation.py", line
352, in _update
self.stop(widget)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\animation.py", line
217, in stop
self.dispatch('on_complete', widget)
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (ki
vy_event.c:8146)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1149, in kivy._event.EventObservers._dispatch (k
ivy_event.c:13564)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 419, in _on_complete
self.screen_in.dispatch('on_enter')
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (ki
vy_event.c:8146)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1109, in kivy._event.EventObservers._dispatch (k
ivy_event.c:12816)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\lang\builder.py", li
ne 64, in custom_callback
exec(kvlang.co_value, idmap)
File "", line 78, in
File "main.py", line 178, in load_screen
manager.add_widget(sc)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 991, in add_widget
self.current = screen.name
File "kivy\properties.pyx", line 478, in kivy.properties.Property.set (ki
vy\properties.c:5572)
File "kivy\properties.pyx", line 516, in kivy.properties.Property.set (kivy\p
roperties.c:6405)
File "kivy\properties.pyx", line 571, in kivy.properties.Property.dispatch (k
ivy\properties.c:7105)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (k
ivy_event.c:13193)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 1054, in on_current
screen.dispatch('on_enter')
File "kivy_event.pyx", line 718, in kivy.event.EventDispatcher.dispatch (ki
vy_event.c:8191)
File "C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf/uix/screens/screens
chedule.py", line 177, in on_enter
events = get_data('event', onsuccess=onsuccess)
File "C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf\network_init
.py
", line 84, in get_data
oldata = f.read()
File "C:\Users\ADMIN\Envs\pydelhi\lib\encodings\cp1252.py", line 23, in decod
e
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1345: ch
aracter maps to

(pydelhi) C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf>SET PYTHONIOENCODI
NG = UTF-8

(pydelhi) C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf>python main.py -m
screen:droid2,portrait -m inspector
[INFO ] [Logger ] Record log in C:\Users\ADMIN.kivy\logs\kivy_18-05-27_3
.txt
[INFO ] [Screen ] Apply screen settings for Motorola Droid 2
[INFO ] [Screen ] size=480x854 dpi=240 density=1.5 orientation=portrait
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif
(img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1
900 64 bit (AMD64)]
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'4.0.0 - Build 10.18.10.4276'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) HD Graphics 4000'>
[INFO ] [GL ] OpenGL parsed version: 4, 0
[INFO ] [GL ] Shading version <b'4.00 - Build 10.18.10.4276'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Base ] Start application main loop
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "main.py", line 193, in
PyConApp().run()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\app.py", line 828, i
n run
runTouchApp()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\base.py", line 504,
in runTouchApp
EventLoop.window.mainloop()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\core\window\window_s
dl2.py", line 663, in mainloop
self._mainloop()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\core\window\window_s
dl2.py", line 405, in _mainloop
EventLoop.idle()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\base.py", line 339,
in idle
Clock.tick()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\clock.py", line 581,
in tick
self._process_events()
File "kivy_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7700)
File "kivy_clock.pyx", line 397, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7577)
File "kivy_clock.pyx", line 395, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7498)
File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (kivy_clock
.c:3490)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\animation.py", line
352, in _update
self.stop(widget)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\animation.py", line
217, in stop
self.dispatch('on_complete', widget)
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (ki
vy_event.c:8146)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1149, in kivy._event.EventObservers._dispatch (k
ivy_event.c:13564)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 419, in _on_complete
self.screen_in.dispatch('on_enter')
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (ki
vy_event.c:8146)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1109, in kivy._event.EventObservers._dispatch (k
ivy_event.c:12816)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\lang\builder.py", li
ne 64, in custom_callback
exec(kvlang.co_value, idmap)
File "", line 78, in
File "main.py", line 178, in load_screen
manager.add_widget(sc)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 991, in add_widget
self.current = screen.name
File "kivy\properties.pyx", line 478, in kivy.properties.Property.set (ki
vy\properties.c:5572)
File "kivy\properties.pyx", line 516, in kivy.properties.Property.set (kivy\p
roperties.c:6405)
File "kivy\properties.pyx", line 571, in kivy.properties.Property.dispatch (k
ivy\properties.c:7105)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (k
ivy_event.c:13193)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 1054, in on_current
screen.dispatch('on_enter')
File "kivy_event.pyx", line 718, in kivy.event.EventDispatcher.dispatch (ki
vy_event.c:8191)
File "C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf/uix/screens/screens
chedule.py", line 177, in on_enter
events = get_data('event', onsuccess=onsuccess)
File "C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf\network_init
.py
", line 84, in get_data
oldata = f.read()
File "C:\Users\ADMIN\Envs\pydelhi\lib\encodings\cp1252.py", line 23, in decod
e
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1345: ch
aracter maps to

community page

  • No image
  • text has "/n"
  • the footer duplicates on page load.

photo_2017-03-14_22-44-47

Add calendar feature

Create a calendar for full schedule of the conference and add an option for integrating that calendar with user's personal calendar so that he can get reminders for talks and other sessions via his calendar app.

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.