Skip to content

Commit 91b695d

Browse files
committed
update sponsors
1 parent 89b6b2a commit 91b695d

15 files changed

+256
-144
lines changed

buildozer.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,11 @@ android.permissions = INTERNET
144144

145145
# (list) Gradle dependencies to add (currently works only with sdl2_gradle
146146
# bootstrap)
147-
#android.gradle_dependencies =
147+
android.add_src = electrum/gui/kivy/data/java-classes/
148+
149+
android.gradle_dependencies = me.dm7.barcodescanner:zxing:1.9.8
150+
151+
android.add_activities = org.python.qr.SimpleScannerActivity
148152

149153
# (list) Java classes to add as activities to the manifest.
150154
#android.add_activites = com.example.ExampleActivity

eventsapp/data/sponsors.json

Lines changed: 67 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,76 @@
3535
"logo": "https://in.pycon.org/2018/img/sponsors/Pramati.png",
3636
"about": "Pramati builds independent companies focused on profitable, well-defined markets. Our model works because we increase the probability of success for our companies."
3737
},
38+
{
39+
"name": "Soroco",
40+
"type": "Gold",
41+
"website": "http://www.soroco.com/",
42+
"logo": "https://in.pycon.org/2018/img/sponsors/soroco.png",
43+
"about": "Data-driven automation of entire business functions"
44+
},
45+
{
46+
"name": "Live Health",
47+
"type": "Gold",
48+
"website": "https://livehealth.in/",
49+
"logo": "https://in.pycon.org/2018/img/sponsors/LiveHealth_logo.png",
50+
"about": "Automating\nHealthcare Diagnostics\nWe enable our customers to deliver a more digital & connected experience."
51+
},
52+
{
53+
"name": "IBM",
54+
"type": "Gold",
55+
"website": "http://www.ibm.com/in",
56+
"logo": "https://in.pycon.org/2018/img/sponsors/ibm.png",
57+
"about": "International Business Machine"
58+
},
59+
{
60+
"name": "VMWare",
61+
"type": "Gold",
62+
"website": "https://www.vmware.com/in/company.html",
63+
"logo": "https://in.pycon.org/2018/img/sponsors/VMware_logo.jpg",
64+
"about": "We Are VMware\nAt VMware, we believe that software has the power to unlock new opportunities for people and our planet. We look beyond the barriers of compromise to engineer new ways to make technologies work together seamlessly. Our software forms a digital foundation that powers the apps, services and experiences that are transforming the world."
65+
},
66+
{
67+
"name": "Corteva",
68+
"type": "Gold",
69+
"website": "https://www.corteva.com/",
70+
"logo": "https://in.pycon.org/2018/img/sponsors/corteva.png",
71+
"about": "We bring our global presence, deep knowledge and diverse resources so that farms can flourish, moving our world forward."
72+
},
73+
{
74+
"name": "Zauba",
75+
"type": "Gold",
76+
"website": "https://zauba.company",
77+
"logo": "https://in.pycon.org/2018/img/sponsors/zaubacorp.png",
78+
"about": "We don’t build products, websites or applications.\n\nWe create impact that\nREVOLUTIONISES\nentire industries."
79+
},
3880
{
3981
"name": "Fosee",
4082
"type": "Silver",
4183
"website": "https://www.fosee.in/",
4284
"logo": "https://in.pycon.org/2018/img/sponsors/fossee.png",
4385
"about": "FOSSEE (Free and Open Source Software in Education) project promotes the use of FOSS tools to improve the quality of education in our country. We aim to reduce dependency on proprietary software in educational institutions. We encourage the use of FOSS tools through various activities to ensure commercial software is replaced by equivalent FOSS tools. We also develop new FOSS tools and upgrade existing tools to meet requirements in academia and research. "
4486
},
87+
{
88+
"name": "Zomega",
89+
"type": "Silver",
90+
"website": "http://www.zeomega.com/",
91+
"logo": "https://in.pycon.org/2018/img/sponsors/zeomega.png",
92+
"about": "ZeOmega provides HIE-enabled population health management solutions for any healthcare organization that assumes clinical and financial risk. Our comprehensive solutions help you achieve the desired health quality and cost outcomes for your patients while putting them at the center of a collaborative approach to healthcare management and delivery. Any organization seeking to improve outcomes, control costs, and increase patient satisfaction needs capabilities built on five essential pillars."
93+
},
94+
{
95+
"name": "DBS",
96+
"type": "Silver",
97+
"website": "https://www.dbs.com/asia-hub-2/index.html",
98+
"logo": "https://in.pycon.org/2018/img/sponsors/DBS_Logo.png",
99+
"about": "DBS is a leading financial services group in Asia that has been at the forefront of creating and delivering best-in-class solutions for our customers."
100+
},
101+
{
102+
"name": "Pipal Academy",
103+
"type": "Associate",
104+
"website": "http://www.pipal.in/",
105+
"logo": "http://paste.opensuse.org/view/raw/34063737",
106+
"about": "Pipal Academy is a collective of experienced technologists, who care deeply about the art of software development. They offer in-depth courses on niche technical topics. Pipal Academy regularly conducts public workshops in Bangalore and also offer on-site corporate training."
107+
},
45108
{
46109
"name": "Reckonsys",
47110
"type": "Associate",
@@ -50,11 +113,11 @@
50113
"about": "We are a Software Product Development Firm obsessed with creating uncommon solutions for common problems by making use of the right technologies and best practices. We work with Startup founders to build their MVP’s and with existing Enterprises to help solve interesting problems."
51114
},
52115
{
53-
"name": "Pipal Academy",
116+
"name": "Atonarp",
54117
"type": "Associate",
55-
"website": "http://www.pipal.in/",
56-
"logo": "http://paste.opensuse.org/view/raw/34063737",
57-
"about": "Pipal Academy is a collective of experienced technologists, who care deeply about the art of software development. They offer in-depth courses on niche technical topics. Pipal Academy regularly conducts public workshops in Bangalore and also offer on-site corporate training."
118+
"website": "https://www.atonarp.com",
119+
"logo": "https://in.pycon.org/2018/img/sponsors/atonarp.png",
120+
"about": "At Atonarp, we are revolutionising how we sense, collect, process and interpret data at the molecular level. Our teams work out of Tokyo, California and Bengaluru with a focus on scientific technology platforms for molecular analysis. Backed by precision engineering and R&D in emerging technologies, we have built one of the most intelligent and user-friendly mass spectrometers in the world. Starting with pharmaceutical lyophilisation, we now enable powerful process analytical solutions across a range of industries."
58121
}
59122
]
60123
}

