blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
8a39d40afa0a8728c51c3cb3049b5f71565cd3f6
eabbe7275411eaad9ff6189d9418c9c8c6a05393
/blog/migrations/0001_initial.py
807e85fd769c62c081cd3ade0308719dd934dfad
[]
no_license
amshivraj/my-first-blog
6700e6cc5f2005de41d63bc9eeef5c7fbe7c9723
8309668b5f429b7fa6af1cff4ef6a6834a643d1b
refs/heads/master
2016-08-12T05:46:06.146438
2016-04-03T17:45:45
2016-04-03T17:45:45
55,360,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-03 15:51 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depen...
[ "amshivraj012@gmail.com" ]
amshivraj012@gmail.com
36f54f52831a2cec76253a95202db19a2cc16e02
e89fbc7584f6ef10920de0d027a8aa4343dbec28
/crypto_analysis/dags/newcomers_update.py
d692b7e9b2300da3be5c3c43e617c4600968f76d
[]
no_license
vincentclaes/crypto-analysis
b4932012536095a9720f29d6f3a0b0aa5217890f
c7793f0367aa6c96d39f2c0edca188cfce785bc6
refs/heads/master
2022-12-09T03:48:48.992187
2018-10-28T07:44:38
2018-10-28T07:44:38
129,792,192
0
0
null
2022-12-08T02:04:04
2018-04-16T19:04:10
Python
UTF-8
Python
false
false
1,244
py
from datetime import timedelta import airflow import requests from airflow.contrib.hooks import SSHHook from airflow.contrib.operators.ssh_execute_operator import SSHExecuteOperator from airflow.models import DAG sshHook = SSHHook(conn_id="delta-crypto") args = { 'owner': 'airflow', 'start_date': airflow.uti...
[ "vclaes1986@gmail.com" ]
vclaes1986@gmail.com
b98564429effdf73626a3ffe5b14362282c0ce78
d5f75adf5603927396bdecf3e4afae292143ddf9
/python/paddle/fluid/tests/unittests/distributed_passes/test_dist_fuse_adam_pass.py
85c3bf321a3b1b100f593ba527698605a85570af
[ "Apache-2.0" ]
permissive
jiweibo/Paddle
8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4
605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74
refs/heads/develop
2023-07-21T03:36:05.367977
2022-06-24T02:31:11
2022-06-24T02:31:11
196,316,126
3
2
Apache-2.0
2023-04-04T02:42:53
2019-07-11T03:51:12
Python
UTF-8
Python
false
false
3,358
py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # 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 appli...
[ "noreply@github.com" ]
noreply@github.com
0028feb3a3bd7de261c416ee9f79994d392b4371
d12b167564a3c0c529b6d205b43f00b4b5d60f83
/cifar10_multi_gpu_train.py
65519cd4d538dec149351dae257d1b624dcdc808
[]
no_license
sanketkumarsingh/scene-recognition-using-ResNet
67fd1cc0bb6ccbe75ea08316139f3db6efdfea0d
071f4e13e3a8b81ce73e81e213515017f1c86664
refs/heads/master
2020-07-30T02:13:23.449671
2017-07-09T01:01:45
2017-07-09T01:01:45
73,637,013
1
0
null
null
null
null
UTF-8
Python
false
false
10,689
py
# Copyright 2015 Google Inc. All Rights Reserved. # # 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 applicable law or a...
[ "noreply@github.com" ]
noreply@github.com
d44707b7a8f613cdde96d7655ad5160e497d281c
e170cdfd7af37c234fe15c887512ba4b12c8893d
/tp/apps/requ/migrations/0001_initial.py
e08392ca816dd57d89b9774cc3e6076c69845751
[]
no_license
AndreyBaranyuk/tp
31e0d8dff389870e7ac11c6ae37908a8bf82aada
0e69cb450d200610d00800108933c5d4a99a9772
refs/heads/master
2023-08-10T18:12:45.968160
2021-09-30T13:50:20
2021-09-30T13:50:20
412,082,439
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
# Generated by Django 3.2 on 2021-05-03 08:20 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "andrew-baranuk@yandex.ru" ]
andrew-baranuk@yandex.ru
3b9748fc3d6945988b4061d2ed89a105ea581770
53581925953ce54093f90d411f03da722e0d4826
/Workflows/CityConnectingLinkTEST/config.py
e01dc69fa67cbfa71e0a2ee78ae6c70d81bba3e3
[]
no_license
KDOTGIS/pydot
9a0a8f2ee5d58a018efc6adde49f63e32241278a
3c2f8e16c943caf0ac2419881477b5410565f358
refs/heads/master
2021-01-17T08:00:35.232543
2019-05-23T19:09:33
2019-05-23T19:09:33
19,283,544
5
0
null
null
null
null
UTF-8
Python
false
false
1,863
py
''' Created on Oct 7, 2013 @author: kyleg ''' #HARD SET A WORKSPACE ENVIRONMENT ws = r'\\gisdata\arcgis\GISdata\KDOT\BTP\Projects\CCL' #SET THE GEODATABASE CONNECTON FOR CCL PROCESSING connection0 = r'Database Connections\SQL61_GEOADMIN_CCLtest.sde' #SCHEMA.Owner. schema = "CCL_TEST.DBO." #SET THE G...
[ "kyleg@ksdot.org" ]
kyleg@ksdot.org
6975e4ae224d2fc47695bcd05ebae6980ef10880
41fd80f9ccc72a17c2db16b7019312a87d3181e8
/zhang_local/pdep/network1235_1.py
c8099e96137017a0b095a2519e6f5c6d3a2fd58a
[]
no_license
aberdeendinius/n-heptane
1510e6704d87283043357aec36317fdb4a2a0c34
1806622607f74495477ef3fd772908d94cff04d9
refs/heads/master
2020-05-26T02:06:49.084015
2019-07-01T15:12:44
2019-07-01T15:12:44
188,069,618
0
0
null
null
null
null
UTF-8
Python
false
false
72,209
py
species( label = 'C[CH]OC[C]([O])OO(3631)', structure = SMILES('C[CH]OC[C]([O])OO'), E0 = (49.4811,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([3025,407.5,1350,352.5,3615,1310,387.5,850,1000,360,370,350,2750,2800,2850,1350,1500,750,1050,1375,1000,2750,2850,1437.5,1250,1305,750,350,200,8...
[ "dinius.ab@husky.neu.edu" ]
dinius.ab@husky.neu.edu
aecc655370d1d025931c9cc3b56807cd06188080
84abd2bdcae1c43b5107a935e9c8fffe5cef9a6b
/file.py
090642bfbfbde6902ad4df4955413ca09494ecd0
[]
no_license
mruthyunjaya-reddy/python-app1
1f312adaf80eed1490dbc13a8028337b93990128
7bc62d1191d5ef884858da3cc7e52bc2e417b3df
refs/heads/main
2022-12-28T15:41:15.245550
2020-10-14T13:50:30
2020-10-14T13:50:30
304,026,995
0
0
null
null
null
null
UTF-8
Python
false
false
6,547
py
''' a=open("abc.txt",'w') print("File Name:",a.name) print("File Mode:",a.mode) print("File readable:",a.readable()) print("File writable:",a.writable()) print("File Closed:",a.closed) a.close() print("File Closed:",a.closed) print("file is closed") ''' #----------------------------------------------- ''' ...
[ "noreply@github.com" ]
noreply@github.com
5a9d027ff8cc18ecab56ba138f3d711c9d7f3eff
64a673e2e84c962ae4ab312b7f011e13f7d2df55
/lib/panda.py
516fb243713e658ac807e6c24b5e57f96070de17
[ "MIT" ]
permissive
ScienceXChina/panda
c00960901246627d643cdf33ee81066988a15fdb
efca3f70939d4c2d3c8c0901536e9d89a5bbcbd6
refs/heads/master
2021-01-19T20:50:57.597486
2017-04-18T01:17:34
2017-04-18T01:17:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,274
py
# python library to interface with panda import struct import usb1 from usb1 import USBErrorIO, USBErrorOverflow class Panda(object): def __init__(self, serial=None, claim=True): context = usb1.USBContext() self.handle = None for device in context.getDeviceList(skip_on_error=True): if device.getV...
[ "george@comma.ai" ]
george@comma.ai
8d73da293f7358f33fd67b7f81ac636065a65db9
e4d36d85f2e67018b00a989f6cb0a4c751675c7f
/retriever/search_es.py
96baf4e1062d4d90bdd4a156b6ddad9ac86d7913
[]
no_license
caipengbo/KnowAlpha
c69f9d651f15048888124f0988d6dc8376c64855
ed9ebc0265ae406bd8a21d1786337c5002eb0810
refs/heads/master
2020-05-24T01:18:46.653183
2019-07-12T09:13:34
2019-07-12T09:13:34
187,032,151
0
0
null
null
null
null
UTF-8
Python
false
false
2,013
py
# -*- UTF-8 -*- from elasticsearch import Elasticsearch def search(query="", size=200): # replace your url url = "http://10.1.1.9:9266" es = Elasticsearch([url]) doc = { "query": { "multi_match": { "query": query, 'type': 'most_fields', ...
[ "caipengbo@outlook.com" ]
caipengbo@outlook.com
4ccc5c1a6ae477eda5b9b3299b478c9d526953a0
a4be33d707ff272972150524abc43e6731eb1592
/receiver/lib/CRC16.py
3f71971c4b50c9b7caadf2d8fd0d3c9da4e52b60
[]
no_license
jiangliq2000/CloudLaundry
6b6534be7cd7720f7d1747586b4a3261a2d87528
e9fc86a36dba6d7a76de5446965460dee43d6a17
refs/heads/master
2021-08-16T05:45:15.357572
2017-11-19T03:14:57
2017-11-19T03:14:57
111,260,311
0
0
null
null
null
null
UTF-8
Python
false
false
5,407
py
#* File: CRC16.PY #* CRC-16 (reverse) table lookup for Modbus or DF1 #* INITIAL_MODBUS = 0xFFFF INITIAL_DF1 = 0x0000 table = ( 0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241, 0xC601, 0x06C0, 0x0780, 0xC741, 0x0500, 0xC5C1, 0xC481, 0x0440, 0xCC01, 0x0CC0, 0x0D80, 0xCD41,...
[ "jiangliq_2000@163.com" ]
jiangliq_2000@163.com
37818cd5fcee6a28165e777da8c232aab06642b5
7740adda52651a443e5141b331d4eaadbd0d0d2c
/chap11/11-5.py
a1ff82139212f7ae8500386e95508159daeca5f9
[]
no_license
wucy/pythonhomework
f55b24e6e702718243f8cd534dc7d3c2eb9f9fce
1cfcac532a229ce71982ed3cfef9f75a531ffa64
refs/heads/master
2016-09-10T20:30:37.367056
2013-11-28T14:20:03
2013-11-28T14:20:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
#!/usr/bin/env python def invert_dict(hist): ret = dict() for key in hist: ret.setdefault(hist[key], []).append(key) return ret print invert_dict({'a':1, 'b':2, 'c':2})
[ "chunyang506@gmail.com" ]
chunyang506@gmail.com
5d90971c9ca58a4817368468e0ff0c99c19b099e
14438f8c8bb4250a7fa8da0ecd40c5a4902bdfcd
/Player/set-17/165.py
9a3d792ecbd4593b145a5f3556d0c0b9183b56ef
[]
no_license
nikhilvarshney2/GUVI
c51b1fa3bd1026eb74fc536e938a14c2e92089b2
79717ae5b26540101169e512204fb7236f7c839f
refs/heads/master
2020-04-01T00:40:27.699963
2019-04-30T13:46:46
2019-04-30T13:46:46
152,707,542
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
n,u = map(int,input().split()) kl = list(map(int,input().split())) found = 100000 for i in kl: if i>u and i<found: found = i print(found)
[ "nikhilvarshney9292@gmail.com" ]
nikhilvarshney9292@gmail.com
c4be1d8b308073947baf4fc29f79973f7e38daba
b35e64c330c69808c8b3b662919f6d88c7e618a0
/MachineLearn.py
d6c629e9415e586906ae30d6dd8c7c3237501bcd
[]
no_license
ArturQuirino/KaggleLearn
89c96718ec305c4a5f2f4f3f61fec1669b8db80a
727e41a74f52587e661b23f37de7d3770d4d0c9b
refs/heads/master
2020-03-10T09:54:04.465680
2018-04-13T00:39:05
2018-04-13T00:39:05
129,321,057
0
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
import pandas as pd from sklearn.tree import DecisionTreeRegressor from sklearn.metrics import mean_absolute_error from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestRegressor iowa_file_path = 'train.csv' iowa_data = pd.read_csv(iowa_file_path) print(iowa_data.describe()) ...
[ "arturquirino6@gmail.com" ]
arturquirino6@gmail.com
9996746f70504094d20ab66fa225501ca5211e7e
e61aeb9013f5866c985514ede9a84d572ae03121
/greent/test/test_pubchem.py
e197e98bd30e3e4b228453e9c7091bf2aaf613e5
[]
no_license
NCATS-Tangerine/reasoner-tools
25217503ac6c42a7cb1126f784048b01b33c5e22
b5ef8e220a8d8b1c8f7597fa943f7450bb496a74
refs/heads/master
2022-12-17T07:59:57.981032
2021-05-20T16:21:07
2021-05-20T16:21:07
139,447,721
1
1
null
2022-12-08T04:49:56
2018-07-02T13:30:39
Python
UTF-8
Python
false
false
341
py
import pytest import requests import os from greent.services.pubchem import PubChem from greent.servicecontext import ServiceContext @pytest.fixture(scope='module') def pubchem(): return PubChem("pubchem", ServiceContext.create_context()) def test_label(pubchem): assert pubchem.get_label ("2244") == { "label...
[ "scox@renci.org" ]
scox@renci.org
bb3214513026e77a101808996259d03f08c5fa78
0f301dba9c503b5c22ca52b9d479a5eebab25a4f
/experiment/statistics.py
db96425b85d8430fa9bfbd10bd4db57d5fb2569f
[ "BSD-3-Clause" ]
permissive
ERATOMMSD/mind_the_gap
2b005e68034b8a3f64dcd78d754c959e990677da
33ca14e3321a4846aa728a00ab32408576ef0433
refs/heads/master
2022-08-18T10:08:28.256981
2020-05-16T13:24:10
2020-05-16T13:24:10
264,441,736
0
0
null
null
null
null
UTF-8
Python
false
false
1,757
py
class Statistics(): def __init__(self): self.time_cfg_constr = 0 #ok self.time_verify = 0 #ok self.time_smt = 0 #ok self.time_smt_pure = 0 self.time_interp = 0 #ok self.time_interp_pure = 0 #ok self.time_to_lia = 0 #ok self.time_from_lia = 0 #ok ...
[ "katiiijp@gmail.com" ]
katiiijp@gmail.com
a648cbdbf5a1d98beba96b3483ee9e97504bb830
fcf91774105f020482c3c07632c0ee462a6d1394
/uwiki/web.py
57dd594e358c2811ee30d858e2da8fbd0247f7c4
[]
no_license
mikeboers/uWiki
fcac466e82d16b2ed219d06b834b766e7a9de43e
3c9b0a7ab07a550f52f5d5d38105df901d5a3801
refs/heads/master
2023-06-08T05:53:50.066814
2018-03-05T18:03:45
2018-03-05T18:03:45
15,181,192
4
0
null
null
null
null
UTF-8
Python
false
false
179
py
import logging logging.basicConfig() from .core import app from .errors import setup_errors setup_errors(app) # Finally register controllers here. from . import controllers
[ "github@mikeboers.com" ]
github@mikeboers.com
cb6e064a687f6fe2553c6b9d8a3a5a1fea7a8744
e05905a99ae93468aeef00d58a54ff1f084ac4b7
/instagram_web/util/helpers.py
0e183ca58b71df8a41712f21bdda809ab6aec065
[]
no_license
benhails/curriculum-nextagram-template
68982a8eef040a6d1fde8c37fcb4de559db65840
d61dc5b1756482dc5a358306fa8d1425285eaa38
refs/heads/master
2020-12-15T04:47:07.605714
2020-02-06T02:33:58
2020-02-06T02:33:58
234,998,417
0
0
null
2020-02-06T02:33:59
2020-01-20T01:50:31
Python
UTF-8
Python
false
false
2,337
py
from helpers import s3 from config import S3_BUCKET, S3_LOCATION, S3_PROFILE_IMAGES_FOLDER, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET from models.user import User from models.image import Image from flask import Flask, flash import os from sendgrid import SendGridAPIClient from sendgrid.helpers.mail import Mail from authl...
[ "benhails@hotmail.com" ]
benhails@hotmail.com
2224a59c364b7d23fe7e1fda9e1c4882185ad1a2
7c8bff784568691c516833ac81afc967857d24e2
/jacc/migrations/0013_auto_20180329_1052.py
416bb15ffddf4f84db0de59def8ab08f641d0a94
[ "MIT" ]
permissive
kajala/django-jacc
b71f2c3df1321b9bb31e1e648895931b735949a6
4acb8ca2d32b11fd5afa3b5316b13be223b20ec6
refs/heads/develop
2023-08-18T14:12:38.196880
2023-08-11T15:18:57
2023-08-11T15:18:57
121,229,896
11
5
MIT
2021-07-12T15:02:36
2018-02-12T10:02:20
Python
UTF-8
Python
false
false
458
py
# Generated by Django 2.0.2 on 2018-03-29 10:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("jacc", "0012_auto_20180218_0638"), ] operations = [ migrations.AlterField( model_name="invoice", name="number", ...
[ "kajala@gmail.com" ]
kajala@gmail.com
5dbcf955cf70be5f89cfb3fe3e56ea8dfaaffd73
1ce29b37fb1bdaa0fb5e464be967153b43735a33
/ClassworkNotes/Python/happysolution.py
5c8f85ddab0842dcfdf388ab49c12129f3534b74
[]
no_license
Kushendra1/csci127-assignments
84c32298496f056dd3babb53d501c2e0a28d07f6
cd26fbaab0ff89c5158410e533da5176671e87c0
refs/heads/master
2020-03-28T03:45:33.313295
2018-12-20T15:46:16
2018-12-20T15:46:16
147,669,145
2
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
def happy(s): if '_' not in s: for i in range(1,len(s)-1): if s[i] != s[i-1] and s[i] != s[i+1]: return False return True else: s = s.replace("_","") counts = {} for bug in s: # if bug in counts.keys(): # counts[bug...
[ "Kushendra.Ramrup59@myhunter.cuny.edu" ]
Kushendra.Ramrup59@myhunter.cuny.edu
c2b305040a5e101c5f77947e71b7f5984bcf0a38
bfec30b8329e8990bcb6c5d59297d30410fa911b
/20_Valid_Parentheses/sol_stack_v2.py
70a751fa592ce71feeaeeb565630b33683f9f0bb
[]
no_license
plhsu19/leetcode
f16ee0e5048d722351e0f85b3e1af3c26c72faff
2377e79ff4cdb71191604383ee7105aa329401c4
refs/heads/master
2023-08-20T17:52:45.529410
2021-10-21T11:37:01
2021-10-21T11:37:01
277,123,955
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
# solution using hash table, which will be slower than directly hard-code # the mapping of opening and closing brackets with different types class Solution: def isValid(self, s: str) -> bool: stack = [] mapping = {')': '(', ']': '[', '}': '{'} for c in s: if c in mapping...
[ "54821322+plhsu19@users.noreply.github.com" ]
54821322+plhsu19@users.noreply.github.com
d65e5ad2c0cde8bbb56db659d255ba28f94db24b
c7f8db517925a3fcbb7abb259941e1f8c1a0c5a9
/admin_app/sys/formdata.py
5d566da4cfd597cc66b658b17faee4e3c4156081
[]
no_license
Herowoo/lqkj_admin
d4ae0815e5223ed352467a75aa630ee1503fdbb8
ce8493490f7015ff3572a5b5b9373e9c5b13c402
refs/heads/master
2023-04-18T15:19:45.839918
2021-04-28T10:00:17
2021-04-28T10:00:17
362,424,754
0
0
null
null
null
null
UTF-8
Python
false
false
25,619
py
from admin_app.tranapp.formbutton import * from admin_app.tranapp.transfer import * from admin_app.tranapp.wamreport import * from admin_app.tranapp.apply import * ########################################################################################################### #表单自定义按钮,发起交易 #add by litz, 2020.04.10 # ######...
[ "chrowxm@qq.com" ]
chrowxm@qq.com
832aa0d3c90861062ce69cb90cf22a074676b793
0e2994b2b6ffe318081274eff6425573f1ab953e
/argus-freesound-master/stacking_kernel_template.py
5872f6d63621c45783150d2611f315b29cf299b0
[ "MIT" ]
permissive
Ramstein/castme-transform-prediction-via-adversarial-network
4f6b1f3c953c9686ca2a77aef27891089e9a687e
361369fcb75f7c90b3e276d88e547cbba3402ea6
refs/heads/master
2023-07-15T14:12:18.842595
2021-09-07T18:08:01
2021-09-07T18:08:01
404,077,475
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
import gzip import base64 import os from pathlib import Path from typing import Dict KERNEL_MODE = "predict" # this is base64 encoded source code file_data: Dict = {file_data} for path, encoded in file_data.items(): print(path) path = Path(path) path.parent.mkdir(parents=True, exist_ok=True) path.wri...
[ "gerialworld@gmail.com" ]
gerialworld@gmail.com
4b18358f7318b5c6df0f2573959902cfb5dee55c
bfb00b910ae3edc6d4b9dae247135788bd5f3ee3
/src/pyarex/pyarex_conf_factory.py
99ad320edff29048042ba62396fcd356adbef7f9
[]
no_license
jc-gonzalez/arestools
2005e911e2e4809e0ee0981983fc81b9755fccd3
dccaac8c0dad6682d11d0b702046ad90bd1f3f8f
refs/heads/master
2020-03-18T09:44:21.916104
2019-01-09T10:56:33
2019-01-09T10:56:33
134,578,287
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
from configparser import ConfigParser, ExtendedInterpolation import inspect, os class PyArExConfigFactory: """ Handler for the configuration of PyArEx Gets all the appropriate objects from the config file Pass them to the parts of code that need them """ def __init__(self, co...
[ "JCGonzalez@sciops.esa.int" ]
JCGonzalez@sciops.esa.int
368b61ceb2873c1d283e4a0ec3aecb52b3c2a14a
d5aa35900e72ea8036dcbba4e572758523871d44
/tests/test_login.py
96ac67aa873eb2f27904006afe37f90e02956dbe
[]
no_license
KlebanA/flask
05fa9b1cd32592dcdc53c14e9c42d529e3a853f4
ec1b5b44c4658d8d7b2c287cc1ee145daf725ba5
refs/heads/master
2022-09-24T01:47:56.701075
2020-01-08T20:06:39
2020-01-08T20:06:39
232,647,670
0
0
null
2022-09-16T18:15:51
2020-01-08T20:00:11
Python
UTF-8
Python
false
false
4,272
py
import unittest from flask_login import current_user from project import User, bcrypt from tests.base import BaseTestCase # набор тестов для проверки входа в систему class LoginTestCase(BaseTestCase): # тест - главная страница открывается нормально (код 200) def test_index(self): response = self.cl...
[ "anastasia.kleban@gmail.com" ]
anastasia.kleban@gmail.com
d7e812f6c4172330edf6c5665208f768736883fb
89f4284d0b5b2359c5121626e1575f95fc08a160
/HeavyIonsAnalysis/JetAnalysis/python/jets/ak1PFJetSequence_pponPbPb_jec_cff.py
1566b9cba8fbfa5028007b4a3d4b3932de46e4ab
[]
no_license
geun-woo/Comparing-collections-in-AOD-and-in-miniAOD
e11eb48cc8ab15a07f02a08a8a46dfd9d5a4e418
7b6e2118b9ce733b2ebb6f26516cbc107e37b285
refs/heads/main
2023-01-27T21:18:37.980241
2020-12-04T08:24:01
2020-12-04T08:24:01
318,445,108
0
0
null
null
null
null
UTF-8
Python
false
false
10,268
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.mcMatchLayer0.jetMatch_cfi import patJetGenJetMatch, patJetPartonMatch from PhysicsTools.PatAlgos.recoLayer0.jetCorrFactors_cfi import patJetCorrFactors from PhysicsTools.PatAlgos.producersLayer1.jetProducer_cfi import patJets from HeavyIonsAnalysis....
[ "9nukim@gmail.com" ]
9nukim@gmail.com
ed0e680dac8e0932b10c1ea78ebadc7e69a5910f
f72663e8aa8697c7e916cd0682dbac68e991dd70
/clusterScripts/create_full_MB_matrix.py
d62a6eccf087a128a3a715cf971e6288326b53d8
[]
no_license
MountainMeigui/FQH_hetero_ED
5c66494962026b396e92ee6ea255dbda2d467f34
be58868517e852a80a1b93ced2b03142d2ceaa9b
refs/heads/master
2023-03-07T02:53:47.678839
2020-11-16T18:06:53
2020-11-16T18:06:53
313,378,831
2
0
null
null
null
null
UTF-8
Python
false
false
638
py
import sys import os import yaml file = open('configurations.yml', 'r') docs = yaml.full_load(file) file.close() if os.getcwd()[0] == '/': working_dir = docs['directories']['working_dir'] sys.path.append(working_dir) from AnnulusFQH import MatricesAndSpectra as AMAS matrix_name = sys.argv[1] ...
[ "vered92@gmail.com" ]
vered92@gmail.com
f6204451a9a79b3f0c49cbf8f88af671253b3063
76d4e8baf60a4b686f3a4c0d814f7fb964d08636
/8. 함수/3. 소수.py
4b727419afa028a7761c85fcd38a4efd9043202e
[]
no_license
999Hans/SWE-Academy
189b82af922b99150097f67c59189ff11946377b
1bf86524cf32f816a78de4fa4a1ff99eb4fdb796
refs/heads/master
2022-04-25T11:01:49.180006
2020-04-02T06:59:02
2020-04-02T06:59:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
x = int(input()) def prim(y): tru = 0 for i in range(1, y+1): if y%i == 0 : tru += 1 if tru ==2: print("소수입니다.") else: print("소수가 아닙니다.") prim(x) prim(16) prim(18) prim(29)
[ "61238500+HanyeongOh@users.noreply.github.com" ]
61238500+HanyeongOh@users.noreply.github.com
c7a17ce794d0fc6110c81f436fcf60745cbf7bcc
249926f52754b3a765a0a99f649b1fb8b935bece
/media.py
a744cf28ab1e5a6d023b406237d30692fe545262
[]
no_license
hdawg5000/movie_trailer_website
4c47839ec398292dc5070053464f0e2b4e099a67
2f2676bf037f8a76527bed7c2e9b794866f48a3e
refs/heads/master
2021-01-20T07:00:03.681242
2017-05-01T18:42:39
2017-05-01T18:42:39
89,946,546
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
#import webbrowser module import webbrowser #Movie class where we class Movie(): #Initalize method that is called each time class is instantiated def __init__(self, title, poster_image_url, trailer_youtube_url): self.title = title self.poster_image_url = poster_image_url self.trailer_youtube_url...
[ "hammadnsm@gmail.com" ]
hammadnsm@gmail.com
94c91fe04ff2fb9e620aad0f6abe11b5811ef1f6
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4163/codes/1638_652.py
e5d5e8c43e0924df933804cc45da791a860f0cfb
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
122
py
a= int(input("insira um numero de 3 dgts: ")) b = a//100 c = a%100 x = (a%c) if x==0: print("SIM") else: print("NAO")
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
66a2045e0349681937ee6869ab2625bf004488c1
1dc81028ab6b5d9c782bdcadb1a01f2bd750a658
/db_scripts/create_db.py
5ed5403712d206cb87c56ed8448731f0f6999823
[]
no_license
sasapejcic/book-review
15f9344826acb2680c3522814dadb3d0012d51e4
1c5a283cf2261d80cd7408709627eace8ef965e8
refs/heads/master
2020-09-09T19:39:20.978915
2019-11-24T21:56:40
2019-11-24T21:56:40
221,546,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
import os from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from connection import connection # Database URL using connection.py DB_URL = connection()[4] # Database URL using environment #DB_URL = os.getenv("DATABASE_URL") # Creating session engine = create_engine(DB_URL) ...
[ "sasapejcic@gmail.com" ]
sasapejcic@gmail.com
dfeb300c515591854df87ac639a09bdb93f466e4
26c54c424dbe79fcd1962bddcbbb218d090eb6fc
/roteiro5/EscolaDeMusica.py
c104f79bbbed2094e2442c3f9d6e90dfb7b6bba6
[]
no_license
Anap123/python-repo
dbfa4cad586ba5b3bffdc26e70c6170048e59260
2532a7cebe88b9987109a93fb5e6c486a5152b22
refs/heads/master
2020-08-17T12:52:49.437324
2019-05-21T20:55:57
2019-05-21T20:55:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
def ClassificaAluno(media, faltas): if(faltas <= 10) : if (media >= 9.5): print("APROVADO COM LOUVOR") elif (media >=7): print("APROVADO ") else: print("REPROVADO") else: print("REPROVADO POR FALTAS") ClassificaAluno(float(input()), int(input(...
[ "punisher077@github.com" ]
punisher077@github.com
5cd47bf3df92392504b57fa4be4e01ebc1b9e899
394e0b00b35c61f7f9c2d34b11cb6aa29f6a1eb5
/Test_Platfrom_byFlask/lib/levelSetting.py
060ee28614ae11e8566279d7a1ded92e7247d4d9
[]
no_license
congzheng-git/myProject
ecca28eafb129e014981b6fc74d4f8362ea3386b
da4cac92d87520d20036513616609bbffe9d9bef
refs/heads/master
2022-12-18T02:40:21.425117
2020-07-01T07:33:38
2020-07-01T07:33:38
207,499,868
0
0
null
2022-12-08T01:49:32
2019-09-10T08:03:20
Python
UTF-8
Python
false
false
1,616
py
from flask import Flask from flask import render_template from flask import request from lib.mongoweb import mongodb import lib.userInfo """设置关卡进度""" class levelSetting(lib.userInfo.getUserInfo): def __init__(self, userid): super(levelSetting, self).__init__(userid) return def levelSetting(self): if not...
[ "cczz1226@sina.com" ]
cczz1226@sina.com
1d4c393d1368221fcdcef61b25eaa9c72c737593
b3fd79609cf4de6ca67276d1010543e3b573a940
/7kyu Ones and Zeros/main.py
b061b42122131efcc013216b6e5380cee0cd9a22
[]
no_license
mzkaoq/codewars_python
360840b3ef76c8bd9378119ee1416fd05d45ff96
2347901e987331a91be9a4d98dd42dc38f87c234
refs/heads/master
2023-08-18T22:45:21.184275
2021-09-14T21:08:16
2021-09-14T21:08:16
400,319,425
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
def binary_array_to_number(arr): number = '' for i in arr: number += str(i) return int(number, 2)
[ "mzkaoq333@gmail.com" ]
mzkaoq333@gmail.com
68ae86fec143f3d1ab7439e4b15616b2622f4aff
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/automation/v20190601/get_watcher.py
3f148594cb31117a933d696388865eb5b54a5b0e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,247
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "noreply@github.com" ]
noreply@github.com
2f1de19f501102cdfb600897d1579f3d81ec4fa5
e376eb34db5eaf17608f2ebf22ecd796b836a7b1
/HW2/test-svm.py
8d0329207c8d1943a577aa163eee04f3156d8646
[]
no_license
yshsu0918/MachineLearning2020
5b8babad41d9d377d0ccf33b4b4a1c4e6e572bfa
f953492ae85941d81f675eaa21daf8fadfa227b3
refs/heads/master
2023-02-11T18:44:11.319760
2020-12-25T03:53:49
2020-12-25T03:53:49
324,283,077
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
from sklearn import svm import numpy as np import struct import time def decode_idx3_ubyte(idx3_ubyte_file,dataset_size): f = open(idx3_ubyte_file, 'rb').read() mem_offset = 16 images = [] for i in range(dataset_size): if (i+1) % (dataset_size/100) == 0: print('#', end='') im...
[ "a@b.c" ]
a@b.c
adb4cd1a1dc0aa498f5caa6ef6bc6a38916d0845
9f6e90440b90a6ffabcbcd361182734f2e8563be
/venv/bin/pip3
03563e4ff1f26f3712a3bf4f23f7bed0f96537a8
[]
no_license
dannyfritz3/dialogflow
81d8b06c313bea512ed8ad616420b9f6337dff55
1b2bab33e7bb28e1e3089d543038b6c973f705af
refs/heads/master
2020-04-28T11:58:34.747040
2019-03-15T21:49:31
2019-03-15T21:49:31
175,261,271
0
0
null
null
null
null
UTF-8
Python
false
false
265
#!/Users/dannyfritz3/Desktop/programming/dialogflow/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "drfritz@csbsju.edu" ]
drfritz@csbsju.edu
4e72581cba4fd90edf439a6530cabd321e17adfd
54e9f5c3dcf182b6e85357b4b4df92dbf718d59e
/ImageDatabaseGeneration/script/utility.py
5fb59a7259b2d56f1350156b331b239709a04112
[]
no_license
QuentinHuan/Prise3D_StereoThreshold
4f4a06e8f8483845055dfeb745a8df3f7574d166
444c18729b8d8de84c05bb12eaecefc4f8bfc743
refs/heads/main
2023-07-11T19:29:03.154171
2021-08-19T12:29:03
2021-08-19T12:29:03
370,682,852
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os import sys # modify param in a .pbrt scene file def changeParam(filePath,paramName,paramValue): # read with open(filePath, 'r') as F: filedata = F.readlines() # replace param fileOut="" for s in filedata: #integer if(paramName.split(" ")[0]=="integer"): ...
[ "quentinhuan@laposte.net" ]
quentinhuan@laposte.net
b91e658945ee8fd256bf760c537414a55e94304e
9f4e28b1749b4df6bc43fb74c9f00707733b3e05
/image-classifier-server.py
bc5e3c91913c70dbed9007b6e9f9845a43fee200
[]
no_license
VatchalaBakthavatchalu/image-classifier
c679108a5e244f2e6c6b2863240cc1a5f8f3c3b0
3edefead95dadc717eb1bd88ef07ddc4699ad09e
refs/heads/master
2021-06-12T23:30:00.674826
2017-02-01T00:17:26
2017-02-01T00:17:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
from flask import Flask, request, Blueprint, render_template from flask_restful import Resource, Api from mnistClassifier import MNIST_classifier from imagenetClassifier import Imagenet_classifier app = Flask(__name__) api = Api(app) simple_page = Blueprint('simple_page', __name__, template_fo...
[ "davisdulin@gmail.com" ]
davisdulin@gmail.com
8067d0481082003f6ea0174afd76207eb05a70c1
8ecf519f432bf7a3be6d1fa878da28c57f4ad80f
/5/pickle_prac.py
a7c23d621227fbb4466bf77c6e6d333fe75af6d3
[ "MIT" ]
permissive
yo16/python_challenge
4dc60478da1cc0c2a1235ea552e56481a1d5d839
02f6d460a5002cbb754f544011fbe19b12aaf718
refs/heads/master
2021-07-21T06:56:19.947031
2017-11-01T03:45:26
2017-11-01T03:45:26
109,083,656
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
# -*- coding: utf-8 -*- # pickle練習 # http://www.pythonchallenge.com/pc/def/peak.html # banner.p # 上記URLをブラウザで開いて、エディタへコピペすると # 改行文字がcrlfになっているが、 # pickleのdumpファイルは改行文字はcr。 # だからコピペしたファイルは読めない。 # _pickle.UnpicklingError: the STRING opcode argument must be quoted import pickle fff = open('banner.p', 'rb') # aaa = pic...
[ "xxyo1xx@gmail.com" ]
xxyo1xx@gmail.com
cf158d5906d0657d141da82ec36634b4f06ee886
479436b8581c6b27d9b91c5788d54b083d4d6bce
/2 Sheet Lab Python/KU/Lab11-2/lab11.py
dd06e0c6278f86a44a954ef172a7337d5e81fa6e
[]
no_license
Khawoat6/Programming-Fundamental1-Python
4e2821492e8f12c8a64df6ef47c2e8af7cdf6f8e
f40b79f81e58500fc8e7a68f5a97cda796d95d5e
refs/heads/master
2021-08-31T15:07:58.058202
2017-12-21T20:47:01
2017-12-21T20:47:01
115,045,605
1
1
null
null
null
null
UTF-8
Python
false
false
4,074
py
from tkinter import * import random import time class Sheep(): def __init__(self, canvas, v=3, direction='left'): self.point = 2 self.images={'center': PhotoImage(file='whitesheep.gif'), 'left': PhotoImage(file='whitesheepleft.gif'), 'right': PhotoImage(fil...
[ "phattaraphon.c@ku.th" ]
phattaraphon.c@ku.th
c72407043c1dde2f23072bf8e00937657c8c0ca0
88b5b6b2cc05c432c8fa3235b9eef596e1453cdc
/uri_1259.py
fcdc901c96c78accac1c99b645ac5696d6afe3c6
[]
no_license
indrajithbandara/uri-questions
fc8e4bb1f65b7ece61e65546ed34b364a3b681c7
2246ac91f1738c5aa82f214d325195007fb7cb5d
refs/heads/master
2021-05-03T05:41:24.769186
2018-02-05T00:45:48
2018-02-05T00:45:48
120,581,661
1
0
null
2018-02-07T07:49:36
2018-02-07T07:49:36
null
UTF-8
Python
false
false
270
py
odd, even = [], [] times = int(raw_input()) for i in range(times): number = int(raw_input()) if(number % 2 == 0): even.append(number) else: odd.append(number) odd.sort() even.sort() for i in even: print i for i in range(len(odd)-1,-1,-1): print odd[i]
[ "ddanielsilva661@gmail.com" ]
ddanielsilva661@gmail.com
6b04c699eb03528f3243f106a6d49ded0dc8d86a
cda0f7f4e9e19aeb03148b71b9e4ac924a4b4814
/onspark_generate_feature_user.py
ca86b74cb9b58f4ddeff0f30aece89b7ac8ba727
[]
no_license
00fq00/competition_tianchi
32a4f59340d96955d8056daa5fe67d6079c36f8e
fb45aaa412ddba5b69555ecfd75c3aa462fe2489
refs/heads/master
2021-01-19T21:12:41.887958
2017-03-03T09:00:27
2017-03-03T09:00:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,331
py
# -*- coding: utf-8 -*- import sys from operator import add from pyspark import SparkConf from pyspark import SparkContext from sklearn.svm import SVC from sklearn.svm import LinearSVC from sklearn.pipeline import Pipeline from sklearn.ensemble import RandomForestClassifier, GradientBoostingClassifier ##############...
[ "mqiang@splunk.com" ]
mqiang@splunk.com
542f64fa469aa165ad1377c35dbef279b8c277ee
81106bdfa164d50d931f75bf5f0fa5e48a7a5e6a
/G/coconut/extractLSPFeatures.py
2104cf5b182520612abcf33e11d6f129c2e559dc
[]
no_license
srvk/Yunitator
9dd27f90173537e1601778bbe1723b06b2217026
d4b8b36b90347b7740a7d6835ffe119665e45049
refs/heads/master
2020-03-16T03:36:46.974494
2019-07-03T05:05:08
2019-07-03T05:05:08
132,491,190
2
0
null
2018-05-07T16:59:59
2018-05-07T16:59:58
null
UTF-8
Python
false
false
10,458
py
#!/opt/python27/bin/python #export PYTHONPATH=.:/home/iyu/sfep/asr_noisemes/base/lib/python2.7/site-packages # for convenience import sys import os #import atexit import tempfile #import socket #import time #import datetime #import resource #import __main__ as main import argparse # for 'math' stuff import itertools...
[ "er1k@cs.cmu.edu" ]
er1k@cs.cmu.edu
53979375694500f838cf36c3c60617a5dee86fcf
621886e858f7d9282e0ca50a3308b4ffed4f20d4
/quiz-generator/.ipynb_checkpoints/main-checkpoint.py
1b7ff4aa3eec2f7896df658b459dde1a1247d8b6
[]
no_license
AGDAMITH/EDUKID-main
fbd7f4bc47a5f26f3576c64693acc41c47edd9fc
cceaf0566b493c09414929b8bca124f87ee9edf0
refs/heads/main
2023-08-18T13:16:57.323694
2021-10-03T18:52:52
2021-10-03T18:52:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
from video_to_transcript import youtube_video_transcript transcript = youtube_video_transcript('FfqpbOwhlNA') print(transcript)
[ "58016636+AGDAMITH@users.noreply.github.com" ]
58016636+AGDAMITH@users.noreply.github.com
27748f4b7b15972b4cf941b9f980e6d20727b565
d8c8e7c6cfbd5eba12a2378a1db98f96461c3278
/f4.py
32c2537e3bb82ed44254c89cd88456c550bff438
[]
no_license
violetta2413/p1
71ad84da6cd72c383490a5d5f049298a98dc3cb2
ceed19e0082d4a406026927bb6b164ee4063cb4f
refs/heads/master
2023-01-03T09:34:34.407389
2020-11-07T01:24:15
2020-11-07T01:24:15
310,531,325
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
teljesnev = input("teljes nev") hossz = len(teljesnev) print("*" * (hossz+4) ) print("*", teljesnev, "*") print("*" * (hossz+4) )
[ "noszek.violetta2004@gmail.com" ]
noszek.violetta2004@gmail.com
1d68b6348a0106e26971fabc60e6b0eff8b1a73d
c538339b67ce0d4e7e29203bf69d070b1cf1f73d
/python/speedlimit_1.4.py
254d7fcb383188f25f3bee9cd9bf008c66cfaf67
[]
no_license
TedCha/open-kattis-problems
863618752d2cd490cad660e81a9775655884f1a5
6523c35bd7c47de2245d42bb6aba832cece7dcb0
refs/heads/master
2023-05-30T12:51:42.744637
2021-06-09T03:18:37
2021-06-09T03:18:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
#https://open.kattis.com/problems/speedlimit while True: n = int(input()) if n == -1: break travelLog = [] totalTime = 0 for i in range(0, n): mph, hours = [int(x) for x in input().split()] if travelLog: x = travelLog[i-1][1] else: x = 0 ...
[ "tedcharts@gmail.com" ]
tedcharts@gmail.com
e62279d21e62fb27eaec1a9589e54877896f2b3b
0ae96ffb5c38893603074b702f821663007fd528
/arkshop/arkshop.py
57638781a18fc8a73ce1540c96c39f14bb1c264b
[ "MIT" ]
permissive
DayZNETWORk/vrt-cogs
c99fab8db0efaab066d6eceff05303978a139509
0857be08b6f422a9d10592aee8084f70f3e81e6c
refs/heads/main
2023-08-11T07:10:50.119705
2021-10-14T00:22:28
2021-10-14T00:22:28
401,531,459
1
0
MIT
2021-08-31T01:07:38
2021-08-31T01:07:37
null
UTF-8
Python
false
false
78,316
py
import discord import asyncio import random import math import shutil import os from redbot.core import commands, Config, bank from redbot.core.utils.chat_formatting import box, pagify import rcon import logging log = logging.getLogger("red.vrt.arkshop") SELECTORS = ["1️⃣", "2️⃣", "3️⃣", "4️⃣"] SHOP_ICON = "https:...
[ "alex.c.goble@gmail.com" ]
alex.c.goble@gmail.com
b41c45846df339db8cf070cfc23a9887b62740c7
58459ebc0e72410724d62c76a323ecb56c1ee2c1
/07-files/04/Files - Zad4.py
be9588021fd040d959fa34094a4d78bbd614728f
[]
no_license
adam-formela/Adam-s-repo
0d0289922c6381cca6b3673f535eabda9a008196
ea25a34f5f6ac0484a73b020a835f96d77fff580
refs/heads/master
2022-07-28T05:39:46.473120
2022-05-03T08:59:11
2022-05-03T08:59:11
229,326,641
0
0
null
2022-03-02T22:10:21
2019-12-20T19:46:48
Python
UTF-8
Python
false
false
576
py
# Wyświetl 3 losowe cytaty import random # funkcja do pobrania tekstu, zwraca liste def get_quotes(): with open('text.txt') as fopen: quotes = fopen.readlines() return quotes # funkcja wyświetlająca def show(content): for i in range(3): quote = random.choice(content).strip() quote = quote.split(...
[ "aformela@protonmail.com" ]
aformela@protonmail.com
ff2cada24b0e31d5d867122eea1da07532fd6a5a
c5347d37f7d8018c2e6161de265ed5ced7deab51
/budget/tests/test_views.py
192c634a250860c534d8ef233e33ce3c6a002e91
[ "MIT" ]
permissive
davidlares/budget-webapp-django-testing
db3f1d5f6f90ccc357271cbe02becf31d4d38355
330039ba8a34e14afc96050a5cb9494380edbe84
refs/heads/master
2022-01-12T15:50:53.638288
2019-05-10T14:27:05
2019-05-10T14:27:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,607
py
from django.test import TestCase, Client from django.urls import reverse from budget.models import Project, Category, Expense import json class TestViews(TestCase): # runs before any test here def setUp(self): self.client = Client() # creating a client self.list_url = reverse('list') s...
[ "=" ]
=
3bd10d93f29014ca528302a1631821f2adf86ee7
b51fe2d9a818cac0f032588b5a24b587446da0df
/.direnv/python-3.4.3/bin/iptest3
380fe86b36448e791876fdb0eda02a1ab1a8be4c
[]
no_license
SorenOlegnowicz/honey-nut-clusters
1ee38e20ff9d069e85216d55b63e33d799c58d33
37b5b45089c64cd54bc67dff2a2936ef2253a8d7
refs/heads/master
2020-04-06T05:27:05.870422
2015-06-29T05:22:10
2015-06-29T05:22:10
38,067,377
0
0
null
null
null
null
UTF-8
Python
false
false
313
#!/Users/sorenolegnowicz/cs/python/projects/honey-nut-clusters/.direnv/python-3.4.3/bin/python3.4 # -*- coding: utf-8 -*- import re import sys from IPython.testing.iptestcontroller import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "soren.olegnowicz@gmail.com" ]
soren.olegnowicz@gmail.com
c0ba4d12877ca4808db173939eeeb4a365bba4c9
b6e73dd3e66ee636d657ae1ea32d528221ab8903
/my_site/django_project/my_site/cart/models.py
bbe368292bf42db859b5a7ea7cbf912d4b229732
[]
no_license
DChaiko/online-store
2d84023715ddc62bac48ece7eb2cea21c1380381
e76610bd16123ea9dcf9c3fea09c0966183f0ca1
refs/heads/master
2023-04-29T17:38:37.227602
2019-06-18T13:15:40
2019-06-18T13:15:40
175,797,943
0
0
null
2023-04-21T20:51:39
2019-03-15T10:20:05
Python
UTF-8
Python
false
false
1,680
py
from django.db import models #from django.contrib.auth.models import User from django.contrib.auth import get_user_model from django.views.generic.edit import CreateView, UpdateView, DeleteView # Create your models here. User = get_user_model() class Cart(models.Model): user = models.ForeignKey(User, on_delete=mo...
[ "black.chaika@yandex.com" ]
black.chaika@yandex.com
9e348a857451bccbbc282d7bf8df76ed8f41d18c
8e8feed8f2f954d50246b3b3bdda3667ba5d2ce9
/cogdl/models/nn/stpgnn.py
6c09d28ca4cb51082494cb879be8780844a67ac9
[ "MIT" ]
permissive
Shiguang-Guo/cogdl
fc1349dfb71088412e1aad411b98c41f3718c9e6
b43a2ca5518180dbe7d24e27711efa7d7a6f2610
refs/heads/master
2023-03-26T22:51:59.394423
2021-03-26T13:10:19
2021-03-26T13:10:19
331,220,319
0
0
MIT
2021-03-26T13:10:20
2021-01-20T06:58:30
Python
UTF-8
Python
false
false
1,782
py
from .. import BaseModel, register_model from cogdl.layers.strategies_layers import ( ContextPredictTrainer, MaskTrainer, InfoMaxTrainer, SupervisedTrainer, ) @register_model("stpgnn") class stpgnn(BaseModel): """ Implementation of models in paper `"Strategies for Pre-training Graph Neural Net...
[ "noreply@github.com" ]
noreply@github.com
48ff9ba9d3dbeab6f4e525a151aa67190e43cc72
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/double/Schema+Instance/NISTXML-SV-IV-atomic-double-enumeration-2-3.py
9d0ef3892cc0f445eb1ee3592e91bca8ebbf63df
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
534
py
from output.models.nist_data.atomic.double.schema_instance.nistschema_sv_iv_atomic_double_enumeration_2_xsd.nistschema_sv_iv_atomic_double_enumeration_2 import NistschemaSvIvAtomicDoubleEnumeration2 from output.models.nist_data.atomic.double.schema_instance.nistschema_sv_iv_atomic_double_enumeration_2_xsd.nistschema_sv...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
b003f33e77c9f555e687c85e299bba5ac70b8bf9
b4344ace6ab1231709d63470b2cfede0b5aafb14
/src/DataProcessing/Processing/coding_experiment.py
2e96d51e72d66b59153006247aa78e1c42dcfceb
[]
no_license
RyWilliamson/Keep-Your-Distance
2cd5837b605dc71b756ef661c12adbe429c6a8f9
f00b1cd8059121997075f2e52239e0fe65aaa51d
refs/heads/master
2023-03-27T21:01:09.447205
2021-03-29T12:25:35
2021-03-29T12:25:35
298,602,489
0
0
null
2021-01-12T13:48:35
2020-09-25T14:53:21
Java
UTF-8
Python
false
false
2,996
py
import os import csv import sys from collections import defaultdict def def_value(): return "Other" open_to_axial_map = defaultdict(def_value) open_to_axial_map["O1"] = "A1" open_to_axial_map["O2"] = "A1" open_to_axial_map["O3"] = "A1" open_to_axial_map["O4"] = "A6" open_to_axial_map["O5"] = "A5" open_to_axial_m...
[ "w.rjwilliamson@gmail.com" ]
w.rjwilliamson@gmail.com
e2b0b5ef7fb05b0a4d43e6017bc2c9ecf30e1916
999879f8d18e041d7fa313132408b252aded47f8
/01-codes/tensorflow-master/tensorflow/models/image/mnist/convolutional.py
d6155ad11efb1506a56e91e926a91ac6ac296029
[ "Apache-2.0", "MIT" ]
permissive
QPanProjects/Surrogate-Model
ebcaf05728e82dcbcd924c2edca1b490ab085173
848c7128201218b0819c9665e2cec72e3b1d29ac
refs/heads/master
2022-10-11T19:03:55.224257
2020-06-09T14:37:35
2020-06-09T14:37:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,852
py
# Copyright 2015 Google Inc. All Rights Reserved. # # 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 applicable law or a...
[ "quanpan302@hotmail.com" ]
quanpan302@hotmail.com
479a840a61ac23a2b6d04a1d92edc8556addd410
f5ca706ea5fd000ebdd230b4c828d98540009b85
/Problem Solving/Strings/Funny String.py
14b5568074ebb390445b514074806155920e1755
[]
no_license
xtanmaygarg/HackerRankSolutions
a6fc72dcd165197c268d28d3f41bd022b5983b8b
ce973b9b1f90e7e39092ecc988333904afb0cda5
refs/heads/master
2021-01-01T08:57:24.586457
2020-07-12T21:04:57
2020-07-12T21:04:57
239,206,459
4
1
null
null
null
null
UTF-8
Python
false
false
801
py
#!/bin/python3 import math import os import random import re import sys # Complete the funnyString function below. def funnyString(s): t = s[::-1] s = list(s) t = list(t) sl = [] tl = [] fl = [] gl = [] for i in s: sl.append(ord(i)) for i in t: tl.append(ord(i)) ...
[ "xtanmaygarg@gmail.com" ]
xtanmaygarg@gmail.com
01d49903fd2a86e7643c69cbc4e292af16071c66
3b1fddd90fee827bbabfcd46b0fa1874fa7f1af2
/Best Time to Buy and Sell Stock III.py
800ee5ae49ad7d5dbfb93b18936dce8c07ceb541
[]
no_license
MasKong/Algorithms
d2fa1c99ea7ad2ec718a52a495b7134b9ed8df84
112e9b0e2a44efc6c56d4b97976efb95b2d929b6
refs/heads/master
2020-03-21T22:27:18.210113
2019-03-20T10:43:20
2019-03-20T10:43:20
139,127,471
0
0
null
null
null
null
UTF-8
Python
false
false
1,531
py
'''Time limit exceed''' class Solution: def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ if len(prices)<4: return self.maxProfit_single(prices) l = [] for i in range(0, len(prices) - 1): l.append(prices[i + 1] - ...
[ "limingkang_i@didiglobal.com" ]
limingkang_i@didiglobal.com
2c4c4d448a70abe19a77a11d683c855b0eabb17a
0580434454fb365ce5de4743bea9f445060920e8
/django_project/+NAME+/urlsdev.py
8800c54c934422d24357339423a1cc1cc19184e9
[ "MIT" ]
permissive
veselosky/templates
4cdbb1f8a7474839977310456322a69ba83cc395
f2a60f9fba7a41696ec380504d1625f8e7a020b2
refs/heads/master
2021-01-19T22:33:00.382216
2013-05-07T19:58:07
2013-05-07T19:58:07
874,625
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from django.conf.urls.defaults import * from django.conf import settings from django.contrib.staticfiles.urls import staticfiles_urlpatterns from {{ project_name }}.urls import urlpatterns urlpatterns += staticfiles_urlpatterns
[ "vince@control-escape.com" ]
vince@control-escape.com
484bf5dda2028166bea56ebc6a0cb7774075e627
b3d52ed0675b464881312526a3b55a9ab4c0e6d8
/hello_exercise/manage.py
fcdf8057cb0121a939222de5acf21e0ac8b11023
[]
no_license
Alchemy2011/django_rest_framework20171030
339117f681a26c31cd80245ce80c0e1816e6c12d
fdc88412faf8d27ddaaa05bef611cfd235bee54e
refs/heads/master
2021-07-25T21:38:37.706973
2017-11-08T14:02:08
2017-11-08T14:02:08
108,797,561
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "hello_exercise.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure th...
[ "1009249763@qq.com" ]
1009249763@qq.com
9a8b06df495adc0335ee1d15c0807440eb58626e
22c5a7e22de6ddc6e553a7f2c845378017782fbe
/common_deal/settings.py
5239b672de89e62e3063571aacb2af3d74509c31
[]
no_license
KorChod/Common-Deal
0e5ff4803c7cf7592177d19e7ee99b1651f047c7
f286547c2c548e1dca1b249dbceffc67ea694a73
refs/heads/master
2023-01-15T09:09:26.562844
2020-11-01T16:25:11
2020-11-01T16:25:11
242,130,490
0
0
null
2023-01-05T08:50:17
2020-02-21T12:07:50
JavaScript
UTF-8
Python
false
false
4,314
py
""" Django settings for common_deal project. Generated by 'django-admin startproject' using Django 2.2.3. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import o...
[ "korneliuszchodnikiewicz@gmail.com" ]
korneliuszchodnikiewicz@gmail.com
54be5a9e8a326ad898ecf0e5296f5399e44a14e0
3a16649edcd4e655838dd65b85eea3788b6c9200
/inference.py
28701742d6ae60d6a1e9d2f6e462b9cd1fd13cef
[]
no_license
Ottohcc/image_classification-inceptionV3-
917c07db7e6e65f26658726f79c3df73c7a7ce9a
9a34be97e9412aa0cb6b415430ef0258548b6797
refs/heads/master
2023-01-14T05:30:28.495728
2020-11-11T09:10:27
2020-11-11T09:10:27
309,021,024
2
0
null
null
null
null
UTF-8
Python
false
false
4,241
py
import glob import os.path import tensorflow.compat.v1 as tf import numpy as np import cv2 import time # 模型目录 INCEPTION_MODEL_FILE = 'inceptionV3/tensorflow_inception_graph.pb' # inception-v3模型参数 BOTTLENECK_TENSOR_NAME = 'pool_3/_reshape:0' # inception-v3模型中代表瓶颈层结果的张量名称 JPEG_DATA_TENSOR_NAME = 'DecodeJpeg/contents...
[ "384945358@qq.com" ]
384945358@qq.com
e87eb74666e87fd06b949a6ae8bb772a467b3364
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/py2/toontown/cogdominium/CogdoFlyingLevelQuadrant.pyc.py
cc4db2f44140d0abe915edf689c163e5055699a6
[]
no_license
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
11,537
py
# 2013.08.22 22:17:38 Pacific Daylight Time # Embedded file name: toontown.cogdominium.CogdoFlyingLevelQuadrant import math from direct.directutil import Mopath from pandac.PandaModules import NodePath, Point3, Vec4 from CogdoFlyingObjects import CogdoFlyingPlatform import CogdoFlyingGameGlobals as Globals cla...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
0d335d72f7d6bb7c6a26ee00fa60299f87c939d1
2eadb64f661a6d0a051ebd8fad05387efdd09a76
/variadic2.py
fecbb2e8f9a6cd8ec2b65f5bd6e3d0eb55eb6ddb
[]
no_license
calinwolf08/python-projects
5aa1aaa0be2b8f5b14723a57ab50702b970407e4
eb97d6981df73b3b4d1ebb4fb466c26bf01b8ec8
refs/heads/master
2021-01-18T10:00:54.048323
2016-08-11T02:25:07
2016-08-11T02:25:07
42,702,136
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
def greetMe(**kwargs): for key, value in kwargs.items(): print "%s == %s !!!" % (key, value) greetMe(name = "Calin")
[ "calinwolf08@gmail.com" ]
calinwolf08@gmail.com
cd4b3ef7d34c2f37bc0bc9bf03d5110f5ad029df
bb0644ff4679a5beeea0b6b9e418537b6cc8aaf0
/xiaoluforum/project/remind/views.py
a1b3935df9d1967a9f20cfd0b3024769cc92689d
[]
no_license
xiaolusys/xiaolu-forum
dd8b47a696d9beb1bda4af98afe1ce22387dc642
eb2ca70c01d9d7ca8dd149fb6a3a821e494216d0
refs/heads/master
2020-03-26T23:13:46.288715
2016-11-14T11:57:19
2016-11-14T11:57:19
145,522,389
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
from __future__ import unicode_literals import json from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect, get_object_or_404 from django.views.decorators.http import require_POST from django.http import Http404, HttpResponse from django.conf import settings from django...
[ "hlkysf@163.com" ]
hlkysf@163.com
364a77e0b4dd96d9eb326e3aa3135eadabd98620
5e3b15458fa1b90daf77b9857594485a8a70e7ca
/userInp.py
706494b8420cac7789dac1990f2ae329a4c35f2a
[]
no_license
parlad/PythonExe
9f0cf807345e221e933b89c9deaaf441123e4efd
82f773761e092377554677fc85cc2acf5abdbafa
refs/heads/master
2023-05-14T12:29:09.925205
2023-04-27T02:50:10
2023-04-27T02:50:10
156,066,849
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
def age_foo(age): new_age = eval(age)+40 return new_age age = input("Enter Age here:") print(age_foo(age))
[ "parlad@outlook.com" ]
parlad@outlook.com
449fc3ce58e790f4c2ec36793a7f71228cda3746
2b73d950cfd1a617111eeed37ac58c2fde465a98
/src/aihwkit/cloud/converter/definitions/input_file_pb2.py
35433a66f3a13ebf38ffdd9e4ef5de787f449c8e
[ "Apache-2.0" ]
permissive
tunghoang290780/aihwkit
218756911dac42190ec504f99672e54eba709d46
801aa174f4b808aa6595f1fb2403944d0aad142f
refs/heads/master
2023-05-06T20:19:40.692587
2021-05-17T10:15:31
2021-05-17T10:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
true
8,269
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: input_file.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _re...
[ "noreply@github.com" ]
noreply@github.com
39880a9d9db55971218551a7facfbd7b50fc34e2
2e5936c3877e96d39f52045a403b658be41b2e1e
/meanmax/stats/test.py
5debe41403987fe96ba9687a5b7bddd067501f6a
[ "MIT" ]
permissive
castorini/meanmax
32b71c36b39a30107ae288ba9ae815d630c1b4db
0ea124105eda04a00677c077b591a94c2e2b2936
refs/heads/master
2022-05-17T03:31:00.320904
2020-04-29T02:27:15
2020-04-29T02:27:15
258,859,401
11
0
null
null
null
null
UTF-8
Python
false
false
5,951
py
from dataclasses import dataclass, field from typing import Any, Dict from scipy import stats import numpy as np from .estimator import QuantileEstimator from .utils import compute_pr_x_ge_y from .tables import MANN_WHITNEY_UP010 @dataclass(frozen=True) class TwoSampleHypothesisTest(object): options: Dict[str, ...
[ "r33tang@uwaterloo.ca" ]
r33tang@uwaterloo.ca
3f89b4ada8ae24c2001bb710f03bff69311ed0c0
437d576ac69fa9ec5b365c2a915bfe45170fb3c2
/General/Translate Subtitle/translate_subtitle.py
a215cf05dea5cd75e010216632ce91d435b17e22
[ "MIT" ]
permissive
YosukeMatsuno/good-stuff
58f2737c047204ee9609bf6b7bfccad9c377541e
ba6b02be2359c1debee1d5504850a7a502690cfd
refs/heads/master
2020-04-10T11:02:31.324565
2019-08-26T08:55:06
2019-08-26T08:55:06
160,982,232
0
0
null
null
null
null
UTF-8
Python
false
false
4,268
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- import os import time import pysrt import shutil from selenium import webdriver # Translate Subtitle ver1.2 # PARAMETER ========================================================================================================== target_path = "/Users/User/Desktop" # lan...
[ "yousuke.matsuno@gmail.com" ]
yousuke.matsuno@gmail.com
2a1f653f3c6aa17decf8fe6281e94268b31d7d45
588f4991cad99f517ca5028e0e41c5b4d5252543
/contest/abc146/A.py
6dd0b6d5935a91706c75eddb86e2fa19ed8bb293
[ "MIT" ]
permissive
mola1129/atcoder
3002ff38cabf0ccb5142bd576ed90419fccde02e
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
refs/heads/master
2020-06-16T12:24:49.609707
2020-03-14T15:58:42
2020-03-14T15:58:42
195,571,664
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
s = input() week = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'] for i in range(7): if s == week[i]: print(7 - i) break
[ "ms.mola1129@gmail.com" ]
ms.mola1129@gmail.com
b8d1198517f17d287f0b54568391731177de6f66
7b79876649296ccb0f7cb191f31ef5765046fd06
/datatools/utils.py
9f754c7cc47d9823c5308960c0af9a8751df96b8
[]
no_license
tgeral68/Binary-Stochastic-Representations-for-Large-Multi-class-Classification
9223452c22d0562d6a52c8a2ea8b8420b2494340
b0c96774a78decca62ecd933aff6f20998910f59
refs/heads/master
2021-01-01T15:52:25.088532
2018-09-18T17:46:10
2018-09-18T17:46:10
97,718,374
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import torch import json import io def json_loader(filepath): if(filepath.split('.')[-1] == 'json'): load_file = io.open(filepath, 'r') return json.load(load_file) def sparse_dct_transform(x): value = torch.zeros(x['vocab_size']) for v in x['data']: value[v[0]] = v[1] return ...
[ "thomas.l.p.gerald@gmail.com" ]
thomas.l.p.gerald@gmail.com
29e0e0195f7fcd2758d1436fb9c27e01601d846e
99407407f70a64f9ffac0e1381d33b43894c306a
/Corrige/scripts/populate.py
d5a71f84d52f65c0bf30ce14484cc1488554c4b3
[]
no_license
jjchico/competencias-tfg
ce074e51f3bff9cdc015f845c9bea3ca684b768c
35721ce5e5dea510c2ae89aaa678eae9f0ebfe3a
refs/heads/main
2023-06-10T03:21:35.987595
2021-06-24T18:54:11
2021-06-24T18:54:11
380,943,863
0
0
null
2021-06-28T07:28:15
2021-06-28T07:28:14
null
UTF-8
Python
false
false
45,497
py
from django.contrib.auth.hashers import make_password from django.core import management from django.utils.crypto import get_random_string from django.utils.timezone import now from faker import Faker from corrigeapp.models import Student, Teacher, Administrator, Competence, Subject, Evaluation, Set, Activity, Exercis...
[ "36735937+raunavcru@users.noreply.github.com" ]
36735937+raunavcru@users.noreply.github.com
59c1f2b45d421f9c798635691acd2b8b721d41ce
359f3d8a1a2b5524490c314a44d60cec1d06f658
/whoweb/search/migrations/0016_remove_searchexportpage_limit.py
a6429e3520d3cf0c0d99c344ac8bb8c2cec16767
[]
no_license
sivasuriyangithub/Merket_Intellect-s3.route
ec9d9aa7d4575d5ff8006e1454f69e4033193fc0
71a9ab642f9a31f4a318cebec7fe6a075870a83c
refs/heads/master
2023-08-25T13:51:02.116705
2021-10-19T01:06:49
2021-10-19T01:06:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
# Generated by Django 2.2.8 on 2020-02-10 02:37 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("search", "0015_auto_20200210_0233"), ] operations = [ migrations.RemoveField(model_name="searchexportpage", name="limit",), ]
[ "zach@whoknows.com" ]
zach@whoknows.com
5242a04609ec413997008e21ce289d6c40e807c6
1d92b947c6729ddbd43c4c41de4aaa3e76eaa936
/pkgs/fc/agent/fc/manage/resize.py
13d0ad05116bb2f105e552b3644752ca8a727449
[]
no_license
ckauhaus/fc-nixos
2a64742855cadddd6caa10c744211a39b8bcdee2
98b204b5d54b7c2c837d0cba4f4d608d97ab88fb
refs/heads/fc-19.03-dev
2020-12-21T14:54:45.550884
2019-03-29T11:15:52
2019-03-29T13:19:47
236,466,025
0
0
null
2020-01-28T11:33:32
2020-01-27T10:27:54
Nix
UTF-8
Python
false
false
9,340
py
"""Resizes filesystems, or reboots due to memory or Qemu changes if needed. We expect the root partition to be partition 1 on its device, but we're looking up the device by checking the root partition by label first. """ import argparse import fc.maintenance import fc.maintenance.lib.reboot import fc.manage.dmi_memor...
[ "kc@flyingcircus.io" ]
kc@flyingcircus.io
c66f88b67107e67c470860ea50ec688511ea496a
0010b3d8b8f806d6065e1bb1aa3c18f9714001a7
/tests/fits_files/check_pyast_sip.py
6bc939935357f3d53094597d1955dba3e9bf7d27
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-public-domain" ]
permissive
GalSim-developers/GalSim
bfd2d5e57f20874ad81bc735195c5c62efad63eb
f1c0319600cc713373f1cea7459171fbf388848e
refs/heads/main
2023-08-17T07:30:44.583679
2023-08-15T02:52:00
2023-08-15T02:52:00
3,510,804
194
104
NOASSERTION
2023-09-12T04:03:38
2012-02-22T02:51:45
Python
UTF-8
Python
false
false
2,663
py
# Copyright (c) 2012-2022 by the GalSim developers team on GitHub # https://github.com/GalSim-developers # # This file is part of GalSim: The modular galaxy image simulation toolkit. # https://github.com/GalSim-developers/GalSim # # GalSim is free software: redistribution and use in source and binary forms, # with or w...
[ "michael@jarvis.net" ]
michael@jarvis.net
6ffff453e42b5f4170080043a101bd3bc26fcf98
ebe70a68890c0c060d633741e72daf929de69132
/django-music-collab/core/urls.py
c414629fcbc12325f3ca624caa02625a87d1d419
[]
no_license
momentum-team-7/django-music-collab-drehan7
a6d9dd8ad6e455b345bcbac484376ce21c958ada
7ff8a42cf3602de846462d4fd45264d2cc188447
refs/heads/main
2023-03-18T12:25:13.206824
2021-03-04T08:19:15
2021-03-04T08:19:15
343,530,575
0
0
null
2021-03-01T19:20:19
2021-03-01T19:20:15
null
UTF-8
Python
false
false
783
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('artist/<int:pk>/', views.artist_info, name='artist_info'), path('artists/', views.artists, name="artists"), path('albums/', views.albums, name="albums"), path('album/<int:pk>/', views.album_i...
[ "d.rehan7@gmail.com" ]
d.rehan7@gmail.com
7d64d5dfe96e56cfb4c8db1566e3a1f2b45ebecd
f362ae1521ce84739d2bde5d54bcbb7361884de0
/birthdays.py
1a9ee8ce4c338d51577bf68b1a5dbc1a8572bdda
[]
no_license
CAQ/smthclassicalmusic
b27a64f47f148ae62639b69803c6c213eb49f93b
4b71a9148100d0b724f4577ac266bdb47cc208fa
refs/heads/master
2021-01-22T05:06:05.633828
2014-01-05T22:48:38
2014-01-05T22:48:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,586
py
# -*- coding: utf-8 -*- import urllib, urllib2 import cookielib import time def postit(title, content): # print title, content.replace('\\n', '\n') post_data = urllib.urlencode({'subject': title, 'content': content.replace('\\n', '\n')}) req = urllib2.Request('http://m.newsmth.net/article/ClassicalMusic/p...
[ "reg@caq9.info" ]
reg@caq9.info
eebf735eeaf2f7d2506921f556d58dc029a24ac8
ab369d0a1003378dd7d7138b075d013815b1d6c2
/af/sharpness.py
2edaa4be7590def87df3a3a329aa7fe22336ff86
[]
no_license
23119841/deep-autofocus
7edd51ddb15f5b80e13f4b02df2510fc22637eed
151999aea605cbf10b7a2dccde6cf14285ab893b
refs/heads/master
2023-03-15T23:45:14.895986
2020-05-07T10:00:00
2020-05-08T07:44:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
""" @author H. Kim, M. Oh @company EgoVid Inc """ import numpy as np import math import cv2 __all__ = ['var_abs', 'var_sqr', 'grd_abs', 'grd_sqr', 'correlation', 'entropy'] def _mean_intensity(img): return np.sum(img, dtype=np.int32) / img.size def CenterCrop(sharpness_fn): def wrapper(*args, **kwargs): ...
[ "blacknwhite8954@gmail.com" ]
blacknwhite8954@gmail.com
c2b1df5ffbdfbbad1293de5d9c0cccb6aedbba35
3092a5a509c7d4d3c0f2d3161017db3602b74116
/StoryHandler.py
32c76bad50ce0df11a42b570333751f0b9ab2693
[]
no_license
koubicl/LukeJiraMachine
1c42313dcc20d98398c533fc6a13be75706613b6
6a3973fc48a4226bc8e1b6a32e8ce6efd14198c6
refs/heads/main
2023-01-21T05:20:44.463478
2020-11-16T15:11:13
2020-11-16T15:11:13
311,739,988
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
class StoryHandler: def __init__(self, connection, jql): self.connection = connection self.jql = jql def find_stories(self): return self.connection.search_issues(jql_str=self.jql)
[ "Jakub.Legindi@homecredit.cz" ]
Jakub.Legindi@homecredit.cz
ac0204e274644b4262f16eda658e907bb475bc32
81c7a33a696450acd1b91884ec5a04843b83c279
/rosequinn/config.py
4bd7bb5ef3d489406e5753a90e4a5d42af19578c
[]
no_license
rjbrosequinn/rosequinn
8aabf1fb459adefd3cfd18f952436984635c2fde
c5c884786458068c4c99fa77a998f43eb4058067
refs/heads/master
2021-01-10T05:12:07.576479
2016-01-23T21:16:45
2016-01-23T21:16:45
50,135,424
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
""" Local variables that can be used all across the application. Some may be used in other python modules, and they can also be imported into templates. """ COMPANY_NAME = 'RoseQuinn' COMPANY_ADDRESS1 = '11618 Corkwood Drive' COMPANY_ADDRESS2 = None COMPANY_CITY = 'Houston' COMPANY_STATE = 'Texas' COMPANY_POSTAL_COD...
[ "rjbrosequinn@gmail.com" ]
rjbrosequinn@gmail.com
897c9e3a01ad06c8994f5bd0be2ee39f83b62241
84bc515540d33d0e81ed21ac28ee5729dd58451b
/core/resource_provisioning.py
bcc3e3f68d17ddaeb3307bd4348ac7bba4140ba6
[]
no_license
kpatterson01/PirateRoboticsWeb
c8aac82e16d3f0806ddab5fd08fa23d94cf09a14
36fc4d26f19ca662584e9b1cba631271bd5f43e2
refs/heads/main
2023-09-02T10:25:38.077286
2021-11-18T16:42:36
2021-11-18T16:42:36
422,053,566
0
1
null
2021-11-14T14:25:34
2021-10-28T03:36:34
Jupyter Notebook
UTF-8
Python
false
false
3,846
py
# This file contains some useful functions for metrics regarding provisioning # Author: Dean Alvarez import pickle from .employee import Employee from .resource import Resource import csv from .parsing.syntax_tree import Syntax_Tree import timeit # gets provisioning metrics for a given resource given a rule # rule sho...
[ "41876222+kpatterson01@users.noreply.github.com" ]
41876222+kpatterson01@users.noreply.github.com
4dfec790ecb0bf435314b5c6d958a36e76cfcbab
42c81ef26c2d1158ce393a8710869c14a54d001b
/chatapp/oneServerMultipleClient/client.py
692eb3d7ba27a7a17b64b9053719711699e1a882
[]
no_license
asutoshgha/socketprog
6976dd612391f64659d76ef2a9081db44f232e81
7dc7b1c1a13af8068b772645b4edf0219ac70571
refs/heads/master
2023-01-19T05:45:27.305175
2020-11-09T12:29:50
2020-11-09T12:29:50
303,982,898
0
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
import socket import select import errno import sys HEADERLENGTH=10 IP="127.0.0.1" PORT=1234 my_username=input('USERname:') client_socket=socket.socket(socket.AF_INET,socket.SOCK_STREAM) client_socket.connect((IP,PORT)) client_socket.setblocking(False) username=my_username.encode('utf-8') username_header=f"{len(user...
[ "asutoshghanto23@gmail.com" ]
asutoshghanto23@gmail.com
06f441ded9ef7d01878957da27d178d68637bae3
176aab5d92a8b85fc0fabffa31741c0eb866fe7f
/lambda/py/lambda_upload/ask_sdk_model/events/skillevents/permission.py
abcebd2a4145225bf815ee75536c55c1d4fdb937
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
frivas/alexa-mixed-polly
00b58cbdbfaf6219a57f01705854c4d99e32d808
bf0fde9005a66f3d6f0193799eacef934d166de7
refs/heads/master
2020-05-18T18:03:31.415363
2019-05-02T22:00:05
2019-05-02T22:00:05
184,570,458
1
0
null
null
null
null
UTF-8
Python
false
false
3,032
py
# coding: utf-8 # # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file # except in compliance with the License. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
[ "franciscojrivash@gmail.com" ]
franciscojrivash@gmail.com
1aef37cd044be36633026e2ac40f53ff36944271
6912999665da7850c4de9401bbc91511995c4c6f
/sbm/data/fastge2-cvqe/safe.py
7c6e2672b6ec642978b06b739c8eef3f482fd7db
[]
no_license
farleyoli/undergrad-thesis
7e8caadac3679e125f8b3982119bd2c1aba3bddd
75f2a90131de46bd22a2abb0f04f826c2037296a
refs/heads/master
2021-09-05T09:37:08.059135
2018-01-26T05:04:04
2018-01-26T05:04:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,386
py
import numpy as np import matplotlib.pyplot as plt import statsmodels.api as sm from statsmodels.stats.outliers_influence import summary_table from scipy.io import loadmat # get data x = loadmat('matlab.mat') x1 = x['x'][3,0].ravel() x2 = x['x'][7,0].ravel() y1 = x['y'][3,0].ravel() y2 = x['y'][7,0].ravel() # regress...
[ "farleyoli@hotmail.com" ]
farleyoli@hotmail.com
81eec9e8b5b32da7c691f08744a4ee47494d14cb
48bf8094aa020ee4777e9703ef02b64a2be37357
/myproj/myproj/tests/models/test_auth.py
4f78387e6875a641414680a174c5a6d86741a8a7
[]
no_license
daxreyes/hiverybc-tg2
e3114e53cd1bf1b2a13824ecb1ce062f816b62b6
a97196f07a8f3d24e95b49902d88227b281e5579
refs/heads/master
2020-04-22T13:02:49.890595
2019-02-13T05:10:19
2019-02-13T05:10:19
170,394,713
0
0
null
null
null
null
UTF-8
Python
false
false
3,671
py
# -*- coding: utf-8 -*- """Test suite for the TG app's models""" from __future__ import unicode_literals from nose.tools import eq_ from myproj import model from myproj.tests.models import ModelTest class TestGroup(ModelTest): """Unit test case for the ``Group`` model.""" klass = model.Group attrs = dic...
[ "dax.reyes@woohoow.com" ]
dax.reyes@woohoow.com
571fba3c5020975decb726f0c9e4b2fd797899ba
b1e12f78391f0ed53210e5c13a8c4d75feb005dc
/day3.py
b2db4331a9e22f77f8d401db9adbfda9c96441c8
[]
no_license
danjchoi/AdventOfCode2017
24be81c5cea407e8b052fc6914b116779d2295bf
68027eaaae40ba4e6d831b27477215b48d7bb09f
refs/heads/master
2021-05-06T22:24:51.343557
2017-12-04T15:08:19
2017-12-04T15:08:19
112,793,389
0
0
null
null
null
null
UTF-8
Python
false
false
12
py
"""Day 3"""
[ "danjchoi@umich.edu" ]
danjchoi@umich.edu
9ab4170d522046aa76f5bf39f8cae94eaa54c710
dd87109f806b31ddd065b51162e4e3ddc167151f
/select_sqlalchemy.py
1ef7bac6df4eff93502b857a0cf97d7e3f2c2689
[]
no_license
articuly/operation_practice
9776caeb9a039a72d008fc312b1134f7e2c18394
d4d4452e4174e6b8d7cc834f29452c08f304c719
refs/heads/master
2021-05-26T04:03:12.489849
2021-01-26T12:24:35
2021-01-26T12:24:35
254,045,242
0
0
null
null
null
null
UTF-8
Python
false
false
958
py
from sqlalchemy import create_engine, Column, Integer, String, Enum from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base # 创建数据库引擎,连接mqsql数据库,用pymysql方式 engine = create_engine('mysql+pymysql://root:123456@localhost/mycms') # 创建会话对象,根据不同的数据库引擎创建对应的会话对象 Session = sessionmaker(...
[ "articuly@gmail.com" ]
articuly@gmail.com
4ec3c0ee9be788c6bc07c95ee59da79542283f54
553b439d14551d9014fd01a50bfe43bcbb3b806b
/modules.py
410a443cf6339d7b14601b11ce3f3a11ba0bd76c
[]
no_license
cjctaylor/transformer_attribute_extraction
91395bff1024614de8c60d5aca68f160f3547192
21ff3d21139c0d587500b1fe550763fe801db43c
refs/heads/master
2020-04-08T07:48:34.840026
2018-11-29T09:16:30
2018-11-29T09:16:30
159,152,539
0
0
null
null
null
null
UTF-8
Python
false
false
11,813
py
# -*- coding: utf-8 -*- #/usr/bin/python2 ''' June 2017 by kyubyong park. kbpark.linguist@gmail.com. https://www.github.com/kyubyong/transformer ''' from __future__ import print_function import tensorflow as tf import numpy as np def normalize(inputs, epsilon = 1e-8, scope="ln", ...
[ "1129213619@qq.com" ]
1129213619@qq.com
a3d3fd0c9a7746de06f0818348cea14a96f4e059
df6b40cb40376f34f02de194ff315f6b6b71eb82
/polls/urls.py
30c7b4ace493a95427bf7cdadc555d3998161e24
[]
no_license
Tbest91/Homework
299fb3d4e2cdd11e9c39b9e465841f80cba2fbb9
b382b6c7b7ec6261e78e28edcb094bbd70ebf9c3
refs/heads/master
2021-01-18T21:03:50.900906
2016-11-11T04:47:55
2016-11-11T04:47:55
72,239,169
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
from django.conf.urls import url from . import views app_name = 'polls' urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^(?P<pk>[0-9]+)/$',views.DetailView.as_view(), name='detail'), url(r'^(?P<pk>[0-9]+)/results/$', views.ResultsView.as_view(), name='results'), url(r'^(?P<question_id>[0-9]+)/vote/$',...
[ "Corey Best" ]
Corey Best
7e82f8d3f052d4b84cec497d2fbe8b1d321e6c50
7e30639478c450c6dbd1e561133a840b93ce74bb
/marketplaces/apps/market_community/views.py
b98bbb2b604f691feadeb75ffb46e452b66987ad
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
matagus/CollectorCity-Market-Place
310aff7ac1248c0cfe772907e9544cf3b70770d6
b32747ec60bfd46b30f07a9d9713821ec6d552e3
refs/heads/master
2021-01-17T05:48:08.063787
2011-06-20T04:33:25
2011-06-20T04:33:25
1,927,179
1
0
null
null
null
null
UTF-8
Python
false
false
4,609
py
# Create your views here. import logging from django.conf import settings from django.core.urlresolvers import reverse from django.db import transaction from django.db.models import Q from django.http import HttpResponseRedirect from django.template import RequestContext from django.shortcuts import render_to_response...
[ "steve@greatcoins.com" ]
steve@greatcoins.com
83226e31cefa52f6677c9d062c9f7d4c6e223ea7
3ef36d4947a2d443a37a1fdf73bb2eb60618d80a
/Python_is_Easy/Importing/Introduction.py
39e373451c7b07fdaca05ef04d9e5d6a960eaa6c
[]
no_license
Nicole-Bidigaray/Bootcamp-pirple.com
5e904719bdc530cf3b54055493ea898538c0975c
322b8a1f51595586d4a5903c7aed8be789615fec
refs/heads/master
2023-06-18T08:19:46.233264
2021-07-21T23:43:37
2021-07-21T23:43:37
386,992,078
2
0
null
null
null
null
UTF-8
Python
false
false
229
py
import random as r # random.seed(1) randInt = r.randint(0, 10) # start <= N <= end print(randInt) randFloat = r.random() # 0.0 <= N < 1.0 print(randFloat) randUniform = r.uniform(1, 1100) # start <= N <= end print(randUniform)
[ "nicole_natsume@yahoo.com.br" ]
nicole_natsume@yahoo.com.br
3045a91bba6cf0fbef2206c883f4eb184625dc2f
e5fb7463d633b2adc4362a864a4e5ad36f40cf73
/coins_wallet_service/dev_settings.py
f1df3b8e3fc371ab4b939a318b5345b9f18cedb0
[]
no_license
khasanovbi/coins_wallet_service
1c0faec78982a8eef7b66692939a82fe2061c855
9a27e8c7672105fd499f866304334d28eedcdc05
refs/heads/master
2020-06-14T22:33:11.354224
2019-07-08T01:37:52
2019-07-08T01:40:10
195,145,472
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
from .base_settings import * # noqa: F401, F403 # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True if DEBUG: INSTALLED_APPS += ["debug_toolbar"] # noqa: F405 MIDDLEWARE.insert( # noqa: F405 0, "debug_toolbar.middleware.DebugToolbarMiddleware" ) INTERNAL_IPS = ["...
[ "afti@yandex.ru" ]
afti@yandex.ru
3fcd3ecb6a4ec8ef84a4547a9ff3b96cc2bc5142
88bd71afeb581578c9c0d29c08b38a9ed1c00ffb
/house/views.py
7e22d0ac99a0b75f5279554ee7e962e5af0bfc86
[]
no_license
lopezjronald/DjangoRealEstateInvestmentProject
019b5c763a5839b920a9abf823c9feb1e9fde0f8
6347e2a60e48915333700c182bb4143166cfb8f1
refs/heads/master
2022-12-04T18:38:17.609092
2020-08-28T00:50:23
2020-08-28T00:50:23
290,914,869
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from django.shortcuts import render from .models import Project def house(request): projects = Project.objects.all() return render(request, 'house/home.html', {'projects': projects})
[ "lopez.j.ronald@gmail.com" ]
lopez.j.ronald@gmail.com
fa284df700e5a99c1ad7f73156e6a6cfb14a4ef6
c61802907bb274c999a6815a072336de977e65e9
/opennsa/backends/brocade.py
2e9860ec78d9b0f606ca23ee5b8ca96a718d3e9f
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
NORDUnet/opennsa
2f8039fa4702a8126e2e0cdc4bc6b56b4389c494
9d47b29037e5f9a159e7984eb17b4d3aeaf1708c
refs/heads/master
2023-07-22T22:36:44.864169
2022-10-06T13:18:08
2022-10-06T13:18:08
10,215,733
16
24
BSD-3-Clause
2022-10-06T13:08:44
2013-05-22T08:50:54
Python
UTF-8
Python
false
false
8,035
py
""" Brocade backend. Contributed by Balasubramania Pillai from MAX Gigapop. Ported to OpenNSA NSIv2 by Henrik Thostrup Jensen (summer 2013) Further contributions/fixes from Jeronimo Aguiar from AMPATH. Further contributions by John Hess from CENIC. Notes: configure terminal vlan $vlan_id name $name tagged $source_por...
[ "htj@nordu.net" ]
htj@nordu.net
afdac10e8716ebc1aaed671821bfbebecc25c714
541eb85dd83d335ada0968b8af80c3cef8501dd8
/Sample Output 3 generation.py
69fef9df1da4a5a0880cedc37698d0ce8a9d01db
[]
no_license
poornithsundar/Solution_tracer
73b19a7b2d3a792e115ea2bdd2b1b5f435fa33ca
e425866c22ea3acab1d16d8bb3398c478a043d8b
refs/heads/master
2020-03-21T15:09:20.230253
2018-06-30T04:12:26
2018-06-30T04:12:26
138,697,035
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
import xlrd import pandas as pd import textwrap import array import time import xlrd import os import docx2txt from textblob import TextBlob from nltk import BlanklineTokenizer import re z = os.getcwd() workbook = xlrd.open_workbook(z+'\\SampleInput.xlsx') sheets = workbook.sheet_names() required_data ...
[ "noreply@github.com" ]
noreply@github.com
98c745e4e73e75f10c7e617d7d4357b9b214a788
a82c786b48b92dc23f3704efa1e8b950f4961e6b
/manage.py
8495189f74b92f88f53ca59392fdaccf82b3a300
[]
no_license
beckys57/sadhana
374b2204b89b645c4ffbeba8cb286f7531cfb059
8216332d4747ae1d7254bf98ed4fc1ffedf1007d
refs/heads/master
2020-05-25T12:51:15.138855
2017-04-01T14:26:19
2017-04-01T14:26:19
84,931,714
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sadhana_forest.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "deadskerry@gmail.com" ]
deadskerry@gmail.com
61fbc0a3b0747ef8b89895921540ea773bdcf829
b48f323da6b572df4028ba07a233f320dce45438
/data/utils.py
9aa7ffe7192b1ccb09a4e3a5d0eee6b5f5eccac1
[]
no_license
crystal98tang/Aerial_Image_seg
66fb7fbdebfae17ea0a766d6c55f063a2f532163
c6855bd905958af437bf895070592b76821a5d15
refs/heads/master
2023-03-16T08:46:05.643181
2021-03-07T05:46:21
2021-03-07T05:46:21
222,077,013
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
import os import random import numpy as np import imageio import cv2 import matplotlib.pyplot as plt """""" # If can not work, add "tensorflow.python." from tensorflow.python.keras.preprocessing.image import ImageDataGenerator from tensorflow.python.keras.utils import to_categorical # # from keras.preprocessing.image i...
[ "tyk502709661@126.com" ]
tyk502709661@126.com
5c7dd54b64e391864189ee8ca8b3e1831e456399
852592e040d68f6c0b3425a7b0dddec6732db8c7
/Music/models.py
25a4f7642718f7b120f333cccb9df8a5db062e43
[]
no_license
xiaocaoqwe/SQMusic
09d296a4b956cf61b47e3d5fb327bf303c846169
9df816b8ac5ab0d0218ff00d68339d2e235a9802
refs/heads/master
2020-04-23T10:51:10.010125
2019-02-17T13:32:56
2019-02-17T13:32:56
171,116,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` line...
[ "noreply@github.com" ]
noreply@github.com
917230bb011021e18429996639d1895fabd80e3b
28de10dc523a9a835220b26e7f719d2abdcb6a6f
/age_train.py
ee8eb4101411732bf948275102e2a2da473f06f6
[ "MIT" ]
permissive
Manan1811/FaceNet-Model
b3b19f3c9759b4f18362a0f10da90512d401887b
f10a4921996b53b1f0b5da014f538ae68c726f50
refs/heads/main
2023-01-02T14:07:44.228670
2020-10-19T21:03:32
2020-10-19T21:03:32
302,869,599
1
0
MIT
2020-10-19T21:03:33
2020-10-10T09:51:53
Jupyter Notebook
UTF-8
Python
false
false
3,540
py
import cv2 import scipy.io import os import pandas as pd from PIL import Image import numpy as np import random import argparse from models.model import model def get_images(batch_size, add, age, img_size=(160, 160)): rand = random.sample(range(0, len(add)), batch_size) X = [] y = [] for i in rand: ...
[ "noreply@github.com" ]
noreply@github.com
5a7783237e226747e5fbd25cac84df4b45ef3159
4a74875c7366a19b7189fcb89fa0fa27abc4309e
/data_pipeline/processor/processor.py
b6493e1c2048911a74ea00ba33661a7c5fd2dae6
[ "Apache-2.0" ]
permissive
saubury-iag/data_pipeline
d865d66d25eeb4ea6c6a655ae934bfe83c0efa06
4ad04198ed48c643045113c6e2c3e0848adbdec6
refs/heads/master
2021-07-23T08:43:46.754162
2017-11-01T05:05:23
2017-11-01T05:05:23
108,808,749
0
0
null
2017-10-30T06:06:41
2017-10-30T06:06:41
null
UTF-8
Python
false
false
1,726
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "simon.aubury@iag.com.au" ]
simon.aubury@iag.com.au