blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
a85110d0091d407c2364cee12549f5de1adf8a07
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5744014401732608_0/Python/ArbokEkans/C.py
413f74cc89b84cfd4dc8d0ba77d001600a4d53ea
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
979
py
def solve(): b, m = [int(i) for i in input().split()] if m > 2**(b-2): return "IMPOSSIBLE" else: graph = construct(b) rep = bin(m)[2:][::-1] if m == 2**(b-2): for key in graph: if key != b-1: graph[key].append(b-1) else:...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
384e5a2f5aaa093175cc9bbf3c725320d4a8be62
3d7097e90391bf43dea664402e7043754e153933
/tests/test_regression.py
5438888cd317c8ef4c6c900a153f433cbcee265f
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
gooseproject/python-github2
f4e0ef6c57e2e7e948f53e82ec3d30e9820ca754
cd602dba7a7a8168920cb710b3eb35f4a1464a08
refs/heads/master
2021-01-18T10:09:01.759780
2011-11-28T07:09:18
2011-11-28T07:09:18
2,646,593
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
import _setup import httplib2 from nose.tools import assert_equals from github2.client import Github import utils def test_issue_50(): """Erroneous init of ``Http`` with proxy setup See https://github.com/ask/python-github2/pull/50 """ utils.set_http_mock() client = Github(proxy_host="my.pro...
[ "jnrowe@gmail.com" ]
jnrowe@gmail.com
36b479f0a4a7e4c24279afbf988d9396960305bd
81a9840c702927b4ca9ef17b766064f1d3c9139d
/mantabot/apps/moderation/handlers/readonly.py
212eafdce5f9d13f3499cb72f207fa73becc05d9
[ "MIT" ]
permissive
spectras/mantabot
58b2d996ccd359c7720006b87ab94db1ac07956f
9b2de297d46224d66a84b8925e09cc209d8b37d4
refs/heads/master
2020-03-19T12:42:20.893443
2018-06-07T23:25:09
2018-06-07T23:25:09
136,534,522
2
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
import discord from mantabot.apps.moderation import service class ReadOnly(object): """ Simple plugin that deletes messages sent to some channels """ name = 'moderation.readonly' def __init__(self, client): self.client = client async def on_message(self, message): channel = message.c...
[ "julien@etherdream.org" ]
julien@etherdream.org
772348da544a2859bc4c5ad9664a31ec5ffa4519
3a3fd184aadd97380633f616c8c00877f9bf3616
/visualizer.py
e6a1258bb441aad2089673193d9b4b4b56ab7203
[]
no_license
nelson-io/tp2md
e62d227a54b614d11b897be9435a6eeb055b5000
f0cead2e5b6ba373f170dde7c7693da31c8e5797
refs/heads/master
2023-06-12T22:16:12.692384
2021-07-07T14:55:26
2021-07-07T14:55:26
383,835,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,586
py
import shapefile import matplotlib.pyplot as plt from matplotlib.lines import Line2D from Instance import Instance def read_file(filename): sf = shapefile.Reader(filename) return sf def get_polygons(sf, zone_filter): r_shapes = [] r_records = [] shapes = sf.shapes() records = sf.records() for k in range(len(re...
[ "nelsonshilman@gmail.com" ]
nelsonshilman@gmail.com
18426ac763d7a141d3556b448fb271532e0d54af
3c3095585c075002b707475b49bdd8d8c7d4b71d
/InvenTree/InvenTree/urls.py
d9600333f4698fcd539486876a45dfd4ae42af04
[ "MIT" ]
permissive
andyseracuse/InvenTree
ffa7c0a2d131b363c0b93c2d888a9a89c0048bf7
c5166ec845ffe9477ab488931775dcdfd1dce7e7
refs/heads/master
2022-06-08T12:54:11.522718
2020-04-20T09:30:58
2020-04-20T09:30:58
258,296,796
0
0
MIT
2020-04-23T18:33:12
2020-04-23T18:33:11
null
UTF-8
Python
false
false
4,211
py
""" Top-level URL lookup for InvenTree application. Passes URL lookup downstream to each app as required. """ from django.conf.urls import url, include from django.contrib import admin from django.contrib.auth import views as auth_views from qr_code import urls as qr_code_urls from company.urls import company_urls ...
[ "oliver.henry.walters@gmail.com" ]
oliver.henry.walters@gmail.com
b68aa04ef1b14cb85f42489bcf405eaa5831e2fc
c31ed14ca7c5be722914065712c3c02a11aa2d21
/mmd_coral_tuning.py
462657c38c1a3dfa0ebb47e720b2da2f4ea46c4a
[]
permissive
manasaKay/ECN
b272d8eb5b1c77f22b5f19da6af520c00daae613
69d977f942d1071f65cc9c797b58968bb6e9cfdb
refs/heads/master
2021-01-16T02:16:44.792118
2020-03-22T03:14:27
2020-03-22T03:14:27
242,940,872
1
1
Apache-2.0
2020-02-25T07:48:29
2020-02-25T07:48:28
null
UTF-8
Python
false
false
1,180
py
import os lmds = ['0', '0.3'] lmd_exts = ['0.33', '0.66', '1'] ignore = [] for lmd in lmds: for lmd_ext in lmd_exts: if (lmd, lmd_ext) in ignore: continue print(lmd, lmd_ext) os.system("python3 main.py -s duke -t market -cs cyclegan -mmd 1 --lmd %s --lmd_ext %s >log_mmd_d_m_%s,...
[ "vshreenivasbharadwaj@gmail.com" ]
vshreenivasbharadwaj@gmail.com
de4eb11b9d3fb32491b937218fc764246a99e35c
a4aba0209f7e79cc76a33708f6f4a9b762493ccf
/python_modules/dagster/dagster_tests/cli_tests/test_new_repo.py
12f5e7b7282a0b729e3b14e25ede7593b1bba34d
[ "Apache-2.0" ]
permissive
withshubh/dagster
bf0bdf2900bbe36897aab6cf22c44c937cfe5f01
ff4a0db53e126f44097a337eecef54988cc718ef
refs/heads/master
2023-04-26T13:13:52.822058
2021-04-18T14:19:09
2021-04-18T14:19:09
347,608,266
0
0
Apache-2.0
2021-03-14T12:44:13
2021-03-14T10:41:29
null
UTF-8
Python
false
false
1,112
py
import os import pytest from click.testing import CliRunner from dagster import seven from dagster.cli import new_repo_cli def test_new_repo_command_fails_when_dir_path_exists(): runner = CliRunner() with runner.isolated_filesystem(): os.mkdir("existing_dir") result = runner.invoke(new_repo_c...
[ "bob@elementl.com" ]
bob@elementl.com
e22d5f152a0bf964017d4b203369e55a8be98e94
294674af77e7c98af12f92f995633c24356e05ff
/entry.py
9ef1c858ed20686695d14b414ec96d9444453115
[]
no_license
RenderingMan/OSRS_bot_keras
449c59df449b45bab686f0760d86571d6c1f4039
651786baa1cff2c7ea7abaec39ec296126c3e91e
refs/heads/master
2022-11-20T01:23:39.729853
2020-07-25T14:50:58
2020-07-25T14:50:58
282,461,869
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
import wc import imf from PIL import ImageFilter import inv import ca import botWD import nnet import PIL import sys #train copper powerminer script neural network def trainNetworks(): trainImg = ["./images/oreRocks42/"] fi = ["./images/ground42/","./images/treeBase42/","./images/treeTop42/","./images/junk42/","./im...
[ "noreply@github.com" ]
RenderingMan.noreply@github.com
bec55f68b09aa8b4200be2eb77b0e66d7eb57d09
abc41fdcacdc49896d2891eae91d3c75c4724011
/venv/lib/python3.6/site-packages/jsontableschema/types/base.py
07c43807094673b6430ac7e899491d2fdec06c32
[]
no_license
department-of-general-services/Data-Validation
fbafd83d930d9790b4c55ad21667631c0a517cf5
2d9a15c72521dcc6fa899e399b34a7c368dc8a09
refs/heads/master
2020-07-24T08:17:03.513677
2019-03-18T19:50:49
2019-03-18T19:50:49
207,861,207
1
0
null
2019-09-11T16:47:35
2019-09-11T16:47:35
null
UTF-8
Python
false
false
5,674
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from six import add_metaclass from functools import partial from abc import ABCMeta, abstractmethod from .. import compat from .. import helpers f...
[ "babila.lima30@gmail.com" ]
babila.lima30@gmail.com
e2a811d5af7d9c83a519a178aba99267740a9328
0b793bce2da8c3d09b7956c0672ddbffd46feaed
/atcoder/corp/ddcc2016_qa.py
1c35c9661ac08bed450194c2318fc510b368dd9d
[ "MIT" ]
permissive
knuu/competitive-programming
c6c4e08fb231937d988bdc5a60a8ad6b31b97616
16bc68fdaedd6f96ae24310d697585ca8836ab6e
refs/heads/master
2021-01-17T09:39:02.647688
2020-11-07T03:17:22
2020-11-07T03:17:22
27,886,732
1
0
null
null
null
null
UTF-8
Python
false
false
71
py
A, B, C = map(int, input().split()) print('{:.20f}'.format(C * B / A))
[ "premier3next@gmail.com" ]
premier3next@gmail.com
e374f33c326e267b3a9f05a3fed91e3d6859b383
4f77be303dc12ed8d44e446d41183734fbf49b12
/softlearning/replay_pools/union_pool.py
072bb1681f59b7fb7434447f36f0889177325af1
[ "MIT" ]
permissive
YaoYao1995/mbpo
b815faeee20b8b2ba89424875618b1552b1f3039
b9571e469459ce3a632b19dc3fee68c9ac3857b2
refs/heads/master
2022-12-21T05:04:30.245426
2020-09-24T03:15:01
2020-09-24T03:15:01
295,150,853
1
0
MIT
2020-09-13T12:53:09
2020-09-13T12:53:08
null
UTF-8
Python
false
false
1,307
py
import numpy as np from .replay_pool import ReplayPool class UnionPool(ReplayPool): def __init__(self, pools): pool_sizes = np.array([b.size for b in pools]) self._total_size = sum(pool_sizes) self._normalized_pool_sizes = pool_sizes / self._total_size self.pools = poo...
[ "474127934@qq.com" ]
474127934@qq.com
ec7e06d56f565b52aa93c57e50dca218c289561d
ade45b78d7794fa216d27678ea149788f239446d
/node_modules/mongojs/node_modules/kerberos/build/config.gypi
d8d6f532fa1a865f529146eecbd50a7afad1ff6e
[ "Apache-2.0", "MIT" ]
permissive
stevenm0084/contactListApp
d95c268a8cb49fd7e64e88bc6052e43bd4744882
f120de58621113cb8fc5c45097145b41ed9560e0
refs/heads/master
2021-01-10T03:29:08.602453
2015-11-24T20:35:40
2015-11-24T20:35:40
46,609,267
0
0
null
null
null
null
UTF-8
Python
false
false
3,785
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "host_arch": "x64", "icu_data_file": "icudt56l.dat", "icu_da...
[ "steven.marks1@my.jcu.edu.au" ]
steven.marks1@my.jcu.edu.au
8fddcccf8a50a7b00db56be3a20a3f31347fac88
82d588161a8f8cd27c3031c779120ea4380791b9
/yejin/삼성 SW 역량 테스트 기출 문제/2021 하반기/13458.py
0e77a2dfcaf4b39f4e2dc3fcea152240ebab6c5f
[]
no_license
Yejin6911/Algorithm_Study
3aa02a7d07169382a78c049d1de8251a52da816c
98c968bfeed17ab6b62e3a077280e0310f08190a
refs/heads/master
2023-09-01T00:31:07.212413
2021-10-24T07:56:21
2021-10-24T07:56:21
345,009,057
1
1
null
2021-09-20T13:08:33
2021-03-06T04:57:34
Python
UTF-8
Python
false
false
343
py
import sys import math input = sys.stdin.readline n = int(input()) A = list(map(int, input().split())) B, C = map(int, input().split()) total = n # 총감독관 감시 인원 제외 for i in range(n): if A[i] <= B: A[i] = 0 else: A[i] -= B # 부감독관 인원 계산 total += math.ceil(A[i]/C) print(total)
[ "cdjin6911@gmail.com" ]
cdjin6911@gmail.com
39284a14d2d9460ad8fd2b989ea22376d77ee320
b288d8d27ddd5c4ec71554a43271e79a71337bf1
/django_facebook/migrations/0006_auto__del_facebookfriend__del_unique_facebookfriend_friend_of_uid.py
68cb21c1b32a2c7da54391bd16c27a86f70c416e
[]
no_license
ash211/django-facebook
cb3b0b43e654fffea33a7b9af2411a55fba251bb
a1340843aa94cb179271fa57e5f45c45bb0b11b4
refs/heads/master
2020-12-25T00:50:19.496908
2011-04-02T03:36:29
2011-04-02T03:36:29
1,305,318
1
1
null
null
null
null
UTF-8
Python
false
false
9,266
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Removing unique constraint on 'FacebookFriend', fields ['friend_of', 'uid'] db.delete_unique('django_fac...
[ "ash211@gmail.com" ]
ash211@gmail.com
53d2dffde18c9980be149e87a501fe5b3b978137
e45efaf397712245b337d053a0fe2b388674e74d
/vectorbt/indicators/factory.py
86266b73a949c1c2384a25d4b5828ceb362f5c90
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hiddenvs/vectorbt
35efc95bf7c5cc6b84917c11c988c3e07ff3ed44
44968ac579a1420f713df326eb730bae93041622
refs/heads/master
2023-03-30T15:34:53.424776
2021-03-25T21:50:33
2021-03-25T21:50:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
129,901
py
"""A factory for building new indicators with ease. The indicator factory class `IndicatorFactory` offers a convenient way to create technical indicators of any complexity. By providing it with information such as calculation functions and the names of your inputs, parameters, and outputs, it will create a stand-alone...
[ "olegpolakow@gmail.com" ]
olegpolakow@gmail.com
9f9a52b64939622a3491164e9c45cef35a97cf00
75a31c996a8f90f5f2335fd5a14bf772d426040e
/practice.py
2178620b68da340bac9a800e4430effb8f288bb9
[]
no_license
bharadwaj08/Python
067baeb05e6a04f8748a0da54b2e1b9184e27285
e0ed412c5a91a9b8146b68b98e4e7ba7bfc0fe37
refs/heads/master
2021-06-03T03:40:03.773261
2020-07-04T10:48:52
2020-07-04T10:48:52
107,049,047
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
# -*- coding: utf-8 -*- """ Created on Wed Apr 8 20:27:54 2020 @author: bbsbh """ import numpy
[ "bbs.bharadwaj@gmail.com" ]
bbs.bharadwaj@gmail.com
d0d6358a5098af9cd90630433d8c73fd15a182c0
479052653f68882ca79edab9be3a3cf73eebb7af
/examples/brocade-traffic-manager/traffic-manager-installer.py
23646232515939943655acc7397a860dac64d049
[ "MIT" ]
permissive
CalvinHartwell/answers
a614fca3caf3fcadaff0925b6ab38d54497f2082
e10f90b1e32b6c2ba8c42be6e57dafb810a8d1e0
refs/heads/master
2021-01-23T07:21:38.195036
2015-04-11T22:46:00
2015-04-11T22:46:00
32,049,011
1
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
#============================================================================== # Answers Python Library - Brocade Traffic Manager Installer Example (Riverbed) # Copyright Calvin Hartwell 2015. # Distributed under the MIT License. # (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT) #=======...
[ "mail@calvinhartwell.com" ]
mail@calvinhartwell.com
bfc7e1d5b4d8a98fe867535b4bf17c95313f5c02
1d8fa33a3d25b8640745bfb2d8f74a844f82c09b
/mackl - 3 submission/process_reduceformice.py
6525c370e37cf372b94c8d6bd0effa360e839be2
[]
no_license
toycrane86/open-source-submissions
8dc0341e8d65f74dd16a3e6afea50857d02b1d0e
8ac2756672c5011434517e93e8411a781b2a22f8
refs/heads/master
2023-05-29T13:38:57.373486
2017-04-25T15:28:04
2017-04-25T15:28:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,014
py
import numpy as np import pandas as pd from sklearn import preprocessing from sklearn.ensemble import RandomForestRegressor from sklearn.feature_selection import SelectKBest from sklearn.feature_selection import chi2 from sklearn.feature_selection import mutual_info_regression from sklearn.tree import DecisionTreeRegre...
[ "noreply@github.com" ]
toycrane86.noreply@github.com
9046bd343d91d64608b2ade4e3fd1501b6404f0e
82a3c0a7f678fca05e92cf40e312b61c0e6825b0
/prioritization_methods/rwr/dada_and_rwr/deg_match_bin/iterator.py
384eb3c75bc6f22e8a0c772c40af8a6cd187abb5
[]
no_license
arp1561/SRM-PPI
42308ef75bd84615ac4ef163971021207576641a
5b9fa32d007b07c6b3b321a66ccd4f1d6d9ee167
refs/heads/master
2020-03-19T17:04:29.640634
2018-06-09T17:11:37
2018-06-09T17:11:37
136,743,012
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
import pandas as pd import pickle import sort_all_nodes_folder as san iter = 0 while iter<15: path = "/home/arpit/github/SRM-PPI/prioritization_methods/rwr/components/result/connected_components_"+str(iter)+".txt" folder = "component_bin/"+str(iter+1) components = pd.read_csv(path,delim_whitespace="",heade...
[ "joshiarpit2@gmail.com" ]
joshiarpit2@gmail.com
90c28a1b24aacc733867f9243c3ddb46b00fdbb6
f6ea8a327b7ca16713009817d6344c6e2252527c
/services/tokbox.py
86bd587359fae645452932bafbe3239953187ced
[]
no_license
DenerosArmy/pjwing
8f3efa33de153fe5cc0c49bee9f20ec7f7b68ff5
74074f68cb21b1643966ee02d2696cc577724996
refs/heads/master
2020-04-01T19:34:10.888418
2012-06-24T19:56:18
2012-06-24T19:56:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
import OpenTokSDK api_key = "14260652" api_secret = "4611823556deeea92d01eea637831386e4d50d3d" session_address = "https://api.opentok.com/hl" def create_session(): opentok_sdk = OpenTokSDK.OpenTokSDK(api_key, api_secret) session_properties = {OpenTokSDK.SessionProperties.p2p_preference: "enabled"} sessio...
[ "richzeng@gmail.com" ]
richzeng@gmail.com
36429352c24ff8aa254107d967821ed03257204a
1d76ea9eb9e13f791b7dcfebaa5fe221a6549c63
/turtle0.py
1a86328ccb3dc2a17b8eff23c5abe49021955a07
[]
no_license
elpargo/py036intro
debd8da401015d087f356dbeb102b0fb29eb3a69
6a50ad0d0f7f839897501cff74cfb5e0fcf186c1
refs/heads/master
2016-09-09T20:18:00.272836
2014-03-15T09:23:13
2014-03-15T09:23:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
26
py
print "Hi!, I'm a turtle"
[ "jorge.vargas@gmail.com" ]
jorge.vargas@gmail.com
99cd0951dbf516aa230f490f055c4a54a9091f1b
f9c721584974a781ddb0d139cdb13b1b24c93a40
/semmc-fuzzer/fuzzermon/fuzzermon/fuzzermon/urls.py
40d85584c2460f5474d224569056855fcb2429a2
[ "BSD-3-Clause" ]
permissive
GaloisInc/semmc
15b54c2c37b5b0224d46cc3f76e026b0f67822d4
2147ee3e7b966ca635289efa742f9e5f4c7bb540
refs/heads/master
2023-08-30T03:18:56.878466
2023-08-08T19:14:14
2023-08-08T21:13:55
93,451,948
36
6
BSD-3-Clause
2023-08-08T21:13:56
2017-06-05T22:16:02
Haskell
UTF-8
Python
false
false
1,086
py
"""fuzzermon URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "jtd@galois.com" ]
jtd@galois.com
66c8de8394149c6687a1a32c885579a99c7dadc2
b4cb52481ae7d4352688bc8b03d0e539fc896756
/recursion/divide_two.py
7194c5a4421e2119eead1b09985fe4925ff79ba6
[]
no_license
kaedub/data-structures-and-algorithms
65a4af598a37f13203761b8bb7e0f7b84f7143b5
950c05a0fa2a0996966f3db55ca79c4a2e0cbf8d
refs/heads/master
2020-04-12T13:41:30.598651
2019-01-05T20:24:14
2019-01-05T20:24:14
162,529,117
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
######################################## # Divide without using division, multiple, or modulo # # Example 1: # # Input: dividend = 10, divisor = 3 # Output: 3 # Example 2: # # Input: dividend = 7, divisor = -3 # Output: -2 def divide(top, bot): if top == bot: return 1 quotient = 0 bot_inc = bot while (abs...
[ "kaedub16@gmail.com" ]
kaedub16@gmail.com
5371357b6bfd6b22adde4733ffe17c3a62a18f43
045d8c00ef592b16cae697bd248549454f1a38c7
/EvaluationMetrics/WeightedCONNMatrix.py
83362172fcda2f2ba1a5065035c1fe157a26832a
[]
no_license
ranganmostofa/Optimal-Learning-Schedules-for-Self-Organizing-Maps
b022c14f91c48046782bf90f673334cd875d1432
67983c1f23793400bcb0af45dd88c7f588ea6b75
refs/heads/master
2020-03-21T09:36:14.924879
2019-04-14T03:51:34
2019-04-14T03:51:35
138,408,301
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
from WeightedCADJMatrix import WeightedCADJMatrix class WeightedCONNMatrix: """ """ @staticmethod def compute(self_organizing_map, input_map): wcadj_matrix = WeightedCADJMatrix.compute(self_organizing_map, input_map) wconn_matrix = wcadj_matrix + wcadj_matrix.T return wconn_ma...
[ "rm48@rice.edu" ]
rm48@rice.edu
8cf1a15642d330e409b9b8f3de5b9c053fe45d01
ea1d88d99e854ceb7f5620bd371349acb51f6607
/SimulationFramework/Modules/read_beam_file.py
3b751981b3a0cbed54c6f0a08b7091980e5de51f
[]
no_license
VELA-CLARA-software/SimFramed
7dee4efc86531662495eed1bf2a3e9ec8287b640
b647590f8cb87ea2bffed6733012b6e9141032bb
refs/heads/master
2022-12-07T05:13:46.486342
2020-08-10T13:52:13
2020-08-10T13:52:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
56,824
py
import os, time, csv, sys, subprocess import copy import h5py import numpy as np import munch import scipy.constants as constants from scipy.spatial.distance import cdist from scipy.spatial import ConvexHull from scipy.stats import gaussian_kde from itertools import compress try: import sdds except: print('sdds...
[ "james.jones@stfc.ac.uk" ]
james.jones@stfc.ac.uk
a10a9de1404877e2b17e00db80964d50a2eb3f96
5228a88054a55caacda2cbd35de5c0a8d8181b8b
/loss_functions/coteaching_loss.py
bbed83d34cbcb3d486950c4ba1a9e4f4d6c164f3
[ "MIT" ]
permissive
MPCAICDM/MPCA
6703e542978134788de49dc2094a47534f8267c3
c996435a0578ea4160f934bc01041c2ef23468f3
refs/heads/main
2023-06-03T19:05:02.055861
2021-06-12T09:14:44
2021-06-12T09:14:44
376,187,306
0
0
null
null
null
null
UTF-8
Python
false
false
10,845
py
import numpy as np import torch import torch.nn.functional as F import torch.nn as nn import random class CoTeachingLoss(nn.Module): def __init__(self, noise_rate=0.1): super(CoTeachingLoss, self).__init__() self.mse = nn.MSELoss(reduction='none') self.noise_rate = noise_rate def forwa...
[ "mpca" ]
mpca
a0fb061548bfd69cb764cc4823ae29227aa804a6
0e8ab63a60fd03b1778aa392c0b11fedd88409e4
/ingest/ingest/manager.py
8ed7b3d707ce64b45eb7b82fa5323c3a84a15a39
[]
no_license
Kyeongrok/dms
babeb19115355c3d930c94c89ca55d3e5de2dc55
a67c446f0ffd3f9a1812de961ef915c405a4096f
refs/heads/master
2021-06-23T22:44:18.881538
2019-09-26T03:42:13
2019-09-26T03:42:13
210,993,619
0
0
null
2021-03-25T22:57:32
2019-09-26T03:41:24
Python
UTF-8
Python
false
false
2,747
py
import abc import logging import os from dmsclient.client import DMSClient from dmsclient.exceptions import DMSClientException from ingest import util from ingest.logger import ElasticsearchHandler, JournalFormatter class AbstractIngestManager(abc.ABC): def __init__(self, config, mount_path, reader_id, cartridge...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
1d3aa6d35106c3460d100c2156236cc0871312ec
fc5becca3e2e48a444b512e059df1cd21601829b
/Aulas/Aula19A.py
4d8089077e3bdd14ae5f3b3b6ced29a4100d4556
[ "MIT" ]
permissive
Felix-xilef/Curso-de-Python
c44bf8c22b393aefaed3a2bb3127ef7999e27fb8
cdff7c7f3850e6326e274c8c1987b9e1a18ce910
refs/heads/master
2021-05-19T11:09:22.644638
2020-04-01T22:09:02
2020-04-01T22:09:02
251,665,966
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
# Dicionários {} / dict() - como uma lista, porém o indice pode ser definido (key) pessoas = {'nome': 'Felix', 'sexo': 'm', 'idade': 18} print(pessoas) print(pessoas['nome']) print(pessoas['idade']) print(pessoas.values()) print(pessoas.keys()) print(pessoas.items()) for k, v in pessoas.items(): print(k, '=', v) d...
[ "felixpb@yahoo.com.br" ]
felixpb@yahoo.com.br
df89fe54c78053bec5a45d0838e0a6ff946f03f1
bf7555ce71cb5ac6472a61fc9d229c2256ba6d10
/board/views.py
ff8a125724037360f8fd26b63a9b2c08463b1cf7
[]
no_license
vivideljo/my-first-board
29b29226fe213e5f2fd9c658733a1a7701f057ff
d8c78ba9c7162bc9c2a12cef725c9ea856a049aa
refs/heads/master
2020-04-04T10:05:01.083793
2018-11-02T09:56:29
2018-11-02T09:56:29
155,842,234
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from django.shortcuts import render # Create your views here. def post_list(request): return render(request, 'board/post_list.html', {})
[ "vivideljo@gmail.com" ]
vivideljo@gmail.com
c4b90c1495df475c554108312c8e2a94b88ee10d
ef66e297a49d04098d98a711ca3fda7b8a9a657c
/Python/display.py
1b280e0ad29c46c1e08530191b08e20ef0df52eb
[]
no_license
breezy1812/MyCodes
34940357954dad35ddcf39aa6c9bc9e5cd1748eb
9e3d117d17025b3b587c5a80638cb8b3de754195
refs/heads/master
2020-07-19T13:36:05.270908
2018-12-15T08:54:30
2018-12-15T08:54:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
# coding: UTF-8 __metaclass__ = type from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * import random import socket i = 0 winId = 0 s = None poses = [] SIZE = [800, 600] clear = True def Draw(): global poses global clear glEnable(GL_POINT_SMOOTH) if clear: glClear(GL_C...
[ "youchen.du@gmail.com" ]
youchen.du@gmail.com
83e2c01818bddb7fae6580e5e2ebc1b0d46fe323
13f49f029dcac3ae64021e6e97964824116e33b9
/manage.py
93193becb0cf9874da6917f77aca71762680df1f
[]
no_license
bds511/DjangoGirls_Blog
3bd1fe69d12a52367f7181ab98e57f154466a3f9
3630405ada79fba5d499abb7676ca1dfde61169e
refs/heads/master
2020-07-25T20:00:24.989622
2019-09-14T08:09:04
2019-09-14T08:09:04
208,409,448
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangogo.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impor...
[ "pypy7000@korea.ac.kr" ]
pypy7000@korea.ac.kr
9be123668b9ef5ff48a363b8a30c21ac7e1c161c
1cedbf7e752a0eb11e141b1fc6fb29c3752657d3
/CH05A-BK_Bot_Web_App.py
dd44bd0a59bb7f8f5d00b5a7c46f934092ee4884
[]
no_license
fabricerjsjoseph/CH05-Byron-Katie-Bot-4-on-Flask
260ae633d63aec2b630ccb199b21b86e71c4777b
0e7cd8b07004dd3931296daba04b32e343ac91b6
refs/heads/master
2022-04-11T11:52:19.259889
2020-02-16T08:00:51
2020-02-16T08:00:51
236,722,973
0
0
null
null
null
null
UTF-8
Python
false
false
3,727
py
# import open source modules import glob import re # import private modules from Turnaround_One import turnaround_one_generator from Turnaround_Two import turnaround_two_generator from Turnaround_Three import turnaround_three_generator # UNPACKING DATA STORED IN TEXT FILES # Import all text files in working dir...
[ "60127514+fabricerjsjoseph@users.noreply.github.com" ]
60127514+fabricerjsjoseph@users.noreply.github.com
e57f6351bc13444d18ec9ae6b667d6e3d4b37ed4
a7e75fcd05aa8ebf2066c4eb0a05496042dd5ded
/better_work_data/better_work_data/items.py
ab7aeb32e62a563ca44dce609a18c2de91fd0b79
[ "MIT" ]
permissive
JackDan9/miniProgram
d6fe14fced0f9a154d01a6f950ab26325ed445de
d60a33275334b4caa3c15d5c6196938fb800505b
refs/heads/master
2023-02-10T13:26:23.453536
2023-01-09T03:41:43
2023-01-09T03:41:43
132,235,452
1
0
MIT
2023-02-08T00:42:41
2018-05-05T09:55:32
JavaScript
UTF-8
Python
false
false
515
py
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class BetterWorkDataItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() order = scrapy.Field() title = scrapy.Field() s...
[ "1835812864@qq.com" ]
1835812864@qq.com
26761316ecfc0c6a20c536f8657d987f843af9c0
4714723a2ac6b230640a766c3f786e8b5cad6c6e
/static_test_model.py
93383a676ba15c66a05beba0580e0f34e0a1b251
[]
no_license
Deeathex/RealTimeSignLanguageRecognition
622ff1b2a78496b1b73bba68aeec4f3528e07795
c131741f006b4d6154341a64a1777e8989a375c0
refs/heads/master
2020-06-06T05:25:43.382716
2019-07-04T15:06:36
2019-07-04T15:06:36
192,610,410
0
0
null
null
null
null
UTF-8
Python
false
false
2,374
py
from tensorflow.python.keras.models import load_model import numpy as np import os from tensorflow.python.keras.preprocessing import image import constants as constant import utils class StaticTestModel: def __init__(self, model_filename): self.model_filename = model_filename self.classifier = lo...
[ "andreea_ciforac@yahoo.com" ]
andreea_ciforac@yahoo.com
fdda2d1b337921b8f011f818239c1ab267043919
3d9586a7f5891c11cd18c96d0a1a86f7aad2ae50
/snake_water_gun_game.py
221a45b2a2083b340bb247029e32348d55258141
[]
no_license
Raitry333/CodeWithHarry
cb77d99ed87b0be59e736c0b86e515940985a70a
f95d704f3bd99894dd8c97776e03b7df0552d6cb
refs/heads/main
2023-06-06T01:35:49.250155
2021-06-21T14:50:13
2021-06-21T14:50:13
378,957,162
2
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
import random lst=["s","g","w"] print("WELCOME TO MY GAME!!!!") print("CHOOSE 'S' FOR SNAKE") print("CHOOSE 'g' FOR GUN") print("CHOOSE 'w' FOR WATER") i=1 your_point=0 comp_point=0 while(i<11): inp=input("WHAT'S YOUR CHOICE?\n") chc=random.choice(lst) print(chc) if(inp=="s" and chc=="w"): ...
[ "noreply@github.com" ]
Raitry333.noreply@github.com
00d46f6208f8351c6481c11aeca380df258cd34e
3c0526e87e9ea80ef2676058f3023e9111d0eab9
/twilio/rest/notify/v1/service/notification.py
c9a3ffe4539915cad8672dba9f4c79913168e87c
[]
no_license
smgood/cryptobot
f24ef69b9b253b9e421bf5bbef3b750fcc1a7332
13448eb8dfc34fedaba4d10ce642c38fe80a3526
refs/heads/master
2020-07-21T15:36:55.353596
2019-09-07T03:37:56
2019-09-07T03:37:56
206,910,383
1
1
null
null
null
null
UTF-8
Python
false
false
11,909
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import serialize from twilio.base import values from twilio.base.instance_resource import InstanceResource from twilio.base.list_resource import Li...
[ "sean@smgoodrich.com" ]
sean@smgoodrich.com
ddc2c55f50b776d16bca2f8b5f58e50fd6fa2312
8b0e0886f9cfc4af097541fd97f609af75392ae9
/orders/migrations/0007_delete_regularpizza.py
991549fbaab9f1b2a754432218aae85b1774d3ac
[]
no_license
opalmer3/PinocchiosPizza
17f78a0173e85f0663180e76724fa4216270d06a
3a17e014b781ecec9e9d4d35690c0cdfd1d7b5ca
refs/heads/master
2021-09-23T21:48:31.887121
2020-07-05T07:14:29
2020-07-05T07:14:29
249,429,937
0
0
null
2021-09-22T18:47:18
2020-03-23T12:52:07
Python
UTF-8
Python
false
false
288
py
# Generated by Django 3.0.3 on 2020-03-07 15:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('orders', '0006_extras'), ] operations = [ migrations.DeleteModel( name='RegularPizza', ), ]
[ "oliverpalmer@OliverdeMacBook-Air.local" ]
oliverpalmer@OliverdeMacBook-Air.local
e25fa82b3403e32d8fe5366def0356fc32944028
95a928ef0d5c8c0c27acace0de0f5df4afeb067d
/iodogservice/iodogservice/urls.py
b683aec8646ad7986aceef618d62e02a99169f37
[]
no_license
ShuhuangSo/iodogService
6aaeee4d76c4b366e341634613fb8763a33e949e
acf10a508240125d17de997c767259df74cac4aa
refs/heads/master
2020-03-22T20:07:28.076499
2018-10-01T17:03:31
2018-10-01T17:03:31
140,574,238
0
0
null
null
null
null
UTF-8
Python
false
false
6,228
py
"""iodogservice URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "shuhuang.so@qq.com" ]
shuhuang.so@qq.com
1dca65b0e31944c67b64eb4542abf988338475ba
882026439fb24cacbd1b671ae43bd0da2ac734df
/tokenization_kobert.py
34d3fa079c7717814a8dd0d6598c01ac5a33c59f
[ "Apache-2.0" ]
permissive
fightnyy/Stock_Prediction
94fa5761a1860429d033ecc735d9fa89d75667b8
f0dd42bd511e74876ede92c4d10aa6384d542613
refs/heads/master
2023-07-11T04:30:48.546817
2021-08-19T06:30:01
2021-08-19T06:30:01
338,271,910
0
0
null
null
null
null
UTF-8
Python
false
false
11,022
py
# coding=utf-8 # Copyright 2018 Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team and Jangwon Park # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #...
[ "fightnyy@naver.com" ]
fightnyy@naver.com
dc52624b745e24996b18b3d581240cefcbe6d403
04934bc61ceab01ad24ab1672461a1b103884e91
/ssh/sshconn_002.py
da12bca4af6f78377d324cb95c618bfe4ad0dab7
[]
no_license
aiedonline/aulapentest
05f31d0410493f02361fe778ab02d584aa84ef5e
1dd28feb95941f49205af836c9013283b4cb6b99
refs/heads/main
2023-08-18T10:22:19.596876
2021-09-26T20:14:50
2021-09-26T20:14:50
402,219,644
0
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
#!/usr/bin/python import sys; from netmiko import Netmiko ip = "11.11.11.171"; print("\033[1;33m[*] - SSH Bruteforce Attack", " \033[0;0m"); print("\033[1;33m[*] - SSH target", ip, " \033[0;0m"); with open("user.txt") as users: users = users.readlines(); for user in users: passwords_testados = []; ...
[ "yellow@battosai.yellow.dojo" ]
yellow@battosai.yellow.dojo
8154ce9d82bc5533326b0e641b518b607fc704f8
b1a876258834300bcdd46aa162c0910493dc808d
/sort/quick_sort.py
5d06aa20a90a770ce0c84ab449bb92a8ad312c08
[]
no_license
strengthening/python_test
6dda572909dfb90e48ed53a8100a7d3583d3488c
8fe74f6fc321c3342982e80b67baaafb423180c6
refs/heads/master
2020-12-30T16:02:26.530573
2017-05-19T01:08:10
2017-05-19T01:08:10
90,954,225
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
def quick_sort(slist): qsort(slist, 0 , len(slist)-1) def qsort(slist , low , high): if low < high: piovet = partitional(slist , low ,high) qsort(slist,low,piovet-1) qsort(slist,piovet + 1 , high) def partitional(slist, low , high): piovetkey = slist[low] while low < high: ...
[ "ducg@foxmail.com" ]
ducg@foxmail.com
02705c64ac6216a1f64958cfc907cf8487c2fd3b
c68ae881b697289a5b3c384a116cf377844e2df2
/core/image.py
292e3207099f842be939dfffdbb3a82d04886da3
[]
no_license
GPCracker/WoTAtlasConverter
f0ff0e897c1b1f84641ec076b1f75e8de42ad2ec
c5070bb27732e2df1292ce304a3cb910dd310772
refs/heads/master
2021-01-19T22:08:40.786898
2016-12-21T14:12:57
2016-12-21T14:12:57
76,104,269
1
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
import PIL.Image from .utils import filesystem class Image(object): __slots__ = ('_data', ) def __init__(self, data): super(Image, self).__init__() self._data = data return @property def data(self): return self._data @property def width(self): return self._data.size[0] @property def height(self)...
[ "GPCracker@mail.ru" ]
GPCracker@mail.ru
f7e7ee93eb9d8733258576dbc3e915461981f04d
c30c63f88bd468712dd4e7d58940cf387d5e0ffa
/flaskr/routes.py
68d8e9ad2961993ff2529d16e23a594838f80658
[]
no_license
gosantos/sacadev
dd407abc84b1c9a97bf3add54ffbf3449cfbfc70
e96ada4675a7b633adfe02799205ed06fa5b5752
refs/heads/master
2023-01-05T17:56:39.289533
2020-11-04T19:57:54
2020-11-04T19:57:54
310,092,140
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return { "value": "hello" }
[ "cjcbusatto@gmail.com" ]
cjcbusatto@gmail.com
8d1bf89abd0cfa7aac2b61e3d556c1e476452989
d543a55ab43a984b335edbbd563b6b047b471532
/roof.py
10807983d78394f6d9d83cda2fc61b34e46c5263
[]
no_license
jimmo/led-roof
2fa7b64565cbf2901883c5ffe33660d43131b3df
84912e23fac566eb7f98c94f4cdfd13131c15a78
refs/heads/main
2023-09-05T06:30:55.695258
2021-11-17T13:07:05
2021-11-17T13:07:05
425,812,630
1
0
null
null
null
null
UTF-8
Python
false
false
4,686
py
import math import random import socket import struct import sys import time import asyncio import rainbow _CMD_ALL_COLOR = 0 _CMD_STRIP_COLOR = 1 _CMD_STRIP_PIXEL = 2 _CMD_ALL_PIXEL = 2 _CONTROLLER_DELAY = 0.015 class Controller: def __init__(self, ip, port): self._ip = ip self._port = port ...
[ "jim.mussared@gmail.com" ]
jim.mussared@gmail.com
4a54043047808d15f7bbd51f8331c719f8bd6527
c7f732e6d7fff86bb99cf85c0814c1a76c5f16c4
/main.py
fd862c3423503bd3843404a2172356643276eb00
[]
no_license
Starmancer/watch
57653644ea69f2f6d84ce4fecb5cd86ea380391b
81c18726641ff06848fc73f6369d44aba2bd45ea
refs/heads/master
2023-02-14T17:44:40.980712
2021-01-10T21:26:08
2021-01-10T21:26:08
328,482,636
1
1
null
null
null
null
UTF-8
Python
false
false
5,674
py
#About #'Bit:watch' is a Binary Watch programme written in MicroPython for the BBC Micro:bit by @petejbell and distributed under a MIT licence #Please share with me what you do with it, I'd love to see what you do! #You can find a tutorial showing you how to build a strap for your watch here: https://t.co/li9CktVJhg #...
[ "ewarfare@me.com" ]
ewarfare@me.com
6fdea119f9c9239b63eda3db6b7c2b1d0233e66d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02585/s776126936.py
78cc9d2cac5fd2a3bfb611ed540139e54d721039
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
2,175
py
import sys sys.setrecursionlimit(10**7) readline = sys.stdin.buffer.readline def readstr():return readline().rstrip().decode() def readstrs():return list(readline().decode().split()) def readint():return int(readline()) def readints():return list(map(int,readline().split())) def printrows(x):print('\n'.join(map(str,x)...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0a66b8c303841840febd5901cb4c69c8ed029eba
1b4cbdbb58e4b6ade98d9b407a578d406f22e693
/demotest/__init__.py
b15b340091d0b4f3724839dea770b349ba87a85a
[]
no_license
kevin-di-10/QT4CDemoProj
f6b9568c886702a214e99ede32c71acb93c3e1e5
242188e066bd2bd23eff4c6b24b0b689d85d01a7
refs/heads/master
2022-04-09T01:37:01.064814
2020-02-20T08:29:42
2020-02-20T08:29:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
# -*- coding: utf-8 -*- '''测试用例 ''' #2018/12/17 QTAF自动生成
[ "774517491@qq.com" ]
774517491@qq.com
f8f954cdca6e653c7cc7345e2ba1983dae0767be
e7aa8615cd2a09d64a7fdc93bf10fc74b5a0f726
/note/spider_nba_note.py
6ca2ced88a8c5fc3c2af33c87ba48db1211829c4
[]
no_license
zonyeeLu/zonyee_dwh
18c908ed7dab4039acfb48e93df74a449eb680b0
dc7a8fe92a5d300550a6a69a5f4249a73f51c493
refs/heads/master
2022-02-08T13:33:33.048986
2022-01-08T15:04:54
2022-01-08T15:04:54
196,799,447
0
0
null
null
null
null
UTF-8
Python
false
false
2,252
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ****************************************************************************** # 程序名称: spider_nba_note.py # 功能描述: 将数据写入hdfs 笔记 # 输入参数: 无 # 创建人名: zonyee_lu # 创建日期: 20190715 # ******************************************************************************...
[ "xianbing" ]
xianbing
6d56c14dcbba73bbc80284c74d32c7efe6a0d6e2
04f599eec632155a2c7d0679967a8b82ce5f0faa
/Chapter5Ex.py
7c9f4f4f06933b7670091e237d1988a47a84003c
[]
no_license
ssharp96/Comp-Sci-350
7f4f6f77e3087883593cc269da8698e94b57f30d
5615412280d315fad06aa5e67532458dc0df6f54
refs/heads/master
2016-09-06T15:48:51.757522
2014-03-19T22:15:33
2014-03-19T22:15:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
# Chapter 5 Exercises # author: SSharp #Problem 1 x = int(input("Pick a number between 0 and 6, inclusive: ")) if (x == 0): print("The day with value",x,"is Sunday.") elif (x == 1): print("The day with value",x,"is Monday.") elif (x == 2): print("The day with value",x,"is Tuesday.") elif (x == 3): pr...
[ "simonsharp96@gmail.com" ]
simonsharp96@gmail.com
6d08dfaad6bb9fec95d57b70fa180577ae63423c
5783336b9b40b0999b2a39104d0135b2b85f3c17
/Scripts/PlantSEED_v3/Curation/krbeilsmith/update_publications.py
7ca49afbcdfb402800ae87480bc3d201de44dbc9
[]
no_license
ModelSEED/PlantSEED
3fb0d82c15c108dd885047409d9a09207896fa5c
8cf60046e4af68912f7a7d3eeff16880a07f56bd
refs/heads/master
2022-08-30T23:49:02.140280
2021-08-30T16:09:39
2021-08-30T16:09:39
38,062,831
5
9
null
2022-04-01T19:53:20
2015-06-25T17:11:58
Perl
UTF-8
Python
false
false
1,200
py
#!/usr/bin/env python import os,sys,json if(len(sys.argv)<2 or os.path.isfile(sys.argv[1]) is False): print("Takes one argument, the path to and including roles file") sys.exit() updates_list=list() with open(sys.argv[1]) as updates_file: for line in updates_file.readlines(): line=line.strip('\r\n...
[ "samseaver@gmail.com" ]
samseaver@gmail.com
a61845d3d55e2143d1405a204b2915ac38643a23
4ddc37c1db4112478c96f86768cfd9c7616c8105
/app/error/views.py
8b9e6ec49ceec154b1bb2b14c4f27d4abf99d305
[]
no_license
NeoWzk/flaskblog
63506c8e44c0e27977d86e2e2b4c9513219bacf1
1fb19dded74f4715171a9339666b36add6efedcd
refs/heads/master
2020-04-23T07:25:39.595366
2019-02-26T03:05:43
2019-02-26T03:05:43
170,990,299
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
from flask import render_template, url_for, redirect, flash from . import error @error.app_errorhandler(404) def page_not_found(e): return render_template('errors/404.html') @error.app_errorhandler(500) def internal_server_error(e): return render_template('errors/500.html') @error.app_errorhandler(401) de...
[ "2585414795@qq.com" ]
2585414795@qq.com
f41b5ad4bb00f7a7e6cfd9467186de6134f392fa
6fd69948915b152d02fb057737b52946bc4135c7
/model/RuleModel.py
c727a3f651d5b00ef228a6c8f5f40b9e683ebbce
[]
no_license
Kimxiaogen/TrustTest
2c6b52bb0e5788287e57fa6a69e993f3d25a1674
771440bbf33a510df78f8c6250487f94910739da
refs/heads/master
2023-01-09T08:19:16.328029
2020-11-04T07:41:01
2020-11-04T07:41:45
309,928,584
0
0
null
null
null
null
UTF-8
Python
false
false
5,080
py
from model.RoleModel import Role, Role_A, Role_B, Role_C, Role_D, Role_E import random as rd import copy import writeToCSV def getSort(role): # 返回排序字段sort # return role.sort def getCoins(role): # 返回排序字段coins # return role.coins class Rule: # 定义游戏规则 # def __init__(self, reward, players_num, epoch, m...
[ "1147209611@qq.com" ]
1147209611@qq.com
5f6f17cb23c11eed1498eb099c9451bbd805d7e7
29486eba7c582dfeaef4a10da4c82b5ab6e778c0
/autobahn/wamp/gen/wamp/proto/Unsubscribed.py
3fafde8d6377be3c947c2118e39603478058e433
[ "MIT" ]
permissive
oberstet/autobahn-python
4947396741edfe7fc17ecae6a334418a0315bc2c
359f868f9db410586cf01c071220994d8d7f165a
refs/heads/master
2023-06-23T01:21:19.487304
2023-06-14T07:25:55
2023-06-14T07:25:55
128,950,670
0
0
MIT
2018-04-10T14:57:55
2018-04-10T14:57:55
null
UTF-8
Python
false
false
2,690
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: proto import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class Unsubscribed(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offset=0): n = flatbuffers.encode.Get(f...
[ "noreply@github.com" ]
oberstet.noreply@github.com
0ab4c7e45a076fdca44460ebcd19c329f4908220
635859dae21148fd6d9a4f0a1e601a3807c733a7
/lirun.py
9b2bd5b2041613a75a964a3a940281bb1295962d
[]
no_license
butter007/py
14588849550b640b9496301e6da104116e36f1f5
2402b357eac5ec50a64db5e2d9ed37795ef71aea
refs/heads/master
2021-06-30T19:31:21.167332
2020-08-26T13:15:18
2020-08-26T13:15:18
122,844,782
0
0
null
null
null
null
UTF-8
Python
false
false
3,608
py
# -*- coding: utf-8 -*- from pyExcelerator import * import datetime import sys import xlrd import pickle from xlutils.copy import copy reload(sys) sys.setdefaultencoding('utf-8') eledata600211 = xlrd.open_workbook("D:\py\\600211.xlsx") eletable600211 = eledata600211.sheets()[0] nrows600211 = eletable600211.nrows ele...
[ "butter_007@163.com" ]
butter_007@163.com
e99b1b904a183481565ed38808f38f03702f4e60
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2739/60825/244336.py
391935b7e27570792c33d23a3858845f5b95b823
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
440
py
res=[] def printAns(currList, currSum, target, k): if(currSum==target&&currList.size()==k): res.append(currList) return elif currSum>target||currList.size()>k: return else: for i in range(currList[len(currList)-1], 9): t=currList[:] t.append(i) ...
[ "1069583789@qq.com" ]
1069583789@qq.com
e71c2fa72058b5bcecd3babdb7ec56d2c90f205f
8499de9ee574989f30f34a6b803b88423ece8f1e
/python/Arithmetic Slices.py
fd40ebbcf4d2c37781b08d9cef66fbcea302df31
[]
no_license
aaaCcchaj/LeetCode
0a1f16b10339728bba3a5e7db7dfa1bb6d2b520f
25fbd1cb24df1a91616b3b93af3236c17f8a6bd0
refs/heads/master
2020-05-30T05:06:40.765450
2018-12-21T01:55:04
2018-12-21T01:55:04
41,406,311
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
class Solution(object): def numberOfArithmeticSlices(self, A): chaList = [] for index in range(len(A) - 1): chaList.append(A[index+1] - A[index]) chachaList = [] for chaIndex in range(len(chaList) - 1): chacha = chaList[chaIndex + 1] - chaList[chaInde...
[ "woaipan1023@gmail.com" ]
woaipan1023@gmail.com
3e241bca87c1106e07b8d5ffd8e53da25cae808a
8e1141fb8d9bf02d7e1c2fb887d66049d0860714
/InvenTree/build/models.py
d09e7518785858212cb1d0f2ae5b953b0b916930
[ "MIT" ]
permissive
ksanchezcld/InvenTree
73ec392db5149814604e79690b465ae900af0c94
ceea0533686305077c07c78ffa20ab4227ce2cf4
refs/heads/master
2023-02-28T10:07:02.741814
2018-05-12T02:44:29
2018-05-12T02:44:29
165,738,059
1
0
MIT
2023-02-11T19:31:42
2019-01-14T21:28:53
JavaScript
UTF-8
Python
false
false
3,216
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.utils.translation import ugettext as _ from django.db import models from django.core.validators import MinValueValidator class Build(models.Model): """ A Build object organises the creation of new parts from the component parts It u...
[ "oliver.henry.walters@gmail.com" ]
oliver.henry.walters@gmail.com
8a1faace4236c8808e8a2a695d9cd49f1bb4eb87
4e8876705ab0cbd8f2fdd500176f92a961ad3882
/test.py
90644a55adf50d79845eb994bbfdb54a337fc339
[]
no_license
Jecosine/wcmonitor
031c3940314fa6f2481864f498ed2cfaf2f663ba
66089a0a7dcbaeb4db7653ed011aa8f7bfa1fda2
refs/heads/master
2020-03-27T10:29:27.027542
2018-08-29T13:56:35
2018-08-29T13:56:35
146,423,281
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
import cv2 from PIL import Image cap = cv2.VideoCapture(0) count = 0 size = (int(cap.get(cv2.cv.CV_CAP_PROP_FRAME_WIDTH)),int(cap.get(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT))) writer = cv2.VideoWriter("a.avi",cv2.cv.CV_FOURCC("M","J","P","G"),20,(640,480)) while True: if count >= 100: break _,frame = cap.read...
[ "mj_ol@outlook.com" ]
mj_ol@outlook.com
a91cd2c4243b8a73856daf5edfc2383e9ed0c51a
0619bc9e4fc97f99a8eed35aaa64976848ed3f18
/src/MENIA_4.2-get_full_community_tags_recommend_record.py
f8d6d4c420585a5b665187dccafada58620b791d
[ "MIT" ]
permissive
SmartServiceGroup/SOworkspace
c7e04628e9dc2a2fd719c6661dfaadb19f1c9362
74bbcfa62c7e293b2b02f23249ac408aa22b44af
refs/heads/master
2023-06-11T20:31:34.072302
2021-07-07T13:59:14
2021-07-07T13:59:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,285
py
import json from tqdm import tqdm from collections import OrderedDict from util.community_info.api_info_center import APIinfoCenter from util.community_info.so_thread_info_center import ThreadInfoCenter from util.config import COMMUNITY_RECORD_STORE_PATH, JAVADOC_GLOBAL_NAME, HOMURA_COMMUNITY_TAGS_RECOMMEND_STORE_PATH...
[ "yhang1996@126.com" ]
yhang1996@126.com
57255f12107e6c6221c477520208776d0bd84806
8eada23d63e782bb53cab7ac7f9c39d17c53ab19
/venv/bin/epylint
53d422f995b67b1158d191c5b72131b1751f8088
[]
no_license
bnsmcx/probable-guacamole
a34a4443366a9570b6427c127f7182ded8b23e90
07f14b12eaa1bca04cb1df4980c68fa34b74285a
refs/heads/master
2023-05-14T13:23:01.378419
2021-06-14T15:34:48
2021-06-14T15:34:48
369,746,545
0
0
null
null
null
null
UTF-8
Python
false
false
253
#!/home/ben/repos/probable-guacamole/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_epylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run_epylint())
[ "bnsmcx@protonmail.ch" ]
bnsmcx@protonmail.ch
968f81a4dc5b36969b0e07af25e2060611100b95
363f047a1bf8c5758f036b1de35c8d8c6b3ff6c2
/FinalModel/Demo/Demo/custom_functions/__init__.py
bef8613cd41f4110dbca4043699969203d25e27f
[]
no_license
EnricRovira/TFM_DNN_Recomendator
38c78dafd3ee9f9e672f6c3416bc75c912d08371
d51ffadf47444270dbbaca0edcb24b3e5ebecd40
refs/heads/master
2023-05-24T18:43:38.753937
2019-09-02T21:28:09
2019-09-02T21:28:09
174,575,953
1
1
null
2023-05-22T22:16:04
2019-03-08T16:59:18
Jupyter Notebook
UTF-8
Python
false
false
152
py
#!/usr/bin/env python # coding: utf-8 # Author: Enric Rovira Melendez from .norm_text import * from .norm_brands import * from .norm_images import *
[ "noreply@github.com" ]
EnricRovira.noreply@github.com
17777c20a723b74de11cf06efd95e6988c74a19c
d2294cf32832f0c546fcca64adda6d4f40dccd30
/GPMmodulos/webapp/configs/config.py
9a49bd68ebb9388cbdad06086b0d463be8b6aa21
[]
no_license
Franq17/GPM
2fa1640cf6fdf93d126f9dddb77f9ee5935631a9
3a98a2fd63c7a302b87574860da071bd530e556a
refs/heads/master
2016-09-06T11:43:36.478442
2013-06-22T10:11:03
2013-06-22T10:11:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,868
py
# -*- coding: utf-8 -*- import os class BaseConfig(object): # Get app root path # ../../configs/config.py _basedir = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) PROJECT = "webapp" DEBUG = False TESTING = False ADMINS = frozenset(['youremail@yourdomain.com']) # os.u...
[ "franqur17@gmail.com" ]
franqur17@gmail.com
0f5727ee0cc653a7879a3604cf38380e14e74e22
3fbc2ce251aa2325a76248f0fe355d4ed0487720
/Living_example/Cel_2_Fah.py
5cc7a4d783da51bb9b7e36e672de08577d6723ac
[]
no_license
Jenychen1996/Basic-Python-FishC.com
4c3aab1b98b2d3e55da51523222440c4bf260864
191823e05510f6a198847673cf9eba2c480e15f4
refs/heads/master
2020-05-04T13:03:25.292555
2019-04-14T18:13:38
2019-04-14T18:13:38
179,146,104
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
# -*- coding:utf-8 -*- """ 定义一个类实现摄氏度到华氏度的转换(转换公式:华氏度 = 摄氏度*1.8+32) """ class C2F(float): def __new__(cls, arg=0.0): return float.__new__(cls, arg * 1.8 + 32) print(C2F(32)) class Celsius: def __init__(self, value=26.0): self.value = value def __get__(self, instance, owner): re...
[ "2057359164@qq.com" ]
2057359164@qq.com
974c0b225a53e22236f988a12015c3e45a4257bf
ecb0d14498e266fddf108f81bb1ea28d80dbd9f9
/internal/chandlerdb/chandlerdb/schema/Alias.py
d1f94fbc8c67c3d2f5803a7722b0b4aa627d39ab
[]
no_license
Tadashi-Hikari/Chandler-Junkyard
9674101cdbee20c37052cbdde3fba75e0815756f
9b436bc5607c63f24f915a9e1753f55ccbff523f
refs/heads/master
2023-04-06T11:23:02.168125
2021-04-08T01:58:50
2021-04-08T01:58:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,094
py
# Copyright (c) 2003-2007 Open Source Applications Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
[ "vajda@3c49585b-f0f7-0310-b5f9-dfe92a88fbfe" ]
vajda@3c49585b-f0f7-0310-b5f9-dfe92a88fbfe
f53bd2fa1b9e25a2b4a125217ad09295c26c3dc9
e7c28ce96a6e706138a50d858d82878bb65c6a93
/腾讯基金净值中心-His.py
f4771c86452bdd388ebf0bdc19a3e3a79277bf7c
[]
no_license
xiaotong9005/tongyun
86b9e5c97d166f1785036ab3fffd85d50f316e7b
dfab95db5fe9bb38ee30eb563d2847647f73cc3d
refs/heads/master
2021-08-19T21:57:04.407623
2017-11-27T14:06:11
2017-11-27T14:06:11
111,663,768
0
0
null
null
null
null
UTF-8
Python
false
false
3,516
py
import requests import pyodbc from bs4 import BeautifulSoup def transf(a,b): if a=='--': return(b) else: return(a) headers={ 'Accept':'*/*', 'Accept-Encoding':'gzip, deflate', 'Accept-Language':'zh-CN,zh;q=0.8', 'Connection':'keep-alive', 'Cookie':'tvfe_boss_uuid=5e27e9f97...
[ "2675059005@qq.com" ]
2675059005@qq.com
3b81da56caa93e61d28fabd2fb15cbe2d6049842
af6feb644d2435e1d656556261e5e100209beb1c
/helper/show_pred.py
3e501e41b0d01880007c112e02a8e8be86dcecf8
[ "MIT" ]
permissive
liusida/TorchServe_FaceLandmark_Example
f2ca5d1e9cde2eed340ce46584a06cb0e16ef4ac
1e854f2f82874255b59ca27b19d3a3254fe69636
refs/heads/main
2023-04-26T16:25:18.421724
2021-05-26T03:25:00
2021-05-26T03:25:00
370,864,633
0
0
null
null
null
null
UTF-8
Python
false
false
2,081
py
import collections import matplotlib.pyplot as plt def show_pred(preds, input_img, only_2d=True, filename=None): # 2D-Plot plot_style = dict(marker='o', markersize=4, linestyle='-', lw=2) pred_type = collections.namedtuple('prediction_type', ['sl...
[ "sliu1@uvm.edu" ]
sliu1@uvm.edu
ccf168d72c282c2859a790895709e0783e39b3d3
6556f14abd6d910b1eded20b5419d07b2d8b4a91
/code/spec_lib.py
903bee9568ca94d404292fe293f9706084e35008
[]
no_license
sdrogers/molnet
42ca6c8e5392dd576c65d4461b028b1f0c677eb7
2d7746f86df65638fc3fef7dfc53e83e1a042840
refs/heads/master
2020-03-25T20:17:57.504641
2019-10-08T19:37:58
2019-10-08T19:37:58
144,124,994
0
0
null
null
null
null
UTF-8
Python
false
false
2,001
py
# some code for spectral library things MOLNET_PATH = '/Users/simon/git/molnet/code' import sys sys.path.append(MOLNET_PATH) from scoring_functions import fast_cosine,fast_cosine_shift class SpecLib(object): def __init__(self,mgf_file): self.mgf_file = mgf_file self.spectra = None def _load_m...
[ "simon.d.rogers@gmail.com" ]
simon.d.rogers@gmail.com
10bf514a20f40a187f52119fd1bd1155a820dacb
f029e4ae41336c6f7ea2a7b06a134e0038fa3a72
/workers/rabbit_worker.py
01dc6f494a1dc2122ed978317a7869af482a8105
[]
no_license
KaltakhchyanD/flask_message_queueueue
78b9cab8eb7c83e37a7838551ce7712d747da85d
f3110ca4cfa19451d75a7f832529ac3214fc8154
refs/heads/master
2023-03-03T14:33:50.746055
2021-02-13T13:55:53
2021-02-13T13:55:53
293,317,563
0
0
null
null
null
null
UTF-8
Python
false
false
3,344
py
import datetime import json import os import random import time import pika def run_worker(): worker = RabbitWorker() class RabbitWorker: def __init__(self, worker_name="that_default_worker"): self.task_number_from_worker = 0 self.worker_name = worker_name # Sleep for 20 sec to ensu...
[ "rafikrafikrafik@yandex.ru" ]
rafikrafikrafik@yandex.ru
97a317fe145ad1ecc4ed62bd7143ced9eb3b62be
7096272d59082433d4d3852b9969e6ddce06d928
/Artificial Intelligence/laptopbatterylife.py
7a109c0a563d141c65dc81d7ca0681eb3fecf110
[]
no_license
sanjanprakash/Hackerrank
5b9c8e6a926e2555ebfa738d2eaed738000e52c1
94b20021b9e931fbb6746da324d0871dd371b42c
refs/heads/master
2020-03-27T20:00:45.435682
2019-06-14T02:56:25
2019-06-14T02:56:25
147,030,844
1
0
null
null
null
null
UTF-8
Python
false
false
380
py
import numpy as np x,y = [],[] with open("trainingdata.txt", "r") as filestream: for line in filestream : currentline = line.split(",") if (float(currentline[1]) < 8.0) : x.append(float(currentline[0])) y.append(float(currentline[1])) m,b = np.polyfit(x,y,1) inp = float(raw_input()) if (2 * inp >= ...
[ "noreply@github.com" ]
sanjanprakash.noreply@github.com
c97124271bc6733cf52b3bba45b66aac83594937
c50598d4ce8e6c906748021060f1df84e16372ca
/Cell_BLAST/rmbatch.py
655f033ddd7728aabe6e52fbaf541a4df57fa836
[ "MIT" ]
permissive
BacemDataScience/Cell_BLAST
f4407571e321fbc6aeb8642a994767e6e1f381fa
d0e25fa695cb8cebcba68dd32fe5e7e96743803f
refs/heads/master
2020-09-10T02:31:00.758648
2019-09-28T16:06:55
2019-09-28T16:06:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,479
py
""" Batch effect removing modules for DIRECTi """ import tensorflow as tf from . import nn from . import module from . import utils class RMBatch(module.Module): """ Parent class for systematical bias / batch effect removal modules. """ def __init__(self, batch_dim, delay=20, name="RMBatch"): ...
[ "caozj@mail.cbi.pku.edu.cn" ]
caozj@mail.cbi.pku.edu.cn
d9ccb81408261f7b5cc455c780766b88898ca463
9b452360c98fba2ff70986f498d372fcd70e5970
/py3-battle-env/battle-expert/Toolbox_Python/Scripts/ex5_1_2.py
e3a64191ab9372aad5244d3a846a0053b8366635
[]
no_license
ChristineAlb/Pokemon-battle-expert
2e9ac837fb4813da2bd4c27dac1a5690e6ccc1b2
06a2700a020a9c12993c2824c628fe52ced186d9
refs/heads/master
2021-04-28T07:06:23.330276
2018-02-20T13:32:41
2018-02-20T13:32:41
122,212,987
1
0
null
2018-02-20T15:00:42
2018-02-20T15:00:41
null
UTF-8
Python
false
false
530
py
# exercise 5.1.2 import numpy as np from sklearn import tree # requires data from exercise 5.1.1 from ex5_1_1 import * # Fit regression tree classifier, Gini split criterion, no pruning dtc = tree.DecisionTreeClassifier(criterion='gini', min_samples_split=2) dtc = dtc.fit(X,y) # Export tree graph for visu...
[ "sofus@addington.dk" ]
sofus@addington.dk
0d58ee0fc15f659c077b1143a02bb66111a89c74
ba40a5988387b170b45b75137b896630960f3450
/profiles/migrations/0001_initial.py
f93cfe82de101846cc8bfd406204f4f9a4bb5b50
[]
no_license
Darian-Frey/pulchra-libri
ae3626a5042c73bc4b61e1ccbfde89d986230dcd
ae1c98609c5106a134f86fe38bf8f9cc59417278
refs/heads/main
2023-08-12T06:01:19.906159
2021-09-30T23:18:53
2021-09-30T23:18:53
400,846,753
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
# Generated by Django 3.2.7 on 2021-09-12 20:05 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_countries.fields class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.A...
[ "shane.hartley06@gmail.com" ]
shane.hartley06@gmail.com
d481c50dc24610166c81237f91c3468449117087
80d28eaa892d0ae8548b88c9e572badceda6a622
/thief_snapshot/__init__.py
083a53b381b62b6a3262abc685121ecfc446e79c
[]
no_license
pawl/thief-snapshot
7affba4e0c05841c573dda5bd07d453bdffad98f
388660055a78e4719c920cb7db38fdc1cf7b3813
refs/heads/master
2020-12-03T09:35:01.714994
2017-07-11T02:56:28
2017-07-11T02:56:28
95,631,500
1
0
null
null
null
null
UTF-8
Python
false
false
156
py
import logging logging.basicConfig( level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s', ) logger = logging.getLogger(__name__)
[ "paul90brown@gmail.com" ]
paul90brown@gmail.com
d0e6d6f50ccfb352a8cbc7b6885fe5f5ed7113c5
631fefc768f55a1e1973b82f5f5b6dc918463c85
/resume_parser/resume_parser/settings.py
13d35b2511db26edea008110a019aacf25403856
[ "MIT" ]
permissive
gitamitrawat/Resume_parsing
667857a03a78c55c0b328fe72bbe5e8d8f909e28
c2dc1e161930538290018b46b55dd038c038b689
refs/heads/master
2022-11-27T18:08:07.492212
2020-08-09T17:19:09
2020-08-09T17:19:09
286,257,687
0
0
null
null
null
null
UTF-8
Python
false
false
3,568
py
""" Django settings for resume_parser project. Generated by 'django-admin startproject' using Django 2.1.4. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import...
[ "amithunterz@gmail.com" ]
amithunterz@gmail.com
0d1de5c81041d3e3475be8b17c283a7fa1f2bd06
f2f2a757faf73bf27caa72beae606a8ce1b2a073
/app/recipe/tests/test_ingredients_api.py
c8531f44430ae22eebeb986422785600eaa6ac61
[ "MIT" ]
permissive
rohitmalik137/django-recipe-api
a144e723926da21679149b8fd09c510536c94fb7
824f4a48d8f60356881dabb7733270fbdb24c67a
refs/heads/main
2023-01-14T16:53:59.492563
2020-11-26T15:08:28
2020-11-26T15:08:28
315,214,107
0
0
null
null
null
null
UTF-8
Python
false
false
2,766
py
from django.contrib.auth import get_user_model from django.urls import reverse from django.test import TestCase from rest_framework import status from rest_framework.test import APIClient from core.models import Ingredient from recipe.serializers import IngredientSerializer INGREDIENTS_URL = reverse('recipe:ingred...
[ "bpsrohitmalik@gmail.com" ]
bpsrohitmalik@gmail.com
3e7f1c6c83a028d02680995ae90412fcde342d37
464068d69e461d5d21cf5cb15d470aabb024ae42
/Logan Yang - Guessgame.py
5da8a0a24fccdaad5677840b93831ef0b7bd39d3
[]
no_license
5q4z/CSE
c6c7c939dad186971920880524f2c6cc7271e393
977128f87defe8786345390a1fbad958057f1b7f
refs/heads/master
2021-09-14T23:04:37.002028
2018-05-21T18:41:15
2018-05-21T18:41:15
112,374,914
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import random # Logan Yang a = (random.randint(1, 50)) for x in range(5): b = input("What number am I thinking of? ") if b == str(a): print("Correct!") quit() elif b < str(a): print("Incorrect, guess higher.") elif b > str(a): print("Incorrect, guess lower.")
[ "5q4z@github.com" ]
5q4z@github.com
20bdfeb6ea32876cb80e95e2bed12def7f5c0cb3
be8211ea410f91589307044a054c01948a594d54
/M1T1_saunders.py
62ab3f5e90a13d327064608e11250ecfef2171b8
[]
no_license
saunderl6368/CTI110
afa1be65c6d5c89816d26cc59a7e3907bee3cfa1
e09507795e50f738fdf767cd97c620a905e02223
refs/heads/master
2021-01-22T06:49:10.727820
2017-12-10T22:52:19
2017-12-10T22:52:19
102,300,501
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
#M1T1 #Hello World #Laura Saunders #8/26/2017 print ("Hello World")
[ "noreply@github.com" ]
saunderl6368.noreply@github.com
88c5efb5087541c82352cb73f2b1bcf7caf3e68b
64a04102f0240c46bd56973d783ebf3cf02b4299
/doubanMovie250/spiders/doubanMovie250_spider.py
72eacbd40a96f3bda4c418d5932c06786cc586d4
[]
no_license
mokusolo/doubanMovie250
81e0f54dfd7f659e607c87a86dc9415eb1028675
ffdd6f8411dfc08524cfb57bb1ebb1400a4bed3e
refs/heads/master
2021-05-14T00:11:24.484952
2018-03-07T04:21:57
2018-03-07T04:21:57
116,534,475
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
import scrapy from doubanMovie250.items import Doubanmovie250Item class DoubanMovie250Spider(scrapy.Spider): name = 'doubanMovie250' headers = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36' } # 使用start_re...
[ "liyundan3@gmail.com" ]
liyundan3@gmail.com
b57127734749739690a92ea4af6da4fa3a1d9bd5
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/sku_py3.py
8bb382d6481045d2cc41fe140e170b08d4bbffa6
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
3,319
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
daa712434a43b1506008cb02c38d0182d39483c2
b9c55de2b21ca781ab5522da8a1db34ed55bd644
/django-app/member/urls.py
cee47f79b216288c4dad0072c53238b1df7520be
[]
no_license
JeongEuiJin/model-wed-p
04a8ed2aa8145a860e214c563fcebae9d7e39692
9fb987f5fe65c05825c519d6ef4bd4d802e0dccb
refs/heads/master
2021-01-21T21:05:07.169721
2017-06-19T12:11:51
2017-06-19T12:11:51
94,772,729
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.student_list, name='student_list'), url(r'^(?P<s_pk>\d+)/$', views.student_del, name='student_del') ]
[ "hehar1020@gmail.com" ]
hehar1020@gmail.com
e789385cd300ec837af0be820f02f87154600e1d
8a4a4cab76ddf1b19a017c3e5c765caf9a5fe3cc
/test/test_remote_app_permission_update_user.py
45ffee2297dddce630ab3389a4f5adc204e15ffc
[]
no_license
ibuler/testsdk
fa724ff129e2a6144c05b8330cd4014c8bfb9a58
015bc6ca7da64180a2a11756a4e7cce733aca806
refs/heads/master
2020-06-23T09:02:50.322517
2019-07-25T05:51:26
2019-07-25T05:51:26
198,577,933
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
# coding: utf-8 """ Jumpserver API Docs Jumpserver Restful api docs # noqa: E501 OpenAPI spec version: v1 Contact: support@fit2cloud.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swag...
[ "ibuler@qq.com" ]
ibuler@qq.com
206496e68457d695272df25a30ed14016edc1773
974e10010df9a2f0696a021f6858be409848ea16
/douban/movie/migrations/0001_initial.py
85e0cf3e109a69a5ef364d256cbad9d39d627a30
[]
no_license
ssn9400/tango_with_django
ed7e4cb489e50dcd104129dfbf001cb27a482139
73bf7cf59af97873e03a077508694234c92f6786
refs/heads/master
2020-09-18T19:30:18.537014
2019-11-26T11:53:43
2019-11-26T11:53:43
224,176,505
1
0
null
null
null
null
UTF-8
Python
false
false
10,142
py
# Generated by Django 2.1.14 on 2019-11-26 06:20 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='AuthGroup', fields=[ ('id', models.AutoFie...
[ "940091548@qq.com" ]
940091548@qq.com
2fafa7209aecd8c1e4b79ff259093980bd081564
b9a73fe404ee30baf8a88276030363ad2d1d4cc5
/old/BRNN_Gap/eval.py
d8cfef3415e874b7220fbd604a5df6822553a2ff
[]
no_license
everglowing/Language-Models
06da6befceef9b4fd1f43ba7d6708fcf8862f715
67db3fc5d0b0ef099cac306bd78294764d3587cf
refs/heads/master
2021-01-13T04:12:41.341299
2016-12-27T18:53:24
2016-12-27T18:53:24
77,684,222
1
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
from __future__ import print_function import numpy as np import tensorflow as tf import argparse import codecs import time import os from six.moves import cPickle from utils import TextLoader from model import Model from six import text_type def main(): parser = argparse.ArgumentParser() parser.add_argument...
[ "kalpeshk2011@gmail.com" ]
kalpeshk2011@gmail.com
cedcb016825d6154f200e7ccfe1d53847c674bb6
9512f329d9326ed0b9436202947de9eee0c6c387
/Cap07-estruturas_de_repeticao/for_03.py
dcfe65ac3989ce9551d9ca9f6b3a0ccdf9f82056
[]
no_license
frclasso/CodeGurus_Python_mod1-turma1_2019
9fffd76547256ac480db41536223682a5b152944
e34d60498ee45566dbf1182551d91250a9aab272
refs/heads/master
2020-04-30T02:01:50.757611
2019-06-10T15:38:58
2019-06-10T15:38:58
176,546,912
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
# loop aninhado lot_2D = [ ['Toyota', 'Audi', 'BMW'], ['Lexus', 'Jeep'], ['Honda', 'Kia', 'Mazda'] ] #print(lot_2D[0][0]) # lista 0 , elemento 0 da lista 0 # for linha in lot_2D: # for carro in linha: # print(carro) lot_3D =[ [ ['Tesla', 'Fiat', 'BMW'], ['Honda', 'Jeep'...
[ "frcalsso@yahoo.com.br" ]
frcalsso@yahoo.com.br
d79a6922f9637b01f6fde1a85cd15c4482f4ecc7
7da9f5979aaaadd44f9420fbd49653683b3d2ce8
/ablog/theblog/admin.py
a711da020883ca654ea31ed754d3e24b1939145b
[]
no_license
SanjoyPator1/BlogProjectDjango
7bde566098b249cfa073cab62e69dcb3f5a8954a
f4ea7a5fa0b4ba10b3a6657c553720ce8ffe22c8
refs/heads/main
2023-07-13T19:10:55.157433
2021-08-28T10:02:03
2021-08-28T10:02:03
391,609,217
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
from django.contrib import admin from .models import Post, Category, Privacy from django_summernote.admin import SummernoteModelAdmin #summernote class PostAdmin(SummernoteModelAdmin): summernote_fields = ('body',) # Register your models here. admin.site.register(Post, PostAdmin) admin.site.register(Category) ad...
[ "sanjoy18-378@aec.ac.in" ]
sanjoy18-378@aec.ac.in
2b7ca6930d7a261e1163001b2f4c95bfa52cba9d
87ea41eb5df699439196eefb92501b2db5ffde08
/func_2.py
8024b9dbe5f72a1c01efc1261dcc2e46113de7c8
[]
no_license
Marco-Colombi/Homework-5-ADM
aea42c18a737ad179e0986aed371691b05ed6e94
4c8123be9a94e1459e00967a54ce9f504f2c18d3
refs/heads/master
2020-11-27T22:16:41.344710
2019-12-22T22:57:50
2019-12-22T22:57:50
229,623,074
0
0
null
null
null
null
UTF-8
Python
false
false
4,048
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 21 04:41:45 2019 @author: marco """ #imports import gzip import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap import math from bitarray import bitarray import pandas as pd import heapq import time import sys import n...
[ "noreply@github.com" ]
Marco-Colombi.noreply@github.com
e5999b065f6134eacca7b4e84558088fb2db9b8a
767831c642b7f9c4e49d7125bd3add1ce558a49a
/html_tags/details.py
97fcacf4e8baf127aa16f99d4c7623a252d6e625
[]
no_license
taka16a23/.pylib
158152169b23677ccb06f481438995a1cd18bae6
cf702edb085b76657893daff24f4c6f349424840
refs/heads/master
2021-01-19T10:06:11.500989
2020-07-26T11:17:16
2020-07-26T11:17:16
82,158,034
0
0
null
null
null
null
UTF-8
Python
false
false
3,664
py
#!/usr/bin/env python # -*- coding: utf-8 -*- r"""ditails -- ditails tag """ from .html_tag import HtmlTag class Details(HtmlTag): """Details Details is a HtmlTag. Responsibility: HTML の詳細折りたたみ要素 (<details>) は、ウィジェットが open 状態になった時のみ情報が表示される折りたたみウィジェットを作成します。 概要やラベルは <summary> 要素を使用して提供することが...
[ "takahiroatsumi0517@gmail.com" ]
takahiroatsumi0517@gmail.com
c5ec5ec31bab15d0c60b675bc1ebd8dbec63bfda
ab3c29601d3d2990f07ef57f1d0d46c15683fe15
/users/views.py
7d872c07c59e9de7534fd74d919d59123b881b93
[]
no_license
ErikPrestegaard/omegaCheckList
bddca0aa93b901503e38b0dd3a07fa1c9790f061
b7df96f8bdf3031cb50d1417089286de03d45592
refs/heads/main
2023-05-03T03:12:40.671438
2021-05-28T13:54:13
2021-05-28T13:54:13
371,712,751
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
from django.shortcuts import render, redirect from django.contrib import messages from django.contrib.auth.decorators import login_required from .forms import UserRegisterForm, UserUpdateForm, ProfileUpdateForm def register(request): if request.method == 'POST': form = UserRegisterForm(request.POST) ...
[ "84975138+ErikPrestegaard@users.noreply.github.com" ]
84975138+ErikPrestegaard@users.noreply.github.com
eda76db32eff1c8ef1830ed0c214425cd7c60031
fc0201220fa4d73c7e68289a80e096fb4215bc3d
/examples/example.py
b16169de66115206906a055a167fc758996e092a
[]
no_license
ACCarnall/loch_nest_monster
b1e817a60f1afa37ca0c65af056b169e8498cc29
166784bfc81f15d1af52fc19124c7d43be2f9b8a
refs/heads/master
2020-03-15T18:52:31.849544
2018-09-03T10:16:17
2018-09-03T10:16:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
import numpy as np import matplotlib.pyplot as plt import corner import lochnest_monster as nesty def lnprob(param): y_model = make_fake_data_linear(x, param) return -0.5*np.sum(((y - y_model)/y_err)**2) def prior_transform(cube): return 20.*cube-10. def make_fake_data_linear(x, param, sigma=None): ...
[ "adamc@roe.ac.uk" ]
adamc@roe.ac.uk
16567c239a0a382783d26d63095c22e8dbed7ee5
2534d5d9ce1872fa1408224cf889c67c3962bbe0
/images/migrations/0003_alter_images_image.py
571c3e6bb5343984cb953a06da1d4e47d19c5012
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
samwel-chege/Personal-Gallery
561ac8ef864eccc469f514676637c6179fdda428
b14af9d9cbea42f567d819144a6b87d533d39582
refs/heads/master
2023-08-30T00:28:03.157266
2021-11-08T06:26:29
2021-11-08T06:26:29
402,773,544
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# Generated by Django 3.2.7 on 2021-09-04 12:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('images', '0002_auto_20210904_1535'), ] operations = [ migrations.AlterField( model_name='images', name='image', ...
[ "samwelchegeh09@gmail.com" ]
samwelchegeh09@gmail.com
2cf468316ab01bf734e453e3ec7c8f84257c7636
d7b6f3ea6a1f58c2d716a3ba2b922d32dfba3dd5
/main.py
328dd1b8c4e28dedd09fc7023776d19a41ca3929
[]
no_license
rtislacktest/files
0889fc31c43945400b7b3defe427b16ef134144b
b0558a20c741682fb9208d3db17fd6b522e95b9f
refs/heads/master
2022-12-03T15:00:25.455812
2020-08-19T14:49:18
2020-08-19T14:49:18
288,362,819
1
0
null
null
null
null
UTF-8
Python
false
false
2,105
py
import os import SlackPostRequests as slack_api SLACK_BOT_TOKEN = os.environ['SLACK_BOT_TOKEN'] PATH_TO_FILES = os.environ['PATH_TO_FILES'] START_CHANNEL = os.environ['START_CHANNEL'] if __name__ == '__main__': #Тест отправки сообщения r_msg = slack_api.post_to_slack(SLACK_BOT_TOKEN, ...
[ "noreply@github.com" ]
rtislacktest.noreply@github.com
5ea3abe3100127da5d59957fa8e7d512baa17b7f
9a7b7f90aa62ce52643e2df83d8aef7ba7803afd
/src/input_handlers/inventory_drop_handler.py
f467da4003f1c32e9ad309fed15c3b0a08d53594
[]
no_license
voidnologo/tcod_roguelike
d82a060a94784a18156fefe105a3e26a540525e9
23d806f960134c17ccbd4e6ca5527f35e654df65
refs/heads/main
2023-02-28T11:05:52.809161
2021-02-07T16:36:38
2021-02-07T16:36:38
331,168,875
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
import actions from input_handlers.inventory_event_handler import InventoryEventHandler class InventoryDropHandler(InventoryEventHandler): """ Handle dropping an inventory item """ TITLE = 'Select an item to drop' def on_item_selected(self, item): return actions.DropItemAction(self.engin...
[ "(none)" ]
(none)
6064a1d68a73eba25dce46779f0fae12a18e53cf
20b6c8841b14d30d00f3520e8dd212cc9200ab8f
/items.py
5331947bf197cd1c17a1f2266d092aac5d6d8911
[]
no_license
kdurek/tryga
6a25f86cbb7e8d880437290877995f5f97731131
1dc9292c108ccc22878e0c159ef52f8d33030ed7
refs/heads/master
2022-05-12T16:18:48.538808
2020-02-26T22:54:08
2020-02-26T22:54:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
class Weapon: def __init__(self, name, damage, description): self.name = name self.damage = damage self.description = description
[ "noreply@github.com" ]
kdurek.noreply@github.com
df7015dc6cede234e2a5bec11f386fb53a89c388
e1b6911e90e8f8636066f6566377f1e57385b1b8
/components/GetStatistics/GetStatistics.py~
263ddf273c6b6c3de2fa0d126f1b61fac5b569b1
[]
no_license
severinb/ChIPseq-pipeline
6ab3f228c4004970e1aaa41dcef49cba89226c11
3ff11ce3bcd91a8ffabb6043a2d62209e9a5b852
refs/heads/master
2021-01-15T19:12:51.675353
2014-10-13T10:05:31
2014-10-13T10:05:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,136
#!/usr/bin/env python import component_skeleton.main import subprocess import os, re from string import * import datetime, time from pylab import * from scipy.stats import gaussian_kde import sys def make_boxplot(xarr, yarr, binnum, outplot, xlab, ylab, plabel=None): #make box plots of posterior distributions s...
[ "severin.berger@stud.unibas.ch" ]
severin.berger@stud.unibas.ch
2d3fe35ed9b89a8c34620b3e95d655218a412919
a46a0a638d18906ecef55352deb5b8697dedf971
/src/convert_model.py
14ccc03afbe6d7d1dc184eebc3b7ba1a7ee5f83e
[ "MIT" ]
permissive
skyimager/stanford_cars_classification
eafd2cc8730628e3332568e9db29575c8416f75a
812e34c66ac37d164545980676ba2d89fe751b0c
refs/heads/master
2020-06-05T07:07:16.399148
2019-06-18T16:17:52
2019-06-18T16:17:52
192,354,175
1
0
null
null
null
null
UTF-8
Python
false
false
2,761
py
#!/usr/bin/env python """ Copyright 2017-2018 Fizyr (https://fizyr.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
[ "pradip.gupta@ril.com" ]
pradip.gupta@ril.com
c9f1be0d07eed045b23653c1e106ba1532553bf3
95f6c4f2edd55add55adfa02cb37ab6ff1cb5af9
/channels/telegram/__init__.py
17b2efded395916641c6fa7ef4e80cf2fa0cb71f
[ "LicenseRef-scancode-other-permissive" ]
permissive
SeedVault/rhizome
de5832bb29e792c711b57070f0d7ab109fb59875
b94ef5e75411ac4a214f5ac54d04ce00d9108ec0
refs/heads/master
2022-12-10T19:10:35.581534
2020-02-22T02:06:30
2020-02-22T02:06:30
145,477,664
8
3
NOASSERTION
2022-12-08T03:14:00
2018-08-20T22:42:16
Python
UTF-8
Python
false
false
33
py
"""Package channels.telegram."""
[ "nicolas@botanic.io" ]
nicolas@botanic.io
98c511760929dd8c5b0092cd5560908bb71b0144
0276a4b8b92da8aa167e222391bf2d8370ef7022
/Motif_mark.py
8362aeb3a6ad3c44c08806c6cf63c382eadb54c9
[]
no_license
alexadowdell/motif-mark
ab7fb69424390b2b5eb909ce187f35778a302bf3
ad5acc63d3a8e78968f61da8aad3f9efe4aa38ee
refs/heads/master
2021-04-09T16:01:06.919763
2018-03-20T04:48:14
2018-03-20T04:48:14
125,677,248
0
0
null
null
null
null
UTF-8
Python
false
false
11,246
py
#!/usr/bin/python3 #from IPython.core.display import SVG, display import argparse import cairo import random ##################################################################################################################### ############################################ Set up Argparse ##############################...
[ "adowdell@uoregon.edu" ]
adowdell@uoregon.edu
cf63b4a0764db2a24c7a3992b08ae676ec0ea0fd
d81251967de1a26ef9dd815e17b1fed89f4f63b5
/lib/logic.py
a24db40b294f4f76a1d043712b0d741b2977a141
[ "MIT" ]
permissive
dhavalshiyani/Variable_calculator
3a29f9d0d3c7fb1b2131ceb919cad53dc806a9f5
936895eb9463a7bd6a1a8d5aa391cb6531490c77
refs/heads/master
2020-03-21T07:04:36.910267
2018-06-22T06:21:13
2018-06-22T06:21:13
138,259,132
0
0
MIT
2018-06-22T05:56:50
2018-06-22T05:37:37
null
UTF-8
Python
false
false
4,332
py
import sys import os import commands import math #from tabulate import tabulate import linecache import configinfo mu,Cmu = configinfo.constants() def turbcalc(mu, Cmu): #User-input try: calcType = raw_input('\n'"Calculate boundary layer(\"del\") or inlet length(\"len\"): ") type_of_solver = raw_input(...
[ "noreply@github.com" ]
dhavalshiyani.noreply@github.com
4d57700a00166a0ef228e6730a98bd44d84c7b14
6e5b10e1b204b1ae7f4c7270f010e3b8db8fc185
/src/python/skypy/soft_cache_test.py
35c73f368b8f48f29c894fa54ba3f7ed9b909bdc
[ "ISC", "LicenseRef-scancode-other-permissive" ]
permissive
ms705/ciel
9c04e8cb4f62464de46f98997f85fd37f8a13933
0e7045984161dfa104fd3c8296439e03321109c9
refs/heads/master
2021-01-17T21:39:12.931308
2011-06-20T14:46:04
2011-06-20T14:46:04
1,416,212
1
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
from __future__ import with_statement import skypy import soft_cache def counter(ref): cached_result = soft_cache.try_get_cache([ref], "wc") if cached_result is not None: print "Counter: got cached result! It was", cached_result else: with skypy.deref_as_raw_file(ref, make_sweetheart...
[ "cs448@cam.ac.uk" ]
cs448@cam.ac.uk
c61978a01142cd65fa4c4179394a7d9216b3351e
b3b0f9755153a3aa710ff1bb58c3cbac50e21d65
/Aula06/Exercício3.py
e54af58594e42a92fe8ba78647d81262fe069f2f
[]
no_license
NicoleGruber/AulasPython
ac36d505ae814792f3311139b673bc89be45c8a8
94a6c91c3d83314f711003eb3fd4ff452102dd49
refs/heads/master
2021-07-10T05:04:49.221712
2020-02-25T01:35:35
2020-02-25T01:35:35
234,075,283
0
0
null
2021-03-20T03:00:53
2020-01-15T12:24:32
Python
UTF-8
Python
false
false
794
py
#---- Exercício 3 - Foreach #---- Escreva programa que leia as notas (4) de 10 aluno #---- Armazene as notas e os numes em listas #---- Imprima: # 1- O nome dos alunos # 2- Média do aluno # 3- Resultado (Aprovado>=7.0) n1=0 n2=1 n3=2 n4=3 ListaAlunos = [] ListaNotas = [] for i in range(0,1) : L...
[ "57449553+NicoleGruber@users.noreply.github.com" ]
57449553+NicoleGruber@users.noreply.github.com