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
c771d7fe4dad2294e05f47c1a734db065672f857
724713c8d5891e7dda67e8c250018250e6da44bf
/chapter_05/Variavle_length.py
43a79e76c9e659d146355ac97a62f385eed7b721
[]
no_license
conanlhj/python_inflearn
1c5731e8634c18e15360097569541b419410f94e
c9c713ea1d374e8a5b9dfc1568e6a767c4d00305
refs/heads/main
2023-02-19T10:23:58.835506
2021-01-25T11:40:22
2021-01-25T11:40:22
332,727,730
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
def asterisk_test(a,b,*args): return args def asterisk_test_2(*args): x,y,z=args return x,y,z def kwargs_test_1(**kwargs): print(kwargs) print(kwargs["first"]) def kwargs_test_2(**kwargs): print(kwargs) print("First value is {first}".format(**kwargs)) print("Second value is {second}"....
[ "77838360+conanlhj@users.noreply.github.com" ]
77838360+conanlhj@users.noreply.github.com
21258aa7598c5f930fe4eaed3af4d0a499b648d9
98efe1aee73bd9fbec640132e6fb2e54ff444904
/loldib/getratings/models/NA/na_ornn/na_ornn_top.py
2ca0d07a4824d85d8de49a6105daf5c1b67f4de7
[ "Apache-2.0" ]
permissive
koliupy/loldib
be4a1702c26546d6ae1b4a14943a416f73171718
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
refs/heads/master
2021-07-04T03:34:43.615423
2017-09-21T15:44:10
2017-09-21T15:44:10
104,359,388
0
0
null
null
null
null
UTF-8
Python
false
false
6,269
py
from getratings.models.ratings import Ratings class NA_Ornn_Top_Aatrox(Ratings): pass class NA_Ornn_Top_Ahri(Ratings): pass class NA_Ornn_Top_Akali(Ratings): pass class NA_Ornn_Top_Alistar(Ratings): pass class NA_Ornn_Top_Amumu(Ratings): pass class NA_Ornn_Top_Anivia(Ratings): pass clas...
[ "noreply@github.com" ]
koliupy.noreply@github.com
9b1a400d3281860f99c1cb1c0f0a9b1c2006bf90
2d191eb46ed804c9029801832ff4016aeaf8d31c
/configs/_base_/models/deeplabv3_sep_r50-d8.py
bb8c92051e538c75132eb8666ccb1d1cc8698ffc
[ "Apache-2.0" ]
permissive
openseg-group/mmsegmentation
df99ac2c3510b7f2dff92405aae25026d1023d98
23939f09d2b0bd30fc26eb7f8af974f1f5441210
refs/heads/master
2023-03-02T07:49:23.652558
2021-02-15T04:16:28
2021-02-15T04:16:28
278,537,243
2
2
null
2020-07-10T04:24:16
2020-07-10T04:24:15
null
UTF-8
Python
false
false
1,330
py
# model settings norm_cfg = dict(type='SyncBN', requires_grad=True) model = dict( type='EncoderDecoder', pretrained='open-mmlab://resnet50_v1c', backbone=dict( type='ResNetV1c', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), dilations=(1, 1, 2, 4), strides=...
[ "yhyuan@pku.edu.cn" ]
yhyuan@pku.edu.cn
da33fd90e8e21d2ac80a6cfe717c8d7bd2b41914
c54f0b3a32e9043ca99a8ffbb6989747eaec50b1
/infer_module/positional_encoding.py
1d2b0b973a1a1c59ef6a8bb994e99e68a84eb1d0
[ "MIT" ]
permissive
daniel-richter/DIN_GAR
bad849a6eeeecaf7f9779c64b75494d8e12c0eb5
f97759038936ad36359cb8c0d9ff0951d2482e25
refs/heads/main
2023-09-02T21:40:11.727572
2021-10-29T12:35:03
2021-10-29T12:35:03
407,142,109
0
0
MIT
2021-09-16T11:41:54
2021-09-16T11:41:53
null
UTF-8
Python
false
false
6,752
py
import torch.nn as nn import torch import math import torch.nn.functional as F import numpy as np import cv2 from config import Config class PositionEmbeddingSine(nn.Module): """ This is a more standard version of the position embedding, very similar to the one used by the Attention is all you need paper, ...
[ "jie980446003@hotmail.com" ]
jie980446003@hotmail.com
2736f96c3498266dc89e81e233c7c4990877fda0
3408dbca136a301cdaece4f15bc69e6c3cab3caf
/ism_pkg/tools/rff_layer.py
53dc0dd8c9479e6b895e2bcf7f794328a1d417c8
[ "MIT" ]
permissive
fusion-research/stochastic_ISM
7c832e41aa76853349f266ebcf2d29aef77ade54
6438eb17bd391e8698e989156acb9b786c8f7299
refs/heads/master
2023-04-05T10:52:13.611747
2021-04-15T16:18:58
2021-04-15T16:18:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
from ism_pkg.tools.RFF import * # A layer is defined by Wₐ, ℱ = RFF mapping, and maybe Wᵦ # ℓᴵᴺ:layer input, ℓᴼᵁᵀ : layer output from training only # A layer is a function f = Wᵦ ∘ H ∘ ℱ ∘ Wₐ class rff_layer(): def __init__(self, ℓᴵᴺ, σ, RFF_width=400): self.σ = σ self.ℓᴵᴺ = ℓᴵᴺ self.Wₐ = self.W = np.array([]...
[ "juliusctw@gmail.com" ]
juliusctw@gmail.com
25d68ca33cbaa85ba2ebd6cc6cd38960029053a9
2ddfcb901978b4c8a431406098669d22c0c33c62
/runaway/config/urls.py
8feca1fe5a36af1262c8f959baf8fbc42ca3cb14
[]
no_license
thezpliu/runaway
1ce3e29e8e4b16d89c4c7bee5b44fc911089f586
e32b3c9a40f40f3017b2b1d38b327cec78c3cad4
refs/heads/master
2020-04-29T21:15:53.971365
2019-03-19T02:37:35
2019-03-19T02:37:35
99,125,026
0
1
null
null
null
null
UTF-8
Python
false
false
1,329
py
# coding=utf-8 from runaway.views.index import index from runaway.views.login import login, user_login_out from runaway.views.monitor import monitor from runaway.views.svninfo import svn_v from runaway.views.p4info import p4_v from runaway.api.ldap_login import LoginCheck from runaway.api.changepasswd import ChangePass...
[ "lzpac@163.com" ]
lzpac@163.com
8a94001111da649b92a725b1d7bc961265802cb8
c0ffe8573c627cda23840318bb22ca4bc612897e
/google-practice/Interview-Questions/oneEditOrMore.py
0385c3199cc150292e559094c2c7951376b18795
[]
no_license
ammarasmro/experiments-tuts
284b37c9cce14c02e73a0bce65d36dfa9d85ee74
21395e64fce03c7c3d7590eb48038415f7640245
refs/heads/master
2021-01-22T19:35:57.891498
2017-09-30T07:33:57
2017-09-30T07:33:57
102,421,027
0
0
null
2017-09-30T07:33:58
2017-09-05T01:55:13
Python
UTF-8
Python
false
false
804
py
def isOneEdit(myString1, myString2): if abs(len(myString1)-len(myString2)) > 1: return False counter = 0 str1Iter = 0 str2Iter = 0 while str1Iter < len(myString1) - 1 and str2Iter < len(myString2) - 1: if myString1[str1Iter] != myString2[str2Iter]: counter += 1 if myString1[str1Iter+1] == myString2[str2I...
[ "ammarasmaro@gmail.com" ]
ammarasmaro@gmail.com
ad77f04ce6810e07fd8407db9354c5b4139ab67e
17dca703eed28a859bba4984eba5b039b900e3d7
/.history/nomina/views_20200227181321.py
a9f9c322cb015feead3955c66ebab05f4727ad27
[]
no_license
alexogch1/SistemaOperaciones
1a34872daf0e151672edd202a5089ee754805203
ac72f6e3284061e240aebec6a3300ff463a3544c
refs/heads/master
2021-01-03T15:32:45.470642
2020-03-03T07:47:27
2020-03-03T07:47:27
240,133,319
0
1
null
2020-02-28T05:21:57
2020-02-12T23:02:36
Python
UTF-8
Python
false
false
5,733
py
from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render from django.urls import reverse_lazy from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.messages.views import SuccessMessageMixin #from .filters import NominaFiltro from dateutil.parser import pars...
[ "alexogch@hotmail.com" ]
alexogch@hotmail.com
ab25192c92848ca0ed44893a946b6fd0e050f0dd
23976d5085e2c0b91057a9a4009d4a4bca2f111b
/prod/ttbarSingleLeptonAnalyzer_TTBar.py
3614d58004994599ac5c37da89d91a6fffa5d590
[]
no_license
dygyun/TopSemiLepton
2f7202b1b93e055060911cb222a258e0e462be15
9b84415e12fd8146bb4523a1d01b3ab53cae8ca8
refs/heads/master
2021-01-24T03:48:35.915247
2017-09-20T12:30:04
2017-09-20T12:30:04
45,440,845
0
1
null
null
null
null
UTF-8
Python
false
false
3,912
py
#------------------------------------------------------------------ # Data or MC Sample runOnMC = False # runOnTTbarMC == 0, No ttbar # runOnTTbarMC == 1, ttbar Signal # runOnTTbarMC == 2, ttbar Background runOnTTbarMC = 0 #------------------------------------------------------------------ import FWCore.ParameterS...
[ "dygyun@Dooyeonui-MacBook-Air.local" ]
dygyun@Dooyeonui-MacBook-Air.local
923934d04555b341a1c5a3b1c3b87d95a95a11b7
07c1bc9e8d85cecd55f9cb4ce7e8a0767064e394
/test.py
6077752e74e79791a9a2072deb1fb0b02ae54077
[ "MIT" ]
permissive
dblume/wine-tasting
2868163d3e95f39e6c338f73dfbe0318e3e73794
53a4ab6b518fb84b89f6752a8bc764fbf27c4b92
refs/heads/main
2021-11-25T10:29:50.903756
2021-11-19T18:13:34
2021-11-19T18:13:34
20,635,814
0
0
null
null
null
null
UTF-8
Python
false
false
3,815
py
#!/usr/bin/env python import sys import unittest from StringIO import StringIO import wine_allocator class Tee(object): def __init__(self): self.saved_stdout = sys.stdout self.stdout = StringIO() sys.stdout = self def close_and_get_output(self): sys.stdout = self...
[ "david.blume@gmail.com" ]
david.blume@gmail.com
ea8340585fbefecf22d761ebd8f68b9adb4a6aab
d2a20d4118dcfadc25ccf8214d1ecb21c3fd8e91
/ye's model/randomForest.py
46407bc51989dfa40404e034de8f38636e8079f7
[]
no_license
jinfy/PopulationSpatialization
b4358e1bb1ca4121583c50736cece392cc1f8c74
a6c468b32effa3a055bd8cfe7f0ab3eb88d3a895
refs/heads/main
2023-08-11T10:24:39.106679
2021-09-16T07:09:44
2021-09-16T07:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,543
py
import pandas as pd import numpy as np # 100 200 500 RESOLUTION = 500 N_ROW = 0 N_COLUMN = 0 if RESOLUTION == 100: N_ROW = 1540 N_COLUMN = 1250 elif RESOLUTION == 200: N_ROW = 770 N_COLUMN = 625 elif RESOLUTION == 500: N_ROW = 308 N_COLUMN = 250 grid_src = r"..\Data\gr...
[ "noreply@github.com" ]
jinfy.noreply@github.com
5f1c1351f6599de5efa259519f67b0362771a49c
fc77f5083e4303f589b8e4b06a9cf898c8bffe3e
/users/forms.py
db49143b9091f51c957968a7cdd01bed1790a5e7
[]
no_license
SaemChan/hotelreservation
fbe364153f2194669219881309c782df45fb6481
c2df07fff5e0e6cf7d14e65147b774801c231e3f
refs/heads/master
2023-01-02T11:53:31.098275
2020-10-26T17:34:55
2020-10-26T17:34:55
294,141,391
0
0
null
null
null
null
UTF-8
Python
false
false
3,313
py
from django import forms from . import models # from django.contrib.auth import password_validation from . import models class LoginForm(forms.Form): email = forms.EmailField(widget=forms.EmailInput(attrs={"placeholder": "Email"})) password = forms.CharField( widget=forms.PasswordInput(attrs={"place...
[ "scha_@naver.com" ]
scha_@naver.com
be93dedcd378f0edd7cec8080db95e8c1e31360e
994ed74e909a59c3aae6428e13c4817865fc5636
/ar/factory.py
fcbdd587f5ee693b6f1d1ecb28b89e7e259c2017
[]
no_license
Lance0404/ampos_restaurant
e6bb0d66ac79d93902b30d13631cdb6fda4e8ea1
8c8c2039d704235c686cdd797d3962ee6d5cac8e
refs/heads/master
2020-05-16T12:25:16.243764
2019-04-26T12:01:41
2019-04-26T12:01:41
183,044,940
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
from flask import Flask, current_app from ar import config # import os from ar import db import logging import logging.config from ar import mylogging def create_app(config_obj=None): app = Flask(__name__) app.logger.info(f'flask app is up by Lance!') app.config.from_object(config) # if config_obj: ...
[ "virtuouslycan@gmail.com" ]
virtuouslycan@gmail.com
fa546a46671df8d5e7d5f0030dbce2f35ebe48ce
1df53d3142563ccf0e47615dc226be0d6b9475aa
/model_utils.py
3ed7b63f1cbafd89e7921c9febda497eb12c891d
[ "MIT" ]
permissive
zjunet/KDDCUP2020_AutoEnsemble
eee94298515db54f6bbc4c03729418913c2ae4ad
88b766eb66e33d51ca350b22485bd9839e193ab2
refs/heads/master
2022-10-27T05:02:11.076782
2020-06-15T03:49:14
2020-06-15T03:49:14
285,231,427
1
0
null
2020-08-05T08:43:58
2020-08-05T08:43:57
null
UTF-8
Python
false
false
20,601
py
import pandas as pd import numpy as np import lightgbm as lgb import torch from sklearn.model_selection import train_test_split from torch_scatter import scatter_add from torch_geometric.utils import add_self_loops, degree, add_remaining_self_loops, remove_self_loops, is_undirected from torch_geometric.utils import to_...
[ "826804116@qq.com" ]
826804116@qq.com
5a0772e1a8a55625488fe06642e451fb792dad75
b0129214b1d493bdec6fc4658727775fb4066a5e
/addons/todo_user/__manifest__.py
373e3f23f73a060a7b0267b94f628db4cc01f954
[]
no_license
gitstalker/docker_odoo
9875636e4f1bf60a8e55c7a66e8c85abf5f61661
c049d93586f1c35300563fc77685da22d9cc4e14
refs/heads/master
2020-05-02T01:10:45.705337
2018-10-20T12:03:20
2018-10-20T12:03:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
{ 'name':'Multiuser To-Do', 'description': 'Extend the To-Do app to multiuser.', 'depends': ['website'], 'data':['views/templates.xml'], 'author': 'hdwolf' }
[ "spacegoing@gmail.com" ]
spacegoing@gmail.com
b62cc4bb33d0bd00d4f6f417bd45a4df88c9bfad
be86e0055a3fc1a713ff6c530365cde78e81c2bf
/src/cardinal/db/newbie.py
00d36673ff2cd09538a8b0e1f7d35833b741b80f
[ "MIT" ]
permissive
Maamue/cardinal.py
228f3e422bb4884c87e53c6ef59373f772cf2b6d
8e5a357c896ad0ff899e92a211380aab80c09b79
refs/heads/master
2020-08-31T23:46:57.841645
2019-04-30T15:40:13
2019-04-30T15:40:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
from sqlalchemy import BigInteger, Column, DateTime, ForeignKey, Interval, UnicodeText from sqlalchemy.orm import relationship from .base import Base class NewbieGuild(Base): __tablename__ = 'newbie_guilds' guild_id = Column(BigInteger, primary_key=True, autoincrement=False) role_id = Column(BigInteger,...
[ "simon.engmann@tu-dortmund.de" ]
simon.engmann@tu-dortmund.de
8d2db0e03577849c03ffa9b296d5a266ea0fb0d7
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql/aio/operations/_replicas_operations.py
ed2a170e523af5c4bd570d0b9b817e6a9a04d6ce
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
5,650
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
05ccf6e2d5d1a9e66261f6829dcff9f2468cbea3
124bdbf417117fe23168f043dd265f88b3bd6e70
/lib/datasets/__init__.py
e62bcd2b434d9f62ee2b19a9875c4c64db1d00e6
[]
no_license
tonyonifo/anytime
943f56ebd4759f0f5181607d8030d50eabb8d38b
86bba7a334fc65899da01b30d925437163c1dede
refs/heads/master
2023-08-02T21:32:42.977184
2021-10-05T16:58:35
2021-10-05T16:58:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from .cityscapes import Cityscapes as cityscapes
[ "email@email.com" ]
email@email.com
fe613641ae32fcb110bcbb399b2d465ebe57228e
1ab053667d87389f673c7689b68dbb5c003f85b9
/dict.py
7713a2e202b415c6d2a18294a7232deae71528ec
[ "Apache-2.0" ]
permissive
acharyaparag/Compiler
dcf1d3aaf793b4fced7a1672f769caa995747dea
046f99389d4ce1af46bc4a96a7ac58479986810d
refs/heads/master
2016-09-05T16:37:20.371806
2014-05-14T03:26:27
2014-05-14T03:26:27
19,764,899
1
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
reservedt = { 'start': 1, 'prog': 2, 'body': 3, 'declpart': 4, 'decllist': 5, 'decllist-': 6, 'declstat': 7, 'declstat-': 8, 'type': 9, 'procpart': 10, 'proclist': 11, 'proc': 12, 'prochead': 13, '...
[ "acharyaparag@gmail.com" ]
acharyaparag@gmail.com
ed0fe0703252d2b5008aa85f54c93ebe6c1e81fb
ef662f6e004f29f0c4d9623c8655e7562c9994d1
/miniblp/market.py
f6946decb698b9cacf743da5bd8ca9f3977e60e3
[]
no_license
james-atkins/blp-assignment
faf477ebfc56071b295d6d29b134bff368287673
5e511420e062765e26a5e0c9e0a42f2f103ce9cf
refs/heads/master
2023-01-05T08:04:05.261243
2020-11-05T10:53:06
2020-11-05T10:53:06
227,912,875
0
0
null
null
null
null
UTF-8
Python
false
false
5,706
py
from typing import Optional, Tuple import numpy as np from numba import njit from scipy import linalg from .common import Vector, Theta2, Matrix from .data import Individuals, Products from .iteration import Iteration, IterationResult class Market: """ A market underlying the BLP model. """ name: str in...
[ "hello@jamesatkins.net" ]
hello@jamesatkins.net
a94191f3db4e9969babddfa2a95463af5918d353
b1bd44b26db3e81368549bb3b2fddf541630649e
/IMCcalc.py
4645a74ef8a82e1c1a3761d8f76864c13203ab58
[]
no_license
josh231101/RGBColorPicker
c8d9e08d1165dad1ac8d6ffbee887491c05356b0
d9f6251b168a686450604512b493baf33f7ac6e5
refs/heads/master
2023-01-16T04:46:08.762524
2020-11-23T00:18:07
2020-11-23T00:18:07
311,843,691
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
import PySimpleGUI as sg def calc_imc(p,h): return p /(h**2) sg.theme('Topanga') layout = [ [sg.T('Peso (kh): '),sg.InputText(),], [sg.T('Altura (m): '),sg.InputText()], [sg.Button("Clear"), sg.Button("Calc"), sg.Button("Salir")] ] window = sg.Window('IMC CALCULATOR',...
[ "wiijosue333@gmail.com" ]
wiijosue333@gmail.com
25161b9b4c4e193d64701617854874c8f308c454
50af049cd65bc2a421d94e2b8a1b103594053d53
/montyhall.py
b7db06f68eaf602112702efb064e07c28869f7c6
[]
no_license
eumesmamente/pequepy
c7daa3f24c3dfbb3a0ba2824df186c823c5d83ec
74450b4e54fb928a86eb6304ad60e838ae1e8a4f
refs/heads/master
2021-06-23T17:46:51.181373
2021-03-19T00:09:20
2021-03-19T00:09:20
73,612,534
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
#!/usr/bin/python # coding: utf-8 # XOGO: O problema de Monty Hall import random import os os.system('clear') def xogo(): partidas=0 xogando = True cp=0 ncp=0 while xogando: os.system('clear') premio=random.randint(1,3) print " ___ ___ ___" print " | 1 | | 2 | | 3 |" print " | | | | | ...
[ "eumesmamente@riseup.net" ]
eumesmamente@riseup.net
c73ca1e3ae1851e55b801e24ff6219b8ff872295
59eccb126e4efd0f39bab0b00683a9fbdd9b5e69
/tests/test_core.py
a1a01024c77cd89be8debe19e4246d704d0f3971
[ "BSD-3-Clause" ]
permissive
Deepomatic/channels_redis
c694ca7ab711937e2c3c245c5f817cdf06549640
54d935beb6842333ba4f3e6c29cbe86c4307cf16
refs/heads/master
2020-03-09T20:07:54.566703
2018-04-03T16:05:44
2018-04-03T16:05:44
128,975,901
0
0
null
2018-04-10T18:08:14
2018-04-10T18:08:13
null
UTF-8
Python
false
false
9,624
py
import asyncio import async_timeout import pytest from async_generator import async_generator, yield_ from asgiref.sync import async_to_sync from channels_redis.core import ChannelFull, RedisChannelLayer TEST_HOSTS = [("localhost", 6379)] MULTIPLE_TEST_HOSTS = [ "redis://localhost:6379/0", "redis://localhos...
[ "andrew@aeracode.org" ]
andrew@aeracode.org
63631d49e64a6f1b69225c61c39177874adf39f9
cde31c1b90800c241fd30bd143ac117594bd3f0e
/negPos/utils.py
f9012957fa01dfe219acdcdab192f0ec6e0090c6
[]
no_license
hadarbmdev/interactionAnalysis_thesis
59d8e6a9cddd9d4761725b67c9c0450c38dedcf7
d2649462a521de788fcd45d3ddd2ebf885ebc6a6
refs/heads/master
2023-02-12T04:20:27.092651
2021-01-12T19:37:20
2021-01-12T19:37:20
272,697,447
0
0
null
null
null
null
UTF-8
Python
false
false
3,913
py
import enum from datetime import datetime import pandas as pd import numpy as np import matplotlib.pyplot as plt import csv import json from operator import itemgetter import os import fileinput from py import global_utils import math class BehaviorsEmotions(enum.Enum): posBposT = 1 posBnegT = 2 negBposT ...
[ "hadarbmdev@gmail.com" ]
hadarbmdev@gmail.com
e899dce720bec0bd2b1c3742bee19db16187e09a
b9121dcc859563d1e148ab539a47e471f467ede2
/cvfyblogproj/blog/models.py
e4450dddf449f17ff8e3466dfa8b0818ff5a941d
[]
no_license
VinitK/blog-application
2a12ce97b794f23a8c6e9a3b810c2756029453e2
e9cc19ddb9e98f5515ae557fe2b345e907bb9d2a
refs/heads/master
2020-04-28T01:14:09.706591
2019-03-11T03:33:47
2019-03-11T03:33:47
174,847,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
from django.db import models from django.utils import timezone from django.urls import reverse # Create your models here. class Post(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) title = models.CharField(max_length=256) text = models.TextField() create_date = models....
[ "vinit@cutshort.io" ]
vinit@cutshort.io
34f53a507b87e722114310cbe682154ef5b603bf
dbad872a1e1b1e03b76197c330f81dbb678372f3
/roman_to_int.py
d4a59953c537747491a7343a35fd021f3c9e62df
[]
no_license
rohitandcode/LC_Easy
6d1e4033af21599e0f49df2fad65239bda3674b2
d6eb1461cbc1a445deae0126523905916d431c9d
refs/heads/master
2020-12-03T09:44:52.398403
2020-06-24T18:18:49
2020-06-24T18:18:49
231,270,964
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
# LC13 class Solution(object): def romanToInt(self, s): """ :type s: str :rtype: int """ dicto = {'I':1, 'V':5, 'X':10, 'L':50, 'C':100, 'D':500, 'M':1000} lis = list(s) sums = 0 ...
[ "noreply@github.com" ]
rohitandcode.noreply@github.com
ea1b01621f36c02bc3965ee91415f198ac0d47b2
ffc3ebe790a6cb4667c777ca4840358c58723463
/improveo/settings.py
4fd85f93142e885d98e43f320af7703ed928b2a5
[]
no_license
odedahay/django-company-crm
ec480efed790f8a58068fd14b73dd459c88ae3d6
97ef246d78b1e25fe61dc28dc2633b94dd51acd7
refs/heads/master
2021-01-09T18:52:21.258002
2020-03-02T00:51:58
2020-03-02T00:51:58
242,417,086
0
0
null
null
null
null
UTF-8
Python
false
false
3,572
py
""" Django settings for improveo 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/ """ import os # ...
[ "odedahay@gmail.com" ]
odedahay@gmail.com
9af1a39149426ccea6a45e03877fe38cf3480229
41be644b55ae630380d73895ccfc4ec173c31e8d
/Huawei_6800_server_access_in.py
e80d4aa89ee4251f70a5bdc0244a5e3b38385f22
[]
no_license
citywwm/Network-auto-opration
2a9841640d81b6cd8f0f4e68fc409eba388f6a7c
e335d97609f7950a351ee3654120c1b5f479dc7f
refs/heads/master
2021-08-27T16:45:32.799376
2021-08-18T09:22:21
2021-08-18T09:22:21
139,856,948
0
0
null
null
null
null
UTF-8
Python
false
false
5,743
py
#!/usr/bin/env python3 # -*- coding:UTF-8 -*- import os,sys #运行此脚本时,需要在后面跟上需要输入的列表名称,例如:python3 XXX.py AAA.csv ,否则程序报错。 #输入的CSV文件,格式应该符合规定格式。 #Read the CSV per line as a dictionary named RowDict #将CSV文件读入,每行作为一个字典存储,字典的键名为表头名称,键值为表格内容,字典名为RowDict。 #DEVICENAME,sys,phyhostname,interface,isAbideUP,ip,port-channel...
[ "noreply@github.com" ]
citywwm.noreply@github.com
c43c7bcbbad1cac818d700eaac5a23d93dc3d3f6
f701b45d56964f70d2b1a59d42348bde89f9f80e
/ase_extensions/transformations.py
48a0c96290e977646de0b7d2a8b5d3aa404be6a5
[]
no_license
Clyde-fare/ase_extensions
01c8c2433a65e521a1ba867bfd6878d3e22aea0e
d3295d6306b5cc83fe6f7686c84dc7cc07aa91f8
refs/heads/master
2021-01-18T22:47:28.733715
2017-01-12T12:31:11
2017-01-12T12:31:11
27,386,500
0
1
null
2016-09-05T16:13:45
2014-12-01T15:49:19
Python
UTF-8
Python
false
false
65,592
py
#taken from http://www.lfd.uci.edu/~gohlke/code/transformations.py.html # -*- coding: utf-8 -*- # transformations.py # Copyright (c) 2006-2012, Christoph Gohlke # Copyright (c) 2006-2012, The Regents of the University of California # Produced at the Laboratory for Fluorescence Dynamics # All rights reserved. # # Redi...
[ "clyde.fare@gmail.com" ]
clyde.fare@gmail.com
2f8373e82d8f6770def3f2102776d72c8c6a834f
6871c745f82121a26812502f320f0c21741fe42b
/config.py
b802d2b6f4a520a1bf1353db9ec84656c92ee378
[]
no_license
ericdonnelly/Brick-House
7fc8a8eadcfdf826963d98cc14825a4bd64b9966
ad36a35954b37ed211200bb31f3abf402129d599
refs/heads/main
2023-02-12T08:50:11.220865
2021-01-06T02:35:39
2021-01-06T02:35:39
320,123,231
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
# GMAPS API Key gkey = "AIzaSyA7syV4Z2LAYZ64QqKCcmUrGGN18-PmqX4"
[ "ericdonnelly601@gmail.com" ]
ericdonnelly601@gmail.com
31ef41bd0fca49eeaa48af78dd411fcbfe5cc11f
5b52b0ea918fbf6160def50541ffbe6aeb5a01ae
/bin/uniprot.prot.py
c7d346f11b2e7773c52fcaa96bef844f247d09c7
[ "MIT" ]
permissive
cossio/ProteoPy
74fe3d1fc17f3b91738da90c0aef0e5eb71a311b
a3569dcef34e4d416863c812e90498d749dc288f
refs/heads/master
2021-09-06T02:43:05.614654
2018-02-01T20:06:29
2018-02-01T20:06:29
111,602,429
0
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
#!/usr/bin/env python import sys import argparse import ProteoPy PARSER = argparse.ArgumentParser(description='Get basic information from Uniprot from a list of Uniprot IDs') PARSER.add_argument('--prots', type=str, help='list of proteins') PARSER.add_argument('--out', type=str, help='output file') PARSER.add_argum...
[ "j.cossio.diaz@gmail.com" ]
j.cossio.diaz@gmail.com
bbde362c350b48413d134b1fce47ff145dce03bf
63b3ab7d84f2a2c974da0bb4643b7a3bcaffa23a
/lab3/src/main.py
5b28478a9c1e505ad65c28ef69604cc9ab2d2918
[]
no_license
Lukasz1928/NLP
1506a4062839231f5403a8becde9d7ba41a758b5
4f54fad491d75f3a25c69c4b39bfa777d34ceaa7
refs/heads/master
2020-04-28T06:24:07.733077
2019-06-03T13:40:03
2019-06-03T13:40:38
175,056,529
0
0
null
null
null
null
UTF-8
Python
false
false
3,150
py
from elasticsearch import Elasticsearch from src.es_utils import create_index, load_data from src.file_utils import get_all_filenames, read_polimorfologik, save_results import matplotlib.pyplot as plt import Levenshtein def aggregate_terms(terms): words = {} for doc in terms: term_vectors = doc['term_...
[ "Lukasz19281@gmail.com" ]
Lukasz19281@gmail.com
483a613632f81bdf62554edbb2080815498078b6
750db6d8fb836a361e7b0d1060e52efd2f2c4c36
/inference_app/migrations/0016_auto_20200330_1705.py
c58edaa13aa88d37ce24c41cd9d8986030b2893a
[]
no_license
dragosavac/vehicle_detection_app
b1aa2df97b78c4a3b63a1863d1d275e2881ac838
394b64161ec40f3389c46839311489b85b3d87bd
refs/heads/master
2023-01-24T22:47:59.900112
2020-11-28T12:46:52
2020-11-28T12:46:52
251,379,121
2
0
null
null
null
null
UTF-8
Python
false
false
435
py
# Generated by Django 2.2.11 on 2020-03-30 17:05 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('inference_app', '0015_auto_20200330_1626'), ] operations = [ migrations.RemoveField( model_name='inferenceinstance', name='...
[ "rade.dragosavac@symphony.is" ]
rade.dragosavac@symphony.is
82dd4f49df2007a396a712276cb962ee9c2f9c29
f62b604587b78733c42e49145d2b79ea06d23374
/src/main/resources/versionone/getStories.py
979803ba897e6147b72c44fe8f93f84cecb8f613
[]
no_license
zvercodebender/xlr-versionone-plugin
e7b41ebee6445325c07be978580d7086825d8873
5ca798167fe83f17663ac47c40bd577ea515d47c
refs/heads/master
2021-01-21T10:45:49.923887
2017-10-25T19:14:32
2017-10-25T19:14:32
83,480,048
0
0
null
2017-02-28T21:17:01
2017-02-28T21:17:01
null
UTF-8
Python
false
false
1,064
py
# # THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS # FOR A PARTICULAR PURPOSE. THIS CODE AND INFORMATION ARE NOT SUPPORTED BY XEBIALABS. # import sys, traceback from version...
[ "rbroker@RainSong.local" ]
rbroker@RainSong.local
0a2f8a83695f5c8c2c2ea926b7914ee08ee6cbdd
50ab563ae9d4506048a54b99f4f80b5b276c8f3b
/2pointer/16_threeSumClosest.py
8f4963a35261a37b05078f03b3f5a9a533381172
[]
no_license
chenpengcode/Leetcode
b403d05bd67b6661d1595136922f77bcb23947cf
4f92911896c8b92c51650413b998e0bb1edfa4c0
refs/heads/master
2021-04-08T13:17:41.482766
2020-11-26T17:21:23
2020-11-26T17:21:23
248,779,182
1
0
null
null
null
null
UTF-8
Python
false
false
802
py
from typing import List class Solution: def threeSumClosest(self, nums: List[int], target: int) -> int: nums.sort() ans = float('inf') for i in range(len(nums) - 1): left, right = i + 1, len(nums) - 1 while left < right: three_sum = nums[i] + nums[l...
[ "cpcoder@aliyun.com" ]
cpcoder@aliyun.com
277f5c2929da8f67793af05b2f29f8923a5f57b6
d1a6270f3752dee9c7cc5e9ab490d2dc1ec264ba
/Code/Preprocessing/utils.py
a1dbb1df4ce086d2d707928e98b4c6ee63f6a021
[]
no_license
Jasonti0120/Bitcoin-NLP-Project
bc1d567da43907e687920cfcc676080f605fe079
17c4beb2bf53b70ce9dc8ef0d3d8863a6230657e
refs/heads/main
2023-08-21T11:46:10.305022
2021-10-14T15:49:36
2021-10-14T15:49:36
387,865,429
0
0
null
null
null
null
UTF-8
Python
false
false
3,263
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jul 20 13:38:06 2021 @author: jasonti """ # sentiment score def s_score(df,target,output): """ Parameters ---------- df : target dataframe. target : A string: column name for text output : A string: column name for sentimen...
[ "cti@drew.edu" ]
cti@drew.edu
98e69f23ae346f2016310590e40cc654fdf7d26b
90072552491d0eab6c611286d55a1f5155bdcf29
/config.py
42ebf335b0adf231867b97b956dedce3e792dbec
[]
no_license
Xerber/stalker
8d8287e1296922d61404866f0f7476dd57f0fbed
d097792aa3b4bca4f3a869660e61bcc9e7b05423
refs/heads/master
2021-01-04T18:01:34.489084
2020-02-15T11:51:56
2020-02-15T11:51:56
240,700,243
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
host='' user='' password='' home='/home/snowman/films_script/'
[ "cherobuk.91@gmail.com" ]
cherobuk.91@gmail.com
5e0c3d672b3b5efb05aa6b2d2e55bd0e758f27e2
7c3ccfe8fdcbe05d04444da071b9b3469b11f351
/.github/scripts/filter_test_configs.py
96dff128572d4ee665a4731138827d928f152d84
[ "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
nihui/pytorch
ad4df723672300d5bd4290d6bc4e2e66a5ff2f0f
999bae0f54108ffc5b7cf2524a02a83901554b16
refs/heads/master
2023-07-07T06:35:37.886490
2023-05-30T05:07:59
2023-05-30T05:07:59
177,545,801
3
2
NOASSERTION
2019-03-25T08:33:23
2019-03-25T08:33:23
null
UTF-8
Python
false
false
14,809
py
#!/usr/bin/env python3 import json import os import re import sys import warnings from typing import Any, Callable, Dict, List, Optional, Set from urllib.request import Request, urlopen import yaml PREFIX = "test-config/" # Same as shard names VALID_TEST_CONFIG_LABELS = { f"{PREFIX}{label}" for label in { ...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
d2c3e39fff7a8b828b1238645aaf46ce75152fe1
d15b4a64e3ac1a488a3eae0e0cebe0f215247f09
/build_image_data.py
8bc1aa659af8f5805a924b99a7be4ff6f607a385
[ "MIT" ]
permissive
AlexanderSoroka/CNN-oregon-wildlife-classifier
adbb3d67d2ff4eb46b5e2a9c1d9a0e66388f9e60
a57bf84322f1fa153e44b6e4209beb09663f4d9e
refs/heads/main
2023-03-26T09:24:52.989527
2021-03-08T16:25:26
2021-03-08T16:25:26
343,571,381
2
6
MIT
2021-03-09T07:53:41
2021-03-01T22:11:28
Python
UTF-8
Python
false
false
12,210
py
#!/usr/bin/python # Copyright 2016 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 a...
[ "soroka.a.m@gmail.com" ]
soroka.a.m@gmail.com
32ae94af39dd74b8af3e10ed20e6aa9da09144eb
c70804bf9679944e8718438d86b08c5e296545bc
/extractFotNote.py
0955b31396b1087c83fef51b5357a85bf2071c36
[]
no_license
Kamel773/Delve_-Search_Engine-
f74c5b47f896854f3d13bf1a6ab66a8a40bfcfdd
aa0abde34546170a9a9186f895e087d1b60cb614
refs/heads/master
2020-05-18T01:08:09.226478
2019-09-03T08:09:16
2019-09-03T08:09:16
184,081,783
0
0
null
null
null
null
UTF-8
Python
false
false
8,676
py
from bs4 import BeautifulSoup import re import nltk.data import os import glob import pickle import csv import glob, multiprocessing from threading import Lock, Thread import time ''' "Beautiful code must be short", Adam Kolawa. ''' pickleFile = open("/home/rashedka/Desktop/FinalExtracting/DelveXML/listXMLfile_Delve_X...
[ "noreply@github.com" ]
Kamel773.noreply@github.com
fa4a0e62bf2e2b590e0d76319c06be7d8fa5f3c2
8713f974dd88fddd0079315f8b420794953ce91d
/src/utils/crypto_key.py
b6042654c76f9dd954c56dfa99f44d030bb768e5
[ "Apache-2.0" ]
permissive
dhxie/cosc-learning-labs
99ec8f190f4d25e6ac8134e807d609d7731b68d8
1ae30212e679012be4ac9e72dce7808777e69f9c
refs/heads/master
2021-01-18T17:16:55.942687
2015-07-17T02:42:41
2015-07-17T02:42:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,007
py
#!/usr/bin/env python # Copyright 2015 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "anamatute@hotmail.com" ]
anamatute@hotmail.com
498098e3792ce0f2613ffa5458596fc7c7d2fd88
5027bd2ff21141b6ffd576ec4009eed389acbacb
/audino/backend/routes/users.py
b555f2abc5caa9a063b58f9258f0d767da97cca1
[ "MIT" ]
permissive
JacobGlennAyers/Audio_Labeling_System_AID
a19dda2b01491359e7fe10357ffa18e4cffff398
5ea3ed57d556b7d3a55df74b61909ea8f6c3127a
refs/heads/main
2023-03-10T10:11:06.317063
2021-02-19T23:58:04
2021-02-19T23:58:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,003
py
import sqlalchemy as sa from flask import jsonify, flash, redirect, url_for, request from flask_jwt_extended import jwt_required, get_jwt_identity from werkzeug.urls import url_parse from backend import app, db from backend.models import User from . import api @api.route("/users", methods=["POST"]) @jwt_required de...
[ "sean.hyatt.perry@gmail.com" ]
sean.hyatt.perry@gmail.com
a6fbf4d86b6573df70d0ccec4fbe0d3916817e21
cdd228f719a7db73d710cc6ad638e47740bc93ad
/6_ValidateIP.py
a3235deb4e072fdbac7563b9a21b4842c78f3af4
[]
no_license
DKanyana/PythonProblems
3f94a75c00f134e93322eeecdd815ae9ef4ae49e
602fe53af1268a6fd62913bc3c96ec096f3bce2c
refs/heads/master
2020-03-27T23:04:01.557524
2018-09-04T04:18:51
2018-09-04T04:18:51
147,287,074
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
def validate_ip(ip): len_ip =len(ip.strip()) octet =[] if len_ip <=0 or len_ip>15: return False elif ip.strip().count('.') !=3: return False else: octets = ip.strip().split('.') for octet in octets: if not octet.isdigit() or int(octet) <0 or int(octet...
[ "noreply@github.com" ]
DKanyana.noreply@github.com
72d4ac2a4b4667b29a2e230fe8492dccbfc820b2
d730acc4921b91ed67d52c31b6a6e12c78397941
/blog/migrations/0001_initial.py
ac6e4f9594814e457ab4b7e03bcfb9fd27dd0453
[]
no_license
An-dy1/my-first-blog
8dbf1b0ee0d0f6175a6b9a9b98e2621e9c5e5bad
ac10cc832cc08e27561ed75fe008a83d25ccb201
refs/heads/master
2020-03-23T16:54:11.380012
2018-07-21T22:18:12
2018-07-21T22:18:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.0.6 on 2018-07-21 16:41 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 dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "andrea_sue2@icloud.com" ]
andrea_sue2@icloud.com
80e9e4574ed8693b8553db2e3c96d497209dcf92
80b54d0762516cffa9b9c86086a337c004bb4b18
/main.py
e39ccacf333f0f6e24c2253869e91588e9e07bda
[ "MIT" ]
permissive
Lol3rrr/TicTacToe-AI-NN
d3d3629ba3252ce85473ce4231066764101f45bf
4cfe30531233e7ffb4411923876244a32fda23cb
refs/heads/master
2020-05-26T00:56:51.709771
2019-05-25T21:33:11
2019-05-25T21:33:11
188,056,704
0
1
null
null
null
null
UTF-8
Python
false
false
173
py
from gameNN import Game from gameQ import Game from qLearning import QTable if __name__ == "__main__": #runningGame = Game(3) runningGame = Game(3) runningGame.run()
[ "34582309+Lol3rrr@users.noreply.github.com" ]
34582309+Lol3rrr@users.noreply.github.com
192513b2ebb9f2f9c07d84b4cdb0e2c0f10f8099
2db7597686f33a0d700f7082e15fa41f830a45f0
/Python/coding/longestPalindromicSubstring.py
5b5cc4e5f9239e189fda40d29fb79084b668ae13
[]
no_license
Leahxuliu/Data-Structure-And-Algorithm
04e0fc80cd3bb742348fd521a62bc2126879a70e
56047a5058c6a20b356ab20e52eacb425ad45762
refs/heads/master
2021-07-12T23:54:17.785533
2021-05-17T02:04:41
2021-05-17T02:04:41
246,514,421
2
0
null
null
null
null
UTF-8
Python
false
false
862
py
''' 5. Longest Palindromic Substring 注意题目的return是什么 ''' def longestPalindrome(self, s: str) -> str: if s == '': return '' n = len(s) dp = [[False] * n for _ in range(n)] max_len = 1 start = 0 for i in range(n - 1, -1, -1): for j in range(i, n): if i ==...
[ "leahxuliu@gmail.com" ]
leahxuliu@gmail.com
9280ac79f4a7935fd8a74c47669555a1ff5abb41
058ab1a93f8213f93810c088d65e958a4ec50de7
/Assignment_2_SourceCode/Unused_FIles/ModelTest.py
b90101f96e4ede829cd0d48817e38771d3cd4a0e
[]
no_license
urube/adv_programming_python_ara_assignment2_2019-2
222bef94ca22a0e033bdc437d6f4c3e81918ed93
e58966c35311a00ec82880d12ea6a07dd6bb1c57
refs/heads/master
2020-08-14T12:19:58.097314
2019-10-15T04:35:16
2019-10-15T04:35:16
215,167,222
0
0
null
2019-10-15T00:49:49
2019-10-15T00:04:22
HTML
UTF-8
Python
false
false
380
py
import unittest class ModelTest(unittest.TestCase): def test(self): from drawer_kieran import DrawerKieran from parser_dang import ParserDang to_draw = open('test.txt', "r+").read() parser = ParserDang(DrawerKieran()) s = parser.parse(to_draw) self.assertEqual(s, '...
[ "noreply@github.com" ]
urube.noreply@github.com
0a96109443526a53b04bd4318fbadcab27e6ffa7
598c5f1f2d2ec805e2f5c9bad107367be56329dc
/SoshikiProject/Soshiki/urls.py
ce714b0b9b42fabb593f7bcc5ae21becc7968dc3
[]
no_license
HE-Arc/Soshiki
f84c9f4e4fb7294ca00c3056f08e53d5a2a2b2e0
d0ebca543bd647599090725806d86e4ecf665ecc
refs/heads/master
2021-03-19T12:26:57.049066
2018-04-07T12:46:42
2018-04-07T12:46:42
122,045,543
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
"""Soshiki URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "jules007.cesar@hotmail.com" ]
jules007.cesar@hotmail.com
e1994321314f87f666539e6bd8eeacaca4baae6a
1348fc770c52446b0659cab143fb610641962812
/Python/Bootcamp_seleksi/2b.3.py
3c864f7db65aa2fdbf6e7fa060242cfe0afc3a76
[]
no_license
bryanbernigen/ITBSem1
075d41b008741312b3f17ab1c73dd54d65da5be5
ef10221599f625058cebb706233798010ba3c945
refs/heads/main
2023-04-17T19:38:04.215994
2021-05-05T04:48:03
2021-05-05T04:48:03
353,978,618
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
#2b.3 Lakukan OneHotEncoding pada kolom bentuk. Kolom bentuk yang # belum diproses dapat dihapus (Hint: Library Sci-Kit Learn) #template awal import pandas as pd import numpy as np from sklearn.preprocessing import LabelEncoder,OneHotEncoder,LabelBinarizer from sklearn import preprocessing df = pd.read_csv("D:\\data_...
[ "bryanbernigen@gmail.com" ]
bryanbernigen@gmail.com
6aa5472a81eb982be6841fecca028c9450d0bc71
64653a5a2a64cd0a18643ea3c537dd21c3122167
/ohmyeye/urls.py
5b9c0c4129965443f6f886b43d7f8ad8bd26d616
[]
no_license
baidoosik/ohmyeye
52662341701c3905efe5c7cf329fbe6e400022de
1619f981f9f4e4e84b4577df28e769e9340ba06a
refs/heads/master
2021-04-27T02:47:45.497702
2018-02-24T22:25:37
2018-02-24T22:25:37
122,702,407
1
0
null
null
null
null
UTF-8
Python
false
false
948
py
"""ohmyeye URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "qoentlr37@naver.com" ]
qoentlr37@naver.com
c8e82f2c45977b37051e34e6e452577eb1467a83
19da2e0fdea22b5f6db5ac33d5d5e1d9882ab0a6
/learning_templates/basic_app/urls.py
001cbb4350dbe92b2c4661bf1acd8c0eb095aeb3
[]
no_license
Ravi95KB/django-learning-projects
d49d53f1b2e8a892ddd1426e68a23c2061554845
19ddba76a0b56af051255a1ccfbca20f289c8208
refs/heads/master
2023-02-03T13:45:44.938715
2020-12-24T07:34:37
2020-12-24T07:34:37
324,081,867
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
from django.urls import path from basic_app import views #TEMPLATE TAGGING app_name = 'basic_app' #The variable name needs to be 'app_name' urlpatterns = [ path('relative/',views.relative,name='relative'), path('other/',views.other,name='other'), ]
[ "ravi25ju@gmail.com" ]
ravi25ju@gmail.com
d4df58f2c24bda82a67205c1ec1ae96f54522fc9
1817aca734cda258cbbfd9e13fbf040d76824621
/aliyun-python-sdk-domain/aliyunsdkdomain/__init__.py
03e753e73534f3d3d1530c2b89ec0fb5458f2aaa
[ "Apache-2.0" ]
permissive
sdk-team/aliyun-openapi-python-sdk
4bd770718e70e31f19e1e322727c27ba74d9fb80
996cb07bfcf010fe3ab65daa73d26df2f3b6e97f
refs/heads/master
2022-08-04T13:11:56.729215
2022-07-25T10:01:10
2022-07-25T10:01:10
183,356,741
0
0
null
2019-04-25T04:33:24
2019-04-25T04:33:24
null
UTF-8
Python
false
false
22
py
__version__ = "3.13.0"
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
74f848ad711384a3273598f2f4b68e0141b9e2e9
78afda4cc334ea78043fbcc73169bc93ec63392c
/Py_Alergies/settings.py
9c4758792260dbb1bea51314592acfe896a2e4ee
[]
no_license
GisDJordje/Gis_Projekat
e2debbc3e0e5af9035133fc19df89fa0642238cf
752a80e494797c6975d878cda608d1a5e5b671a6
refs/heads/master
2021-06-27T11:59:21.302590
2017-09-13T04:07:20
2017-09-13T04:07:20
103,349,396
0
0
null
null
null
null
UTF-8
Python
false
false
3,614
py
""" Django settings for Py_Alergies project. Generated by 'django-admin startproject' using Django 1.9.12. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import ...
[ "djolesub@gmail.com" ]
djolesub@gmail.com
0d0ea308d017f4b52fbf4a8bf89f384d26247131
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/Cura/tests/TestBuildVolume.py
6ccb3d0fb7e1ed0702e8179aad7653553b069d72
[ "LGPL-3.0-only", "GPL-3.0-only" ]
permissive
flight7788/3d-printing-with-moveo-1
b2dba26010c4fa31815bc1d2d0966161a8600081
7fcb9c6b5da9245d54ac917de8c2a7f5148e42b0
refs/heads/Feature_Marlin_with_AlanBoy
2022-08-30T18:36:44.785058
2020-05-30T07:52:58
2020-05-30T07:52:58
212,583,912
0
0
MIT
2020-05-16T07:39:47
2019-10-03T13:13:01
C
UTF-8
Python
false
false
18,454
py
from unittest.mock import MagicMock, patch from UM.Math.AxisAlignedBox import AxisAlignedBox import pytest from UM.Math.Polygon import Polygon from UM.Math.Vector import Vector from cura.BuildVolume import BuildVolume, PRIME_CLEARANCE import numpy @pytest.fixture def build_volume() -> BuildVolume: mocked_appli...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
4c72cb0146c753049d6f053bd18d47b06596e152
2aad3dc790f288c9ff178b2fb1bd7f86fbc4a47e
/cnbolgs/users/serializers.py
1994c05602a1b24b8cc84665508834d3e132f1c9
[]
no_license
Daisy-Yjy/blog
06e0a616e16736cd3301d295179245afe5530df0
e107221ebdcd90c2bd93fd3f4ea6ce0e647652b2
refs/heads/main
2023-04-06T20:22:34.389756
2021-04-17T02:45:43
2021-04-17T02:45:43
355,381,484
0
0
null
null
null
null
UTF-8
Python
false
false
8,274
py
import re from django_redis import get_redis_connection from rest_framework import serializers from rest_framework_jwt.settings import api_settings from itsdangerous import TimedJSONWebSignatureSerializer as TJWSSerializer, BadData from .models import User, GithubUser from cnbolgs import settings class RegisterViewS...
[ "1971141290@qq.com" ]
1971141290@qq.com
cb5f5ea3a6bd11f98432fda3ede902747c891678
abf29eca06e33fd9a758c41b6f7990f6c2d15970
/DirProject/DirProject/asgi.py
f0a9708181c3ba14a418b1175fc657cf816c026b
[]
no_license
amireppel/toga
89c018536d4501f59a880e50b0218d56602d88c8
679687ad5d2f0c49d3b03d688bc002095c8fc60f
refs/heads/master
2023-03-02T05:04:47.376339
2021-02-01T13:49:43
2021-02-01T13:49:43
334,486,160
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for DirProject project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "amireppel@gmail.com" ]
amireppel@gmail.com
60edc9040518713f172c1e188db2a0857b8fbf2a
eb431b6e9b4ea2263bc174a7758663abc17c04e1
/mysite/mysite/settings.py
a57f88cd8effd894e1f39f08035adf7e57696b3f
[]
no_license
dh1p0em/my-first-blog
13d410fa3b540cfe1eef832caf756d3e4fa93ff3
144f0c19233cf749e0a94b35c18a2ea46debffd8
refs/heads/master
2020-04-19T18:09:18.746393
2019-01-31T09:26:23
2019-01-31T09:26:23
168,355,197
0
0
null
null
null
null
UTF-8
Python
false
false
3,089
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.10. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "anilefecoban5@gmail.com" ]
anilefecoban5@gmail.com
9ab5ef5a853915ae349e5ac9687669ca151241a2
c6499f46ff5f9685f3d4e09a0e548a1d81fa4dec
/.upython/stubs/random.py
281de1a6b0a61b95096d9b32cccac7a8ad6aaa90
[ "MIT" ]
permissive
vtt-info/upython-samples
7ffaf77817b2ce1c46d632850528060ac8df545c
c28e9667a22621dd4b62cc64927dfb051f8a84d2
refs/heads/main
2023-01-13T11:47:11.018041
2020-11-15T06:44:30
2020-11-15T06:44:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" Module: 'random' on pySBC 1.13.0 with FW1.0-171 """ # MCU: (sysname='pySBC', nodename='pySBC', release='1.13.0 with FW1.0', version='v1.13-171-g7720a5aa6-dirty on 2020-10-20', machine='simpleRTK-SBC with STM32F745') # Stubber: 1.3.4 def choice(): pass def getrandbits(): pass def randint(): pass def r...
[ "tayfunkaran@gmtcontrol.com" ]
tayfunkaran@gmtcontrol.com
a3022d74803f2215703054399c88df7a6f9ff4c5
79a27d368f117885f072bff493d8fb712faa4479
/orders/models.py
8f0f26477215f812060e25cd9914b47f2face847
[]
no_license
Sultanbek9899/onlineshop
2e03b4abad39bfbf4ce4c7e9cc5ea2385352812c
082546cc4ba3bb2ab0f63d293c2521c53fdde651
refs/heads/master
2022-12-20T18:44:45.803307
2020-09-25T22:00:02
2020-09-25T22:00:02
291,037,882
1
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
from django.db import models # модель заказа для сохранения данных заказа from products.models import Product class Order(models.Model): first_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50) email = models.EmailField() address = models.CharField(max_length=250) ...
[ "sultanbek9899@gmail.com" ]
sultanbek9899@gmail.com
43769e07cfb176ffe2561227bd4f5b708fadbad3
e30c23f90c37a45730aaf5366d30ff521d91a28a
/Leetcode 101/深入浅出动态规划/子序列问题/1143-medium-最长公共子序列.py
08bf11a5a4ed57d1273e53032c75e7aeaaa1ac57
[]
no_license
MaiziXiao/Algorithms
0acf8ca5150deb730d32a14ac68dd78ea70d202c
f6a883b4c0d1fe06609f92f7ad8ea5317a567795
refs/heads/master
2023-02-13T00:29:01.634488
2021-01-14T14:06:45
2021-01-14T14:06:45
97,946,136
1
0
null
null
null
null
UTF-8
Python
false
false
2,990
py
# 1.1. 最长公共子序列(Longest-Common-Subsequences,LCS) # 最长公共子序列(Longest-Common-Subsequences,LCS)是一个在一个序列集合中(通常为两个序列) # 用来查找所有序列中最长子序列的问题。这与查找最长公共子串的问题不同的地方是:子序列不需要在原序列中占用连续的位置 。 # 最长公共子序列问题是一个经典的计算机科学问题,也是数据比较程序,比如Diff工具,和生物信息学应用的基础。 # 它也被广泛地应用在版本控制,比如Git用来调和文件之间的改变。 # 1.2 最长公共子串(Longest-Common-Substring,LCS) # 最长公共子串(Long...
[ "linchen.xiao@metronom.com" ]
linchen.xiao@metronom.com
79926eb4ed7b1cb24b624dd9df42ddf2c75ac463
6188f8ef474da80c9e407e8040de877273f6ce20
/examples/docs_snippets/docs_snippets/concepts/assets/asset_input_managers_numpy.py
41c6a5aa55fde72067e0e687ff7d0816f51b530f
[ "Apache-2.0" ]
permissive
iKintosh/dagster
99f2a1211de1f3b52f8bcf895dafaf832b999de2
932a5ba35263deb7d223750f211c2ddfa71e6f48
refs/heads/master
2023-01-24T15:58:28.497042
2023-01-20T21:51:35
2023-01-20T21:51:35
276,410,978
1
0
Apache-2.0
2020-07-01T15:19:47
2020-07-01T15:13:56
null
UTF-8
Python
false
false
1,511
py
import os import pandas as pd from dagster import AssetIn, Definitions, IOManager, asset, io_manager from .asset_input_managers import ( load_numpy_array, load_pandas_dataframe, store_pandas_dataframe, ) # start_numpy_example class PandasAssetIOManager(IOManager): def handle_output(self, context, ...
[ "noreply@github.com" ]
iKintosh.noreply@github.com
e43990df097eed0fd0d9bf0fd0fbd95e1335b29e
f6dca66d7035845869158c617cad4c3ca74210d1
/disentangle/topic_disc.py
2b98dfe6fb67de42c4ea2d83337c29ab10ff5531
[ "MIT" ]
permissive
anshiquanshu66/SAVED
6c320d8da7c2ef83e47da48dfb907941fd858491
130d3401a0532b6102fe4c9fcba04a85a8169b7c
refs/heads/main
2023-06-24T22:42:33.211993
2021-07-20T11:39:57
2021-07-20T11:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,125
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import json import logging import os import torch import engine from dataset import corpora from dataset import data_loaders from models import conv_models from utils import str2bool, prepare_dirs_loggers, get_time import gen_utils arg_l...
[ "noreply@github.com" ]
anshiquanshu66.noreply@github.com
a5bbfe1cd9b7a9bfcb2c0917f391fc5edc38b94c
fc3bed6b30a1ec5040d01ef8b428f7a34da4f571
/monitoring/readtemps.py
33030e796917675f01c589cdee3966404dbd4b3e
[]
no_license
rickroty/igatemonitor
156f73dbe69d34dc6a89c5cc4538ddad02d88733
c801becf37010f0968c69fef70aa624618f83bb3
refs/heads/master
2021-08-22T02:44:22.414655
2017-11-29T04:13:19
2017-11-29T04:13:19
106,628,465
0
0
null
null
null
null
UTF-8
Python
false
false
7,071
py
import os import sys import time ...
[ "noreply@github.com" ]
rickroty.noreply@github.com
d5fa428f28b5f72ac1b246b16f8a93091fd13a8b
d2ead5ce523bb5a6c983fe4a4312ad43fe754ac0
/evaluate_models.py
6b1fa044133ee5742fbaa16b314e3cd7aeff7ee2
[]
no_license
SereV94/MasterThesis
b7a0c5f5b40369df378496ce5a6527a4a4991970
ee7c7b7b3c72d6badec71c617fab8ab6ebe9beca
refs/heads/master
2022-11-28T09:31:50.985913
2020-08-09T17:25:20
2020-08-09T17:25:20
235,092,436
0
1
null
null
null
null
UTF-8
Python
false
false
26,026
py
#!/usr/bin/python from helper import parse_dot, run_traces_on_model, dict2list, reduce_data_by_label, parse_symbolic_dot, run_traces_on_symbolic_model from statistics import median import pandas as pd import numpy as np import pickle import re import glob from collections import defaultdict from operator import add im...
[ "seredellos@gmail.com" ]
seredellos@gmail.com
f81d5965412de401884bc6ee5031ef9a0b341a68
fbb1550dc5437d672ed0137bd7711eba3290dee3
/students/thomas_sulgrove/lesson08/assignment/test_inventory.py
b6e6b03a82d2e4a30955d31ed0914aa95134953a
[]
no_license
JavaRod/SP_Python220B_2019
2cc379daf5290f366cf92dc317b9cf68e450c1b3
5dac60f39e3909ff05b26721d602ed20f14d6be3
refs/heads/master
2022-12-27T00:14:03.097659
2020-09-27T19:31:12
2020-09-27T19:31:12
272,602,608
1
0
null
2020-06-16T03:41:14
2020-06-16T03:41:13
null
UTF-8
Python
false
false
1,769
py
"""unit tests for inventory.py""" import os from unittest import TestCase from inventory import add_furniture, single_customer def scrub_test_file(file_name): """remove the test file""" try: os.remove(file_name) except OSError: pass class TestBasicOps(TestCase): """Class for housing...
[ "tsulgrove@gmail.com" ]
tsulgrove@gmail.com
650652c44475815a610083d2dc1789b0fcc454a7
8e5ed733e258f585bec13044cc3381e32a079a47
/manage.py
5f0046d2c88b2f70c35f9d0dd9fb53bbcf07644a
[]
no_license
DNA5769/MyAnimeChecklist
dc797eb206e2bf655b668707cd16070a3c862a6f
b523230c84e2f3bde5c9091c91c161aa3e58e22e
refs/heads/main
2023-04-15T21:32:30.421023
2021-05-03T20:09:29
2021-05-03T20:09:29
325,802,592
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'MAC.settings') try: from django.core.management import execute_from_command_line exce...
[ "dennisthomas2002@gmail.com" ]
dennisthomas2002@gmail.com
f69d5a2c855b376f97d582465cd8c179d5452fa9
ad570312a736a84e96c5178bc1af91c6c0b898fb
/pyth/linkedListCoppy.py
4c1a565b380f1db25973401fb73c746e6d86da3f
[]
no_license
pritamSarkar123/Compitative20_21
ad813d189b7388ea2179bb96f64eaa88ba75db32
d5474b02487dc759c47e3da1047154533dc7b641
refs/heads/master
2023-01-14T12:04:51.756085
2020-11-26T09:31:02
2020-11-26T09:31:02
296,670,667
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
#problem description #https://www.youtube.com/watch?v=xbpUHSKoALg&t=784s # algorithm: # #create intermediate nodes # p=head # q=NULL # while p!=NULL: # q=p # p=p->next # t=copy(q) # q->next=t # t->next=p # #connecting new linked list # p=head # q=NULL # while p!=NULL: # q=p # p=p->next->next # ...
[ "pritamsarkar84208220@gmail.com" ]
pritamsarkar84208220@gmail.com
68e264f1175e4500758f875b6b021e66b4625bc8
9f1b8a1ada57198e2a06d88ddcdc0eda0c683df7
/submission - Homework1/HW1 - Alex/index_nested_list.py
bbb999230c523e6e8d132b64459550cc015955c5
[]
no_license
sendurr/spring-grading
90dfdced6327ddfb5c311ae8f42ae1a582768b63
2cc280ee3e0fba02e95b6e9f45ad7e13bc7fad54
refs/heads/master
2020-04-15T17:42:10.781884
2016-08-29T20:38:17
2016-08-29T20:38:17
50,084,068
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
# Alexis Thompson-Klemish # q = [['a', 'b', 'c'], ['d', 'e', 'f'], ['g', 'h']] # print the letter a print q[0][0] # print the list ['d', 'e', 'f'] print q[1] # print the last element h print q[-1][-1] #print the d element print q[1][0] #explain why q[-1][-2] has the value g print "negative indexes count from the ...
[ "sendurr@hotmail.com" ]
sendurr@hotmail.com
cf4b67c14d7a1b9856437ecb6e313e98a2c15a74
30c23852ae41a7808e2a202280e973ff1a4bbe2b
/OP/op.py
9217ca651fa7b0366b9ae90cc341da5a83482f7b
[]
no_license
rohe/oidc-oob-federation
050ce05a1bd373795bc74c63287edeccbf1c3129
53517decc43f4d58aa7b825feb8c97704de8822f
refs/heads/master
2020-03-18T04:04:10.383031
2018-06-07T12:15:55
2018-06-07T12:15:55
134,267,953
0
0
null
null
null
null
UTF-8
Python
false
false
4,153
py
import logging import cherrypy from cryptojwt import as_bytes from oidcmsg.oauth2 import is_error_message from oidcmsg.oauth2 import AuthorizationRequest from oidcendpoint.sdb import AuthnEvent logger = logging.getLogger(__name__) class OpenIDProvider(object): def __init__(self, config, endpoint_context): ...
[ "roland@catalogix.se" ]
roland@catalogix.se
96f097ae2cef0885482cea0cfb0b9c9056bdbf45
ab4f2ec4b595aec2a0133740858f1e15bc833b19
/3_Using_Python_to_access_web_data/week5_web_services_XML/week5_assignment_parse_XML.py
4d25a4650fce83813995908eb8743b95d21a19a8
[]
no_license
dexterka/coursera_files
4bcfc838affe499be6ff3fa8d1ae3f9b9cb7f4df
c550db6161c833c6c47f0214530129ffe50ae8d8
refs/heads/master
2021-07-14T10:59:58.528414
2021-06-23T08:59:56
2021-06-23T08:59:56
143,457,277
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
# Env setup import urllib.request import xml.etree.ElementTree as ET # Temp vars total = 0 # User's input url_name = input('Enter location: ') html_request = urllib.request.Request(url_name, headers={'User-Agent': 'Mozilla/5.0'}) html_read = urllib.request.urlopen(html_request).read() # Parse XML data x...
[ "martina.chlebcova@gmail.com" ]
martina.chlebcova@gmail.com
5fc5d33ab5a3e9925b7cd21a3f6b46e5b4456f00
501a6115aaad277bbf42fd782965b6387c981b1a
/Chapter_10/01_A_Tale_of_Two_ifs.py
512ecb8c7597a1bfb3f34a89fce0562304524deb
[]
no_license
dackour/python
371a12efaeca7e4f1888b12d181c88f010691766
82e469a40fc73ed7cc6742e6bb86aea22378ee5d
refs/heads/master
2020-07-27T02:59:02.945729
2020-04-05T10:35:07
2020-04-05T10:35:07
208,845,591
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# Statements x = 2 y = 1 if x > y: x = 1 y = 2 print(x) print(y) if x: if y: print() else: print() a = 1; b = 2; print(a + b) # Three statements on one line mylist = [1111, 2222, 3333] A, B, C, D = 1, 2, 3, 4 X = (A + B + C + D) if (A == 1 and B == 2 and ...
[ "bartosz.smela@gmail.com" ]
bartosz.smela@gmail.com
1e5810523ea93878d26b6ef00317399d8e25aa25
1005a4290bca16dcf4c6b3415662e134044305bd
/python/Sources/gensource_Z2Jets_muhad_cfi.py
1d71fe0e0d4998bc6ab78e9176740d7f2eb3bcf3
[]
no_license
cms-analysis/TauAnalysis-GenSimTools
2652bb713107bb1d459882581237662d229d3906
b787b784ee3598c4428c4883c04cdc525eb54eb6
refs/heads/master
2020-12-24T15:58:14.392883
2013-06-28T20:10:42
2013-06-28T20:10:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
import FWCore.ParameterSet.Config as cms # The Alpgen Source. It reads unweighted alpgen files source = cms.Source("AlpgenSource", # use an input file name without extension unw fileNames = cms.untracked.vstring( 'file:/home/cbernet/ALPGEN/v213/zjetwork/z2j' ) ) # The Alpgen Producer. from GeneratorI...
[ "sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch" ]
sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch
f50fbf295e7c63db3184c8adcae01d3500afaf12
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/tools/grit/grit/format/policy_templates/writers/ios_plist_writer_unittest.py
0fdecb1d1ef33336fc052bf6c32b3b97d6f1800a
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-unknown", "MIT" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
6,923
py
#!/usr/bin/env python # Copyright (c) 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. '''Unit tests for grit.format.policy_templates.writers.ios_plist_writer''' import base64 import functools import os import plistl...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
6db33e398073ce4c522be21e5b50608e08cd4dc3
3b59a41f57045c585f8f1de5db7febcde1ce2525
/Instancias/serializers.py
5420db2007b93896fb153aa6940e3948b2fe1d4f
[]
no_license
elioclimaco/SIJWS
1a82d2f00a309cdce0722dd3c3b2669d6466cec9
f035416325eef8b5b00b3ce2a81517700b39a635
refs/heads/master
2020-05-26T07:22:10.721399
2014-10-20T20:48:24
2014-10-20T20:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
# -*- coding: utf-8 -*- __author__ = 'Elio Clímaco' from rest_framework import serializers from .models import * # # Órganos Jurisdiccionales # class JuzgadoSerializer(serializers.ModelSerializer): id = serializers.Field(source='c_instancia') text = serializers.Field(source='x_nom_instancia') class Met...
[ "elioclimaco@gmail.com" ]
elioclimaco@gmail.com
8b5fa9d7d5f9d64a8aa54a63c57b1dbe5ddb945a
0c0ba361a75cfb57b0325291b52256e83c470708
/ex_cliente_encaps.py
fac2fb54519886995dac34730baade44fb3a00ce
[]
no_license
Anna-Beatriz/lp2
3c598b76e76e0b7f0256d6658bb9d22f69b9a417
30404fc6418b92d45e866c938ddebde110fd74d3
refs/heads/master
2021-02-19T00:10:33.039071
2020-04-24T20:36:30
2020-04-24T20:36:30
245,255,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
class Cliente: def __init__(self, nome, cpf, senha): self.nome = nome self.__cpf = cpf self.__senha = senha def get_cpf(self): return self.__cpf def get_senha(self): return self.__senha def set_cpf(self, cpf): self.__cpf = cpf class ContaBancaria: ...
[ "annabeatriz.ms1@gmail.com" ]
annabeatriz.ms1@gmail.com
357153da0f198a8a44507ece863aaf188e86fb44
1b046f4f959fe9841c788a0b4e1016f17e267018
/game_stats.py
800f4fc0c7da4ee3b205d32c8a56559648208c70
[]
no_license
belieffsy/practice-alien_invasion
7973480d588fbd6ae4c6065da0b7869e1baa5025
0846fea2b65395742cb9de6a54639f5131085372
refs/heads/master
2020-04-06T21:11:09.281912
2018-11-30T03:39:20
2018-11-30T03:39:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
class GameStats(): """跟踪游戏的统计信息""" def __init__(self,ai_settings): """初始化统计信息""" self.ai_settings = ai_settings self.reset_stats() #让游戏处于非活动状态 self.game_active = False #在任何情况下都不应该重置最高得分 self.read_high_score() def reset_stats(self): """初始化游戏运行...
[ "noreply@github.com" ]
belieffsy.noreply@github.com
a4f40a48fe3950b604589a17e731eb39f8c0f317
14e434036166c14364f7c6eb5477a225037c4a5b
/src/services/csv_reader.py
76ae89736a66abbee1267a50aaed0774fbeda0f1
[]
no_license
kristaloverbeer/ssp
c55bad4982576c7464515a9bb87f34080e6c7d73
3f475ae4448f5573540323e185a4ad1b508ed868
refs/heads/master
2021-06-13T06:45:04.790045
2019-05-13T18:13:41
2019-07-29T06:58:37
186,472,786
0
0
null
2021-05-06T19:34:19
2019-05-13T18:16:24
Python
UTF-8
Python
false
false
6,699
py
""" Parse CSV to extract addresses How to use the `csv_reader` script: 1) Save the xls data file as a csv in UTF8 encoding 2) Call the script by specifying the type of source (hotel or people) ``` $ python src/services/csv_reader.py \ -t "hotel" \ -s "/Users/fpaupier/projects/samu_social/data/hot...
[ "brisemeric@gmail.com" ]
brisemeric@gmail.com
17182f5cae79f76332304a2abd4a7f9acf5a1442
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/layout/ternary/aaxis/_showticksuffix.py
2a1b061ea73eecf6d8c074e3d8662b7cb67f3748
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
533
py
import _plotly_utils.basevalidators class ShowticksuffixValidator( _plotly_utils.basevalidators.EnumeratedValidator ): def __init__( self, plotly_name='showticksuffix', parent_name='layout.ternary.aaxis', **kwargs ): super(ShowticksuffixValidator, self).__init__( ...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
9bf714a6abbcdb0385038e4cdee96b601cece13d
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2013_adni/MMSE-AD-CTL/01_build_dataset.py
f9049d7b28f1fc1da3d70f12b740317ca04ad28d
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
6,376
py
# -*- coding: utf-8 -*- """ @author: edouard.Duchesnay@cea.fr Compute mask, concatenate masked non-smoothed images for all the subjects. Build X, y, and mask INPUT: - subject_list.txt: - population.csv OUTPUT: - mask.nii.gz - y.npy - X.npy = intercept + Age + Gender + Voxel """ import os import numpy as np import g...
[ "edouard.duchesnay@gmail.com" ]
edouard.duchesnay@gmail.com
2bb5e9136817920f0a118765a28bf286b13b41be
c86277d74266b90b64774bc924b041009d697b2e
/source/nextdoor/wsgi.py
2ae744a10344445edcd3ffe9adf052710f84605a
[]
no_license
rakeshsukla53/facebook-for-neighbours
dcd0c564530404e5415fa08b184398d10b1170ba
3d6c1430ab4f7ac8f668626c82705552da9f6566
refs/heads/master
2021-01-10T04:54:00.962831
2015-12-25T17:32:45
2015-12-25T17:32:45
46,942,279
2
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for nextdoor 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_SETT...
[ "rakesh.sukla53@gmail.com" ]
rakesh.sukla53@gmail.com
fc5145f0837ea6447b109a85447c1d90938c40d6
8f420e1d63d69b21a1d964ae4771fbfe54b2b997
/Python Session 6.1.1 conditional statements and loops.py
616d674dc98133e4218c3543328435268f63cd80
[]
no_license
Jyoti-27/Python-6
03eb49037c627442fe3a633f92c1ae4b4e14d801
dc4a8d2cd65a9e4614ac6fe5c914b8cec6498f2c
refs/heads/main
2022-12-24T16:42:23.780614
2020-10-01T20:01:30
2020-10-01T20:01:30
300,408,932
1
0
null
null
null
null
UTF-8
Python
false
false
4,152
py
#!/usr/bin/env python # coding: utf-8 # In[1]: # create a variable salary and assign a value to it salary = 15000 if salary >= 35000: print('you are eligible for loan') else: print('you are not eligible') # In[1]: # lets assume that there is a criteria to unlocl the certifications - rules - they shoul...
[ "noreply@github.com" ]
Jyoti-27.noreply@github.com
fbf6f96f0e5b073a6b0de12bbcf2ef221caed4b3
a7341c7e161e3fa60e6bb8c0351b13b2a155a680
/PythonFiles/ucf_msd.py
ccfe6737bf7c51de09678163c9ff0b5650b6d35d
[]
no_license
vksh224/RecommendationSystem
fd483e353a1de288129b6fa767e4e734a8fab7ad
5653f213e72071dd0c046f39161abcad8451b4d6
refs/heads/master
2021-05-14T12:37:49.369592
2018-01-05T18:58:30
2018-01-05T18:58:30
116,415,025
2
0
null
null
null
null
UTF-8
Python
false
false
507
py
from surprise import KNNBasic from surprise import Dataset from surprise import evaluate, print_perf from surprise import Reader import os #load data from a file file_path = os.path.expanduser('restaurant_ratings.txt') reader = Reader(line_format='user item rating timestamp', sep='\t') data = Dataset.load_from_file(fil...
[ "vjsah27@gmail.com" ]
vjsah27@gmail.com
555a9901a0b0cebf2a2cc73a7838cc735101a711
9b371bf5710042b09f5f3745b1289821d9f01448
/Sequential_Sealed_Auction/strategies.py
2715aa38c71228015a546e1c41983360ceb05e9a
[]
no_license
15rsirvin/Computational-Economics
4b505f4ddead78cb3007ce958cb2d9faa08a5d25
d292ad627eea2ce595b8d934ee40609da338c3a1
refs/heads/master
2021-02-06T05:09:08.173130
2020-04-30T02:59:57
2020-04-30T02:59:57
243,880,497
0
0
null
2020-04-25T01:31:00
2020-02-29T00:46:43
Python
UTF-8
Python
false
false
335
py
from random import uniform, seed from math import sqrt import numpy import math class Strategy: def get_valuation(self, bid): return bid class Percent_V_Strategy(Strategy): def __init__(self, percent): self.percent = percent def get_bid(self, valuation): return self.percent * valu...
[ "irvinr@reed.edu" ]
irvinr@reed.edu
7a78bab1a7c668a9b26dfe834a4c903b5273b3e3
d833e1643f799d8979ae385992be9f3012af23a5
/examples/c60_find_submit.py
848dd0dd9378059f4770fd68b09de99329f047ff
[ "BSD-3-Clause" ]
permissive
ZhouHUB/simdb
05906505d549cbf584dcdcc91c9cebe95c2d349b
33fa21ddcc683e1618dfb337f5f928363c902a1e
refs/heads/master
2020-04-01T22:32:36.665260
2016-04-15T19:20:46
2016-04-15T19:20:46
36,950,426
0
0
null
2018-07-24T19:56:44
2015-06-05T19:06:15
Python
UTF-8
Python
false
false
1,051
py
__author__ = 'christopher' import ase from simdb.insert import * from simdb.search import * from pyiid.utils import build_sphere_np from copy import deepcopy as dc target_config, = find_atomic_config_document(name='C60 DFT') parent_atoms = target_config.file_payload[-1] # find the combined Potential Energy Surface (P...
[ "cjwright4242@gmail.com" ]
cjwright4242@gmail.com
e2886ddba4caf4503f5d0cf9cf97f91e5c76cd44
3d0bb8d94a69237bf3c6ba6b2ccfdd0bc9cc162c
/addons/asterisk/agi-bin/states/get_fast_dial_destination_from_ibs.py
4521e2804bce47ffccda4b3c9723ff47c347a06f
[]
no_license
ha8sh/IBSng
69727a7c5476ecb8efa45b7393ffe51de37a8a10
596aa468f8264ab0129431e3ede6cc1282b1ebbd
refs/heads/main
2023-08-25T18:21:28.081153
2021-10-02T05:03:52
2021-10-02T05:03:52
412,687,955
1
0
null
null
null
null
UTF-8
Python
false
false
791
py
import xmlrpclib import ibs_agi from lib import request from lib.error import * def init(): ibs_agi.getStateMachine().registerState("GET_FAST_DIAL_DESTINATION_FROM_IBS",getFastDialIndexFromIBS) def getFastDialIndexFromIBS(_index): """ get fast dial index destination from ibs may raise an IBSEx...
[ "hassanshaikhi@gmail.com" ]
hassanshaikhi@gmail.com
dcbfd84e1b63c8cda9bfef935a96be991c62e73f
4540049184beed3da8a88b56726d3cc2d56ed283
/ppo_baseline_v0.06/map_and_plan_agent/slam.py
96defb1fae970c4d5873887bc8fd4716bd829c20
[ "MIT" ]
permissive
Jiankai-Sun/habitat-challenge
30c4ed46053892e3700d1970795ed287d54fe60e
83a325eebb0632596c9d6c25bbc5f13bb464ed53
refs/heads/master
2022-05-05T04:53:41.521735
2019-05-17T13:47:56
2019-05-17T13:47:56
179,702,331
0
0
null
null
null
null
UTF-8
Python
false
false
19,085
py
import numpy as np, imageio import os import depth_utils as du import rotation_utils as ru import skimage import matplotlib.pyplot as plt import subprocess as sp from astar_planner import ASTAR_Planner def subplot(plt, Y_X, sz_y_sz_x=(10, 10)): Y, X = Y_X sz_y, sz_x = sz_y_sz_x plt.rcParams['figure.figsiz...
[ "sjkai1@126.com" ]
sjkai1@126.com
e9b8cede519e8eecea7841170591be6130caa3c8
7032fd0d1652cc1bec1bff053af4f486a5704cd5
/old/ptex_2.3.2/conanfile.py
e984816bc3004d486cfd3d4515007495bbaaa826
[]
no_license
MercenariesEngineering/conan_recipes
c8f11ddb3bd3eee048dfd476cdba1ef84b85af5e
514007facbd1777799d17d041fc34dffef61eff8
refs/heads/master
2023-07-09T08:10:35.941112
2023-04-19T13:36:38
2023-04-19T13:36:38
169,575,224
7
1
null
2023-04-19T14:11:35
2019-02-07T13:23:02
C++
UTF-8
Python
false
false
3,008
py
from conans import ConanFile, CMake, tools import os class Ptex(ConanFile): name = "ptex" version = "2.3.2" license = "Apache 2.0" description = "Per-Face Texture Mapping for Production Rendering" url = "https://github.com/wdas/ptex" settings = "os", "compiler", "build_type", "arch" options...
[ "tdelame@gmail.com" ]
tdelame@gmail.com
73c1cb0d4aa4a86afefeb3fd74e8241edec6456a
7620893c7d253a4d8c6f5aef2cfda6c72b777d49
/src/Camera/DisplayImage.py
8d1b1ee14891406071b40da9d5bf7f304a4aa7ad
[]
no_license
garridoH/cameraGUI
cacc549a9da0bcb6c3b9be04ef9783c653300118
cb6ac1d54dd8651da974ed058990c8212d145415
refs/heads/master
2021-01-17T22:38:53.398306
2012-06-12T20:41:44
2012-06-12T20:41:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
''' Adapted from online sources, including http://www.blog.pythonlibrary.org/2010/03/26/creating-a-simple-photo-viewer-with-wxpython/ ''' import wx class displayImage(wx.App): def __init__(self, redirect=False): wx.App.__init__(self, redirect) self.frame = wx.Frame(None, title='Prosilica Viewer...
[ "raedwards@gmail.com" ]
raedwards@gmail.com
156797f1ef94e9e97124eebc01ce7344852072e0
8aa6d88176833b67633fb3aa9818433ec7d2802f
/app/views.py
c55b111ae896dbfd308c5ac2337e19acce1e6666
[]
no_license
pasupulatitheja/scikey1
29da300c79e498654dfeb4eda30c6bc90d2c5343
b41ed25256be0517cfb5efe6ba99076069e11376
refs/heads/main
2023-08-04T20:36:27.738668
2021-09-15T11:43:04
2021-09-15T11:43:04
406,736,248
0
0
null
null
null
null
UTF-8
Python
false
false
3,913
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from pymongo.auth import authenticate from django.contrib.auth import authenticate, login, logout from .forms import LoginForm,CreateUserForm,DocumentForm from .decorators import allowed_users, unauthenticated_user f...
[ "theja.pasupulati@gmail.com" ]
theja.pasupulati@gmail.com
7ce5908f731cec9669227dd9adcc97767bac29df
990a225852967395a164fd4ac9b55381b5e2f08c
/renu/wsgi.py
04d2bab4841bc5e573212a9df240bea76532b4dd
[]
no_license
ueslialmeida/renu
aadc144548256c44fe7925b9015dce20e462a9bb
9a8c8c3bf777dacf3a5efa6585d0065d11067313
refs/heads/master
2022-07-22T23:39:44.276708
2020-05-20T01:42:25
2020-05-20T01:42:25
265,418,488
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for renu 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "uesli.ti@gmail.com" ]
uesli.ti@gmail.com
a3638dc9c57862fe4f551550ed3bfb9f97e9d20f
32821d668a3d3d8cbcbaea355fb1cead4acb4253
/apps/users/migrations/0002_banner_emailverifyrecord.py
846e6a4b09698eb7f6623fbfbdf9e5171d2044e2
[]
no_license
FigGG16/P2PLoan
7d6c09534da26126bbf7d490cc4accce3d0184c3
8ed1bac0102aca9b979dfa4ae9e14c49fb022799
refs/heads/master
2021-01-02T15:55:50.540243
2020-05-14T09:27:32
2020-05-14T09:27:32
239,690,998
5
2
null
null
null
null
UTF-8
Python
false
false
1,892
py
# Generated by Django 2.2.6 on 2019-10-26 13:26 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.CreateModel( name='Banner', fields=[ ...
[ "pub_fei_xiang2017@163.com" ]
pub_fei_xiang2017@163.com
6b51914d0ededa34e2f7f91d51b1d1e0903779f5
66383f31f2c2a2c976add955f743c81a35d5e457
/django_petproject/blog/utils.py
30bf0f910c5840995af015196613e2f08741c34e
[]
no_license
KrutP/petproject
30dcca922513fcf6aecb88ca1230cb4314bddb60
a4c44807b6bd748039b238cb5cd5f539bef07ecc
refs/heads/main
2023-08-15T03:51:58.101520
2021-09-23T05:10:19
2021-09-23T05:10:19
408,832,587
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
from django.db.models import Count from .models import * menu = [{'title': "About", 'url_name': 'about'}, {'title': "Add page", 'url_name': 'add_page'}, {'title': "Contact", 'url_name': 'contact'}, ] class DataMixin: paginate_by = 10 def get_user_context(self, **kwargs): context = k...
[ "pavel565123@gmail.com" ]
pavel565123@gmail.com
051d9853c1a80138b3692ffc5620491001b13b3e
84166b6d374529f01532194ec7729ab2c7f24ae8
/login.py
87d15a93df8e5bc11707c833d1aebca1ebd8baba
[]
no_license
sbalagudas/unicorn
c592a908220300b5e7fbc2a602dab56984664e0c
2c3208b70e6275cbbaf54a1d37f39abf99195950
refs/heads/master
2020-04-16T01:45:12.258498
2017-12-26T14:19:02
2017-12-26T14:19:02
83,402,081
0
0
null
null
null
null
UTF-8
Python
false
false
3,848
py
#!/usr/bin/python import wx from DBOperation import DBOperation as dbo import time import common as cmm import fonts import Main import enDecryption as ed class logInPanel(wx.Panel): def __init__(self, parent, ID, pos=wx.DefaultPosition, size=(600...
[ "371962715@qq.com" ]
371962715@qq.com
36fc09b70887ca5efb8fd3fbe506ff6a7780b731
4fb8f91b5d276fb9c9eb4e8a902fc1b89c99d318
/les_1_task_1.py
3acb2c8140e11264d46d8f66970f7a9ca8f86253
[]
no_license
YakovBoiev/AlgPython
876be85eb0d127176a118292bb0d6eada662b15b
a6001b540600c7eae19a35e4d45c06e67f50b3b4
refs/heads/main
2023-04-10T17:59:46.526245
2021-04-15T19:13:40
2021-04-15T19:13:40
358,362,152
0
0
null
2021-04-22T17:47:18
2021-04-15T18:54:22
Python
UTF-8
Python
false
false
523
py
""" Найти сумму и произведение цифр трехзначного числа, которое вводит пользователь. https://drive.google.com/file/d/1pFXRM_lzv1wZ8hM0hx0sCNVnDCsogzZa/view?usp=sharing """ print('Введите трехзначное число') a = int(input()) a = abs(a) h = a // 100 t = a % 100 // 10 u = a % 10 s = h + t + u m = h * t * u ...
[ "noreply@github.com" ]
YakovBoiev.noreply@github.com
ba2b047f942cd1f395b5a28b8a0a65fd974e1b9b
87de2ede5daf6138100e87a817d1625545a384ac
/selfdrive/thermald/thermald.py
04f21911a42b9fdb1e3fb5c1b6f2033b90aa3557
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
DS1SQM/OPKR084test_20210505
26acbe9d381753cbe72cb0271c163b588343918a
76fc12bff1472b8bbe62206cb8ae014f4c2fb969
refs/heads/main
2023-04-12T18:19:39.391330
2021-05-02T07:51:00
2021-05-02T07:51:00
364,593,815
0
0
null
null
null
null
UTF-8
Python
false
false
23,482
py
#!/usr/bin/env python3 import datetime import os import time from pathlib import Path from typing import Dict, Optional, Tuple import psutil from smbus2 import SMBus import cereal.messaging as messaging from cereal import log from common.filter_simple import FirstOrderFilter from common.numpy_fast import clip, interp...
[ "" ]
bbacf865691cc8c816c5b21413555b0e174a45fc
82c657c6d55241969147d3dc6efce18b6272d6f8
/AdaBoost/adboost.py
31ed31f27df12625c160fd0c5534db0890069f24
[]
no_license
wuyanzhang/Machine-learning
73893582fd84dcc4ebe8adedb1214cfa9f8b9ff7
6a8abf4762cdda4c3b1a5f579151155c5b6a8828
refs/heads/master
2020-05-25T05:13:26.666934
2019-06-16T02:41:26
2019-06-16T02:41:26
187,644,878
0
0
null
null
null
null
UTF-8
Python
false
false
4,947
py
import numpy as np import matplotlib.pyplot as plt # 函数说明:创建单层决策树的数据集 def loadSimpleData(): datMat = np.mat([[1., 2.1], [1.5, 1.6], [1.3, 1.], [1., 1.], [2., 1.]]) classLabels = [1.0, 1.0, -1.0, -1.0, 1.0] retur...
[ "178172535@qq.com" ]
178172535@qq.com
f50f764b1502409cb63f656caee642bd0a491879
dc9650ad04552a1fae325209868ad60fa8301abb
/BotTelegram/migrations/0002_auto_20161010_1545.py
7ab3390bcaf122e887383cf99ef75d136f3ca619
[ "Apache-2.0" ]
permissive
manuggz/memes_telegram_bot
a284ae11f99650ea3feb61c58aeccaa47d25b53b
2ed73aac099923d08c89616ec35c965204cac119
refs/heads/master
2021-03-27T20:27:25.624851
2017-02-23T01:23:03
2017-02-23T01:23:03
70,193,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-10-10 19:45 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('BotTelegram', '0001_initial'), ] operations = [ ...
[ "manuelggonzalezm@gmail.com" ]
manuelggonzalezm@gmail.com
4a8c1adfb8aa3073a222cc3288e94790b685ca45
15dffdb8fa0cf1782cbc8c18cd5d1c7c31aa07a8
/learners/maml_learner.py
d176869af5d2c89efe41aaff525c0d684d93230e
[]
no_license
jinxu06/binary-pixelcnn
c5becd70ea440727dc6868ea27c236ca07c84215
d2e0ae24b6da9482a042a6f2ef1acf9aa24e1c92
refs/heads/master
2020-03-22T12:53:50.769396
2018-07-30T02:00:59
2018-07-30T02:00:59
140,069,397
1
0
null
null
null
null
UTF-8
Python
false
false
8,217
py
import sys import random import numpy as np import tensorflow as tf from learners.learner import Learner from blocks.optimizers import adam_updates import matplotlib.pyplot as plt plt.style.use("ggplot") from blocks.plots import sort_x # from blocks.plots import visualize_func # from data.dataset import Dataset clas...
[ "aaron.jin.xu@gmail.com" ]
aaron.jin.xu@gmail.com
3199220b5d3f26c2b9848fbeaf6d987c1f2e0c37
f6f2665598646c35f63aed9ae77bf3b8158bb81b
/DecoratorPattern/simple_func_decorator.py
4c8495494a0a305a51d3f3f32dfaf66426ff2c8e
[]
no_license
Stuming/designpattern
30a83185d1b04a2e67c9e7243a2e21ff5f9810a6
5a58e99e8a2ff1173e608edd26b1b41254940424
refs/heads/master
2020-04-01T20:11:50.751189
2016-11-23T14:55:14
2016-11-23T14:55:14
68,522,482
0
1
null
null
null
null
UTF-8
Python
false
false
367
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- def deco(func): def _deco(): print("-------Start-------") func() print("-------Done-------") return 0 return _deco() @deco def process1(): print("This is processs1.") @deco def process2(): print("This is processs2.") if __name_...
[ "1361046649@qq.com" ]
1361046649@qq.com
ec36939630b71f42dfc1ceb9a3c56d293db45181
95c1ee50b12ba1735eaddfecf39861a1b43f3e66
/maoyan_spider.py
74680c748e820a4530cc2afe93032dc12013ad92
[]
no_license
JonLuGitHub/spider_maoyan
988232f27e64c18dff0eb112bd7ce835a0b2e2c7
538474818b1349cc0f547f563874231c784dbbc8
refs/heads/master
2020-03-24T10:00:21.496508
2018-08-22T08:22:35
2018-08-22T08:22:35
142,644,630
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
# -*- coding: utf-8 -*- import json import requests from requests.exceptions import RequestException import re import time def get_one_page(url): """下载数据""" try: headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 \ (KHTML, like Gecko) Chrome/58.0.3029...
[ "lq_hut@126.com" ]
lq_hut@126.com