Skip to content

Commit 26cd52a

Browse files
authored
Merge pull request #47 from /issues/46-Rake_task_for_projects_from_second_python_path
Rake task for projects from second python path
2 parents c37fedd + 51c16d2 commit 26cd52a

File tree

251 files changed

+28318
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

251 files changed

+28318
-0
lines changed
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
Albania,4342.011,1.511
2+
Algeria,130493.653,3.158
3+
Angola,18021.394,0.605
4+
Argentina,183375.203,4.142
5+
Armenia,5165.593,1.763
6+
Australia,384583.857,15.632
7+
Austria,64872.394,7.376
8+
Azerbaijan,30805.851,3.124
9+
Bahrain,29813.834,19.969
10+
Bangladesh,78270.17,0.475
11+
Belarus,54070.453,5.687
12+
Belgium,90368.188,7.963
13+
Benin,6763.074,0.605
14+
Bolivia (Plurin. State of),21899.18,1.981
15+
Bosnia and Herzegovina,22327.978,6.367
16+
Botswana,7717.409,3.367
17+
Brazil,427632.717,2.043
18+
Brunei Darussalam,6710.178,15.641
19+
Bulgaria,42819.932,6.051
20+
Côte d’Ivoire,10234.205,0.421
21+
Cambodia,10762.923,0.672
22+
Cameroon,6152.919,0.256
23+
Canada,547798.641,14.992
24+
Chile,86087.14,4.648
25+
China,9257933.9,6.678
26+
Colombia,75291.911,1.535
27+
Congo,2847.335,0.541
28+
Costa Rica,7584.411,1.546
29+
Croatia,16193.172,3.925
30+
Cuba,26215.665,2.283
31+
Curaçao,3748.132,23.28
32+
Cyprus,6367.874,7.448
33+
Czechia,101682.752,9.602
34+
Dem. People's Rep. Korea,19579.698,0.768
35+
Dem. Rep. of the Congo,2201.742,0.027
36+
Denmark,31263.57,5.421
37+
Dominican Republic,21430.38,1.99
38+
Ecuador,34299.317,2.063
39+
Egypt,209219.059,2.145
40+
El Salvador,5735.668,0.899
41+
Eritrea,632.105,0.125
42+
Estonia,15972.029,12.137
43+
Ethiopia,13059.815,0.124
44+
Finland,42598.175,7.734
45+
France,306123.541,4.565
46+
Gabon,3367.911,1.663
47+
Georgia,8720.3,2.346
48+
Germany,718794.085,8.696
49+
Ghana,13779.635,0.478
50+
Gibraltar,703.9,20.703
51+
Greece,63213.31,5.878
52+
Guatemala,15703.161,0.928
53+
Haiti,3293.125,0.3
54+
Honduras,9426.74,1.017
55+
Hong Kong,44034.675,5.957
56+
Hungary,45783.636,4.678
57+
Iceland,2173.307,6.336
58+
India,2161567.072,1.614
59+
Indonesia,496406.275,1.88
60+
Iran (Islamic Republic of),567123.294,6.987
61+
Iraq,139877.659,3.655
62+
Ireland,35720.302,7.439
63+
Israel,63766.189,7.322
64+
Italy,321481.224,5.31
65+
Jamaica,6971.666,2.412
66+
Japan,1132435.4,8.938
67+
Jordan,25550.14,2.633
68+
Kazakhstan,255767.646,14.179
69+
Kenya,16264.973,0.327
70+
Kosovo,8168.55,4.461
71+
Kuwait,89420.615,21.615
72+
Kyrgyzstan,8909.263,1.437
73+
Latvia,6679.644,3.441
74+
Lebanon,26931.044,4.428
75+
Libya,41528.35,6.514
76+
Lithuania,10811.096,3.831
77+
Luxembourg,8631.187,14.458
78+
Malaysia,211046.967,6.674
79+
Malta,1516.276,3.261
80+
Mauritius,4182.138,3.306
81+
Mexico,445991.937,3.615
82+
Mongolia,19276,6.267
83+
Montenegro,2206.233,3.547
84+
Morocco,58149.86,1.627
85+
Mozambique,7624.932,0.257
86+
Myanmar,30404.919,0.57
87+
Namibia,4037.15,1.593
88+
Nepal,10113.953,0.345
89+
Netherlands,155574.278,9.081
90+
New Zealand,32241.597,6.673
91+
Nicaragua,5106.281,0.821
92+
Niger,2048.704,0.095
93+
Nigeria,85988.513,0.45
94+
North Macedonia,7440.699,3.572
95+
Norway,34760.858,6.587
96+
Oman,65498.56,14.128
97+
Pakistan,183447.068,0.931
98+
Panama,9612.198,2.345
99+
Paraguay,7654.689,1.124
100+
Peru,49693.643,1.545
101+
Philippines,126487.694,1.206
102+
Poland,305841.991,7.96
103+
Portugal,50757.815,4.928
104+
Qatar,80116.551,30.359
105+
Republic of Korea,600034.367,11.663
106+
Republic of Moldova,7526.673,2.12
107+
Romania,70788.76,3.614
108+
Russian Federation,1536878.825,10.636
109+
Saudi Arabia,532181.611,16.157
110+
Senegal,8311.532,0.524
111+
Serbia,46129.569,6.569
112+
Singapore,47407.144,8.447
113+
Slovakia,32212.012,5.924
114+
Slovenia,13410.666,6.491
115+
South Africa,421682.392,7.435
116+
South Sudan,1549.031,0.123
117+
Spain,253423.277,5.446
118+
Sri Lanka,23103.271,1.077
119+
Sudan,18777.895,0.463
120+
Suriname,1928.134,3.425
121+
Sweden,37643.785,3.743
122+
Switzerland,37135.572,4.394
123+
Syrian Arab Republic,23031.045,1.261
124+
Tajikistan,5843.657,0.655
125+
Thailand,244254.785,3.538
126+
Togo,2082.434,0.267
127+
Trinidad and Tobago,18007.573,13.154
128+
Tunisia,26156.972,2.268
129+
Turkey,378631.09,4.714
130+
Turkmenistan,68998.881,11.983
131+
Ukraine,171300.035,3.821
132+
United Arab Emirates,196510.174,20.905
133+
United Kingdom,358731.281,5.432
134+
United Rep. of Tanzania,10131.79,0.177
135+
United States of America,4761301.727,14.606
136+
Uruguay,5872.957,1.699
137+
Uzbekistan,81156.397,2.506
138+
Venezuela (Boliv. Rep. of),113717.543,3.556
139+
Viet Nam,191243.601,2.002
140+
Yemen,8919.998,0.316
141+
Zambia,6007.872,0.351
142+
Zimbabwe,9714.938,0.588
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/python3
2+
from pygal import Bar
3+
4+
# Create a chart
5+
chart = Bar(title='Olympic medals')
6+
7+
# Add data to the chart
8+
with open('medals.csv') as f:
9+
data = f.read()
10+
lines = data.splitlines()
11+
#print(lines)
12+
13+
for line in lines:
14+
tally = line.split(',')
15+
#print(tally)
16+
17+
team = tally[0]
18+
medals = tally[1]
19+
chart.add(team, int(medals)) # Make medals a number
20+
21+
# Display the chart
22+
chart.render()
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Iron Man,126,585366247
2+
The Incredible Hulk,112,264770996
3+
Iron Man 2,124,623933331
4+
Thor,115,449326618
5+
Captain America: The First Avenger,124,370569774
6+
The Avengers,143,1518812988
7+
Iron Man 3,130,1214811252
8+
Thor: The Dark World,112,644783140
9+
Captain America: The Winter Soldier,136,714421503
10+
Guardians of the Galaxy,121,772776600
11+
Avengers: Age of Ultron,141,1402805868
12+
Ant-Man,117,519311965
13+
Captain America: Civil War,147,1153296293
14+
Doctor Strange,115,677718395
15+
Guardians of the Galaxy Vol. 2,136,863756051
16+
Spider-Man: Homecoming,133,880166924
17+
Thor: Ragnarok,130,853977126
18+
Black Panther,134,1346913161
19+
Avengers: Infinity War,149,2048359754
20+
Ant-Man and the Wasp,118,622674139
21+
Captain Marvel,123,1128274794
22+
Avengers: Endgame,181,2797501328
23+
Spider-Man: Far From Home,129,1131927996
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
United States,2399
2+
Russia,1413
3+
Great Britain,1304
4+
France,780
5+
Germany,671
6+
Italy,549
7+
Sweden,483
8+
Hungary,476
9+
China,473
10+
Australia,468
11+
Japan,398
12+
Finland,302
13+
Romania,301
14+
Canada,279
15+
Poland,271
16+
Netherlands,266
17+
South Korea,243
18+
Bulgaria,214
19+
Cuba,209
20+
Switzerland,185
21+
Denmark,179
22+
Norway,148
23+
Czechoslovakia,143
24+
Belgium,142
25+
Spain,131
26+
Ukraine,115
27+
Greece,111
28+
Brazil,108
29+
New Zealand,99
30+
Austria,86
31+
Kenya,86
32+
Turkey,86
33+
Yugoslavia,83
34+
South Africa,76
35+
Belarus,75
36+
Argentina,70
37+
Jamaica,67
38+
Mexico,62
39+
Iran,60
40+
Kazakhstan,52
41+
North Korea,47
42+
Ethiopia,45
43+
Czech Republic,44
44+
Estonia,33
45+
Ireland,29
46+
Indonesia,27
47+
Azerbaijan,26
48+
Egypt,26
49+
India,26
50+
Georgia,25
51+
Mongolia,24
52+
Slovakia,24
53+
Thailand,24
54+
Croatia,23
55+
Nigeria,23
56+
Portugal,23
57+
Morocco,22
58+
Lithuania,21
59+
Uzbekistan,20
60+
Colombia,19
61+
Latvia,19
62+
Slovenia,19
63+
Chinese Taipei,19
64+
Trinidad and Tobago,18
65+
Algeria,15
66+
Chile,13
67+
Armenia,12
68+
Australasia,12
69+
Bahamas,12
70+
Venezuela,12
71+
Pakistan,10
72+
Tunisia,10
73+
Uruguay,10
74+
Philippines,9
75+
Serbia and Montenegro,9
76+
Puerto Rico,8
77+
Zimbabwe,8
78+
Israel,7
79+
Moldova,7
80+
Serbia,7
81+
Uganda,7
82+
Dominican Republic,6
83+
Malaysia,6
84+
Cameroon,5
85+
Bohemia,4
86+
Costa Rica,4
87+
Ghana,4
88+
Iceland,4
89+
Lebanon,4
90+
Namibia,4
91+
Peru,4
92+
Qatar,4
93+
Singapore,4
94+
Hong Kong,3
95+
Kyrgyzstan,3
96+
Panama,3
97+
Saudi Arabia,3
98+
Syria,3
99+
Tajikistan,3
100+
Afghanistan,2
101+
British West Indies,2
102+
Ecuador,2
103+
Haiti,2
104+
Kuwait,2
105+
Luxembourg,2
106+
Mozambique,2
107+
Sri Lanka,2
108+
Suriname,2
109+
Tanzania,2
110+
Vietnam,2
111+
Zambia,2
112+
Bahrain,1
113+
Barbados,1
114+
Bermuda,1
115+
Botswana,1
116+
Burundi,1
117+
Ivory Coast,1
118+
Cyprus,1
119+
Djibouti,1
120+
Eritrea,1
121+
Gabon,1
122+
Grenada,1
123+
Guatemala,1
124+
Guyana,1
125+
Iraq,1
126+
Macedonia,1
127+
Mauritius,1
128+
Montenegro,1
129+
Netherlands Antilles,1
130+
Niger,1
131+
Paraguay,1
132+
Senegal,1
133+
Sudan,1
134+
Togo,1
135+
Tonga,1
136+
United Arab Emirates,1
137+
Virgin Islands,1
138+
Liechtenstein,0
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
NAME: "Charting Champions"
2+
IDENTIFIER: "charting-champions-example"
3+
COMPONENTS:
4+
- name: "main"
5+
extension: "py"
6+
location: "main.py"
7+
index: 0
8+
default: true
9+
- name: "medals"
10+
extension: "csv"
11+
location: "medals.csv"
12+
index: 1
13+
default: false
14+
- name: "carbon"
15+
extension: "csv"
16+
location: "carbon.csv"
17+
index: 2
18+
default: false
19+
- name: "mcu"
20+
extension: "csv"
21+
location: "mcu.csv"
22+
index: 3
23+
default: false
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/python3
2+
from pygal import Bar
3+
4+
# Create a chart
5+
6+
7+
# Add data to the chart
8+
9+
10+
# Display the chart
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
NAME: "Charting Champions"
2+
IDENTIFIER: "charting-champions-starter"
3+
COMPONENTS:
4+
- name: "main"
5+
extension: "py"
6+
location: "main.py"
7+
index: 0
8+
default: true

0 commit comments

Comments
 (0)