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
21c72f0be4c269c282c32d3ded7cac8c22f2a902
4c3768f5ee953cbc876c7e12d8aa3949eeba4662
/main.py
4dd5dfce80c2898fd680cbc8ae546540308bb182
[]
no_license
danielsrenwick/lunarGNSS
fad79925d347ee29c9ad35440b36ec3a97ad842a
6cbed9343ee3114569aadf6430f27d2c6504a05e
refs/heads/main
2023-08-10T08:43:47.077413
2021-09-10T11:27:18
2021-09-10T11:27:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,089
py
from pymoo.algorithms.ctaea import CTAEA from pymoo.model.problem import Problem from pymoo.factory import get_termination, get_reference_directions, get_sampling, get_mutation, get_crossover from pymoo.operators.mixed_variable_operator import MixedVariableCrossover, MixedVariableMutation, MixedVariableSampling from py...
[ "daniel@renwick.xyz" ]
daniel@renwick.xyz
698bf48545910120be18a382c66a8d0396334c26
5e2cc156399e1265b5f05201be71618693fc4b50
/utils.py
0770dfc50038c9efc1dd46b779cdc66f5d5520e1
[]
no_license
yuanyehome/Text-Classification-Project
111fdebf6a6b4e974d57449ba5bb33b68c0632f5
5446544e8c04a60757b43a4c6c090cbc103eb31d
refs/heads/main
2023-02-11T18:28:47.924564
2021-01-09T17:56:50
2021-01-09T17:56:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
from prettytable import PrettyTable import time import torch from torch.utils.data.dataset import Dataset def layer_wise_parameters(model): table = PrettyTable() table.field_names = ["Layer Name", "Output Shape", "Param #"] table.align["Layer Name"] = "l" table.align["Output Shape"] = "r" table.al...
[ "2252706531@qq.com" ]
2252706531@qq.com
3baf8e9914792b2d398347aa85e55b038c491263
89fea7d230e282b3bd3cf2d7db1b003e572e6fa8
/genconf/views.py
34042b1fcf0916e223d81ec77069c612f784a390
[]
no_license
madron/genconf
45abaf66010944e2df9ca1bdaa32328267c62584
99c7d82d55b5075299940adfeaff903b0c70bc8b
refs/heads/master
2020-12-04T11:51:16.029577
2016-01-15T09:35:01
2016-01-15T09:35:01
231,754,213
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from django.views.generic import DetailView from . import models class ConfigurationView(DetailView): http_method_names = ['get'] model = models.Router template_name = 'genconf/configuration/configuration.txt'
[ "massimiliano.ravelli@gmail.com" ]
massimiliano.ravelli@gmail.com
f0774a6e287ec0c510b4f0bc8e30866b528f3230
28493b48298133bc8885ace8a3be5d0990814a4f
/gui.py
7729d641c2e47e8f10eebbe6e2cd5f989f57a3b6
[]
no_license
VadimKutovoi/DiffEq
0dd62323b706199a0fe4ad8a341280ab11063c5e
26506768bfda024d2b7c2da7956e61dd2ebd5b01
refs/heads/master
2020-05-25T16:49:16.365771
2019-05-26T12:29:14
2019-05-26T12:29:14
187,894,197
0
0
null
null
null
null
UTF-8
Python
false
false
2,934
py
import matplotlib as mp import matplotlib.pyplot as plt import numpy as np import matplotlib.ticker as ticker import math Fi_a = 3.5 Fi_b = 1 Fi_c = 1 B_a = 0 B_b = 0.25 B_c = -0.25 B_d = -0.5 B_e = -0.5 l = 0 h = 0 tau = 0 a = 0 T = 0 def FuncFi(x, l): return Fi_a * 1 + Fi_b * math.cos(math.pi * x / l) + Fi_c *...
[ "vadim.kutovoi@intel.com" ]
vadim.kutovoi@intel.com
0b66f6ab3a183691b0308c29dabfc36e889109a5
997c82f5d9684945fb2f5d5481dc4d251a93755f
/famapy/core/operations/products.py
70f4b1107b28b43b64401baecdbb3814a6c47f11
[]
no_license
jmhorcas/famapy-aafms
a6e45b5fff2c820037daf95151df5bc6895b1611
bcc80f7061bed4d6bfd536f9d53cf195bffa01e6
refs/heads/main
2023-08-24T05:51:47.337325
2021-10-15T10:18:20
2021-10-15T10:18:20
389,559,981
1
0
null
null
null
null
UTF-8
Python
false
false
270
py
from abc import abstractmethod from typing import Any from famapy.core.operations import Operation class Products(Operation): @abstractmethod def __init__(self) -> None: pass @abstractmethod def get_products(self) -> list[Any]: pass
[ "jhorcas@us.es" ]
jhorcas@us.es
67a36b3377a85c29f958a450f8025f856482a329
9c168aba9bb1386c929416b62ede6203c4c99685
/multicast.py
ac2e94717925d3a8e635b5d89d302e1634faadc0
[ "MIT" ]
permissive
mcomtzg/Legion
8712e8a4de44e54f1c40678dab17f77ef4a1051f
b773efa362216d6efc14ce2750104b62e7ea476e
refs/heads/master
2021-01-24T17:41:50.903440
2017-07-27T01:48:40
2017-07-27T01:48:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,088
py
#!/usr/bin/env python3 """ MultiCast Library Send/receive UDP multicast packets. Requires that your OS kernel supports IP multicast. Usage: multicast -s (sender, IPv4) multicast (receivers, IPv4) Author: Adam Compton @tatanus """ import struct import socket import sys from threading import Timer cla...
[ "adam_compton@gmail.com" ]
adam_compton@gmail.com
917d288dcb4753271813f615e9efb145d87fbe8e
fe9753ee7961e727c8152f2fefc070d142118441
/JSONPARCER.py
16542f78982479c01ce725d9138358503de44e1c
[]
no_license
sviridchik/ISP2_4SEM
443e059f0cb31ff63e84a32eb10b169cd5592b74
ab9e98fb18e31ebe3c9b2c281c70b52f16b1a733
refs/heads/main
2023-05-14T18:48:41.688368
2021-05-12T19:44:34
2021-05-12T19:44:34
364,898,959
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
a ="""{ "AllData": {"ArchiveAndDearchieveConfiguration": { "Archieve": true, "DeArchieve": true }, "FinderInfo": { "Coding": "utf8", "SourceDirectory": "/Users/victoriasviridchik/Desktop/lab2/SourceDir", "TargetDirectory": "/Users/victoriasviridchik/Desktop/lab2/TargetDir/", ...
[ "noreply@github.com" ]
noreply@github.com
16ccd075198cce6a93498c64c9593d76411a3ab4
3d4496ab41b343d8d0f59cb07cbca42c53a9c63e
/collecte_json.py
4fb28acbcc19bdbc5122f3794d5350fff7975059
[]
no_license
RayenGs/BEAR
fbad1b932f75dbe471e37883f6c8c1e1ed891317
fc05afeacc4dde79d8f6e5f4def8bceaa3bc7104
refs/heads/master
2020-04-28T05:27:48.516287
2019-04-11T09:08:46
2019-04-11T09:08:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,945
py
#!/usr/bin/python3 import os, json, time from http.server import BaseHTTPRequestHandler, HTTPServer hostName = "" hostPort = 8000 class SimpleHTTPRequestHandler(BaseHTTPRequestHandler): def do_GET(self): self.send_response(200) self.end_headers() self.wfile.write("Hello, world!") def do_POST(self): con...
[ "rayen.gouasmi@yahoo.com" ]
rayen.gouasmi@yahoo.com
78f02da277f4298af340f876baf26f6f0f8ce38a
9b2255e0a474555d8a4d90f586e280d40224a181
/apps/common/urls.py
b60c575f1aeced024158b7e6f3fbde0719d8e8eb
[]
no_license
rogeriofalcone/redirector
85f496f7c3a3c755b2d9f86f90d25ace783842e4
8255be80ce4e3245317864dcc580a1ef68a7c244
refs/heads/master
2020-04-08T07:03:19.053680
2012-08-12T19:13:35
2012-08-12T19:13:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
from django.conf.urls.defaults import patterns, url from django.views.generic.simple import direct_to_template from django.conf import settings urlpatterns = patterns('common.views', url(r'^about/$', direct_to_template, {'template': 'about.html'}, 'about_view'), url(r'^changelog/$', 'changelog_view', (), 'chan...
[ "Roberto.Rosario.Gonzalez@gmail.com" ]
Roberto.Rosario.Gonzalez@gmail.com
8fd4193624ed4b3ec5193cdc4ac863af4ddabfdf
50b77b527b95659c6ac8484a1091a70b4ad25d73
/2019/19/aoc19.py
fdfbb0fd8a49953dc81279bd988da641306ef860
[]
no_license
cjuub/advent-of-code
d3a4569dd0b7bf7e10dc6a76a1ffe569df4e93a2
bb92d8ae96cde8c3e57abed26019e692fa6e168f
refs/heads/master
2023-01-10T00:32:56.847184
2023-01-02T20:46:57
2023-01-02T20:46:57
160,243,333
0
0
null
null
null
null
UTF-8
Python
false
false
5,337
py
#!/usr/bin/env python3 from typing import List class IntCodeComputer: OP_ADD = 1 OP_MUL = 2 OP_LOAD = 3 OP_STORE = 4 OP_JUMP_IF_TRUE = 5 OP_JUMP_IF_FALSE = 6 OP_LESS_THAN = 7 OP_EQUALS = 8 OP_REL_BASE = 9 OP_HALT = 99 class HaltException(Exception): pass def ...
[ "cjuuub@gmail.com" ]
cjuuub@gmail.com
29386c53267fcde8ec74fd73da0e10408d9972d5
7cca97849a01d940298c308a751e3b0877fa351d
/BI_6.0.7_WebUI_AUTOTOOLS_003/BI_6.0.7_WebUI_AUTOTOOLS_03/BI_6.0.7_WebUI_AUTOTOOLS_03/test_case/bi/订购分析/case周期订购C3.py
bc8ac9667feabeb4b7f5d0cb95737f42fe99fd98
[]
no_license
demi52/mandy
bdbdd2469ae66fe3e72998352e7b6cb24b7486e7
8c3a2447e53f1fcf7d418e171a01c8e94fc4c8ae
refs/heads/master
2020-06-24T21:26:30.243072
2019-08-06T16:05:13
2019-08-06T16:05:13
199,095,515
0
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
from config.conf import Suite __author__ = "luxu" from lib.funcslib import Ioput Ioput.input("file", r"ordercycle.ini") from flow.biportal.orderbase import Order周期订购详情C3,Order周期订购C3 from lib.testsam import * file=Ioput.output("file") class CaseSample首页(FunctionSample): for f in Get.out(Ioput.output("file"), "tim...
[ "daimeiwangcard@163.com" ]
daimeiwangcard@163.com
4f4c05b480029edcb7af13d2faebdd7225be8765
1151584562e21a86147a10b00b624da9a8e194ac
/Substitution/multiplicative.py
77ce336b0616c47453ec1b65925a9399daa8c57d
[]
no_license
md3997/Cryptography
b0c0e7a858b955bb2181e587275927f8b9e58030
82c136350396bcc86210b7d584e7c4154bfaf407
refs/heads/master
2020-03-26T17:10:46.545111
2018-08-18T14:55:54
2018-08-18T14:55:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
def multiplicativeCipherEncrypt(pt, numberOfShits): pt = pt.replace(" ", "").lower() alphabets = [chr(i) for i in range(97, 123)] mapping = {i: alphabets[(alphabets.index(i) * numberOfShits) % 26] for i in alphabets} ct = '' for ch in pt: ct = ct + mapping[ch] ...
[ "mandardeo1997@gmail.com" ]
mandardeo1997@gmail.com
6679f8edd473df05f89e950e19b4b6a8ea6cb8d8
e5b65726d20ba10bd505b174d2e52e0dc3dd906c
/_python/django/DjangoRelationships/apps/firstapp/urls.py
b5cb4644b268a173a95ef63b3f9fcca8819cb78a
[]
no_license
codingdojotulsaaugust2019/instructor_phil
f4356b2b830df59315b817653592d9516f8ae6d2
d84ac8c472d6ebad6ffadba31306ce2515d01086
refs/heads/master
2023-01-28T08:33:01.171107
2019-11-12T22:52:48
2019-11-12T22:52:48
203,250,688
0
1
null
2023-01-07T11:33:10
2019-08-19T21:10:24
Python
UTF-8
Python
false
false
184
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index), url(r'^cars$', views.add_car), url(r'^passengers$', views.add_passengers), ]
[ "pkrull@codingdojo.com" ]
pkrull@codingdojo.com
10307f97047866c36565b596a4eda346c81bc545
d9e35a05bad8b2718f48c5fd10c554c03b26d8de
/Cron/event_cal/sensitivity.py
a4d1eaf991cc62622fe967a782dd28573babae61
[]
no_license
lwenj2012/PoliticalInfiltration-1
498c65705bdc56678d966a63a6e65f6e8f7e0435
06f137b001f204aad8e5c997402548695cf4a89c
refs/heads/master
2021-03-03T10:23:43.507672
2020-04-02T11:49:05
2020-04-02T11:49:05
245,954,003
0
2
null
2020-03-09T05:48:17
2020-03-09T05:48:16
null
UTF-8
Python
false
false
6,453
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author: Hu @time: 2020/2/18 10:10 @file: sensitivity.py """ import re import ngtpy from bert_serving.client import BertClient import numpy as np import os import pandas as pd from elasticsearch import helpers import sys import math sys.path.appe...
[ "huzf1218@gmail.com" ]
huzf1218@gmail.com
0ac533c32c7ad7b44e56bbcaef655495db6d3b65
a440b7f3427230ace64bb7abf1c57d83f981ea2c
/P05 - K-means Clustering/P05.py
6385e8834edd0e9395d04dd44e014120da164b03
[]
no_license
HyperionNKJ/Machine-Learning
0786a0c5a895fb02b267807a725d199ab4f6564a
c5c2485fce2621ac1d2fe05ad586f54cc9afddcc
refs/heads/master
2020-12-13T23:10:49.200577
2020-01-17T13:59:59
2020-01-17T14:53:51
234,558,589
0
0
null
null
null
null
UTF-8
Python
false
false
2,389
py
import numpy as np from matplotlib import pyplot as plt import matplotlib.cm as cm class kmeans: def __init__(self, x1, x2, k): self.x1 = x1 self.x2 = x2 self.k = k self.X = np.array(list(zip(x1, x2))) # return X, cluster labels, coordinates of cluster centers(shape = (15,2...
[ "kjneo1996@gmail.com" ]
kjneo1996@gmail.com
e15b73b908b5a921a72dca61a06a943c370f99cd
f0d925b64af90d903971aeb23225d9a4e98ee77d
/.ENV/bin/pip3.8
a98feb7c8a598d868ad62356c4a9adff236c6bde
[]
no_license
joseduno/django-playground-web
8d0fd7c8746eaf4ffcd83970f95340dd23234f2b
a2121ac5e0e1ac06490e08b07f9f305988969778
refs/heads/master
2022-12-22T07:36:58.654226
2020-10-04T20:00:05
2020-10-04T20:00:05
291,525,753
0
0
null
null
null
null
UTF-8
Python
false
false
243
8
#!/home/duno/CursoDjango/.ENV/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jose.duno@spymovil.com" ]
jose.duno@spymovil.com
990e2217fe711cd73fd1d06d8903d92f9d4bb47a
7d2f933ed3c54e128ecaec3a771817c4260a8458
/venv/Lib/site-packages/sklearn/tests/test_random_projection.py
4a928196200e0a3c341825db400be0947b1e67b0
[]
no_license
danielmoreira12/BAProject
c61dfb1d0521eb5a28eef9531a00e744bfb0e26a
859f588305d826a35cc8f7d64c432f54a0a2e031
refs/heads/master
2021-01-02T07:17:39.267278
2020-02-25T22:27:43
2020-02-25T22:27:43
239,541,177
0
0
null
null
null
null
UTF-8
Python
false
false
14,126
py
import functools import numpy as np import pytest import scipy.sparse as sp from sklearn.exceptions import DataDimensionalityWarning from sklearn.metrics import euclidean_distances from sklearn.random_projection import GaussianRandomProjection from sklearn.random_projection import SparseRandomProjection from sklearn.r...
[ "danielmoreira12@github.com" ]
danielmoreira12@github.com
a21ddf111b795ac1aaf0b8014d7ce5ef4f7a9966
501a91abf128b9d7b8ce0ade09e719c9ec201a7d
/jaut/finished-lab12/compiled_jti/pbj_pb2.py
c4d14acc6920b8c89fb7c0767a79e2b8a7516a71
[]
no_license
ysaied/jncis-devops
d9cc1de43c70b68c4f292eb8cca6ce9cf5332ca6
0a2b26cba2589a2ed99945390a1783ed91d45f4a
refs/heads/master
2021-08-07T10:28:17.138902
2021-03-07T08:32:19
2021-03-07T08:32:19
245,346,111
0
0
null
null
null
null
UTF-8
Python
false
true
8,805
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: pbj.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _messa...
[ "ysaied80@yahoo.com" ]
ysaied80@yahoo.com
b6e2564b8a64a638b17c87155a6dc7dea9ea4494
427d191b5c7275a840e54dc6db79be45afd4363f
/LSTM_5_1/6_10.py
c6f0c6757410c5401c25a31b578606f5c5730868
[]
no_license
wangxiong101/MyItem
b4b23525456deb7330c781cf0720178445596667
3a048038e6b33e11fa0f92c7583353d012c49ae4
refs/heads/master
2022-12-26T08:11:07.429069
2020-10-10T10:55:14
2020-10-10T10:55:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
import numpy as np Loc = [93] Sgroup = [i for i in range(13)] Pgroup = [i for i in range(13,93)] groups = { 'S' : Sgroup, 'P' : Pgroup, 'SL' : Sgroup + Loc, 'PL' : Pgroup + Loc, 'SP' : Sgroup + Pgroup, 'SPL' : Sgroup + Pgroup + Loc, } assert group in ...
[ "31409729+TreeNewWind@users.noreply.github.com" ]
31409729+TreeNewWind@users.noreply.github.com
57d9e7e85e4457da61a3353cc4c87eae270b7087
f10721c8e65e928ab2dc26366d6cf701e13f6c6a
/software_challenge/manage.py
12bf6df7342dac8dafe7859b28816f7111bfa23b
[]
no_license
dogbeide/SoftwareChallenge
0bbbb98544b5411f572a9ad993b7bf0c94ad2e84
01c062f74eca9b440ef6b1a1c41723165b99f673
refs/heads/master
2021-08-21T21:04:35.537922
2017-11-29T02:53:43
2017-11-29T02:53:43
111,731,505
0
0
null
2017-11-29T02:53:43
2017-11-22T20:55:10
JavaScript
UTF-8
Python
false
false
816
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "software_challenge.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensur...
[ "boyowao@gmail.com" ]
boyowao@gmail.com
7a05fadb04f7095039de7c80f514ced4dad3eeb8
8033688716c7b120d8105fb98152467c515d7d03
/makeScalingFunctionPlot.py
edde28e4600681d9c21512f107d64dfddf7b3b24
[]
no_license
jonathon-langford/EFT-Fitter
68214a8f46e9817dc7add99d16e3260ae5d1617d
1cebdef80497bb66ac2d262e2347c4d8100f94b8
refs/heads/master
2023-05-20T06:51:21.341971
2021-02-12T19:35:12
2021-02-12T19:35:12
338,414,103
0
2
null
null
null
null
UTF-8
Python
false
false
7,914
py
import os, sys import json import re from optparse import OptionParser from collections import OrderedDict as od from importlib import import_module import pickle import ROOT import numpy as np def get_options(): parser = OptionParser() parser.add_option('--pois', dest='pois', default='params.HEL', help="Name of j...
[ "jl2117@ic.ac.uk" ]
jl2117@ic.ac.uk
992a5b4b59051118d2a401970b9ab392aa4db485
7fbd5c1229bc0fb40c6ec4e0cd21d6701a293588
/model/mask_rcnn/model/simple/rpn.py
4a9327f470cbfd00963d67ae9e3f076feab902ba
[]
no_license
liruilong940607/carnava-image-masking-challenge
5f318a2481a1da9f50d26470cd4687d2d3e435d5
56800803bb3172cc6b47fc66004ea31250bf3f4b
refs/heads/master
2021-07-16T20:07:08.322438
2017-10-15T13:37:54
2017-10-15T13:37:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,220
py
from common import* from dataset.box import * from net.mask_rcnn.model.simple.configuration import * def rpn_bases(cfg): bases = make_bases(ratios = np.array(cfg.rpn.ratios), scales = np.array(cfg.rpn.scales)) return bases def rpn_windows(x, f, bases, cfg): stride = cfg.rpn.stride allowed_bo...
[ "hchaolee@gmail.com" ]
hchaolee@gmail.com
af61f8bb6da1586678deb860f9c61b6e97ed9b2e
3ccbd6e4d37e9a61b4301bc118400933df69862b
/AItutor/backEnd/dance_learning/etc code/graph.py
0e4b4b98373961b8287cc445e5df2453afe531a7
[]
no_license
jimschenchen/2019-projects
5c6d550fca0d5fb305293f2a6d07a0e0b1c326f5
df7bf412d85e55ea1bfb97998b141711b68f5a75
refs/heads/master
2020-06-21T23:31:40.062867
2019-07-18T12:35:24
2019-07-18T12:35:24
197,578,899
1
0
null
2019-07-18T12:03:07
2019-07-18T12:03:06
null
UTF-8
Python
false
false
762
py
# -*- Encoding:UTF-8 -*- # import pickle import sys import json import os from glob import glob num = [] txt_paths = sorted(glob.glob('*[0-9].pkl')) for ind, txt_path in enumerate(txt_paths): #file isn't exist if(os.path.isfile(txt_path[:-4] + '.txt') == False): with open(txt_path,'rb') as f: data = pickle.load...
[ "jimschenchen@163.com" ]
jimschenchen@163.com
7f40a80d620a8d6c6aa4dd7a7b3b2beacf0ab887
f437229856bbce2476c70a72713c5373a3500f90
/players/migrations/0025_auto_20201112_1801.py
49f2774a851af25976cbeba3794ca049263e6a23
[]
no_license
tehnomanik/scumanager
b856adf4fef2004645ef9e4373c3f03b904c8c9a
cc9ab3df07c33c7fbf724715b7eeaba1d882df4a
refs/heads/master
2023-01-14T05:25:58.856744
2020-11-17T20:48:58
2020-11-17T20:48:58
310,887,801
0
1
null
null
null
null
UTF-8
Python
false
false
898
py
# Generated by Django 3.1.3 on 2020-11-12 17:01 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('players', '0024_auto_202...
[ "tehnomanik@gmail.com" ]
tehnomanik@gmail.com
d46160d4b3fcc0f0935469cce665f4bc5d1f2654
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/ACL_PyTorch/built-in/cv/HRNet_mmlab_for_pytorch/map_postprocess.py
9515b6bba2a62d6ba9e100ca207748cfdeb8e959
[ "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause", "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,010
py
# Copyright 2023 Huawei Technologies Co., Ltd # # 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 agree...
[ "gaokai33@huawei.com" ]
gaokai33@huawei.com
0b50117110d294e44696a9a02d9e66259d4d6d2c
bc6b9dbb32a1eabbc976d2304a04f0f56428323d
/blaseball_mike/models/election.py
ddc0f1d9fdde8bd703da2e3ffc47835139cddbab
[ "MIT" ]
permissive
rgallo/blaseball-mike
d49145c36144e2b25f51013eac24e0c88472b1d1
6a578f5cb1c83073185fa88a19f3e517446b79e1
refs/heads/master
2023-06-27T01:43:45.425963
2021-08-02T20:41:16
2021-08-02T20:41:16
370,364,855
0
0
MIT
2021-08-02T20:41:39
2021-05-24T13:37:58
Python
UTF-8
Python
false
false
6,331
py
from .base import Base from .team import Team from .. import database class Election(Base): """Represents the current election""" @classmethod def _get_fields(cls): p = cls.load() return [cls._from_api_conversion(x) for x in p.fields] @classmethod def load(cls): """Load t...
[ "ryan.littleton0@gmail.com" ]
ryan.littleton0@gmail.com
4a1cbb5d6dc42d369ef90f048def96805105cba5
bb0a28f1c7140fc75241085af4d772bf690c92c5
/books/deep-learning-from-scratch/common/multi_layer_net_extend.py
18e40c7f861dbcf3e7d09935f4a3369c850c2337
[ "MIT" ]
permissive
oonisim/python-programs
dcddad2df3d3451169e79d053624072706091741
b592c9bf004d9f2ca6b014eae0e9623e5567bcff
refs/heads/master
2023-08-23T19:09:19.425013
2023-06-23T03:38:29
2023-06-23T03:38:29
224,111,443
2
2
null
2023-02-16T07:37:54
2019-11-26T05:40:37
Jupyter Notebook
UTF-8
Python
false
false
6,905
py
# coding: utf-8 import sys, os sys.path.append(os.pardir) # 親ディレクトリのファイルをインポートするための設定 import numpy as np from collections import OrderedDict from src.common import numerical_gradient class MultiLayerNetExtend: """拡張版の全結合による多層ニューラルネットワーク Weiht Decay、Dropout、Batch Normalizationの機能を持つ Parameters ---...
[ "oonisim@gmail.com" ]
oonisim@gmail.com
951b77e361f2118df09ebf9cbe9d960fbb3e7e40
3b59e49bc78d81d004893bc37af7d5318d62915a
/internalblue/fw/fw_0x422a.py
b37de30e112f8535e0791cc981a57052c9948a76
[ "MIT" ]
permissive
superf0sh/internalblue
ea7283f8b69c93dfd5668369a230ea1360e6a203
bc0aa11ef39cfa42030dacd6284768f1771d9bc7
refs/heads/master
2020-05-19T12:05:24.374797
2019-03-29T14:33:21
2019-03-29T14:33:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,587
py
#!/usr/bin/env python2 # MacBook 15" early 2011 tested with Ubuntu # # Generic firmware file in case we do not know something... # # Copyright (c) 2019 Jiska Classen. (MIT License) # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (t...
[ "github@jiska.de" ]
github@jiska.de
5d6499d3cdbb2859a3ae0a165a2ecc9127f8e572
a5965ccd1c53e88dfec2e9e885da368ea8626b5d
/matcho/views.py
f1f4cdb1bd474ea10fc3147217ea53ec6a216301
[]
no_license
deftydev/Matchmaker
59320bdd890b4a3577972296d171fe49ff6af677
2202279e185611ea2897bd5b9848d3d5ca7548a3
refs/heads/master
2022-08-02T08:41:55.527520
2020-06-01T09:58:17
2020-06-01T09:58:17
268,476,247
1
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
from django.contrib.auth import get_user_model from django.contrib.auth.signals import user_logged_in from django.dispatch import receiver from django.http import Http404 from django.shortcuts import render, get_object_or_404 from jobs.models import Job, Employer, Location from profiles.models import Profile from .mo...
[ "devanshgupta79212346@gmail.com" ]
devanshgupta79212346@gmail.com
36ce4dab876b4e0563d62a00bacf57b77742f175
53ddbcbb72d50bdf9a2157b4aedb5ded73216aa1
/setup.py
5ee8bd27e8a22904cceafe508a68756c097a1b12
[]
no_license
glahr/threading_gustavo
cd9abe5ed7cb755db1c940fe1abe49b9ef80ca5e
bccb8ace31ab15e566a51de52b119af6bd4072fa
refs/heads/master
2020-03-28T20:57:08.208026
2018-09-19T07:53:13
2018-09-19T07:53:13
149,116,619
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup # fetch values from package.xml setup_args = generate_distutils_setup( packages=['threading_gustavo'], package_dir={'': 'src'}, ) setup(**setup_args)
[ "gjgl.lahr@gmail.com" ]
gjgl.lahr@gmail.com
7af69734b3d0402997a391b6d9ea7aa021398234
8758b941fe5e9a92492c013c7cbead9e5584339b
/build.py
e0b41e31462976066645ff6bbc44704632f1f05d
[]
no_license
kevinmore/fltConverterGUI
e1f55bd6dcdb2c3ed146aabe2a4f1d6b8142f8be
df6f90e000aecfad58c037692138a1b24ee2a19e
refs/heads/master
2021-01-19T10:20:56.390570
2014-03-25T17:01:36
2014-03-25T17:01:36
18,108,540
3
0
null
null
null
null
UTF-8
Python
false
false
456
py
from distutils.core import setup import py2exe, sys, glob sys.argv.append('py2exe') setup( data_files = [("Resources", glob.glob('Resources/*'))], options = { 'py2exe': { "optimize": 2, "dist_dir": "Havok OpenFlight Converter", "dll_excludes": ["MSVCP90.dll"] ...
[ "dingfengyu@gmail.com" ]
dingfengyu@gmail.com
856c6ebfb20257e14b4afbe82626ed609abfb324
ff44d610ebb1f6c67e884762284eedc8ac844e44
/ship.py
8cb76c1122fcc8775beefd93e090e9157b24a0d2
[]
no_license
suiyidajiangyou/alien
a07d45cc72f3982a30ac6fc18471b595829807bb
32f7d5f3848e86df2533598c4a4c44d65e01be4d
refs/heads/master
2021-09-09T19:27:14.357613
2018-03-19T07:51:29
2018-03-19T07:51:29
125,820,972
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
import pygame class Ship(): def __init__(self,ai_settings, screen): self.screen = screen self.ai_settings = ai_settings self.image = pygame.image.load('images/ship.bmp') self.rect = self.image.get_rect() self.screen_rect = screen.get_rect() self.center = float(self...
[ "32216173@qq.com" ]
32216173@qq.com
90bf0c478a54786446ee065fd3e8ab565c3ce656
3511e1edc150d55e9b86e03851d7d88641bd7895
/panda/lib/python3.7/reprlib.py
0d7df777ea4ce1ac00c0c5a2dc59212a346c799b
[]
no_license
abdjahiduddin/Project_CCA
2f723a068d684b4409bb22dfb08b312b64022dd2
67229b1b1dfed07391973284a7db653bac14b54e
refs/heads/master
2021-12-31T19:58:25.149238
2021-12-09T13:33:42
2021-12-09T13:33:42
203,208,219
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
/home/jay/miniconda3/lib/python3.7/reprlib.py
[ "abdjahiduddin" ]
abdjahiduddin
6579ed7eda70af3fb0f70a442bdb4d7c70ed8293
ada9be340c3774543364915a040a110bde17e383
/python3/tencentyun/__init__.py
385be21266e733302455ae58252133323069f124
[ "MIT" ]
permissive
EdisonLiang/python-sdk
bed997d86510dba37206b968c6154040866f1291
46140734214bb2ed222fb45d106990ac4fcd183d
refs/heads/master
2020-12-11T05:43:23.409502
2015-09-25T07:39:19
2015-09-25T07:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from .image import Image from .imagev2 import ImageV2 from .video import Video from .auth import Auth
[ "hoojamis@gmail.com" ]
hoojamis@gmail.com
e524217ab7f7ebe8f9152498eee5b08ba0d1e677
4ee00dce848b72924161f646da8c2766001617e5
/5th_year/Computer_Vision/lab5/lab5-logistic-regression-own-digit.py
e737ec285cb913f332fafcc076858459b098aee9
[]
no_license
Lenkelheit/University_Applications
12432ffdc0b79ae0964fe2ab23c0ece85e2f06a1
10e8a95415846f6a9eba58711dda535eb7307dfc
refs/heads/master
2021-06-10T12:02:22.049028
2021-06-05T21:15:44
2021-06-05T21:16:09
154,336,063
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
from sklearn import datasets, metrics from sklearn.linear_model import LogisticRegression from sklearn.preprocessing import StandardScaler from skimage import io, color, feature, transform from skimage.filters import sobel mnist = datasets.load_digits() images = mnist.images data_size = len(images) # Preprocessing im...
[ "tymtsiv2710@gmail.com" ]
tymtsiv2710@gmail.com
59f3a61a411096f49113230d614abf5415246dfb
2235e7dd35bc4d212a5f4fe5a66bd0efc1518701
/foodometer/urls.py
e439484919ffa4f72dffb82c60e6fb7994c16837
[]
no_license
gogiakush/foodometer_final
aad2f71f4cada38fc455fec194312712de78e1ef
a2d2e07b5cee693c6f0889c38bb81ec8c6ed9c3c
refs/heads/master
2023-09-03T15:16:01.189369
2021-09-24T18:49:55
2021-09-24T18:49:55
285,451,727
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
"""foodometer URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "gogiakush@gmail.com" ]
gogiakush@gmail.com
f615d48061218732ce9a42d3e37ebe9c895c6fcb
29d06ec5a56f7d58ec78e762a7ab74fec959dd11
/september/settings.py
cce1fd66bf08ad42e3d9fa679bcefec4e7b0fdde
[ "MIT" ]
permissive
kikeh/contacts
abf7bf421b0ff2018e1917c95777cdd08210a1ab
3aef9462347cdeaab393ea93866b91c20acba870
refs/heads/master
2021-01-17T17:43:28.506713
2016-09-29T18:02:48
2016-09-29T18:02:48
61,233,917
0
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
""" Django settings for september project. Generated by 'django-admin startproject' using Django 1.10.1. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import ...
[ "heisba@gmail.com" ]
heisba@gmail.com
63e0c4f8c12b61c7d64937f8f6d8e49ee3bab0a4
1ebac62ee6d69e9d6e616f3aa774b8ee0c9d0063
/imageAnalyzer/helpers.py
9cb2578e7a4fe51fc1f181422c5fffd5faf3a60f
[]
no_license
yaniv120892/ImageProcessing
9d7cbb995af9aa32a6575e63c62cc23b0facdbd1
dd332712e7a034bc4662cd212c05a0173ef99a72
refs/heads/main
2023-07-03T05:56:51.216441
2021-08-07T13:53:00
2021-08-07T13:53:00
393,681,083
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
import json def write_to_json_file(obj, file_to_write): json_string = json.dumps(obj) json_file = open(file_to_write, "w") json_file.write(json_string) json_file.close()
[ "yaniv120892@gmail.com" ]
yaniv120892@gmail.com
7f6bd6db1950bb212336a9d800d41cf1c6515222
27556d221db5669fd74dd57344ded4cf2942c0ae
/contact/views.py
b49b69a35b79e8d1d331c3b66fb8e75ee39ac4b8
[]
no_license
edzen12/sendEmail
60a9dce424ec80c41b68b1092a55259154c4e080
eb2a8feb609d9034695674a94308ed70ea600bcd
refs/heads/master
2023-08-25T03:36:38.538297
2021-10-12T08:45:11
2021-10-12T08:45:11
416,253,922
0
1
null
null
null
null
UTF-8
Python
false
false
277
py
from rest_framework import viewsets, mixins from contact.models import Person from contact.serializers import PersonSerializer class PersonViewSet(mixins.CreateModelMixin, viewsets.GenericViewSet): queryset = Person.objects.all() serializer_class = PersonSerializer
[ "oichiev.edzen@gmail.com" ]
oichiev.edzen@gmail.com
074ab027cb4315eb20983fe8da8f25ebce12fef8
6a9ffdcdb5a66fb91f93452b9f1a6cbe8d90f8ce
/masking.py
d4394a26aa2ed3804fe530d4139006ab35f9f748
[]
no_license
sajid3900/Regression-in-Solid-Mechanics
d49b33028c417caa1d4941867867f157c483cc8a
3b5d912cd062fc6349e4e267a025a22a9a15f19e
refs/heads/master
2022-11-10T09:08:26.736611
2020-06-21T13:23:06
2020-06-21T13:23:06
273,908,409
0
0
null
null
null
null
UTF-8
Python
false
false
2,155
py
import tensorflow as tf class SequenceMasking(tf.keras.layers.Layer): """Masks a sequence by using a mask value to skip timesteps. For each timestep in the input tensor (dimension #1 in the tensor), if all values in the input tensor at that timestep are equal to `mask_value`, then the timestep will be ...
[ "noreply@github.com" ]
noreply@github.com
d31c6c6d2c15286fb322e5cf99004ad713e4dbd5
a18b6b49902543cf01b031b02268e1af41260006
/.metadata/.plugins/org.eclipse.core.resources/.history/1e/5049598e225200151c1b974e2966b381
56e6dd81ae7a3355f96209fd27b1aab51393f2b9
[]
no_license
jinyalin/Myproject
70392321f7f9c7fb05d8ccf71acaeec426b1c62b
dea4433bae9fb912db69f29905937af6fb86568e
refs/heads/master
2020-05-17T20:12:46.906116
2015-10-19T14:32:33
2015-10-19T14:32:33
42,420,127
0
0
null
null
null
null
UTF-8
Python
false
false
4,776
#!/usr/bin/python # encoding: utf-8 from urllib.parse import urlencode from httplib2 import Http import pymysql import datetime import time import logging import socket def connDB(): #conn = pymysql.Connect(host='210.14.134.77',port=13306,user='notice_plate',passwd='hskj&U*I(O1207',db='monitor',charset='utf8') ...
[ "582559708@qq.com" ]
582559708@qq.com
3191a0e4372d35548cac3407b28961fcd2892328
e2a96b89ab6bf33344b9486a36439d5a4607f8c8
/28_threading/lock_demo.py
ae65c0b82d413b5f387dc51162139fdbbb7ab5e2
[]
no_license
canwe/python3-course-advanced
49339ae485738ef1dd8b2bd9fa956c39fd7ca9f3
bcc94b5977c377daccbba3b27c64f1eec298647a
refs/heads/master
2020-05-26T09:36:05.769006
2017-11-06T16:46:04
2017-11-06T16:46:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
import threading """ We may have a use case where more than one thread will need to access the same resource at the same time. A lock is provided by Python’s threading module and can be held by either a single thread or no thread at all. Should a thread try to acquire a lock on a resource that is already locked, that...
[ "joao.guerreiro@dengun.net" ]
joao.guerreiro@dengun.net
5c479fef2ba2a813946fd55f85dddcb13b08b531
73cd89c29b15382557eecdebf41339e2053aa4fb
/venvn/bin/pilfont.py
7ad3126accd5fb9ba5e54a1046180b9ee742871c
[]
no_license
halfbloodprince107/schedularapp
099d599a41ccb3ba769eec814c8c1f8c9d4998a8
1bf970775d60c91213b04fc13207af0f18296e2f
refs/heads/master
2021-01-12T16:24:19.393655
2016-11-08T04:02:33
2016-11-08T04:02:33
71,989,189
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
#!/home/consultadd/pranay/project/loginregister/venvn/bin/python # # The Python Imaging Library # $Id$ # # PIL raster font compiler # # history: # 1997-08-25 fl created # 2002-03-10 fl use "from PIL import" # from __future__ import print_function import glob import sys # drivers from PIL import BdfFontFile from ...
[ "nileema.g@consultadd.com" ]
nileema.g@consultadd.com
2ab8cff3b129ff45ca9388ca0f2911afc6008d9c
72d119b3cb832ec88725b521e354e481a85f87b6
/FERRAMENTA/MOGD-Ferramenta-SEMINTERACAO.py
10d93922e878c9b90aba095b914490f38e1b690f
[]
no_license
thiagorfrf1/Many-Objective-GERADOR-DE-DATASETS
3f8897eeaf5d6438189750315aac42b35caf7eec
32f92fd2f44fc2180363aca29890d5e00c73257c
refs/heads/master
2023-01-23T09:10:25.048668
2021-06-18T06:26:00
2021-06-18T06:26:00
236,584,553
1
1
null
2023-01-06T09:56:44
2020-01-27T20:14:14
Jupyter Notebook
UTF-8
Python
false
false
55,207
py
# -*- coding: UTF-8 -*- import numpy as np import random import multiprocessing import pickle from sklearn.datasets import make_blobs from matplotlib import pyplot from pandas import DataFrame from deap import base from deap import creator from deap import tools from deap import algorithms import rpy2.robjects as robj...
[ "thiagorfrf@hotmail.com" ]
thiagorfrf@hotmail.com
b11c4826fc447b05b9d54f499aeaf774c2e0775c
2783c01da8a212da6ab44e4f39c78f469338a341
/source/mixedpreconditioners.py
f0996920bc4b332a448f684071bf380de5b73608
[]
no_license
firedrakeproject/firedrake-helmholtzsolver
955ac9cd7a7bd06fed51421f374a575877284419
81ad7f0966211f6f44a5eefb587e05e5e3f90cbd
refs/heads/master
2020-04-06T07:01:03.464618
2016-08-31T15:57:07
2016-08-31T15:57:07
19,945,177
1
0
null
null
null
null
UTF-8
Python
false
false
12,989
py
from firedrake import * from mixedarray import * from auxilliary.logger import * from pressuresolver.vertical_normal import * from pressuresolver.mu_tilde import * petsc4py.init(sys.argv) from petsc4py import PETSc class MixedPreconditioner(object): '''Schur complement preconditioner for the mixed grav...
[ "eike.h.mueller@gmail.com" ]
eike.h.mueller@gmail.com
230e1bc2cb14bc2ee4547a7639e5d8be1eb4afb9
217f2d8f76f2d397da3fbf598005ddec34b5f968
/python_koans-master/python2/koans/about_exceptions.py~
4b6b410b3f514beba395fa883cc0457518f794f3
[ "MIT" ]
permissive
mindis/python-2
82783dd7b149abe4df0df39f59b9197d985dae0f
736430c7738400ac49fac8744e2d74f13dc35112
refs/heads/master
2022-03-30T13:57:11.190633
2017-04-19T08:42:48
2017-04-19T08:42:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,842
#!/usr/bin/env python # -*- coding: utf-8 -*- from runner.koan import * class AboutExceptions(Koan): class MySpecialError(RuntimeError): pass def test_exceptions_inherit_from_exception(self): mro = self.MySpecialError.__mro__ self.assertEqual("RuntimeError", mro[1].__name__) ...
[ "manuel.rombach@blue-yonder.com" ]
manuel.rombach@blue-yonder.com
b24883e7dee78e5b77eced916d2902dccf5391a9
9d1a547c92decc2860314033812ea1679f0eb7ba
/for/five_times.py
197d157a5ddee18bf2859403caf1488d01926738
[ "Unlicense" ]
permissive
pythoninthegrass/automate_boring_stuff
acf6d04c616ee3505956edb0a72ba71686520926
dee26d1fe0b41ea22a4d6bd5775a4f320f1c5de2
refs/heads/master
2023-08-30T06:39:57.216985
2023-07-28T22:08:38
2023-07-28T22:08:38
244,089,699
2
1
Unlicense
2023-09-09T15:41:29
2020-03-01T04:59:15
Python
UTF-8
Python
false
false
556
py
#!/usr/bin/env python3 # 5x for loop # print('My name is ') # for i in range(5): # print("Jimmy Five Times " + str(i)) # Gauss' for loop # total = 0 # for num in range(101): # total = total + num # print(total) # 5x while loop # print('My name is ') # i = 0 # while i < 5: # print("Jimmy Five Times " + st...
[ "lance.stephens@okstate.edu" ]
lance.stephens@okstate.edu
244ea4450132751600755a1fc2a6a64e1b52a2d9
423d946229d4e794d88f2a7bf964f62cfeadaab9
/Perceptron-LR-Clustering/plot_db.py
1929d346f75c48692f3bc314954c51ca210c3ab3
[]
no_license
itsmenick212/AI
78ad1cb8083dec4af50e3013da5fa18931a1018c
de2120c96f94716a5db1fa906fd8925d882d1400
refs/heads/master
2022-11-26T01:39:17.389069
2020-07-26T01:19:57
2020-07-26T01:19:57
272,541,413
0
0
null
null
null
null
UTF-8
Python
false
false
5,059
py
import matplotlib.pyplot as plt import numpy as np import pandas as pd import sys from matplotlib import cm import matplotlib.lines as mlines from mpl_toolkits.mplot3d import Axes3D """ Author: Kelsey D'Souza This file contains two functions for visualizing 2-feature labeled datasets. Its purpose is to give you ideas...
[ "noreply@github.com" ]
noreply@github.com
a950c831386ddc3bd2049db23e626695c198bb3a
6b5572557c4a0785c4b727ee024790ec066ad6f2
/Baekjoon/동적계획법 1/1, 2, 3 더하기.py
c018911cffa41fdf3bdb10a60894fd54e9209e12
[]
no_license
easternpillar/AlgorithmTraining
5be38998dc062d1d02933f61eaca3265e1b73981
c8f05eda86161a7dbacab99154be1af292e7db8a
refs/heads/master
2023-04-29T11:13:34.984005
2023-04-08T07:12:29
2023-04-08T07:12:29
231,875,419
1
0
null
null
null
null
UTF-8
Python
false
false
419
py
# Problem: # Reference: https://www.acmicpc.net/problem/9095 # My Solution: import sys dp = [0 for _ in range(11)] dp[0] = 1 for i in range(1, 4, 1): for j in range(1,11): tot = 0 for k in range(j - i, j, 1): if k >= 0: tot += dp[k] dp[j] = tot for _ in range(in...
[ "roh941129@gmail.com" ]
roh941129@gmail.com
6618204ab3ed59672d5fa15dc237188c064c4842
b889ffee955441597dbe42fd0a15e043966ce8be
/test/SigmasFit.py
b4afc85dcfa62fe0105c776dcaf897721c40dd48
[]
no_license
tbluntsc/KFitVHtobbbar
5b4b6e86d06935c2faa206145d06a50e3e3c43ec
763ca0b215f540fa7fdb520d2ee7d9f9ec8c223f
refs/heads/master
2020-12-25T17:00:35.683494
2016-08-04T11:11:13
2016-08-04T11:11:13
53,402,509
0
0
null
null
null
null
UTF-8
Python
false
false
4,650
py
import numpy as np import ROOT import re pow = ROOT.TMath.Power sqrt = ROOT.TMath.Sqrt RootFile = ROOT.TFile('Egen_to_Ereco_fits.root') SigmasFit = ROOT.TFile('Sigmas_Fits.root', 'RECREATE') #Some shenanigans to extract the number of Eta regions and the number of fits in each region from the RootFile ListOfKeys = R...
[ "tizian.bluntschli@cern.ch" ]
tizian.bluntschli@cern.ch
5679d6f26c4dedbd94c475dc4fc6c92e85fe8069
9f96dffeefb1c36f20218c351aed625e822bda0d
/utils_imports.py
936d44919d6798dbae29e7ffacee65e798bff3e8
[ "MIT" ]
permissive
shgidi/Mask_RCNN
9020e652f6b7c87b390f11a81ebff5b3d2c09ee0
dddcffe4fa40b92d811cf8bf974ed767e2fac464
refs/heads/master
2020-03-26T21:19:14.541782
2018-08-20T07:44:05
2018-08-20T07:44:05
145,380,282
0
0
null
2018-08-20T07:11:37
2018-08-20T07:11:37
null
UTF-8
Python
false
false
1,100
py
from pycocotools.coco import COCO from pycocotools.cocoeval import COCOeval from pycocotools import mask as maskUtils import os import sys #from utils import * # phenmoics utils from imgaug import augmenters as iaa ROOT_DIR = os.path.abspath("/home/gidish/cloned_libs/Mask_RCNN/") # add here mask RCNN path sys.path.ap...
[ "gidish@rahan.phenomics.local" ]
gidish@rahan.phenomics.local
f3880688646bb673bcba7cf3d0fb9ebc68a4b56b
c4339db3470e08d1ff326ac596d3be002ae71b2e
/06_config_hostname.py
83aaa04704d086517851acd2e2144da8a3d4fbc7
[]
no_license
kiranrj07/python_netconf_csr1000v16.6
1734e10f4d928c04c93ce29c300e83ade5255023
d0f3a79f420354ae347636344269da16294e7e99
refs/heads/main
2023-05-24T03:59:50.943627
2021-06-03T17:26:38
2021-06-03T17:26:38
373,589,095
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
from ncclient import manager router = { 'ip': '10.1.1.44', 'port': '830', 'username': 'admin', 'password': 'root@123' } m = manager.connect(host=router['ip'], port=router['port'], username=router['username'], password=router['password'], device_params={'name':'iosxr'}, hostkey_verify=F...
[ "kiranrj07@gmail.com" ]
kiranrj07@gmail.com
88c6758835cc8bcd665daa8338aca8911d49bb52
a5952a3de725e391783c762ec99caab28679ba98
/django/toolkit/utils.py
4d3ff1c0f6243637c0aad27de4f467c0a2d9c2d2
[]
no_license
xiemx/django-vue-admin
77f19ba9456ef35394a0b84cc2085f11fff7b3f0
b506c711a9e916d99f0d3d00973d29d4480f747d
refs/heads/master
2023-03-31T07:41:10.160635
2021-04-08T03:08:03
2021-04-08T04:34:18
355,748,057
10
2
null
null
null
null
UTF-8
Python
false
false
533
py
import requests import re import time import os from django.conf import settings import gitlab access_token = settings.GITLAB_ACCESS_KEY gitlab_server = settings.GITLAB_SERVER def trigger_pipeline(project_id, trigger_token, ref, **kwargs): ''' kwargs variables key-valued must strings. ''' gl = gitl...
[ "mingxu.xie@leetcode" ]
mingxu.xie@leetcode
3c2c49678f06026dbfaa445afe0e4a8220dcbb8b
1f65e7723f1b394cab45005dffff878b9fb43e82
/CP1404/prac_05/word_occurrences.py
d7bc8ec6ea3c8c85e5f3a091a0b1534c381b981e
[]
no_license
BraydanNewman/JCU_Uni
d76938e7984714bd6a0a1c31a8c4307cf3a3eecd
e9543b8fa661edf435745aa80f44e4c84810deb9
refs/heads/master
2023-08-29T20:41:16.388214
2021-11-03T05:18:46
2021-11-03T05:18:46
342,503,981
2
0
null
null
null
null
UTF-8
Python
false
false
312
py
from operator import itemgetter text = input("Text: ").split() words = {} for word in text: if word in words: words[word] += 1 else: words[word] = 1 max_length = max([len(str(word)) for word in words.keys()]) for i in sorted(words.items()): print(f"{i[0]:{max_length}}: {i[1]}")
[ "newmanbraydan@gmail.com" ]
newmanbraydan@gmail.com
a85106bd1af406133aadf6cc7284e4a385429299
48d123a5d0bbed13d02d94cafaa5f0b4555d8f9b
/Hogwarts_10/testcase/test_fixtures.py
b08fe30e098bc9affea51e935c37677460b4b53e
[]
no_license
beitou/api_Hogwarts
22394b09bf012a2e3fb3f8f74cc90ecb7d50ff4f
eb06ff406ff59b7756cb98e18a41d8dce34581c3
refs/heads/master
2023-05-06T15:16:28.793258
2021-06-04T10:25:09
2021-06-04T10:25:09
373,791,375
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
import logging def test_1(topics): logging.info("start") assert len(topics["topics"]) == 2 logging.info("end") def test_2(topics): assert topics["topics"][0]["deleted"] == False
[ "wanwanling@xiaobangtouzi.com" ]
wanwanling@xiaobangtouzi.com
e12d6762e76b184388535c634d9a135c76ad728f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02400/s312694229.py
0e3f00ee5086355e387498233f562d240a9c9fa5
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
import sys import math def main(): r = float(sys.stdin.readline()) print(math.pi * r**2, 2 * math.pi * r) return if __name__ == '__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
378d007413661af3587557a24731e15a33cfe2aa
334fc2752627476cabe53ffe3b31347b6a6ecac5
/7-July.py
b15e9bc235a5b064df56cac3815a6be1a91f7607
[]
no_license
cabudies/Python-Batch-3-July-2018
79dc54e894063c608a1e57fffaf3e99f6688d831
f5911305f99146dc1abf1e5519c726c08b02b0c5
refs/heads/master
2021-07-14T01:06:24.815069
2020-05-19T11:28:06
2020-05-19T11:28:06
139,531,349
2
0
null
null
null
null
UTF-8
Python
false
false
547
py
class Student: name = "" college = "" fees = 0 def __init__(self, name = "", college = "", fees = 0): self.name = name self.college = college self.fees = fees list=[] obj = Student("Gurjas", "DIT", 8000) obj1 = Student("Kunal", "DIT", 8000) obj2 = Student("Pi...
[ "noreply@github.com" ]
noreply@github.com
878cf7f32086ca4bc728eb982d47e874594df573
29439d7172868ccc5f39ecf9e56da0aff35e3e65
/chapter 7/chapter-7.py
84bf53fc5f1fb5ea5889b7f39e5b7926721f69af
[]
no_license
WeijiaMa123/homework
012fc59d93e6b6d8882149e0efde1e3cd75ef2d9
129b1eea7e6e61a4f87669b26a6ed54a1c720a0b
refs/heads/master
2021-09-13T20:35:28.173394
2018-05-04T02:45:24
2018-05-04T02:45:24
112,765,227
0
0
null
null
null
null
UTF-8
Python
false
false
2,221
py
import sys import turtle wn=turtle.Screen() frank=turtle.Turtle() drunk=turtle.Turtle() def test(did_pass): """ Print the result of a test. """ linenum = sys._getframe(1).f_lineno # Get the caller's line number. if did_pass: msg = "Test at line {0} ok.".format(linenum) else: msg = ("...
[ "31965430+WeijiaMa123@users.noreply.github.com" ]
31965430+WeijiaMa123@users.noreply.github.com
47446414bf2daf8ca2dd4bc3ed55e61e9b852640
afb57c99da7b47f124a4347f1387b82f037e7877
/blog/models.py
a7307779526b57585295b01388d622eb42974d75
[]
no_license
Gusein021/my-first-blog
f8d04d0be4e527d219445cc511991502ec86fb0a
37979201b276bf2712d6593b86e757050e9ac121
refs/heads/master
2020-08-11T00:12:18.903092
2019-10-13T03:50:34
2019-10-13T03:50:34
214,450,112
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
from django.conf import settings from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete = models.CASCADE) title = models.CharField(max_length = 200) text = models.TextField() create_date = models.DateTimeField(default=...
[ "gusein019@.ru" ]
gusein019@.ru
396734b6a5d74f2e1766822748382f74366d2960
b7c7f9ffec4bab2e8fe9cb65ffd46ca8189f0e5d
/test_heliport.py
c154ffc395f10597f87f03dfeb185358f47481b6
[ "MIT" ]
permissive
bcorfman/heliport
cf802677febe654204adbaa2f176473dd307c771
d725cba4185a37e040731c87a6a5469cbe7d1766
refs/heads/master
2022-10-07T13:12:08.708809
2020-06-05T17:30:24
2020-06-05T17:30:24
268,340,628
0
0
MIT
2020-06-05T17:38:06
2020-05-31T18:34:36
Python
UTF-8
Python
false
false
3,097
py
from heliport import RoofSegment, Point, Circle, Rect, Heliport from heliport import roof_outline, update_location, read_file, point_in_circle, candidate_edges, \ find_largest_radius_inside, find_helipad_radius class TestHeliport: """def test_sample_output(self): results = '' for i, item in en...
[ "bcorfman@fastmail.fm" ]
bcorfman@fastmail.fm
f435c4a9a714a7eaf9852e2b4ef35884832466f3
ba9639736518830fe2c00a9aad7844a9efbf7d24
/1.4.2_Deep Neural Network Application - Image Classification/imageClassification.py
c5a80ca63d9895f70fce752b4b97207b73532c86
[]
no_license
ArronHZG/DeepLearningAI
a87340af5a9cbe957bc317818c66c0a72a892108
a20e81c73cc8396fd5e024cd48483dbb1c3224df
refs/heads/master
2020-03-27T03:37:40.933321
2019-01-17T04:25:38
2019-01-17T04:25:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,582
py
import time import numpy as np import h5py import matplotlib.pyplot as plt import scipy from PIL import Image from scipy import ndimage from dnn_app_utils_v3 import * plt.rcParams['figure.figsize'] = (5.0, 4.0) # set default size of plots plt.rcParams['image.interpolation'] = 'nearest' plt.rcParams['image.cmap'] = 'gr...
[ "hou.zg@foxmail,com" ]
hou.zg@foxmail,com
589ce7906a414367232a91ba522b84143c9a6b57
075055508e15a8eed9fad14a06227a2374b9c623
/02 Kernel-based Learning/Tutorial 04 - Support Vector Machine/generate.py
2f2c557bf301cb4b2fc94c07afe3bbc8590201b9
[ "MIT" ]
permissive
KateYeon/Business-Anlaytics
ba150c8440069573fe0a6a2b44cf7c3e74755995
454c1cb1b88499e94eeb5e8a7a32309afb7165e5
refs/heads/master
2020-03-28T12:23:17.769947
2018-11-24T08:14:34
2018-11-24T08:14:34
148,292,789
0
0
null
null
null
null
UTF-8
Python
false
false
2,521
py
# -*- coding: utf-8 -*- """ Created on Tue Oct 31 13:58:01 2017 @author: Yooyeon """ import numpy as np from sklearn.preprocessing import StandardScaler # create 2-dimension data (class: y=1,-1) # 100 samples from normal distribution # linearly-separable, non-linearly-separable, linearl...
[ "noreply@github.com" ]
noreply@github.com
7f0be96085b8e1560c713760f00c4e4769ee0cd2
8ec30955ea43c03e162b7c15867b4f1d470fe086
/test/conftest.py
6bc925b6f818ca57ed48268d69c11dc55feb9bb4
[]
no_license
arina-pro/flask
217d32300747e9b1639c076dc162efca110888b0
254ebe46868f1dc10e498403349e4279273b68c2
refs/heads/master
2020-07-10T13:25:59.042562
2019-08-26T13:06:44
2019-08-26T13:06:44
204,272,384
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
import os import tempfile import pytest from flasky import create_app from flasky.db import get_db, init_db with open(os.path.join(os.path.dirname(__file__), 'data.sql'), 'rb') as f: _data_sql = f.read().decode('utf8') @pytest.fixture def app(): db_fd, db_path = tempfile.mkstemp() app = create_app({ ...
[ "arina-pro@yandex.ru" ]
arina-pro@yandex.ru
86cee55ac662fda48b77b0862002ac44e18b51ec
538f5469d1bd817c73efe6cfc8d11d7800ccdced
/model/transformer.py
341cd3cb881dd13e9f1d393e6464422772e1d33a
[ "MIT" ]
permissive
ruiyiw/VT-summ
b63cb29645d0d4a9a4982aa9b1c85b40913be218
897795e307604e724a32ffae175b717ba55b6fa6
refs/heads/main
2023-09-06T05:23:22.682840
2021-11-16T06:39:08
2021-11-16T06:39:08
419,081,027
0
0
null
null
null
null
UTF-8
Python
false
false
22,981
py
### TAKEN FROM https://github.com/kolloldas/torchnlp import torch import torch.nn as nn import torch.nn.functional as F import numpy as np import math from model.common_layer import EncoderLayer, DecoderLayer, MultiHeadAttention, Conv, PositionwiseFeedForward, LayerNorm , _gen_bias_mask ,_gen_timing_signal, share_embe...
[ "berserkhealer@163.com" ]
berserkhealer@163.com
1b065bced2f96564d8b7517d3b16698fa6a03312
b04037287a05a433520126d9fee61f4aa91bcc32
/dsl/analysis_flow_processor.py
86536123b1ff32269c1d6da96d0b2747aa55da3c
[]
no_license
robinjack/dsl_for_data_analysis
74a4d50ccc52c65253d2fc5d15118be1775536fb
f144784377d8736be17de35aa27228b6a9ceccf2
refs/heads/master
2022-11-27T01:59:30.867283
2020-08-06T18:43:39
2020-08-06T18:43:39
254,438,512
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
from utils.const import CLASSNAMES from dsl.function_table import FUNCTION_TABLE def self_map(self): return self def obj_processor(textX_object): ''' Obj. processors can also introduce changes in the objects they process. Here we set "evaluate" function based on the object they refer to. ''' ...
[ "robinmajack@gmail.com" ]
robinmajack@gmail.com
0d3a933cc8970b6430e5055ad9a3b982c1909717
49ec08e0f9335e18853a55d8f26e3f4f243ff4be
/dyndns.py
4746576785e7cc461ccd35074435a5c2406915e4
[]
no_license
therealgambo/dyndns
573eecd0b265090c9c4254a11a7af033e0ae2da8
a1d3b9bcd290174f50c4bede412c6e94dd13fdf4
refs/heads/master
2020-12-02T21:12:54.670421
2017-07-05T03:43:52
2017-07-05T03:43:52
96,273,461
0
0
null
null
null
null
UTF-8
Python
false
false
7,242
py
#!/usr/bin/python3 # Required pip packages # - pip install requests termcolor pyopenssl ndg-httpsclient pyasn1 import collections import requests import smtplib import socket import time from termcolor import colored # Your SiteHost API Key api_key = "ENTER API KEY HERE" # Your SiteHost / MyHost client ID client_i...
[ "git@fucking.nz" ]
git@fucking.nz
674849a1860811c2a1da07971241d91ac3153fa5
b2731b2be3080973fac03258454f657b4411a4e9
/python programs/data wise notes/29 april/default dict ex8.py
1609b826f61b1e8354e833c8d5de0ffbd50421e2
[]
no_license
Pavan1511/python-program-files
db8817a64942b989253a992393283c54df22af81
4701e6c4a60d7b31fd2888c41c7b1f69f37735a6
refs/heads/master
2022-12-10T00:03:43.795916
2020-09-14T16:17:01
2020-09-14T16:17:01
256,945,716
1
0
null
null
null
null
UTF-8
Python
false
false
483
py
#Program: 8 using int as a default_factory function # use of int function in defaultdict from collections import defaultdict def int_defaultdict(): count_chars = defaultdict(int) data = 'abccbacabb' for ch in data: count_chars[ch] += 1 print(count_chars) # {'a':3,'b':4,'c':3} ...
[ "noreply@github.com" ]
noreply@github.com
fade9b5c1817b307aadb3d23edf34995d3f5d250
f09e564ce389fa7df0f1010c414385430f660547
/modifySchema.py
9254d3957d7618f4016d03b630ec170ad1e7f72b
[]
no_license
haidixiansheng/coursePortal
bbf89cd22fe2d1f605fdf80a5c2591de79ac0ac8
10aad71186452c55c72507e83c7ee0a7e6372fe0
refs/heads/master
2021-01-15T20:43:17.376424
2013-08-21T02:24:30
2013-08-21T02:24:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
#!/usr/bin/env python import os import sys from xml.dom.minidom import parse dom = parse('solr-4.3.0/example/solr/collection1/conf/schema.xml') x = dom.createElement("field") x.setAttribute("type","long") x.setAttribute("name","_version_") x.setAttribute("indexed","true") x.setAttribute("stored","true") y = dom.getEl...
[ "tyan@umich.edu" ]
tyan@umich.edu
4710cc6ca7e7276480b00d450e48a62ffad8dea1
013fcd8a1699cbe5c50493c00b2f87e63d173ff1
/Lib/site-packages/attr/validators.py
46dcafc2ecf74360987be79d80cdedcf87f8c1d0
[]
no_license
Homa333/PriorNet
8d894571f7c32d983a93c216749b07b3027160b2
b390f011188d1f23ba8e41eadbe533544105522d
refs/heads/master
2023-07-27T06:38:57.353953
2021-09-08T09:43:23
2021-09-08T09:43:23
365,434,750
0
0
null
null
null
null
UTF-8
Python
false
false
11,537
py
""" Commonly useful validators. """ from __future__ import absolute_import, division, print_function import re from ._make import _AndValidator, and_, attrib, attrs from .exceptions import NotCallableError __all__ = [ "and_", "deep_iterable", "deep_mapping", "in_", "instance_of", "is_callab...
[ "kshitizbhurtel@gmail.com" ]
kshitizbhurtel@gmail.com
719b19ce7e60d6b7a55a48aa5ec48d45ea4dd2bc
8cd5d44b1a03947e05c12deab1866ee8b5028414
/serverSocket.py
78e8d86487394d59a45161f024d6f87072c858d5
[]
no_license
LittleYmada/SocketC-Spy
1cb59d64ef004989249cdd21649b099910661253
3df1a8ce7407bda7d1bd56ff402998ca4f69bfde
refs/heads/master
2021-01-10T16:56:05.193640
2016-03-27T08:32:36
2016-03-27T08:32:36
54,819,523
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from socket import * serverPort = 12000 serverSocket=socket(AF_INET,SOCK_STREAM) serverSocket.bind(('',serverPort)) serverSocket.listen(1) print('The server is ready to receive') while 1: connectionSocket ,addr =serverSocket.accept() if addr!=None: print(str(addr)+' say hello to you') sentence=connection...
[ "13122171080@163.com" ]
13122171080@163.com
83cbbbb33a3d4d6ef78725161c3f3a4209e07bd3
fb8a95beb7447902f7f4b50d2fc885be43df56e9
/plan_dnia.py
36e46b9296b193cfe22af624ce01772357401656
[]
no_license
kwasniep/plandnia
e22deb874374c9867bc06274478e22bcd00c1a5c
aface412a77a037fe7e3f4d76f4d350ec10b40c9
refs/heads/main
2023-08-27T11:16:53.008149
2021-10-28T03:35:43
2021-10-28T03:35:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
import speech_recognition as sr import pyttsx3 import time import csv import datetime engine = pyttsx3.init() engine.setProperty('volume',1) engine.setProperty('rate',150) weekdays={0:'monday',1:'tuesday',2:'wednesday', 3:'thursday',4:'friday',5:'saturday',6:'sunday'} weekdays2={0:'poniedzialek',1...
[ "noreply@github.com" ]
noreply@github.com
8e6955653ad162f1fe7a5fd85b6a47836ca902c4
92d1cd994e34a63f1c12205a80ae2e8e7e91bac5
/binarytime.1s.py
a94cfa9c7b41df6b17c1717c0f1db9dc2aec5239
[ "MIT" ]
permissive
fenhl/bitbar-true-binary-time
695f301bbc662d9e7b705b5a56f152edb6787a48
37e00ce2471ffa58bbd70f2295f0eb1e18e93bf5
refs/heads/main
2021-07-23T01:27:24.580207
2016-09-22T17:18:52
2016-09-22T17:18:52
68,884,215
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
#!/usr/local/bin/python3 import datetime import more_itertools def bits_iter(time=None): fract = fraction_of_day(time) while True: fract *= 2 if fract >= 1: yield True fract -= 1 else: yield False def decode_bits(bits): fract = 0.0 exp = 1 ...
[ "fenhl@fenhl.net" ]
fenhl@fenhl.net
4afc257a660ec3c6036e5a3391b855598c441d8b
75b1e1da6297963dc6da84dcd549ef3f9e46f963
/Voice-wake-up/dataset.py
c10476bdb399a22a54ed176cf97053d82501c2d5
[]
no_license
Chase2816/Voice-wake-up
366797a69fe144060db48fb554a55e16f196b821
e0f0cd207ad86cdee6a7e3c4ab2285309ceb3f78
refs/heads/master
2021-10-09T20:19:23.342325
2019-01-03T05:24:17
2019-01-03T05:24:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
import torch import torch.nn as nn import torch.nn.functional as F from torch.utils.data import Dataset import os import numpy as np import wave class Mydataset(Dataset): def __init__(self,path): self.path=path self.dataset=[] for file in os.listdir(os.path.join(self.path,r"po...
[ "noreply@github.com" ]
noreply@github.com
3fae578b5162e7f5acb831c405be63172c98b6df
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/300a07a56fa3435d495e1ce8762b25d84931bfae7c2899c2825326bcc799b818/typing/re.py
2336d186762e5e40248962573d6c349ef6e6ffaa
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
1,495
py
# encoding: utf-8 # module typing.re # from C:\Users\Doly\Anaconda3\lib\site-packages\statsmodels\tsa\statespace\_representation.cp37-win_amd64.pyd # by generator 1.147 """ Wrapper namespace for re type aliases. """ # no imports # functions def Match(*args, **kwargs): # real signature unknown """ The central ...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
e53e17ad881b1216b23d47377ac2c6c683b429e3
bd079d3a02c2f3ec192bbf580cde41420bc0e7c1
/app/migrations/versions/5beee08aaf5b_room_table.py
1311fdbb6b8e58e0663e38c2e775dabc5ae93966
[]
no_license
freddiejbawden/cloneful
7a30317d18687581aef8490c5d3093049153e6e0
5c049df6c7c2a4f7137e8001f64f3f2bd01ca05f
refs/heads/master
2020-03-24T00:51:08.613520
2018-10-14T14:24:29
2018-10-14T14:24:29
142,311,150
1
0
null
null
null
null
UTF-8
Python
false
false
843
py
"""room table Revision ID: 5beee08aaf5b Revises: Create Date: 2018-07-18 14:29:29.729000 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '5beee08aaf5b' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto generat...
[ "31216525+freddiejbawden@users.noreply.github.com" ]
31216525+freddiejbawden@users.noreply.github.com
78fe24d5908a310034dde4b1a3a62b86bef8dd4f
1eb1c06f8df31a01ad57a76f51a01c05ecb436ac
/set/psvv.py
c7c59fc3d7f79fd175ea84c00a8c04169b259b19
[]
no_license
yyang19/toolbox
2448e4f9140c1edef9307b4df40451e72086cd66
a05f0d12b50321b5eea62d33e791b63d5c4094bf
refs/heads/master
2018-12-18T16:42:56.912761
2018-09-14T17:27:47
2018-09-14T17:27:47
28,947,477
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
from itertools import chain, combinations import numpy as np from classes.container import Container from zipfgen import ZipfGenerator import cProfile class psvv(object): def __init__(self,N,B,arr_p): self.c=Container(B) self.N=N self.B=B self.arr_p=arr_p return def __del__(self):...
[ "yueyang2010@gmail.com" ]
yueyang2010@gmail.com
0a5d100e0892ec58c593d7e9ec545e93ce8e0902
b0e73ff777b74516fe2447eaed057e165e0be49d
/bookapp/catalog/migrations/0041_remove_orderbook_tot_quantity.py
6e9e02fdaf294e5d380f024a56b6e9423267e4b5
[]
no_license
mgonz893/bookdjango
29b3272f308d7eb4038cc6a36e839d8619d2aa96
323e681db55e45f08579f508a381705c9578d641
refs/heads/master
2020-12-26T23:36:03.780481
2020-04-12T20:23:48
2020-04-12T20:23:48
237,686,759
0
0
null
2020-03-27T18:15:10
2020-02-01T22:28:33
Python
UTF-8
Python
false
false
337
py
# Generated by Django 3.0.2 on 2020-03-22 17:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('catalog', '0040_auto_20200321_2002'), ] operations = [ migrations.RemoveField( model_name='orderbook', name='tot_quantity', ...
[ "mguad010@fiu.edu" ]
mguad010@fiu.edu
ed1149b92c5cbd94797d43c59af168a6185672cc
81fe9c8ecf0a7af743356b40af3237ecf85d4a3a
/convertWire.py
b28598f8a291b190552b1a25992caf115ba85372
[]
no_license
d-b-w-gain/Electrical
8ee6b6441d38a8abe40f49368b0d15d544384df5
9a6bb4c9849a027a408016a909a09d0332fb42bf
refs/heads/master
2022-12-08T06:28:55.660200
2020-08-18T06:28:28
2020-08-18T06:28:28
288,320,080
0
0
null
2020-08-18T01:20:20
2020-08-18T00:57:41
Python
UTF-8
Python
false
false
1,219
py
#!/usr/bin/env python # coding: utf-8 # # Convert from AWG to CSA mm^2 using the ASTM B258-02 # # This utility is provided for ROM convenience only. Engineering calculation must be preformed directly from standards. # In[3]: import csv import os def AWG2CSA(gauge) : path=os.path.abspath('.') #print(path) ...
[ "noreply@github.com" ]
noreply@github.com
08b90866b78ffc606ed71f9acec6f5ea3f91bbc8
08de8487e05e22e54d24c2d8f2bf7b43ea9061f3
/src/Control/mainControl.py
f86f6f16cb2e5ffd7185f3f3d3ee152804a9a77b
[]
no_license
faitdivers/pyao
ce539630ff393b473b8244e086b84b725058743d
93fafa6d0cc39d1e312890c6ddeecb1437b9a7ce
refs/heads/master
2021-01-22T11:59:19.133317
2014-07-03T16:24:48
2014-07-03T16:24:48
19,397,453
2
0
null
2014-07-03T16:24:48
2014-05-03T06:50:50
TeX
UTF-8
Python
false
false
112
py
from numpy import * def control(wfRec, paramsAct): return zeros((paramsAct['numActx'],paramsAct['numActy']))
[ "jpedro.e.silva@gmail.com" ]
jpedro.e.silva@gmail.com
743e4249bd85556ce8656911945887f925769dfc
37fe2837f68d9cfbcb4610525da1e60ed5935ec7
/etcdclient/command_desc.py
12065c00f22f4e68cbf97c81db0735b98562e7db
[]
no_license
jrepp/containers
a49ee3a2138d814faba9f6faba99a633dce92b2d
23f2e0fb88f1a85d65f205cf4730e4dcf7df1759
refs/heads/master
2020-06-17T01:36:19.127261
2017-04-27T15:10:48
2017-04-27T15:12:53
75,051,780
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
import time from desc import Desc REQUIRED = [ 'region', 'name', 'args', 'user' ] class CommandDesc(Desc): def __init__(self, base_path, context, **kwargs): Desc.__init__(self) # Commands descriptors are stored as a child under an existing base path self....
[ "jacobrepp@gmail.com" ]
jacobrepp@gmail.com
48d4b9fe1ff3432fc5ef22a33a9d4014933c5d2c
53983c1dbd4e27d918237d22287f1838ae42cc92
/tools/txtIO.py
03e55b006916f7db35cb202eb15e7466473f3329
[]
no_license
xshii/MDAOXS
da5060ea6b6ac600b3b85dddbb7460f62ab4a684
d4c54b79d7c84740bf01d8e8573e54522de2e6d0
refs/heads/master
2021-09-24T10:35:31.295574
2018-10-08T10:54:44
2018-10-08T10:54:44
108,884,304
0
1
null
null
null
null
UTF-8
Python
false
false
873
py
import numpy as np def stlTxtToNpArray(path): path = r"/Users/gakki/Downloads/SU2_mesh_point_clouds/Optimale_orig_points.txt" mesh = np.empty([1,3]) with open(path) as fp: for line in fp: if line.__len__()<5: continue line = line.strip().split(';') ...
[ "xshi@kth.se" ]
xshi@kth.se
39bb988ebc724ca84a128d54b3579fda941215ea
f4261f1a32d6d9b9ada80d0d7e1055aa360060a8
/fabric/contrib/idp/__init__.py
4e1eb8096cfdd70e160ab395cf6971f5ac408c01
[ "BSD-2-Clause" ]
permissive
freyley/fabric
3f472c27694a7914ce052f12400038e5f8eb3054
3e8c8c754f11f5393c90b2f11aef7c8132f34bd0
refs/heads/master
2021-01-18T05:59:00.933066
2011-10-18T22:58:01
2011-10-18T22:58:01
2,564,471
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from fs import Directory, Symlink from vcs import GitRepository __all__=["Directory", "GitRepository", "Symlink"]
[ "freyley@gmail.com" ]
freyley@gmail.com
f41abfac30c6595febcd632edd7376180f78b1d5
92807062430feeedf9a72d589b57263b95bc180a
/profiles_project/settings.py
d6950447bfb0d9ff2211189fc27ea42db9d5066e
[]
no_license
blackerknight/profiles-rest-api
40f2a8bf6d3053077a9a793b8fb4b34d920e0477
b777a0f86e7d9fcf40587e51691435fb4edc7ea6
refs/heads/main
2023-07-31T12:21:50.689168
2021-09-15T03:16:52
2021-09-15T03:16:52
389,187,686
0
0
null
null
null
null
UTF-8
Python
false
false
3,415
py
""" Django settings for profiles_project project. Generated by 'django-admin startproject' using Django 2.2. 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/ """ impor...
[ "eduardomancillamorales@gmail.com" ]
eduardomancillamorales@gmail.com
167439e261d55b4a6013812c4b86be943e29dd30
16e8129f7a12239ed49aabfa04549d90419bb12e
/old_explore.py
1b2cf18e07a1f4df23eb6398cb62957b72fd8c45
[]
no_license
Seanny123/hrl_analysis
0a5a4ff8b672d05760e39ec5558557220d71459d
7ccf2beea6090c1493c4dce95630ef251f9c6548
refs/heads/master
2020-05-18T20:59:29.098987
2015-01-07T23:18:56
2015-01-07T23:18:56
28,878,160
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
not_equal = [] count = 0 for i,j in zip(file_list[0], file_list[1]): if(i != j ): not_equal.append(1) count += 1 else: not_equal.append(0)
[ "saubin@uwaterloo.ca" ]
saubin@uwaterloo.ca
90e532be7870a0d9766f889bfa76fb4503a75568
4b64e1f051a18759eecdaf8365a78b6c70e0efdb
/wsgi.py
b6b153bc34a231494967898bfb755f9d6ba51465
[]
no_license
AliHashimi12345/facebook_login
ac9f2b7e4cf2c0c08036c7b93ede7807cc3ea2f1
a682e36ad6315624be2ae7b5e713694c8f7c56bf
refs/heads/master
2023-09-01T14:56:05.128411
2021-11-02T13:10:56
2021-11-02T13:10:56
423,847,028
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for Alihashimi project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "alihashimivns@gmail.com" ]
alihashimivns@gmail.com
1a37d2f7a618537fb84f62c141d88105e25238a2
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v4/services/ad_group_service_client_config.py
1931ef3dfd64f9494a515ac86c2f1db21526b546
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
false
964
py
config = { "interfaces": { "google.ads.googleads.v4.services.AdGroupService": { "retry_codes": { "idempotent": [ "DEADLINE_EXCEEDED", "UNAVAILABLE" ], "non_idempotent": [] }, "retry_params": { "default": { "initial_retry_delay_millis"...
[ "noreply@github.com" ]
noreply@github.com
0b8f8969df2ebec37197e526f411a892c8f2a200
7976802b53fcdc266167aff97f4fff1a0d801836
/pythonOperators/program_3.py
9e3adf99770c1d78bdb4e44d23d5e73d2c6ed262
[]
no_license
UpendraDange/JALATechnologiesAssignment
938c6ab3384533099b8a8399d5511844cde2cb0a
b81f60ee1f2e836ad51dadc94f007e3a6d81af3e
refs/heads/master
2023-04-20T08:45:33.251261
2021-05-19T16:52:32
2021-05-19T16:52:32
368,906,567
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
""" 3. Program to equal operator and not equal operators """ num1 = 10 num2 = 10 num3 = 20 print(num1==num3) print(num3!=num2)
[ "upendradange@gamil.com" ]
upendradange@gamil.com
59b1db902116a96f05510d33d28160719939cf87
1e53bf7cf0c8f02a96c57bdf036acccf0df2385d
/Practice1.py
16541753397350c441319bd374927dbd8d2349d0
[]
no_license
FitzpatrickAW2085/Back-Up
8478e84da5863e0bc3ff8952980ebacfa99fba87
8d4a664ed2c6649be97f65b9e4bf7395e0232888
refs/heads/master
2020-08-26T20:53:31.352831
2019-10-31T20:00:34
2019-10-31T20:00:34
217,145,423
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# Alan Fitzpatrick # 9/23/19 Period 3 # Practice1.py print("4 * 8 = " + str(4 * 8)) # we need to cast this to string print("12 / 2 = " + str(12 / 2)) print("-5 - 6 * 3 = " + str(-5 - 6 * 3)) age = input("What is your age?: ") age = int (age) print("In ten years you will be " + str (age + 10)) print("Go V...
[ "noreply@github.com" ]
noreply@github.com
66c824ae5c6b6b235b3bb178b980a4953d6ba68e
b615aa786c2a57809196713920e784187b1c1cd6
/53_finetune_crf_loss_new_mask_LOC_max_seq_128_batch_32_lr5e5_lr5e5/CRF2.py
cee3a4b4c1166c0eead2b032679d7c877b88dd3f
[]
no_license
hoon4233/KoElectra-CRF
5ae14d883271e78fcd344b169dddf49a34789af1
0adf89715d1369de097160cb821f931386f2ebb0
refs/heads/master
2023-07-16T19:19:25.229933
2021-09-04T03:13:48
2021-09-04T03:13:48
402,653,513
0
1
null
null
null
null
UTF-8
Python
false
false
14,310
py
from typing import List, Optional import torch import torch.nn as nn class CRF(nn.Module): """Conditional random field. This module implements a conditional random field [LMP01]_. The forward computation of this class computes the log likelihood of the given sequence of tags and emission score tenso...
[ "wogns3141@gmail.com" ]
wogns3141@gmail.com
2252131802f40a5592ac2afb001b250bcf728d2b
1312041dbfbdd30d0d888366c34cd294eb6039f8
/trial/working_code.py.py
500be764cc0b225ecaaca1ecc79b82e16b13512b
[]
no_license
BMSCE-Robotics-Club/Flipkart-GRiD-3.0-Round-1
e8467dcb3836e7300d265336a8fb556270a912fb
a27a609e81791c806a7f0e7cf19546a5f1684f59
refs/heads/main
2023-07-13T23:41:24.243110
2021-08-31T06:28:54
2021-08-31T06:28:54
387,833,673
0
0
null
null
null
null
UTF-8
Python
false
false
6,440
py
# -*- coding: utf-8 -*- """ Created on Mon Aug 16 17:54:45 2021 @author: FranticUser """ import cv2 import imutils import sys from imutils.video import VideoStream import time sp1,sp2,sp3,sp4 = (480, 0),(540, 00),(600, 0),(660, 0) # Initializing turning points coordinates for this configuration tp1,tp...
[ "noreply@github.com" ]
noreply@github.com
b9a8ddce7bf20f2bb9f63a44a9b1c8e49c9a08d2
41ced8351a2ccb62d955b437b8728dd795924cb6
/separate_by_actors.py
5251a7fe5c3b9d1a4646bf703f9a43e1e815b5b1
[]
no_license
taubergm/HollywoodGenderData
fdc64233f580cac6a4ab55e293667d85bf5106f9
3f92c28f090673c66abb3df77b3e29de858309b9
refs/heads/master
2020-04-04T11:57:21.824251
2019-06-16T04:58:27
2019-06-16T04:58:27
155,909,360
2
3
null
null
null
null
UTF-8
Python
false
false
2,049
py
import csv import sys reload(sys) sys.setdefaultencoding('UTF8') import re #import networkx as nx #import matplotlib.pyplot as plt import io filename = sys.argv[1] csvOutFile = "all_actors_movies.csv" outCsv = open(csvOutFile, 'wb') fieldnames = ['year','wiki_ref','wiki_query','producer','distributor','name','cou...
[ "michaeltauberg@michaels-MacBook-Pro.local" ]
michaeltauberg@michaels-MacBook-Pro.local
8e95de029333c6c144fe7923a72ce823d922cfcf
c2102a9f17a9e08988f367cf785eb3f5d7925854
/backend/home/migrations/0002_load_initial_data.py
03d33413376a79c8d6e8efbc30a313757e5182c9
[]
no_license
crowdbotics-apps/frego-24047
44d1569e12748ac327867ac08cfee416ae6eef45
b30631f14473f965604b937458aea3c7739fd170
refs/heads/master
2023-02-19T10:00:37.381026
2021-01-25T11:07:44
2021-01-25T11:07:44
332,718,726
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "Frego" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") hom...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b0940cf39d8c271c519f410dc40b7c6d639f7506
c46a6ec29f955f8dd9d9a8eb6052f9184e5cc1b4
/47.py
ebb1232190108eb695b30747677079b1a23d02e0
[]
no_license
Yuvanshankar21/yuvan
c1589a1e395c9f3468f743cbb878909b1e3837be
3f02fde8b2aa9a00a6ff09fe2d00d2bb3e69829f
refs/heads/master
2020-06-11T19:43:36.088900
2019-07-17T09:32:26
2019-07-17T09:32:26
194,064,276
0
1
null
null
null
null
UTF-8
Python
false
false
85
py
num=int(input()) a=[int(i)for i in input().split()] ma=max(a) mi=min(a) print(mi,ma)
[ "noreply@github.com" ]
noreply@github.com
beb7d057bf587187b4ebbb72c5e9b08c7ce9fc97
0becb4b3d27a369c2f272d0da0e55dfe6f757187
/cglearn-1/cglearn.py
a336df2844a8cdfa14c173dd638e6eefdf5b251d
[]
no_license
jaimersoncorreia/tp4
41a5fc528d6f713c480b8d91716cc08bb73cdfd1
430294ad29eff054f0a678126ee9ee89ba3ef051
refs/heads/master
2021-01-21T20:23:34.007377
2017-06-11T17:24:35
2017-06-11T17:24:35
92,230,023
0
0
null
null
null
null
UTF-8
Python
false
false
11,785
py
#!/usr/bin/env python3 import sys import math import argparse import importlib from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * import numpy from transformation import * from geometry import * from timing import Timing import config from context import Context from drawingutils import * ...
[ "jaimerson_correia@htmail.com" ]
jaimerson_correia@htmail.com
a3dd99368c904903d111559a9aacfa6b15d8f868
1d2a06e15deb896556f28099118f4b5ef5b2fef5
/overheal_crit.py
1832af5fe777b0978f4ab7a955fc43c6b9e90792
[]
no_license
apexz1/Overheal
e4df83acfba91eb268a1b966bd432368deddf5e3
9885b749bea094969f14896349a5a6f8a9d9ca9f
refs/heads/master
2023-07-14T22:04:32.354780
2021-08-13T23:08:55
2021-08-13T23:08:55
395,818,592
0
0
null
null
null
null
UTF-8
Python
false
false
4,832
py
""" Script that estimates value of 1% crit. By: Filip Gokstorp (Saintis), 2020 """ from src import readers, group_processed_lines import spell_data as sd def process_spell(spell_id, spell_lines): n_spells = len(spell_lines) crit_underheal = [] crit_fullheal = [] hh = 0 ohh = 0 for h, oh, ...
[ "filip@gokstorp.se" ]
filip@gokstorp.se
fc57bf8b87efd57b9255b47b6b72265ecd7cdb8f
4c126a91fbd9b25c85621e86568b364f0f3125ee
/swf/movie.py
0831b60fe4804204ad85fe8906039e0d433d37dd
[]
no_license
ctz/flashover
742974b9e7b469c5337f8868ab8ce68ead6277f9
ac1248631bb5fb59a8c2490cfc71188f561aa3fa
refs/heads/master
2023-03-23T15:59:10.207787
2012-06-05T09:58:25
2012-06-05T09:58:25
2,959,096
2
0
null
null
null
null
UTF-8
Python
false
false
4,992
py
""" SWF """ from tag import SWFTimelineContainer from stream import SWFStream from export import SVGExporter try: import cStringIO as StringIO except ImportError: import StringIO class SWFHeaderException(Exception): """ Exception raised in case of an invalid SWFHeader """ def __init__(self, message): ...
[ "jpixton@gmail.com" ]
jpixton@gmail.com
4f6988f2b266088727771bf3ad68042676374e7a
c7349a228d4a43176c3249b8e5fc3110f15be5b6
/LG_TriHard_Loss.py
08a4a55057dc37494f03ca2fefaf3b790c856e80
[]
no_license
OrientTraveller/AlignedReID
0cd08cf26bc776d0ec7c819acea587ba1ff866cc
3c4dd5bba8d77b39da46f4870d22369999202bdf
refs/heads/main
2023-04-02T05:24:34.749008
2021-03-31T03:57:46
2021-03-31T03:57:46
352,834,191
0
0
null
null
null
null
UTF-8
Python
false
false
3,018
py
import torch from torch import nn from local_distance import batch_local_dist from hard_example_mining import hard_example_mining """ 本文件用于自定义计算全局特征与局部特征的难样本挖掘三元组损失 需要调用先前编写的难样本挖掘算法与局部对齐最小距离算法 """ class AlignedTripletLoss(nn.Module): def __init__(self, margin=0.3): super().__init__() # margin就是三元...
[ "1589301333@qq.com" ]
1589301333@qq.com
d4fda28985f484418a5bf8dd6ad5b4bfd8b4eee5
543c391dd6889b1533d44e78bc10e2307c8eec64
/Les 4/PE_4/Practice Exercise 4_2.py
f8876c386aaf07b4b32754d04159bae948f7c417
[]
no_license
SFenijn/Python2017
8393975fcf30b7ccad2563634668aeab93184d8d
4deeb367f428b85b506f9319e68cf9feb333cc26
refs/heads/master
2021-07-04T05:22:01.266682
2017-09-25T08:07:07
2017-09-25T08:07:07
104,900,838
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
def som(getallenlijst): 'Deze functie telt alle getallen uit een lijst bij elkaar op.' return sum(getallenlijst) lst = [5, 5, 4, 6] print(som(lst))
[ "stijn.fenijn@student.hu.nl" ]
stijn.fenijn@student.hu.nl
e7ccb286539047d1d436e032546a3938ddce7bf1
0b86600e0288c0fefc081a0f428277a68b14882e
/binaire/binaire_II.py
b861b63f8209d81b2dbc50518fcc23ce46f0cebc
[]
no_license
Byliguel/python1-exo7
9ede37a8d2b8f384d1ebe3d612e8c25bbe47a350
fbf6b08f4c1e94dd9f170875eee871a84849399e
refs/heads/master
2020-09-22T10:16:34.044141
2019-12-01T11:52:51
2019-12-01T11:52:51
225,152,986
1
0
null
2019-12-01T11:51:37
2019-12-01T11:51:36
null
UTF-8
Python
false
false
5,199
py
############################## # Binaire - partie II ############################## from binaire_I import * ############################## # Activité 1 - Palindrome en binaire ############################## ## Question 1 ## def est_palindrome_1(liste): p = len(liste) drapeau = True for i in range(p):...
[ "arnaud.bodin@math.univ-lille1.fr" ]
arnaud.bodin@math.univ-lille1.fr
fe0fe2eaefa2fe1ad30ed11718719a9b3ab8b442
cf1d29bdc65402693218d929d3b2f7015cacc3c9
/yin/mini-pysonar-master/tests/func-infinite.py
bb35cd99aa5f580d11660f0394377ee9cee23a84
[ "BSD-3-Clause" ]
permissive
thyonline/study
9375cc3f194d1813d07ef3624de7707717d4f244
00621e6c9f81a87bfda17c4ef8eb77b2940ccbd6
refs/heads/master
2022-11-14T04:15:10.276043
2022-10-24T09:59:13
2022-10-24T09:59:13
156,359,582
2
0
null
2018-11-06T09:34:32
2018-11-06T09:34:31
null
UTF-8
Python
false
false
257
py
# f will not show up in the index because there is no path it can return def f(x, *y, **kw): if x < 1: return 1 elif x < 5: tt = kw return f(x, y) else: return f(y, x) z = f(1, True, 'ok', z=1, w=2)
[ "ming1016@foxmail.com" ]
ming1016@foxmail.com