eventsapp/data/tracks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"speaker": {
88
"name": "PyCon India Registeration Team",
99
"info": "Some Info about workshops here",
10-
"photo": "https://conference.manipal.edu/ICCPM/ImgBanner1/register.jpg"
10+
"photo": "https://images.yourstory.com/2016/06/registration.jpg?auto=compressedu/ICCPM/ImgBanner1/register.jpg"
1111
}
1212
},
1313
"01": {
@@ -81,7 +81,7 @@
8181
"speaker": {
8282
"name": "HICC Caterors",
8383
"info": "Gourmet? Street? What will be served?",
84-
"photo": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR_fI9DV8nZ_Jj4exyqWb04f5KQezQfAC__f9KAJsUiH8pG9Mg0"
84+
"photo": "https://az727346.vo.msecnd.net/content/images/lunch-combos/lunch-combos-soup-salad-170721-v2.png"
8585
}
8686
},
8787
"06": {

eventsapp/main.py

Lines changed: 6 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
Github Repo: http://github.com/pythonindia/PyCon-Mobile-App
55
'''
66

7-
__version__ = '0.0.1'
7+
__version__ = '0.0.2'
88

99
# setup error reporting
10-
import sentry_sdk
11-
sentry_sdk.init("https://[email protected]/1284618")
12-
# That's all for error reporting
10+
# import sentry_sdk
11+
# sentry_sdk.init("https://[email protected]/1284618")
12+
# That's all for error reporting
1313

1414
import os
1515
import sys
@@ -36,6 +36,7 @@
3636
# patch the browser to open webview on mobile
3737
#from utils import patch_browser
3838
import webbrowser
39+
from utils import load_screen
3940

4041

4142
class PyConApp(App):
@@ -126,68 +127,7 @@ def on_start(self):
126127
from utils.keyboard import hook_keyboard
127128
hook_keyboard()
128129
# let's load our first screen
129-
self.load_screen('StartupScreen')
130-
131-
def go_back_in_history(self):
132-
try:
133-
# check webbbrowser
134-
# if webbrowser._opened:
135-
# webbrowser.close()
136-
# return
137-
# go back to previous screen
138-
# first pop current screen
139-
scr = self._navigation_higherarchy.pop()
140-
if scr.name == 'ScreenSchedule':
141-
# we are at top of Nav higherarchy
142-
from utils import pause_app
143-
pause_app()
144-
return
145-
146-
# we are not at root of Nav higherarchy
147-
scr = self._navigation_higherarchy[-1]
148-
self.load_screen(
149-
scr.name,
150-
manager=scr.manager,
151-
store_back=False)
152-
except IndexError:
153-
# at root of app. Pause it.
154-
from utils import pause_app
155-
pause_app()
156-
157-
def load_screen(self, screen, manager=None, store_back=True):
158-
'''Load the provided screen:
159-
arguments::
160-
`screen`: is the name of the screen to be loaded
161-
`manager`: the manager to load this screen, this defaults to
162-
the main class.
163-
'''
164-
store_back = False if screen == 'StartupScreen' else store_back
165-
166-
manager = manager or self.root
167-
# load screen modules dynamically
168-
# for example load_screen('LoginScreen')
169-
# will look for uix/screens/loginscreen
170-
# load LoginScreen
171-
module_path = screen.lower()
172-
if not hasattr(self, module_path):
173-
import imp
174-
module = imp.load_module(screen, *imp.find_module(module_path))
175-
screen_class = getattr(module, screen)
176-
sc = screen_class()
177-
sc.from_back = not store_back
178-
setattr(self, module_path, sc)
179-
manager.add_widget(sc)
180-
181-
else:
182-
sc = getattr(self, module_path)
183-
184-
sc.from_back = not store_back
185-
manager.current = screen
186-
187-
if store_back:
188-
self._navigation_higherarchy.append(sc)
189-
190-
return getattr(self, module_path)
130+
load_screen('StartupScreen')
191131

192132
# Check if app is started as main and only then insitantiate the App class.
193133
if __name__ == '__main__':

eventsapp/uix/screens/navigationscreen.py

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class NavigationScreen(Screen):
1212
'''
1313

1414
Builder.load_string('''
15+
#:import load_screen utils.load_screen
1516
#:import WipeTransition kivy.uix.screenmanager.WipeTransition
1617
#:import NavigationDrawer uix.navigationdrawer.NavigationDrawer
1718
@@ -42,8 +43,9 @@ class NavigationScreen(Screen):
4243
on_touch_up:
4344
if self.collide_point(*args[1].opos) and\
4445
self.collide_point(*args[1].pos) and\
45-
args[1].is_triple_tap: app.load_screen(\
46-
'ScreenRegister', manager=app.navigation_manager)
46+
args[1].is_triple_tap: load_screen(\
47+
'ScreenRegister', manager=app.navigation_manager);\
48+
app.navigationdrawer.toggle_state()
4749
ScrollView
4850
GridLayout
4951
cols: 1
@@ -53,47 +55,42 @@ class NavigationScreen(Screen):
5355
id: bt_sched
5456
text: 'Schedule'
5557
on_released:
56-
app.load_screen(\
58+
load_screen(\
5759
'ScreenSchedule', manager=app.navigation_manager)
5860
MenuButton
5961
text: 'Sponsors'
6062
on_released:
61-
app.load_screen(\
63+
load_screen(\
6264
'ScreenSponsor', manager=app.navigation_manager)
6365
MenuButton
6466
text: 'Venue'
6567
on_released:
66-
app.load_screen(\
68+
load_screen(\
6769
'ScreenVenue', manager=app.navigation_manager)
6870
MenuButton
6971
text: 'OpenSpaces'
7072
on_released:
71-
app.load_screen(\
73+
load_screen(\
7274
'ScreenOpenSpaces', manager=app.navigation_manager)
7375
MenuButton
7476
text: 'DevSprints'
7577
on_released:
76-
app.load_screen(\
78+
load_screen(\
7779
'ScreenDevSprints', manager=app.navigation_manager)
78-
MenuButton
79-
text: 'FeedBack'
80-
on_released:
81-
app.load_screen(\
82-
'ScreenFeedback', manager=app.navigation_manager)
8380
MenuButton
8481
text: 'Ticket'
8582
on_released:
86-
app.load_screen(\
83+
load_screen(\
8784
'ScreenTicket', manager=app.navigation_manager)
8885
MenuButton
8986
text: 'Community'
9087
on_released:
91-
app.load_screen(\
88+
load_screen(\
9289
'ScreenCommunity', manager=app.navigation_manager)
9390
MenuButton
9491
text: 'About'
9592
on_released:
96-
app.load_screen(\
93+
load_screen(\
9794
'ScreenAbout', manager=app.navigation_manager)
9895
9996
<Topic@Label>
@@ -155,7 +152,7 @@ class NavigationScreen(Screen):
155152
on_enter:
156153
import os
157154
scr = os.environ.get('PYCONF_STARTUP_SCREEN','ScreenSchedule')
158-
app.load_screen(scr, manager=app.navigation_manager)
155+
load_screen(scr, manager=app.navigation_manager)
159156
right_panel.ids.topbar.ids.topic.opacity=1
160157
NavigationDrawer
161158
id: navigationdrawer

eventsapp/uix/screens/screenfeedback.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ def on_pre_enter(self):
1414
webbrowser.open('https://feedback.in.pycon.org')
1515

1616
def on_enter(self):
17-
app = App.get_running_app()
18-
app.go_back_in_history()
17+
pass

eventsapp/uix/screens/screenhistory.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from kivy.uix.screenmanager import Screen
55
from kivy.lang import Builder
6-
from kivy.app import App
76

87

98
class ScreenHistory(Screen):
@@ -13,5 +12,4 @@ class ScreenHistory(Screen):
1312
''')
1413

1514
def on_enter(self):
16-
app = App.get_running_app()
17-
app.go_back_in_history()
15+
pass

eventsapp/uix/screens/screenopenspaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ScreenOpenSpaces(Screen):
1212
ScrollView
1313
ScrollGrid
1414
AsyncImage
15-
source: "https://s-media-cache-ak0.pinimg.com/originals/75/71/45/7571452d437eac4801e6c490f5d2401e.jpg"
15+
source: "http://hrexperience.it/wp-content/uploads/2012/12/openspace.gif"
1616
size_hint_y: None
1717
allow_stretch: True
1818
height: dp(200)

eventsapp/uix/screens/screenregister.py

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,36 @@
33
# from kivy.app import App
44

55

6-
class ScreenFeedback(Screen):
6+
class ScreenRegister(Screen):
77
Builder.load_string('''
88
<ScreenRegister>
9-
name: 'ScreenRegiser'
10-
9+
name: 'ScreenRegister'
10+
data_file_dir: 'data/registeration'
11+
GridLayout
12+
size_hint: .5, None
13+
height: self.minimum_height
14+
pos_hint: {'center_x': .5, 'center_y': .5}
15+
spacing: dp(9)
16+
cols: 1
17+
BoxLayout
18+
size_hint_y: None
19+
height: dp(45)
20+
BackLabel
21+
text: 'data file dir'
22+
ActiveButton:
23+
text: root.data_file_dir
24+
on_release: pass
1125
1226
''')
1327

14-
def on_pre_enter(self):
15-
pass
16-
1728
def on_enter(self):
1829
# read csv file here
30+
# import csv
31+
# with open('/Users/quanon/Downloads/buyers-172227.csv.xls', 'rb') as csvfile:
32+
# spamreader = csv.reader(csvfile, dialect='excel')
33+
# for row in spamreader:
34+
# print(','.join(row))
35+
# break
1936
pass
2037

2138
def register_attendee(self):

eventsapp/uix/screens/screenschedule.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ class TalkInfo(
3333
height: max(lblinfo.texture_size[1] + dp(24), dp(40))
3434
spacing: dp(9)
3535
on_release:
36-
scr = app.load_screen('ScreenTalks', manager=app.navigation_manager)
36+
from utils import load_screen
37+
scr = load_screen('ScreenTalks', manager=app.navigation_manager)
3738
scr.talkid = self.talk['talk_id']
3839
LeftAlignedLabel:
3940
size_hint: None, 1

0 commit comments

Comments
 (0)