View nested.py
import asyncio
async def stuff(val):
print("Going to sleep for", val)
await asyncio.sleep(val)
print("slept")
return val * 2
def do_stuff():
print("do stuff")
View feedback.rst

I don't think I've ever stayed at a hotel that has so fundamentally failed at the basic competence of being a hotel.

We arrived at midday, expecting a 3PM checkin. We didn't get into our room until 5PM. Some of our travelling companions didn't get into their room until 10:30PM.

When we did get to our room (a double), the room itself was barely large enough to stand in. There were two beds... but space for bags, etc was extremely limited.

The bathroom was even worse. You couldn't use the facilities without fully closing the door behind you. The room was provided with 1 full size bath towel, and 2 smaller towels. We rang reception for more towels and were delivered... 2 more hand towels.

The coffee facilities (again, for 2 people) consisted of a single coffee pod.

View window.py
from toga.interface.window import Window as WindowInterface
from .libs import *
from .container import Container
from . import dialogs
from .command import SEPARATOR, SPACER, EXPANDING_SPACER
class Window(WindowInterface):
# _IMPL_CLASS = WinForms.Form
View voc_example.py
from javax.swing import JFrame, JLabel, SwingUtilities
class HelloWorldSwing(implements=java.lang.Runnable):
def run(self) -> void:
self.createAndShowGUI()
def createAndShowGUI(self):
frame = JFrame("HelloWorldSwing")
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)
View app.py
import toga
class Login(toga.App):
def validate_user(self, widget):
if self.username.value == self.password.value:
self.main_window.info_dialog("Login", "Welcome to the show!")
else:
self.main_window.error_dialog("Error", "Go away, intruder!")
View proposal.rst

Cross-platform Native GUI development with BeeWare

Description

Both your title and this description are made public and displayed in the conference program to help attendees decide whether they are interested in this presentation. Limit this description to a few concise paragraphs.

Have you ever wanted to write a GUI application you can run on your laptop? What about an app that you can run on your phone? Historically, these have been difficult to achieve with Python, and impossible to achieve without learning a different API for each platform. But no more.

View challenge.rst

The Challenge

Abstract

Develop a Visual Studio 2017 solution file that will enable a user to download a zip file of content (including a solution file), open the solution, hit run, and have the code Just Work (tm).

Full description

View idea.md

Random business idea: Security notifications as-a-Service

Software authors sign up, get a bug tracker-like interface, but focussed at identifying the severity and impact of issues that have been reported. Issues are closed when a patch is uploaded.

Software users sign up to be put on a notification list when software they use announces a vulnerability. Emails sent to users are formatted to provide best practice reporting - easily identifiable severity and impact.

Software authors get a public interface for receiving security issues. The user reporting the problem gets notified when the bug is triaged, announced, and so on.

The service assists in the process of getting CVEs for projects.

View counting.css
ol > li::before {
content: counter(list-item) ". ";
width: 0.8em;
display: inline-block;
}
ol > li {
text-indent: -0.8em;
}