SlideShare a Scribd company logo
1 of 17
CodeFurther...
danny@codefurther.org
www.codefurther.org
@dannygoodall
© Danny Goodall - 2015
Danny Goodall
CAS Portsmouth Hub
Meeting
Introduction to the CodeFurther initiative
CodeFurther...
Examples of projects…
• Display the PREMIER LEAGUE football table!
• Get the WEATHER FORECAST for tomorrow…and send it in
an EMAIL to someone!
• Get a list of the most popular SONGS at the moment and
send a TWEET about it!
• Get SONG LYRICS for your favourite song, and send a TEXT
to a mobile phone!
CodeFurther...
Time for a…
CodeFurther...
Example Code - Directions
1. Head south on Stamshaw Rd/A3 toward Derby Rd (0.4 km / 1 min)
2. At the roundabout, take the 4th exit onto the M275 ramp to M27 (0.7…
3. Merge onto M275 (2.0 km / 1 min)
4. At junction 12, exit toward Southampton/Fareham (0.7 km / 1 min)
5. Merge onto M27 (17.5 km / 10 mins)
6. At junction 8, take the A3024 exit to Southampton/East Docks/Hamble…
7. At the roundabout, take the 1st exit onto A3024 (0.4 km / 1 min)
8. At the roundabout, take the 3rd exit onto Bursledon Rd/A3024 (0.9 km…
9. Turn left onto Botley Rd/B3033 (1.5 km / 2 mins
10. At the roundabout, take the 2nd exit onto Portsmouth Rd/A3025…
11. Turn left onto Terminus Terrace/A33 (78 m / 1 min)
12. Turn right onto Bernard St/A33 (0.1 km / 1 min)
13. Turn right onto Threefield Ln/A33 (0.2 km / 1 min)
14. Slight left onto Evans St/A33 (0.2 km / 1 min)
15. Take the 1st left onto Houndwell Pl (0.2 km / 1 min)
16. At the roundabout, take the 3rd exit onto Palmerston Rd (0.3 km /…
17. Turn left onto Pound Tree Rd (0.2 km / 1 min)
18. Pound Tree Rd turns right and becomes Above Bar St (0.5 km / 2 mins)
from codefurther.directions import GetDirections
directions = GetDirections(
'Portsmouth',
'Southampton',
'driving‘
)
for step in directions.steps:
print(step)
CodeFurther...
Example Code - Football
Premier League 2014/15 - Matchday 22
# Team Plyd GlsF GlsA GD Pts
-- ------------------------------ ---- ---- ---- ---- ----
1 Chelsea FC 22 51 19 32 52
2 Manchester City FC 22 45 22 23 47
3 FC Southampton 22 37 16 21 42
4 Manchester United FC 22 36 21 15 40
5 FC Arsenal London 22 39 25 14 39
6 Tottenham Hotspur FC 22 32 30 2 37
7 West Ham United FC 22 35 25 10 36
8 Liverpool FC 22 31 27 4 35
9 Swansea City 22 26 30 -4 30
10 Stoke City FC 22 23 27 -4 29
11 Newcastle United 22 26 35 -9 27
12 Everton FC 22 30 34 -4 23
13 Crystal Palace 22 25 33 -8 23
14 West Bromwich Albion 22 20 29 -9 22
15 Aston Villa FC 22 11 25 -14 22
16 Sunderland AFC 22 19 33 -14 20
17 FC Burnley 22 21 36 -15 20
18 Hull City FC 22 20 30 -10 19
19 Queens Park Rangers 22 23 39 -16 19
20 Leicester City 22 20 34 -14 17
from codefurther.football import premier_league
for league_entry in premier_league.league_table:
print(league_entry)
CodeFurther...
Example Code - Lyrics
When your legs don't work like they used to before
And I can't sweep you off of your feet
Will your mouth still remember the taste of my love
Will your eyes still smile from your cheeks
And darling I will be loving you till we're 70
And baby my heart could still fall as hard at 23
And I'm thinking 'bout how people fall in love in mysterious ways
Maybe just the touch of a hand
Oh me I fall in love with you every single day
And I just wanna tell you I am
So honey now
Take me into your loving arms
Kiss me under the light of a thousand stars
Place your head on my beating heart
I'm thinking out loud
That maybe we found love right where we are
When my hair's overgone and my memory fades
And the crowds don't remember my name
When my hands don't play the strings the same way
I know you will still love me the same
'Cause honey your soul can never grow old
It's ever green
Baby your smile forever in my mind and memory
And I'm thinking 'bout how people fall in love in mysterious ways
Maybe it's all part of a plan
I'll just keep on making the same mistakes
Hoping that you'll understand
But baby now
.
.
.
from codefurther.lyrics import Lyrics
lyrics = Lyrics()
result = lyrics.song_lyrics(
"Ed Sheeran",
"Thinking out loud“
)
for line in result:
print(line)
CodeFurther...
Example Code – Top40 Charts
1 Uptown Funk (feat. Bruno Mars) Mark Ronson 7 1
2 Lips Are Movin Meghan Trainor 7 50
3 Take Me To Church Hozier 26 3
4 Wish You Were Mine Philip George 4 2
5 Up (feat. Demi Lovato) Olly Murs 9 4
6 Thinking Out Loud Ed Sheeran 31 5
7 Heroes (We Could Be) (feat. Tove Lo) Alesso 5 7
8 The Nights Avicii 3 16
9 Blank Space Taylor Swift 13 6
10 Something I Need Ben Haenow 6 8
11 Elastic Heart Sia 7 13
12 Like I Can Sam Smith 14 10
13 Real Love Clean Bandit & Jess Glynne 10 12
14 All About That Bass Meghan Trainor 21 11
15 I Loved You (feat. Melissa Steel) Blonde 8 15
16 Outside (feat. Ellie Goulding) Calvin Harris 12 14
17 Cool Kids Echosmith 8 28
18 Promesses (feat. Kaleem Taylor) Tchami 3 9
19 Shake It Off Taylor Swift 23 26
20 Budapest George Ezra 39 17
21 I'm Not The Only One Sam Smith 28 21
22 Chandelier Sia 30 19
23 Dangerous (feat. Sam Martin) David Guetta 10 22
24 Blame It On Me George Ezra 29 25
25 Night Changes One Direction 11 18
26 Wrapped Up (feat. Travie McCoy) Olly Murs 10 20
27 Stay With Me Sam Smith 36 24
28 Bang Bang Jessie J, Ariana Grande & Nicki Minaj 18 23
29 Hold Back The River James Bay 9 31
30 These Days Take That 9 27
31 Don't Tell 'Em (feat. Y.G.) Jeremih 16 32
32 Don't Ed Sheeran 31 29
33 All Of Me John Legend 54 33
34 Steal My Girl One Direction 15 30
35 Sing Ed Sheeran 34 35
36 Changing (feat. Paloma Faith) Sigma 21 37
37 Blame (feat. John Newman) Calvin Harris 20 36
38 Prayer In C (Robin Schulz Remix) Lilly Wood 24 38
39 7/11 Beyoncé 9 34
40 Rather Be (feat. Jess Glynne) Clean Bandit 53 39
from codefurther.top40 import Top40
top40 = Top40()
for single in top40.singles:
print(single)
CodeFurther...
Example Code – Weather Forecast
Tomorrow's forecast for Portsmouth, UK is Drizzle in the
morning. The temperature will be between 3.14 and 7.86.
from codefurther.weather import Weather
forecast = Weather()
tomorrows_weather = forecast.tomorrow(
"Portsmouth, UK“
)
print(tomorrows_weather)
CodeFurther...
Example Code – Weather Forecast
from codefurther.weather import Weather
from codefurther.textmessage import TextMessage
forecast = Weather()
texter = TextMessage()
tomorrows_weather = forecast.tomorrow(
"Portsmouth, UK“
)
texter.send(
'+44 7795 054500',
tomorrows_weather
)
CodeFurther...
Example Code – Weather Forecast
from codefurther.weather import Weather
from codefurther.twitter import Twitter
forecast = Weather()
twitter = Twitter()
tomorrows_weather = forecast.tomorrow(
"Portsmouth, UK“
)
twitter.tweet( tomorrows_weather )
CodeFurther...
from codefurther.weather import Weather
from codefurther.email import Email
forecast = Weather()
emailer = Email()
tomorrows_weather = forecast.tomorrow(
"Portsmouth, UK“
)
emailer.send(
'danny@onebloke.com',
'dannynonegoodall@gmail.com',
"Here is tomorrow's weather forecast!",
tomorrows_weather
)
Example Code – Weather Forecast
CodeFurther...
Example Code – Weather Forecast
from codefurther.weather import Weather
from codefurther.slack import Slack
forecast = Weather()
slack = Slack()
tomorrows_weather = forecast.tomorrow(
"Portsmouth, UK"
)
slack.post_message(
tomorrows_weather,
'#cas-hub'
)
CodeFurther...
Project availability - BETA
Source code:
https://bitbucket.org/dannygoodall/codefurther
Documentation:
http://codefurther.readthedocs.org/en/latest/
CodeFurther...
My questions to you…
• Does this look interesting?Concept
• What is the likely age range?
• Is this suitable in lesson or for an after school club?Age / Capability
• Social communication in the school context?
• Installation and data ‘issues’Cons/Problems/Concerns
• IMDB, NASA Mission Data, iTunes trending, Google Maps,
Search twitter, etc.Other data
• xSMS, Tweets, Email, Google+, Facebook, Guttenberg library,
Snapchat, Flickr, Instagram, Complete web sites, etc.
Other Social
Communication
CodeFurther...
Installation
pip install codefurther
•Python 2 and 3 code
base
•Contributors welcome
•Looking for test users at
the moment
CodeFurther...
Questions for me…
danny@codefurther.org
www.codefurther.org
@dannygoodall
© Danny Goodall - 2015
Danny Goodall
CodeFurther...

More Related Content

Recently uploaded

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutionsmonugehlot87
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 

Recently uploaded (20)

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutions
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Introduction to CodeFurther initiative

  • 1. CodeFurther... danny@codefurther.org www.codefurther.org @dannygoodall © Danny Goodall - 2015 Danny Goodall CAS Portsmouth Hub Meeting Introduction to the CodeFurther initiative
  • 2. CodeFurther... Examples of projects… • Display the PREMIER LEAGUE football table! • Get the WEATHER FORECAST for tomorrow…and send it in an EMAIL to someone! • Get a list of the most popular SONGS at the moment and send a TWEET about it! • Get SONG LYRICS for your favourite song, and send a TEXT to a mobile phone!
  • 4. CodeFurther... Example Code - Directions 1. Head south on Stamshaw Rd/A3 toward Derby Rd (0.4 km / 1 min) 2. At the roundabout, take the 4th exit onto the M275 ramp to M27 (0.7… 3. Merge onto M275 (2.0 km / 1 min) 4. At junction 12, exit toward Southampton/Fareham (0.7 km / 1 min) 5. Merge onto M27 (17.5 km / 10 mins) 6. At junction 8, take the A3024 exit to Southampton/East Docks/Hamble… 7. At the roundabout, take the 1st exit onto A3024 (0.4 km / 1 min) 8. At the roundabout, take the 3rd exit onto Bursledon Rd/A3024 (0.9 km… 9. Turn left onto Botley Rd/B3033 (1.5 km / 2 mins 10. At the roundabout, take the 2nd exit onto Portsmouth Rd/A3025… 11. Turn left onto Terminus Terrace/A33 (78 m / 1 min) 12. Turn right onto Bernard St/A33 (0.1 km / 1 min) 13. Turn right onto Threefield Ln/A33 (0.2 km / 1 min) 14. Slight left onto Evans St/A33 (0.2 km / 1 min) 15. Take the 1st left onto Houndwell Pl (0.2 km / 1 min) 16. At the roundabout, take the 3rd exit onto Palmerston Rd (0.3 km /… 17. Turn left onto Pound Tree Rd (0.2 km / 1 min) 18. Pound Tree Rd turns right and becomes Above Bar St (0.5 km / 2 mins) from codefurther.directions import GetDirections directions = GetDirections( 'Portsmouth', 'Southampton', 'driving‘ ) for step in directions.steps: print(step)
  • 5. CodeFurther... Example Code - Football Premier League 2014/15 - Matchday 22 # Team Plyd GlsF GlsA GD Pts -- ------------------------------ ---- ---- ---- ---- ---- 1 Chelsea FC 22 51 19 32 52 2 Manchester City FC 22 45 22 23 47 3 FC Southampton 22 37 16 21 42 4 Manchester United FC 22 36 21 15 40 5 FC Arsenal London 22 39 25 14 39 6 Tottenham Hotspur FC 22 32 30 2 37 7 West Ham United FC 22 35 25 10 36 8 Liverpool FC 22 31 27 4 35 9 Swansea City 22 26 30 -4 30 10 Stoke City FC 22 23 27 -4 29 11 Newcastle United 22 26 35 -9 27 12 Everton FC 22 30 34 -4 23 13 Crystal Palace 22 25 33 -8 23 14 West Bromwich Albion 22 20 29 -9 22 15 Aston Villa FC 22 11 25 -14 22 16 Sunderland AFC 22 19 33 -14 20 17 FC Burnley 22 21 36 -15 20 18 Hull City FC 22 20 30 -10 19 19 Queens Park Rangers 22 23 39 -16 19 20 Leicester City 22 20 34 -14 17 from codefurther.football import premier_league for league_entry in premier_league.league_table: print(league_entry)
  • 6. CodeFurther... Example Code - Lyrics When your legs don't work like they used to before And I can't sweep you off of your feet Will your mouth still remember the taste of my love Will your eyes still smile from your cheeks And darling I will be loving you till we're 70 And baby my heart could still fall as hard at 23 And I'm thinking 'bout how people fall in love in mysterious ways Maybe just the touch of a hand Oh me I fall in love with you every single day And I just wanna tell you I am So honey now Take me into your loving arms Kiss me under the light of a thousand stars Place your head on my beating heart I'm thinking out loud That maybe we found love right where we are When my hair's overgone and my memory fades And the crowds don't remember my name When my hands don't play the strings the same way I know you will still love me the same 'Cause honey your soul can never grow old It's ever green Baby your smile forever in my mind and memory And I'm thinking 'bout how people fall in love in mysterious ways Maybe it's all part of a plan I'll just keep on making the same mistakes Hoping that you'll understand But baby now . . . from codefurther.lyrics import Lyrics lyrics = Lyrics() result = lyrics.song_lyrics( "Ed Sheeran", "Thinking out loud“ ) for line in result: print(line)
  • 7. CodeFurther... Example Code – Top40 Charts 1 Uptown Funk (feat. Bruno Mars) Mark Ronson 7 1 2 Lips Are Movin Meghan Trainor 7 50 3 Take Me To Church Hozier 26 3 4 Wish You Were Mine Philip George 4 2 5 Up (feat. Demi Lovato) Olly Murs 9 4 6 Thinking Out Loud Ed Sheeran 31 5 7 Heroes (We Could Be) (feat. Tove Lo) Alesso 5 7 8 The Nights Avicii 3 16 9 Blank Space Taylor Swift 13 6 10 Something I Need Ben Haenow 6 8 11 Elastic Heart Sia 7 13 12 Like I Can Sam Smith 14 10 13 Real Love Clean Bandit & Jess Glynne 10 12 14 All About That Bass Meghan Trainor 21 11 15 I Loved You (feat. Melissa Steel) Blonde 8 15 16 Outside (feat. Ellie Goulding) Calvin Harris 12 14 17 Cool Kids Echosmith 8 28 18 Promesses (feat. Kaleem Taylor) Tchami 3 9 19 Shake It Off Taylor Swift 23 26 20 Budapest George Ezra 39 17 21 I'm Not The Only One Sam Smith 28 21 22 Chandelier Sia 30 19 23 Dangerous (feat. Sam Martin) David Guetta 10 22 24 Blame It On Me George Ezra 29 25 25 Night Changes One Direction 11 18 26 Wrapped Up (feat. Travie McCoy) Olly Murs 10 20 27 Stay With Me Sam Smith 36 24 28 Bang Bang Jessie J, Ariana Grande & Nicki Minaj 18 23 29 Hold Back The River James Bay 9 31 30 These Days Take That 9 27 31 Don't Tell 'Em (feat. Y.G.) Jeremih 16 32 32 Don't Ed Sheeran 31 29 33 All Of Me John Legend 54 33 34 Steal My Girl One Direction 15 30 35 Sing Ed Sheeran 34 35 36 Changing (feat. Paloma Faith) Sigma 21 37 37 Blame (feat. John Newman) Calvin Harris 20 36 38 Prayer In C (Robin Schulz Remix) Lilly Wood 24 38 39 7/11 Beyoncé 9 34 40 Rather Be (feat. Jess Glynne) Clean Bandit 53 39 from codefurther.top40 import Top40 top40 = Top40() for single in top40.singles: print(single)
  • 8. CodeFurther... Example Code – Weather Forecast Tomorrow's forecast for Portsmouth, UK is Drizzle in the morning. The temperature will be between 3.14 and 7.86. from codefurther.weather import Weather forecast = Weather() tomorrows_weather = forecast.tomorrow( "Portsmouth, UK“ ) print(tomorrows_weather)
  • 9. CodeFurther... Example Code – Weather Forecast from codefurther.weather import Weather from codefurther.textmessage import TextMessage forecast = Weather() texter = TextMessage() tomorrows_weather = forecast.tomorrow( "Portsmouth, UK“ ) texter.send( '+44 7795 054500', tomorrows_weather )
  • 10. CodeFurther... Example Code – Weather Forecast from codefurther.weather import Weather from codefurther.twitter import Twitter forecast = Weather() twitter = Twitter() tomorrows_weather = forecast.tomorrow( "Portsmouth, UK“ ) twitter.tweet( tomorrows_weather )
  • 11. CodeFurther... from codefurther.weather import Weather from codefurther.email import Email forecast = Weather() emailer = Email() tomorrows_weather = forecast.tomorrow( "Portsmouth, UK“ ) emailer.send( 'danny@onebloke.com', 'dannynonegoodall@gmail.com', "Here is tomorrow's weather forecast!", tomorrows_weather ) Example Code – Weather Forecast
  • 12. CodeFurther... Example Code – Weather Forecast from codefurther.weather import Weather from codefurther.slack import Slack forecast = Weather() slack = Slack() tomorrows_weather = forecast.tomorrow( "Portsmouth, UK" ) slack.post_message( tomorrows_weather, '#cas-hub' )
  • 13. CodeFurther... Project availability - BETA Source code: https://bitbucket.org/dannygoodall/codefurther Documentation: http://codefurther.readthedocs.org/en/latest/
  • 14. CodeFurther... My questions to you… • Does this look interesting?Concept • What is the likely age range? • Is this suitable in lesson or for an after school club?Age / Capability • Social communication in the school context? • Installation and data ‘issues’Cons/Problems/Concerns • IMDB, NASA Mission Data, iTunes trending, Google Maps, Search twitter, etc.Other data • xSMS, Tweets, Email, Google+, Facebook, Guttenberg library, Snapchat, Flickr, Instagram, Complete web sites, etc. Other Social Communication
  • 15. CodeFurther... Installation pip install codefurther •Python 2 and 3 code base •Contributors welcome •Looking for test users at the moment