blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
b16a112ee8b16e20788da446342a241cb664378e
d36543964b3294095c33d3b8f52d5ccd1da0d616
/steps/generate_dataset_from_htme.py
4e93a64da1bead16bcce725b642735757b89c291
[]
no_license
uk-gov-mirror/dwp.aws-analytical-dataset-generation
7d5ca877d5d7525f6dae909af4bafe06c06fd98a
3e7ae754b5894c194ff48f7a70bbba7c98814fd5
refs/heads/master
2023-04-08T11:54:47.301108
2021-04-19T07:39:50
2021-04-19T07:39:50
356,707,633
0
0
null
null
null
null
UTF-8
Python
false
false
24,642
py
import argparse import ast import base64 import csv import itertools import os import re import sys import time import zlib import json import concurrent.futures from datetime import datetime, timedelta from itertools import groupby import boto3 import botocore import requests from requests.adapters import HTTPAdapter...
[ "noreply@github.com" ]
uk-gov-mirror.noreply@github.com
f0961ceec09dd7710ea2dc92a1459cf9a7a3c709
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v4/googleads-py/google/ads/googleads/v4/services/services/mobile_device_constant_service/transports/grpc.py
8f7d053956d0875b70c29fd13aa0fe98335f0895
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,361
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
d6ebf0518fc31412340e8f04f9cf1d8fdc54a476
4a48593a04284ef997f377abee8db61d6332c322
/python/tkinter/python3/matplotlib_canvas_with_navigation_toolbar.py
db4ecb430d87c8fa246a12d65ac2c2ee34678b08
[ "MIT" ]
permissive
jeremiedecock/snippets
8feaed5a8d873d67932ef798e16cb6d2c47609f0
b90a444041c42d176d096fed14852d20d19adaa7
refs/heads/master
2023-08-31T04:28:09.302968
2023-08-21T07:22:38
2023-08-21T07:22:38
36,926,494
26
9
MIT
2023-06-06T02:17:44
2015-06-05T10:19:09
Python
UTF-8
Python
false
false
3,128
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (c) 2012 Jérémie DECOCK (http://www.jdhp.org) # 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 witho...
[ "jd.jdhp@gmail.com" ]
jd.jdhp@gmail.com
8b3e11a879ae621677946fd39c5f6268fb419427
7c964cd93343ac704ac3d9c82c977a0cd0a672e7
/listing/tests/urls.py
01681777b0d78edb22237cd694c6684631ab58fd
[]
no_license
praekelt/jmbo-listing
be32bd43225ccf6de2c530e46c54dcac6b3c6a46
91a9e369a67cccef38d125e16272e01187c0ef1c
refs/heads/master
2020-04-19T10:31:51.345676
2017-08-30T12:20:30
2017-08-30T12:20:30
66,532,006
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
from django.conf.urls import include, url from django.contrib import admin from django.conf import settings from rest_framework import routers from rest_framework_extras import discover from jmbo import api as jmbo_api from listing import api as listing_api admin.autodiscover() router = routers.DefaultRouter() dis...
[ "hedleyroos@gmail.com" ]
hedleyroos@gmail.com
cd4bc7a93d4f291bdca606586632d8379be21a47
a2c90d183ac66f39401cd8ece5207c492c811158
/Solving_Problem/알고리즘 시험/원자소멸.py
3049f3c1d054181fd062778d6c196c307a135565
[]
no_license
kwoneyng/TIL
0498cfc4dbebbb1f2c193cb7c9459aab7ebad02a
c6fbaa609b2e805f298b17b1f9504fd12cb63e8a
refs/heads/master
2020-06-17T11:53:38.685202
2020-03-18T01:29:36
2020-03-18T01:29:36
195,916,103
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
bd = [] for i in range(4001): bd.append([0]*4001) for T in range(int(input())): at = int(input()) q = [] rs = 0 for i in range(at): y, x, di, k = list(map(int, input().split())) y = (y+1000)*2 x = abs(x-1000)*2 bd[x][y] = k dx, dy = (0,0) if di == 0: ...
[ "nan308@naver.com" ]
nan308@naver.com
5eb1aa5013241386cf241f660fe91958a6023753
2345561ef9dcf5df3baea2028715796ca1f690fb
/resolution/tests/models/test_bert_span_pointer_resolution.py
9eecad2fb488247a0e5555d630890314356fa0fb
[]
no_license
Zessay/SPDR
70445e437fb005d7f36373a5422a084b5a24d60c
bad8e2f8dce803ac463b6bbfd804c06107d10165
refs/heads/master
2023-02-02T22:07:27.839024
2020-12-24T07:55:56
2020-12-24T07:55:56
321,325,463
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
# coding=utf-8 # @Author: 莫冉 # @Date: 2020-07-25 from pathlib import Path from allennlp.common.testing import ModelTestCase PROJECT_ROOT = (Path(__file__).parent / ".." / "..").resolve() FIXTURES_ROOT = PROJECT_ROOT / "test_fixtures" class TestBertSpanPointerResolution(ModelTestCase): def setup_method(self): ...
[ "zhushuai0403@163.com" ]
zhushuai0403@163.com
2d9682620d108894b70fbaa9087038647e321c8a
7708007df6f36203dbea6ffcc93181cf100f4cb5
/Pulpit/python90/repozytorium/Pobieranie_danych_od_uzytkownika/exesrises_1.py
26d7e42140db638ada57eb714080fccc0e096acc
[]
no_license
Marcin9009/marcin.pelszyk
87e8b91ef1150f867677121f6d47e9aecc0be8a8
ff20d11051db666a00b07e404037d80bebcf5fc1
refs/heads/master
2022-12-31T03:41:59.737766
2020-10-17T08:48:56
2020-10-17T08:48:56
290,585,259
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
typ = input("Podaj imię:") typ_1 = input("Podaj nazwisko: ") s = " " print(typ, typ_1, "jestem programistą Python")
[ "marcin.pelszyk90@gmail.com" ]
marcin.pelszyk90@gmail.com
a77241a9f01cb8d42083d0a5d5ac16d5e6beeda8
2a67dc681af4c4b9ef7a8e18c2ff75377dc5b44f
/aws.iot.Thing-python/__main__.py
ccf1e7ba6d2b5ecb2e3e6b312f2ddd18bdfc12db
[]
no_license
ehubbard/templates-aws
e323b693a18234defe6bd56ffcc64095dc58e3a1
2ae2e7a5d05490078017fed6d132dcdde1f21c63
refs/heads/master
2022-11-17T13:53:14.531872
2020-07-10T21:56:27
2020-07-10T21:56:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
import pulumi import pulumi_aws as aws example = aws.iot.Thing("example", attributes={ "First": "examplevalue", })
[ "jvp@justinvp.com" ]
jvp@justinvp.com
e5ba93a96d618ed8cdf982d8a869318cd3dbe1c2
8bd63bc56b39d26458ad54b7f18c4b149c1e3ce2
/sphinx-files/Data/code/2011/07/000015/principal_components_analysis_pca_using_a_sequential_method.py
9de18540ac0c8babbb1efa1fd0ab5d34569f2afa
[ "CC0-1.0", "LicenseRef-scancode-public-domain-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
isabella232/scipy-central-rescue
43270c0e1850b989fbe9a5b1a06c3be11d16464a
2b331610d52c189ae96bea4f4ce2ec343146b608
refs/heads/master
2021-09-06T09:17:30.627497
2018-02-04T19:41:11
2018-02-04T19:41:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,848
py
# Limitations: does not handle missing data import numpy as np # Download the CSV data file from: # http://datasets.connectmv.com/info/silicon-wafer-thickness raw = np.genfromtxt('silicon-wafer-thickness.csv', delimiter=',', skip_header=1) N, K = raw.shape # Preprocessing: mean center and scale the data co...
[ "jiayue.li@berkeley.edu" ]
jiayue.li@berkeley.edu
4fab70f6cc25b0c837a6276f18182c10e7af6873
061b32ec3644c4106fc09a4fae66f4a1b7b23c6c
/AID12 day01-16/day02/code/pass.py
bd4dd4be5c8880aa218ad247edea56b0c77c5cff
[]
no_license
SoliDeoGloria31/study
91d3608b04392eba9c2b854ecaf1098225710a99
335a1ffff228ff4e53abd6c9c77e1ff827323397
refs/heads/master
2020-04-21T20:02:33.126498
2019-02-09T02:50:02
2019-02-09T02:50:02
169,828,749
0
1
null
null
null
null
UTF-8
Python
false
false
268
py
# pass.py # 让程序输入一个学生的成绩(0~100之间),如果不在这个范 # 围内则报错 score = int(input("请输入学生成绩(0~100): ")) if 0 <= score <= 100: # print("成绩合法") pass else: print("成绩不合法,输入有错!")
[ "mortaltiger@163.com" ]
mortaltiger@163.com
3420e3ca525de101975396be2f03dcc436e935c1
db0c15434c59aafc2def9f5a58d20cb2e2990b64
/RecruiterApp/migrations/0001_initial.py
bc749424b287de227196932fc67d5cb4082ff1b0
[]
no_license
Kolynes/Recruiter
3db4331081eaf8a114d305acdfb1eac0fad809d6
a8edf1b03de1cbf796f3ac154b9f2bc80e817b5e
refs/heads/master
2023-07-09T13:04:38.276965
2021-08-10T11:31:21
2021-08-10T11:31:21
392,987,879
0
0
null
null
null
null
UTF-8
Python
false
false
3,016
py
# Generated by Django 2.2 on 2021-06-27 23:58 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ ...
[ "kolyneschinedu@gmail.com" ]
kolyneschinedu@gmail.com
ccd6424dfb2b03834fa015e38ab1e7450ea80c1a
07513861efeefdaa80301e292739996e55543c30
/src/database/ScratchDoulists.py
430f1b8d637b90c67d8dfb40c950d76adbe9f2a3
[]
no_license
wangkai2014/FelKub-Movie-Archive
f919a3e9c15a1d8e58da7511f423bd471ce9edfb
329feaaa44942bd1a8aaa49a50f44edbf3ff2723
refs/heads/master
2020-12-04T15:51:03.212244
2019-04-22T06:36:56
2019-04-22T06:36:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,627
py
import pandas as pd import requests from bs4 import BeautifulSoup import time import urllib from random import choice, uniform import pymongo import re import traceback from pymongo import MongoClient top250url = 'https://movie.douban.com/top250?start=' loginUrl = 'https://accounts.douban.com/login?source=movie' titl...
[ "dingzhx@vip.qq.com" ]
dingzhx@vip.qq.com
1f9158010feca7c15f4a66d8dd6dff59cdfac54d
1882ba2b04e2230692e7da0b963f20ccf859ce34
/Collect/MOD13/DataAccess.py
148e0b542aa9ace88888b865f76f6b74c5a234d5
[ "Apache-2.0" ]
permissive
TimHessels/watertools
908230ae0f45de5379e6808fec827c55245c1cc2
2fc3680bfc6ad34bd2a11fba4cf302c5b84e5d78
refs/heads/master
2023-08-16T16:18:47.003632
2023-08-06T15:35:49
2023-08-06T15:35:49
158,684,796
4
6
null
null
null
null
UTF-8
Python
false
false
16,279
py
# -*- coding: utf-8 -*- """ Authors: Tim Hessels Module: Collect/MOD13 """ # import general python modules import os import numpy as np import pandas as pd from osgeo import gdal import urllib from bs4 import BeautifulSoup import re import math import datetime import requests import glob from joblib import Parallel, d...
[ "timhessels@hotmail.com" ]
timhessels@hotmail.com
0eccc710d595d6b5079c995f446f3126dfe1848a
ae0f37ebb76bce44c5e366d62424b5ef411f94b3
/6. Name/initial/target/BKITLexer.py
144e53b04bb4bcfd48d55cfb5d343c5eff8f7557
[]
no_license
khangsk/PPL
a30b656a8a70b8f6dd96ce39f57d3540495a5a26
b8e3a04210796e03ff257c05cd1e60923f016d2f
refs/heads/master
2023-02-21T09:28:25.216162
2021-01-18T09:35:15
2021-01-18T09:35:15
306,542,959
0
1
null
null
null
null
UTF-8
Python
false
false
3,021
py
# Generated from main/bkit/parser/BKIT.g4 by ANTLR 4.8 from antlr4 import * from io import StringIO from typing.io import TextIO import sys from lexererr import * def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\n") buf.write("-\b\1\4\...
[ "hoanggiakhangsk@gmail.com" ]
hoanggiakhangsk@gmail.com
a09648f17f1096a2851fb75d73c641e5b1ed868e
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res/scripts/client/notification/tutorial_helper.py
5b0cfa516a4bbfdd7b6a09fff31ea4f98f4b8d06
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
865
py
# 2015.11.10 21:30:52 Střední Evropa (běžný čas) # Embedded file name: scripts/client/notification/tutorial_helper.py try: from tutorial import GlobalStorage as TutorialGlobalStorage from tutorial.control.context import GLOBAL_VAR as TUTORIAL_GLOBAL_VAR except ImportError: class TutorialGlobalStorage(objec...
[ "info@webium.sk" ]
info@webium.sk
ff8df0ec25d7bc7cf10f937df9018a57e4513310
714983fc24c6befe80d426dd94134d09ad2cbdfb
/env/lib/python3.6/site-packages/RestAuth/common/responses.py
7d18fc20a96bf51a5e426fd1635b126468211b7f
[]
no_license
sachinlokesh05/login-registration-forgotpassword-and-resetpassword-using-django-rest-framework-
486354ffb3a397c79afc6cbb290ab1cd637f50ac
60769f6b4965836b2220878cfa2e1bc403d8f8a3
refs/heads/master
2023-01-28T22:19:13.483527
2020-01-28T14:07:53
2020-01-28T14:07:53
233,223,694
3
0
null
2023-01-07T22:10:06
2020-01-11T11:49:44
Python
UTF-8
Python
false
false
1,692
py
# -*- coding: utf-8 -*- # # This file is part of RestAuth (https://restauth.net). # # RestAuth is free software: you can redistribute it and/or modify it under the terms of the GNU # General Public License as published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later ver...
[ "sachin.beee.15@acharya.ac.in" ]
sachin.beee.15@acharya.ac.in
4c4ef48cf46134a045275c08ea8fc58debc41e70
ea99544eef7572b194c2d3607fa7121cb1e45872
/apps/location/migrations/0022_auto_20190609_0954.py
4a2ffaeaad89e5b3872036552f4863f2afc8cf97
[]
no_license
ash018/FFTracker
4ab55d504a9d8ba9e541a8b682bc821f112a0866
11be165f85cda0ffe7a237d011de562d3dc64135
refs/heads/master
2022-12-02T15:04:58.543382
2019-10-05T12:54:27
2019-10-05T12:54:27
212,999,035
0
0
null
2022-11-22T03:58:29
2019-10-05T12:53:26
Python
UTF-8
Python
false
false
562
py
# Generated by Django 2.2 on 2019-06-09 09:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('location', '0021_auto_20190609_0939'), ] operations = [ migrations.AlterField( model_name='location', name='event', ...
[ "sadatakash018@gmail.com" ]
sadatakash018@gmail.com
3692e1e245983f80acb4513c3fa4861523e5aab5
975da64ee000833af92148b647ea1bea1deac6fe
/swagger_client/apis/calls_api.py
55680ee0568de98ee2a4b4d4636077dba93e8834
[]
no_license
bitlayergit/API-SDK-python
41c84eadae31556fae818e636565723d3112aa2c
111b4eb9b725d7a8feb31b8e0af8bb2ee79dcda3
refs/heads/master
2021-07-06T08:51:56.984499
2017-09-28T15:37:20
2017-09-28T15:37:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,108
py
# coding: utf-8 """ Phone.com API This is a Phone.com api Swagger definition OpenAPI spec version: 1.0.0 Contact: apisupport@phone.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import sys import os import re # python 2 and pyth...
[ "i.simevski@gmail.com" ]
i.simevski@gmail.com
4ebaf7c1ff4ffb6e333dd26cb63ed0a4d27eba93
27b599eabf8f5e8088e30c0d2baa6682f1661be4
/spinoffs/oryx/oryx/core/interpreters/harvest.py
e367823ddbd885ab67a2450271799dd0924925cd
[ "Apache-2.0" ]
permissive
adriang133/probability
b6ecf28f737c44f19df3a4893e6d1cf0351bc4a0
edfc4585f38017153fe7bf1a7287fcdd237912c4
refs/heads/master
2022-12-12T05:02:04.247859
2020-09-16T21:06:03
2020-09-16T21:07:27
296,163,707
0
0
Apache-2.0
2020-09-16T22:47:07
2020-09-16T22:47:06
null
UTF-8
Python
false
false
27,285
py
# Copyright 2020 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
0a6bfdd158d8d98ca39d38cbbfc03c7f48bf9030
80301f1cffc5afce13256e2ecab6323c5df00194
/cn.3rd/py/T3201.py
c5d157bd0f2e7daebe57f083438af7a43d22fb39
[]
no_license
ZhenjianYang/SoraVoiceScripts
c1ddf7c1bbcb933243754f9669bd6b75777c87b9
94a948090aba0f63b10b2c69dc845dc99c822fc4
refs/heads/master
2023-04-18T04:54:44.306652
2023-04-06T11:15:17
2023-04-06T11:15:17
103,167,541
43
11
null
2021-03-06T08:52:54
2017-09-11T17:36:55
Python
UTF-8
Python
false
false
28,671
py
from ED63RDScenarioHelper import * def main(): SetCodePage("gbk") # 蔡斯 CreateScenaFile( FileName = 'T3201 ._SN', MapName = 'Zeiss', Location = 'T3201.x', MapIndex = 1, MapDefaultBGM = "ed60084", Flags ...
[ "zhenjian.c.yang@gmail.com" ]
zhenjian.c.yang@gmail.com
1c25d1007baa97260f3a1e3b02975976f97cbed6
f775f94cdb4ebeba25d88cddae42098da92fd168
/agents/tgbot/tgbot.py
f1e7689c2d0870ee93b3e4f5770daf80496c93aa
[]
no_license
voiser/zoe-startup-kit
2fa451ccb98fac871c9761028964d6fe3bb9eaa0
0a5c2da8c32bde89d21e245fdbf6f2da7cdd4733
refs/heads/master
2021-01-15T15:45:24.763153
2016-09-04T22:16:40
2016-09-04T22:16:40
20,151,302
3
1
null
2016-09-04T22:16:40
2014-05-25T09:55:47
Python
UTF-8
Python
false
false
8,440
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # zoe-tgbot - https://github.com/rmed/zoe-tgbot # # Copyright (c) 2015 Rafael Medina García <rafamedgar@gmail.com> # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation f...
[ "david@gul.es" ]
david@gul.es
44053812dac8d55363ab444e96be1e0ecdd2828f
ba694353a3cb1cfd02a6773b40f693386d0dba39
/sdk/python/pulumi_google_native/healthcare/v1beta1/dataset_fhir_store_iam_member.py
e810a822027ecfb747e309a786a5fd9faa6d1163
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-google-native
cc57af8bd3d1d6b76f1f48333ed1f1b31d56f92b
124d255e5b7f5440d1ef63c9a71e4cc1d661cd10
refs/heads/master
2023-08-25T00:18:00.300230
2023-07-20T04:25:48
2023-07-20T04:25:48
323,680,373
69
16
Apache-2.0
2023-09-13T00:28:04
2020-12-22T16:39:01
Python
UTF-8
Python
false
false
13,492
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _u...
[ "noreply@github.com" ]
pulumi.noreply@github.com
798317ce26840a4f9145a03944586a458c220bb3
adc704219157ce3a6c491aee87b18ef063e265e8
/backend/mobile13nov_dev_16674/settings.py
1a8cf915faab0495afaef7793285d32e3f102589
[]
no_license
crowdbotics-apps/mobile13nov-dev-16674
e583a13913de29096c8e334fc79f1d204ee0d967
6a4820b35b15a5249126a6126bc1adeeaac21bf2
refs/heads/master
2023-01-31T01:58:40.679954
2020-12-13T10:27:24
2020-12-13T10:27:24
321,037,886
0
0
null
null
null
null
UTF-8
Python
false
false
7,035
py
""" Django settings for mobile13nov_dev_16674 project. Generated by 'django-admin startproject' using Django 2.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/ """...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b6b00e2cc24fe8a26e79890093deda75bcc04f19
9851b955c9dd7f3b973ea6e2fb39c4fca08f271e
/src/binwalk/plugins/zlib.py
46219f73d2775b92db78bd213fd1949efd67ac3f
[ "MIT" ]
permissive
dweinstein/binwalk
c0667f15a7a6a5670eea6d55eda22101e6398915
8f06d72b8af25aecc4fbf6590ef2adf556f573c4
refs/heads/master
2020-12-28T22:34:33.712418
2013-11-18T14:54:27
2013-11-18T14:54:27
14,501,137
1
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
import ctypes import ctypes.util from binwalk.plugins import * class Plugin: ''' Searches for and validates zlib compressed data. ''' MAX_DATA_SIZE = 33 * 1024 def __init__(self, binwalk): self.fd = None self.tinfl = None if binwalk.scan_type == binwalk.BINWALK: # Add the zlib file to the list of magi...
[ "heffnercj@gmail.com" ]
heffnercj@gmail.com
3fa7a017b0aa7f536f91ef30b9f5010c899a9acf
8c359103dfa6ef358576579ea8fb99e2ffc26503
/DMAnalysis/scripts/splitlocaljobs.py
96630b133ae4b9d308b97292de7a292ab26fc7d3
[]
no_license
rjwang/llvvAnalysis
bc6db4b4676b78ad2e37cc65e6a063ef84761142
f293e2cf790954af06b61a9058afe39f31cb42bf
refs/heads/master
2020-12-14T12:08:59.196205
2016-04-13T20:21:20
2016-04-13T20:21:20
29,960,358
3
6
null
null
null
null
UTF-8
Python
false
false
782
py
#!/usr/bin/env python import os,sys import getopt import commands allsubmits = 'SCRIPT_Local.sh' count=0 with open(allsubmits) as fp: SCRIPT = open('localscript_0.sh',"w") SCRIPT.writelines('#!bin/sh \n\n') SCRIPT.writelines('set CWD = `pwd`; \n') SCRIPT.writelines('cd $CMSSW_BASE/src/llvvAnalysis/DM...
[ "r.jiewang@gmail.com" ]
r.jiewang@gmail.com
0449cda3a4a6d5875546efa2bbaba6e52dc2cf7a
3950cb348a4a3ff6627d502dbdf4e576575df2fb
/.venv/Lib/site-packages/apptools/preferences/tests/test_preference_binding.py
9c5e819b436cbdfdfead0447cf5a9e72a4ca35c6
[]
no_license
Bdye15/Sample_Programs
a90d288c8f5434f46e1d266f005d01159d8f7927
08218b697db91e55e8e0c49664a0b0cb44b4ab93
refs/heads/main
2023-03-02T04:40:57.737097
2021-01-31T03:03:59
2021-01-31T03:03:59
328,053,795
0
0
null
null
null
null
UTF-8
Python
false
false
10,942
py
# (C) Copyright 2005-2020 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in LICENSE.txt and may be redistributed only under # the conditions described in the aforementioned license. The license # is also available online at...
[ "brady.dye@bison.howard.edu" ]
brady.dye@bison.howard.edu
6a7bf54d9cd06dc937ab79589e350d0ea09f49b3
126884e6916e9d78201527419681c0369bc61e9a
/Python/Test_Data_Generator/Test data generator.py
8e6d617b928edb127128a7e866e7901cdfe0b9d4
[ "MIT" ]
permissive
HarshCasper/Rotten-Scripts
adb9d9b707958f0353f7f7dda44f406da123e64a
31fd3fb1233f39ea2252a7a44160ff8a2140f7bd
refs/heads/master
2023-08-27T20:10:27.180869
2023-05-07T19:14:31
2023-07-25T11:59:06
240,786,294
1,474
754
MIT
2023-07-25T11:59:08
2020-02-15T20:53:36
Python
UTF-8
Python
false
false
1,581
py
# Importing Libraries from faker import Faker import random from random import randint import csv # Data Generator Function def datagen(np, parameters): """ Python function to generate test dataset of students taking an online course using Faker. """ fake = Faker() with open("Data_generator.csv", ...
[ "noreply@github.com" ]
HarshCasper.noreply@github.com
f9ab35da766496bce6cee38d96225ccbcf048f27
3a1f685bf934a80c2792e47acc7d40fe446ce30e
/lanqiao/2013_java_/连号区间数.py
38668c180efbfedee8cdd6942834092dc7d0b6c9
[]
no_license
CAgAG/Arithmetic_PY
959f6ae0a92371be5f2dc199e9fdfb8f5d6e296f
000d31f6937b51677df35870e9d56cb7ef836990
refs/heads/master
2023-01-03T08:19:43.164268
2020-10-18T10:35:07
2020-10-18T10:35:07
183,547,019
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
def f(start, length): return start * length + length * (length - 1) / 2 def check(arr: list): sortArr = sorted(arr) for i in range(len(sortArr) - 1): if sortArr[i + 1] - sortArr[i] != 1: return False return True def build(arr: list): length = len(arr) count = 0 for i ...
[ "1058356706@qq.com" ]
1058356706@qq.com
44e2c34efad6ff0192cf7cde42715257dadd9043
d1e3ee332ce181be66100b61be0492159eba82d7
/2021-2022/თეორია/003 Python-ს უყვარს რიცხვები/გაკვეთილი_3_1__Shell.py
7c429bc3564f5281c33695328e785de67bef6f66
[]
no_license
Ketulia/199-SCHOOL-Introduction-to-Python-for-kids-
a740ec56a46ae8f1c2f5b81f1c64e687136b0659
63254de0e7bb5f0aae6ff703740c151afb32e43e
refs/heads/main
2023-08-30T01:26:10.679463
2021-10-21T12:13:52
2021-10-21T12:13:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> 3 + 5 8 >>> >>> num1 = 3 >>> num2 = 5 >>> >>> print(num1) 3 >>> print(num2) 5 >>>
[ "pm72github@yahoo.com" ]
pm72github@yahoo.com
40abffea5eb3245cbda03499792e4e5c6ee21e2e
cbafab192b5072b8e9150dcada8013503af40fca
/爬虫处理/Scrapy/city_58_03/city_58_03/pipelines.py
623ab062aa60ec014c754c9a29b9bcbbf6d74ba1
[]
no_license
lafitehhq/PythonProject
928421b49ff0ea9fd536ca7769a04fe990848929
d5d0352541a29ee070884263e7eb50160cd7b3b5
refs/heads/master
2021-09-06T01:48:42.971720
2018-02-01T11:56:50
2018-02-01T11:56:50
106,712,281
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import json class City5803Pipeline(object): # 自动生成的代码 # def process_item(self, item, spider): # return item ...
[ "lafitehhq@126.com" ]
lafitehhq@126.com
10585229ad8784905f3043a1f02a7a33d95c3573
b027502c2e35f7885a9f7cd79ed6e1e1b8485c2f
/Strings/64.Longest Repeating Subsequence.py
c6772ba53b68d0da67ddb72da143e4684b355a5b
[]
no_license
DDR7707/Final-450-with-Python
eb1cd0ee890b64224e8996158d67f9820276d94a
b64717af405fe256bcd791a619cb9fb4ca9178cb
refs/heads/main
2023-09-05T14:39:39.369036
2021-11-16T13:16:32
2021-11-16T13:16:32
403,002,363
3
0
null
null
null
null
UTF-8
Python
false
false
389
py
class Solution: def LongestRepeatingSubsequence(self, str): # Code here dp = [[0 for i in range(len(str)+1)] for i in range(len(str)+1)] for i in range(1,len(str)+1): for j in range(1,len(str)+1): if str[i-1] == str[j-1] and i != j: dp[i][j] = dp[i-1][j-1] + 1 else: ...
[ "noreply@github.com" ]
DDR7707.noreply@github.com
17700636648a69002f82a0b4b3ce113182751d5a
ddd31e7d22d1f1b947dc13828948d0d0b1412ec2
/avrae/misc/pingcombat.py
3377766a20a6296a34a001e40d498fe82c37a26b
[]
no_license
AstralObservatory/countpauper
217d894fa143d2e5e8ceb9e100b7e66480f5efbc
0de2e7b1b201ba7c933330b9ad17e8df45504615
refs/heads/master
2023-09-01T08:38:46.110318
2021-10-13T15:19:33
2021-10-13T15:19:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
# this doesn't work, because when avrae sends command output to the console, it doesn't allow discord to mention !alias pc echo <drac2> controllers = {f'<@!{c.controller}>' for c in combat().combatants} return ", ".join(controllers) </drac2> # Channels work at least !test {{ f'<#{ctx.channel.id}>' }}
[ "countpauper@gmail.com" ]
countpauper@gmail.com
89b83ac4b752d900117eaa2efc6a62eb184df017
95f206b9d031d745b7e805c4379c3d59b23e7931
/main.py
e86aae0d6c78e97636a70ffdab2858a8c206871c
[]
no_license
danlkv/webcam_eye_track
f7d6759736db50c55e0939a2b60b40f441461890
747f3429c178cca00f3674d38fa166b7196a35bd
refs/heads/master
2021-10-03T10:23:04.162198
2018-12-02T17:15:58
2018-12-02T17:15:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,997
py
import argparse from camera.face import Camera, getAvailableCameraIds from window import * import data # This is where xml cascade files stored face_cascade_path = '/home/danlkv/Junction/payhere/ml_data/haarcascade_frontalface_default.xml' eye_cascade_path = '/home/danlkv/Junction/payhere/ml_data/haarcascade_eye.xml' ...
[ "lkv97dn@gmail.com" ]
lkv97dn@gmail.com
74a1104023c6327969170b1a6864ac7ead44a496
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/xlsxwriter/test/comparison/test_chart_axis14.py
47099281fe640d1934944d023adf1c8aedc997e6
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
1,997
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
587a14cf9a5612f4f33c16c5a7ef4b5bce97f859
ef914133e0ade675ae201f7895c50d819180951b
/airport_real_network_ADA.py
5a1a7129801cc1f6f83203a409808a1ef1a99c06
[]
no_license
vpahari/biconn
b094d6e7e6270f7601fde7de2f4d4528cd80aa20
fd2259dfeb73a39bbdd4e616700f912cec8f17cf
refs/heads/master
2021-06-01T18:54:09.477458
2020-09-22T14:49:48
2020-09-22T14:49:48
136,077,333
0
0
null
null
null
null
UTF-8
Python
false
false
22,968
py
import networkx as nx import networkit as nk import random import sys import math from functools import reduce import csv from operator import itemgetter import matplotlib.pyplot as plt plt.switch_backend('agg') import pickle import igraph as ig import numpy as np import os import itertools import pandas as pd def g...
[ "vpahari@wesleyan.edu" ]
vpahari@wesleyan.edu
deae2c0aa049bcfa5f4fba4deefe6b93660a2664
163de8052fecab1baf82c6e2eae82ea151350a94
/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/models/role.py
844b7b0da61b579cdbaa1626126ca3d7cdc046b4
[]
no_license
brettlangdon/cookiecutter-flask-app
aaf8f4672c82576011bf488def5857a0da5837ba
d1d5c7a4bfd26be3ea9a2011c4e9e75d12d61389
refs/heads/master
2023-07-31T12:03:53.246011
2016-07-29T13:58:39
2016-07-29T13:58:39
64,355,182
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
from flask_security import RoleMixin from sqlalchemy.dialects.postgresql import UUID from . import Base from .. import db class Role(Base, db.Model, RoleMixin): id = db.Column(UUID(), primary_key=True) name = db.Column(db.String(80), unique=True) description = db.Column(db.String(255))
[ "brett@blangdon.com" ]
brett@blangdon.com
47ead00d0deccdfcf2d39e71d678a69e0e26a33d
06a8edea06b0447784f32bfcbebd2a53ff8bc6c0
/delugeaio/error.py
f50dd41f57c00e8b96c37e1f05d07946acd48a7d
[]
no_license
gazpachoking/delugeaio
761f4d34143ddb7efa02fb656b2cfa06da4cd35c
aeaf895b53ba22237c5a8417fb5d93ab3117c97c
refs/heads/master
2021-01-19T01:24:10.435413
2016-06-27T05:11:09
2016-06-27T05:11:09
62,026,268
1
0
null
null
null
null
UTF-8
Python
false
false
2,055
py
# -*- coding: utf-8 -*- # # Copyright (C) 2008 Andrew Resch <andrewresch@gmail.com> # Copyright (C) 2011 Pedro Algarvio <pedro@algarvio.me> # # This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with # the additional special exception to link portions of this program with the Op...
[ "chase.sterling@gmail.com" ]
chase.sterling@gmail.com
bce46b50f97a6a1fdcd43f9fd0e13fbc7ae46c42
d8f069495dd1f3bb3f27a21009dd2d602a78c545
/calc/transportation/datasets.py
2f3fa342dc18568eadf67c786a11f2e6a7cfa991
[]
no_license
City-of-Helsinki/ghgdash
bef0de1a33c4cd61063d8605f22476a4413e32eb
1f07fd77f27fcbd8f8ff3680217fbff14ab80392
refs/heads/master
2022-12-11T01:08:37.835105
2021-03-17T13:40:41
2021-03-17T13:40:41
180,591,667
0
0
null
2022-12-09T06:14:28
2019-04-10T13:49:14
Python
UTF-8
Python
false
false
525
py
from calc import calcfunc @calcfunc( datasets=dict( emissions='jyrjola/lipasto/emissions_by_municipality', ), variables=[ 'municipality_name' ] ) def prepare_transportation_emissions_dataset(datasets, variables): df = datasets['emissions'] df = df[df.Municipality == variables['...
[ "juha.yrjola@iki.fi" ]
juha.yrjola@iki.fi
f9b8f6ec6dc7e02c5c9d7192c8ec732a819ae604
2d24c495ba7318c639043095b6bdf4707be29f7e
/samsara/models/vehicle_stats_intake_manifold_temp_milli_c.py
17fc027fce005a2d15535c60fcf12fe165e897a6
[]
no_license
samsarahq/samsara-python
e032d72b041f45a142566d7d9756c28e6acb24bd
59704b2e2c8af94a069a512b0bc0db7494c8c10d
refs/heads/master
2021-12-11T08:21:57.218305
2021-11-29T19:13:47
2021-11-29T19:13:47
66,108,617
13
7
null
null
null
null
UTF-8
Python
false
false
4,801
py
# coding: utf-8 """ Samsara API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 2020-06-15 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six...
[ "ci@samsara.com" ]
ci@samsara.com
cfa5a71df7e8bb723b035450dd5ccc9bdc0d37aa
f099d9670140fee64e4aa5409717b3a4508d4eda
/pneumothorax/unet-plusplus-efficientnet.py
fea7b7f72b43c7e8f0857b690b1e1fa49b1bba66
[]
no_license
totalgood/pneumothorax
19954c5b4a4f437cdf6b1137b8627c99cf349f3a
6af1478eab2bcb16a8f539d6a6755b6a67927e97
refs/heads/master
2022-01-11T11:00:55.445467
2019-07-28T03:07:12
2019-07-28T03:07:12
197,984,491
0
0
null
null
null
null
UTF-8
Python
false
false
30,007
py
#!/usr/bin/env python # coding: utf-8 # ![image.png](attachment:image.png) # In this kernel I implement Unet Plus Plus with EfficientNet Encoder. Unet Plus Plus introduce intermediate layers to skip connections of U-Net, which naturally form multiple new up-sampling paths from different depths, ensembling U-Nets of v...
[ "hobs+github@totalgood.com" ]
hobs+github@totalgood.com
5a080be631bb99b7929d1b822e3c3080b369f634
d308fffe3db53b034132fb1ea6242a509f966630
/pirates/npc/BomberZombie.py
e15fcf85a0f0b7eaf35c43794d5b739cd4f944a5
[ "BSD-3-Clause" ]
permissive
rasheelprogrammer/pirates
83caac204965b77a1b9c630426588faa01a13391
6ca1e7d571c670b0d976f65e608235707b5737e3
refs/heads/master
2020-03-18T20:03:28.687123
2018-05-28T18:05:25
2018-05-28T18:05:25
135,193,362
3
2
null
null
null
null
UTF-8
Python
false
false
3,636
py
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.npc.BomberZombie from pandac.PandaModules import * from direct.directnotify import DirectNotifyGlobal from pirates.npc.Skeleton ...
[ "33942724+itsyaboyrocket@users.noreply.github.com" ]
33942724+itsyaboyrocket@users.noreply.github.com
a62134272752e34b8ab014d047ed5fddd01668bc
4c93ff48983bb8475f6be4001811ba2b91d7a0b5
/games/templatetags/games.py
8f6952317cda5cb5242bb04e20176eb4d2c82d75
[]
no_license
SoccerStatsUS/s3
dfca61c7ac4e05987e77a992a482ffe9a69f3e16
44b4b8bc14cb580aa9d7683f72fbaa75d1e43d70
refs/heads/master
2021-01-10T15:42:58.832834
2017-03-01T22:29:25
2017-03-01T22:29:25
47,239,586
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
from django import template register = template.Library() @register.inclusion_tag('tags/games_table.html') def games_table(games, exclude=''): rg = games.values_list('round', 'group') rounds = set([e[0] for e in rg]) groups = set([e[1] for e in rg]) return { 'games': games, 'exclude'...
[ "chrisedgemon@gmail.com" ]
chrisedgemon@gmail.com
215b970a8196768ae53e3b6d4032f650d7addb2c
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fortyPercent/rank_3tl8_B.py
c6fc98b3dbce63c52bacc3ef1e15c4868e9e5174
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,390
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
b846639ae44712d7c40a72b6cf52528a3dbff92e
83a4d62a629a8d7b886b303970143163a2e027eb
/tmt/identifier.py
3fd7871c9b4a850c63954d2baac9a763b1751714
[ "MIT" ]
permissive
lukaszachy/tmt
cba3c6e44ada55be9b3494be8bef0a804da89e54
805c428eaf26a1d087f4a7a2672ffd1460ffd93a
refs/heads/master
2023-06-22T16:12:01.296783
2023-06-09T13:27:57
2023-06-09T13:27:57
214,430,810
0
0
MIT
2019-10-11T12:36:35
2019-10-11T12:28:29
null
UTF-8
Python
false
false
2,687
py
from typing import Optional, cast from uuid import uuid4 import fmf from tmt.utils import log # Name of the key holding the unique identifier ID_KEY = "id" class IdError(Exception): """ General Identifier Error """ class IdLeafError(IdError): """ Identifier not stored in a leaf """ def locate_key(node:...
[ "psplicha@redhat.com" ]
psplicha@redhat.com
fedb13d50a2d26a968b1487adbc332161d732509
635ff189b54cdc2513b61551263db21a12654b49
/vendor/github.com/census-instrumentation/opencensus-proto/gen-python/opencensus/proto/agent/metrics/v1/metrics_service_pb2_grpc.py
5ddafeb673fd54f7e7ca2598e8802d4b9960e3b7
[ "Apache-2.0" ]
permissive
openshift/openshift-azure
f4075b4e4bd1c3fb74f565ec48dfdc2dd0e7b289
1fc847263e4f80848c58df66a164ba41e3479383
refs/heads/master
2023-09-02T06:52:05.303577
2021-10-01T14:21:13
2021-10-01T14:21:13
137,828,518
57
63
Apache-2.0
2023-02-18T08:01:32
2018-06-19T02:11:07
Go
UTF-8
Python
false
false
2,166
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from opencensus.proto.agent.metrics.v1 import metrics_service_pb2 as opencensus_dot_proto_dot_agent_dot_metrics_dot_v1_dot_metrics__service__pb2 class MetricsServiceStub(object): """Service that can be used to push metrics between on...
[ "jminter@redhat.com" ]
jminter@redhat.com
9a77c7fa062015ee90ca62968a0a5980383d23f8
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/fillup/testcase/firstcases/testcase3_016.py
37837cbc0f9fe2666beacf6a6e02eac52d47c5cc
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
5,869
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
0bd26fec46ba12a93806fde3324e61c5c0b51e89
1498148e5d0af365cd7fd16197174174a7fa9800
/leetcode/t000669_2.py
ea9104f594e8ffa7addc3d534a79bc785e6e10a4
[]
no_license
feiyanshiren/myAcm
59a2b80fe7e02787defcb152eee3eae26135322a
00c7082d5143ddf87aeeafbdb6ce29da46dc8a12
refs/heads/master
2023-09-01T12:12:19.866447
2023-09-01T09:09:56
2023-09-01T09:09:56
148,560,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def trimBST(self, root, L, R): def trim(node): if not node: return None elif no...
[ "feiyanshiren@163.com" ]
feiyanshiren@163.com
abacebeeb27430614c2707d9ead56ca8fb423c76
e3ec7260806c1e2b045a0de93a150a5c3fc1b9df
/test/ResultsAndPrizes/6x49/test_6x49_sum_superprize.py
95f9eea3bdfa32221027ee53e0a361909ea712e4
[ "Apache-2.0" ]
permissive
FearFactor1/SPA
58a21c9ec7a72a78f5ff50214e58faac43a3059d
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
refs/heads/master
2021-07-07T04:25:12.525595
2020-11-16T14:35:33
2020-11-16T14:35:33
204,684,720
1
0
null
null
null
null
UTF-8
Python
false
false
853
py
# 6из49 + Сумма суперприза def test_6x49_sum_superprize(app): app.ResultAndPrizes.open_page_results_and_prizes() app.ResultAndPrizes.click_game_6x49() app.ResultAndPrizes.click_sum_superprize() app.ResultAndPrizes.button_get_report_winners() app.ResultAndPrizes.parser_report_text_winners() as...
[ "zelezodoroznik@yandex.ru" ]
zelezodoroznik@yandex.ru
bdfe5fd1eb4b31dc649c646b3251f26ee7ca942a
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v5/googleads-py/google/ads/googleads/v5/enums/types/month_of_year.py
516f0830467b9ac10898ed6aceb7c55075e8bcd9
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,350
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
615ec82d0d6450fdb64134a530a6dea5b613d27f
ea4e262f3dc18a089895fef08bedefc60b66e373
/supervised_learning/0x03-optimization/0-norm_constants.py
b60bead000956676544ebd40ba7f1354cd6ecd83
[]
no_license
d1sd41n/holbertonschool-machine_learning
777899d4914e315883ba0c887d891c0c8ab01c8a
5f86dee95f4d1c32014d0d74a368f342ff3ce6f7
refs/heads/main
2023-07-17T09:22:36.257702
2021-08-27T03:44:24
2021-08-27T03:44:24
317,399,917
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
#!/usr/bin/env python3 """[summary] Returns: [type]: [description] """ import numpy as np def normalization_constants(X): """[summary] Args: X ([type]): [description] Returns: [type]: [description] """ return np.mean(X, axis=0), np.std(X, axis=0)
[ "1498@holbertonschool.com" ]
1498@holbertonschool.com
8aace28c59c3dfb58f17742e1164d3691e5704cc
e8d7e13eb4d26c0a0147f2d0208d70e61f865c2c
/untitled51/lib/python3.6/_sysconfigdata_m_darwin_darwin.py
f197640a6cb98a1d21c429b06ce8aa0ea1fde12d
[ "Python-2.0" ]
permissive
fazi4888/APCSP-FreshmanYear
55c5b5717aadeb2d871582754174f88213a488fe
b4f0f797b2c469e148b0330ad9d309610f1f0668
refs/heads/master
2022-11-30T11:51:30.210342
2020-08-17T15:00:37
2020-08-17T15:00:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,455
py
# system configuration generated and used by the sysconfig module build_time_vars = {'ABIFLAGS': 'm', 'AC_APPLE_UNIVERSAL_BUILD': 0, 'AIX_GENUINE_CPLUSPLUS': 0, 'ANDROID_API_LEVEL': 0, 'AR': 'ar', 'ARFLAGS': 'rc', 'BASECFLAGS': '-Wno-unused-result -Wsign-compare -Wunreachable-code', 'BASECPPFLAGS': '', 'BASEMOD...
[ "rayaan.siddiqi@gmail.com" ]
rayaan.siddiqi@gmail.com
771a8988d3fce61bd6dd0f91f2dc5be18d05844e
2901beb8f5446e8f7689cd2d8e616af8064ccbd6
/test/test_radius.py
5981bdd2a916487b4da028978db0f36036a930da
[ "MIT" ]
permissive
xuyongzhi/pytorch_cluster
ee95f4ec5ce8fc02610b31c493356e4604ffc384
5221414306324ff88126eb71ad0d34f72b9752ea
refs/heads/master
2020-05-31T06:28:51.964087
2019-05-31T09:39:00
2019-05-31T09:39:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
from itertools import product import pytest import torch from torch_cluster import radius, radius_graph from .utils import grad_dtypes, devices, tensor def coalesce(index): N = index.max().item() + 1 tensor = torch.sparse_coo_tensor(index, index.new_ones(index.size(1)), ...
[ "matthias.fey@tu-dortmund.de" ]
matthias.fey@tu-dortmund.de
00c2d052fadda16ffaada5c80d08ba3b5b30adbc
ea467daaa8a74346d52b1ba5266740e9df1409f1
/beast/physicsmodel/create_project_dir.py
879fdbd879a7848c7435fcaa753c681b1b4129cd
[ "BSD-3-Clause" ]
permissive
kmcquinn/beast
b63debda3903abfa36a15401ecdd8d0d38a691b9
9399f79fb922733c357b4e6b1fff747977de092a
refs/heads/master
2020-03-19T03:22:28.162240
2018-09-05T17:21:55
2018-09-05T17:21:55
135,722,069
0
0
null
2018-06-01T13:38:41
2018-06-01T13:38:41
null
UTF-8
Python
false
false
756
py
from __future__ import (absolute_import, division, print_function, unicode_literals) import os __all__ = ['create_project_dir'] def create_project_dir(project): """ Create the project directory if necessary Parameters ---------- project: str project name Retu...
[ "kgordon@stsci.edu" ]
kgordon@stsci.edu
d31ee767f2a59434820637af9cf2f732fd6256fd
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/SSD/configs/cascade_rcnn/cascade_mask_rcnn_r50_caffe_fpn_1x_coco.py
8f291c218e7bce53c113d5461257250351642193
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,942
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
b6f28742b26061fcb68e5b143f0a9dac534f8d4a
8fdef2d05447c969c4f711d0d2cb0fa8f39b2313
/pdnn_test/helpers/measure_mnist_results.py
b023a13417fbef20687f218fd6723fce9b005410
[]
no_license
petered/pdnn-test
7e9fe16dea1190d5397502991fa474e5ddec6f96
70af1f3d28e4a559dff5eeecc71dbced468bc8df
refs/heads/master
2020-12-03T02:02:17.846149
2017-06-30T14:43:14
2017-06-30T14:43:14
94,438,806
0
0
null
null
null
null
UTF-8
Python
false
false
17,615
py
from collections import OrderedDict import itertools import numpy as np from tabulate import tabulate import matplotlib.pyplot as plt from artemis.general.should_be_builtins import remove_duplicates, all_equal, try_key from artemis.plotting.expanding_subplots import select_subplot from pdnn_test.helpers.forward_pass ...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
3f8801a7aa3f98133804afcb93fc97f4a979beba
b0d017d7b3812f205c3c39f482363742b5a9e873
/networking_nec/nwa/common/exceptions.py
21558a3f6c355be355831953a2894faaa59bde2b
[ "Apache-2.0" ]
permissive
nec-openstack/networking-nec-nwa
32781afaafb1a797b85a8bfa874c7f800a282867
0c5a4a9fb74b6dc78b773d78755c758ed67ed777
refs/heads/master
2021-01-17T17:19:30.924958
2016-06-29T04:14:12
2016-06-29T08:31:01
62,189,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
# Copyright 2015-2016 NEC Corporation. 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 requ...
[ "s-yanagida@pb.jp.nec.com" ]
s-yanagida@pb.jp.nec.com
7ffd6fbf4df895405da4c11a49eac6603d812d6e
f16ee0bd3c27c2f6c1f9b343993d6d76feaf4eda
/小程序/005.Create_PhoneNo/get_fake_mobile_phone.py
99a54f25fa59c17295a813049f72a943b1544a8f
[]
no_license
Fengyongming0311/TANUKI
482e4b8f779265da67fe1943cda5dae9c4c3dc55
618a47ea572f8fccfbf10f5f50aff1dfffb7b0e3
refs/heads/master
2021-12-25T05:33:58.891202
2021-12-21T06:23:55
2021-12-21T06:23:55
171,840,137
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
def get_fake_mobile_phone(): import random initial = random.choice(["130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "177", "181", "186"]) return "%s%08d" % (initial, random.randint(0, 99999999)) phone = get_fake_mobile_phone() print (phone)
[ "fengyongming0311@163.com" ]
fengyongming0311@163.com
9d7912b85e0b5e5dd074649397f01d6495c9e476
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/86/86.partition-list.233261710.Accepted.leetcode.py
abdce8d840f860248e59efc8212f7d1eaf937845
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
599
py
class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def partition(self, head, x): lesser_head = lesser = ListNode(None) greater_head = greater = ListNode(None) node = head while node: if node.val < x: ...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
611e00d1387be3789227ddda9d8fd72857ac58a0
238e46a903cf7fac4f83fa8681094bf3c417d22d
/output/python37/Lib/idlelib/parenmatch.py
60191ff14cead33d195f2aff6b6e9f61069d65fe
[ "BSD-3-Clause", "bzip2-1.0.6", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-newlib-historical", "OpenSSL", "Python-2.0", "TCL" ]
permissive
baojunli/FastCAE
da1277f90e584084d461590a3699b941d8c4030b
a3f99f6402da564df87fcef30674ce5f44379962
refs/heads/master
2023-02-25T20:25:31.815729
2021-02-01T03:17:33
2021-02-01T03:17:33
268,390,180
1
0
BSD-3-Clause
2020-06-01T00:39:31
2020-06-01T00:39:31
null
UTF-8
Python
false
false
7,386
py
"""ParenMatch -- for parenthesis matching. When you hit a right paren, the cursor should move briefly to the left paren. Paren here is used generically; the matching applies to parentheses, square brackets, and curly braces. """ from idlelib.hyperparser import HyperParser from idlelib.config import idleConf ...
[ "l”ibaojunqd@foxmail.com“" ]
l”ibaojunqd@foxmail.com“
b8f857f95c34e62303f765ac6aef9f4aa4ad9a3e
116a1c14586fa9d53ed4110099a3405bcc57f795
/app/accounts/views.py
f889ea5e18354aefb75ce2ed871c45c0429c2229
[]
no_license
jtdaugh/YAGA-SERVER
0ddebd459d468ca0ca68ceb3d770551f9ffd593f
10fcac73424b38b4e7c3db7159e3bafb172a580c
refs/heads/master
2021-03-27T18:24:11.765311
2015-12-16T16:48:50
2015-12-16T16:48:50
43,271,387
0
0
null
null
null
null
UTF-8
Python
false
false
3,800
py
from __future__ import absolute_import, division, unicode_literals from future.builtins import ( # noqa ascii, bytes, chr, dict, filter, hex, input, int, list, map, next, object, oct, open, pow, range, round, str, super, zip ) from django.contrib import messages from django.contrib.auth import REDIRECT_FIELD_...
[ "hellysmile@gmail.com" ]
hellysmile@gmail.com
536d113c54775e5076ffe2ae132162c2da77ac0b
e81576012330e6a6024d14f3e241f88ca34b73cd
/python_code/vnev/Lib/site-packages/jdcloud_sdk/services/jmr/models/Message.py
c0f64e29aec392bcce84f82d31d571de1118ba1f
[ "MIT" ]
permissive
Ureimu/weather-robot
eba6a84147755aa83c941a306bac1a7c4e95e23e
7634195af388538a566ccea9f8a8534c5fb0f4b6
refs/heads/master
2021-01-15T07:23:42.274413
2020-03-23T02:30:19
2020-03-23T02:30:19
242,912,896
0
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 ...
[ "a1090693441@163.com" ]
a1090693441@163.com
ad6e40438286f9b20da67a29060612192ee149ff
655c56a9947680b7bde9f6a97cac7196ddc2beaf
/lgn/cg_lib/__init__.py
7de1159bf08842c61b2d254422df1f144b15fb44
[ "MIT" ]
permissive
zichunhao/lgn-autoencoder
8c15a3980dcb63afda256b1c6bb907b10db3f9bd
66620d0cf3d4eb727601c36963ef9eaf58b74a4f
refs/heads/main
2023-06-26T06:17:48.262077
2023-06-14T19:57:24
2023-06-14T19:57:24
361,547,423
8
4
MIT
2022-11-07T05:37:22
2021-04-25T21:55:50
Python
UTF-8
Python
false
false
602
py
# First need to import the CG dictionary from lgn.cg_lib.cg_dict import CGDict # First need to import the CG dictionary from lgn.cg_lib.cg_module import CGModule # Import tau calculation for cg_ops from lgn.cg_lib.cg_ops_tau import cg_product_tau # Now for your regularly scheduled imports from lgn.cg_lib.cg_ops impo...
[ "zichunh2000@gmail.com" ]
zichunh2000@gmail.com
40a12e50e02e33fccf2c1a8a3df48ec9beed81e1
7c15f211adc9e9eb9f66ccdd570c9f38dff7ea8d
/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/aio/operations/_subscription_in_credentials_operations.py
ae6dd42edbe95df6fda05bb8965b2150d7bacd22
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/autorest.python
cc4bfbf91ae11535731cad37cedd6b733edf1ebd
a00d7aaa3753ef05cb5a0d38c664a90869478d44
refs/heads/main
2023-09-03T06:58:44.246200
2023-08-31T20:11:51
2023-08-31T20:11:51
100,315,955
47
40
MIT
2023-09-14T21:00:21
2017-08-14T22:58:33
Python
UTF-8
Python
false
false
13,017
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
3d6c148e7f81c9fe0cc69c8b3f45f176dded788d
27d0ca1650a35d6b05667fbbeca5c0335f560ff5
/funcx_sdk/funcx/tests/test_fn_serialization.py
d866b63d340f205aa9986ec43c279070efbc8791
[ "Apache-2.0" ]
permissive
phylsix/funcX
4f1aaf7cf3f9ed47b56ed71dfb500d90281b7ab3
558a3cb338c1171e0442ebb0cca84ef337121c03
refs/heads/main
2023-04-17T07:22:26.858077
2021-04-26T18:06:36
2021-04-26T18:06:36
364,078,108
0
0
null
2021-05-03T22:32:04
2021-05-03T22:32:03
null
UTF-8
Python
false
false
1,473
py
import time from funcx.tests.fn_module import imported_fn def local_fn(): return True def test_imported_function(fxc, endpoint): fn_uuid = fxc.register_function(imported_fn, endpoint, description='platinfo') task_id = fxc.run(endpoint_id=endpoint, function_id=fn_uuid) print("...
[ "yadudoc1729@gmail.com" ]
yadudoc1729@gmail.com
9cce4342996a411e9956f013fa372355282adf8e
8da91c26d423bacbeee1163ac7e969904c7e4338
/pyvisdk/enums/virtual_machine_config_info_npiv_wwn_type.py
d93b0e5c6850471abe9826d5f6bef7525b710913
[]
no_license
pexip/os-python-infi-pyvisdk
5d8f3a3858cdd61fb76485574e74ae525cdc7e25
1aadea0afbc306d09f6ecb9af0e683dbbf961d20
refs/heads/master
2023-08-28T02:40:28.789786
2020-07-16T04:00:53
2020-07-16T04:00:53
10,032,240
0
1
null
null
null
null
UTF-8
Python
false
false
247
py
######################################## # Automatically generated, do not edit. ######################################## from pyvisdk.thirdparty import Enum VirtualMachineConfigInfoNpivWwnType = Enum( 'external', 'host', 'vc', )
[ "jmb@pexip.com" ]
jmb@pexip.com
0008a1dc8a2b3c16652ea46b9173aa1b9beeb923
52855d750ccd5f2a89e960a2cd03365a3daf4959
/ABC/ABC21_A.py
689515e14649d06d8f010d2f4b7499061f0ff8ad
[]
no_license
takuwaaan/Atcoder_Study
b15d4f3d15d48abb06895d5938bf8ab53fb73c08
6fd772c09c7816d147abdc50669ec2bbc1bc4a57
refs/heads/master
2021-03-10T18:56:04.416805
2020-03-30T22:36:49
2020-03-30T22:36:49
246,477,394
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
N = int(input()) print(N) for _ in range(N): print(1)
[ "takutotakuwan@gmail.com" ]
takutotakuwan@gmail.com
aa60aff83ef36c99779ac90b029736e2363ffdb9
765e4a8253ae7f8de2546a0d9121558b2b4cd354
/lib/pecker/admin.py
4a8fc7f14fda0454a58537a0fc99b3988238655f
[ "BSD-2-Clause" ]
permissive
hdknr/pecker
a4408d26bf49758345cf18e5c178b92e4653425f
3e55236ecd9ec14c5c005347da9f7cfd65f737d7
refs/heads/master
2021-01-18T16:40:06.410115
2014-02-17T03:14:04
2014-02-17T03:14:04
15,861,903
1
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
from django.contrib import admin from django.db.models import get_app,get_models from models import * for model in get_models( get_app("pecker")) : if model.__name__ in ['Link','LinkResult',]: continue admin_class = type( "%sAdmin" % model.__name__, (admin.ModelAdmin,),...
[ "gmail@hdknr.com" ]
gmail@hdknr.com
5ad36cb3403e17ba87770588b8d25f33952ae45f
d881bff8fe2a0bccd2f7bfad8435d87c526f8deb
/chatbrick_admin/set/template/__init__.py
cf023657daa7b5079fa959b0eeaa30083647f37d
[ "MIT" ]
permissive
bluehack-jhlim/cb-admin
9a168e9b04bcbcfe74cd9a533857dc95f64b986e
83392197d603d3cdc92391bc84fffe59a670fc3d
refs/heads/master
2021-05-13T15:46:48.071091
2018-12-13T06:52:18
2018-12-13T06:52:18
116,778,964
0
1
null
2018-01-09T07:02:58
2018-01-09T07:02:58
null
UTF-8
Python
false
false
286
py
from chatbrick_admin.set.template.container import Container from chatbrick_admin.set.template.facebook import FacebookBrick, FacebookBrickAction, FacebookGeneralAction from chatbrick_admin.set.template.telegram import Telegram, TelegramBrick, TelegramBrickAction, TelegramGeneralAction
[ "wow5468@naver.com" ]
wow5468@naver.com
0b4db42e180a75e723fac6fa1cce9c5cef569ce3
c67f2d0677f8870bc1d970891bbe31345ea55ce2
/zippy/lib-python/3/test/test_deque.py
648a7d3021627032bbcc6d7c6157c17c8da57e2d
[ "BSD-3-Clause" ]
permissive
securesystemslab/zippy
a5a1ecf5c688504d8d16128ce901406ffd6f32c2
ff0e84ac99442c2c55fe1d285332cfd4e185e089
refs/heads/master
2022-07-05T23:45:36.330407
2018-07-10T22:17:32
2018-07-10T22:17:32
67,824,983
324
27
null
null
null
null
UTF-8
Python
false
false
24,838
py
from collections import deque import unittest from test import support, seq_tests import gc import weakref import copy import pickle from io import StringIO import random BIG = 100000 def fail(): raise SyntaxError yield 1 class BadCmp: def __eq__(self, other): raise RuntimeError class MutateCmp:...
[ "thezhangwei@gmail.com" ]
thezhangwei@gmail.com
e40dc2f0dbe8e0b85ace4ce26487682598d8f546
90912d732e505c48c6770135f755a91c9ba2b1ef
/comments/urls.py
f36eeb64f322fd4063c594b9e3d9582869d8f182
[]
no_license
Shekharnunia/Puzzles
2519a8a29a4c62176aab204835df40c10e01907b
1abc6dcfda73c00222b8093ce2cd0cc7fc27d37c
refs/heads/master
2022-12-16T03:04:42.626695
2020-02-12T07:36:49
2020-02-12T07:36:49
163,486,550
1
0
null
2022-12-08T01:30:24
2018-12-29T07:11:18
CSS
UTF-8
Python
false
false
265
py
from django.conf.urls import url from django.contrib import admin from . import views app_name = 'comments' urlpatterns = [ url(r'^(?P<id>\d+)/$', views.comment_thread, name='thread'), url(r'^(?P<id>\d+)/delete/$', views.comment_delete, name='delete'), ]
[ "shekharnunia@gmail.com" ]
shekharnunia@gmail.com
f21700aba87f58ded630628a56b1fd5158cfcab4
527a8837c449d7fd0ccacf33cd6e6be0d6308038
/otherAnalysis/lsa.py
a74e48cf341b0d21a3101c6da2221a46642ee676
[]
no_license
nparslow/L2FrenchWritingAnalyser
c4539cf67f6885224d83890c31d95080c49fa175
6708e560d65120d1946f1d08a460ca8fe97a548f
refs/heads/master
2020-12-07T03:50:12.090153
2015-07-18T18:28:12
2015-07-18T18:28:12
39,304,412
0
0
null
null
null
null
UTF-8
Python
false
false
4,130
py
from numpy import zeros #from scipy.linalg import svd from scipy.sparse.linalg import svds as svd # for memory heavy applications use this #following needed for TFIDF from math import log from numpy import asarray, sum # re. http://www.puffinwarellc.com/index.php/news-and-articles/articles/33.html?showall=1 ...
[ "nparslow@yahoo.com.au" ]
nparslow@yahoo.com.au
ff75e6b67c1207057022c6c0d181aeebcdb08a0e
920f0fbb7064f2017ff62da372eaf79ddcc9035b
/lc_ladder/Basic_Algo/linkedlist_array/linkedlist.py
83cdaba29c2af460fd85cf46541ceee194a4fc3c
[]
no_license
JenZhen/LC
b29a1c45d8c905680c7b4ad0017516b3dca80cc4
85219de95e41551fce5af816b66643495fe51e01
refs/heads/master
2021-06-03T10:03:02.901376
2020-08-05T19:44:48
2020-08-05T19:44:48
104,683,578
3
1
null
2020-08-05T19:44:50
2017-09-24T23:30:35
Python
UTF-8
Python
false
false
1,169
py
# Definition of singly linked list node class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next # Definition for singly-linked list with a random pointer. class RandomListNode(object): def __init__(self, x): self.label = x self.next = None ...
[ "jenzhen.nyc89@yahoo.com" ]
jenzhen.nyc89@yahoo.com
9eae3b1cecbf8ceaa619778d86cc48573f43a329
74bfde17f5dd861c147f3944b2935397e92d8151
/setup.py
79ebbe2a45a963ea57295d3354c3f3a2a2a8ff9f
[ "MIT" ]
permissive
podhmo/botlang
5dd2d873ac19bd1f350995c17f2ebbae69b4d19a
b250b9e149f310e1dc38c756797f0bbd3e68cacd
refs/heads/master
2021-05-11T19:44:23.431562
2018-01-17T23:22:22
2018-01-17T23:22:22
117,886,696
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
import os import sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) try: with open(os.path.join(here, 'README.rst')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() except IOError: README = CHANGES...
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
bb779dcf80fdf846eb0fcf00975e9e9661ee294d
37e87b3d5e1ee9009f0ea0671bc0c6edf0e233b7
/116_2.py
4367d4f65ee510595df0eef89a4bae3e8c6271f4
[]
no_license
Jane11111/Leetcode2021
d9f4987792938597bf89ff72ba6bbcb4a3f9d081
a95b871578aae0103066962c33b8c0f4ec22d0f2
refs/heads/master
2023-07-14T21:29:41.196752
2021-08-23T03:28:02
2021-08-23T03:28:02
344,804,297
2
0
null
null
null
null
UTF-8
Python
false
false
741
py
# -*- coding: utf-8 -*- # @Time : 2021-03-12 15:42 # @Author : zxl # @FileName: 116_2.py # Definition for a Node. class Node(object): def __init__(self, val=0, left=None, right=None, next=None): self.val = val self.left = left self.right = right self.next = next class Solutio...
[ "791057615@qq.com" ]
791057615@qq.com
e288b21c078f4834a4a1a0d6e92c91afb6143a0c
b4d336b131ae1c7eac8c1439699ba71ced12fc77
/src/prefect/tasks/prefect/flow_run_rename.py
254bc3ae63af3ceab69f7d1048d6fd933dfdec4d
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
andywaugh/prefect
63d2d33f1b54eb02cf32a0325928ed623707195a
a75eb0a49076b31c7ec8cb1a0cdee70493f60722
refs/heads/master
2023-01-01T19:54:32.506595
2020-10-18T13:40:55
2020-10-18T13:40:55
302,317,315
0
0
Apache-2.0
2020-10-18T13:40:56
2020-10-08T11:23:51
Python
UTF-8
Python
false
false
1,725
py
from typing import Any from prefect import Task from prefect.client import Client from prefect.utilities.tasks import defaults_from_attrs class RenameFlowRunTask(Task): """ Task used to rename a running flow. Args: - flow_run_id (str, optional): The ID of the flow run to rename. - flow_r...
[ "maxdelgiudice@gmail.com" ]
maxdelgiudice@gmail.com
02ea6b12ccf55db9f7633c5d59898efaaa99b22d
dd4d1a61ec680a86d4b569490bf2a898ea0d7557
/appengine/findit/handlers/flake/test/check_flake_test.py
ba533284278ad8d9226c4334d8b44de1aab36a27
[ "BSD-3-Clause" ]
permissive
mcgreevy/chromium-infra
f1a68914b47bcbe3cd8a424f43741dd74fedddf4
09064105713603f7bf75c772e8354800a1bfa256
refs/heads/master
2022-10-29T23:21:46.894543
2017-05-16T06:22:50
2017-05-16T06:22:50
91,423,078
1
1
BSD-3-Clause
2022-10-01T18:48:03
2017-05-16T06:23:34
Python
UTF-8
Python
false
false
19,817
py
# Copyright 2016 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. import datetime import mock import re import webapp2 import webtest from google.appengine.api import users from handlers.flake import check_flake from han...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
77edcb4f2c61e5ad0e0784f3edb229b1a4c77817
9788df18d5adaa469a0cb51f47309cd7401201e5
/alisdk/top/api/rest/JuCitygroupGetRequest.py
fe0efa4d3f5f06e92f18a0c63a812153d4b15c0a
[]
no_license
sevennothing/aliyunTestPrj
cf690ce4765497f1b16359b82ef64f1ef992713c
1b3e883d32c759e03fe5053c50e9a973f59bbffc
refs/heads/master
2021-01-17T03:15:59.082544
2015-03-11T14:16:58
2015-03-11T14:16:58
32,001,149
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
''' Created by auto_sdk on 2014-11-20 12:53:43 ''' from top.api.base import RestApi class JuCitygroupGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.city = None self.fields = None def getapiname(self): return 'taobao.ju.citygroup...
[ "licj@out.lrserver" ]
licj@out.lrserver
6d643ea374e5791854308f1ffa541a740db7b844
b24e28697bad440baa9670c97b504b73b12a7930
/config.py
1168eda8bed8553386ebebb8cbd794f8f8100329
[]
no_license
jxz542189/zmq_annotation
1e1c724bbc4f737ff8673cb8a9b5e2b0083ee2d6
7fe88a7e674e33c8944e171173f05ae24733b4af
refs/heads/master
2020-04-15T22:16:52.025920
2019-01-14T06:05:11
2019-01-14T06:05:11
165,066,768
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
# coding:utf-8 import os parent = os.path.dirname(os.path.realpath(__file__)).replace('\\', '/') LTP_DATA_DIR = parent + '/ltp_data' log_info_path = parent + '/log/info/' if not os.path.exists(log_info_path): os.makedirs(log_info_path) log_err_path = parent + '/log/err/' if not os.path.exists(log_err_path): ...
[ "1318394945@qq.com" ]
1318394945@qq.com
265705528a38d72239a3da3f8360c660acccb68d
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2021_07_01_preview/aio/operations/_tenant_level_access_review_instance_contacted_reviewers_operations.py
18f37c2fc82c693717a465530e6dcd155d346558
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
6,338
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" ]
test-repo-billy.noreply@github.com
73f9587f43676fceb8b2cf4526083a105c0c0316
52695f923eae658db6bb94097bd91959a0923842
/RollGames/join_timer.py
573e10670abc3cc195ca8f4ec340980d68f999b7
[]
no_license
parwe/bot
fd8753b1d57d5024a4b187530f788f86693ed33c
871cd637c5167f12fc5ac822c2e5137323c70839
refs/heads/master
2020-04-05T13:12:55.280125
2018-10-08T05:22:24
2018-10-08T05:22:24
156,892,237
0
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
from Core.join_timer import JoinTimer class RollGameJoinTimer(JoinTimer): def __init__(self, bot, game): super().__init__(bot, game) async def _say_setup_message(self): host = self.game.host_name bet = self.game.bet game_title = self.game.title await self.bot.say(f"{h...
[ "nepharus@gmail.com" ]
nepharus@gmail.com
cb911c5f9ec87fcc9c953a3b7a3f69124bace82b
2625540c373a3d7ebe41433c9ef6e30cdd3afea4
/com_luodichen_tools/com_luodichen_tools/settings.py
d9d107603ed0461f1a50b984b578de3420e7f911
[]
no_license
L1ng/com.luodichen.tools
b43d0e57f72d03e876653b57513aed764e5bfa75
0b81674b49b473ab6e2504b3ae6c6bf3f254ec53
refs/heads/master
2021-01-21T02:50:33.602879
2015-11-27T15:23:14
2015-11-27T15:23:14
46,123,158
0
0
null
2015-11-13T13:21:40
2015-11-13T13:21:40
null
UTF-8
Python
false
false
2,793
py
""" Django settings for com_luodichen_tools project. Generated by 'django-admin startproject' using Django 1.8.5. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ ...
[ "me@luodichen.com" ]
me@luodichen.com
5b7f8813e6a1526ce0024c153d11eeccb2833849
0ff8c694a728c043691f40948528b673261ec850
/sum_match.py
264b2d1ca517dd2f62be7b6e5be02ed83c9db6d1
[]
no_license
hemal507/python
bd2427a449faa1ddc84d1597b558731666062d2d
d37e0549d4e5f4298f5b628fe95c70437561547d
refs/heads/master
2020-03-21T17:58:25.832868
2019-11-08T18:30:13
2019-11-08T18:30:13
138,865,080
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
def sum_match(a,total) : for i in a : for j in a[1:] : if i+j == total : return(a.index(i),a.index(j)) print(sum_match([2,7,11,15],9) ) print(sum_match([4,5,3,2,1,6,7],12))
[ "noreply@github.com" ]
hemal507.noreply@github.com
c7ac75b515c74242675398b212aebaad44bf88cc
fd0b8ba37235120a71a86519f56693c203188cc9
/Atle/interface/framework/test/test_suit/Alte_one/run_three_one.py
ea82f7da60b2d8c222db6049724c3100fbf2cb4f
[]
no_license
shiqi0128/My_scripts
cc6e2e0c23a08344ddfb967061eb1629f6804391
0ebaae335de2f1633e31c4fc3f60e556220a8bfb
refs/heads/master
2021-04-08T00:24:59.918924
2020-06-11T03:37:12
2020-06-11T03:37:12
248,652,267
0
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
#————————此文件为3.1所有砍价抽奖的测试用例-------- import unittest from Atle.interface.framework.base.bargain import Bargain from Atle.interface.framework.base.Trophy import Trophy ba = Bargain() tr = Trophy() class Activity(unittest.TestCase): """定义一个双十一砍价、抽奖的活动执行类""" # 砍价模块 # def test_01_mart_details(self): # ""...
[ "1941816343@qq.com" ]
1941816343@qq.com
9582b16d401215d091ed87ce6298a87afbdd108d
9f59a910a6512fe7dc2d97c1ea4866c0def18ff4
/utils/cfgs_bdb/pydb/btdb.py
1db9397e450797b36dd5a7727a36ac15fd714c40
[ "MIT" ]
permissive
YuanYuLin/PackMan_IOPC
ec3b0c97499275744ae50ef5c6315042a2167fd8
51333e1635c55478477c7ad5536e94ebd6976525
refs/heads/master
2021-01-19T04:38:51.408655
2020-03-31T09:11:04
2020-03-31T09:11:04
87,382,334
0
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
#!/usr/bin/python -Wall import bsddb def set_uint32(db, key, val): val_str = "%d" % (val) tmp_str = "%6s%04d%s" % ("UINT32", len(val_str), val_str) db[key] = tmp_str def set_boolean(db, key, val): val_str = "%d" % (val) tmp_str = "%6s%04d%s" % ("_BOOL_", len(val_str), val_str) db[key] = tmp_s...
[ "yuanyu.lin@gmail.com" ]
yuanyu.lin@gmail.com
7d8e348d9853b7ac79bf50784b1c2c53dfb2cded
7e419f7046386c20b9a6ed121c377fbcc8ff6885
/topics/arithmetic.py
67579bfc929471ad17d34f60ffc897e9c10f28fb
[]
no_license
ralusek/manim
47ebabb4d42accdda42a0da32ccdef6b129205b8
d53412d738e3b9d306b7d7d2ad39cac702ff3d18
refs/heads/master
2021-04-29T00:47:40.990006
2018-02-16T20:16:59
2018-02-16T20:16:59
121,837,012
1
0
null
2018-02-17T07:44:48
2018-02-17T07:44:47
null
UTF-8
Python
false
false
3,522
py
import numpy as np import itertools as it from helpers import * from scene import Scene from animation import Animation from mobject.tex_mobject import TexMobject class RearrangeEquation(Scene): def construct( self, start_terms, end_terms, index_map, path_arc = np.pi, ...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
f7a8e4c8905650d77f0f6a9c986d63e8caa81a71
2e74c7339c63385172629eaa84680a85a4731ee9
/mort_hiv/02_adult_mortality/45q15/05_fit_gpr_for_holdouts.py
3e06ba9bb97b777441902a117556b8272b04a148
[]
no_license
zhusui/ihme-modeling
04545182d0359adacd22984cb11c584c86e889c2
dfd2fe2a23bd4a0799b49881cb9785f5c0512db3
refs/heads/master
2021-01-20T12:30:52.254363
2016-10-11T00:33:36
2016-10-11T00:33:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,660
py
''' Description: Runs GPR on training data and calculates loss functions for testing data ''' import pylab as pl import numpy as np import os import sys import math import getpass user = getpass.getuser() # user = sys.argv[1] os.chdir('strPath' % (user)) # os.chdir('C:/Users/gngu/Documents/Git/adult-mortality/45q15')...
[ "nsidles@uw.edu" ]
nsidles@uw.edu
465a7883dacab92bd263d9eb4a60a2468a2b2329
cb0bde8ab641d5e411e91477728ade090836b729
/sdk/python/pulumi_azure_nextgen/automation/v20200113preview/automation_account.py
3803b441aa0831cabf655bf9aee971ff023e1d90
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
rchamorro/pulumi-azure-nextgen
7debd444063f0f9810ac0ee5fe11e7e8913b4886
09987cba1c466657730a23f5083aa62ec3dc8247
refs/heads/master
2023-03-03T09:32:59.634185
2021-02-10T16:13:24
2021-02-10T16:13:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,211
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
rchamorro.noreply@github.com
c1bfa7e4597ef7f88bb497683c2310c7565f8038
07c99a57d8fc275e149ca2a315c335a5fd532d0a
/src/api/apps/main/views.py
adbc63dc7aaff389e0e0fb1dc7275d7104a402d4
[]
no_license
mkurnikov/minichan-ng2
cfb73560493d60bb06d36f8bf6ee8515679fd015
ac67e61dd46a4d37864c258fcad9865dff251004
refs/heads/master
2020-12-25T06:02:48.458147
2016-07-27T13:20:44
2016-07-27T13:20:44
64,310,163
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from django.conf import settings from rest_framework import status from rest_framework.request import Request from rest_framework.response import Response from rest_framework.views import APIView class HelloWorldView(APIView): def get(self, request: Request) -> Response: return Response(status=status.HTTP...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
8b5dab79b39f99b2c7add0d79c4c3da7bb22976e
ee2968930bcad2e0f27f35bc4b9c54b778f9eee7
/jsoncsv/dumptool.py
5ca322f8b0533fec8b42b563219ed1585c748d10
[ "Apache-2.0" ]
permissive
liujingsapphier/jsoncsv
336d59b9e8d390ab2b3432cf6cb7769f649e8849
6d03146f2f46130ae77f2fcb2a86bdfc60f56e0a
refs/heads/master
2020-06-19T10:21:33.561735
2019-07-04T15:08:03
2019-07-04T15:08:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,888
py
# coding=utf-8 # author@alingse # 2015.10.09 import json import xlwt from jsoncsv import PY3 class Dump(object): def __init__(self, fin, fout, **kwargs): self.fin = fin self.fout = fout self.initialize(**kwargs) def initialize(self, **kwargs): pass def patch(self, valu...
[ "alingse@foxmail.com" ]
alingse@foxmail.com
7ffcb3c11f3ffe453ce17cf578ecd8482e99a0e4
3a8915b0cb3c9d3f034dc991fd148a44e52c4b84
/Proveedores_Frame/interfaz_guardar_proveedores_conexion.py
096eaac5e9b9f970ad1f9d4e73b6b8e0ce02e8cf
[]
no_license
emilianoNM/ProyectoFinal
186c1aa0e55232b873f9eebcb5746431360a09eb
c6be564d28b33ecda2636ba022004088ece502e4
refs/heads/master
2020-03-07T22:38:54.256388
2018-06-02T21:59:15
2018-06-02T21:59:15
127,759,823
0
4
null
2018-06-02T19:34:55
2018-04-02T13:27:45
Python
UTF-8
Python
false
false
4,682
py
import proveedores import tkinter from tkinter import * class ventanaguardar(): def __init__(self,master): self.numero_p=StringVar() self.nombre_p=StringVar() self.logo=StringVar() self.razon_social=StringVar() self.telefono_p=StringVar() self.correo...
[ "noreply@github.com" ]
emilianoNM.noreply@github.com
8f2a7c3a4e6addeec1b5ed58a852b41d622b4f89
dabf5bb8e31ea96fa539991c986cb3a6f50b1c7f
/mojo/mojo/wsgi.py
43d48f30f5a26d29948c51cb2e04edd513929cdb
[]
no_license
mzakany23/django-boxoffice-mojo
54ca3abc2d84ea6e1c22b2e6ea91dfd4ef3e59d4
30c9f25a0dabc400b052681aa344663bdf60d608
refs/heads/master
2021-01-10T06:58:22.191849
2016-08-31T20:24:01
2016-08-31T20:24:01
53,437,524
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for mojo 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.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mojo.settings") from django.core.wsgi im...
[ "mzakany@gmail.com" ]
mzakany@gmail.com
d6ec1eb5a48f2012c7ab032bf9d3dfd72533093f
2e1d4accc82624346a8289f9714900478b0768f1
/src/rabbitmq_test/asyn_consumer.py
8381ac40067190981e9ee7f8c4cf2bc90ebe6b15
[ "MIT" ]
permissive
justrypython/utils
2bd1759508369d7e24972b0e17ae29568469e06c
bb02520599b7faa1d9bae6bc4a718d27404014cb
refs/heads/master
2021-05-05T10:49:21.343208
2019-02-24T03:38:25
2019-02-24T03:38:25
118,086,466
0
1
null
null
null
null
UTF-8
Python
false
false
13,523
py
#! /usr/bin/env python # -*- encoding: utf-8 -*- import logging import pika LOG_FORMAT = ('%(levelname) -10s %(asctime)s %(name) -30s %(funcName) ' '-35s %(lineno) -5d: %(message)s') LOGGER = logging.getLogger(__name__) class AsyncConsumer(object): """This is an example consumer that will handle u...
[ "kerzhao@163.com" ]
kerzhao@163.com
143286f047782d8313a6f2e3f34d2fd3b8f0cd90
2a609c0cf4b6292060ae8c82ad175f01cbe2d905
/features/steps/section.py
496e0f17f42b6c3523c303db6145fe1a3178521a
[ "MIT" ]
permissive
fengdasuk19/python-docx
94c99ac66bc0afbec4b0c20f9907c61eb022770a
0ae811c23e2beddf7e85df154cca93c8186eb1d9
refs/heads/master
2021-01-03T19:05:22.600041
2020-02-13T08:18:26
2020-02-13T08:18:26
240,201,803
6
0
MIT
2020-02-13T07:29:46
2020-02-13T07:29:46
null
UTF-8
Python
false
false
5,910
py
# encoding: utf-8 """ Step implementations for section-related features """ from __future__ import absolute_import, print_function, unicode_literals from behave import given, then, when from docx import Document from docx.enum.section import WD_ORIENT, WD_SECTION from docx.section import Section from docx.shared im...
[ "scanny@cisco.com" ]
scanny@cisco.com
f18c26a53b6560caf145925d873d04ed9ae49554
f93f03dac8e7340f35ddb8ac75e9fdbb19b935a8
/toontown/toon/DistributedToonUD.py
49a5ab822b271257d75f2ea9672a3f905e24920e
[]
no_license
toontown-classic/toontown-otp-ai
5d07f26658ca23e52c65254f23a70cbc5936ae6d
b0be971b4689f811f6abacb7af33242b06d8f9be
refs/heads/develop
2022-03-10T10:42:37.203938
2022-03-08T05:56:52
2022-03-08T05:56:52
158,168,681
5
5
null
2022-02-26T19:32:31
2018-11-19T05:50:36
Python
UTF-8
Python
false
false
10,205
py
from direct.directnotify import DirectNotifyGlobal from direct.distributed.DistributedObjectUD import DistributedObjectUD class DistributedToonUD(DistributedObjectUD): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedToonUD") def setDNAString(self, todo0): pass def setGM(self, tod...
[ "anythingtechpro@gmail.com" ]
anythingtechpro@gmail.com
372fb0cf235bf36e5d720426d455989483a9736d
2140de1902273b8f1fa3b482dc232cab4123f949
/gcsl/envs/mujoco/ant_onehand.py
2eb1c115b6f1a897e3994905029481beb0382b14
[]
no_license
fredericgo/ant_gcsl
b54d591d6531d49d31c0c1167dfcf7b3e9aa0793
0248b158847431f16ce24748e6eb3eef7fd629f5
refs/heads/main
2023-07-29T14:04:45.760455
2021-09-16T04:02:35
2021-09-16T04:02:35
396,654,249
0
0
null
null
null
null
UTF-8
Python
false
false
1,448
py
import numpy as np from gym import utils from gym.envs.mujoco import mujoco_env from pathlib import Path DEFAULT_CAMERA_CONFIG = { "distance": 4.0, } xml_file = str(Path(__file__).resolve().parent / "assets" / "ant_onehand.xml") class Env(mujoco_env.MujocoEnv, utils.EzPickle): def __init__(self): muj...
[ "fredericstgo@gmail.com" ]
fredericstgo@gmail.com
e23267bc37b39df2bf52c4fbc857365dd28ee622
fb1e852da0a026fb59c8cb24aeb40e62005501f1
/kosmos-2/fairseq/examples/MMPT/mmpt/utils/__init__.py
2429ee3757353e768f71b27d129eb3ca3bcbec73
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-free-unknown", "Apache-2.0", "BSD-3-Clause", "BSD-2-Clause", "CC-BY-NC-4.0" ]
permissive
microsoft/unilm
134aa44867c5ed36222220d3f4fd9616d02db573
b60c741f746877293bb85eed6806736fc8fa0ffd
refs/heads/master
2023-08-31T04:09:05.779071
2023-08-29T14:07:57
2023-08-29T14:07:57
198,350,484
15,313
2,192
MIT
2023-08-19T11:33:20
2019-07-23T04:15:28
Python
UTF-8
Python
false
false
1,886
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import random import numpy as np import torch from .shardedtensor import * from .load_config import * def set_seed(seed=43211): random.s...
[ "1083127130@qq.com" ]
1083127130@qq.com
972c706fdea8c489c525efee4795ec9638757a08
60b85430f588f60899228dd0d179d44c0d9c96e8
/profesiones/forms.py
af4c120718d9b636457cc145dccb5596b6882ac2
[]
no_license
vlmarcelo/Sistema_Ugel
c69afa5d333fd528fa8e8635e801d9427ecd9851
e69e5678a18114e4a8972a5f05c1d1b4f187d282
refs/heads/master
2020-04-19T04:36:57.224195
2016-08-23T05:32:15
2016-08-23T05:32:15
66,334,215
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
# -*- encoding: utf-8 -*- from django import forms from .models import Profesion class ProfesionModelForm(forms.ModelForm): class Meta: model = Profesion fields = ['nombre'] widgets = { 'nombre': forms.TextInput(attrs={'class':'Input-Text'}), }
[ "victor.luis.marcelo@gmail.com" ]
victor.luis.marcelo@gmail.com
215396c725b366311bef3042051324bb174138fb
ff9be20d8ec3eb0e4a35d13c1b95b25d81221b75
/orthos/plugins/plugin1.py
292e8f2d6206b1d00684a67df6aa926fd3994c09
[]
no_license
DerThorsten/orthos
340ec785c053f8f3423117e6c1f7aee340fb3d77
529454df365ccca93162e2cc2ee2cbf1c3688e42
refs/heads/master
2021-01-17T06:16:12.947418
2016-07-21T11:45:47
2016-07-21T11:45:47
44,521,841
0
2
null
2015-11-27T15:07:36
2015-10-19T08:43:37
Python
UTF-8
Python
false
false
271
py
from yapsy.IPlugin import IPlugin class MyPlugin(IPlugin): def activate(self): super(MyPlugin, self).activate() print "I've been activated!" def deactivate(self): super(MyPlugin, self).deactivate() print "I've been deactivated!"
[ "thorsten.beier@iwr.uni-heidelberg.de" ]
thorsten.beier@iwr.uni-heidelberg.de
0f827f494b7fe16c7b7d0f4ededdd4e182763158
55a273347cb103fe2b2704cb9653956956d0dd34
/code/tmp_rtrip/encodings/cp1026.py
5dfe916c4c42ac53f03235be0fadc4d97db7fd36
[ "MIT" ]
permissive
emilyemorehouse/ast-and-me
4af1bc74fc967ea69ac1aed92664f6428acabe6a
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
refs/heads/master
2022-11-18T03:50:36.505882
2018-05-12T17:53:44
2018-05-12T17:53:44
115,035,148
25
1
MIT
2022-11-04T11:36:43
2017-12-21T18:27:19
Python
UTF-8
Python
false
false
1,765
py
""" Python Character Mapping Codec cp1026 generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP1026.TXT' with gencodec.py. """ import codecs class Codec(codecs.Codec): def encode(self, input, errors='strict'): return codecs.charmap_encode(input, errors, encoding_table) def decode(self, input, errors='s...
[ "emily@cuttlesoft.com" ]
emily@cuttlesoft.com
a48204b55ea766e5b43da74f5eac90b280a0f5ee
52b5773617a1b972a905de4d692540d26ff74926
/.history/cylicRot_20200714234554.py
ed5065ff93a89ec15e94083d3f0a9eabef8c6846
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
# given an array rotate it k times to the right def rotate(arr,k): # first I'd rotate the array once # so how do we rotate the array # we move the last element to the firs place and # the rest follow suit # [1,2,3,4] # # [4,1,2,3] newArr = [] for i in range(len(arr)): k ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com