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
c96667e76a4d649fc180fffd2ee6abb688e027cb
d4fdbd68c42d6b9babe347cb3b65535e4d782172
/tensorflow_datasets/image/voc_test.py
1bbb9140e84808b1f66441b6ba103c2e8483ec03
[ "Apache-2.0" ]
permissive
thanhkaist/datasets
2809260c5e95e96d136059bea042d1ed969a6fcf
02da35c558ec8ea704e744a2008c5cecb2e7a0a1
refs/heads/master
2020-06-04T16:13:14.603449
2019-06-14T22:01:33
2019-06-14T22:02:54
192,097,735
2
0
Apache-2.0
2019-06-15T16:02:18
2019-06-15T16:02:18
null
UTF-8
Python
false
false
1,060
py
# coding=utf-8 # Copyright 2019 The TensorFlow Datasets Authors. # # 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 appl...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
abddbc07c422c2ef39b94b3f3c841f01e40010b6
4f1154f708e15a4056eb5ad34a1d8ee8229e3ac9
/common/db.py
5b9e9e65401a455c5c70735e7a53f3dd6219d76b
[]
no_license
jackross00/portfoliomgr
708688376643e0f95a45967e5cf0fb5140d145ac
906407847072e74662dd9835186242a4016ec3d2
refs/heads/main
2023-08-09T21:48:30.343221
2021-08-29T15:54:41
2021-08-29T15:54:41
377,010,083
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
import sqlalchemy def open_conn(schema='webapp'): global engine engine = sqlalchemy.create_engine('postgresql+psycopg2://postgres:pretzel123@localhost/{0}'.format(schema), pool_recycle=3600, connect_args={'options': '-csearch_path=intmed,datapit'}) open_conn() def exec_sql(cmd=None,schema=None): engine =...
[ "jacksross96@gmail.com" ]
jacksross96@gmail.com
daec12433149d0fa4a8fe97be29bea0af0818e98
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/tunas/schema_test.py
c27def77e798c010f8c380efefd021e51bc209c9
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
8,923
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
3dd5147ae9f30926a48cab65fa22cd06522b47c6
52a669eaba3ffcfdce3e4e069b3a718ecae99f5e
/raiden/tests/benchmark/_codespeed.py
9d1374369d596807930b544aaaa62f07a9cb2bf4
[ "MIT" ]
permissive
ulope/raiden
8eec274797c4c8b7e365be3af00605a6365ab1a2
3f6b1f8fe23e34bbaed842362af7f38f68e6e5af
refs/heads/master
2022-07-19T13:49:30.121352
2021-06-08T08:49:30
2021-06-08T08:49:30
94,885,749
0
0
MIT
2022-07-06T23:21:47
2017-06-20T11:49:29
Python
UTF-8
Python
false
false
876
py
import json import os import requests try: _CODESPEED_USER = os.environ["CODESPEED_USER"] _CODESPEED_PASSWORD = os.environ["CODESPEED_PASSWORD"] _BENCHMARK_HOST = os.environ["BENCHMARK_HOST"] except KeyError: print("Codespeed environment variables not available, posting results would fail.") def ...
[ "istankovic@posteo.net" ]
istankovic@posteo.net
2725d1c03afc9f15527b05e3895cc8a6aab7c275
ccd4d37469bc1b60cdaca39bad12e6dd0cd208fe
/project3/orders/migrations/0002_auto_20181129_2116.py
27b48e710460188c3ca12805deec63c8382eab48
[]
no_license
AlessandroMozzato/cs50w
98d02574aed5a0c69fa2e3a8e8e751e283aa200e
9c36d6487e4734f1608f43da1e84d2026433eaf9
refs/heads/master
2021-06-17T17:47:13.890214
2019-06-06T19:17:25
2019-06-06T19:17:25
145,459,230
0
2
null
2021-06-10T20:52:39
2018-08-20T19:04:20
HTML
UTF-8
Python
false
false
372
py
# Generated by Django 2.0.3 on 2018-11-29 21:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0001_initial'), ] operations = [ migrations.AlterField( model_name='menu', name='size', field=...
[ "mozzatoale@gmail.com" ]
mozzatoale@gmail.com
cf472624e90417b7b9dd44a827fca5cdad1d7083
333352a8f17441336d8d4401ae756d16a6af64ff
/ML-101 Modules/Module 03/Lesson 03/Practice 2/vehicles_helper.py
3a2d4b9c63b568c608000610ef2d12ac04480740
[ "MIT" ]
permissive
peargrape/data-science
d29b6873e5e83f66476d7ea7a381e80508656389
cb59cb856859c4c6df05fded37f441b073e6903c
refs/heads/main
2023-08-29T06:41:55.243147
2021-10-27T07:37:17
2021-10-27T07:37:17
408,247,972
0
0
MIT
2021-09-19T22:10:07
2021-09-19T22:10:06
null
UTF-8
Python
false
false
2,392
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from scipy import stats from scipy.stats import norm get_ipython().run_line_magic('matplotlib', 'inline') sns.set() import sklearn.metrics as metrics from sklearn.metrics import accuracy_score, confusion_matrix, classification...
[ "noreply@github.com" ]
noreply@github.com
085844914eefe2ebb6fb48b6e56ff09e865d3a4a
50b270528c1e267e5bac6bcd023b45df8393bea3
/django/project/forum/views.py
6e684fa1009191d460fcd4759d94fe2a76866265
[]
no_license
KarolPawlukowicz/Django-Mailowa-grupa-dyskusyjna
87e0da9f982abcc64416ac15d2d0102f3e1319be
3925828c8aa6953cac101808bd68b018e339fa56
refs/heads/master
2020-12-23T23:15:43.860372
2020-01-30T21:10:24
2020-01-30T21:10:24
237,304,576
0
0
null
null
null
null
UTF-8
Python
false
false
2,373
py
import poplib from email.parser import Parser from django.shortcuts import render from .models import Group from django.views.generic import ListView, DetailView, CreateView, DeleteView from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin def groups(request): context = { 'group...
[ "karpawlukowicz@gmail.com" ]
karpawlukowicz@gmail.com
ab7b5850c8a4219d95bc177a69194213af9cd6ad
16ba9862e6b85d0fab61ad1b26800b2eff4c4cd4
/middleware/tests/test_config.py
2038a27e1ead031fa8bedeb2a66994fde54823d1
[]
no_license
alaxa27/Way-Connect_Box
724d51926b7c0a5bc32277684de2a274323ba5b8
c26572f47541fe56ee81c8bf7169b18eda426ebb
refs/heads/master
2022-12-08T06:08:24.234111
2019-01-17T15:42:11
2019-01-17T15:42:11
138,509,499
0
0
null
2022-12-08T02:14:25
2018-06-24T19:25:58
C
UTF-8
Python
false
false
4,537
py
from unittest import TestCase from unittest.mock import patch, call import config class TestConfig(TestCase): def test_write_config(self): pass @patch('subprocess.call') def test_reload_daemons(self, callMock): config.reload_daemons() callMock.assert_called_with('/bin/systemc...
[ "alaxa27@gmail.com" ]
alaxa27@gmail.com
63c7c30de11e644228be90bc3edc923154acc744
6970714f3d7c6a18cb8e9da90f365ce59afdbb3d
/Data Structures/htmlchecker.py
83673df5f9cd4821b927635849cb8309e17243ea
[]
no_license
christopherhui/Data-Structures-and-Algorithms
d8e30e59d7cd8cb47f9ed888351656ca1f48abac
ac01e938addcb57faca2166b326fba5e4eac9acb
refs/heads/master
2020-03-25T22:56:25.301930
2018-08-10T07:33:38
2018-08-10T07:33:38
144,251,637
3
0
null
null
null
null
UTF-8
Python
false
false
1,332
py
from pythonds.basic.stack import Stack def balancedHTMLTags(document): tagStack = Stack() # Stack for "<" and ">" wordStack = Stack() # Stack for retaining words within tags for i in range(0, len(document)): if document[i] == '<': close = False start = i + 1 ...
[ "christophergkhui@gmail.com" ]
christophergkhui@gmail.com
8aa0eb7e2f218416241e350136d8c8c47ec3bd63
fcb5e9c148c1e2f67bd79bd2aeb11cd152deff88
/main.py
b193f9bf20705a8ed599769bd222fd4533333c9e
[]
no_license
Firas-Ben-Hassan/Graph_Embeddings
2612932cf0084f5a2c80add26e11e735987f2962
4ff959a4b6d57966632c0ba946250200d6d07fea
refs/heads/master
2021-06-16T23:32:02.845551
2017-05-31T11:50:39
2017-05-31T11:50:39
92,940,738
2
0
null
null
null
null
UTF-8
Python
false
false
4,924
py
import networkx as nx from gensim.models import Word2Vec import node2vec import numpy.random as npr def discard_edges(nx_graph, p): if p == 0: return nx_graph else: ebunch = nx_graph.edges() npr.shuffle(ebunch) for i in range(0, len(ebunch), p): nx_graph.remove_edge...
[ "firas.benhassan@supcom.tn" ]
firas.benhassan@supcom.tn
be2dbb2850c37601b90706e3d19bfac3c370606c
e0cc36b60f2ac3e4d8fa8184f67b8586d54a2941
/venv/Scripts/pip3.5-script.py
3fa035374c30913d6fef7bc2a7ab2e4400f85483
[]
no_license
112517249/test_requests_unittest
a5a0632e81800902ddbe817a6f02d70912301c8e
e059515b556e32cb637e620c72d70ba22681434a
refs/heads/master
2022-10-12T03:04:35.261536
2020-06-09T08:24:16
2020-06-09T08:24:16
270,944,684
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
#!E:\PycharmProjects\test\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.5' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.e...
[ "zz@email.com" ]
zz@email.com
2fc48de98fbc2450366953e3be1285d20c36401a
ac8ffabf4d7339c5466e53dafc3f7e87697f08eb
/python_solutions/1080.insufficient-nodes-in-root-to-leaf-paths.py
4ba1ede95bb6688d9b4c3e860ddfe8e1d3dd646d
[]
no_license
h4hany/leetcode
4cbf23ea7c5b5ecfd26aef61bfc109741f881591
9e4f6f1a2830bd9aab1bba374c98f0464825d435
refs/heads/master
2023-01-09T17:39:06.212421
2020-11-12T07:26:39
2020-11-12T07:26:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,173
py
from collections import Counter, defaultdict, OrderedDict, deque from bisect import bisect_left, bisect_right from functools import reduce, lru_cache from typing import List import itertools import math import heapq import string true = True false = False MIN, MAX, MOD = -0x3f3f3f3f, 0x3f3f3f3f, 1000000007 # # @lc ap...
[ "ssruoz@gmail.com" ]
ssruoz@gmail.com
2a38f9bdee2aedb06b848420931f4339af7a1815
b1b74e9217449548bb3d40cf1da7ceab335c3ef8
/qubits/softBakeTest_041119/resistance_analysis.py
4671defc1cf4ed72c793f00d0e7ef1febe817f9e
[]
no_license
jmonroe2/dataProcessing
a5cd6566fc0ac88f3f464112a65163ae5841200a
37dda1884567ceecabb9d06cfc6c75812658ba12
refs/heads/master
2021-06-24T14:00:17.383050
2020-10-24T15:27:39
2020-10-24T15:27:39
153,939,321
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on %(date)s @author: %(username)s This script exists to analyze probing data of Softbake test 04/11/19 """ import sys, time, os import numpy as np import matplotlib.pyplot as plt def main(): data_file = os.getcwd() + "/data.txt" min_res = 100 m...
[ "jonathan0monroe@gmail.com" ]
jonathan0monroe@gmail.com
224d95222155e0b7f599b3d1ee3f2fe0b45333e5
135c112b57ae964bd8311cfd4e770850aec66cd4
/plot_analyzed_data.py
df274b5012deeda1ad30e6f79466d4444a40dbd9
[]
no_license
KDilch/P2_LAB
016ccebd7659505f04045c80760e9ccbe0d1290b
fea2d44e441ec3a0675e1c90625326b04fee1fa9
refs/heads/master
2020-06-02T05:12:58.683783
2019-09-25T21:52:21
2019-09-25T21:52:21
191,049,057
0
0
null
null
null
null
UTF-8
Python
false
false
5,811
py
import numpy as np from tabulate import tabulate import matplotlib.pyplot as plt import os import scipy.optimize as opt (voltages, reduced_E_fields, t12s, stdDevT12s, t13s, stdDevT13s, t23s, stdDevT23s, v12s, stdDevV12s, v13s, stdDevV13s, v23s, stdDevV23s, v_av, std_v_av, diff_12, err_diff12, diff23, err_diff23, diff13...
[ "klaudia.dilcher@gmail.com" ]
klaudia.dilcher@gmail.com
d2362fa08761676b441e809f4b9a29568e0a9bdd
9c97b3e4af65daae6dd584d3c47750e56325af68
/Character.py
60c6f93990d5c5e9d597b39bcc54dd660871e3f1
[]
no_license
tongsumate/MongoDB
a5f22002c30886b90d51a618bd1df1e3bf1b9a0e
575fdac568cc0aabef11c34546c928fe17636702
refs/heads/main
2023-03-09T12:22:12.222005
2021-02-23T05:58:42
2021-02-23T05:58:42
340,862,136
0
0
null
null
null
null
UTF-8
Python
false
false
5,013
py
import pymongo from bson import json_util from flask import Flask,jsonify,render_template,request from flask_pymongo import PyMongo app = Flask(__name__) client = pymongo.MongoClient("mongodb://admin:AAGzez02811@10.100.2.126:27017") #client = pymongo.MongoClient("mongodb://admin:AAGzez02811@node9149-advweb-11.app.ruk...
[ "sumet.srithong@gmail.com" ]
sumet.srithong@gmail.com
75a63b080058ba26e1aa2ae9b422c95c519a403c
3e93c3bbe35c24bf7f1a75c612ab300f37063621
/C1/L1_18_mappingnameseq_namedtuple.py
f393d21fd2cf887c699056da4973e6a7725476db
[]
no_license
rengokantai/orpycok3ed
5ac0195a48f02dcc5bbc720e812f637464215e8f
50ce744265dc6af0d1a4724ea52348faeb47764d
refs/heads/master
2021-01-10T05:05:53.477092
2016-03-12T20:04:45
2016-03-12T20:04:45
53,352,163
0
1
null
null
null
null
UTF-8
Python
false
false
693
py
__author__ = 'Hernan Y.Ke' from collections import namedtuple # memorize this syntax Me = namedtuple('Me',['first','last']) me = Me(1,2) print(me.first,me.last) she=[Me(3,4),Me(5,6)] #me = Me(first=1,last=2) # illegal! me = me._replace(first=3) print(me.first) # get namedtuple def get_num(tuplearr): res=0 ...
[ "yuriqiao@gmail.com" ]
yuriqiao@gmail.com
88a1fb94a80440856187d57d3df5d55a56f854f5
0dc8627205c1545b4a5d82d1b9e55bc64eedc0b8
/transcripts/conf.py
3f10dbffa1b2b69fda708f5fbb98846f344db5cd
[]
no_license
evildmp/DjangoConEuropeTranscripts
508ee00c1c2bde803dd13aaac6171eb9fbcbb2db
d21e57780e1b4c497d8a700e5b99999bded9f303
refs/heads/master
2016-08-11T06:52:40.669453
2015-08-13T22:32:33
2015-08-13T22:32:33
36,973,906
12
9
null
2017-01-01T08:49:40
2015-06-06T09:01:29
Python
UTF-8
Python
false
false
9,937
py
# -*- coding: utf-8 -*- # # Speech-to-text reports from DjangoCon Europe 2015 build configuration file, created by # sphinx-quickstart on Sat Jun 6 09:11:53 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this...
[ "daniele@vurt.org" ]
daniele@vurt.org
746d5b1978fde02f7eee9b5aa0e3c59284e76031
632027b71895bec28fbb126198fcdf659618b138
/Lista_05/Lista_05_Ex_04.py
d54e4b4493c1f509ebbd0a19d8fe26138cfe4977
[]
no_license
VTozo/Raciocinio-Algoritmico
40f6d1ff536bc65e7b5473175f9dd28c3329554c
65157087fd939b82d2d88bbc5fa85e783e6fab4a
refs/heads/master
2020-03-13T09:38:51.877256
2018-04-25T22:21:03
2018-04-25T22:21:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
print("1- Dólar 2- Libra- 3 Euro") moeda = int(input("Qual moeda você quer? ")) if moeda < 1 or 3 < moeda: print("Valor incorreto!") exit() montante = float(input("Digite o valor desejado: ")) if montante < 0: print("Valor incorreto!") exit() if moeda == 1: preco = montante * 3.301...
[ "noreply@github.com" ]
noreply@github.com
68a929c1b07064d9de55642bbf4f31a2ea0f4e29
3469179384888faba953972c5ec507a59e4d3da3
/NN.py
48e4f1e70cadb290cefbfb971bd4181eee7346f9
[]
no_license
pwalaw2/Neural_Network
299482b48c02e6f4e5f5ae65cab90717a065f7a8
a895cb8f07e221c0cee588490f5824be60141cd4
refs/heads/master
2021-04-15T03:30:54.279578
2018-03-22T02:37:33
2018-03-22T02:37:33
126,264,051
0
0
null
null
null
null
UTF-8
Python
false
false
5,594
py
# @Name: Pratik Walawalkar # @UIN: 667624808 # importing libraries: random and matplotlib # random: for generating random numbers, matplotlib: for plotting graphs import random import matplotlib.pyplot as plt # generating optimal weights i.e. w randomly between mentioned range w0 = random.uniform(-0.25,0.25) w1 = ra...
[ "pwalaw2@uic.edu" ]
pwalaw2@uic.edu
8d9a2d6979882bef832c416fb15445d8e897680d
2de8dd72970042ca46277cdf09c3b293636e491e
/hw/hw01/hw01.py
f23b72f91e702c2881a23487e0ca6e501309b58e
[]
no_license
hironorinakauchi/cs61a
3256d0885bbe28ed6a41097038d57255a3e1661c
3238c663881f938d7d3dd79e5244522664998d21
refs/heads/master
2020-04-13T00:50:39.094451
2018-12-23T02:18:37
2018-12-23T02:18:37
162,855,961
0
0
null
null
null
null
UTF-8
Python
false
false
3,799
py
def your_course_username(): """Return your course username. >>> username = your_course_username() >>> username.startswith('cs61a-') True """ return "cs61a-agf" from operator import add, sub def a_plus_abs_b(a, b): """Return a+abs(b), but without calling abs. >>> a_plus_abs_b(2, 3) ...
[ "hironorisama@gmail.com" ]
hironorisama@gmail.com
789bbf9f99878e115df5bf5cf4714f48a107da13
3d08c317ea23fc5c10511badb2b518803db3a0ba
/spekulatio/som/node.py
43fe20dfc3e97228411b3314d9ae7bb78d6f76bd
[ "MIT" ]
permissive
iwilltry42/spekulatio
c6491731952e84ced895525c60cd7aa5553400c4
42d678b7d7fcc13284902be5a08fb0407d96ec4d
refs/heads/master
2021-07-11T05:39:59.683218
2020-11-23T20:14:54
2020-11-23T20:14:54
211,082,189
0
0
MIT
2019-09-26T12:21:36
2019-09-26T12:21:35
null
UTF-8
Python
false
false
2,532
py
from collections import OrderedDict class Node: """Base class of all the nodes in a som.""" def __init__(self, path, is_dir, title=None, data=None, toc=None, content=None): self.path = path self.is_dir = is_dir self.local_data = OrderedDict() self.global_data = OrderedDict() ...
[ "asopena@ehmm.org" ]
asopena@ehmm.org
1604c99f9ae2007ff5743f2baa50fd62b161e9be
996a45b73d950e1d4a094b8c17ffd29262cf82a7
/00_College Courses/Foothill College/Python for Programmers 2/Assignment 01/HunterCarlisleLab1-1.py
723b88adb9cd68df1d00f7a9cab2828b1b9a3297
[]
no_license
huntingcarlisle/CS-Coursework
3e4e848ff628b019d8de58cf1e5df3241145b27c
592d8d75dc6d79d7dd3e53e29e499e43640e37cb
refs/heads/master
2021-07-01T16:57:14.530850
2019-05-03T08:42:39
2019-05-03T08:42:39
132,169,792
1
1
null
null
null
null
UTF-8
Python
false
false
1,771
py
#!/usr/bin/env python3 from datetime import date """ Hunter Carlisle | Foothill College Fall 2018 | Lab One This program takes user input and prints various expressions to console. Inputs: User Last Name and Student ID Print Output: Expressions per Assignment Spec """ # Get and Validate User Input while True: fam...
[ "huntingcarlisle@gmail.com" ]
huntingcarlisle@gmail.com
bbfb3c710b2df0d470dc404bc76435144be5f9cc
7b4cd67991b65dd5350f9ccde422d102ec1fb247
/ml_project/tests/features/test_build_features.py
321140ec143eed2b22b1ff1d91443b4c43a66299
[]
no_license
made-ml-in-prod-2021/spin-to-win
ba6becbcc3410ad533a943fdb8cde440717aa10f
6d71b18362d605945f1c6655c4b5d5aa4f143ae2
refs/heads/main
2023-06-06T14:24:41.560146
2021-06-28T10:14:45
2021-06-28T10:14:45
355,611,260
0
0
null
2021-06-28T10:14:46
2021-04-07T16:23:27
HTML
UTF-8
Python
false
false
2,344
py
from src.features.build_features import * import pytest def test_can_check_raw_data(train_data_sample): assert set(train_data_sample.columns) == { 'age','ca','chol','cp','exang','fbs','oldpeak', 'restecg','sex','slope','target','thal','thalach','trestbps' } RawDataPreprocessor.check_raw_da...
[ "d.svirchkov@qiwi.com" ]
d.svirchkov@qiwi.com
e7264ccc6a71876dff805367e13c30b468a009de
8c80f1220297b91707b42a0baee31365e69d2d1d
/build/lib/WORC/plotting/plotminmaxresponse.py
3eef97f930d725f863784c0b8d43dbe6a91372e7
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Sikerdebaard/WORC
4fca18330513ea0c500a90e770beb345b427d539
2c7a23c0a0c7480af378b9e093f06989b3304c8b
refs/heads/master
2020-05-25T05:02:35.060113
2019-05-08T07:02:30
2019-05-08T07:02:30
187,640,566
0
0
null
2019-05-20T12:56:28
2019-05-20T12:56:27
null
UTF-8
Python
false
false
11,356
py
#!/usr/bin/env python # Copyright 2016-2019 Biomedical Imaging Group Rotterdam, Departments of # Medical Informatics and Radiology, Erasmus MC, Rotterdam, The Netherlands # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obt...
[ "m.starmans@erasmusmc.nl" ]
m.starmans@erasmusmc.nl
beaad99b8141fc377596ba1a4a4746e9549172c0
155f9c610ad06d76685874270352903b06892c65
/todo_list/todo_app/models.py
049d9e853f878d7260f052f6591938f491d0b2a4
[]
no_license
phadkesharan/TodoList-Django
abdb6fd6a4f466230f87463034ea994196d63129
a7413456d626d2d6355cfd362d7a71161a119669
refs/heads/main
2023-06-19T01:07:54.105892
2021-07-20T14:13:39
2021-07-20T14:13:39
387,801,148
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
from datetime import datetime from django.db import models import datetime # Create your models here. class TodoItem(models.Model): content = models.TextField()
[ "phadkesharan@gmail.com" ]
phadkesharan@gmail.com
19084bc467a1952d5e8747cd85c9dc97fedaca64
b81ec2dcd90c54379f6289eea52c4bf4fb995f86
/graficar.py
41fb258f6955eb1e9482861436729e118d2ebb94
[]
no_license
cghernandez/tims-civ
f0bf0eec1a024fe2f40d61da90b88aeb8210f2d5
5e6f0b2b5d4071bba2c7cc6da3bc7e6d4569d66c
refs/heads/master
2020-03-21T04:43:04.411085
2018-06-30T08:11:36
2018-06-30T08:11:36
138,123,997
0
0
null
null
null
null
UTF-8
Python
false
false
2,118
py
import matplotlib.pyplot as plt import numpy as np import os #Lists all directories directorios = os.listdir() directorios.remove("graficar.py") directorios = sorted(directorios, key = lambda x: int(x), reverse = False) #Empty lists that will be filled with data indx = [] m_maxpop = [] m_fails ...
[ "noreply@github.com" ]
noreply@github.com
242e93a4e5f81e325e0aa153d7112fe5fa19e57a
d1c7db3c433281a884141e220a301f4cf32cdbd3
/genetic-maze/genetic_maze.py
6ac19793b0196f6149a5edda9394a4643ae5d7e9
[]
no_license
pairing-with-matt-and-mike/pairing
ad00079eca229e20689bd77347908ca33a199ec5
77a90328c8c54f39b160211207f3556b70960113
refs/heads/master
2023-08-18T08:25:01.402201
2023-07-26T20:50:09
2023-07-26T20:50:09
157,622,499
0
0
null
2023-07-19T12:19:35
2018-11-14T23:01:21
Python
UTF-8
Python
false
false
2,536
py
import pytest import random def test_initialise_population(): generation = initialise_population(5) assert len(generation) == 5 assert all([len(genome) == 1 for genome in generation]) assert all([ gene in ("w", "a", "s", "d") for genome in generation for gene in genome ]) ...
[ "thatismatt@gmail.com" ]
thatismatt@gmail.com
fceb9153a4fcf2f6a900430aa71bd6c15f273e57
f53aec5df3b285b5f92716852fc1f478c7f2dac6
/workdesk/urls.py
1deea242946b75c76b4f9c95428fa2db394d4776
[]
no_license
vaishnavi-gupta18/WorkDesk-Backend
46789f0880b90650267f84c0b725d58e2e632a31
3d76ad77e9fdf88475e3d160872e40d288bea6d8
refs/heads/master
2023-08-15T20:28:02.572189
2021-10-23T11:59:47
2021-10-23T11:59:47
400,776,524
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
from rest_framework_nested import routers from django.urls import path from .views import ShortProjectViewSet, ProjectViewSet, UserProjectViewSet, UserCardViewSet, ListViewSet, CardViewSet, MemberViewSet, UserViewSet, GroupViewSet, CommentViewSet router = routers.SimpleRouter() router.register('user',UserViewSet)...
[ "vaishnavi_g@me.iitr.ac.in" ]
vaishnavi_g@me.iitr.ac.in
0ab091f1bac3f6b3782abb3cf2f34ba686b858fc
6dcd5f4bb4c39e2d887e5d557e188ba4c8a75081
/src/UsersDB.py
3d3f2264fceef218c5169ec87a6f6ca4b65d695f
[]
no_license
Pella86/HappyRateBot
815653033593aedc22c779025d00bddec4614f46
f23f786a3c9dc19f2378958470d82974d018bd64
refs/heads/master
2020-03-22T00:16:38.670215
2018-07-22T11:50:53
2018-07-22T11:50:53
139,234,809
1
1
null
2018-07-22T06:41:21
2018-06-30T09:01:21
Python
UTF-8
Python
false
false
4,288
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 20 12:10:14 2018 @author: Mauro """ #============================================================================== # Imports #============================================================================== # py imports import os import hashlib import string # my imports ...
[ "pigmeo127@gmail.com" ]
pigmeo127@gmail.com
108e02ca3f0e8e3ea1c4460e16956878f2407df1
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/network/virtual_network_tap.py
bcdbaf91e38252e9c1258aa4d97c8130368e7538
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,511
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, overload from .. import _utilities from...
[ "noreply@github.com" ]
noreply@github.com
f19684c5167e1475dcd6b88c9c8c5a3057fd4041
6ea52c93be4ede7cc58c22f6600570fe3fde716a
/tests/pyro_test_suite/model18.py
1e965523b3994af11a2987c453b530ff4ef31e23
[ "MIT" ]
permissive
wonyeol/static-analysis-for-support-match
7158797d3766850df0fc96ba4e0dadc8428bf32a
850fb58ec5ce2f5e82262c2a9bfc067b799297c1
refs/heads/master
2022-12-01T21:33:46.511474
2022-11-20T23:35:47
2022-11-20T23:35:47
216,757,903
6
0
null
null
null
null
UTF-8
Python
false
false
114
py
# test_iplate_in_guide_not_model_error [subsample_size=None] p = torch.tensor(0.5) pyro.sample("x", Bernoulli(p))
[ "xavier.rival@gmail.com" ]
xavier.rival@gmail.com
edb029758ac8cbce4d3df897a65c1851278e95e8
7ac585c7e59aa8a2085d2f778b08de1c8aba74e7
/mysite/marcador/models.py
26d3cb30282815763e4788f22f5192d9009a28c3
[]
no_license
IbraDirir/MarcadoreApp
92ee1eaad29bfb604de6190032542d9556fbc372
f6a0757e4da7af4c62ad237d3d26877fbe58d5b2
refs/heads/master
2021-01-10T17:51:47.535066
2015-10-23T13:44:16
2015-10-23T13:44:16
43,567,557
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
from django.contrib.auth.models import User from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.timezone import now @python_2_unicode_compatible class Tag(models.Model): name = models.CharField(max_length=50, unique=True) class Meta: verbose_na...
[ "khaliildirir@gmail.com" ]
khaliildirir@gmail.com
f7406062c70e33b42b577dad9a4000dbac3b613b
9a192289d99d68eef6b81c0f7d5eb54c5bfe8fce
/app01/models.py
271ca6165f19c85942ead9689ad1860074a6757f
[]
no_license
ishexintong/myexcel
fedf5fb4d418be3da6bbc1e51cfeb2fd20ee1a49
ab0cb4d9492a723192394688e541643f09188d5c
refs/heads/master
2020-04-11T02:19:33.676702
2018-12-12T06:32:19
2018-12-12T06:32:19
161,441,966
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
from django.db import models from django.contrib.auth.models import AbstractUser class UserInfo(AbstractUser): ''' 用户信息表 ''' nid =models.AutoField(primary_key=True) telephone=models.CharField(max_length=11,null=True,blank=True,unique=True,verbose_name='电话号码') avatar=models.FileField(upload_to=...
[ "137841632@qq.com" ]
137841632@qq.com
ca2e60ef61a63bcc4473f3bb4ca159430fb5c13a
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/intentions/PyAnnotateTypesIntentionTest/methodAfterConstructorCall.py
0cdc87e27827504a3baf5a3c8d4524a6604e3e8c
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
133
py
class MyClass: def __init__(self): pass def method(self, x): pass x = MyClass() foo = x.met<caret>hod(42)
[ "mikhail.golubev@jetbrains.com" ]
mikhail.golubev@jetbrains.com
c15b33d0d47051e9aaec2b8beddb6d995bf4ea34
9ab29e9f548d6cf85e7bd073fa4217425a76a92b
/hand_oop.py
0b40391db810988cb0636abab0b420e36fef4d4d
[]
no_license
Fabaladibbasey/MITX_6.00.1
888010ad10d0199dc677da810b77698d6799ae9e
287bfe1ec47479eeb1d62707163b6edad276842c
refs/heads/main
2023-03-25T00:09:52.543278
2021-03-23T19:43:55
2021-03-23T19:43:55
338,302,928
0
0
null
null
null
null
UTF-8
Python
false
false
3,134
py
import random class Hand(object): def __init__(self, n): ''' Initialize a Hand. n: integer, the size of the hand. ''' assert type(n) == int self.HAND_SIZE = n self.VOWELS = 'aeiou' self.CONSONANTS = 'bcdfghjklmnpqrstvwxyz' # Deal a new hand...
[ "fabaladibbasey27@gmail.com" ]
fabaladibbasey27@gmail.com
449f604ea7700b07098af426afd1d4ba361050c4
9fef0d8935cb1c1775614b21c5a1dcc1d84686e0
/assign3/qlearningAgents.py
281c9f0c7fe2faf80635ac17b97182d575266a69
[]
no_license
dcrozz/ai-and-machine-learn-in-hku
54902e96d28fc61d99ceac604d32f269317a2bca
29b2dca5aa982a03b43b721ad9f07b2e9a4e6456
refs/heads/master
2021-01-22T05:27:55.712336
2017-05-10T06:53:11
2017-05-10T06:53:11
81,663,135
0
0
null
null
null
null
UTF-8
Python
false
false
7,486
py
from game import * from learningAgents import ReinforcementAgent from featureExtractors import * import random,util,math class QLearningAgent(ReinforcementAgent): """ Q-Learning Agent Functions you should fill in: - computeValueFromQValues - computeActionFromQValues - getQValu...
[ "ukeyim@gmail.com" ]
ukeyim@gmail.com
4e0b3787572a1137eef7f4042ec28f2cc0c86c90
077364ec7bae9bb80a3e36f5939584c3cf6529b0
/mooc/q1_print.py
3116ac0e2fb8ef104acb7f6629975221028cdb83
[]
no_license
fsi166771/mygit
6d86a855255493796ff9ef6156601873aecfb376
4169228cdbbc2eb2834077d69df1caf6020cd336
refs/heads/master
2020-12-03T00:40:38.290730
2017-06-30T08:26:39
2017-06-30T08:26:39
96,060,321
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # 字符串连接 str1 = raw_input('输入一个人的名字:') str2 = raw_input('输入一个国家名字:') print '世界这大,{}想去{}看看。'.format(str1, str2)
[ "zjak1@163.com" ]
zjak1@163.com
55c2841b5ae6ddfc0e8c0cb6f34e33306f5fca3a
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_pragma58.py
8e84b65dd9e10c0774f2965011964ccb0cbd933f
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=11 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np class Opty(cirq.PointOptimizer): def optimization_at( ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
b109044623ec7042559e3c7e07f763d3a3bc98a2
99c86d3a486e839e6df4b8ed57f631c51c4fd298
/helpdesk/models.py
65fdef5799407275b3a25ba4988030665c163b6e
[]
no_license
sgalichenko/helpdesk
53114d9caab75bd3eb7e50d4cfe6a167d6d877d7
77a521e42faa2dd374e438844098d88fb368ce15
refs/heads/master
2021-05-28T11:50:53.388355
2015-01-18T08:56:51
2015-01-18T08:56:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,010
py
from django.db import models from django.contrib.auth.models import User, Group import datetime import os import random import time class Ticket(models.Model): title = models.CharField(max_length=200) author = models.ForeignKey(User) publication_date = models.DateTimeField(blank=False, null=False) person = model...
[ "gyroflop@gmail.com" ]
gyroflop@gmail.com
daa51845b3982cae1a63d5bc3308a044b627aa78
295e5ae4339015f36a2d49a9429012a4f1da21e6
/project/network/mlp.py
6e8a527ec6ad6d326b9ffbc6f4d70d6b0500d264
[]
no_license
AlfioEmanueleFresta/cs-project
fb460850de68a47a55bf5d543d424b7279c8bac5
3f676b59a2d7ca870c5de2517c79b4396c05e38a
refs/heads/master
2021-07-08T20:43:44.484197
2017-10-07T21:59:46
2017-10-07T21:59:46
68,594,036
0
0
null
null
null
null
UTF-8
Python
false
false
2,519
py
import lasagne import theano.tensor as T from .generic import GenericNetwork class MLPNetwork(GenericNetwork): def defaults(self): defaults = super(MLPNetwork, self).defaults() defaults.update({ # Dense Layers 'dense_layers': 2, 'dense_layers_activation': las...
[ "alfio.emanuele.f@gmail.com" ]
alfio.emanuele.f@gmail.com
7de69c82b0fcb66f520c6acdeda2f813e828ddc1
23d36df4f9c4f764e6b2cb01e27274dea0d8afea
/manage.py
6b9a8e5bfe2c020abf284a5890c3ae273fd89a00
[]
no_license
PratikS18/bstheme
09020275e98c353f4c535f197ab4a5e7c2c5008f
5e1435c9682268b3e7ee886a7151b93bdd51d8df
refs/heads/master
2021-01-14T19:44:30.384154
2020-08-07T13:32:42
2020-08-07T13:32:42
242,735,421
0
0
null
null
null
null
UTF-8
Python
false
false
634
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', 'bootstraptheme.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "anikets@packt.com" ]
anikets@packt.com
11eac3f2eddd6db881b96e11800b7eefbdc728d4
69651dbc04aaf55f04ccddb6158874b12a228afc
/Test.py
5b1617ac4a4f024bb3823908a267e9a4d32b005d
[]
no_license
TMda/AlgoTrade-IB
30ba8c8807bf9389a764bc7f262b7db4dfa82cfe
90e67160e18e0c2dbd5989e52fb9e5217e5538e4
refs/heads/master
2016-09-12T11:08:49.326036
2016-06-01T02:42:42
2016-06-01T02:42:42
57,075,329
0
1
null
null
null
null
UTF-8
Python
false
false
11,088
py
from __future__ import print_function import pandas as pd import numpy as np import ib.ext from ib.ext import Contract #from MyAlgoSystem.bar import LiveFeed #from MyAlgoSystem.IbBroker import MyIbBroker #from MyAlgoSystem.strategy import MyLiveStrategy from barfeed import LiveFeed from IbBroker import MyIbBro...
[ "TMda@users.noreply.github.com" ]
TMda@users.noreply.github.com
8dd7a8369a2f7b352443bc0d36d23dd32bcc554e
bf576b059cbecb0cbb8a6c885dcfded5bd685399
/4.Python course/3.Expand course/1.Small windmill/Small windmill.py
18c56da878b1cb6a7ef0d38234ce809b1bea040f
[]
no_license
YahboomTechnology/Superbit-expansion-board
0d3c2fd06c5df9280d230af429931af2c48dc6d5
4df7e03426d486d2b2f8f649359eee2d62851083
refs/heads/master
2023-04-07T03:16:15.786669
2023-03-29T01:12:57
2023-03-29T01:12:57
206,778,307
13
8
null
null
null
null
UTF-8
Python
false
false
426
py
from microbit import * import superbit a = 135 display.show(Image.HEART) superbit.servo270(superbit.S1, 135) superbit.motor_control(superbit.M1, 255, 0) while True: if button_a.is_pressed(): a = a - 1 if a < 0: a = 0 superbit.servo270(superbit.S1, a) elif button_b.is_press...
[ "2448532184@qq.com" ]
2448532184@qq.com
9d110ceae0f2f319471a4112af223302cc51efd3
c7f0fc9f66d9a364ce6d02dca566347b10852576
/Additive_number.py
c84e8af2ddae4463c39f0d9c6c5b01e2753ef4e5
[]
no_license
myfamurewa/Python-Practice
027b727d2cd0eb09833b49efc38b4b6e3d53b646
ac3321dabf2db11f2899ad985a15f4d319a4e2ec
refs/heads/master
2023-03-10T01:12:07.522008
2021-02-24T19:05:32
2021-02-24T19:05:32
275,929,286
1
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
def check_valid(left_num: str, right_num: str, remainder: str) -> bool: if len(right_num) > 1 and right_num[0] == "0" or (len(left_num) > 1 and left_num[0] == "0"): return False sumofstr = str(int(left_num) + int(right_num)) while remainder and len(remainder) >= len(sumofstr): if remainder =...
[ "myfamurewa@gmail.com" ]
myfamurewa@gmail.com
bc27f479ed72618b28215c6eefada4ba525c249d
10e5ecf13d2fa4e9e3d866fd42d68a99258d28b3
/tensor-note/tensor1.14/tensor_5_mnist_test.py
ce377a407a29bf314cbe183611514aefcb622a02
[]
no_license
FictionDk/python-repo
2ba20bece0e900040833be305eb81157704533cf
41fa3a95d62f16d7cf632cfefb09226ec24f4e1a
refs/heads/master
2023-04-27T18:39:53.998065
2023-04-18T10:33:23
2023-04-18T10:33:23
91,284,460
0
0
null
null
null
null
UTF-8
Python
false
false
2,174
py
# -*- coding: utf-8 -*- import tensorflow.compat.v1 as tf import numpy as np import os from tensorflow.examples.tutorials.mnist import input_data import tensor_5_mnist_forward as mnist_forward import tensor_5_mnist_backward as mnist_backward import time os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' TEST_INTERVAL_SECS = 8...
[ "ficito.d2k@gmail.com" ]
ficito.d2k@gmail.com
d9c42d18f40fe8f7deea40e2ffa928c7cc15d4d7
29cd26a0f676c56fa0b605aa4fa28d4cf80bfdda
/Python/drillMove.py
74c233fc87ad56344fa2c6d2bf4b215b7b233cd9
[]
no_license
Najdhillon/The-Tech-Academy-Course-Work
1f199945d2b665c0c8ed5547391f9b7e7c0d5a6e
1fb0e7be725ba9b44d34ff7707eadd2361f534c7
refs/heads/master
2020-04-15T15:22:03.509245
2017-02-07T04:32:52
2017-02-07T04:32:52
54,001,620
0
0
null
null
null
null
UTF-8
Python
false
false
862
py
import shutil, os from datetime import datetime, timedelta import time os.chdir('C:\\Users\\navjot.dhillon\\Desktop\DailyFile\\') srcf = ('C:\\Users\\navjot.dhillon\\Desktop\DailyFile\\') destf = ('C:\\Users\\navjot.dhillon\\Desktop\MoveFile\\') for f in os.listdir(srcf): src = os.path.join(srcf,f) dest =...
[ "najdhil@yahoo.com" ]
najdhil@yahoo.com
72500071812b0f6f8d51db9beaa2e8c7fc9d42df
7c519894072f88b47b0249e2b90401c7414f4cfe
/Lists/Liststring.py
27c6a373a24b624e21abacdd617534d9716af7d4
[ "MIT" ]
permissive
yuvan1234/python-75-hackathon
db25db0f72c5000ff0d31066f4b4d6c51165a4e2
3ace446224f346c50343398b882d9fd133fe1bc9
refs/heads/master
2020-04-11T09:20:30.067112
2018-12-15T13:04:52
2018-12-15T13:04:52
161,674,241
0
2
MIT
2018-12-13T17:42:59
2018-12-13T17:42:59
null
UTF-8
Python
false
false
38
py
List=['Yuvan','Bajjurla'] print(List)
[ "yuvan.bajjurla@gmail.com" ]
yuvan.bajjurla@gmail.com
2ff67f71a4cd32162107246b30b23368bdbc91f9
ac9e103799433c9271f7ce840bdddeee471d2b18
/ciena/settings.py
0973a71678e4ebd3044c0e1d0b9f2befd6241baa
[]
no_license
raheemmian/ciena-challenge
f265248a3723b78f140dfeb30b2342ba91c13793
7df10ea217c70831fac6b54c82564703199bf565
refs/heads/main
2023-05-26T09:00:05.634870
2021-06-03T01:11:14
2021-06-03T01:11:14
373,333,420
0
0
null
null
null
null
UTF-8
Python
false
false
3,258
py
""" Django settings for ciena project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib i...
[ "raheemmian@hotmail.com" ]
raheemmian@hotmail.com
e5dcefd74e755e164a7238304f594bb73321a27b
14f470babc5dc0a4c67e230d7c1b19c83f561f93
/idconn/connectivity/retrieval-ID-pipeline-regionwise.py
40d52c7e25fc3c9c1b581bfdb328ed203890afc5
[ "MIT" ]
permissive
NBCLab/IDConn
cee11156453c148d05d83c270dd8128bdf0ee219
0677e372c02fe35be28f70567e71e040e1d2a023
refs/heads/master
2023-06-01T17:33:58.764642
2020-10-01T19:59:36
2020-10-01T19:59:36
300,373,299
2
0
MIT
2021-06-17T17:04:02
2020-10-01T17:56:33
Jupyter Notebook
UTF-8
Python
false
false
10,089
py
from __future__ import division from os.path import join, basename, exists from os import makedirs from glob import glob from nilearn import input_data, datasets, plotting from nilearn.image import concat_imgs from nilearn.input_data import NiftiLabelsMasker from nilearn.connectome import ConnectivityMeasure from scip...
[ "kbott006@fiu.edu" ]
kbott006@fiu.edu
76aa60f6f57e1566e5e2ccd335cd2e9d89b94e1e
5b4222e63b4d5df97d2fbe098ea28df410ebc0bb
/ngraph/python/tests/test_onnx/test_additional_models.py
316381360dfb16f01ed637513b864b398acca741
[ "Apache-2.0" ]
permissive
groove-x/openvino
a4e3e9c5ab05ac404b7a7687f7c357baeac8fe3b
58ac859c14f85046f0eb3d36627a8bf49ad778c7
refs/heads/release/2021.1
2023-02-09T17:53:30.753296
2020-12-25T04:25:11
2020-12-25T04:25:11
240,161,117
0
0
Apache-2.0
2020-12-23T10:02:44
2020-02-13T02:34:00
C++
UTF-8
Python
false
false
3,399
py
# ****************************************************************************** # Copyright 2018-2020 Intel Corporation # # 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.apa...
[ "noreply@github.com" ]
noreply@github.com
b63a69be0846d0417dad07d4d3fd03ac582d960d
33253bb759aaa41f808f59fd7c3bfc16b0bca674
/Enhanced TCN for Log Anomaly Detection on the BGL Dataset/test_BGL.py
238834e8a4e692a8bba3c29fa696d44752ac2ddf
[ "MIT" ]
permissive
h10gforks/LightLog
e52aff4e0ecec53d93a9fc4c315846eb549a5bd6
b9328763feba22a57775f82790bf799553ee73d7
refs/heads/main
2023-08-27T04:22:49.222029
2021-10-29T13:06:58
2021-10-29T13:06:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,512
py
import json import pandas as pd import numpy as np import keras from keras.models import load_model import time with open('./data/bgl_semantic_vec.json') as f: # Step1-1 open file gdp_list = json.load(f) value = list(gdp_list.values()) # Step1-2 PCA: Dimensionality reduction to 20-dimensional data ...
[ "2435066195@qq.com" ]
2435066195@qq.com
3b5b830ece25ebde56182792dca6ff39cf0ef06f
e5f3be412055537a81476cfcb2a1101f48d6d951
/invert.py
e1aa8f3feaf5ec6004ffa720811341aca24d559a
[]
no_license
LuciMoore/MRI_nonlinear_registration
aef6100b31edbd48013176ca3e82d04fd0574e07
5978d67c308dcdb297e0014b006b465c88e18cb7
refs/heads/master
2023-08-04T13:00:28.351993
2019-06-24T23:42:50
2019-06-24T23:42:50
190,086,121
0
0
null
2023-07-22T07:28:01
2019-06-03T21:39:42
Python
UTF-8
Python
false
false
3,651
py
#!/usr/bin/env python3 # standard lib import argparse import os from glob import glob # external libs import nipype.pipeline.engine as pe from nipype.interfaces import ants, utility from nipype.interfaces.image import Rescale def main(): parser = generate_parser() args = parser.parse_args() subject_T1...
[ "lucille.a.mo@gmail.com" ]
lucille.a.mo@gmail.com
4c7ea5619cc66f92ba1b9905cdc2da6911ed9e1f
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/throughput/final3/main.py
7a486cdf102a8565fccfdac8cf8ebbcbaf5f011c
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
31,723
py
import pdb import time import os import subprocess import re import random import json import numpy as np import glob from tensorboard.backend.event_processing.event_accumulator import EventAccumulator import socket import argparse import threading import _thread import signal from datetime import datetime import csv f...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
e8e63a744f6ac41e11ed04e35bb8e6e7bf646d29
6e98c8f8b0018dc834958feb65da165c7936522c
/Model/din_model/din_model/trainer/build_dataset.py
db150c9b659503c64eaa046551c7abb07d69d6ec
[ "Apache-2.0" ]
permissive
helenyu18/blue-marlin
5c43bed76e07fa0393fc24f2e73ff81f0dba16a3
668985fad1993a682808e271610c1cf2cec6a6f5
refs/heads/master
2021-05-27T05:26:24.737665
2020-09-10T22:00:29
2020-09-10T22:00:29
294,529,284
0
0
Apache-2.0
2020-09-10T21:44:43
2020-09-10T21:44:43
null
UTF-8
Python
false
false
1,269
py
import random import pickle random.seed(1234) with open('../raw_data/remap.pkl', 'rb') as f: reviews_df = pickle.load(f) cate_list = pickle.load(f) user_count, item_count, cate_count, example_count = pickle.load(f) train_set = [] test_set = [] for reviewerID, hist in reviews_df.groupby('reviewerID'): pos_lis...
[ "rezaa77@gmail.com" ]
rezaa77@gmail.com
49f026a79eb728b120146d42fa4fc8130a140696
b2c3636960d14ad06181a547d66556174b385b70
/testchild.py
531ab76983ef2212464d5b8d5267f8838f5e2b27
[]
no_license
sarahmoakler/courseralab
56ae261d1fe687af062948254bd8e8c9a4e5dc18
cd50a0108a7a93959912797bea2576c3301e83fe
refs/heads/master
2022-11-26T15:42:16.614391
2020-08-03T02:25:06
2020-08-03T02:25:06
284,572,779
0
0
null
2020-08-03T01:51:10
2020-08-03T01:12:59
Python
UTF-8
Python
false
false
81
py
## Adding a new file in child branch (aka branch1) Print ("Inside child branch")
[ "noreply@github.com" ]
noreply@github.com
ad8293ee5c8a2ce590ec5cbe06b4991ee10eed3c
c1abd1ec3e6e5c899ca3a3d2759aef23ace4805e
/node_modules/watchpack-chokidar2/node_modules/fsevents/build/config.gypi
107e703b19e8875cb98f93a3f247733be47c3172
[ "MIT" ]
permissive
Dipinti3/MyNewTicTacToeApp
e619d03f9023eaff46a4db406562f09c2e3b88b7
81193fcc6f195c16d291c35cdcd24acc0b5ff7e6
refs/heads/main
2023-07-13T11:40:00.464866
2021-08-22T22:46:09
2021-08-22T22:46:09
398,915,641
0
0
null
null
null
null
UTF-8
Python
false
false
2,977
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, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "dipinti@zipcodes-MBP.fios-router.home" ]
dipinti@zipcodes-MBP.fios-router.home
511983bd248c99533c39d7438846d9925561842e
ed5654284f4ff05dface2761525ba8889abe6239
/vacinebot/__main__.py
63ee940bc1a012d8bea3f22a06f50c7494475c01
[]
no_license
mikaelhadler/vvvacinasbot
372d9b1197821dd7794f6a0fac24161c3036887f
d1514e96e6199448bb9a7df85fdaf381dd8546cf
refs/heads/main
2023-06-06T06:05:28.712476
2021-06-26T14:39:15
2021-06-26T14:39:15
376,333,596
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
from . import bot if __name__ == '__main__': bot.start()
[ "mikaelhadler@gmail.com" ]
mikaelhadler@gmail.com
7388c9b72535ef113b908151ecfbd89687afebe6
447f7846f81cb330d986b9274cb5337709b3d9fb
/mysite/blog/migrations/0001_initial.py
ccdff7c619f56546924893ea9d66bb3d5faa8bad
[]
no_license
mjghorbany/django_files
4a354b4605fe2f29bfde5444fa8a0b8acc78265b
4eb5b15f4b178c524b3e83c559c0df19230843e0
refs/heads/master
2021-01-01T17:40:02.504897
2018-09-23T21:09:00
2018-09-23T21:09:00
98,127,568
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-07-20 03:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Post', ...
[ "jay.ghorbani@accenture.com" ]
jay.ghorbani@accenture.com
3b79ecee53bab652825699f9a829541d12808883
53d22468fb1c9e0f4b4710a31fb7ac638549b8a7
/src/episode_stats.py
8c746bbebadc8b8367d5a5f0ae15a6bda7162cea
[ "MIT" ]
permissive
binderwang/drivebot
768bcfe224d94b931c45c41ced2a1b0067c6417d
a8fb86731c52b7594dd135e8759622c29172b557
refs/heads/master
2020-12-14T09:48:59.857490
2016-05-03T03:17:58
2016-05-03T03:17:58
58,269,730
1
0
null
2016-05-07T14:33:18
2016-05-07T14:33:17
null
UTF-8
Python
false
false
261
py
#!/usr/bin/env python import json import sys episode_id = 0 for line in sys.stdin: episode = json.loads(line) rewards = [event['reward'] for event in episode] print "\t".join(map(str, [episode_id, len(episode), sum(rewards)])) episode_id += 1
[ "matthew.kelcey@gmail.com" ]
matthew.kelcey@gmail.com
241d5f507cb5715b138b4fbeeafe3afc277ad81f
6585f143d0208ff07aaaf0c0833be6b4366c7dc3
/BackEnd/services/reimbursement_services.py
48b0b2a6f2a57eb954604a5c888ccf73a706fa03
[]
no_license
robertjgoette/project1-Revature
e6a49f73d7dbe6b1363f597625653c4fe3afd746
8ae755b9f93d7bc42c530485ced0d2df3f577873
refs/heads/main
2023-06-14T04:25:03.494637
2021-07-14T14:57:04
2021-07-14T14:57:04
379,026,956
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
from abc import ABC, abstractmethod from typing import List from entities.reimbursements import Reimbursement class ReimbursementServices(ABC): # CRUD Functions # CREATE @abstractmethod def post_reimbursement(self, reimbursement: Reimbursement, employee_id: int) -> Reimbursement: pass # R...
[ "54007387+robertjgoette@users.noreply.github.com" ]
54007387+robertjgoette@users.noreply.github.com
2f8c03f052351b799bfba46a92f2566cc993aedd
5181d3b3ef8fe301ea2d6b095260e9d327c2fd79
/scripts/dl/download_hrrr.py
dad9ed84e463252c8a1b7b4fff6d35e96c53d1d1
[]
no_license
danhreitz/iem
88113ef9c9c4a2918c9c2abdfd0510d5ca4ec819
ed490dcd6c2a8359f88cb805ccee8f6707566f57
refs/heads/master
2021-01-18T15:27:28.607250
2015-08-10T21:33:54
2015-08-10T21:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,340
py
""" Since the NOAAPort feed of HRRR data does not have radiation, we should download this manually from NCEP Run at 40 AFTER for the previous hour """ import urllib2 import sys import datetime import os def fetch(valid): """ Fetch the radiation data for this timestamp 80:54371554:d=2014101002:ULWRF:top of...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
708a1faf765b96d7f5a0505c9bf4c02d987ff8ba
07504838d12c6328da093dce3726e8ed096cecdb
/pylon/resources/properties/highLimDly.py
bc4cf1c574d3d5599664567f174174735af07093
[]
no_license
lcoppa/fiat-lux
9caaa7f3105e692a149fdd384ec590676f06bf00
7c166bcc08768da67c241078b397570de159e240
refs/heads/master
2020-04-04T02:47:19.917668
2013-10-10T10:22:51
2013-10-10T10:22:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,294
py
"""highLimDly standard property type, originally defined in resource file set standard 00:00:00:00:00:00:00:00-0.""" # Copyright (C) 2013 Echelon Corporation. All Rights Reserved. # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (th...
[ "lcoppa@rocketmail.com" ]
lcoppa@rocketmail.com
8e32b5ebb88f2444a7ee07ace862ba9c18be1ba7
1acd397ecc175e44c7f5c5314a5040dba06d76c4
/libnmo.py
8b4d7f657e05d0647a6d4233c8b451069e11f25c
[]
no_license
rolandshoemaker/nausicaa
affef176708a2c2c78866158694de971f9ae7511
6cbd759f15add49ea15acf6af4df51cfa4983d0d
refs/heads/master
2021-01-10T23:27:51.789487
2015-02-25T10:18:09
2015-02-25T10:18:09
31,247,701
0
0
null
null
null
null
UTF-8
Python
false
false
3,631
py
# _ # (_) # _ __ __ _ _ _ ___ _ ___ __ _ __ _ # | '_ \ / _` | | | / __| |/ __/ _` |/ _` | # | | | | (_| | |_| \__ \ | (_| (_| | (_| | # |_| |_|\__,_|\__,_|___/_|\___\__,_|\__,_| # # licensed under the MIT license <http://opensou...
[ "rolandshoemaker@gmail.com" ]
rolandshoemaker@gmail.com
840342402fb7db880e69b4c0da9de7e57a02dca5
1d1aec410c9cd56fd9df320a192caed6277e4487
/props/migrations/0012_auto_20180317_1505.py
7930012233d858ad99cec3b519b2ec2e6b665160
[]
no_license
mephistophyles/gogetmylunch
f86bf1b695040ffa99fe429e12482a1a86d06e41
c2bfef4b3b154fc3e4ae9cae8c8cccc3336bc428
refs/heads/master
2021-04-09T16:10:32.558868
2018-03-17T18:38:44
2018-03-17T18:38:44
125,658,203
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
# Generated by Django 2.0.3 on 2018-03-17 15:05 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('props', '0011_auto_20180317_1503'), ] operations = [ migrations.AlterField( model_name='prop', name=...
[ "mephistophyles@gmail.com" ]
mephistophyles@gmail.com
c3af127904d957a29958033e8898da66cbee1238
70ed82598c7ae19dc3de4a3a8400e9767b8a74b0
/Net/BaseNet/ResNet/fine_tuning_2.py
a5c28f115867e33b9eb23304dfaf71d8d7a0216b
[]
no_license
UpCoder/MedicalImage
f255922b988392cd4c3a90715fb945ee20edb3b4
34c11562658e6f362ee7eb53740ba96209a22d45
refs/heads/master
2021-01-19T16:59:13.251726
2017-12-04T14:55:32
2017-12-04T14:55:32
101,031,357
0
1
null
null
null
null
UTF-8
Python
false
false
6,832
py
# -*- coding: utf-8 -*- # 使用patch训练好的模型,来对ROI进行微调 from resnet import inference_small, loss import tensorflow as tf from Config import Config as sub_Config from Slice.MaxSlice.MaxSlice_Resize import MaxSlice_Resize from tensorflow.examples.tutorials.mnist import input_data from Tools import changed_shape, calculate_acc_...
[ "546043882@qq.com" ]
546043882@qq.com
d2a1e7580caf6d8657185392e0de2ecb545ef47b
bbe4d72283a60757c071f309d6bad2395ba27b3e
/PA_stage_test.py
8d33f46c20263dbcc0c46b544a1ad8de971f642a
[]
no_license
subham2pgr/PythonRestApiGet-Put-Post
f4a6e1f7d6e621ecc9539f00369aba9fd0240e10
c9501856e831377e2170857e3f91a02c99f8c2a3
refs/heads/master
2020-11-24T20:03:37.260050
2019-12-16T07:06:28
2019-12-16T07:06:28
228,323,510
0
0
null
null
null
null
UTF-8
Python
false
false
2,141
py
import subprocess import shlex import app_list as wb from pathlib import Path import datetime import difflib import sys from itertools import izip import glob import os import time import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText import yaml import wget import tarfile ...
[ "noreply@github.com" ]
noreply@github.com
8e716bc61206410842d3270ed425d9b7d359e9bc
a4cf5f3604524e69fba5bee878821e614381346a
/learning_log/learning_log/urls.py
453163c8fcbf9349a280b7b4c47cb731ab1a5832
[]
no_license
pray-lee/learn_python
8b21c1abefce52f2a20117f132f6e32b06281386
e9e23bc84dd3f12ece09413429d711fc0b764b51
refs/heads/master
2020-03-29T06:21:57.061295
2019-09-11T08:49:20
2019-09-11T08:49:20
149,621,524
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
"""learning_log URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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-...
[ "praycis@gmail.com" ]
praycis@gmail.com
b753599b025bf0d84f2a9458efebc481af45b145
4d9a17d0cbff98971f4ec6a1ace3a8fb64b7676a
/mysite/home/migrations/0003_homepage_body.py
d3227f2be2141fa7db66a1bec71f443b3d22cb89
[]
no_license
fukiko2020/Wagtail-Practice
982701bb69cb8c80318ed3b48fedfa2bc87c3b50
ca163a005d129f26c2a0639e46fc4bd50e5f74c1
refs/heads/main
2023-03-09T12:30:28.724399
2021-02-13T12:17:34
2021-02-13T12:17:34
337,383,863
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
# Generated by Django 3.1.6 on 2021-02-11 06:41 from django.db import migrations import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('home', '0002_create_homepage'), ] operations = [ migrations.AddField( model_name='homepage', name...
[ "kinako.fukiko.0822@gmail.com" ]
kinako.fukiko.0822@gmail.com
704f23bbe8f0762782de27bee7242837f7c788fb
46dece1fe6206de56bf631f5885fe196801f19ce
/venv/bin/flask
b98ab7db6d759ef705431f69f582bf2e3244f0ab
[]
no_license
michaelusim/Sentiment_analyzer
c9dca592216048395d512d0f8a4823d3d3d81375
3b1e9deb9bf5e7afca6338d0e879d8280d2b957d
refs/heads/master
2020-04-19T01:55:24.903326
2019-01-27T15:49:34
2019-01-27T15:49:34
167,886,079
2
0
null
null
null
null
UTF-8
Python
false
false
260
#!/Users/monyeije16/PycharmProjects/NewWebBasedGui/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "monyeije16@saintpeters.edu" ]
monyeije16@saintpeters.edu
f6b0c0ebfcfea1688b03ec725be8faebb3cbbbee
2598f255696842f043372dd68fe4d5fd48d1a41c
/Ofelia/expedient/src/python/expedient/clearinghouse/users/views.py
5bd342d561ba8106b5c71655fbdfedc0cbb0a6c3
[ "BSD-3-Clause" ]
permissive
zanetworker/C-BAS
8e5442df83626e95d9562497278869ee3c4fad51
695c6f72490a02bbb308d44526631dbf426ab900
refs/heads/master
2021-01-01T06:55:39.085086
2014-08-11T09:37:42
2014-08-11T09:37:42
22,351,372
1
0
null
2014-08-08T16:15:54
2014-07-28T17:28:44
Python
UTF-8
Python
false
false
7,668
py
''' Created on Dec 3, 2009 @author: jnaous ''' from django.shortcuts import get_object_or_404 from django.http import HttpResponseRedirect, HttpResponseNotAllowed from django.core.urlresolvers import reverse from expedient.clearinghouse import users from django.views.generic import create_update, simple from django.c...
[ "umar.toseef@eict.de" ]
umar.toseef@eict.de
b64bbcb9cad8e4e00bda92e555abe40da2d52fc3
12f6f701f4d7f2dccde9c72763d5614d2987d68f
/QAGAN-NIQE/STL10_NIQE_GP.py
52c5ab9aee07143be8cf9b0cb54fc31186a9f492
[]
no_license
parimala1175/QAGANS-Quality-Aware-Generative-Adversarial-Networks.
6ce383b9d74b13e5ab7a1499d4106799fd4bab34
dd1a1ddf13c16689e1cd1b5b954b9bd3e9d5b910
refs/heads/master
2022-04-16T13:28:59.125626
2020-04-15T06:50:51
2020-04-15T06:50:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,834
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import division, print_function, absolute_import import cPickle as pickle import os import urllib from glob import glob import numpy as np import tarfile import pickle from tensorflow.python.plat...
[ "noreply@github.com" ]
noreply@github.com
1ed8a791199fb00c45f4eb0ca5c4eb7b0da7e94c
20db5a27f2a8b2d324085f5e1ec6c46ad7c1e8c3
/manage.py
c330237e8173667cd9d46db5ee3ead0af6d478a2
[]
no_license
mortadagzar/djangoMovie
dae326fc83a31e485792b1ee42fa89b7d681049d
e83904c0c1ecc45992eed7516cb483bd2c97590b
refs/heads/master
2020-04-01T22:32:28.246877
2018-10-19T02:41:22
2018-10-19T02:41:22
153,713,907
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangoMovie.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. ...
[ "mortadagzar@gmail.com" ]
mortadagzar@gmail.com
aa68f988913d5356935838e1c55305c02c569057
b1e8b238c258d31b9862aa36a591bb5c44ade131
/my_test.py
3ffd01a0899be4694643091330dc4e9b2a7e5dd4
[]
no_license
Leonidas-I/python-powershell
9a503fdaccbbbd8ce5297fda36640588bcf90f35
81520dcc06d9379f5fe7d9df25a3ebdddfb5c7b5
refs/heads/master
2022-12-03T05:47:47.385845
2020-07-18T03:52:14
2020-07-18T03:52:14
280,581,879
0
0
null
null
null
null
UTF-8
Python
false
false
1,810
py
import random class Card(object): suit_name = ['Clubs', 'Diamonds', 'Hearts', 'Spades'] rank_name = [None, 'Ace', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'Jack', 'Queen', 'King'] def __init__(self, suit=0, rank=1): self.suit = suit self.rank = rank ...
[ "doombringer@disroot.org" ]
doombringer@disroot.org
726904d1d091167b545718adf4e6beb1b170a92b
879b484caa5ef9e462d0897434c5a4cc02137c37
/util/test_bank.py
9868b641809f7fefce529130e92646a5277a674c
[]
no_license
qqq1123/appnium-
9c2540b750ea4cfa7633f3a24426b530655822dd
8971b394cb783ec54f3cfbb03bee8d4bf22aac57
refs/heads/main
2023-04-05T08:47:25.042423
2021-04-17T03:57:01
2021-04-17T03:57:01
358,778,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,285
py
import requests import json import urllib3 num = 5846 url2 = 'http://p2pxin.rongtuojinrong.com/rongtuoxinsoc/user/paorxercijiangli' url = "http://api.uat.rongtuoyunlian.cn/php/recommend/getRecommendIdentity" #https://onlineuat.cupdata.com/openapi/api/gateway # data = { # "identity": "0x4fca57771d96d933d8801b4a49ef3117...
[ "362484633@qq.com" ]
362484633@qq.com
d7695202a7eac262d72a336803baadd7fb91647b
749ecf780d7e1e23d4bb4ea4c748f54efb33ad6e
/app.py
75c382cb27cc44a92cba2d8fc46a477dcb32fdf2
[]
no_license
arthuramsouza/playroom
28df30b1ba1c2f188274559af93bd60c368e9bf9
242a8c9c239a0f0d9a0175b09660a1b28f3e9634
refs/heads/master
2023-05-11T12:35:16.987877
2020-03-23T06:09:37
2020-03-23T06:09:37
247,905,442
1
0
null
2023-05-02T18:43:38
2020-03-17T07:26:23
Python
UTF-8
Python
false
false
191
py
from flask import Flask from flask_mysqldb import MySQL app = Flask(__name__) app.config.from_object('config') db = MySQL(app) from views import * if __name__ == '__main__': app.run()
[ "arthuramsouza@gmail.com" ]
arthuramsouza@gmail.com
d70f89891b0b806e60e5c729f691a486fcd710db
e98a912d1da048afda6972549eb52a92fddd766e
/make_result/fig_out.py
a96579a5e362d1b6ee3275de35d03084c4245fd1
[]
no_license
rsaito831/ABW_sim
5b4806f49998c8f2b704926b76c03a3f3609038c
a39ba7603388717524c0ff719bf6ba82b8978b1c
refs/heads/master
2020-03-29T19:11:13.163381
2018-09-26T06:42:47
2018-09-26T06:42:47
150,251,898
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
import sys import matplotlib.pyplot as plt import numpy as np args = sys.argv data01_axis1, data01_value1 = np.loadtxt(args[1], unpack=True) data02_axis2, data02_value2 = np.loadtxt(args[2], unpack=True) data02_value2 = data02_value2 / 1000000 fig = plt.figure(figsize=(6, 4)) ax = fig.add_subplot(111) ax.plot(data...
[ "rsaito831@gmail.com" ]
rsaito831@gmail.com
b9fc0ded63c3c6f0ff7857c261a68f18076d6d8e
9dc8c299ee7d4a225002127cc03b4253c8a721fd
/libs/unittest/live_related_condition.py
5604fdc9fc852993f3b40a2a692f9a1c3da1f49b
[]
no_license
namesuqi/strategy_corgi
5df5d8c89bdf7a7c465c438048be20ef16120f4f
557b8f8eabf034c2a57c25e6bc581858dd4f1b6e
refs/heads/master
2020-03-07T04:00:18.313901
2018-03-29T07:50:50
2018-03-29T07:50:50
127,253,453
0
0
null
null
null
null
UTF-8
Python
false
false
4,149
py
# !/usr/bin/python # coding=utf-8 # author: JinYiFan from config import * from libs.module.live_seeds import * import time def wait_for_second(wait_time): time.sleep(wait_time) def change_config(live_file_count, live_peer_count, rate_of_peer_and_file): """ 修改config文件的参数配置 :param live_file_count: 文件...
[ "suqi_name@163.com" ]
suqi_name@163.com
87b307a9a67c645c792fcca067a3cfb649de8aca
4c2722604cf76e1073d45dabe1620e48cb05420d
/f3.1.py
ad45a495d4a9ba9152d7e5cc72a40b9343ec53ce
[]
no_license
Sultansharav/function
18435e3f2d17addca9732eb50abce4f794dd308b
5d59ce1e5799ae2ca257740a8d25d98d773cccc8
refs/heads/master
2020-08-03T13:21:36.808432
2019-09-30T03:18:28
2019-09-30T03:18:28
211,766,382
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
# Too anhny too esehiig shalgah def huvaagchTooloh(p): k=0 for i in range(1,p+1): if p%i == 0: k+=1 return k def anhnyToo(p): if huvaagchTooloh(p) == 2: return True else: return False print(anhnyToo(int(input())))
[ "asultan.0516@gmail.com" ]
asultan.0516@gmail.com
8d637f9712aa8cd0fa725ea3c7b3285cb522f1da
be5a758c99f05c8ae8c224bf43335154114ee5f6
/kombu/compat.py
224f2e33e5d44865c3202047427a7e1c535ba30d
[ "BSD-3-Clause" ]
permissive
bradjasper/kombu
160ed1b5651f91a87752df40791d01c91ca1fe16
4c9ac1436eb0468508f8b2cf1bda997535e1326d
refs/heads/master
2021-01-16T00:23:17.928400
2010-07-28T17:25:32
2010-07-28T17:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,431
py
from itertools import count from kombu import entity from kombu import messaging def iterconsume(connection, consumer, no_ack=False, limit=None): consumer.consume(no_ack=no_ack) for iteration in count(0): if limit and iteration >= limit: raise StopIteration yield connection.drain_...
[ "askh@opera.com" ]
askh@opera.com
58ab3e67d229116c62c0e48a9e0a77e9bcac2a78
69077e615b35127904128db364c4febaca9c5795
/vilani_name.py
bea3d213b644b09f50186b1d3e59a2c6e87d1009
[ "MIT" ]
permissive
markurbin/Vilani_Name
793141093ec54b8ff84127bb824995ff0b6ee775
6e772ce7eadec7b5fb95226f23648f591c35f67d
refs/heads/master
2020-04-01T07:36:31.747248
2018-10-14T17:47:02
2018-10-14T17:47:02
152,995,966
2
0
null
null
null
null
UTF-8
Python
false
false
7,497
py
# -*- coding: utf-8 -*- """ Created on Thu Dec 22 22:13:18 2016 @author: Mark Urbin # "The Traveller game in all forms is owned by Far Future Enterprises. # Copyright 1977 - 2018 Far Future Enterprises." This program translates Terran names to Vilani. This for the science fiction role playing game Traveller...
[ "noreply@github.com" ]
noreply@github.com
efc54871703ecce3f1cb626bd1351abbdff392ef
34ef83114e02b173bd2d55eb53ad399e738a8e3c
/django/test_bootstrap/blog/models.py
b12d7ddd4b0a24411e62b4e99bf00bcafa60e565
[]
no_license
vavilon/Python3
e976a18eb301e4953696d1e3f4730ed890da015a
8c79729747ce51d60ad685e6a2e58292954ed7eb
refs/heads/master
2023-01-09T13:44:37.408601
2018-01-25T22:41:14
2018-01-25T22:41:14
100,892,055
0
1
null
2022-12-26T20:29:27
2017-08-20T22:23:06
Python
UTF-8
Python
false
false
506
py
from django.db import models # Create your models here. from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User') title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField( default=timezone.now) publishe...
[ "overon4ek@gmail.com" ]
overon4ek@gmail.com
3fac458c8f38d04e4724c1f19199c6c517b324b6
675b72eae65f8e258794decf9627e5fdf8b04559
/plugin_tests/examples_test.py
aa8ae4a0e021a3a57aefdf2dd02021e68f45841a
[ "Apache-2.0" ]
permissive
jbeezley/large_image
368f730ea6fe2c4b75a9c3412c08ce8f41be545a
ac4cbaff4ae2fbbde425d3cd1aee2ff03e6235c8
refs/heads/master
2021-01-11T06:15:48.687563
2016-10-24T17:09:08
2016-10-24T17:09:08
71,806,470
0
0
null
2016-10-24T16:04:04
2016-10-24T16:04:03
null
UTF-8
Python
false
false
1,695
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################################################## # Copyright Kitware Inc. # # 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 t...
[ "david.manthey@kitware.com" ]
david.manthey@kitware.com
c07188d1ee79a950eae8de801a83fc7e33532916
593e287de8e95e1355a76fff8cd4302013325917
/datasets/filter-uswebsites.py
3377470c606f3fda90c835282cfc6658264fcf18
[]
no_license
miamayixuan/Final-Project
9efea72a385be9c3041c55f0c7c15a9aa0039cb5
c2f350fb8c6275a6d4398be334c38e2c6e111b84
refs/heads/master
2020-12-08T08:02:44.259336
2020-01-20T01:18:20
2020-01-20T01:18:20
232,932,185
1
0
null
2020-01-19T00:55:17
2020-01-10T00:23:34
HTML
UTF-8
Python
false
false
712
py
#imports necessary packages import csv from pprint import pprint from datetime import datetime # reads in the all domains data set with open('all-domains-30-days.csv', 'r') as f: reader = csv.DictReader(f) rows = list(reader) site_visits = [dict(row) for row in rows] # writes column headers we want with open('all_...
[ "davidmstansbury@gmail.com" ]
davidmstansbury@gmail.com
a058b693de47a2f87e3e8e4092a4deb46cc07dad
9ccc0fc184a16d0f1ad0613e54e491cfa0cc3efe
/rebase/tests/unit/skills/importable_modules.py
db86063d8a4c64b7969f6fafe890520072aaca37
[]
no_license
rebase-inc/api
97c6ff512eef91ac83b894aafb09f068872a6681
e1caf88099d06ac2f56d2e4caec3d5eee1925713
refs/heads/master
2021-03-27T14:41:00.101197
2017-02-18T03:37:17
2017-02-18T03:37:17
30,560,149
0
0
null
null
null
null
UTF-8
Python
false
false
3,164
py
from pprint import pprint from unittest import TestCase from git import Repo from rebase.skills.importable_modules import ( ImportableModules, is_python_module, path_without_extension, python_modules, start_dir, to_namespace, ) from .git import Tree, Blob class ImportableModulesTest(TestCas...
[ "rapha.open.source@gmail.com" ]
rapha.open.source@gmail.com
2727f055ba4fd1ad97e4e5a0f59365711f17792a
2bbdab12cb53d156bda1b7e4f3ce129cc730d573
/di_10n01/models.py
baf1cd96bec993178d5d3c3046132385fcd20da1
[]
no_license
000Justin000/surrogate
4e31bf43240078bcaeb34910b6617b952b43f1df
9f471251c3555725ab0505b40a93781792dc06a1
refs/heads/master
2021-05-11T19:34:27.512581
2018-01-17T15:34:22
2018-01-17T15:34:22
115,680,905
0
0
null
null
null
null
UTF-8
Python
false
false
16
py
../SOT/models.py
[ "juntengjia@hotmail.com" ]
juntengjia@hotmail.com
434153e344fd51bbd477726190b6bffce6f42c4d
3de3dae722829727edfdd6cc3b67443a69043475
/edexOsgi/com.raytheon.uf.common.dataplugin.text/pythonPackages/dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/text/subscription/request/SubscriptionRequest.py
237472774c674b7b8fb879656ce996c5d08db82a
[ "LicenseRef-scancode-public-domain", "Apache-2.0" ]
permissive
Unidata/awips2
9aee5b7ec42c2c0a2fa4d877cb7e0b399db74acb
d76c9f96e6bb06f7239c563203f226e6a6fffeef
refs/heads/unidata_18.2.1
2023-08-18T13:00:15.110785
2023-08-09T06:06:06
2023-08-09T06:06:06
19,332,079
161
75
NOASSERTION
2023-09-13T19:06:40
2014-05-01T00:59:04
Java
UTF-8
Python
false
false
1,268
py
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to non...
[ "mjames@unidata.ucar.edu" ]
mjames@unidata.ucar.edu
b8acc579b13a7bb35130f20698e3489073b14792
773deb7825ff84eec3e0cf6ae8266d07251df392
/CHAPTER05/bw41.py
c7231b7bd8d7d2ba190f52df2a0fa74e6f62a961
[]
no_license
kji0205/py
3ca9c2a351af05ce62d7c7c3c261ed98a7e8290d
b45ffb3424b7c0da8192d431cb7ad7933c60ef81
refs/heads/master
2021-01-20T18:57:51.603386
2016-06-23T14:24:57
2016-06-23T14:24:57
61,639,536
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# 진정한 병렬성을 실현하려면 concurrent.futures를 고려하자 import logging from pprint import pprint from sys import stdout as STDOUT from time import time def gcd(pair): a, b = pair low = min(a, b) for i in range(low, 0, -1): if a % i == 0 and b % i == 0: return i numbers = [(1963309, 2265973), (2030677, 3814172), (1551645...
[ "kji0205@gmail.com" ]
kji0205@gmail.com
32488fbd7fc3396021b71149e9fa5501f2d5f820
bcdfeafe6276deee45b39268dadc4e79b001bce5
/fmm/backend/__init__.py
c297273c4923c266411d8efab3a358f3d30ec346
[ "BSD-3-Clause" ]
permissive
exafmm/pyexafmm
178bf16f57e5d508d0a9bb77e556a2db30546686
5062803438cb9c1afe84c53e6a186e60254cf88d
refs/heads/master
2023-07-19T17:44:25.849752
2022-02-21T11:46:30
2022-02-21T11:46:30
212,838,965
11
1
BSD-3-Clause
2023-07-06T22:32:37
2019-10-04T14:52:51
Python
UTF-8
Python
false
false
35
py
from fmm.backend.api import BACKEND
[ "noreply@github.com" ]
noreply@github.com
b92db110450f2c14108bb1fe808f9ce2eb57621f
2d1649a7a00d49b72ed7e53afa4abb3c9281ce03
/.history/ParticleFilter/go_to_goal_20190422001746.py
b97cd844c688b0223ebd64a788ff07412f228001
[]
no_license
joshzhang5/CS3630Lab6
9547dc6c89198e9bb4aebd8359d4feb974082d20
69e6df12829e18a211ae850236d74b4d728046ef
refs/heads/master
2020-05-15T13:59:51.906195
2019-04-22T18:21:42
2019-04-22T18:21:42
182,317,674
0
0
null
null
null
null
UTF-8
Python
false
false
12,111
py
# Jiaxi Zhang # George McAlear try: import matplotlib matplotlib.use('TkAgg') except ImportError: pass from skimage import color import numpy as np from numpy.linalg import inv import threading import time import sys import asyncio from PIL import Image from markers import detect, annotator from grid i...
[ "josh@lawn-143-215-110-217.lawn.gatech.edu" ]
josh@lawn-143-215-110-217.lawn.gatech.edu
310c9ef7c52f88fbf9e2564573d6762814477a4e
9bddd25271ca710a7166307229e407b62e411a47
/cobs/state_modifier/modifier.py
b2cc82fb67605f412d49f1ab1524923d75877dda
[ "MIT" ]
permissive
sustainable-computing/COBS-joint-control
3ace2f49562f65294d04f73f13a2ccff4af8fac7
0bb9ba0ceaea329e9e1474674ece6e76143dce53
refs/heads/master
2023-08-08T20:33:45.072668
2023-07-26T18:40:36
2023-07-26T18:40:36
304,130,824
5
1
null
null
null
null
UTF-8
Python
false
false
546
py
class StateModifier: def __init__(self): self.models = list() def add_model(self, model): self.models.append(model) def get_update_states(self, true_state, environment): for model in self.models: model.step(true_state, environment) def get_ignore_by_checkpoint(self...
[ "tzhang6@blizzard.cs.ualberta.ca" ]
tzhang6@blizzard.cs.ualberta.ca
d485028798e1c737f0af507daf3b21f679ec03ae
b55c368efdfe360123be1a2e7677cee53706d1f9
/VectorTrans/Main.py
7f33d97819742d7ae327669e60bb979628d2c4fb
[ "MIT" ]
permissive
ZzhiWang/DRImplicitVecXform
207cd6ef6edf5bc90b2abb1242e2d7bb3b322f95
2ec0c64fb098e29ce74929f5e19bce90b2f5791c
refs/heads/master
2023-03-17T14:51:34.755756
2020-08-01T09:26:35
2020-08-01T09:26:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,904
py
import numpy as np from Tools import Preprocess from VectorTrans.DRTrans import DRTrans from VectorTrans.MDSTrans import MDSTrans from VectorTrans.TSNETrans import TSNETrans from VectorTrans.PCATrans import PCATrans from VectorTrans.MDSTransPlus import MDSTransPlus from VectorTrans.TSNETransPlus import TSNETransPlus fr...
[ "sdu2014@126.com" ]
sdu2014@126.com
f7363780a3282a89ab03770ad5780972929a1345
0b54fe39df677cfb4a08fb9d40c79e4a9af740f7
/makeplots.py
73a172ae8e0c52406f0e78a3d93ba9163db71a33
[]
no_license
aatishb/fluent
c34a39b484837265a0dc056032d9094f40b44573
9d64a929df1b9b37c02c1be1e4323114483adb0d
refs/heads/master
2016-09-05T14:40:43.099330
2012-08-30T20:40:12
2012-08-30T20:40:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,414
py
import numpy as np import flu import matplotlib.pyplot as plt AA = ['A', 'R', 'N', 'D', 'C', 'Q', 'E', 'G', 'H', 'I', 'L', 'K', 'M', 'F', 'P', 'S', 'T', 'W', 'Y', 'V'] def count_AA(seq): dict = {} for word in AA: dict[word] = 0 count = 0.0 for word in seq: if word in AA: dict[word] += 1 count += 1...
[ "aatish@gmail.com" ]
aatish@gmail.com
9a0e986d7a22643c61cfa7262cfcd710ef3b77b2
154a9c4255ec016154e5461cacb998bcfaec37c1
/aitdt/urls.py
a81900cab2260f2aa69856cc2760167a1d1fa8e6
[]
no_license
BetterTribe/aitdt
1f5f66d3c3dcfea02340d6294362e2706b7dad8c
6ebd5e3fb8c7bc53a9d76b8dc898bc1b7f0a4c88
refs/heads/master
2020-07-09T19:09:33.271767
2019-08-31T21:24:28
2019-08-31T21:24:28
204,056,229
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
"""aitdt URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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-based v...
[ "11donank22@gmail.com" ]
11donank22@gmail.com
d56e7846c82c52f70ed8995eae5b8812797b0c59
8f6aa9ac9c8c2e409875bbf36fbc49b3eb37d88b
/enthought/blocks/parser_.py
f1a794e50470f6bace4dc005a1697707cf3acf70
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
enthought/etsproxy
5660cf562c810db2ceb6b592b6c12274bce96d73
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
refs/heads/master
2023-03-27T04:51:29.297305
2020-12-02T09:05:18
2020-12-02T09:05:18
1,632,969
3
1
NOASSERTION
2020-12-02T09:05:20
2011-04-18T22:29:56
Python
UTF-8
Python
false
false
93
py
# proxy module from __future__ import absolute_import from codetools.blocks.parser_ import *
[ "ischnell@enthought.com" ]
ischnell@enthought.com
c9bbb18d49a220a9c5dba67e26b75ee3e9d1b3c3
ad1ff82d1361f76b043faa304aa3b7be3652b303
/tools/supervisor.py
40f2f0a9c939658268aa3ae39a028bf539add829
[]
no_license
jon--lee/aor
3a0f92e345a88c347146acba4b9f7513a3a986cf
4a4cd8800dfc209c382507740e68586b34178a1b
refs/heads/master
2020-06-10T05:31:51.179020
2019-06-24T23:48:24
2019-06-24T23:48:24
193,597,583
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
import numpy as np from expert import tf_util class Supervisor(): def __init__(self, act): self.act = act def sample_action(self, s): return self.intended_action(s) def intended_action(self, s): action = self.act(s[None], stochastic=False)[0] return action clas...
[ "123abcjonathanlee@gmail.com" ]
123abcjonathanlee@gmail.com
5e04932dfb27aeb12ad72a0908fe316451c52a4a
46a6f325ae1ea6f107c220a50f7fb86dfd9522a1
/swea/1861/solution.py
a4c8f682f23f68643f66c96cc0cabfa8572c0e09
[]
no_license
jiyong1/problem-solving
5cf6310461ad21be4ce91bdee8eef74cdb3b23db
fce67785eb5fd37e230efbfe571d7446ee78d305
refs/heads/master
2023-03-29T13:18:09.136215
2021-03-31T14:27:15
2021-03-31T14:27:15
331,573,598
2
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
import sys sys.stdin = open('input.txt') from collections import deque T = int(input()) dy = [-1, 1, 0, 0] dx = [0, 0, -1, 1] def canIGo(cy, cx, num): for d in range(4): ny = cy + dy[d] nx = cx + dx[d] if ny < 0 or nx < 0 or ny >= N or nx >= N: continue if arr[ny][...
[ "jyong9591@gmail.com" ]
jyong9591@gmail.com
8fb4c6aa19a856c31c1bdc3e05f50f7c5ae8abb8
ab210a199e94a3da207275813b5430373364376b
/tankgui/__init__.py
2f49f90db714090cb2edee21bc9550aa3ad83fbf
[]
no_license
xmcp/botzone-mccts
b0f416c2ce4b74efd7f5ca9ace73ff7ee0bd99af
e074597507f65862330bc0018d7b1c2b289da99b
refs/heads/master
2020-04-13T22:44:28.903849
2019-11-19T07:25:17
2019-11-19T07:25:17
163,487,243
7
2
null
null
null
null
UTF-8
Python
false
false
13,092
py
from enum import Enum, IntEnum import json import tkinter import tkinter.messagebox import threading import os cwd=os.path.split(__file__)[0] S=9 class Terrain(Enum): air=0 brick=1 steel=2 water=3 base0=4 base1=5 tank_backdrop=6 destroyed=7 killed=8 class Action(IntEnum): id...
[ "xiaoyuanan2000@sina.com" ]
xiaoyuanan2000@sina.com
d396d4af003c59777155a72f329149800f2549f2
b08b43d708717f4341589575bd5756100b708389
/Python/一个复杂的参数传递例子.py
7882290b270d5c5f05c08cac93555ed20559d211
[]
no_license
LeAstrea/Openstack_python_project
50fd1b7901fa6750efd76d58d2477efb8cbb7ae1
c23aa96a8b3d2c6632a335d22c007039a396dd1b
refs/heads/master
2023-03-15T20:52:53.451988
2018-10-30T09:09:32
2018-10-30T09:09:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
# 参数的传递 class test(): def wrap(self, func, a, b=0, *args, **kwargs): print("a get a, b:", a, b) func(*args, **kwargs) def func(self, c, d=0): print("b get c, d:", c, d) def main(self, a, b, c): print("---------1---------") print("c get a, b, c:", a, b, c) s...
[ "noreply@github.com" ]
noreply@github.com
24084e5a12f50ce2ebc7332f32ffb6b573624685
9552e8024de5341f185cc2273e621a1c5278424f
/backend/reviews/models.py
95afb3940f493ea101f3d16e70fa8b8815f0db9f
[]
no_license
Ya-kuku/PJT_PopcornAngle
158e0911e47c7d85cead22a0aa237b2d9673f5ce
5b9bf297efb7f1066cf5999c997aee90ac3dd9a7
refs/heads/master
2023-03-06T06:01:15.728711
2021-02-15T01:51:54
2021-02-15T01:51:54
316,192,691
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
from django.db import models from django.conf import settings from movies.models import Movie # Create your models here. class Review(models.Model): writer=models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE) movie_id = models.ForeignKey(Movie,on_delete=models.CASCADE) summary=models.CharF...
[ "wemanse@naver.com" ]
wemanse@naver.com
be74c2eb7f22ddb1743955e8f99ebba5b1f8546c
80d9de67db6e319723d012dd083838b140e16879
/book_blog/urls.py
70ad2fe10cf69a01cfbec2d345c5ee93623b9bea
[]
no_license
byfenixxx/final_project_makers
8509231f57b613c2ef8b7c35ccfeed3ca795bc60
5e9c1c3ac779fd320a4c1cc19faa0f561cae02ee
refs/heads/master
2023-06-09T21:46:49.151314
2021-07-02T09:12:10
2021-07-02T09:12:10
382,291,962
1
0
null
null
null
null
UTF-8
Python
false
false
1,714
py
"""book_blog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/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...
[ "sanzharkurmanbekov@Sanzhars-MacBook-Pro.local" ]
sanzharkurmanbekov@Sanzhars-MacBook-Pro.local