blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
3a7a563b2888ad99f23bf322475f3a934141adf9
ce53a777068906866cd97d211f51c986492f4e4f
/blog/views.py
f0fcb461ebcb44709629880bae642816a2c159f8
[]
no_license
LittelOrange/my-first-blog
f1744b8174d76cfa9b28721d17f12555bc041392
59851fe653e3a1f2ba063a9da088ef243ec77018
refs/heads/master
2020-03-31T08:22:46.517470
2018-10-10T06:57:41
2018-10-10T06:57:41
152,054,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
from django.shortcuts import render, get_object_or_404,redirect from .models import Post from django.utils import timezone from .forms import PostForm # Create your views here. def post_list(request): posts = Post.objects.filter(published_date__lte=timezone.now()).order_by('published_date') return render(requ...
[ "1024351971@qq.com" ]
1024351971@qq.com
ff0ee0e4588368b12e9f15bb47f3ded00562d6b7
eda355ad3bd32d230c9fa55e816dbd8658afe2c7
/khash.py
f750deaf7126247dac716725da7ba89a61417bd5
[ "MIT" ]
permissive
forging2012/khashmir-1
d311904706aecedfd2bb2c17d777b963e6afae2f
6595c1ff4b8ed538dfa0633ccdf7730d6ad5bb8d
refs/heads/master
2021-05-26T21:01:34.691621
2011-06-14T21:13:38
2011-06-14T21:13:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved # see LICENSE.txt for license information from sha import sha import whrandom #this is ugly, hopefully os.entropy will be in 2.4 try: from entropy import entropy except ImportError: def entropy(n): s = '' for i in range(n): ...
[ "casey.marshall@memeo-inc.com" ]
casey.marshall@memeo-inc.com
79482782fcb8b6667337beddd4268b5a30566b9b
d268e0c28cc213b65285d6a8dc5997495c672ab1
/gcode/mandelbrot.py
9eb6d5d987d53f78ccf7f08707832f20277ce319
[]
no_license
theojulienne/compclub-stuff
cb716aa71ae69baab4357dc8abacc3e7228d4ed5
0d7a800107126adb3f13fa2be7c50bde11cee896
refs/heads/master
2016-09-06T15:30:29.874062
2010-01-08T16:42:25
2010-01-08T16:42:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
import gcode IMG_WIDTH = 1000 IMG_HEIGHT = 1000 IMG_DEPTH = 5.0 BOTTOM_LEFT = (-2, -1.0) TOP_RIGHT = ( 0.5, 1.0) MAX_ITERATIONS = 256 def mandelbrot(px, py): count = 0 widthRatio = px/float(IMG_WIDTH) heightRatio = py/float(IMG_HEIGHT) px = BOTTOM_LEFT[0] + widthRatio * (TOP_RIGHT[0]-BOTTOM_LEFT[...
[ "goldy@goldy" ]
goldy@goldy
5f7296a2c63f51459b3ce77f09584dbef613d994
76b064a76ffd23b0d0dff57d266abd6a111e9247
/Ch04 Counting Elements/MissingIntegers.py
819800f4b1f6de69459764150ccb264152e3f8ce
[]
no_license
startFromBottom/codility_problems
78e0e0fcd914730e0dd8f725dde3dc96be83a255
c8e128b5768e8140e658274e7cc8fee95c1bce9a
refs/heads/master
2022-12-05T12:38:01.595250
2020-08-25T11:49:44
2020-08-25T11:49:44
289,836,615
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
""" problem link : https://app.codility.com/programmers/lessons/4-counting_elements/missing_integer/ result : https://app.codility.com/demo/results/trainingETTG9E-G32/ """ def solution(A): A = sorted(list(set(A))) # ex) A = [98, 99, 100] -> 1 if A[0] > 1: return 1 for i in range(1, len(A)...
[ "uhh0701@gmail.com" ]
uhh0701@gmail.com
88f092084337bcd4d9073c16381898f674a18ef3
81bad22641705683c68ff89f19362ba202891652
/napari/plugins/exceptions.py
e9979de0d9e5c07e6d09e0f1592bcca062d4cf1c
[ "BSD-3-Clause" ]
permissive
sofroniewn/napari
ee2a39a1a1132910db6f2a47994671e8138edb51
beaa98efe5cf04ba659086e7a514b2ade05277af
refs/heads/main
2023-07-12T02:46:41.185932
2022-09-14T21:57:15
2022-09-14T21:57:15
154,751,137
2
3
BSD-3-Clause
2023-07-01T10:26:45
2018-10-25T23:43:01
Python
UTF-8
Python
false
false
1,970
py
from napari_plugin_engine import PluginError, standard_metadata from ..utils.translations import trans def format_exceptions( plugin_name: str, as_html: bool = False, color="Neutral" ): """Return formatted tracebacks for all exceptions raised by plugin. Parameters ---------- plugin_name : str ...
[ "noreply@github.com" ]
sofroniewn.noreply@github.com
3b19190eaa60a2fbc86aa9054c4b80341945f24f
ef14c3b4634a0bdf86a93997f3f7ddd370cf9474
/analysis.py
8258f09cd05213d84386493d20cce63cdde6531e
[ "MIT" ]
permissive
hacongdinh/FlapPyBird-Reinforcement-Learning
c31ac5b819ead2b59c9e236b3977fea4bf48de4d
33948adb8a7af407c6cfd03eb2a57b327195a4fb
refs/heads/master
2023-05-03T19:53:18.471485
2021-05-19T17:26:52
2021-05-19T17:26:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,723
py
import json import numpy as np from typing import Dict, List import matplotlib.pyplot as plt def load_data(filename: str) -> dict: """load training results and compute max_score.""" with open(f"data/{filename}.json", "r") as f: training_state = json.load(f) max_reached = 0 training_state['max_...
[ "anthonyli358@gmail.com" ]
anthonyli358@gmail.com
a17bf64bdf3d746da913a8f85bd3814b5586680b
2bc60297e1dd6ae3b80db049832c388361a30fef
/garmin_connect_login.py
0e7fdb37a75c2ed6c96375cac2e40cf1c15d7b9c
[]
no_license
archester/garmin_connect_scraper
69385cc10f21e88a0fdf1952f9b87cb0e39b0cf1
0fc61b415eca26f7abfcd330eda12e6bc36cb4d1
refs/heads/master
2020-05-24T08:15:04.475097
2017-03-14T22:17:19
2017-03-14T22:17:19
84,839,278
0
0
null
null
null
null
UTF-8
Python
false
false
4,241
py
""" The MIT License (MIT) Copyright (c) 2015 Kyle Krafka Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
[ "areliga@o2.pl" ]
areliga@o2.pl
5e558014567ad4fa8515820433c67c0266299166
b2b54285bcb74399578b53482bcc86df7c57add0
/interfaces/mainWindow.py
9cff4d5cbbc00714ee9c73ea5e67e60051fc9776
[]
no_license
ZalmanHack/e-circuit_builder
75ed41f2ee5cf3b46275249896d80076963dc0bb
b38156be3a4df49bf06de1ab767de7b9ee3e27e4
refs/heads/master
2022-03-24T09:22:14.305186
2019-12-22T22:50:31
2019-12-22T22:50:31
229,633,860
0
0
null
null
null
null
UTF-8
Python
false
false
10,559
py
import sys import pickle from functions.ecircuit import ECircuit from interfaces import mainWindowUI from interfaces.myGraphicsView import MyGraphicView from PyQt5.Qt import * class MainWindow(QMainWindow, mainWindowUI.Ui_MainWindow): class SignalsForECircuit(QObject): setTable = pyqtSignal(list) g...
[ "dobrenko44@gmail.com" ]
dobrenko44@gmail.com
98c54c85fd55e667a6486116bfe6a05dc5331860
258f1de0a4f5aff1c266a6028bbfc9a51413e715
/legislation/models.py
630fd40a8ba4e656385493be383d00b95fc8478d
[]
no_license
katrinamariehh/dj_moneypolitics
f7605a111f1fc487b580a4572869c781f98dea5d
35552f7e545cc1226b0deda0dc422da5ad8fee45
refs/heads/main
2022-02-18T07:09:57.025773
2017-01-13T20:39:10
2017-01-13T20:39:10
54,608,202
0
0
null
2022-01-21T19:20:19
2016-03-24T02:22:50
Python
UTF-8
Python
false
false
2,394
py
from django.db import models, DataError import csv # Create your models here. class LegislatorManager(models.Manager): def load_current_legislators(self, path): with open(path) as f: reader = csv.reader(f, delimiter=',') f.readline() for row in reader: ...
[ "katrina@Katrinas-MBP.home" ]
katrina@Katrinas-MBP.home
4b80f8f908a20e3b7fc3b6b9b66760d52059ec6f
1c58faeadc7c3b3c51beb3367e3e3d88c8892362
/SAE_resnext_legacy.py
b06b3f47aff955f266a59254301864f63f249e88
[]
no_license
TaoKai/TSAE_resnext
a71a9c91740c7a2791f84e0774f3c31478ded967
51856d96f178b92aa5632e2a081c47c93959f135
refs/heads/master
2023-02-22T22:50:23.269091
2021-01-20T10:05:54
2021-01-20T10:05:54
317,475,131
1
0
null
null
null
null
UTF-8
Python
false
false
3,686
py
import torch import torch.nn as nn import torch.nn.functional as F import torchvision.models as models device = torch.device("cuda" if torch.cuda.is_available() else "cpu") class SAE_RESNEXT_ENCODER(nn.Module): def __init__(self): super(SAE_RESNEXT_ENCODER, self).__init__() self.resnext50 = models...
[ "kai.tao@inveno.com" ]
kai.tao@inveno.com
3e9b9b44893d5a4cc092a14ba7839da8c1f34f86
dcc1c8e2184bcb61f40efa3d5714e721d1dcd5b4
/questions/wsgi.py
502f4e3ddd39b3790e3008694f77582112b1f601
[]
no_license
yashk2810/InterviewDB
68616bff03abe5f999af381c66f3efdcb0a01100
144813b5176a23a45a61ad1ee0cb93db6f21590b
refs/heads/master
2021-01-13T03:34:01.115019
2016-12-25T05:18:50
2016-12-25T05:18:50
77,311,638
0
1
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for questions 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/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "ykat95@gmail.com" ]
ykat95@gmail.com
aa489f1fe7cdd8c01481666d4bcbffd497c31c99
47040e0580b8fc79d9ec9d7aafdd6bebb89e7938
/rx_modeling.py
8e25bf74730770e486652acd53c9a91ca9dbed73
[]
no_license
yesuuu/rx_tools
97b817460632f0f7de8200685ecd10a7e0a2ce25
4fc3e7a03ad89b9d213b65b26de64785a5830452
refs/heads/master
2021-01-10T01:14:55.294869
2018-09-14T13:25:35
2018-09-14T13:25:35
54,356,666
0
0
null
null
null
null
UTF-8
Python
false
false
60,905
py
import sys import os import time import datetime import datetime as dt import re # import random import subprocess import numpy as np import pandas as pd import statsmodels.api as sm import statsmodels.formula.api as smf import scipy.stats as stats import matplotlib import matplotlib.pyplot as plt from sklearn.decompos...
[ "rxfan@wizardquant.com" ]
rxfan@wizardquant.com
28fe05503890e1d58e8f3360c2c2d65753534bd2
8d6ae21b78b3b40382e21198c571a7957e055be5
/July20/Statements/factors.py
0711fc04d9ad0d4b19c9061f222235e998ee6070
[]
no_license
vj-reddy/PythonBatch1
6c1a429e0ac57ea1db7b04af18187e84cd52f2d5
b86a5a16b1004d1e4f855a57b019704c71425bbf
refs/heads/master
2023-03-16T06:05:48.104363
2020-10-16T13:55:03
2020-10-16T13:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
number = int(input("Enter the number: ")) index = 2 while index <= number//2: if number%index == 0: print(index) index = index+1
[ "qtdevops@gmail.com" ]
qtdevops@gmail.com
2b5db389de18f58a080bc46fd39a2f1c1e09f874
ac478d935566ae1f977d5312ad8d5215088554d3
/models.py
e331ba8641b60bb03ad283146341f25c7b4fa384
[]
no_license
calarts/othertownsend
e2f8cab1f10e8dd04756284a31818ea4bd1f79c0
50641399804881b759721294a897a4d221ed7821
refs/heads/master
2022-12-09T20:35:08.491380
2019-06-23T14:55:03
2019-06-23T14:55:03
189,501,370
0
0
null
2022-12-08T05:11:51
2019-05-31T00:39:22
Python
UTF-8
Python
false
false
5,664
py
from random import choice from datetime import time, datetime from peewee import * from shapely.wkt import dumps, loads from _config import DEBUG if DEBUG: mydb = SqliteDatabase(':memory:') else: mydb = SqliteDatabase("other.db") def gimmecurseconds(): now = datetime.now() # should be local time! ...
[ "goodwind@metro.net" ]
goodwind@metro.net
ec4ab8529e4b4dd8832fa8a89bc0dd1e5ae514e9
a3120b88d457e917d647e871d5e1e26bda69b2bc
/삼성SDS기본/8979_올림픽.py
45c900389bfefc6c2522470317ba4ac1201943d7
[]
no_license
MMyungji/algorithm2
91d5c6860f38096e9ed8bfde897760da8295e4d7
d8c4b6dd318a8ac1b25c7ff6e24f1c5181b3a3eb
refs/heads/main
2023-08-15T22:05:43.570267
2021-10-22T11:12:31
2021-10-22T11:12:31
374,083,658
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
num, who = map(int,input().split()) medals = [list(map(int,input().split())) for _ in range(num)] medals.sort(key=lambda x:(x[1],x[2],x[3]), reverse=True) grade=0 scores = [medals[0][1], medals[0][2], medals[0][3]] same_grade=0 #print(medals) for n,g,s,b in medals: #print(scores, grade, same_grade) if scores ==...
[ "hallomj1@gmail.com" ]
hallomj1@gmail.com
e3aa0c3fafee820ac2eef394c6d8e4dea8bbd241
83b88fd648f034780b3f2af5730035660e9866cf
/accounts/views.py
57bed70c4ef753a892c0fd8e5a9a0bcbd070e9d4
[]
no_license
pukovnikkostadinovic/djangoApp
c1d7aa2997ca63e5185ad0bb00aedf1e738fd772
4c02c6466a7953432dc5d0ee758f5b32d75494e7
refs/heads/master
2020-03-19T06:26:13.374884
2018-06-05T12:48:52
2018-06-05T12:48:52
136,019,618
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from django.http import HttpResponse from django.shortcuts import render # Create your views here. def index(request): numbers = [1,2,3,4,5] name = 'Hasan Hasanovic' args = {'name':name, 'numbers':numbers} return render(request, 'accounts/home.html',args)
[ "pukovnikkostadinovic@gmail.com" ]
pukovnikkostadinovic@gmail.com
9ba8b9092d007d443d6e996caf75582f8692ddf8
61ad9e5de786b1665d0781210ab0d30d25dc23fd
/hacker-rank/algorithm/warmup_time_conversion.py
60d63411788e45c3142bb18e389c469f57c37934
[]
no_license
sydul-fahim-pantha/python-practice
ed63e66a7e7ea4ad6c8055c7ab73463933f4ba89
185d4f9acce1922f16ac9c1377965318a7c7898b
refs/heads/master
2021-06-03T02:30:39.743659
2020-06-25T19:31:05
2020-06-25T19:31:05
144,102,218
1
0
null
null
null
null
UTF-8
Python
false
false
547
py
#!/bin/python3 import os import sys def timeConversion(s): am_pm = s[len(s) - 2: len(s)] hh = int(s[0:2]) s = s[:len(s) - 2] print(s) if am_pm == 'AM' and hh == 12: s = '00' + s[2:] elif am_pm == 'PM' and hh != 12: s = str(12 + hh) + s[2:] print(s) return s if __nam...
[ "fahim.pantha@gmail.com" ]
fahim.pantha@gmail.com
3ddd3c7a6ea93275b1daa3b4ed761c163f77e27e
04afedaa658c61f463d7f79cad2376d1b1652115
/corehq/apps/hqcase/management/commands/ptop_fast_reindex_domains.py
7d01394fe9ba4a08bc7bcffe20e54cd822dd7e93
[]
no_license
comm-scriptek/commcare-hq
1897c86a8cce7422018b8be9bdcae76a6403a28a
a818a704e2439f7c0d66b432d052db909a97064d
refs/heads/master
2020-12-24T09:44:46.036215
2013-07-02T07:52:37
2013-07-02T07:52:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
from corehq.apps.domain.models import Domain from corehq.apps.hqcase.management.commands.ptop_fast_reindexer import PtopReindexer from corehq.pillows.domain import DomainPillow CHUNK_SIZE = 500 POOL_SIZE = 15 class Command(PtopReindexer): help = "Fast reindex of domain elastic index by using the domain view and ...
[ "yedispaghetti@gmail.com" ]
yedispaghetti@gmail.com
6abbabf714d5860cf6102168545f6d8a0a791408
f9c068e230cee2bedfe6b8ee0d1b57b291aa8faa
/test/MainNet.py
d020c1cf678a824353d385994055da18d7737c20
[]
no_license
MaryamHamad/DI4SLF
fb8bb8b48aee40c74a2edc11cc417fdbb26d7fbd
38afff3061d869f48af121c8e006acd86286781e
refs/heads/main
2023-09-05T16:34:04.817648
2021-11-22T02:51:20
2021-11-22T02:51:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,132
py
import torch import matplotlib.pyplot as plt import warnings import numpy as np from RefNet import FlowRefNet, ViewRefNet from MlpNet import MlpNet warnings.filterwarnings("ignore") plt.ion() # Main Network construction class MainNet(torch.nn.Module): def __init__(self,opt): ...
[ "noreply@github.com" ]
MaryamHamad.noreply@github.com
7a8717cdd5a7690f45841111b5d029110b87fda7
22562fc3aafb40dbd2a0f26a3001e3f494c57643
/employee_register/views.py
0e2e40849fd34fc4e037998fcbcf2c2a57651f5b
[]
no_license
Geeky-har/Employee-Management-System
bd7e8fa695feaba12b162c2e3d59c482110c9cd0
efd4a42c4fa28df67c6473bc3437c3c4e9799adc
refs/heads/main
2023-03-05T15:55:40.053493
2021-02-15T11:59:53
2021-02-15T11:59:53
338,606,095
0
0
null
null
null
null
UTF-8
Python
false
false
2,181
py
from django.shortcuts import render, HttpResponse, redirect from .forms import EmployeeForm from .models import Employee from django.contrib import messages # Create your views here. def employee_form(request, id=0): if request.method == 'GET': if id == 0: # means new registration page is running ...
[ "harshnegi6477@gmail.com" ]
harshnegi6477@gmail.com
bce17d2e70d1e8404ce944308c1bee408dd30116
6afee49388da5503cbbe96e9965bdf24517f09dd
/IBL.py
823fe30658e9f38f0449010e28034992ed23ba94
[]
no_license
sterlingsomers/generic-gridworld
5df570372295eeefb0e1e3d3ca9a2ad91eef68b3
d7181b0348e5cf36fe9f53969adcf9773983414e
refs/heads/main
2022-02-10T15:58:33.875918
2021-01-11T20:05:21
2021-01-11T20:05:21
225,962,617
2
0
null
null
null
null
UTF-8
Python
false
false
24,898
py
import numpy as np import random # from autograd import numpy as np # from autograd import elementwise_grad as egrad # from autograd import grad from sklearn.neighbors import KDTree #TODO: instead of blending as weighted average use tensorflow for ONLY blending. So you assign a cross_entropy function #TODO: have your d...
[ "kmitsopou@gmail.com" ]
kmitsopou@gmail.com
aa6025ca3f596c50a066dfe23bd9e32f3de84ba2
ebe422519443dbe9c4acd3c7fd527d05cf444c59
/modular_equation.py
117dc8a748507e9c28c073df70bd420e73642f56
[]
no_license
SaiSudhaV/coding_platforms
2eba22d72fdc490a65e71daca41bb3d71b5d0a7b
44d0f80104d0ab04ef93716f058b4b567759a699
refs/heads/master
2023-06-19T18:05:37.876791
2021-07-15T18:02:19
2021-07-15T18:02:19
355,178,342
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
# cook your dish here def modular_equation(n, m): res, tem = [], [1] * (n + 1) for i in range(2, n + 1): res.append(tem[m % i]) j = m % i while j < n + 1: tem[j] += 1 j += i return sum(res) if __name__ == "__main__": t = int(input()) for i in range(t...
[ "saisudhavadisina@gmail.com" ]
saisudhavadisina@gmail.com
e6af48993c7c26fd4ed95950dd100596814de47c
05ceedee44c66ece52a9d7df9dc8ac2df536557b
/monero_glue/messages/StellarGetPublicKey.py
0e6305747025ab95cfb7e0ed611cbf5e6901497d
[ "MIT" ]
permissive
tsusanka/monero-agent
1e48042f7cbb77b3d3f6262c97de71da4f6beb3d
526ca5a57714cdca3370021feda3ed5ad3e3ea1a
refs/heads/master
2020-03-25T11:43:16.967931
2018-08-06T15:07:05
2018-08-06T15:07:05
143,745,130
1
0
null
2018-08-06T15:06:04
2018-08-06T15:06:03
null
UTF-8
Python
false
false
614
py
# Automatically generated by pb2py # fmt: off from .. import protobuf as p if __debug__: try: from typing import List except ImportError: List = None # type: ignore class StellarGetPublicKey(p.MessageType): MESSAGE_WIRE_TYPE = 200 FIELDS = { 1: ('address_n', p.UVarintType, p.F...
[ "dusan.klinec@gmail.com" ]
dusan.klinec@gmail.com
0a6171fc4cb104471e8b97fb4390f74325a93efd
f25905a321a8ff8d5f75b5bc9bc05167a3a98a8b
/game.py
b5ba5b7ee4e7ff50d1a025fd2b9e19900af2a0e6
[]
no_license
unknwn-dev/PythonStrategyGame
3a75bc29a4a2960a1eeaac707015f022547a2acc
9424f37dfee2d294f7a21ee85b64abb1b0a5843f
refs/heads/master
2023-08-04T18:09:07.616560
2021-09-10T18:41:52
2021-09-10T18:41:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,824
py
from random import randint import cell from cell import Cell from player import Player from settings import Settings from units import Units from tkinter import * import math Players = [ Player('tes', "red", 99999, None), Player("gig", "blue", 000, None), Player("Olg", "green", 000, None)] Ce...
[ "oleg.mulya30@gmail.com" ]
oleg.mulya30@gmail.com
ab75c6540bfc599e6d2614a1e00831798e9b1afe
a1234d571331681fb837664aa73725f523ff2da0
/gym/setup.py
24b639850692a74e8d9db75fbc73963fe55d9f6f
[ "MIT" ]
permissive
zhxx1987/openaitest
8034661086e4c190294fd9c5a6cc7f785a9ac0b6
16f974815922d67754791628aaa5d32ad5439889
refs/heads/master
2020-03-26T22:04:16.821845
2018-08-23T04:34:03
2018-08-23T04:34:03
145,429,316
1
1
null
null
null
null
UTF-8
Python
false
false
1,684
py
from setuptools import setup, find_packages import sys, os.path # Don't import gym module here, since deps may not be installed sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'gym')) from version import VERSION # Environment-specific dependencies. extras = { 'atari': ['atari_py>=0.1.1', 'Pillow', 'PyOpe...
[ "zhangshinshin@gmail.com" ]
zhangshinshin@gmail.com
3c6a227d5f61bb7232ecf80295a3a3341a7bcd48
b22931f39920db60c705ce18f8e3f32ca2e5aec8
/naive_k2onnx/utils.py
098a620c76cd39c6d5e9c4b752279a05e1a01980
[ "Unlicense" ]
permissive
liob/naive_k2onnx
d939e9e5efcbafda119d8e2d9f302bc6f5766833
ac03d5d4f6bf89d9a1939af8d30ffbd48efeeb6d
refs/heads/master
2023-02-10T21:12:17.973208
2021-01-11T09:59:05
2021-01-11T09:59:05
284,772,904
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import numpy as np import onnx def tf_name2canonical(tf_name): return tf_name.rsplit(':', 1)[0] def to_onnx_shapes(shapes): output = [] for shape in shapes: shape = np.array(shape) # bhw...c shape = np.roll(shape, 1) # cbhw... ...
[ "hbwinther@metalabs.de" ]
hbwinther@metalabs.de
126d3821725ea2fb5c962f763d7c95c961fecd3b
9660f1ac71cefdedc6764037b2810177a82435f8
/api/urls.py
89703d3a0e1fa189aa180c4de87453349ca77457
[]
no_license
elinahovakimyan/hotelify-backend
3b8d8c4aea91970c77fcf14e0f969c52a81b646e
c055bafb888923e83d958ab7d8900c2fc52559a9
refs/heads/master
2022-12-09T20:19:30.827806
2020-03-10T09:29:51
2020-03-10T09:29:51
246,209,380
0
0
null
2022-12-08T03:46:21
2020-03-10T04:38:05
JavaScript
UTF-8
Python
false
false
443
py
from django.urls import path, include from rest_framework import routers from . import views router = routers.DefaultRouter() router.register('signup', views.SignupViewSet, basename='signup') router.register('login', views.LoginViewSet, basename='login') router.register('profile', views.ProfileViewSet, basename='profi...
[ "elinahovakimyan@gmail.com" ]
elinahovakimyan@gmail.com
3fe2c84bde72e2715727d3d95441bd71841b53b0
f5a4f340da539520c60c4bce08356c6f5c171c54
/tests/integration/reqs/test_tx.py
e8551a73473e6e6ef046ce1ffa96278212f25855
[ "ISC", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yyolk/xrpl-py
e3935c0a0f488793153ca29e9d71c197cf88f857
e5bbdf458ad83e6670a4ebf3df63e17fed8b099f
refs/heads/master
2023-07-17T03:19:29.239838
2021-07-03T01:24:57
2021-07-03T01:24:57
355,299,041
1
0
ISC
2021-04-08T05:29:43
2021-04-06T18:57:06
null
UTF-8
Python
false
false
528
py
from tests.integration.integration_test_case import IntegrationTestCase from tests.integration.it_utils import test_async_and_sync from tests.integration.reusable_values import OFFER from xrpl.models.requests import Tx class TestTx(IntegrationTestCase): @test_async_and_sync(globals()) async def test_basic_fun...
[ "noreply@github.com" ]
yyolk.noreply@github.com
e9bd9123e21c45297fb5c25a99af80f250bdb59d
352b7ddc1ae628b746fb863714071286e99abb9a
/drsa/_nbdev.py
daac99fab25b9afe006d0e6c35e6f47134535916
[ "Apache-2.0" ]
permissive
kiminh/drsa
db4cbd5f3ffafc90603f3ae73fe16e512c8f3944
071148fa81188dd02793ccd90c7812a3f53bbf8b
refs/heads/master
2022-10-20T21:29:35.778880
2020-06-15T22:18:33
2020-06-15T22:18:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"assert_correct_input_shape": "00_functions.ipynb", "assert_correct_output_shape": "00_functions.ipynb", "survival_rate": "00_functions.ipynb", "event_rate": "00_functions.ipynb", ...
[ "collin.prather742@gmail.com" ]
collin.prather742@gmail.com
a96e8f00e432e1acd61b735d0a17ab0638f63465
da94217a918b8c3717049e5079875b5e75dee8c7
/Pwnerrank/Python Decompile/uncompyle6-2.10.1/uncompyle6/parsers/astnode.py
9aeb3f59282925067a1fae273eea23948d36831e
[ "MIT" ]
permissive
SouthCoded/Cyber-Security
117e343bef263ec53175370ada4dbc30130c405f
dd85c2a91aadf9d69d9ebf19ff08c5de826fc97a
refs/heads/master
2023-06-25T14:26:42.272072
2021-07-13T12:30:54
2021-07-13T12:30:54
107,547,220
1
1
null
null
null
null
UTF-8
Python
false
false
1,501
py
import sys from uncompyle6 import PYTHON3 from uncompyle6.scanners.tok import NoneToken from spark_parser.ast import AST as spark_AST if PYTHON3: intern = sys.intern class AST(spark_AST): def isNone(self): """An AST None token. We can't use regular list comparisons because AST token offsets mi...
[ "duncan.pf2@gmail.com" ]
duncan.pf2@gmail.com
142d006d519df3979de42375aa3d50a2ee755727
79f9aead4431895063d1537083a43c2f971a4b1a
/user_follow_rate/getid_from_mysql.py
45d6398f9b06609eeccd41decf5d1362cf9cd124
[]
no_license
mocorr/Machine_Learning
fd760a3121be38146dca045ff5cf77aeedfa91ea
393751cc0e780f754faa7346c54da29c41a54bd6
refs/heads/master
2020-11-26T06:17:11.993842
2016-01-14T11:16:15
2016-01-14T11:16:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,719
py
#!/usr/bin/env python #coding=utf-8 import MySQLdb from DBsetting import * def connect_mysql(database): conn=MySQLdb.connect(host=MYSQL_HOST, user=MYSQL_USER, passwd=MYSQL_PASSWORD, db=database ,charset="utf8") cursor = conn.cursor() return conn, cursor def fetch_userid_from_listid(cursor, list_id): query = 's...
[ "240083998@qq.com" ]
240083998@qq.com
50f1b2c6c3f6bec0a574850bc96f48c8683609c8
cd0987589d3815de1dea8529a7705caac479e7e9
/webkit/WebKitTools/Scripts/webkitpy/tool/steps/build.py
10fe1a806ce51955b95b23099c0fc1bcef93962e
[]
no_license
azrul2202/WebKit-Smartphone
0aab1ff641d74f15c0623f00c56806dbc9b59fc1
023d6fe819445369134dee793b69de36748e71d7
refs/heads/master
2021-01-15T09:24:31.288774
2011-07-11T11:12:44
2011-07-11T11:12:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,415
py
# Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions...
[ "sdevitt@rim.com" ]
sdevitt@rim.com
0b7b57afcf61532938b60198598d11f741b12287
4e35423872fe989ccb1f876486b451326d89ba9a
/gustav/export/mixd.py
fcd6cafdaf310fe78156f94ce48be2bce90802e4
[]
no_license
j042/gustav-alpha
54efba1c60f2aed674285580c28f5ae0d4d500ec
f738dcd66fb70df376b8a954a75a9024155a5c7a
refs/heads/main
2023-07-21T01:25:08.725352
2021-08-31T09:26:10
2021-08-31T09:26:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,045
py
import logging import struct import os import numpy as np from .utils import * def mixd(fname, mesh, space_time): """ Write mixd file with given information. Currently supports triangle, quadrilateral, tetrahedron, and hexahedron semi-discrete mesh outputs. Parameters ----------- fname: ...
[ "jaewooklee042@gmail.com" ]
jaewooklee042@gmail.com
2a0b3a93e513b7f33f12ced12c7f3a932ee7c77e
7111511ef0cca1bcf84a76d49419fad504d78f6e
/test331scaping_DictWriter.py
a15348ff338735c3fd8aa09bcf4f71bffd95733e
[]
no_license
blockchain99/pythonlecture
7800033cd62251b0eec8cf3b93f253175d9cb2e8
198e1b6d68db72e4a5009f988c503958ad7ab444
refs/heads/master
2020-12-12T14:21:53.626918
2020-01-15T19:02:07
2020-01-15T19:02:07
234,148,450
0
0
null
null
null
null
UTF-8
Python
false
false
1,469
py
import requests from bs4 import BeautifulSoup from csv import writer, DictWriter response = requests.get("https://www.rithmschool.com/blog") # print(response.text) with open('test331out.text', 'w') as file: file.write(response.text) print("==============================================================") #go to ab...
[ "shinebytheriver@yahoo.com" ]
shinebytheriver@yahoo.com
8e869543ad0440d33a31eb49e8ae70c926b3def4
5e81643567dea09a331a5b155a9e365b30aea276
/events/migrations/0001_initial.py
f22cb6c7a4940cb9222a3be2676c297d003271c9
[]
no_license
vitaliyharchenko/sportcourts
1b260bc1bdda5e904fea18f1c137d7926d52978b
05d1306c1df5bba73bda5b7097368340fd1b6a9d
refs/heads/master
2021-01-19T10:46:17.367784
2015-09-28T09:14:47
2015-09-28T09:14:47
37,144,572
0
1
null
null
null
null
UTF-8
Python
false
false
8,761
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), migrations.swappable_dependency(settings.AUTH_USER_...
[ "harchenko.grape@gmail.com" ]
harchenko.grape@gmail.com
d5beca5ed8e459e345d112583d4a63556cbbeb03
7dd25d238cf6fe9a9f88e8f602b661bf263c2af4
/Nests/wf_nests.py
6088808846dafe9630859077b5fca03a94446928
[]
no_license
IzumovaD/WF-software-support
dc74e96a90b6c8c709858abbed447be7f540e855
cfd4853def40f77ddfa9b09c15c3ddaca101ab81
refs/heads/master
2023-04-26T15:00:24.703979
2021-05-25T15:47:55
2021-05-25T15:47:55
356,993,050
0
0
null
2021-05-12T21:19:00
2021-04-11T22:24:42
Python
UTF-8
Python
false
false
7,019
py
import re from collections import OrderedDict from root_allomorphs import root_allomorphs as allomorphs class Nest: def __init__(self, vert): vert = vert.replace("\n", "") self.nest = OrderedDict([((vert, 0), [])]) self.vertex = vert root = self.form_root() self.ro...
[ "tannenwald@inbox.ru" ]
tannenwald@inbox.ru
bc43583f980dc0e9c3943616e02cb5acb73ba03c
2695d586778c3a19cad843f14f505f3e534f470d
/practice/Dynamic_Programming/Sticker_9465.py
cac0d3e543a6e3506d7453dc877d19c9cfa72409
[]
no_license
kjh03160/Algorithm_Basic
efdb2473186d0aff983a8c0f961d6b86ce66b0d1
24842569237db95629cec38ca9ea8e459857c77e
refs/heads/master
2023-07-14T21:34:29.074373
2021-09-11T10:13:00
2021-09-11T10:13:00
276,395,958
2
0
null
null
null
null
UTF-8
Python
false
false
724
py
# https://www.acmicpc.net/problem/9465 def answer(L): DP = [[0, 0, 0] for _ in range(len(L[0]))] DP[0] = [L[0][0], L[1][0], 0] for i in range(1, len(L[0])): DP[i][0] = max(DP[i - 1][1], DP[i - 1][2]) + L[0][i] # 현재 위를 선택할 때 DP[i][1] = max(DP[i - 1][0], DP[i - 1][2]) + L[1][i] # 현재 아래를...
[ "kis03160@likelion.org" ]
kis03160@likelion.org
deae57d8466c67c0588f984d9edd9a77a8bac904
ed38a50a81aeb206e7c735971bb874eb481e2e82
/2A_2/python/funkcje03.py
a39d5694b51d6b1c312abac8c1751b4b94a38b3a
[]
no_license
lo1cgsan/rok202021
e70db45494d891f179c08ddf3ef1ac55de25e76f
07af7ea54d61d03f851de675744bada9083ecdca
refs/heads/main
2023-06-01T03:38:20.534102
2021-06-21T12:21:42
2021-06-21T12:21:42
347,921,728
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # funkcje02.py # def zwieksz(a): a += 2 # powiększenie wartości o dwa, tj: a = a + 2 print(a) def zwieksz2(b): b[0] += 2 print(b) def main(args): a = int(input("Podaj liczbę: ")) # zmienna lokalna print(a) zwieksz(a) print(a) ...
[ "lo1cgsan@gmail.com" ]
lo1cgsan@gmail.com
fd970270a1867d7e4d1426afa5d8c81c3785cf53
cbb26b8c9722e33eaabecfee954ae668206dc431
/mp2-code/solve.py
51cc469b5884cd5e70686580a9a781d06f3f1eda
[]
no_license
jordanwu97/CS440-AI
dfa6063d745ec032fc812b1c50b17c82180af8b6
893a42b4d1b2f708d08f4518896bd8aaddcf1af3
refs/heads/master
2020-04-18T09:15:18.587710
2019-04-23T00:32:13
2019-04-23T00:32:13
167,427,817
0
1
null
null
null
null
UTF-8
Python
false
false
4,827
py
import numpy as np import time # modified ALGORITHM X code from https://www.cs.mcgill.ca/~aassaf9/python/algorithm_x.html class ALGOX(object): def __init__(self,X,Y): self.X = ALGOX._preprocess(X, Y) self.Y = Y def solve(self): return ALGOX._solve(self.X,self.Y) def _solve(X...
[ "jordan@Jordans-MacBook-Pro.local" ]
jordan@Jordans-MacBook-Pro.local
5e2cf673953c7e75da73e268ab8efdf6d8b2dc7a
d9639fe9687f71d9fa3eda95762e37768a60bc09
/cproject/comments/urls.py
fe8ec102f8d2dd42d8e4fa7e20bf3b464d744137
[]
no_license
AntonMash/comment_tree
bde747c726498453d8a30ceca1505c6e10349456
43f7e3b449f8d3e5a2194c2499dfa241ed4a0a33
refs/heads/master
2023-02-27T20:31:35.186754
2021-02-09T11:41:42
2021-02-09T11:41:42
337,386,042
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
from django.urls import path from .views import base_view,create_comment,create_child_comment urlpatterns =[ path('post-comments/', base_view), path('create-comment/', create_comment, name='comment_create'), path('create-child-comment/', create_child_comment, name = 'comment_child_create'), ]
[ "giltias@inbox.ru" ]
giltias@inbox.ru
f5a704200982ad9f39535af72df5277942e1c98c
7925473a803f87f925cca98b56d3b04f5c00ef35
/linear_regression_land.py
e937df90ed9f70abffc3a177521585ee454052b7
[]
no_license
RakeshGourani/ZeroHunger
3722b0307745e970aa3dcd3b7fc5feaa415bdc89
7d3f7c0b389d77619c4cc88276dc828d038e3b10
refs/heads/master
2023-09-01T21:38:29.445424
2019-09-28T06:53:53
2019-09-28T06:53:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,366
py
import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression import matplotlib.pyplot as plt import seaborn as sns import pickle import os from scipy import stats scores = [] land_data = pd.read_csv("Land_data.csv") def save...
[ "sampathanurag3@gmail.com" ]
sampathanurag3@gmail.com
3deacc17b483fd79573c192526fc20b8ae69b30f
be2a81f03e8a2dac7d356dde7a3ffdcfe3f77e00
/providers/com/biomedcentral/migrations/0002_favicon.py
f3d7c663a9a58c872689d4481f4d3d62cbe13f76
[ "Apache-2.0" ]
permissive
Stevenholloway/SHARE
4193bbd3ca50765a24bf21c0cc14438175fbb678
b9759106d12c2ff548bad22c4be8650e9f41e61e
refs/heads/develop
2021-01-21T19:13:35.205983
2017-02-23T14:45:46
2017-02-23T14:45:46
63,431,390
0
0
null
2016-07-15T15:17:45
2016-07-15T15:17:44
null
UTF-8
Python
false
false
463
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-02-10 14:32 from __future__ import unicode_literals from django.db import migrations import share.robot class Migration(migrations.Migration): dependencies = [ ('com.biomedcentral', '0001_initial'), ('share', '0018_store_favicons'), ...
[ "chriskseto@gmail.com" ]
chriskseto@gmail.com
d733825c2e17c40b8f21ad9a095658449cf1a3ab
ea983836372ca1dfcefd4761292ea7123c9a9790
/profiles/migrations/0027_auto_20201124_1435.py
0234ac208e5fb52319061630670d3469bb1ad664
[]
no_license
Code-Institute-Submissions/SweetHome
ca0cb12fa7893a877398ead8104efa6ac901cb55
0aaf7b42c111355e1d71f8f893ce84177e509cf3
refs/heads/master
2023-01-16T00:40:53.019417
2020-11-30T15:54:27
2020-11-30T15:54:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
# Generated by Django 3.1.2 on 2020-11-24 14:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0026_auto_20201124_0814'), ] operations = [ migrations.AlterField( model_name='userprofile', name='gende...
[ "francesvugts@hotmail.com" ]
francesvugts@hotmail.com
3bcdff560e8830c41505379d37e1379df373635b
a9525859dcc421c446a0d501f2d30882fb73b707
/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/build/config.gypi
c845bb30ecb4ece68143fb356035a3fb365a63db
[ "MIT", "Apache-2.0" ]
permissive
TwilioDevEd/video-service-node
d5c3d3cdf8a96ef5a5d714585ee0e1101e5c1390
5527dd2bfb16e6606855fbcc76187a8bed66f559
refs/heads/master
2021-11-28T15:45:37.249071
2019-03-13T22:55:03
2019-03-13T22:55:03
34,689,393
4
4
NOASSERTION
2021-09-01T21:34:45
2015-04-27T20:26:09
JavaScript
UTF-8
Python
false
false
3,231
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "kevin.whinnery@gmail.com" ]
kevin.whinnery@gmail.com
093dd5adf5896e90311dd8632e63e6d69af42f39
7d7a08723a2aee4368cf94e6bbca008798432a3b
/1.5 Логические операции и операции сравнения/OperLogic&Comparison.py
6f7cc0912f87d391c4bc1f287ee13d3a2dcce59e
[]
no_license
DmitryMedovschikov/Programming_on_Python.Bioinformatics_Institute
3412766050916c6ed6d9395b706406169f3de67c
4e3a80de71f8c4ef39413d34bbfef3cde19ab4dd
refs/heads/master
2023-04-22T12:54:53.276004
2021-05-09T16:03:51
2021-05-09T16:03:51
360,144,629
1
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
# Расставьте скобки в выражении: a and b or not a and not b # В соответствии с порядком вычисления выражения (приоритетом операций). # Ответ: ((a and b) or ((not a) and (not b))) # Выполните код в интерпретаторе Python 3: # x = 5 # y = 10 # y > x * x or y >= 2 * x and x < y # Постарайтесь разобраться, почему интерпре...
[ "medovschikovds@gmail.com" ]
medovschikovds@gmail.com
945d0014a2407619a8a5caf94695cf35c28e0a16
55bdaf0f7c0642e21ed446a47d4ec7ab4a9451a9
/tobuscando/dashboard/forms.py
fadfbdbe1815d0bb0f7a8afcab2cef5850a13fac
[]
no_license
edsonlb/tobuscando
178863e8d27494c4b3638383360f99e03646891b
178859b8fb0e85b932c4aaa33e5eac52a39ac831
refs/heads/master
2021-01-20T09:32:11.811733
2017-05-04T12:50:32
2017-05-04T12:50:32
90,261,543
2
1
null
null
null
null
UTF-8
Python
false
false
1,404
py
# coding: utf-8 from django import forms from django.utils.translation import ugettext as _ from tobuscando.core.models import Person from tobuscando.ads.models import Offer class ProfileForm(forms.ModelForm): def __init__(self, *args, **kwargs): super(ProfileForm, self).__init__(*args, **kwargs) ...
[ "oliveira.matheusde@gmail.com" ]
oliveira.matheusde@gmail.com
e5efff36442daca1dc76753963d41d3814d762fb
ca590c3b7503ef9a1c954f046aaba48789a3b714
/basic_app/views.py
fb7ede572b217a00df186addb60a305a6b54ea9e
[]
no_license
arpitgupta1906/django-loginform-practice
24b357f3d40828ef566a3cdb1d3f704c3811baf4
899029a06a0fc669a2efda9b66fdf8c56167a637
refs/heads/master
2020-06-04T07:45:54.084173
2019-06-14T11:21:38
2019-06-14T11:21:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,345
py
from django.shortcuts import render from basic_app.forms import UserForm,UserProfileInfoForm from django.contrib.auth import authenticate,login,logout from django.http import HttpResponseRedirect,HttpResponse from django.core.urlresolvers import reverse from django.contrib.auth.decorators import login_required # Creat...
[ "gupta.25@iitj.ac.in" ]
gupta.25@iitj.ac.in
7b631e19e522191e7c94a877f0b9acf61a4e7f76
1e05da139b414823fcc52759da7f95ffc5965a60
/mysite/settings.py
8b53b2c600b816d7145769ce0461c2864e52d407
[]
no_license
elabdesunil/django-polls
15c30919727fa880a1d3fb1fcfd8c5e0044695a7
54f2d7d25ed9b4071a3fdd47b64d6fc92c69c230
refs/heads/master
2022-12-22T21:52:50.005901
2019-09-22T19:05:17
2019-09-22T19:05:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,164
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bu...
[ "sunilale0@gmail.com" ]
sunilale0@gmail.com
6ccfe46e32542e484141f4e7a516562743c5f87c
869f3cc7c4b5c0c0b138c76cf457ebc5f7a35525
/tests/v1/test_db_config.py
cb9f7cf6475a018ad2409c8fafa2453c000c347c
[ "MIT" ]
permissive
Curti-s/ireporter-api
dc3c1dea0373243c0035e8d5200c0a33bc106ab5
57b225508f58fd33c848bc480a6dd5b7a5ea5790
refs/heads/develop
2022-12-10T11:24:10.653374
2018-12-08T15:42:01
2018-12-08T15:42:01
158,517,000
2
0
null
2022-12-08T01:27:49
2018-11-21T08:41:03
Python
UTF-8
Python
false
false
1,101
py
import unittest from app import create_app class TestDevelopmentConfig(unittest.TestCase): """Test if configuration is development""" def test_app_is_development(self): app = create_app('development') self.assertTrue(app.config['DEBUG'] is True) self.assertTrue( ...
[ "matthewscurtis81@gmail.com" ]
matthewscurtis81@gmail.com
cec6074f119ad36ec8c85cd99c263eaff3b26f7f
5be5c151664b5b83c0fda1c30771251ee2eb5ead
/Test/com/ruidge/liaoxuefeng/oo/object.py
4229160298952164bd88be7f4d29326cb2ddfab2
[]
no_license
ruidge/TestPython
6aef46728a9f785568418c07db1eee5ce63903f6
00abaa85e55ea347c51bb70751b8d57dd5864876
refs/heads/master
2021-10-07T10:32:34.941971
2021-09-29T07:26:46
2021-09-29T07:26:46
21,946,708
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
# coding=utf-8 ''' Created on 2015年1月30日 @author: zhangrui6 ''' # py 2.2 后继承 object 的目的是使这个类成为 new style class, 没有继承 object 的为传统 classic class, class Foo(object): pass class Foo1: pass if __name__ == "__main__": print type(Foo), type(Foo1) print isinstance(Foo, object) print isins...
[ "ruidge@gmail.com" ]
ruidge@gmail.com
14332c584973d8b33b49bd86857d732747b2129e
f8fed54194051791a13aab2316b719adde186d06
/net/3d_pose_model.py
dd00d56d0b0ab569b59c17d94aed69dc8b9cb85b
[]
no_license
BulletforFreedom/pytorch_cv
cd80908db7b7cb55cb9ae63cbcb8c20f94a1df8b
285fb72c5add2e98bb0c87ff9a5e7eaf5cf4804c
refs/heads/master
2020-04-13T03:56:05.088056
2019-02-27T06:34:02
2019-02-27T06:34:02
162,946,201
0
0
null
null
null
null
UTF-8
Python
false
false
2,998
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Oct 16 10:59:53 2018 @author: lvsikai Email: lyusikai@gmail.com """ import torch import torch.nn as nn class LinearBlock(nn.Module): def __init__(self, linearsize, dropout): super(LinearBlock, self).__init__() self.relu = nn.ReLU...
[ "lyusikai@gmail.com" ]
lyusikai@gmail.com
10667b823be167c063f7d2da9cc7727e91fa1da8
7860d9fba242d9bdcb7c06c32ee4064e4a7fa2f1
/litex_boards/platforms/qmtech_ep4ce15_starter_kit.py
3af64cc4ac1a000aa96a6cd0a7954f16b29cc2f6
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
litex-hub/litex-boards
ef1f200fd6d34c96621f4efa094ede874f4c34ab
b92c96b3a445fde31037f593a40fe621f85cb58c
refs/heads/master
2023-09-03T15:09:11.198560
2023-08-30T15:22:11
2023-08-30T15:22:11
191,191,221
291
283
BSD-2-Clause
2023-09-03T20:32:58
2019-06-10T15:09:10
Python
UTF-8
Python
false
false
5,087
py
# # This file is part of LiteX-Boards. # # Copyright (c) 2022 Franck Jullien <franck.jullien@gmail.com> # SPDX-License-Identifier: BSD-2-Clause from litex.build.generic_platform import * from litex.build.altera import AlteraPlatform from litex.build.altera.programmer import USBBlaster # IOs --------------------------...
[ "franck.jullien@collshade.fr" ]
franck.jullien@collshade.fr
eb7d6a4abda13af08dead3330c0e64c29fd40e93
b012caadf2bbfa34db5d0144accc5aeb02f26c68
/keystone/common/sql/contract_repo/versions/029_placeholder.py
a96cd6f3625240fefa55dfdb8f0df785e3aa29f3
[ "Apache-2.0" ]
permissive
sapcc/keystone
c66345df04af12066ec27ad93959da7b0b742fdc
03a0a8146a78682ede9eca12a5a7fdacde2035c8
refs/heads/stable/train-m3
2023-08-20T07:22:57.504438
2023-03-06T15:56:44
2023-03-06T15:56:44
92,154,503
0
6
Apache-2.0
2023-03-24T22:13:22
2017-05-23T09:27:56
Python
UTF-8
Python
false
false
754
py
# 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 agreed to in writing, software # d...
[ "lbragstad@gmail.com" ]
lbragstad@gmail.com
238624f18e184ded3178a8511c294178faf325d0
6ee26ef4cc5224c9410208c4399698faffbac10b
/dominions/constants_tables.py
5859f42f367d7b98b19c4db6a94e164735729507
[ "Apache-2.0" ]
permissive
socialloser1/dominions-tools
60bd872f7794f0df0d9d7e6376f33b188440f1db
c04fae655db8ca2240fc6f6ea3ac65a4c8a48eb7
refs/heads/master
2021-05-07T09:38:54.068262
2017-06-13T19:47:11
2017-06-13T19:47:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,649
py
############################################################################### # dominions # #-----------------------------------------------------------------------------# # # ...
[ "the.eric.mcdonald@gmail.com" ]
the.eric.mcdonald@gmail.com
79916b4df806f4901817a88123389f923ea0c09c
cc99bef17c1ad843b6514b79254a8ab10f1fd32e
/app.py
7e53afc69b6f34d8ea7b6b819ed985de773b0a13
[]
no_license
TiagoAltstadt/FileSorter
6190a808748896204e0b50335852c4c700034f51
141b022a6c3587ba79d75c8b88346f4ac3bd9564
refs/heads/master
2023-07-14T14:57:07.276455
2021-08-24T18:51:58
2021-08-24T18:51:58
399,572,737
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
# Import Module import os from datetime import datetime # Folder Path path = './data' # Change the directory os.chdir(path) def changeFilesName(): for count, filename in enumerate(os.listdir()): aux = os.path.getmtime(filename) hola = datetime.fromtimestamp(aux).strftime('%Y-%m-%d %H-%M-%S') ...
[ "tiagoaltstadt@gmail.com" ]
tiagoaltstadt@gmail.com
81d64fbe8e61f3bfd56fd9fe45446ed82ad92b0e
3ee5f3f013cbb6ab8620c973c191ccc5e5d47aec
/nps_examples_py/setup.py
e7d39e367baae191821864d00af970b90237b4ce
[]
no_license
nps-ros2/nps-ros2-examples
96837de908c7c76089f1eda6c10fb28c23452fdf
557244746b370f04288a7de74b4b12991cf331e0
refs/heads/master
2020-05-07T20:51:12.577750
2019-09-10T17:43:42
2019-09-10T17:43:42
180,880,969
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
from setuptools import find_packages from setuptools import setup package_name = 'nps_examples_py' setup( name=package_name, version='0.6.2', packages=find_packages(exclude=['test']), data_files=[ ('share/ament_index/resource_index/packages', ['resource/' + package_name]), ...
[ "bdallen@nps.edu" ]
bdallen@nps.edu
650b83baea8f8fa8775490ba7da86be009c5d21d
601c25757c20f0f399d6abbf948638f93008a897
/to_coco_train.py
01702e9d9c457ef271ae4bc84977b6638eb6ba94
[]
no_license
aositeluofu/ZTE_challenge_sort_top9
25954fb07e6e306213ecd782c33a52374b95afe5
1e372c88c8628100ee61957c5f50ff07a0cae54f
refs/heads/master
2023-01-23T01:14:00.007763
2020-11-22T13:42:44
2020-11-22T13:42:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,023
py
import json from os.path import join,dirname,realpath import os import cv2 import numpy as np def file2array(path, delimiter=','): recordlist = [] fp = open(path, 'r', encoding='utf-8') content = fp.read() # content现在是一行字符串,该字符串包含文件所有内容 fp.close() rowlist = content.splitlines...
[ "759379768@qq.com" ]
759379768@qq.com
31fcfdec26c80808e1bec53fe1961534b35fc880
0d24036dcf8736c0392a1ee1c2f3b45633221d8a
/etc/src/genpy-bgp-oper/cisco_ios_xr_ipv4_bgp_oper/bgp/instances/instance/instance_standby/default_vrf/afs/af/advertised_path_xr/advertised_path/bgp_path_bag_pb2.py
3e00a023d4edf24ceacb989bcfb6ea9a39192b3d
[]
no_license
mspiez/telemetry_collector
c4b97c6686748fc20748898a25e9fc756d2d0b63
52ed12c06debfe04181f0bfea9854a66ed8bb3df
refs/heads/master
2020-12-19T23:28:08.358956
2020-05-02T19:54:38
2020-05-02T19:54:38
235,883,080
0
0
null
null
null
null
UTF-8
Python
false
true
177,156
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: cisco_ios_xr_ipv4_bgp_oper/bgp/instances/instance/instance_standby/default_vrf/afs/af/advertised_path_xr/advertised_path/bgp_path_bag.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf imp...
[ "mspiez@gmail.com" ]
mspiez@gmail.com
621c24156116cefc947d5504a6bd59729de62186
5d74051293a4740c597abb016870a56a58cecf5b
/modules/persons/application/controllers/v1/delete_user_api.py
76a6e1ba2a6489b962b624f13f7d278ed3e95ec2
[ "BSD-3-Clause" ]
permissive
eduardolujan/hexagonal_architecture_django
98e707148745f5a36f166c0584cfba21cca473f0
8055927cb460bc40f3a2651c01a9d1da696177e8
refs/heads/develop
2023-02-21T22:46:20.614779
2021-01-16T02:48:37
2021-01-16T02:48:37
305,813,872
5
2
BSD-3-Clause
2021-01-16T18:00:26
2020-10-20T19:32:46
Python
UTF-8
Python
false
false
2,043
py
# -*- coding: utf-8 -*- from modules.shared.infrastructure.log import LoggerDecorator, PyLoggerService from modules.shared.domain.http import status as http_status from modules.shared.domain.requests import Request from modules.shared.domain.responses import Response from modules.shared.domain.serializers import Seri...
[ "eduardo.lujan.p@gmail.com" ]
eduardo.lujan.p@gmail.com
8da27b16ac1aedc55dd46d8dc3adb9357b99bcd0
bb84fde639d202c4c1e6970074dc45fa5144c426
/DZ06/6task_01.py
c9624019d48f912b13f6328c70e74417e2a0fcd0
[]
no_license
5kyliner/WebAcademyProject
7cdd44f80df8936ff73df1944e097dac92fe5c51
0182508d64abdac0b5373b86b58f1c040459dc26
refs/heads/master
2020-03-19T02:10:12.524695
2018-07-08T20:36:31
2018-07-08T20:36:31
135,605,640
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
# Task01 """ 1. Найти номер и значение первого положительного элемента списка. """ def find_first_positive(a): for i in range(len(a)): if a[i] > 0: # print('Номер элемента списке:', i) # print('Значение:', a[i]) return (i, a[i]) elif a[i] < 0: pass ...
[ "kipperbot@gmail.com" ]
kipperbot@gmail.com
8c702e90c34470a77861f3a53678d7024f517190
8453bad2f70c942c72888d0f089b31717916b62e
/Tries/multiStringSearch.py
0b76aa66acc65d3cd924c92bf4c98f54e7661e0d
[]
no_license
sagnikghoshcr7/DSA-AlgoExpert-Practice_Solutions
2dc59fc809c3e356d48ae2e0103d3e308111905d
fe05e162f6244aed4b9471612e53eb2e1c3d9356
refs/heads/master
2022-12-27T12:50:26.117284
2020-10-13T05:51:22
2020-10-13T05:51:22
282,289,863
7
0
null
null
null
null
UTF-8
Python
false
false
3,679
py
""" Multi String Search Write a function that takes in a big string and an array of small strings, all of which are smaller in length than the big string. The function should return an array of booleans, where each boolean represents whether the small string at that index in the array of small strings is containe...
[ "noreply@github.com" ]
sagnikghoshcr7.noreply@github.com
f5c4f35fd2c565576bde29aca9db25fcd3e650fd
87288a9896a7223881522a7a1c9fd0bc94a58dd4
/picfall.py
8bf7f3fa08e97dafbcbde6935ab8af0ff26255ee
[]
no_license
danseagrave/picfall
acdfd2d8de6283d84247a3aa3c655ae74cc258a5
49b088083523252d3ad156fbe68e71354bc7ba40
refs/heads/master
2020-06-02T05:08:05.015479
2015-06-27T16:00:04
2015-06-27T16:00:04
38,165,466
0
0
null
null
null
null
UTF-8
Python
false
false
5,436
py
import os import re import urllib from urlparse import urlunparse from google.appengine.ext import webapp from google.appengine.ext import db from google.appengine.ext.webapp import template from google.appengine.api import urlfetch from django.utils import simplejson from twitter import twitter from httphe...
[ "dan@dipsy2" ]
dan@dipsy2
e51540b0300e36e9583ef8b4b9f38144c1a81ec8
7e4fd3a8ef590bf5175031d7dadd52a060c36aaa
/logging_learn.py
9b22765abf463cbc55e865c24106b9b4259335e6
[]
no_license
rickyhwung/python3
fdbc3e7021c0214b59e69603827a2482ef0811c6
bd127419c8716737f52a9f1fd0a149107b2cf48b
refs/heads/master
2021-06-20T11:08:04.981280
2019-09-02T00:23:42
2019-09-02T00:23:42
190,026,308
0
0
null
2021-06-10T23:35:05
2019-06-03T14:53:47
JavaScript
UTF-8
Python
false
false
1,614
py
import logging import logging.handlers import time format_dict = { 1 : logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s'), 2 : logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s'), 3 : logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s'), 4 :...
[ "rickyhwung@163.com" ]
rickyhwung@163.com
d5b778e30438fb5003e9ab8f5be37d0e342c02cc
380712a4d3436b5997cebdaf2d6bdd5227ffef99
/06_using_classess.py
d142dc0ceb8bdaa3387069624f66825710ea5553
[]
no_license
rifqirosyidi/tkinter-basic
76b80095a0063a5e184fa12a1fb9193f3ea91fb6
75d9ae83af4b555335b95ac177bdd361529550ed
refs/heads/master
2020-08-30T08:52:43.162243
2019-11-01T13:32:50
2019-11-01T13:32:50
218,325,072
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
from tkinter import * class SomeClass: def __init__(self, master): self.frame = Frame(master) self.frame.pack() self.print_button = Button(self.frame, text="Print Me", command=self.print_message) self.print_button.pack(side=LEFT) self.close_button = Button(self.frame, te...
[ "rief.rosyidi@gmail.com" ]
rief.rosyidi@gmail.com
b7c682b6962704e09f1e2495f4bd5b4a6334957c
ffe193727325099bea51bed9c5be44cf0cdbb20d
/k-way_merge.py
6fff8f7b0f2a90d3f2091053bd75755f970e6e19
[]
no_license
ivanezeigbo/statistics
46e58a0d3564e235d085958ce24eaffb017e6bdd
9780955300b3fa32af0646bae27b4d72536d9478
refs/heads/master
2021-01-19T05:10:32.147709
2018-04-20T10:55:03
2018-04-20T10:55:03
65,373,439
0
0
null
null
null
null
UTF-8
Python
false
false
2,324
py
#import pdb; pdb.set_trace() from time import clock import random; import math random.seed(501) import matplotlib.pyplot as plt def insertion(list): for i in range(1,len(list)): w = i #w is for comparing while w > 0 and list[w] < list[w-1]: list[w], list[w-1] = l...
[ "noreply@github.com" ]
ivanezeigbo.noreply@github.com
c87b53e73526500ff0f09df41d71d7f7fd37e251
936032b889517d13f58af2e9bc60700b9f371dac
/Borsellino.Langton.py
e51019b7126c99e263225bd08820236bd9a605b9
[]
no_license
mborsel1/LangtonAnt
5587b2fbb37a077525d956c502d8565db9c98976
2a4e78c46807bcc45da2e2e3a4348b4b38d3dccf
refs/heads/master
2021-04-26T23:39:42.883183
2018-03-04T22:17:18
2018-03-04T22:17:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed Feb 14 10:58:05 2018 @author: Michael Borsellino """ import matplotlib matplotlib.use('TkAgg') import pylab as PL import scipy as SP width = 100 height = 100 def init(): global time, x1, y1, config, state, lastx, lasty time = 0 lastx, l...
[ "noreply@github.com" ]
mborsel1.noreply@github.com
b5a11e94c69d8671ad535398c8b61a5819cfd8cc
45ed74f2493a9b82a28aaa8f92bc4961bdfd804f
/catkin_ws_lab_kf/build/robot_pose_ekf-master/cmake/robot_pose_ekf-genmsg-context.py
16c05cfcd43b7f4a3a4b7f83e55e65430a87c61f
[]
no_license
fishflying3891/udacity-robotics-software-engineer
c21c66ce36f3bdee894ca0ce7571060bfc3333ce
4a792c7d19339b3808c128ce8714f3dcc3ac64b9
refs/heads/main
2023-07-24T21:07:32.995069
2021-09-08T04:11:56
2021-09-08T04:11:56
380,644,749
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "" services_str = "/home/workspace/udacity-robotics-software-engineer/catkin_ws_lab_kf/src/robot_pose_ekf-master/srv/GetStatus.srv" pkg_name = "robot_pose_ekf" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_pa...
[ "ethan.fei.yu@gmail.com" ]
ethan.fei.yu@gmail.com
16e39520ada57ae4d129e3811101334697cef212
de3d9ba254b1e8047817fff9fec9b3762e138817
/micro_bit/micro_bit资料收集/播放音乐粉刷匠.py
85d1f6fb6cd5966cb7c83265861063df60a1a8c5
[]
no_license
chenjiegd/microbit_Repository
3343401cf4f6f9a8011fa7a2ebe0023a6a76c4e1
8b37e4c378712a53f20b5a68ed62e96d2c5c19d3
refs/heads/master
2020-04-17T17:25:43.179476
2019-06-06T01:24:25
2019-06-06T01:24:25
166,781,877
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
from microbit import * import music display.show(Image.MUSIC_QUAVER) tune = ["G4:2", "E4:2", "G4:2", "E4:2", "G4:2", "E4:2", "C4:4", "D4:2", "F4:2", "E4:2", "D4:2", "G4:4", "E1:4", "G4:2", "E4:2", "G4:2", "E4:2", "G4:2", "E4:2", "C4:4", "D4:2", "F4:2", "E4:2", "D4:2", "C4:4", "E1:4", "D4:2", ...
[ "noreply@github.com" ]
chenjiegd.noreply@github.com
c3e3e185d6859d2945a795226ced30bc8ddb66b3
1ccc531e77b10fb75a31fdc441db84f6180c81b3
/example-project/process_items.py
d106ca2d489f5338d423eeef7e97d5cf1fab35b1
[ "MIT", "Giftware" ]
permissive
lnlantian/Scrapy
aba7acccb9c03b2c8189229c4eb25f07eecc2389
fedaa39e7fa8b839701a21f179cd292898a25642
refs/heads/master
2021-01-20T18:14:54.851395
2017-02-26T01:36:51
2017-02-26T01:36:51
64,541,473
0
0
null
null
null
null
UTF-8
Python
false
false
2,926
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """A script to process items from a redis queue.""" from __future__ import print_function, unicode_literals import argparse import json import logging import pprint import sys import time from scrapy_redis import get_redis logger = logging.getLogger('process_items') def...
[ "darkrho@gmail.com" ]
darkrho@gmail.com
1b1e93bc39f957e9273260f3bc1e19ce4bea3d8c
0bda0c021c7ca651646d15cba9a54bc82b836838
/SSX_model_A.py
85124f9da6930b92f748d5dd6504985f0c4fd3b1
[]
no_license
nanders4/SSX-Files
89666ad802adcd510788fc79fd374c65104a4bfe
958393ffe0e0a2b7aa28a453c0374af82a9013d8
refs/heads/master
2020-03-25T03:00:06.397897
2018-08-03T15:44:54
2018-08-03T15:44:54
143,317,608
0
0
null
null
null
null
UTF-8
Python
false
false
7,747
py
"""SSX_model_A.py This is the *simplest* model we will consider for modelling spheromaks evolving in the SSX wind tunnel. Major simplificiations fall in two categories Geometry -------- We consider a square duct using parity bases (sin/cos) in all directions. Equations --------- The equations themselves are those f...
[ "nanderson321@gmail.com" ]
nanderson321@gmail.com
ed7e12c276248207dcadefe405fbe058b20652dd
258e47d8e55db0fb12437aa1e7f9860a8bef6623
/agilex/configuracion_agilex/doctype/tipo_de_documento/tipo_de_documento_dashboard.py
6f3e46469731e8b52ecba7c28fb32c310398f215
[ "MIT" ]
permissive
Nirchains/agilex
003894bed211c71004f37beb22fd96fc1df6576f
04470873abdea5d0023a1ccadf02a932fb3e834b
refs/heads/master
2021-06-12T11:23:48.027599
2021-05-28T21:48:00
2021-05-28T21:48:00
166,990,550
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
from frappe import _ def get_data(): return { 'heatmap': False, 'heatmap_message': _('This is based on the Time Sheets created against this project'), 'fieldname': 'tipo_de_documento', 'transactions': [ { 'label': _('Ver expedientes'), 'items': ['Expediente'] } ] }
[ "nirchains@gmail.com" ]
nirchains@gmail.com
271d40935f16d86274c80cad2bde0c58c0bb8ccc
953fba52bb8f05339786e108f60b05e57e3f2093
/guia/capitulo_5/cap5_project/settings.py
4262851f96a3f7f869550cf9eb327664e9750168
[]
no_license
student10github/primer_repositorio_cursdba
2759eced078f97e0960cfb9031609dc125b5f5ed
6b007c6c0e77bc4366473e9de1b6081f9b074159
refs/heads/main
2023-01-04T06:26:51.299247
2020-10-24T17:35:05
2020-10-24T17:35:05
306,871,381
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
""" Django settings for cap5_project project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pa...
[ "student10github@gmail.com" ]
student10github@gmail.com
51fbd3042c1ab812d5c5f8d4532d7226469186bd
d0d845cc5c77ec62cb5f5268527efadc5ff68e12
/tests/linsys_test.py
01b8acbc61b5dff2c53bf5ee4ce03f50f6297486
[ "MIT" ]
permissive
madhavajay/ud953
2134a267ccf15ff95d717b9d76633bfd83ea5e40
6c101ae15adefa98ad4950275b52ef03419a0f40
refs/heads/master
2021-01-21T04:44:51.628018
2016-06-18T08:58:20
2016-06-18T08:58:20
50,235,584
2
6
null
2016-06-18T09:02:22
2016-01-23T11:29:14
Python
UTF-8
Python
false
false
6,192
py
# -*- coding: utf-8 -*- # Author: github.com/madhavajay """This is a test for the Linear System Class""" from decimal import Decimal, getcontext from vector import Vector from line import Line from plane import Plane from linsys import LinearSystem # set the decimal precision getcontext().prec = 30 def test_linsys_...
[ "me@madhavajay.com" ]
me@madhavajay.com
41a53bbfa73c42d13714aa95f8a6f780a4bd9f0f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/299/66464/submittedfiles/testes.py
83cd0f4164df46ab44cfb4ae691bbced548efa8a
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
# -*- coding: utf-8 -*- print("Nikolas Sivini Borges Galvão") print("20") print(11+1037) print((9*35+160)/5) print(3.14159*5**2*3) print((2+5)**2) #add x=0 y=2 while x<100: x=x+y print(x)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
3306d61cfb77c241204cf96a9bb4ef072b7ab5ed
2b0187b6214da482fe253e0e7a5632d32f1db000
/blog/migrations/0001_initial.py
4b2ab9a1ba58d0c4432c3820b24950d1a224d544
[]
no_license
KedroBoss/byexample
910eae1f0ba2aa3031331c7c6d9a4991664f7af5
995dd8cf64084602a11a3c0b0071d90d6595bf73
refs/heads/master
2021-01-11T21:44:50.768250
2017-01-19T09:40:54
2017-01-19T09:40:54
78,844,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-01-03 11:14 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depe...
[ "dimmak90@gmail.com" ]
dimmak90@gmail.com
b102bf04f8e4c9b68a9fdf1a1ebe79d2b472e02c
ac58676ef85ba33c1b50ba48af55412565a16e17
/Day20.py
2ce96a0d8d4cd763f3498bd719685427d1de714a
[]
no_license
Rupam-Shil/30_days_of_competative_python
51e4bd66c8704169cdb6aa65c49cca99a664e853
6bf7f25020be1bec871729362e24b48e18e9dfa3
refs/heads/main
2023-03-30T02:46:04.744683
2021-03-28T06:20:48
2021-03-28T06:20:48
336,993,444
3
0
null
null
null
null
UTF-8
Python
false
false
264
py
'''Find a square of number without using multiplication and division operator''' def calcSquare(num): sum = 0 for i in range(num): sum += num return sum num = int(input("Please enter a no:")) print("the square of {} is {}".format(num, calcSquare(num)))
[ "noreply@github.com" ]
Rupam-Shil.noreply@github.com
5ae06310b3013350540c1be6333d058b349c1008
22a5d022ee3abeb4d6d8ef439bf5ada22c9eb686
/ssmode/bar_chart.py
8e32470e92756ad42883342dfee6934735519870
[ "MIT" ]
permissive
skyselect/ssmode
269d297c981bbc49769db8c088af10e8671bf8ff
95da748bc62779db8308bfd05470292948040410
refs/heads/master
2021-03-23T20:08:54.487573
2020-03-31T15:34:25
2020-03-31T15:34:25
247,480,707
1
0
null
null
null
null
UTF-8
Python
false
false
857
py
from .constants import colors def style_bar_chart(ptl_fig, ytitle=''): # Add axis title and style the legend ptl_fig.layout.yaxis = {"title": ytitle, "titlefont": {"size": 12}} ptl_fig.layout.legend = {"xanchor":"center", "yanchor":"top", "x":0.5,"y":-0.15, "orientation":"h"} ptl_fig.layout.font = dict(family=...
[ "rasmuskisel@Rasmuss-MacBook-Pro.local" ]
rasmuskisel@Rasmuss-MacBook-Pro.local
48a03867f4833bc8161bc39682ab3974887a8612
d0fe1112743cc36b2089b695fb7c527a3b8bb9f7
/LifeCycleAnalyzer/Simulators/__init__.py
da272a632315bffa45e44941c0af211cb81b23f6
[ "MIT" ]
permissive
vd1371/GIAMS
bfff465c69f02a5dd1a2544bfe7170087a8e181d
cf8b7cb028b6cc6cd7facd6f45dd288067e9ff65
refs/heads/master
2023-04-14T07:09:00.801898
2022-08-01T01:16:06
2022-08-01T01:16:06
278,012,609
2
1
null
null
null
null
UTF-8
Python
false
false
128
py
from .MainSimulator import MainSimulator from .DummyRiskAnalyzer import DummyRiskAnalyzer from .EnvSimulator import EnvSimulator
[ "vd1371@gmail.com" ]
vd1371@gmail.com
ecfb22a1f524765000e6d2826f9a05fc2854cefb
d818cbfba933f65e26ac6abe3865ed3f956eba5e
/user_group/tests.py
0c374cf55703d59f04e1e3c82c5e098ca0e64d81
[]
no_license
gwachhamit/MyProject
27798c95c776cbb35a72c6c8b70492e1663474da
e499852a411aa9791740b207394625b66b3c2175
refs/heads/master
2020-04-25T16:03:31.579961
2019-02-27T10:55:11
2019-02-27T10:55:11
172,897,636
0
0
null
null
null
null
UTF-8
Python
false
false
1,842
py
from django.test import TestCase from django.urls import reverse from django.contrib.auth.models import User, Group from rest_framework import status from rest_framework.test import APITestCase from rest_framework.test import APIClient from rest_framework.test import force_authenticate import json # Create your tests ...
[ "genuineaametax@gmail.com" ]
genuineaametax@gmail.com
f421a6af40ae5171cceff2d4962cb7c99889310d
fe87192240c3d5ffe7deb5c9f2b7f02f347a2c00
/peptide-permable/analyze_result.py
69ef531b3d8aa7f477fdaf44fe9133b385513008
[]
no_license
leexa90/dl_dev_course
ccfae0bbef4790b0b75fc9da0679f23c1da3bcf5
10a9e826cd7e752ce607deadc63826b313de39d2
refs/heads/master
2022-08-17T05:07:35.280305
2017-12-07T09:04:14
2017-12-07T09:04:14
105,847,852
1
2
null
null
null
null
UTF-8
Python
false
false
5,368
py
import pandas as pd import os files = sorted([x for x in os.listdir('results') if ('.csv' in x and 'results5' in x)]) dict_files = {} data = pd.read_csv('results/'+files[0]) data['diff'] = 0 dict_files[0] = files[0] counter =1 for i in files[1:]: print i counter += 1 dict_files[counter] = i temp = pd....
[ "lee.x.a90@gmail.com" ]
lee.x.a90@gmail.com
f7c55e0e1f70031e5e6cb304b08ede6bb0e96d1e
42209d0278c429d4b8c22b23109b577e10665570
/rgb2flow_script.py
1f44b08f1970135093c108836c2d2090e75c53d0
[]
no_license
YunwenHuang/Single-shot-Spatio-temporal-action-detection
342520ec4bbc88ba7df94df71f9dbee7afa6fb86
959f811b12ca5583b602765e5968f32ebad92ce0
refs/heads/master
2020-03-18T21:11:25.955033
2017-10-24T16:19:38
2017-10-24T16:19:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,258
py
# Imports from glob import glob from utils import ImageUtils import os import yaml import h5py import io import numpy as np import multiprocessing from PIL import Image import cv2 from scipy.io import loadmat from joblib import Parallel, delayed import pdb import argparse # Global Vars PARALLEL = False parser = argpar...
[ "alaaelnouby@gmail.com" ]
alaaelnouby@gmail.com
98adc2f86d297b8a79c2eb2c4ad0528d7e435bc9
a056e699bb03614563dc9090c4c3bc65479fc2d9
/buffered_normal.py
052155b79cc21ef651f9092a14a4e1be4c1a18a0
[ "BSD-3-Clause" ]
permissive
iandees/marblecutter
278890faaf7a4d7b604bf2520aff8adb3c5d1b95
779b9c597bbd69ca3044f2c246721dc4eeeef61d
refs/heads/mapzen
2021-01-25T04:36:13.210028
2017-06-15T19:35:53
2017-06-15T19:35:53
93,455,208
0
0
null
2017-06-05T23:13:17
2017-06-05T23:13:17
null
UTF-8
Python
false
false
1,243
py
# noqa # coding=utf-8 from __future__ import division import logging from StringIO import StringIO import numpy as np from PIL import Image from normal import render_normal LOG = logging.getLogger(__name__) BUFFER = 4 COLLAR = 2 CONTENT_TYPE = 'image/png' EXT = 'png' NAME = 'Buffered Normal' def render(tile, (d...
[ "seth@mojodna.net" ]
seth@mojodna.net
00432f0cdfde323754f5d5b31594e5f419a4260f
26bd2d94a849fff0d5428c752b132a4780b96577
/lib/PvGithubFormat.py
15e78f500512fa5d028ac9964c64453deaee47a5
[]
no_license
kaosdg/pivotalreleased
f3ec70d059e458d0a5f4854a2209906ad7dc9785
55039665cfcabf91a17793bd69c40be3fc396948
refs/heads/master
2021-01-22T14:15:49.823569
2014-02-21T15:35:30
2014-02-21T15:35:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,579
py
from PvFormat import PvFormat from datetime import datetime from cStringIO import StringIO class PvGithubFormat(PvFormat): def format_project_details(self, project): file_pointer = StringIO() file_pointer.write('# %s\n' % project.get('header')) file_pointer.write('### %s\n' % project.get(...
[ "karl.catigbe@viacom.com" ]
karl.catigbe@viacom.com
e209526ee9554ff6548df32367dd10813a5f4f0c
f90987f8084f984fbafef11322eeeeeeb9277b3c
/dfpipe/pipe.py
87b48a3794e6ec8123d6c581fb4f5e009192ea69
[ "Apache-2.0" ]
permissive
bw4sz/gae-dataflow
ad04a11bc04adfbeef2b5bf6248d8dce41e5d017
b26b296f8cae30c67d5e5a85bb45ad8e56ede14f
refs/heads/master
2021-01-01T16:57:45.743717
2017-05-04T16:54:42
2017-05-04T16:54:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,500
py
# Copyright 2017 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "amyu@google.com" ]
amyu@google.com
0370c61edcc25acc8cac391cd63b6b9f324944bc
877e4821c6c62eb4017f7652c25a03342c8c4884
/cbs_whitelist/white_list_sort.py
41ebbdf34f445ccb664540d4a7c01a4fdcc8225e
[ "MIT" ]
permissive
ForrestLi/py_strategy
f1380dda26174220584744b5b47b014ecd3f6e1c
dab2b8afb9d9577219d4571cb36b408a5d82fee8
refs/heads/main
2023-01-19T19:43:06.931568
2020-11-22T04:08:07
2020-11-22T04:08:07
314,944,080
0
0
null
null
null
null
UTF-8
Python
false
false
8,105
py
''' Created on Nov 15, 2020 @author: Forrest Li ''' import statistics import operator cbs_ch_d={'XHKG:02233': 'NAN', '000048': ['23.16', '33.14'], 'XHKG:00613': 'NAN', '600570': ['21.16', '56.91'], '300122': ['41.66', '69.49'], '600031': ['23.93', '35.12'], '600764': ['47.9', '66.7'], 'XHKG:00119': 'NAN', '600516': [...
[ "willpowerli@163.com" ]
willpowerli@163.com
79a88831525618e5295eaf8ea636b39e46629ee8
7f5e2326fbf378ec5e9657f4ad22bbcede3f7f93
/search/searchAgents.py
d06f12cf61ba98a0d4deb896c1ab65ed94fe40eb
[]
no_license
EmmmaHan/CS188
b30cf2a587b464aa201b75f15fee119abd7fde9e
125504812d3f75a4bbf1ae0ed138db9192052d21
refs/heads/master
2022-01-11T12:15:49.905561
2019-06-06T03:16:43
2019-06-06T03:16:43
190,487,730
0
0
null
null
null
null
UTF-8
Python
false
false
22,559
py
# searchAgents.py # --------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley...
[ "emmahan@Emmas-MacBook-Pro-2.local" ]
emmahan@Emmas-MacBook-Pro-2.local
082444ad271b4e2d34e2eed2760bd53b0c01a64b
5a45b19e36b8bf2f524676b5255827d6c69ec614
/cvdaTA.py
1649b867d290a2d52152e67872ead03c9d4b21ea
[]
no_license
Ipsitbhatt/C-sharp-
806db3e90cb2321e1ba32c29dd9035ca3d53e346
acc6da84e0db4592902378e1c9be96ed499aedc4
refs/heads/master
2020-04-16T17:48:36.280318
2019-03-28T05:16:32
2019-03-28T05:16:32
165,789,738
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
# -*- coding: utf-8 -*- """ Created on Thu Mar 28 09:46:14 2019 @author: dit """ import cv2 import numpy as np import matplotlib.pyplot as plt image = cv2.imread('C:\\Users\\dit\\Pictures\\cat.jpeg') image1 = cv2.cvtColor(image,cv2.COLOR_RGB2GRAY) plt.imshow(image)
[ "noreply@github.com" ]
Ipsitbhatt.noreply@github.com
a395c82a89fc6e3b2e18e384f6d821681a2b2481
6c38e5f5e43e47f83b34581b0f3a785ee5b5768b
/old_version/src_server/handler/care_handler.py
76abda847be279c69728bf1dd5f353e49d16bc03
[]
no_license
340StarObserver/deepnote
bd3a8765222e550bec4cd05e894b3fa8ba6f1303
643a5252ceeb6e5d633ae1b0691121136135fbbe
refs/heads/master
2021-01-17T01:50:02.731339
2017-03-23T08:49:12
2017-03-23T08:49:12
63,515,784
1
4
null
null
null
null
UTF-8
Python
false
false
2,363
py
#!/usr/bin/python # -*- coding:utf-8 -*- # Author : Lv Yang # Created : 05 October 2016 # Modified : 22 October 2016 # Version : 1.0 """ This script used to care somebody or cancel care """ import time import sys sys.path.append("../model") from base_handler import BaseHandler from mongoconn_model impor...
[ "lvyang@ippclub.org" ]
lvyang@ippclub.org
855f7cf66e2f45a2fe4d5bc6c25db3575a14ec1d
a00ed711e3e08b50ad6e91cc07a2cddc4a1de5ea
/airflow/providers/amazon/aws/example_dags/example_redshift_to_s3.py
8116e02dc165ce82f017a21ede850dece6254ec9
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ishiis/airflow
4305794e36b611d01f49e3f2401be3dc49782670
292440d54f4db84aaf0c5a98cf5fcf34303f2fa8
refs/heads/master
2022-07-30T00:51:28.806940
2022-07-14T12:07:11
2022-07-14T12:07:11
209,801,072
1
0
Apache-2.0
2019-09-20T13:47:26
2019-09-20T13:47:26
null
UTF-8
Python
false
false
1,575
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
ishiis.noreply@github.com
469e579b0a396a30e46ed93bc267b76bed2218c9
b088d5dc4321f9f145c7bceb20a0b9479b374c65
/level1&2/42883.py
8169482655042d081bd9380cf7217e0935b0e85c
[]
no_license
heojungeun/codingtestPractice
55bfc2b13791f5cb3133b0815991a0c696f8482c
65d668bf6df82967f89d4ec4eb3a1e11de603729
refs/heads/master
2022-09-17T00:34:05.887237
2020-05-30T06:45:30
2020-05-30T06:45:30
261,093,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
def solution(number, k): # import itertools # dig = [] # for i in range(0,len(number)): # dig.append(i) # dig = list(itertools.combinations(dig,k)) # lenn = len(number) # arr = [] # for x in dig: # tmp = '' # for i in range(lenn): # if i in x: # ...
[ "heocube@naver.com" ]
heocube@naver.com
a41a1d0985e9c6ccd90ab996db6283cf92386ea4
26c909d5ccf36193a72e9034707b69edbfd67789
/138_copy_list_with_random_pointer.py
f36b458b137745a6c6b3243e2c6aa71783fc7325
[]
no_license
zeroohub/leetcode
39a835476eedea5bf8f434a15efb5e73495209f9
cfefa073d6c6f664a835b87369dbba0203b91e58
refs/heads/master
2020-03-22T03:51:22.247932
2019-02-21T11:07:13
2019-02-21T11:07:13
139,456,288
0
0
null
null
null
null
UTF-8
Python
false
false
1,957
py
# -*- coding: utf-8 -*- from data_structure import * from collections import defaultdict class Solution(object): def copyRandomList(self, head): cache = defaultdict(list) result_head = new_head = RandomListNode(0) temp_head = head while head: new_node = RandomListNode(he...
[ "spamzero@yeah.net" ]
spamzero@yeah.net
d91e62fc90665328bcd80d2dec48265a00a287c2
dbeeb70d1f6dc4522ec69c54fad5a455f32649eb
/jadrn023/login.cgi
552d43acd529496a9a64140868b14cab50e5584d
[]
no_license
gsivakumar608/Web-Application
294cc8f45a92b94596212ce6d122d9e251b6090a
ea8c6ff93d28e1c60adb42116a7adda3546e5b36
refs/heads/master
2021-01-09T09:39:02.716133
2016-07-13T20:16:51
2016-07-13T20:16:51
63,276,378
0
0
null
null
null
null
UTF-8
Python
false
false
5,696
cgi
#!/usr/bin/perl use CGI; use CGI::Session; use CGI::Carp qw (fatalsToBrowser); use Crypt::SaltedHash; ##---------------------------- MAIN --------------------------------------- my $q; if(authenticate_user()) { send_to_main(); } else { send_to_login_error(); } #################################...
[ "gsivakumar.608@gmail.com" ]
gsivakumar.608@gmail.com
0e12cb4aaa4ad20db8b1aa3d191e74e7f3cb902b
6d683f971154d319c5e32a20c2a3ac87c21bf7b5
/OOPbase64/base64.py
1d00282d9771f80ba76f0ef5055a92373c6051ac
[]
no_license
DevinMcF/csc200
c52c66b20c038e1c3429a1e9a84648ee676f5358
5209357404d02470a86f345297957d664d9198d2
refs/heads/master
2020-12-21T17:12:41.803688
2020-02-13T16:11:08
2020-02-13T16:11:08
236,499,505
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
class Base64Converter: def __init__(self): """ Create a string containing the Base64 digits for encoding and a dictionary containing the numerical value of each digit character for decoding. """ self.digits = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz012345...
[ "devin.ryan.mcfarlane@gmail.com" ]
devin.ryan.mcfarlane@gmail.com
64bc3026ee1dc94c42227f42402230d18c9dd555
53708ab28946feb229c6dda31dda053139b543af
/api/serializers.py
b714607d26c6ba8c2cf8815838e70aa25fafd5bb
[]
no_license
KzmMthr/foodgram-project
26d82fb5036600185316b16e6452ef71288e55aa
420d3ba8170bc40b43987bb4a30ade5f128b12b9
refs/heads/master
2023-04-25T21:37:27.133756
2021-05-25T06:04:04
2021-05-25T06:04:04
346,710,246
0
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
from django.contrib.auth import get_user_model from rest_framework import serializers from api.models import Favorite, Purchase, Subscribe from recipes.models import Ingredient, Recipe User = get_user_model() class IngredientSerializer(serializers.ModelSerializer): class Meta: fields = '__all__' ...
[ "gurkinnn@yandex.ru" ]
gurkinnn@yandex.ru
7c890c6f90d89e38a402fe7197ee5d893f440d9e
a174ff975f1cb1bcea094e64ece15c080bf9dcb9
/libtorch/v1.7.0/arm64/src/libtorch-1.7/torch/version.py
f014665d30998adf28e2054d34f6d86d25172565
[]
no_license
sugarme/gotch-docker
d4006c98c593fd126c0d84bcb5d0dd16a609046a
a4e28d5377016b2b4034e03ae39b30a8549feec6
refs/heads/master
2023-04-09T04:59:24.646331
2021-04-22T05:42:14
2021-04-22T05:42:14
355,382,320
1
0
null
null
null
null
UTF-8
Python
false
false
125
py
__version__ = '1.7.0a0+6394982' debug = True cuda = None git_version = '6394982d1389f9ce2e488ae4c9b4e3c0321ca978' hip = None
[ "thangtran@hotmail.com" ]
thangtran@hotmail.com
33a71d0a1b09888ba5713b6614017fcbeb58681d
e2ee8df2cde2fb40e1b136a01cde7d4f10ed1a11
/2019/6/solution.py
a51a36f123bd52999d82ee558d86046a582ced1a
[]
no_license
yaodingyd/AdventOfCode
e2b160ec2c0d3aaaf3bea0955d197696f414439f
49c592b3c75c73d4f845c992ef06961410255f05
refs/heads/master
2020-09-27T01:29:26.460108
2020-01-03T15:23:45
2020-01-03T16:28:46
226,390,684
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
def main(): l = [] with open('input.txt') as file: for line in file: l.append(line.strip('\n').split(')')) #print(part_one(l)) print(part_two(l)-2) def part_one(l): d = {} for orbit in l: if orbit[0] in d: d[orbit[0]].append(orbit[1]) else: d[orbit[0]] = [orbit[1]] cur...
[ "yao.ding@compass.com" ]
yao.ding@compass.com
5cb834ff5d5f2ab8c49ef50d3374996233a78f63
d30d0778a7a37408bed757c6bfd26dbee7b18d66
/movies/urls.py
0fa57be7c5d173f5d921125c8ca1df83246110b0
[ "MIT" ]
permissive
AliAxghar/DjangoRestSimpleJwt
8a6f33b46106a54fb93ac50edb8d9869aba65e59
f64e6c5506185da19b90d5301938e016907925ac
refs/heads/main
2023-06-24T01:21:47.104979
2021-07-29T19:26:35
2021-07-29T19:26:35
390,830,374
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
from django.contrib import admin from django.urls import path, include from django.conf.urls import url from rest_framework_simplejwt.views import ( TokenObtainPairView, TokenRefreshView, ) urlpatterns = [ path('admin/', admin.site.urls), path('', include('api.urls')), url(r'^health_check/', includ...
[ "d.ali679asghar@gmail.com" ]
d.ali679asghar@gmail.com
2f38302532a1db3c972e4413e332da4c2144cc11
f7cb41fe0859d80574e412f51280376c8e3c9e0f
/yard/skills/66-python/cookbook/yvhai/demo/std/collections/dict.py
f4194347689f807351b82b4ba8185b92fb9885ed
[ "Apache-2.0" ]
permissive
bbxyard/bbxyard
7ca771af10237ae9a6d758baf26d78d110e8c296
5bf32150fa5cade9e4d9063037e5a03e587f9577
refs/heads/master
2023-01-14T17:39:04.191739
2020-08-18T06:56:36
2020-08-18T06:56:36
11,716,364
1
2
Apache-2.0
2022-12-30T01:25:47
2013-07-28T06:48:59
C
UTF-8
Python
false
false
2,910
py
# 实现multdict from collections import defaultdict, OrderedDict, Counter from yvhai.demo.base import YHDemo class OrderedDictDemo(YHDemo): """OrderedDict""" def __init__(self): super(OrderedDictDemo, self).__init__("OrderDict") @staticmethod def demo(args=[]): od = OrderedDict() ...
[ "bbxyard@gmail.com" ]
bbxyard@gmail.com
6a592e70e7ba4b842e80cb01828081e643c30039
1022d1db3f02fd9f780c3234daa9954203859d38
/DBcontroller/clientdbController.py
9d198caadc446dfad058e25897f5b9563a0d399c
[]
no_license
riyajoe/Gym-Project
8db42d65396f957929ffab4804293dd1bb27a9da
9fea3d1a03bbad3b21af800873af937bb8609c79
refs/heads/main
2023-06-07T02:51:19.286935
2021-06-20T14:14:52
2021-06-20T14:14:52
354,658,995
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
from models.Client import Client from app import db class clientdbController: def __init__(self): self=self def addClient(self,Client): db.create_all() db.session.add(Client) db.session.commit() def getClients(self): return db.session.query(Client).all() def getC...
[ "joeriyamary@outlook.com" ]
joeriyamary@outlook.com
42fcf0dd82fc975c09922d023f79af57d7249813
5aa26394708ecad0210706c9f5e12ddf72c3e238
/tests/backend/test_decorators.py
a7edb392f9f3349dd5a796deda45b1a997256a68
[ "MIT" ]
permissive
ZaxR/busy-beaver
59ac99c48ddb2f71572a9e454af7ae1a0621c844
ffe1250d0156f71d1053f37c8070ca0dd888348f
refs/heads/master
2020-04-20T17:01:06.953568
2019-01-31T18:19:25
2019-01-31T18:19:25
168,976,872
0
0
MIT
2019-02-03T18:13:31
2019-02-03T18:13:30
null
UTF-8
Python
false
false
1,869
py
import pytest import responder from busy_beaver import db from busy_beaver.backend.decorators import authentication_required from busy_beaver.models import ApiUser TOKEN = "test_token_to_insert" AUTH_HEADER = {"Authorization": f"token {TOKEN}"} @pytest.fixture(scope="module") def api(): api = responder.API() ...
[ "noreply@github.com" ]
ZaxR.noreply@github.com