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
376168fe008d4a2ec6337a3ab692cb9eca743790
296a60e4ca32f326dde269fd6eec5a5e0c8f743c
/site_app/migrations/0004_post.py
9998a41892458ea6a4abda1fa20d0d3a08ba1e7a
[]
no_license
Najafova/company_introduction_landingpage1
758790ae4a1565f65b2714db000c2dac7c3128b1
bb3d212a2057605f90fa5881804acaecfaf61788
refs/heads/master
2022-12-01T09:46:36.251346
2020-03-19T14:33:11
2020-03-19T14:33:11
248,525,225
0
0
null
2022-11-22T03:38:32
2020-03-19T14:32:56
JavaScript
UTF-8
Python
false
false
845
py
# Generated by Django 2.1.7 on 2019-02-18 07:44 import ckeditor.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('site_app', '0003_team_image'), ] operations = [ migrations.CreateModel( name='Post', fields=[...
[ "gulnarnecefova1996@gmail.com" ]
gulnarnecefova1996@gmail.com
3f1f6c50edaa6b7434171b31a68951df9f9c29e8
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/django/conf/locale/th/formats.py
d7394eb69c315129df90d1aeeee0ca61a9a79231
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
1,072
py
# This file is distributed under the same license as the Django package. # # The *_FORMAT strings use the Django date format syntax, # see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date DATE_FORMAT = 'j F Y' TIME_FORMAT = 'G:i' DATETIME_FORMAT = 'j F Y, G:i' YEAR_MONTH_FORMAT = 'F Y' MONTH_DAY_FORMA...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
9ed93ded054e5409a3857b0612a1e109381b47cb
771fc415b752721b89d418a510eb3e6a447a075c
/sitl_config/usv/vrx_gazebo/nodes/quat2rpy.py
59a0a59de70be5baa82f09ba62ad55eae7cc6657
[ "MIT" ]
permissive
robin-shaun/XTDrone
ebf8948ed44bf8fc796263a18aef8a985ac00e12
6ee0a3033b5eed8fcfddc9b3bfee7a4fb26c79db
refs/heads/master
2023-09-02T10:49:03.888060
2023-07-16T13:02:07
2023-07-16T13:02:07
248,799,809
815
182
null
2020-09-17T12:50:46
2020-03-20T16:16:52
Python
UTF-8
Python
false
false
3,454
py
#!/usr/bin/env python ''' Node to convert from quaternions to rpy in various ROS messages ''' import rospy import tf from geometry_msgs.msg import Vector3 from geometry_msgs.msg import Pose from geometry_msgs.msg import PoseArray from sensor_msgs.msg import Imu from gazebo_msgs.msg import ModelStates from nav_msgs.msg...
[ "robin_shaun@foxmail.com" ]
robin_shaun@foxmail.com
199ccf442b1d9f93404fd9f73e43ceb2a301511c
e2b134234cf37a6d2ac18289d96daeec8388d479
/srvres/__init__.py
346eef6e77ebe70eae0f8976feade5314994fdd2
[ "MIT" ]
permissive
MineRobber9000/srvres
d8f18fbeceedda0562efe8586330be84b14ba054
ae006c910c9cf32952129a2de92765b973400993
refs/heads/master
2023-05-30T18:06:15.537464
2021-06-07T09:43:15
2021-06-07T09:43:15
374,605,974
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
from srvres.resolver import SRVResolver
[ "khuxkm@ttm.sh" ]
khuxkm@ttm.sh
9b6478662fe7153eccd5d4eb415af97ac57aec2b
f674baa2f4ca0ac0ab856bd2ae3df6317278faf8
/message/migrations/0001_initial.py
d07d4ae40786a92748a0dcb91691844b265dca88
[]
no_license
youichiro/nutfes-staff-app
3d6e869cbc3f35c78f7ef1230fae3e075de4d445
f3aed87b0fc27f99591f135aa2b73f54029c5560
refs/heads/master
2020-03-26T18:48:54.117252
2018-09-16T03:06:38
2018-09-16T03:06:38
145,232,347
0
0
null
null
null
null
UTF-8
Python
false
false
1,681
py
# Generated by Django 2.0.7 on 2018-08-25 09:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "cinnamon416@gmail.com" ]
cinnamon416@gmail.com
6d5cfbd9dfb220db9c0d966b0284b9e5bddfc680
a5c4ea16042a8078e360c32636c00e3163ac99a8
/ImagenetBundle/chapter09-squeezenet/pyimagesearch/nn/mxconv/mxsqueezenet.py
d176140b5694953ac7b3adf83c600d3e497b6c13
[]
no_license
lykhahaha/Mine
3b74571b116f72ee17721038ca4c58796610cedd
1439e7b161a7cd612b0d6fa4403b4c8c61648060
refs/heads/master
2020-07-15T05:16:13.808047
2019-06-01T07:30:01
2019-06-01T07:30:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,000
py
imprt mxnet as mx class MxSqueezeNet: @staticmethod def squeeze(data, num_filter): # the first part of FIRE module consists of a number of 1x1 filter squuezes conv_1x1 = mx.sym.Convolution(data=data, kernel=(1, 1), num_filter=num_filter) act_1x1 = mx.sym.LeakyReLU(data=conv_1x1, act_typ...
[ "ITITIU15033@student.hcmiu.edu.vn" ]
ITITIU15033@student.hcmiu.edu.vn
1e38e86a6fe23e2fdf32b69d62392265587fe770
e55480007fde8acea46fe8eeb3ee7193c25ba113
/tests/test_ds/test_array_queue.py
8d7bfd6083cf5899b1b3906928cf2765f343ec77
[]
no_license
Annihilation7/Ds-and-Al
80301bf543ec2eb4b3a9810f5fc25b0386847fd3
a0bc5f5ef4a92c0e7a736dcff77df61d46b57409
refs/heads/master
2020-09-24T05:04:41.250051
2020-02-15T10:31:10
2020-02-15T10:31:10
225,669,366
1
0
null
null
null
null
UTF-8
Python
false
false
525
py
import unittest from src.ds.array_queue import ArrayQueue class Test_ArrayQueue(unittest.TestCase): def setUp(self) -> None: self.processer = ArrayQueue() def test_all(self): elems = [i for i in range(10)] for index, elem in enumerate(elems): if index != 0 and index % 3 =...
[ "763366463@qq.com" ]
763366463@qq.com
9e623f48c4ded2745ca63c8797f9d295299357eb
c05357142b9f112d401a77f9610079be3500675d
/danceschool/core/cms_apps.py
2f38fcd1bd17a22fd9ef29cfae7349cd05395ef0
[ "BSD-3-Clause" ]
permissive
NorthIsUp/django-danceschool
b3df9a9373c08e51fcaa88751e325b6423f36bac
71661830e87e45a3df949b026f446c481c8e8415
refs/heads/master
2021-01-02T22:42:17.608615
2017-08-04T17:27:37
2017-08-04T17:27:37
99,373,397
1
0
null
2017-08-04T19:21:50
2017-08-04T19:21:50
null
UTF-8
Python
false
false
601
py
from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool from django.utils.translation import ugettext_lazy as _ class RegistrationApphook(CMSApp): name = _("Registration Apphook") def get_urls(self, page=None, language=None, **kwargs): return ["danceschool.core.urls_registr...
[ "lee.c.tucker@gmail.com" ]
lee.c.tucker@gmail.com
e7f97d55c16386e8fb5a231694dc710e02577ecf
68528d13d49029074ad4a312c8c16c585f755914
/scripts/average_filter.py
8d3e8dc0e8ee6af46051aae803dbf24caff97490
[ "MIT" ]
permissive
ShotaAk/pimouse_controller
8132b3d95d6387aa5fae98b60d205f3179eaa62a
a7bbbd7109e582245cab0eaa017246fd44104474
refs/heads/master
2020-03-19T04:54:40.153634
2018-06-03T12:37:47
2018-06-03T12:37:47
135,881,207
1
0
null
null
null
null
UTF-8
Python
false
false
865
py
#!/usr/bin/env python #encoding: utf8 import numpy as np import math # 移動平均フィルタ # 平均値を計算するための個数は引数sizeで指定する class AverageFilter(): def __init__(self, size): if size <= 0: size = 1 self._buffer = np.zeros(size, dtype=np.float32) self._buffer_size = size self._current_ind...
[ "macakasit@gmail.com" ]
macakasit@gmail.com
e6502be55f11f703cab1033ac7cf94a0df500f3c
ab97407d4f3c91142f2bed8e5c5415fbc9be8ac6
/python/Add Two Numbers.py
62baca112887e5abe3a9077ca8d65e68032a533c
[]
no_license
Lendfating/LeetCode
d328c68578d10d6cdba0c4dcb3359ddf085546e1
4cc492e04a7003839f07df93070fa9c19726a1c5
refs/heads/master
2020-12-30T09:26:20.461654
2015-02-01T08:41:46
2015-02-01T08:41:46
26,170,626
1
0
null
null
null
null
UTF-8
Python
false
false
1,625
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ # soluction """ # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: # @return a ListNode def addTwoNumbers(self, l1, l2): if l1 is None: return l2 ...
[ "lizhen19900409@126.com" ]
lizhen19900409@126.com
c119089df301b537c5f9324aa655dd8ff843e348
08db28fa3836c36433aa105883a762396d4883c6
/spider/learning/day_04/07_requests_get.py
67509a6a7a53277ba40f23333df8b8ff888dea59
[]
no_license
xieyipeng/FaceRecognition
1127aaff0dd121319a8652abcfe8a59a7beaaf43
dede5b181d6b70b87ccf00052df8056a912eff0f
refs/heads/master
2022-09-19T07:02:33.624410
2020-06-02T03:03:58
2020-06-02T03:03:58
246,464,586
2
0
null
null
null
null
UTF-8
Python
false
false
635
py
import requests # 参数自动转译 # url = 'https://www.baidu.com/s?ie=UTF-8&wd=美女' url = 'http://www.baidu.com/s' params = { "wd": "美女", "ie": "utf-8" } headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36' } # response = requ...
[ "3239202719@qq.com" ]
3239202719@qq.com
53c144744fd35855616f66ff8a7662edfe04d507
ec126ba7180f687d310a56f100d38f717ac1702a
/calc final.py
de96e14d474516de570ed2ef6a5efd68bdf5558d
[]
no_license
Sahil4UI/PythonJan3-4AfternoonRegular2021
0cb0f14b964125510f253a38a1b9af30024e6e68
36f83d326489c28841d2e197eb840579bc64411f
refs/heads/main
2023-03-04T21:31:56.407760
2021-02-17T10:26:51
2021-02-17T10:26:51
327,277,855
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
def Calc(x,y,opr): return eval(x+opr+y) a = (input("Enter first Number : ")) b =(input("Enter second Number : ")) choice = (input("enter operation you wanna perform : ")) res = Calc(a,b,choice) print(res)
[ "noreply@github.com" ]
Sahil4UI.noreply@github.com
ad2f3075e13d53f508a2cae75716305a2f71c736
9e5452e9a8079125d2f89aedca7ca5b675171fee
/src/cargos/edible_oil.py
811d51f8f88240b59b1455c6d220d6ae97149448
[]
no_license
RadarCZ/firs
c16f8b2faf3c770c873bab948adc0bd850156dd5
da1d614c0a92b91978ff212015ed9d00c9f37607
refs/heads/master
2023-08-13T09:05:32.939857
2021-09-24T18:10:28
2021-09-24T18:10:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
from cargo import Cargo cargo = Cargo( id="edible_oil", type_name="string(STR_CARGO_NAME_EDIBLE_OIL)", unit_name="string(STR_CARGO_NAME_EDIBLE_OIL)", type_abbreviation="string(STR_CID_EDIBLE_OIL)", sprite="NEW_CARGO_SPRITE", weight="1.0", is_freight="1", cargo_classes="bitmask(CC_PIECE_...
[ "andy@teamrubber.com" ]
andy@teamrubber.com
635d68f5ec22d6be70e09af9a059a4673c87a2b6
63b0fed007d152fe5e96640b844081c07ca20a11
/ABC/ABC001~ABC099/ABC062/a.py
b0e83e1c338410207e43b30673b420f1ce8d2f2d
[]
no_license
Nikkuniku/AtcoderProgramming
8ff54541c8e65d0c93ce42f3a98aec061adf2f05
fbaf7b40084c52e35c803b6b03346f2a06fb5367
refs/heads/master
2023-08-21T10:20:43.520468
2023-08-12T09:53:07
2023-08-12T09:53:07
254,373,698
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
x, y = map(int, input().split()) g = [-1, 0, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0] ans = 'No' if g[x] == g[y]: ans = 'Yes' print(ans)
[ "ymdysk911@gmail.com" ]
ymdysk911@gmail.com
266edd864291ce9f0e8dd6c6dbe2b32c284924c9
fcc63d65284593a9ad45e28dd8c49445aa4a8d30
/manage.py
08f78aa46edb9f464700090ac1a4214dc028624c
[]
no_license
Hardworking-tester/API_SAMPLE
0b33a2ee52e4d316775a09c9c897275b26e027c9
867f0b289a01fea72081fd74fbf24b2edcfe1d2d
refs/heads/master
2021-01-23T12:32:36.585842
2017-06-23T02:31:39
2017-06-23T02:31:39
93,167,406
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
# encoding:utf-8 # author:wwg from app import create_app,db from flask_script import Manager, Shell,Server from app.models import FunctionModelsDb from flask_migrate import Migrate,MigrateCommand app = create_app() manager = Manager(app) manager.add_command("runserver", Server(use_debugger=True)) # migrate=Migrate(app,...
[ "373391120@qq.com" ]
373391120@qq.com
86cfcd2cb4cf1f59e0ea551e9420e1a9e389eaf1
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/djangoapps/student/signals/receivers.py
6af93ee1068cae5f32c12f1ee11ca6af02f5bfa3
[ "MIT", "AGPL-3.0-only", "AGPL-3.0-or-later" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
3,432
py
""" Signal receivers for the "student" application. """ # pylint: disable=unused-argument from django.conf import settings from django.contrib.auth import get_user_model from django.db import IntegrityError from django.db.models.signals import post_save, pre_save from django.dispatch import receiver from edx_name_aff...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
0b9fc00ced102d9e7d221b9e3f42f3e11458e8d5
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/GluGluToHToTauTau_M-95_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/PAT_CMG_V5_16_0_1377467473/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_9/run_cfg.py
c4c5df9677f7f4e810c52603360e671cef3b0002
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/GluGluToHToTauTau_M-95_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/PAT_CMG_V5_16_0_1377467473/HTT_24Jul_newTES_manzoni_Up_J...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
3c620fa7634959754cb7c5f09e025d6e39b6b3dd
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/PYTHON_PRAC/learn-python3/oop_advance/orm.py
f59b23a9e893ff71ab7c6301d8df304de7161bfc
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,262
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- " Simple ORM using metaclass " class Field(object): def __init__(self, name, column_type): self.name = name self.column_type = column_type def __str__(self): return "<%s:%s>" % (self.__class__.__name__, self.name) class StringField(Fie...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
df3e9efc8ee499934b9e1b00f6d263afcf93c57b
3f2d1c68d07dd6677bc19c559b1960ca5fef6346
/knn/get_data.py
f8f4a916bc28894a39badcdf63732a71756173c4
[]
no_license
213584adghj/ml
6ffcf732377dabda129990e3a89468e18dd2700c
f73080e13c4a1c6babe0229bdb939eb3a7f988b6
refs/heads/master
2021-03-13T23:22:41.981534
2020-03-12T01:59:21
2020-03-12T01:59:21
246,720,376
0
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
# -*- coding: utf-8 -*- import numpy as np import sys from sklearn.model_selection import train_test_split sys.path.append('...') from conf import knn as kn import os import re class data(object): def __init__(self): self.base_data_path = self.get_path() self.all_data_x, self.all_data_y = self.ge...
[ "you@example.com" ]
you@example.com
3d74f3713ebc51593b0995dfa896d8ac0e3b2557
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_348/ch120_2020_03_28_13_43_27_150252.py
8ca957e5746b650c5766458db3710c75e345506e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
from random import randint dinheiro = 100 print(dinheiro) jogo = True a = randint(1,36) while jogo: valor = float(input('aposte um valor:')) while valor > 0: aposta = input('numero ou paridade:') if aposta == 'n': numero = int(input('Escolha um numero:')) if numero == a:...
[ "you@example.com" ]
you@example.com
b801eba554c6416ecd4abdfc6ece4a5c3fb09be3
aeee9575513324e329331b7cd1b28d157c297330
/server.py
0dcfd2b4567febb2fddb04507b0cb96cca101069
[]
no_license
martolini/ktntcpchat
0e80f0d00fc8d3c6c23cd9086c56622be5c58b58
887b060c94877bd773c2b1566d7a801632c21a56
refs/heads/master
2020-12-24T13:27:55.609069
2014-03-19T20:07:32
2014-03-19T20:07:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,111
py
''' KTN-project 2013 / 2014 Very simple server implementation that should serve as a basis for implementing the chat server ''' import SocketServer, json import re from threading import Lock from datetime import datetime ''' The RequestHandler class for our server. It is instantiated once per connection to the server,...
[ "msroed@gmail.com" ]
msroed@gmail.com
6ee1be19681e1d0b0a92b6188c6b7d23f9e185c6
f538e3974b8d9718a3cd24c1dea77023789c9315
/DjangoUbuntu/images_env/images/home/urls.py
779918c3280b79f78139b92224f69383058c32fe
[]
no_license
doremonkinhcan87/BlogImage
de1eab86505befb595844ed15168d1eb7d352121
c25dbe8c0a54c3294d3c8353cc9baf0a748a3707
refs/heads/master
2016-08-11T10:18:19.654850
2016-01-27T09:07:13
2016-01-27T09:07:13
49,034,669
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from django.conf.urls import url from django.contrib import admin from home import views as home_views urlpatterns = [ url( r'^$', home_views.index, name='index'), ]
[ "dautienthuy@gmail.com" ]
dautienthuy@gmail.com
e4ca26f30e0569af1913ec828b403f78fcf1dc99
01196cb36e60d2f4e0bd04fb8a230c82512c6d1d
/EmployeeManagmentSystem/poll/models.py
8bc144c4f484787a486066cd9c5fed83d93a8363
[]
no_license
dipayandutta/django
ba69b7834bd95d4564e44155504f770b780f3ebd
3139a7b720911a4f876fb6ef9d086c39f83e3762
refs/heads/master
2022-04-27T18:56:18.129939
2022-03-23T14:05:22
2022-03-23T14:05:22
132,355,123
0
0
null
null
null
null
UTF-8
Python
false
false
776
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Question(models.Model): title = models.TextField(null=True,blank=True) status = models.CharField(default='inactive',max_length=10) created_by = models.ForeignKey(User,null=True,blank=True,on_delete=models.CAS...
[ "inbox.dipayan@gmail.com" ]
inbox.dipayan@gmail.com
261ecd163dcc1512445518a9868ef7263a49e1b9
48832d27da16256ee62c364add45f21b968ee669
/res_bw/scripts/common/lib/lib2to3/fixes/fix_xreadlines.py
39a696f2250018e3185cba4d70fb28000233131b
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,002
py
# 2016.08.04 20:00:20 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/lib2to3/fixes/fix_xreadlines.py """Fix "for x in f.xreadlines()" -> "for x in f". This fixer will also convert g(f.xreadlines) into g(f.__iter__).""" from .. import fixer_base from ..fixer_util import Name class FixXreadlines(fi...
[ "info@webium.sk" ]
info@webium.sk
a6f5c05679a178711e1a3abdd53c281dcbd83546
ffa651d0a81ce5629ab760fbd18d4e18f2b3f3ed
/venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/whitespace.py
8f71ebfa7e095f19288caa7d380f8abd8badb31b
[]
no_license
superew/TestUI-Setel
b02d4c18a3301b57eaecb7ff60ccce7b9e1e7813
5cd48475fc6622ed289d15c109428f55d3d5d6f6
refs/heads/master
2023-08-02T11:16:34.646927
2021-09-30T17:21:43
2021-09-30T17:21:43
410,351,545
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
from __future__ import absolute_import, division, unicode_literals import re from . import base from ..constants import rcdataElements, spaceCharacters spaceCharacters = "".join(spaceCharacters) SPACES_REGEX = re.compile("[%s]+" % spaceCharacters) class Filter(base.Filter): """Collapses whitespace except in pre,...
[ "blackan.andrew@gmail.com" ]
blackan.andrew@gmail.com
51007ea1a328bbe0321cff96a9091326b6171efb
9d268f0cedc3089dd95b6b22cc1a0191f43dac00
/basket/admin.py
1024e6ec91575d300e8585758be8b9fcef2c5bd2
[]
no_license
Dmitry-Kiselev/store
a5c5b3ade4baa8fa7b600e10feeae352e318340a
193788ac5c00e699863c0194661085e7be08bdf7
refs/heads/master
2022-12-13T19:12:39.553834
2017-06-15T11:38:14
2017-06-15T11:38:14
91,546,511
0
0
null
2022-12-07T23:57:51
2017-05-17T07:28:09
Python
UTF-8
Python
false
false
344
py
from django.contrib import admin from .models import Basket, Line class LineInlineAdmin(admin.TabularInline): model = Line @admin.register(Line) class LineAdmin(admin.ModelAdmin): list_display = ['product'] @admin.register(Basket) class BasketAdmin(admin.ModelAdmin): list_display = ['user'] inline...
[ "kdem27@gmail.com" ]
kdem27@gmail.com
26fca0035e4cf8bea3c2580d50de7c80c409c23f
83cbf14b6806460daf4c556e1d8c49d9a3e8050e
/ration/wsgi.py
d1205c887feeb57cc186a485e323045aebf245b8
[]
no_license
pauloendoh/old-ration
e0d853a22adbbb94890b1172e69c5ce8f336b6b0
2d07ee5d546e0f3b94c8e562c4e3af98d58579d0
refs/heads/master
2021-09-07T01:37:32.012653
2018-02-15T06:42:22
2018-02-15T06:42:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for ration 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", "ration.settings") from django.core.wsg...
[ "paulo.endoh@gmail.com" ]
paulo.endoh@gmail.com
305dc36192283483c72fd39e44335055375b1dc7
b91578b96ffe63639d3efc70d4737b92091cd0b1
/backend/unpp_api/apps/common/management/commands/clean_commonfile_orphans.py
29cbb451ddc386beafc2e0e3e0cea4ed46135ef6
[ "Apache-2.0" ]
permissive
unicef/un-partner-portal
876b6ec394909ed2f72777493623413e9cecbfdc
73afa193a5f6d626928cae0025c72a17f0ef8f61
refs/heads/develop
2023-02-06T21:08:22.037975
2019-05-20T07:35:29
2019-05-20T07:35:29
96,332,233
6
1
Apache-2.0
2023-01-25T23:21:41
2017-07-05T15:07:44
JavaScript
UTF-8
Python
false
false
1,077
py
from __future__ import absolute_import from datetime import datetime from dateutil.relativedelta import relativedelta from django.core.management.base import BaseCommand from common.models import CommonFile class Command(BaseCommand): help = 'Cleans up files that have no existing references.' def add_argum...
[ "maciej.jaworski@tivix.com" ]
maciej.jaworski@tivix.com
d9d16a5349fe9049d369f393d45cbbbbba29aa22
e9ef3cd143478660d098668a10e67544a42b5878
/Lib/corpuscrawler/crawl_nhw.py
13bb6f4b883306e83b163a53dfe669241a0069f9
[ "Apache-2.0" ]
permissive
google/corpuscrawler
a5c790c19b26e6397b768ce26cf12bbcb641eb90
10adaecf4ed5a7d0557c8e692c186023746eb001
refs/heads/master
2023-08-26T04:15:59.036883
2022-04-20T08:18:11
2022-04-20T08:18:11
102,909,145
119
40
NOASSERTION
2022-04-20T08:18:12
2017-09-08T22:21:03
Python
UTF-8
Python
false
false
809
py
# Copyright 2018 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 agreed to in writing, ...
[ "sascha@brawer.ch" ]
sascha@brawer.ch
b600795d48e3d62be0154d5ee0d1f86cef382183
506cb452b371218df26fac6a1b41c46d19ce83fd
/integer_reverse.py
fbbbe7b8011994a47699d09eb49c54cddc44a97c
[]
no_license
shhhhhigne/guessing-game
135cfcaaccad8aa6ba9e1267007d3222eab3bec8
5e9b137b8717061990d4b320bff4b630b3da103c
refs/heads/master
2021-04-29T02:48:32.459926
2017-01-04T20:56:05
2017-01-04T20:56:05
78,052,049
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
def reverse_integer(): user_input = int(raw_input("Input number: ")) while user_input is not 0: n = user_input % 10 print n user_input = (user_input - n)/10 #print user_input reverse_integer()
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
5c5b9d46206ac9713596e8e8bf604697810ef3e7
e9fe65ef3aa2d2d0c5e676fee8ac21acd2b82218
/nestedList_3_3.py
1ca2fa4c5e6b7ef1263562d3342caa61b9f5b55d
[]
no_license
MayowaFunmi/Algorithm-Problem-Solutions
5d3f54199fa381ca778bf8e932fdf599d5a42a77
77124d0212c1c8a09af64b445d9b1207444710b9
refs/heads/master
2022-12-27T22:07:10.883196
2020-10-11T00:34:12
2020-10-11T00:34:12
303,010,447
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
list = [["yes", 5.87], ["me", 2.29], ["them", 4.55], ["him", 0.34], ["she", 2.29], ["our", 4.55]] score = [] for i in list: score.append(i[1]) score.sort() print(score) names = [] for name, mark in list: if mark == score[-2]: names.append(name) names.sort() for i in names: print(i)
[ "akinade.mayowa@gmail.com" ]
akinade.mayowa@gmail.com
a02e4f7a7ac588561c425e85fede489e9ac79fa5
af93b3909f86ab2d310a8fa81c9357d87fdd8a64
/begginer/8.cas/zadatak6.py
b1aa0bb49f735766be9270a393eccc4fb04ecf1b
[]
no_license
BiljanaPavlovic/pajton-kurs
8cf15d443c9cca38f627e44d764106ef0cc5cd98
93092e6e945b33116ca65796570462edccfcbcb0
refs/heads/master
2021-05-24T14:09:57.536994
2020-08-02T15:00:12
2020-08-02T15:00:12
253,597,402
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
proizvod=1 for i in range(4,51): if i%6==0: proizvod=proizvod*i #proizvod*=i print(f"proizvod je {proizvod}")
[ "zabiljanupavlovic@gmail.com" ]
zabiljanupavlovic@gmail.com
627bba94d0d7c441615c4d735a19a9d7bf5af2a5
35250c1ccc3a1e2ef160f1dab088c9abe0381f9f
/2020/0412/1032.py
ad26688eeefed21f33aea4e895b2f8c31e30e300
[]
no_license
entrekid/daily_algorithm
838ab50bd35c1bb5efd8848b9696c848473f17ad
a6df9784cec95148b6c91d804600c4ed75f33f3e
refs/heads/master
2023-02-07T11:21:58.816085
2021-01-02T17:58:38
2021-01-02T17:58:38
252,633,404
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
import sys input = sys.stdin.readline N = int(input()) all = [input().rstrip() for _ in range(N)] ans = all[0] length = len(ans) ret = "" for index in range(length): base = ans[index] for jter in range(1, N): if all[jter][index] == base: continue else: ret += "?" ...
[ "dat.sci.seol@gmail.com" ]
dat.sci.seol@gmail.com
b26aa47f86d46143f9e4617cf1f3a9cd1d1ee085
6cecdc007a3aafe0c0d0160053811a1197aca519
/apps/hq/urls.py
dfd7a56494e809ecc98888792013d8fb67b130fe
[]
no_license
commtrack/temp-aquatest
91d678c927cc4b2dce6f709afe7faf2768b58157
3b10d179552b1e9d6a0e4ad5e91a92a05dba19c7
refs/heads/master
2016-08-04T18:06:47.582196
2010-09-29T13:20:13
2010-09-29T13:20:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
from django.conf.urls.defaults import * import hq.views as views import settings urlpatterns = patterns('', url(r'^$', 'hq.views.dashboard', name="homepage"), (r'^serverup.txt$', 'hq.views.server_up'), (r'^change_password/?$', 'hq.views.password_change'), (r'^no_permissions/?$', 'hq.v...
[ "allen.machary@gmail.com" ]
allen.machary@gmail.com
e722b56c0586dbb8980d79f634b53921923bc0e4
ad6c519f356c0c49eb004084b12b5f08e3cd2e9e
/contrib/compile_less.py
0f21f7dd011811897c55b5aeecc5ff29cd6b0aaa
[ "MIT" ]
permissive
csilvers/kake
1a773e7c2232ea243be256bb5e6bd92e0189db9d
51465b12d267a629dd61778918d83a2a134ec3b2
refs/heads/master
2021-05-05T23:07:40.425063
2019-01-23T23:35:48
2019-01-23T23:35:48
116,594,798
0
0
MIT
2019-01-23T23:19:17
2018-01-07T19:59:09
Python
UTF-8
Python
false
false
2,249
py
# TODO(colin): fix these lint errors (http://pep8.readthedocs.io/en/release-1.7.x/intro.html#error-codes) # pep8-disable:E131 """A Compile object (see compile_rule.py): foo.less -> foo.less.css.""" from __future__ import absolute_import import json from kake.lib import compile_rule from kake.lib import computed_inpu...
[ "csilvers@khanacademy.org" ]
csilvers@khanacademy.org
3477905774ed5edf89834341f37552f9d7ae3118
21e27d3db70f99de096969553b689c58cd09c42b
/updatelineno_of_paleoword.py
218e5ee0aea4cf63e9fb07e7d980e88fb6b4b706
[]
no_license
suhailvs/django-qurantorah
e520b0030422f8a4311763628daebbbbd392c34c
151b9abf3428654b6c490d3df392c0d163c79c6e
refs/heads/master
2021-06-15T02:11:14.688457
2020-03-15T07:31:33
2020-03-15T07:31:33
159,264,131
0
0
null
2021-03-18T21:11:04
2018-11-27T02:31:00
Python
UTF-8
Python
false
false
1,063
py
import json from torah.models import Word,Line """ USAGE ===== ./manage.py shell >>> import updatelineno_of_paleoword >>> updatelineno_of_paleoword.save_word_to_db() """ def save_word_to_db(): chap='genesis,exodus,leviticus,numbers,deuteronomy' n_lines, n_word, n_letters= 0,0,0 for title in chap.split(','): pa...
[ "suhailvs@gmail.com" ]
suhailvs@gmail.com
fa6be7b270c471aac3b51fad9c4218e92d997953
338dbd8788b019ab88f3c525cddc792dae45036b
/lib/python3.6/site-packages/statsmodels/discrete/tests/test_count_model.py
d34bc7c1d26bd2a450cb46076826e10791e365af
[]
permissive
KshitizSharmaV/Quant_Platform_Python
9b8b8557f13a0dde2a17de0e3352de6fa9b67ce3
d784aa0604d8de5ba5ca0c3a171e3556c0cd6b39
refs/heads/master
2022-12-10T11:37:19.212916
2019-07-09T20:05:39
2019-07-09T20:05:39
196,073,658
1
2
BSD-3-Clause
2022-11-27T18:30:16
2019-07-09T19:48:26
Python
UTF-8
Python
false
false
23,297
py
from __future__ import division from statsmodels.compat.scipy import SP_GTE_019 import numpy as np from numpy.testing import (assert_, assert_equal, assert_array_equal, assert_allclose) import pytest import statsmodels.api as sm from .results.results_discrete import RandHIE from .test_discr...
[ "kshitizsharmav@gmail.com" ]
kshitizsharmav@gmail.com
74c8e9860eae167b136c05285e22a67e2c9a8de8
920b9cb23d3883dcc93b1682adfee83099fee826
/itsm/role/utils.py
17cfe9461e59ce1f7ab21362402eb584388b0f6c
[ "MIT", "LGPL-2.1-or-later", "LGPL-3.0-only" ]
permissive
TencentBlueKing/bk-itsm
f817fb166248d3059857b57d03e8b5ec1b78ff5b
2d708bd0d869d391456e0fb8d644af3b9f031acf
refs/heads/master
2023-08-31T23:42:32.275836
2023-08-22T08:17:54
2023-08-22T08:17:54
391,839,825
100
86
MIT
2023-09-14T08:24:54
2021-08-02T06:35:16
Python
UTF-8
Python
false
false
1,710
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-ITSM 蓝鲸流程服务 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-ITSM 蓝鲸流程服务 is licensed under the MIT License. License for BK-ITSM 蓝鲸流程服务: ------------------------------------------...
[ "1758504262@qq.com" ]
1758504262@qq.com
24f7f8a2e67f6628493069a129b394a4ff11d1d4
2f0d56cdcc4db54f9484b3942db88d79a4215408
/.history/Python_Learning/lesson13_20200329114830.py
ba04f40090cb55cf629dc5824f55791317a02c91
[]
no_license
xiangxing98/xiangxing98.github.io
8571c8ee8509c0bccbb6c2f3740494eedc53e418
23618666363ecc6d4acd1a8662ea366ddf2e6155
refs/heads/master
2021-11-17T19:00:16.347567
2021-11-14T08:35:01
2021-11-14T08:35:01
33,877,060
7
1
null
2017-07-01T16:42:49
2015-04-13T15:35:01
HTML
UTF-8
Python
false
false
429
py
# -*- encoding: utf-8 -*- # !/usr/bin/env python ''' @File : lesson13.py @Time : 2020/03/29 11:43:27 @Author : Stone_Hou @Version : 1.0 @Contact : xiangxing985529@163.com @License : (C)Copyright 2010-2020, Stone_Hou @Desc : None ''' # here put the import lib # Practice #01 print('He said,"I\'m...
[ "xiangxing985529@163.com" ]
xiangxing985529@163.com
e1ac78e0b777110562d318e87c495e8dbe70df4d
8096e140f0fd38b9492e0fcf307990b1a5bfc3dd
/Python/pick6/pick6.py
25239e92262858f2921b73fe2ff362a129aeeefd
[]
no_license
perennialAutodidact/PDXCodeGuild_Projects
0cacd44499c0bdc0c157555fe5466df6d8eb09b6
28a8258eba41e1fe6c135f54b230436ea7d28678
refs/heads/master
2022-11-15T22:26:45.775550
2020-07-07T17:13:01
2020-07-07T17:13:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,465
py
import random def pick6(): nums = [] i = 0 while i < 6: num = random.randint(1,99) nums.append(num) i += 1 return nums def check_ticket(ticket, goal): matches = [] for index, num in enumerate(ticket): if num == goal[index]: matches.append(num) ...
[ "keegood8@gmail.com" ]
keegood8@gmail.com
a1f99b984843bb214cc729eb084b6f32c4a7f041
b7f91e2cbc1deea0b33f4293336876568e0b263d
/parctice/training_code/Armour_plate_detection_training/rpn_s/train.py
b1b9d79fc873a59f700e74ebc2b830009f5e909b
[]
no_license
wonggw/Robomaster_NTU_2018
196776d3b0a3b581a0c0db9618c1a9f59634ceb9
cac54d22b6ac3f3a94790ed056660cdccb78558d
refs/heads/master
2020-03-25T01:52:58.963643
2018-08-01T03:34:37
2018-08-01T03:34:37
143,262,046
0
0
null
2018-08-02T07:57:47
2018-08-02T07:57:47
null
UTF-8
Python
false
false
2,161
py
import numpy as np import netpart import data_reader import model as M import tensorflow as tf import cv2 import time import myconvertmod as cvt import os if not os.path.exists('./model/'): os.mkdir('./model/') reader = data_reader.reader(height=240,width=320,scale_range=[0.05,1.2], lower_bound=3,upper_bound=...
[ "cy960823@outlook.com" ]
cy960823@outlook.com
379fd53a5f423321a7a8eb0065c23cc0be712f0c
563bdb036cb8cbfbd55fe05888c3ff6ec121b660
/documenter2docset/documenter.py
e79a80bd15e0a601ca8531819ca511e3b1a8f5df
[]
no_license
jlumpe/documenter2docset
8858697f8b26f465b166d373bdd093239fb00901
ce5ef6572e51b783529c04a2794af67552867d3d
refs/heads/master
2020-04-13T16:52:03.980076
2018-12-28T20:27:19
2018-12-28T20:27:19
163,332,319
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
"""Work with documentation generated by Documenter.jl.""" import ast def read_search_index(fh): """Read search_index.js. Can't part strictly as JSON (even after removing the variable assignment at the beginning because it isn't formatted correctly (comma after last element of array). Use ast.literal_eval inste...
[ "mjlumpe@gmail.com" ]
mjlumpe@gmail.com
c9ad645885da2ff6ead3ccefeee3ae71e844d592
f7038be35e310a21958cd4e6bb9baadaf3c69943
/python/shred/mango/mango/settings.py
48564b45e78084e8f244583ee9facc75bd312419
[]
no_license
code-machina/awesome-tutorials
d0208fadc06bae0c1865d50a8b1c74d2737dae13
6c813a1e9c343f8f99c2f6d5be804a829ec149ed
refs/heads/master
2023-01-12T06:52:35.474881
2019-01-31T09:09:46
2019-01-31T09:09:46
160,049,994
1
0
null
2023-01-07T07:52:20
2018-12-02T13:25:58
JavaScript
UTF-8
Python
false
false
3,684
py
""" Django settings for mango project. Generated by 'django-admin startproject' using Django 1.8.2. 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/ """ # Build paths ...
[ "gbkim1988@gmail.com" ]
gbkim1988@gmail.com
28fd248312ad2493793bbb3f26584351c889655e
54d8a05e0238e96eb43e4893bacba024e490bf11
/python-projects/algo_and_ds/shortest_cell_path_using_bfs_pramp_interview.py
20d9c4271b29075a2acbe3379700acf8700381c3
[]
no_license
infinite-Joy/programming-languages
6ce05aa03afd7edeb0847c2cc952af72ad2db21e
0dd3fdb679a0052d6d274d19040eadd06ae69cf6
refs/heads/master
2023-05-29T10:34:44.075626
2022-07-18T13:53:02
2022-07-18T13:53:02
30,753,185
3
5
null
2023-05-22T21:54:46
2015-02-13T11:14:25
Jupyter Notebook
UTF-8
Python
false
false
1,621
py
from collections import deque def next_cell(grid, row, col, visited): # the list is in top, left, bottom, right nrow = [-1, 0, 1, 0] ncol = [0, -1, 0, 1] for rr, cc in zip(nrow, ncol): updated_row = row + rr updated_col = col + cc if 0 <= updated_row < len(grid) and 0 <= updated_col < len(grid[0]):...
[ "joydeepubuntu@gmail.com" ]
joydeepubuntu@gmail.com
47684ef9baf25752da28cc56054c26aabdfa5f87
84f0c73b9147e293a91161d3bd00fdfb8758a1e2
/django/test1/test1/settings.py
e7105747f60d717d10860b8345297a7f6fe8ce78
[]
no_license
TrellixVulnTeam/allPythonPractice_R8XZ
73305067dfc7cfc22ae1a8283f7cb1397e41974b
45f0885f6526807f1150c6b9e65d50ddf0f37d9f
refs/heads/master
2023-03-15T19:19:14.020828
2019-07-25T16:18:24
2019-07-25T16:18:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,852
py
""" Django settings for test1 project. Generated by 'django-admin startproject' using Django 1.8.2. 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/ """ # Build paths ...
[ "focusdroid@126.com" ]
focusdroid@126.com
172e7821ecc773081c07cf4efa28191b5d77b8e9
a3b0e7acb6e0d7e73f5e369a17f367ac7caf83fb
/python/free_Code_CAmp/scientific_computing_for_everybody/ch_3/playground.py
6f990236ce5c0b0436b2382899a7d87f0b97507e
[]
no_license
jadedocelot/Bin2rong
f9d35731ca7df50cfba36141d249db2858121826
314b509f7b3b3a6a5d6ce589dbc57a2c6212b3d7
refs/heads/master
2023-03-24T14:03:32.374633
2021-03-19T00:05:24
2021-03-19T00:05:24
285,387,043
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
import time # A import random x = (random.range(1,100)) while x < 100: x = x + 20 time.sleep(0.19) print(x) x = x +12 time.sleep(0.23) print(x) x = x + 4 time.sleep(0.38) print(x) x = x + 70 time.sleep(0.60) print(x) break print("End of code") def winScore(): ...
[ "eabelortega@gmail.com" ]
eabelortega@gmail.com
580ca49442935c52d5d05ec0a2f0dde826ee4536
f9e4c2e9cd4a95dc228b384e2e8abadc9f1b0bda
/clubs/views.py
d9f78a81a32d48a5082518ede439e6e26525355d
[]
no_license
sanchitbareja/fratevents
227adddd77c9a0055ccd74d5e0bf6f771790f8d3
f50c8ccb40b8c9124b40e70d90c9190ef27a2fb7
refs/heads/master
2016-09-06T15:36:45.443412
2013-02-16T21:13:36
2013-02-16T21:13:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
# Create your views here. from django.template import Context, RequestContext from django.http import HttpResponse from django.shortcuts import render_to_response from django.template.loader import render_to_string from django import forms from django.http import HttpResponseRedirect from clubs.models import Club impor...
[ "sanchitbareja@gmail.com" ]
sanchitbareja@gmail.com
77b0263d6f72098ae8615af9a9bca10d2fe3356e
d1752d73dd7dd8a7c0ea5ce3741f18b9c9073af7
/solutions/Day17_MoreExceptions/Day17_MoreExceptions.py
eedced4a6bfe57d7cedc22b72ec585dd28954258
[ "MIT" ]
permissive
arsho/Hackerrank_30_Days_of_Code_Solutions
58ee9277854d67e967e07d62ddbfd155beefd35b
840e5cbe8025b4488a97d1a51313c19c4e7e91ed
refs/heads/master
2020-05-04T15:26:49.304023
2019-04-03T14:31:29
2019-04-03T14:31:29
179,241,241
2
1
null
null
null
null
UTF-8
Python
false
false
528
py
''' Title : Day 17: More Exceptions Domain : Tutorials Author : Ahmedur Rahman Shovon Created : 03 April 2019 ''' #Write your code here class Calculator(object): def power(self, n, p): if n < 0 or p < 0: raise ValueError("n and p should be non-negative") return n**p ...
[ "shovon.sylhet@gmail.com" ]
shovon.sylhet@gmail.com
6e20ec43fbcfeb13a9b90f75a1e1d161c23035d5
27eeee7dc09efc8911ba32e25fc18e2ea79b7843
/skedulord/job.py
2c622d0771f9e4e2a9298ff8841c1d6ebc14b299
[ "MIT" ]
permissive
koaning/skedulord
fe9253e341dbd8442688508954c032fe74a5ad46
78dc0e630743a059573c34efdd52104586b2c4de
refs/heads/main
2022-06-03T18:04:00.279729
2022-05-21T12:35:26
2022-05-21T12:35:26
215,561,785
65
4
MIT
2022-05-01T12:29:48
2019-10-16T13:58:06
Python
UTF-8
Python
false
false
2,412
py
import io import json import time import uuid import pathlib import subprocess import datetime as dt from skedulord.common import job_name_path, log_heartbeat from pathlib import Path class JobRunner: """ Object in charge of running a job and logging it. """ def __init__(self, name, cmd, retry=3, wait...
[ "vincentwarmerdam@gmail.com" ]
vincentwarmerdam@gmail.com
3071abc122ec82db2b2ba1766208aef9f85ec69c
64546da2b39cf96a490a0b73ce09166e2b704da2
/backend/course/models.py
e6616fc039c250373458eec7bec5f2d3a47329fa
[]
no_license
crowdbotics-apps/for-later-19794
3c547dfef97bd6631929ba3a09954d8edb6bd0de
501d0f3fd4d58775c964e08e1fe75d69bf759520
refs/heads/master
2022-12-06T07:56:19.275934
2020-08-26T15:34:01
2020-08-26T15:34:01
290,533,035
0
0
null
null
null
null
UTF-8
Python
false
false
2,850
py
from django.conf import settings from django.db import models class Recording(models.Model): "Generated Model" event = models.ForeignKey( "course.Event", on_delete=models.CASCADE, related_name="recording_event", ) media = models.URLField() user = models.ForeignKey( "users.User", on...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e7b886977f81669168fde729b360287c320f19a2
b885eaf4df374d41c5a790e7635726a4a45413ca
/LeetCode/Session3/ClosestBSTValue.py
08a5eac84d8b1f8292686d15c2ebb4215e9c68ff
[ "MIT" ]
permissive
shobhitmishra/CodingProblems
2a5de0850478c3c2889ddac40c4ed73e652cf65f
0fc8c5037eef95b3ec9826b3a6e48885fc86659e
refs/heads/master
2021-01-17T23:22:42.442018
2020-04-17T18:25:24
2020-04-17T18:25:24
84,218,320
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
import sys class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def closestValue(self, root: TreeNode, target: float) -> int: self.minDiffValue = root.val self.closestValueHelper(root, target) return self.minDi...
[ "shmishra@microsoft.com" ]
shmishra@microsoft.com
8f523c223becca901b73198037ee041f2607b3cf
1f08436bab6cd03bcfb257e8e49405cbc265195a
/12_File/Sample/io_ex10.py
69cc54f04c4f232c4450593d34e968477c1e7d3d
[]
no_license
kuchunbk/PythonBasic
e3ba6322f256d577e37deff09c814c3a374b93b2
a87135d7a98be8830d30acd750d84bcbf777280b
refs/heads/master
2020-03-10T04:28:42.947308
2018-04-17T04:25:51
2018-04-17T04:25:51
129,192,997
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
'''Question: Write a Python program to count the frequency of words in a file. ''' # Python code: from collections import Counter def word_count(fname): with open(fname) as f: return Counter(f.read().split()) print("Number of words in the file :",word_count("test.txt")) ...
[ "kuchunbk@gmail.com" ]
kuchunbk@gmail.com
a6da60cb6269f0ba182ed3e312c8156f7620dea8
e1386d15b6e67c2e4e301bfb6d2fdfa817ac082d
/tests/unit_tests/handlers/test_delivery_utility_handlers.py
2610ffaf7d85d9443a29d004dceb09a4dcdee112
[ "MIT" ]
permissive
arteria-project/arteria-delivery
002272f5371a77968fad15061ec6aa00068fab14
46830f5b891dabb3a1352719842d1a9706641032
refs/heads/master
2023-09-04T07:53:12.783287
2023-08-04T13:26:41
2023-08-04T13:26:41
71,244,793
0
8
MIT
2023-08-09T14:52:04
2016-10-18T12:15:20
Python
UTF-8
Python
false
false
653
py
import json from tornado.testing import * from tornado.web import Application from delivery.app import routes from delivery import __version__ as checksum_version from tests.test_utils import DummyConfig class TestUtilityHandlers(AsyncHTTPTestCase): API_BASE = "/api/1.0" def get_app(self): retur...
[ "johan.dahlberg@medsci.uu.se" ]
johan.dahlberg@medsci.uu.se
a7eafae3cbdf9b3ab0317e0537a060480946ea17
4daa80570478d1d4a72ced0b0c288db39df7bbbd
/pychron/graph/stream_graph.py
695178c1359db85f1c757c9bf874ed7b2f15c6b4
[ "Apache-2.0" ]
permissive
waffle-iron/pychron
3f98fad34788371f98ccabf164d03b7d77b0d9ce
14504782c8f73a6267cd8a59f7d9a609e1df92e3
refs/heads/develop
2020-12-29T18:51:44.245858
2016-04-21T04:18:09
2016-04-21T04:18:09
56,742,046
0
0
null
2016-04-21T04:18:08
2016-04-21T04:18:07
null
UTF-8
Python
false
false
12,391
py
# =============================================================================== # Copyright 2011 Jake Ross # # 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...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
4ab772d063000b2f73af815811ee2b7718613d44
57fa7d6820ca63d14f6568adb9185b8a8ea47589
/ViewClass/ViewClass/settings.py
26d3ce9d89c07c63796efac306a53f7eadde218c
[]
no_license
kunjabijukchhe/Web-Development
0dd0a5f415adb863f96c1552d90b6b7a282b6945
e9bd5c5cc4b0f12f2f1714986c612494be9ab8ea
refs/heads/master
2020-09-23T04:43:39.118376
2020-07-21T08:21:30
2020-07-21T08:21:30
225,405,104
0
0
null
null
null
null
UTF-8
Python
false
false
3,174
py
""" Django settings for ViewClass project. Generated by 'django-admin startproject' using Django 2.2.3. 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 ...
[ "bijukchhekunja@gamil.com" ]
bijukchhekunja@gamil.com
532491ab518da9198fb188f47602c394dd47c69a
f4c4546f21046ddfd109a0dd34005ac4872f123d
/Django/app05/manage.py
b1e26b065ae23445230da70398a74cee7225113a
[]
no_license
wuzhisheng/Python
ebbeacc81881b65d6085b8f4bf10e15a25549ab0
84930c2eb5fb0397d546819effef0d879055e2c8
refs/heads/master
2022-01-17T14:57:08.926481
2021-12-31T09:52:01
2021-12-31T09:52:01
146,844,250
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'app05.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportEr...
[ "806215829@qq.com" ]
806215829@qq.com
353478d1c692ca136b3015ce5ce4e0220ef2efe4
49f23f530d0cda7aadbb27be9c5bdefaa794d27f
/server/common_models/__init__.py
4b63cc4511ffc6f06c746a09ef3301a5c735fe58
[ "MIT" ]
permissive
Soopro/totoro
198f3a51ae94d7466136ee766be98cb559c991f1
6be1af50496340ded9879a6450c8208ac9f97e72
refs/heads/master
2020-05-14T09:22:21.942621
2019-08-03T20:55:23
2019-08-03T20:55:23
181,738,167
0
1
MIT
2019-10-29T13:43:24
2019-04-16T17:42:16
Python
UTF-8
Python
false
false
191
py
# coding=utf-8 from __future__ import absolute_import from .user import * from .media import * from .book import * from .category import * from .configuration import * from .notify import *
[ "redy.ru@gmail.com" ]
redy.ru@gmail.com
1ab5eea08126195608143cbf70088bb0be88adc8
ae844174eff5d14b8627ef8b32e66713f03772c8
/Notes/Lec19/testing with nose.py
86c5c3fa2283cf61d402cbbe75c779e3211c39b5
[]
no_license
tayloa/CSCI1100_Fall2015
1bd6250894083086437c7defceddacf73315b83b
4ca1e6261e3c5d5372d3a097cb6c8601a2a8c1c6
refs/heads/master
2021-01-22T22:43:55.301293
2017-05-30T04:52:21
2017-05-30T04:52:21
92,784,700
0
1
null
null
null
null
UTF-8
Python
false
false
184
py
import nose from search import * def tetst_st1_1(): assert str1([4,1,3,2]) == (1,2) def tetst_st1_1(): assert str1([1,2,3,4]) == def tetst_st1_1(): assert str1([1,2,3,1])
[ "halfnote1004@gmail.com" ]
halfnote1004@gmail.com
7ccab5bc4ae69ea234e05faaef3b39949464da00
7000895fad6f4c23084122ef27b3292d5e57df9f
/tests/core/test_TransactionMetadata.py
be05089d68a8de1c9fc5e458eb05f7072f56148b
[ "MIT" ]
permissive
jack3343/xrd-core
1302cefe2a231895a53fcef73e558cdbc1196884
48a6d890d62485c627060b017eadf85602268caf
refs/heads/master
2022-12-15T07:36:16.618507
2020-08-27T09:21:36
2020-08-27T09:21:36
290,652,706
0
0
null
null
null
null
UTF-8
Python
false
false
5,229
py
# coding=utf-8 # Distributed under the MIT software license, see the accompanying # file LICENSE or http://www.opensource.org/licenses/mit-license.php. from unittest import TestCase from mock import MagicMock from xrd.core import config from xrd.core.TransactionMetadata import TransactionMetadata from xrd.core.misc im...
[ "70303530+jack3343@users.noreply.github.com" ]
70303530+jack3343@users.noreply.github.com
0b4fbe315a453bb13ddfe9bc6c4cee6d06ad3d86
27b86f422246a78704e0e84983b2630533a47db6
/exploration/tools/diff_dxf_files.py
28162397f11ab0d070fc9d40ac52f5a90195c50b
[ "MIT" ]
permissive
mozman/ezdxf
7512decd600896960660f0f580cab815bf0d7a51
ba6ab0264dcb6833173042a37b1b5ae878d75113
refs/heads/master
2023-09-01T11:55:13.462105
2023-08-15T11:50:05
2023-08-15T12:00:04
79,697,117
750
194
MIT
2023-09-14T09:40:41
2017-01-22T05:55:55
Python
UTF-8
Python
false
false
1,658
py
# Copyright (c) 2023, Manfred Moitzi # License: MIT License from typing import Optional, Iterable from ezdxf.lldxf.tags import Tags from ezdxf.lldxf.tagger import tag_compiler from ezdxf.tools.rawloader import raw_structure_loader from ezdxf.tools.difftags import diff_tags, print_diff, OpCode FILE1 = r"C:\Users\moz...
[ "me@mozman.at" ]
me@mozman.at
656f52ac462cf2a6b5c44a4cfb10a5417245ad90
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/9/usersdata/82/5635/submittedfiles/crianca.py
a715f37838ff16a13db79b479c9046f643398dd8
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
# -*- coding: utf-8 -*- from __future__ import division #ENTRADA P1 = input ('Digite o valor de P1:') C1 = input ('Digite o valor de C1:') P2 = input ('Digite o valor de P2:') C2 = input ('Digite o valor de C2:') #PROCESSAMNETO E SAIDA
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
26893bbbc95fc0c9dadd5b947bef410efc052c39
40b0af3099e8c2d0ce30d8ecce842ea8122be8b2
/BASIC SYNTAX, CONDITIONAL STATEMENTS AND LOOPS/number_between_1_100.py
6e45b2c407889b183c8950d48ab3ad6b8688ba39
[]
no_license
milenpenev/Fundamentals
6c1b1f5e26c4bf4622b1de6a4cc9a3b6a1f7a44b
7754d1e4fba9e8f24b723f434f01f252c137eb60
refs/heads/main
2023-04-08T12:58:23.899238
2021-04-03T07:42:48
2021-04-03T07:42:48
350,467,280
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
number = float(input()) while number < 1 or number > 100: number = float(input()) print(f"The number {number} is between 1 and 100")
[ "milennpenev@gmail.com" ]
milennpenev@gmail.com
6988bd8c6b1fe3ef303ee68b28980a98319aebca
69ed8c9140be238fe3499dfbd27ab4a3fcfcbec8
/webempresa/blog/views.py
bccc7d66a0fe0be9734e9a26fefacd9dfe9ad3d8
[]
no_license
Garavirod/CoffeeWeb
b8b1f3fa2373b2e45dbc393589edd18c17964f8c
e2250a416d0f2bceb3a68617133ae212d835a26c
refs/heads/master
2022-12-18T23:40:26.337613
2019-08-01T19:18:38
2019-08-01T19:18:38
187,440,808
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
from django.shortcuts import render, get_object_or_404 from .models import Post, Category # Create your views here. def blog(request): posts = Post.objects.all() return render(request,"blog/blog.html",{'posts':posts}) def category(request,category_id): #el 'get' nos permite obtener un único registro filtra...
[ "rodrigogarciaavila26@gmail.com" ]
rodrigogarciaavila26@gmail.com
fbaa6d49368db0becbe90cabc3be773834120c82
ad6eb2236acdf525c10af6c1cf62e877039301c2
/lfs_order_numbers/models.py
0ec1751dcead67933630dd17b9a6b1905885d42a
[]
no_license
diefenbach/lfs-order-numbers
1dad836eded78d830cd6af79d1ce3fa2b9357640
f9c3342dc7ebedfa286ac927ba84b433c2cbbc80
refs/heads/master
2021-05-25T11:14:21.547104
2017-02-23T10:12:19
2017-02-23T10:12:19
4,285,159
2
2
null
null
null
null
UTF-8
Python
false
false
911
py
from django.db import models from django.utils.translation import ugettext_lazy as _ from lfs.plugins import OrderNumberGenerator as Base class OrderNumberGenerator(Base): """ Generates order numbers and saves the last one. **Attributes:** last The last stored/returned order number. fo...
[ "kai.diefenbach@iqpp.de" ]
kai.diefenbach@iqpp.de
d2921fe8f0ce8ec4fb95b0e4aae8a9b2d90db54d
19380415ccdcb0dac20f7bd67fcc8a0f631a3b90
/models/union-find.py
c1b9a401d367ca82e8e843172825c2ccacca6e0c
[ "MIT" ]
permissive
italo-batista/problems-solving
c06c811364db7439d842db76e743dd7a1a7c8365
f83ad34f0abebd52925c4020635556f20743ba06
refs/heads/master
2021-10-28T07:01:21.643218
2019-04-22T15:27:19
2019-04-22T15:27:19
76,066,780
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
# n : numero de nos # q : numero de operacoes n, q = map(int, raw_input().split()) parents = range(n+1) sizes = [1] * (n+1) def get_parent(x): if x == parents[x]: return parents[x] else: parents[x] = get_parent(parents[x]) return parents[x] def same_set(x, y): return get_parent(x) == get_parent(y) def co...
[ "italo.batista@ccc.ufcg.edu.br" ]
italo.batista@ccc.ufcg.edu.br
d13ae0b389a9aad24520238844270163decc9f47
c2e06926e58e49e2659c77ec454716ccb42bd729
/Test3/hawc2/2_postPro.py
970866b6948734ae8d86a446cdf8f6be3f9fcab6
[]
no_license
ptrbortolotti/BeamDyn_CpLambda
72bfd6c831ebc5b86fdbc1f3dd10b3c05e693141
e2f9a70044f7c0f1e720d828949faf1d392872c6
refs/heads/main
2023-08-28T22:34:21.546502
2021-09-27T17:34:01
2021-09-27T17:34:01
331,133,603
0
1
null
null
null
null
UTF-8
Python
false
false
3,381
py
import os import numpy as np import pandas as pd import matplotlib.pyplot as plt # Local import weio from welib.fast.fastlib import find_matching_pattern, averageDF # --- Parameters IPostPro=[0,1] simDir='cases' BD_mainfile = '../load_conv/f_1e5/Box_Beam_SCALED_1_BeamDyn.dat' load = 500000; vf = np.array([0.2,0...
[ "emmanuel.branlard@nrel.gov" ]
emmanuel.branlard@nrel.gov
4978a0b12d379e159f7293cb2652dda29e4c98b6
3b76f9f2317e1eb2cd9553cab0b4dd01ce216ad5
/using nested list find the second lower score using python.py
bbbf48ebc25de5392d90b5cabd6ffa32747cf7f2
[]
no_license
KaziMotiour/Hackerrank-problem-solve-with-python
f12ea978c5274a90745545d3d2c9fb6a4f9b5230
798ce2a6c2b63ea24dc28a923bfee4b528fb2b5e
refs/heads/master
2022-05-26T19:45:44.808451
2020-05-05T09:44:40
2020-05-05T09:44:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
arr=[] n=int(input()) list=[[input(),float(input())] for _ in range(n)] x=10000.0 a=0 i=0 j=1 while(n!=0): if(list[i][j]<x ): x=list[i][j] i+=1 n-=1 a+=1 else: i+=1 n-=1 a+=1 i=0 j=1 y=1000.0 p=0 for i in range(len(list)): if(list[i][j]>x): if(...
[ "kmatiour30@gmail.com" ]
kmatiour30@gmail.com
b29bf0c42c3bd7b3ef74fd50f2d5c415917e4666
6dbf099660ee82b72fb2526a3dc242d99c5fb8c8
/tests/standalone/PmwUsing.py
b763dd902383fb55b22258463d256f19f0b49337
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Hellebore/Nuitka
3544af691bc352769858ec1d44b6e9de46087bcf
252d8e5d24521f8fff38142aa66c6b9063151f57
refs/heads/develop
2021-01-06T15:33:49.111250
2020-02-18T14:24:49
2020-02-18T14:24:49
241,380,473
0
0
Apache-2.0
2020-07-11T17:52:04
2020-02-18T14:21:01
Python
UTF-8
Python
false
false
1,038
py
# Copyright 2020, Kay Hayen, mailto:kay.hayen@gmail.com # # Python test originally created or extracted from other peoples work. The # parts from me are licensed as below. It is at least Free Software where # it's copied from other people. In these cases, that will normally be # indicated. # # L...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
2a8156a8a96ce1b6fba8ac57fb61505dc07461e3
c90c88f662ca3f6294ae7d5b7adb04831a2c01d9
/WalletCenter/alembic/env.py
df09303374a28e8df4b7f0812639d3baf82e3c2b
[]
no_license
BigJeffWang/blockchain-py
a41512fbd52b182306ea00607e6b93871d5aa04d
9d2abf10e9ff5a4ed7203564026919c1e2bd088a
refs/heads/master
2021-07-20T22:52:13.496892
2020-08-05T09:54:18
2020-08-05T09:54:18
203,220,932
0
1
null
null
null
null
UTF-8
Python
false
false
1,856
py
from __future__ import with_statement import sys from pathlib import Path from alembic import context from sqlalchemy import engine_from_config, pool from logging.config import fileConfig sys.path.append(str(Path(__file__).resolve().parent.parent)) from tools.mysql_tool import MysqlTools from models import base_mode...
[ "bigjeffwang@163.com" ]
bigjeffwang@163.com
7949133cedd8e3d1b586ebe734d7d955c10c523e
088ae8015799ea4cbe4fb0b9b247e9cda8a1a24c
/discovery-provider/src/eth_indexing/event_scanner.py
49c506c4aa0cb8d42e4d7f166a72a8cadd4e431e
[ "Apache-2.0" ]
permissive
eteryko/audius-protocol
3e0278dec32f978d9042fcb4ebce3463c8cbee64
a17be23e32d80c393bc052ffe0e31a99f97bde42
refs/heads/master
2023-08-25T05:00:38.590767
2021-10-23T03:11:59
2021-10-23T03:11:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,818
py
import datetime import time import logging from typing import Tuple, Iterable, Union, Type, TypedDict, Any from sqlalchemy import or_ from web3 import Web3 from web3.contract import Contract, ContractEvent from web3.exceptions import BlockNotFound from web3.types import BlockIdentifier # Currently this method is not ...
[ "noreply@github.com" ]
eteryko.noreply@github.com
070c87fe7edf4ced900434ea1aa417de27ed5dc7
8d976929239774fd21ab6d8cb55623c2d34dcf70
/mnist/keras_func_replica_imagenet_inception.py
bed214d2f5e6d1d79781b3ccba1c44b22609087a
[]
no_license
ilyaperepelitsa/kaggle
776c07c4643458b020bb18b998a6b79c77525c9a
eecf546079e70ab20c6ed8e19012e4ae67e16131
refs/heads/master
2021-01-09T05:47:29.192790
2019-02-09T21:02:08
2019-02-09T21:02:08
80,834,890
0
0
null
null
null
null
UTF-8
Python
false
false
17,092
py
import tensorflow as tf import numpy as np import tensorflow as tf import json import os import pandas as pd from keras.models import Sequential, Model from keras.layers import Dense, Activation, Conv2D, MaxPooling2D, AveragePooling2D from keras.layers import Dropout, Flatten, Input, Concatenate from keras.preproces...
[ "ilyaperepelitsa@gmail.com" ]
ilyaperepelitsa@gmail.com
8d0b460bb292a9b4de4fb6d227c3d54b4b4daa8f
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc036/A/4928401.py
7ff86494dc8fdbfefcd617e792b589f929e8cd7a
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
54
py
A, B = map(int, input().split()) print(B//A+(B%A!=0))
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
229d34fcec99565b3f6d19af0cbe8c1e7108dde1
ecb22ddf7a927d320d2447feddf970c6ed81adbe
/src/plotAnswerLengthDistribution.py
f6a1c47810f11104d60e0195c7f698393074b053
[]
no_license
shiannn/ADL2020-HW2-BertForQA
b1733339703dffb2fbdda481a5f090c26182c4a4
9e4f38bdeaaf61bd2c08ddd163271a699f21f16e
refs/heads/master
2022-12-17T00:02:48.287380
2020-09-27T08:26:47
2020-09-27T08:26:47
257,008,637
0
1
null
null
null
null
UTF-8
Python
false
false
1,676
py
import sys import json import numpy as np import matplotlib.pyplot as plt from pathlib import Path from transformers import BertTokenizer if __name__ == '__main__': if len(sys.argv) != 3: print('usage: python3 plotAnswerLengthDistribution.py dataName saveName') exit(0) dataName = sys.argv[1] ...
[ "b05502087@ntu.edu.tw" ]
b05502087@ntu.edu.tw
cbfa5d9b795b084ed6548df8174d6450302ffb67
d4bb21370ab020aa9d1dad2d812cdd0f25722ed4
/test/support/git_fixture.py
c1102e4132706de3b9ce846406dfe120dc7f1820
[ "MIT" ]
permissive
richo/groundstation
e6b74fb0a428b26408feae06ce16ad98997f2709
7ed48dd355051ee6b71164fc801e3893c09d11db
refs/heads/master
2023-07-21T16:20:17.244184
2018-12-09T22:39:41
2018-12-09T22:39:41
7,293,510
27
5
MIT
2023-07-06T21:04:24
2012-12-23T09:09:49
Python
UTF-8
Python
false
false
372
py
def fake_tree(): return """100644 blob fadc864ddfed4a93fabf6d23939db4d542eb4363 .gitignore100644 blob 48e87b133a2594371acd57c49339dc8c04d55146 .gitmodules 100644 blob 725455bca81c809ad55aac363c633988f9207620 .jshintignore 100644 blob 40928639c7903f83f26e1aed78401ffde587e437 .jshintrc 100644 blob f3a9c9a807...
[ "richo@psych0tik.net" ]
richo@psych0tik.net
b15bbefa83db24057d7e6d691d828073a55b7df7
b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4
/toontown/src/leveleditor/SignEditFrame.py
2250ee50af5616189a902e0af0626baa8271b90d
[]
no_license
satire6/Anesidora
da3a44e2a49b85252b87b612b435fb4970469583
0e7bfc1fe29fd595df0b982e40f94c30befb1ec7
refs/heads/master
2022-12-16T20:05:13.167119
2020-09-11T16:58:04
2020-09-11T17:02:06
294,751,966
89
32
null
null
null
null
UTF-8
Python
false
false
15,501
py
""" Toontown Sign Edit Frame """ import wx from LevelStyleManager import * from wx.lib.agw.knobctrl import * class ToonKnobCtrl(KnobCtrl): def __init__(self, parent, scale=1, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize): KnobCtrl.__init__(self, parent, id, pos, size) self._tot...
[ "66761962+satire6@users.noreply.github.com" ]
66761962+satire6@users.noreply.github.com
5b7dfee3f6b4c14d728cbcd104dab4bee21ee794
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2761/60747/246217.py
9d03172af498a3a1277332b3a310877d13fc4478
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
184
py
n=int(input()) result=[] for i in range(n): sum=0 num=int(input()) for i in range(num+1): sum=sum+i*i result.append(sum) for f in range(n): print(result[f])
[ "1069583789@qq.com" ]
1069583789@qq.com
510f696ac8f8d51de2808c5a04deb4bf2d448ff3
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_54/457.py
eb264093bd6ce407dfba0a75b15923f580c80baa
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
from sys import stdin def gcd(A, B): a = A b = B while b != 0: r = a % b a = b b = r return a if __name__ == '__main__': C = int(stdin.readline()) for c in xrange(1, C + 1): a = stdin.readline().split() N = int(a[0]) t = map(long, a[1:]) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
f677802888481b96a2c6b0d4537ffe39daea4b66
a14ec6e367e6a471bfc74c066fb958ef585bc269
/2019/08/common.py
cb39afff51d0c807e5697dc5794d241a5969ab81
[]
no_license
jimhendy/AoC
90641814ed431f46a8500ff0f022c6c957567563
a1727f88bc2e6f739d65902dce188377966b3fb4
refs/heads/master
2023-09-02T14:48:39.860352
2023-08-28T08:09:19
2023-08-28T08:09:19
225,152,422
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
import numpy as np def in_to_array(inputs, n_rows=6, n_cols=25): data = np.array(list(inputs)) return data.reshape(-1, n_rows, n_cols).astype(int)
[ "jimhendy88@gmail.com" ]
jimhendy88@gmail.com
8e022b65157dfae25c3997ca0bfcf8bfd5b3af03
57ea6657b4deb620c4e29b606a5ec259d22fadcd
/Chatbot_Web/impl/view/kg_overview.py
44d5dfc7bee3607865aecc31e6b77c9d710eaab7
[ "Apache-2.0" ]
permissive
orchestor/Chatbot_CN
021d05849257d66e8e2a65d4ead5a777e09d7d3d
43922d7f73946d00faad3f27d86188ec18022965
refs/heads/master
2020-05-09T12:48:48.124981
2019-04-09T13:54:24
2019-04-09T13:54:24
181,124,145
1
0
Apache-2.0
2019-04-13T05:11:09
2019-04-13T05:11:06
null
UTF-8
Python
false
false
3,273
py
#-*- coding:utf-8 _*- """ @author:charlesXu @file: kg_overview.py @desc: 知识图谱概览页面 @time: 2019/01/28 """ import sys from django.shortcuts import render from pinyin import pinyin from Chatbot_KG.toolkit.pre_load import tree def show_overview(request): ctx = {} if 'node' in request.GET: node = re...
[ "charlesxu86@163.com" ]
charlesxu86@163.com
1f799e8e7be3bb458b963d6e3341620559bc09f8
0680311baa2a401f93bf4124fb6bbc229950848c
/model/one_stage_detector.py
a62d198fd9f49d880deaa56845b6398bc0a618c0
[]
no_license
TonojiKiobya/m2det_pytorch
8b56342862ef5dbc74dd905957cb41ab30273aff
20a00c4ece288148e6112daa822451c6904560c6
refs/heads/master
2023-06-08T14:41:29.110670
2019-03-26T10:40:46
2019-03-26T10:40:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,483
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Mar 5 16:05:16 2019 @author: ubuntu """ import logging import torch.nn as nn import numpy as np import pycocotools.mask as maskUtils import mmcv from dataset.utils import tensor2imgs from dataset.class_names import get_classes from utils.registry_buil...
[ "ximitiejiang@163.com" ]
ximitiejiang@163.com
8f358c1bc133197673c67695d220540b3e6a5394
c8371b410f19dc87059bbe0a28e983c3cfe0f4f8
/src/etheroll/roll.py
1e52d4a97491b5fb857622c89d755a84f9517b56
[ "MIT" ]
permissive
homdx/EtherollApp
c70e37cff4fbbde8c605a8ca87776535185a7167
4953ce0f10ac58d43517fbc3a18bc5ed43297858
refs/heads/master
2020-03-28T19:05:10.591229
2018-09-30T21:25:32
2018-09-30T21:25:32
148,942,827
0
0
MIT
2018-09-15T21:52:51
2018-09-15T21:52:51
null
UTF-8
Python
false
false
5,457
py
from etherscan.client import ConnectionRefused from kivy.app import App from kivy.clock import Clock, mainthread from kivy.properties import NumericProperty, StringProperty from kivy.uix.boxlayout import BoxLayout from kivy.uix.gridlayout import GridLayout from kivy.uix.screenmanager import Screen from etheroll.utils ...
[ "andre.miras@gmail.com" ]
andre.miras@gmail.com
a07012e4a01d74426aafbfa004b80c190341161a
2d05050d0ada29f7680b4df20c10bb85b0530e45
/python/tvm/exec/gpu_memory_bandwidth.py
a5f2021f733c2cd1e3ba8e6c82cce9db1dc4c994
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Zlib", "LLVM-exception", "BSD-2-Clause" ]
permissive
apache/tvm
87cb617f9a131fa44e1693303aaddf70e7a4c403
d75083cd97ede706338ab413dbc964009456d01b
refs/heads/main
2023-09-04T11:24:26.263032
2023-09-04T07:26:00
2023-09-04T07:26:00
70,746,484
4,575
1,903
Apache-2.0
2023-09-14T19:06:33
2016-10-12T22:20:28
Python
UTF-8
Python
false
false
5,788
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
apache.noreply@github.com
0d9346ea6bfd98a4ea4aa39fdecc95754315d40f
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/A/anderspeders/sa_tester.py
72d36cd4c6c8bfde2f227c119e5d3741ea5aa7be
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
import scraperwiki scraperwiki.sqlite.save_var('data_columns', ['id', 'name', 'adress', 'city', 'postcode', 'country', 'Virksomhedstype']) ftUrl = 'http://ec.europa.eu/competition/elojade/isef/index.cfm' import lxml.html root = lxml.html.fromstring(ftUrl) for tr in root.cssselect("div[align='left'] tr.tcont"): ...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
4b9458729e6b85451bdb9d0880d6f1ea08765ae7
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/CISCO-TRUSTSEC-CAPABILITY.py
4df6656890b58be3f9bc3ebc42b576b04390624c
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
5,949
py
# # PySNMP MIB module CISCO-TRUSTSEC-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-TRUSTSEC-CAPABILITY # Produced by pysmi-0.3.4 at Wed May 1 12:14:28 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3....
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
e5a36deb356ed45d8a49e46daa46887d4e9d4c1e
00c6ded41b84008489a126a36657a8dc773626a5
/.history/Sizing_Method/ConstrainsAnalysis/DesignPointSelectStrategy_20210714202552.py
2ac589eab5e3a7e94d03b273ea1e766f243f7093
[]
no_license
12libao/DEA
85f5f4274edf72c7f030a356bae9c499e3afc2ed
1c6f8109bbc18c4451a50eacad9b4dedd29682bd
refs/heads/master
2023-06-17T02:10:40.184423
2021-07-16T19:05:18
2021-07-16T19:05:18
346,111,158
0
0
null
null
null
null
UTF-8
Python
false
false
4,777
py
# author: Bao Li # # Georgia Institute of Technology # import sys import os sys.path.insert(0, os.getcwd()) import numpy as np import matplotlib.pylab as plt import Sizing_Method.Other.US_Standard_Atmosphere_1976 as atm import Sizing_Method.Aerodynamics.ThrustLapse as thrust_lapse import Sizing_Method.Aerodynamics.Ae...
[ "libao@gatech.edu" ]
libao@gatech.edu
255fd358de701401ad48cfbde9991b3438e745f9
adea9fc9697f5201f4cb215571025b0493e96b25
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/isis_neighbor_attribute/neighbors/neighbor/undefined_subtlvs/__init__.py
66007c35b6922abe6c70648de62f9d14f5b7ff9c
[ "Apache-2.0" ]
permissive
andyjsharp/napalm-yang
d8a8b51896ef7c6490f011fe265db46f63f54248
ef80ebbfb50e188f09486380c88b058db673c896
refs/heads/develop
2021-09-09T02:09:36.151629
2018-03-08T22:44:04
2018-03-08T22:44:04
114,273,455
0
0
null
2018-03-08T22:44:05
2017-12-14T16:33:35
Python
UTF-8
Python
false
false
12,152
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListType from pyangbind.lib.y...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
2a89720d50718fac3136b6f618636ce92d82c4a3
65329299fca8dcf2e204132624d9b0f8f8f39af7
/napalm_yang/models/openconfig/components/component/transceiver/physical_channels/channel/state/__init__.py
64250fef640609e72f0af8836abb44ed220b07b4
[ "Apache-2.0" ]
permissive
darylturner/napalm-yang
bf30420e22d8926efdc0705165ed0441545cdacf
b14946b884ad2019b896ee151285900c89653f44
refs/heads/master
2021-05-14T12:17:37.424659
2017-11-17T07:32:49
2017-11-17T07:32:49
116,404,171
0
0
null
2018-01-05T16:21:37
2018-01-05T16:21:36
null
UTF-8
Python
false
false
27,624
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from decimal import Decimal from bitarray import bitar...
[ "noreply@github.com" ]
darylturner.noreply@github.com
3c8f27457cd7e7975d7b68a101cbdd624eb043d1
73c2716fc72d0a389f14f21a5de73da818b54dc4
/udemy-recipe-api/app/user/views.py
75c415e65ee1bdfb16165a1ebbd5bc9b67e3722d
[ "MIT" ]
permissive
washimimizuku/django-tutorials
e13a429aa43cee24d84466d4cf3f22c518b17673
4f0e3836778dd3ea5403ef713e2f6777e44eae8d
refs/heads/main
2023-06-04T05:47:16.863511
2021-06-15T13:38:37
2021-06-15T13:38:37
363,867,674
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
from rest_framework import generics, authentication, permissions from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.settings import api_settings from user.serializers import UserSerializer, AuthTokenSerializer class CreateUserView(generics.CreateAPIView): """Create a new user in the s...
[ "nuno.barreto@inventsys.ch" ]
nuno.barreto@inventsys.ch
570549c76e261ef39c724067588e6f90a8bd18af
57d1580fd540b4819abb67f9db43fdfbba63725f
/lib/var.py
37390233f5572cf38a87bfd5b95f5894ff38f029
[]
no_license
glyfish/alpaca
49edfcb9d80551825dfa4cf071f21aeb95a3502f
2b5b69bcf50ed081a526742658be503706af94b4
refs/heads/master
2023-02-22T00:24:19.293502
2022-09-05T17:20:23
2022-09-05T17:20:23
186,169,438
1
3
null
2023-02-11T00:52:12
2019-05-11T18:38:58
Python
UTF-8
Python
false
false
7,328
py
import numpy from matplotlib import pyplot from lib import config def multivariate_normal_sample(μ, Ω, n): return numpy.random.multivariate_normal(μ, Ω, n) def timeseries_plot(samples, tmax, ylabel, title, plot_name): nplot, nsample = samples.shape ymin = numpy.amin(samples) ymax = numpy.amax(samples)...
[ "troy.stribling@gmail.com" ]
troy.stribling@gmail.com
6d45a0aafcf85c8215157029bef4318a5c2d0836
7ab41799fd38489c93282f1beb3b20e7ef8ff165
/python/79.py
baa33400e8230c73e0d6ae18a6d3a474fff1fc2d
[]
no_license
scturtle/leetcode-sol
86c4095df6b31a9fcad683f2d63669ce1691633c
e1a9ce5d9b8fe4bd11e50bd1d5ba1933de845db7
refs/heads/master
2020-04-23T00:01:37.016267
2015-11-21T04:15:27
2015-11-21T04:15:27
32,385,573
1
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
class Solution(object): @staticmethod def search(board, word, idx, i, j, vit): if idx == len(word): return True if i < 0 or i >= len(board) or\ j < 0 or j >= len(board[0]) or\ board[i][j] != word[idx]: return False vit.add((i, j)) for...
[ "scturtle@gmail.com" ]
scturtle@gmail.com
8977ece66055df7039de24142ea83c6814014521
e57d7785276053332c633b57f6925c90ad660580
/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/_synapse_management_client.py
a9e7c48810f68e60ab64fbfda462bd5da4aca701
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
30,140
py
# 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) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
adriananeci.noreply@github.com
0d8d655f64d764621a9762d4c449a17f82d6ac57
b4d160ff9bc139752f04ead3c38b88cf2d91c8a2
/Tests/DegenPrimer_Tests/Test_SecStructures.py
feda0edcb1189bb46d9320c9c0c9a697b3bbb902
[]
no_license
allista/DegenPrimer
2c69bf832f908601c28245c735db9b6b1efa9932
c610551c9f6f769dcd03f945d7682471ea91bade
refs/heads/master
2022-06-03T01:16:12.269221
2022-05-12T11:16:02
2022-05-12T11:16:02
45,181,326
7
4
null
2022-05-07T12:22:54
2015-10-29T12:20:21
Python
UTF-8
Python
false
false
1,656
py
# coding=utf-8 # # Copyright (C) 2012 Allis Tauri <allista@gmail.com> # # degen_primer 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 version....
[ "allista@gmail.com" ]
allista@gmail.com
c2de7d559633cefc527fd6e213dd4284f75e0499
94bb879816dbdd69559ecfcc70a09f33d104af67
/source/functions/sqlmap/plugins/dbms/oracle/fingerprint.py
3e471ca628ae7c75cc2d193a498e8d77b0777536
[ "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-other-permissive", "GPL-2.0-only", "LicenseRef-scancode-commercial-license", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "GPL-CC-1.0", "LicenseRef-scancode-unknown", "MIT" ]
permissive
51000000/CampusCyberInspectionTool2021
f328ad571ab88051aa6928a67209dd94ce25eb6c
27a2de7ff3707ba6ab084acfce79a7d3f42b8f84
refs/heads/main
2023-03-28T01:11:22.678066
2021-04-01T05:23:54
2021-04-01T05:23:54
353,502,239
0
0
MIT
2021-03-31T22:06:49
2021-03-31T22:06:48
null
UTF-8
Python
false
false
3,859
py
#!/usr/bin/env python """ Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ import re from lib.core.common import Backend from lib.core.common import Format from lib.core.data import conf from lib.core.data import kb from lib.core.data import logger from...
[ "55148245+51000000@users.noreply.github.com" ]
55148245+51000000@users.noreply.github.com
7c363abe67e32e125b760f67b97c0168b77ec74a
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/ABC/abc201-abc250/abc248/c/main.py
f8dc5e6782ba90a0e4f2cd025916315e4147dbc5
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
608
py
# -*- coding: utf-8 -*- def main(): import sys input = sys.stdin.readline n, m, k = map(int, input().split()) size = n * m + 10 dp = [0 for _ in range(size)] mod = 998244353 for i in range(m): dp[i] = 1 for i in range(n - 1): ndp = [0 for _ in range(size)] ...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
5ef51b0a8c32b67780cc1894aa59fcc513e7b686
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_3_1_neat/16_3_1_bsoist_a.py
6d05be7fb34134bb8fb5c0df300c6d30f8e63afe
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,334
py
from string import uppercase import sys import itertools def no_majority(nums): total = sum(nums) * 1.0 if total == 0: return True for num in nums: if num / total > 0.5: return False return True def get_indexes(indexes): for a, b in itertools.permutations(indexes,r=2): ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
c2313614e908cd332d7449209ae7c9002a1fad36
4e39dbcd39c746dc661478d601d5e9ae0893b084
/TensorFlow2/Segmentation/MaskRCNN/mask_rcnn/distributed_executer.py
39307cc3ae086fef94b31cc82efb197fe802b345
[ "Apache-2.0" ]
permissive
gpauloski/DeepLearningExamples
2ff368cf0414ad8451a85465f023a94d1a5753f9
81178d2aa6e6eaa88c40727276601b52739ba408
refs/heads/master
2023-02-03T13:33:41.822429
2020-12-14T16:52:31
2020-12-14T16:52:31
254,721,527
2
0
null
2020-04-10T19:42:36
2020-04-10T19:42:35
null
UTF-8
Python
false
false
20,775
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2020, NVIDIA 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/lic...
[ "41076710+nvpstr@users.noreply.github.com" ]
41076710+nvpstr@users.noreply.github.com
1818b2f90162f7c979b4d61341cd65944efcddbd
7cd6a7bc72f0026056a7238c0feea081bfff13a7
/bioprocs/chipseq.py
17d1dc9bfa97f4b60ece6b03c19b086b816f8d32
[ "MIT" ]
permissive
shijianasdf/biopipen
8d963ccca38e2a9d7a46582a5eec45c38924655c
d53b78aa192fd56a5da457463b099b2aa833b284
refs/heads/master
2023-08-18T18:28:03.306877
2019-12-31T16:17:35
2019-12-31T16:17:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,136
py
"""ChIP-seq data analysis""" from pyppl import Proc from diot import Diot from . import params, proc_factory pPeakToRegPotential = proc_factory( desc = 'Convert peaks to regulatory potential score for each gene.', config = Diot(annotate = """ @name: pPeakToRegPotential @description: Convert peaks to regulatory...
[ "pwwang@pwwang.com" ]
pwwang@pwwang.com
fbe02062236e4bf25f50e0a33ec6a97037677819
9431bba2d148f8aef9c0a8f3ca16fcf875890757
/subprocessExer/sleep.py
de3ab7f2f7409196e54a69d6e37f13343f7cbe82
[ "MIT" ]
permissive
terasakisatoshi/pythonCodes
fba0b78414b2c85f4a738200354ea583f0516768
953210c06e9885a7c885bc01047715a77de08a1a
refs/heads/master
2023-05-14T12:30:22.201711
2023-05-07T13:41:22
2023-05-07T13:41:22
197,893,702
2
1
MIT
2022-11-25T10:59:52
2019-07-20T07:09:12
Jupyter Notebook
UTF-8
Python
false
false
30
py
import time time.sleep(10)
[ "terasakisatoshi.math@gmail.com" ]
terasakisatoshi.math@gmail.com
83baef5baf27610966bd935ce8ca757d41264c46
8b441f592a6deb9b0a515cbd92bb4663ad79ffe4
/churn_nrt/src/utils/date_functions.py
5e913922995f1eedd9764317fc84f84cfc6caa46
[]
no_license
carnaum2/use-cases
0d391a6a10bb70b60a4025152a278b0e4c595d01
24920e3828234da691ab643b6dd9a0aa0a5c0df5
refs/heads/master
2022-12-07T03:41:34.299274
2020-09-07T10:20:32
2020-09-07T10:20:32
293,249,567
0
0
null
null
null
null
UTF-8
Python
false
false
9,491
py
import datetime as dt from dateutil.relativedelta import relativedelta import pandas as pd import sys from pyspark.sql.functions import year def get_next_month(yearmonth): """ Given a yyyymm string, returns the yyyymm string for the next month. """ current_month = dt.datetime.strptime(yearmonth, ...
[ "carmen.arnau1@vodafone.com" ]
carmen.arnau1@vodafone.com
f34a9115279a8d7cbc59260fc5acfcab05b942c6
0e25dc15ae9efce8bfd716d4d2041da07767968b
/qbench/benchmarks/QLib/OPENQL_converted/benstein_vazirani_48b_secret_4.py
fc296603b534cdd78fb80f43ed23a31bafc0d90d
[]
no_license
alxhotel/crossbar-bench
f608fc0062b4f8a5162ec33d61c0204aaf27b6ff
3bf7536e7697d29c3089b0ba564ba22d39698b88
refs/heads/master
2021-07-13T16:06:50.085838
2020-10-04T23:39:05
2020-10-04T23:39:05
213,409,122
3
1
null
null
null
null
UTF-8
Python
false
false
5,382
py
from openql import openql as ql import os import argparse def circuit(config_file, new_scheduler='yes', scheduler='ASAP', uniform_sched= 'no', sched_commute = 'yes', mapper='base', moves='no', maptiebreak='random', initial_placement='no', output_dir_name='test_output', optimize='no', measurement=True, log_level='LOG_W...
[ "alxmorais8@msn.com" ]
alxmorais8@msn.com