blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
c64909b719e0c584c9a4cdc20015e2e2f8fcf9f0
0f66f175320140daf15c8c4f85e6af717ebaeec7
/test_supporting_commands.py
ca4d2c14c7d759a46a541d09f8c01312c3cb330c
[]
no_license
PVSemk/IADPythonLab_1
50541536fd21812d5e28e427baa8c20bf3417d4d
520edcefd07499b51afaa0960ce723b00a32e735
refs/heads/master
2020-07-20T06:16:10.717534
2019-09-05T14:51:22
2019-09-05T14:51:22
206,588,312
0
0
null
null
null
null
UTF-8
Python
false
false
4,001
py
import supporting_commands as func # This file contains only testing for functions which are in supporting_commands.py # In the file commands.py there is a number of functions which contain required input checking # Which is not in supporting_commands.py (functions delete_person_by_number or search) # However, prin...
[ "pvsemk@mail.ru" ]
pvsemk@mail.ru
4c21860e5affb23d0bbac4e1610f8389b5a570a8
750edcf8562215b588c0960c6a0d65857026ad14
/synonyms_fuse_model/tfidf_vec_generate.py
e6867548e9c29cc7cec3b4a82623fb98d16e38e5
[]
no_license
laura-zhang-cn/natural_language_preprocessing
7b1b99129a83bf870a01d9ba8d5009ca46caa23c
45b400ba705de5499a5b9a0ac333224e03f94043
refs/heads/master
2021-06-04T12:31:13.321272
2021-05-20T01:10:28
2021-05-20T01:10:28
122,903,175
2
1
null
null
null
null
UTF-8
Python
false
false
8,274
py
# -*- coding: utf-8 -*- """ Created on Fri Oct 12 15:21:04 2018 @author: zhangyaxu 商品描述/标题等数据源 -> 品类上的 合并 训练词的tfidf向量并计算离散向量相似度,返回topn个,并存储到hive中 """ from pyspark import SparkConf from pyspark import SparkContext from pyspark.sql import HiveContext import gc import pandas as pds import numpy as n...
[ "noreply@github.com" ]
laura-zhang-cn.noreply@github.com
1be16efded94fc0540fb6e7f42f81c7f9d858eec
c2983d006139ea69044233af9ae5ff29fe3640ba
/test/postgres_tests.py
59fc5330709e9ef47e1505a9b89fd8ef01e83bfe
[ "Apache-2.0" ]
permissive
nkabir/pyschema
b0b608c6397dfe844876c05d25b67ef41b3dbcdf
d8e6de80f00a59c747beaf6ed53b8316e29762de
refs/heads/master
2021-01-14T09:42:15.671139
2015-04-27T15:38:44
2015-04-27T15:38:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
from unittest import TestCase from pyschema import Record, no_auto_store from pyschema.types import Integer, Text, Float, Boolean, Date, DateTime from pyschema_extensions import postgres @no_auto_store() class MyItem(Record): name = Text() value = Integer() dec = Float() flag = Boolean() date = D...
[ "freider@spotify.com" ]
freider@spotify.com
71cdd0ba41024dbd952e1d2a8ec2527c9e2fb9c6
77fe4a852711bf024b4b481fc4d7f9fa5a6c96c4
/Project 2/Problem 4/problem_4.py
9f3f332fb423378ddbfa6499318a76d03176eb3e
[]
no_license
Abdelaty/Data-Structure-and-Algorithms-Nanodegree
88bbd5d62c89c65d96152eec64acf17a8d434a96
52cb103084f37655701be3c9acb42888161541f4
refs/heads/master
2021-05-17T18:50:17.732854
2020-05-02T18:11:34
2020-05-02T18:11:34
250,926,399
1
0
null
null
null
null
UTF-8
Python
false
false
3,768
py
class Group(object): def __init__(self, _name): self.name = _name self.groups = [] self.users = [] def add_group(self, group): self.groups.append(group) def add_user(self, user): self.users.append(user) def get_groups(self): return self.groups def...
[ "Abdelaty.mohammedmagdi@gmail.com" ]
Abdelaty.mohammedmagdi@gmail.com
f77f5031d2828acf76391e5d475d5883c6790ee9
d7b4727e74d4a8a339c54dc5a15d8872319e7e7c
/playing_around/cv_test.py
011ceb3920e2b8e09354eb269026943c91a334d9
[]
no_license
pussinboot/aal
fbd6a780cb18530f3f72d5b4c4cd9978f37ccfa4
53ea549d7f581bb3b8dd4c009925a89e6e9b924b
refs/heads/master
2022-01-02T19:35:04.817200
2015-10-28T19:40:46
2015-10-28T19:40:46
32,659,873
0
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
import numpy as np import cv2 #image = cv2.imread("cv_test.jpg") #gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) #gray = cv2.GaussianBlur(gray, (3, 3), 0) ##cv2.imshow("Gray", gray) #cv2.waitKey(0) #edged = cv2.Canny(gray, 10, 100) ##cv2.imshow("Edged", edged) ##cv2.waitKey(0) ##cv2.imwrite("edgy.jpg",edged) ## const...
[ "" ]
1be3440a397de19a2731a7caaf67ed5265d6bc63
dfa79b5a899b253df02f2bd1695c3a09458de7a4
/netquants.py~
f3d1adfaa41fcfb6108d606b375c0866eefd0ca3
[]
no_license
DanielKoohmarey/netQuants
806fd9f09a7e52a4d61e9b1588c39b3919229ff6
d91cfaf2ac4de6521b2782ad007f1d69e5e9bc87
refs/heads/master
2020-12-25T10:49:44.228465
2013-05-07T00:28:56
2013-05-07T00:28:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
#!/usr/bin/env python # # Copyright 2009 Facebook # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "leeanna@berkeley.edu" ]
leeanna@berkeley.edu
932e44b66fd1887560fc053e4a525c8d687dc93a
1b71a47534ec5262c6749e701e85320da523cec1
/Code/RealOffice/meeting/migrations/0007_auto_20170307_1854.py
4e84fa10a6abe68d2dd2cae8566409fb0f1d5f2a
[]
no_license
kejriwalrahul/RealOffice
2a82fd07036e2452af923653e8a251730a67017e
077764f2d5ab62eba225557967a08b23a52567e9
refs/heads/master
2021-03-27T20:01:33.255446
2017-04-16T09:21:51
2017-04-16T09:21:51
80,219,099
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-07 18:54 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('meeting', '0006_auto_20170307_1854'), ] operations = [ migrations.AlterFiel...
[ "kejriwalrahul@outlook.com" ]
kejriwalrahul@outlook.com
43a3171c18f24f3e5cf493bcf8576ddb6b9456b6
ebd2df05eae5875f3edd5c891442b9fe1f3d54ee
/empleados/views.py
3b8388bd33952007db18e34edaecbd69330d2a7c
[]
no_license
gfcarbonell/app_navidad
06191ef3b084d40c7a5f387a60407406c2c89d54
fa290f8cf0b4b0d9237b555417fe38f879938adf
refs/heads/master
2020-12-24T11:54:10.514150
2016-11-16T15:37:09
2016-11-16T15:37:09
73,115,163
0
0
null
null
null
null
UTF-8
Python
false
false
6,364
py
# -*- encoding: utf-8 -*- from django.conf import settings from django.views.generic import CreateView, UpdateView, ListView, DetailView from .models import Empleado from .forms import EmpleadoModelForm, EmpleadoUsuarioForm from django.core.urlresolvers import reverse_lazy from rest_framework import viewsets from djang...
[ "r.gian.f.carbonell.s@gmail.com" ]
r.gian.f.carbonell.s@gmail.com
26dace9da5168c53db1423f65ab53c70e82b7187
d131ad1baf891a2918ae27b0dc57f3c0c1f99586
/blog/migrations/0001_initial.py
ec6923c8ffb8cbccaa6e420a5a387c7af1f5ae91
[]
no_license
Alymbekov/TestProjectForDjangoForms
d3bf24844628136f9236d5222d32235e87f7aecd
ce3262e7565e293b691ea70b94b67155c15525bd
refs/heads/master
2020-04-10T05:35:19.516127
2018-12-07T14:24:05
2018-12-07T14:24:05
160,832,149
1
0
null
null
null
null
UTF-8
Python
false
false
713
py
# Generated by Django 2.1 on 2018-11-18 08:19 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(auto_...
[ "maxim.makarov.1997@mail.ru" ]
maxim.makarov.1997@mail.ru
bb46853c01135dbca52d0c9a878620334dfa657b
80a881f0ebb159d1dfe9fa10e93a7f2fcd7f3677
/planb/feedback/models.py
b5ad0abadca32394f000f47dbbe1908ae48d029a
[]
no_license
Grapheme/mayak
42d874080f8233a1d0e709afe48cd2135ddaab98
4f26c290a7df060c65624328087c39a73a8540e7
refs/heads/master
2020-06-06T04:00:10.204791
2015-09-15T17:34:48
2015-09-15T17:34:48
27,764,461
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
# -*- coding: utf-8 -*- from django.db import models class FeedbackManager(models.Model): """ Адреса людей, которые должны получать на email записи из "обратной связи". """ email = models.EmailField() class Meta: verbose_name = u'менеджер обратной связи' verbose_name_plural = u'ме...
[ "etomarat@gmail.com" ]
etomarat@gmail.com
471b28b164af5875eb9670ed6bdea81faaa98ba6
9d1c9a81520437122d9f2f012c2737e4dd22713c
/src/td_clean.py
0b0e3a8e8ad9f059d56a6f5f5dd04748362a15f8
[ "MIT" ]
permissive
geophysics-ubonn/crtomo_tools
136aa39a8a0d92061a739ee3723b6ef7879c57b8
aa73a67479c4e96bc7734f88ac7b35a74b5d158c
refs/heads/master
2023-08-24T01:55:29.517285
2023-08-08T13:03:46
2023-08-08T13:03:46
142,049,690
2
9
MIT
2019-06-06T12:46:42
2018-07-23T17:54:24
Standard ML
UTF-8
Python
false
false
1,791
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Clean a simulation directory of all modeling/inversion files """ import numpy as np import os import glob def main(): rm_list = [] required_files_inversion = ( 'exe/crtomo.cfg', 'grid/elem.dat', 'grid/elec.dat', 'mod/volt.dat') ...
[ "mweigand@geo.uni-bonn.de" ]
mweigand@geo.uni-bonn.de
61525717db91dbf05797d7a00755affc2b82f2be
ff0d4899d63071d0517b6be0ffdd01579bc49fea
/quickgrab.py
a7c49d8903ca6f02f7e1a6cc56d9308bef60828c
[]
no_license
kellyelton/octbot
0bd528e9fc68ddf83f67d228bdba079efba11606
3a50ce63b2dc7949fe4febe57b4ca5bb9668fda8
refs/heads/master
2021-01-15T16:15:06.890789
2013-05-07T01:54:42
2013-05-07T01:54:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
from PIL import ImageGrab import os import time import win32gui def screenGrab(box): im = ImageGrab.grab(box) im.save(os.getcwd() + '\\full_snap__' + str(int(time.time())) + '.png', 'PNG') def winEnumHandler( hwnd, ctx ): whereIsOctgn = () coords = () if win32gui.IsWindowVisible( hwnd ): ...
[ "dan.h.johnson@gmail.com" ]
dan.h.johnson@gmail.com
556a49713f3c38e2aafd9f87264d58fdb55b1646
444c5e47a883bff0c116f00f08ade7f6c75ca235
/install_mac_package_managers
8e3e4cda322bc4ee7d19d5aea3cb9f2e517e3c06
[]
no_license
poulh/p3-setup
86939b4cf69f2ea929cb4789bf7313516daeaa05
c3199a031b30bde802365624e7cc6400df624d4e
refs/heads/master
2020-03-07T19:07:53.842552
2019-12-01T23:16:49
2019-12-01T23:16:49
127,662,891
0
0
null
null
null
null
UTF-8
Python
false
false
4,468
#!/usr/bin/env python import argparse import os import subprocess import sys MANAGERS = [ { 'name':'xcode-select', 'cmds' : [ 'xcode-select --install' ], 'check': 'xcode-select -p > /dev/null' },{ 'name': 'homebrew', ...
[ "poulh@umich.edu" ]
poulh@umich.edu
e3c7ab6be6aaf8422341c9f6c2da618e37250a0c
8eecff47b3165d91b91a29b311a9f105aa6a25c8
/combinations.py
de0baa72e882e7f3e6b2cf0ebcae3411dfd25bea
[]
no_license
Temp-Nerd/All-d-Porgrams-in-d-wurld
dbdb394d4afa9cd4028bd406f4e95efc665f518f
23320f42013f9f5fbd9f1107ac0eea3cdfefb24d
refs/heads/main
2023-02-18T19:00:43.359747
2021-01-22T15:20:50
2021-01-22T15:20:50
331,982,184
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
def factorial (a) : factorial=1 for i in range (a,1,-1) : factorial*=i return factorial def combination (n,r) : n_fact=factorial(n) r_fact=factorial(r) n_r_fact=factorial(n-r) return(n_fact//(r_fact*n_r_fact)) x=int(input('Enter n :')) y=int(input('Enter ...
[ "noreply@github.com" ]
Temp-Nerd.noreply@github.com
60d9422069f85a93dcee9aecd46120c3a7253c69
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/tag/insttask.py
e2820118edd9b39d43659c40ce0995dfd34ecc0b
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
16,985
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
f282c11daf075504bc04c5b5e1c3abc69fdfe691
ac52ef481402457c9c967d8ed4930fb3c0b8cbdf
/projects/models.py
3d6cc872327ba8e52a849e8ad74a268deee9e644
[]
no_license
ShakeelAhmad3/My_Portfolio
7a2e0f5991b25edb3d9f805effca88c24030a399
346ac5599b458d06735fec1af76c7d023e50190a
refs/heads/master
2023-09-02T17:31:00.809363
2021-11-20T11:31:27
2021-11-20T11:31:27
428,708,268
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from django.db import models # Create your models here. class projects(models.Model): title = models.CharField(max_length= 250) body = models.TextField() image = models.ImageField(upload_to='media/') summary = models.CharField(max_length=250) bub_date = models.DateField() def __str__(self): ...
[ "buneeri020@gmail.com" ]
buneeri020@gmail.com
4dacaa30f927134d67f697ebba2cba98678ea517
efbcdc04e5d2d5917328e23f62f0e2b3b585d393
/neuron/analog2digital/soma_mt.py
00beb221c13630b51bd31d82783f2be5ac20ea72
[]
no_license
satya-arjunan/spatiocyte-models
7e43457a170348638998a1382410c00e2d091cd6
b5c29b6be758e971ba016d0334670c2afafd2c31
refs/heads/master
2021-01-17T00:39:29.965797
2018-09-06T07:46:17
2018-09-06T07:46:17
11,064,813
0
0
null
null
null
null
UTF-8
Python
false
false
20,501
py
import numpy as np import math volumes = [5.8822e-18] T = 540000 #nKinesin = 35*2.258e-17/volumes[0] nKinesin = 100 pPlusEnd_Detach = 1 VoxelRadius = 0.8e-8 nNeurite = 5 nNeuriteMT = 5 EdgeSpace = VoxelRadius*5 neuriteRadius = 0.2e-6 MTRadius = 12.5e-9 KinesinRadius = 0.4e-8 Filaments = 13 neuriteSpace = neuriteRadi...
[ "satya.arjunan@gmail.com" ]
satya.arjunan@gmail.com
824d42429d0f17582b537a3d9045cc15c2c88584
78ec5fbacb0a22842e510eca0d8cf76fbb677af3
/api_example/languages/urls.py
7a8ac1f4e794e5ee0cd0d1868b639302e10ab3ba
[]
no_license
FAVORK/Django-Rest
c7302843dff46fcdb339246fcc06c095dda8f1eb
8ec7411aa8972a7910dc06da424446cd4f08273f
refs/heads/master
2020-12-02T20:09:35.184824
2019-12-31T15:11:54
2019-12-31T15:11:54
231,105,640
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from django.urls import path, include from . import views from rest_framework import routers router = routers.DefaultRouter() router.register('languages', views.LanguageView) urlpatterns = [ path('', include(router.urls)), ]
[ "kamaukdan@gmail.com" ]
kamaukdan@gmail.com
774b67059eddcf1cedf719cb61af7c2ced0de7fa
8ecf4930f9aa90c35e5199d117068b64a8d779dd
/TopQuarkAnalysis/SingleTop/test/crabs44/SingleTopMC_TTBarQ2upFall11_cfg.py
da0b2fabbd1a6100f2c5fce7261928493357cfcf
[]
no_license
fabozzi/ST_44
178bd0829b1aff9d299528ba8e85dc7b7e8dd216
0becb8866a7c758d515e70ba0b90c99f6556fef3
refs/heads/master
2021-01-20T23:27:07.398661
2014-04-14T15:12:32
2014-04-14T15:12:32
18,765,529
0
0
null
null
null
null
UTF-8
Python
false
false
13,424
py
import FWCore.ParameterSet.Config as cms process = cms.Process("SingleTop") ChannelName = "TTBarQ2up"; process.load("FWCore.MessageLogger.MessageLogger_cfi") process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True), FailPath = cms.untracked.vstring('ProductNotFound','Type Mismatch') ...
[ "Francesco.Fabozzi@cern.ch" ]
Francesco.Fabozzi@cern.ch
90bb35f751c04a00431dcc41c19d92be007cb65d
731a33f8bb92bad31ab233416d8ef6eb3a9f3fe0
/minlplib_instances/smallinvSNPr2b020-022.py
8348bb9863905664e9dffb15877a5b89b31156af
[]
no_license
ChristophNeumann/IPCP
d34c7ec3730a5d0dcf3ec14f023d4b90536c1e31
6e3d14cc9ed43f3c4f6c070ebbce21da5a059cb7
refs/heads/main
2023-02-22T09:54:39.412086
2021-01-27T17:30:50
2021-01-27T17:30:50
319,694,028
0
0
null
null
null
null
UTF-8
Python
false
false
167,363
py
# MINLP written by GAMS Convert at 02/15/18 11:44:29 # # Equation counts # Total E G L N X C B # 4 0 2 2 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
[ "christoph.neumann@kit.edu" ]
christoph.neumann@kit.edu
1c332720219986262761e730eb3c9f28373b9757
8ca6a90b7db0cd0d7a54f98628359806bf18dcf4
/lstm/datain.py
0f42f87d3d8e190da173bab8feb0f66f3992c574
[]
no_license
kateharline/buckler_lab_projects
39f47daeaf05925156a4a1db904941db7a06feef
904888fa836ba365329e66c331ae500e7a888195
refs/heads/master
2021-05-18T22:32:28.974481
2020-03-31T00:04:07
2020-03-31T00:04:07
251,437,497
0
0
null
null
null
null
UTF-8
Python
false
false
8,559
py
# external libraries import numpy as np import pandas as pd import os import sklearn.preprocessing as sk import pickfamily as pf import platform # import control datasets for testing import control as c ####--------------making matrices-------------############# def txt_to_csv(txt_file): ''' convert txt file...
[ "kharline@wustl.edu" ]
kharline@wustl.edu
b859862094592ded8b548969d924bdcdce8f980c
bf46b65866c1179b49c07e1d428c5a8d6dbdd9c6
/forecasting_revenue.py
6be1403fdc743e52ca57c2fbfa86456850307e3a
[]
no_license
goldiekapur/Time-Series-Analysis-Bike-Sharing-Demand-Forecasting
cd3a28775207ba220cf9f2d9851d125ee02a8385
7d52c48ff88f7db498c9ecb917c1c3b1b65d1802
refs/heads/master
2021-01-09T03:08:35.691840
2019-04-24T23:23:38
2019-04-24T23:23:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,415
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 29 17:25:47 2019 @author: mayank """ import pandas as pd import numpy as np from fbprophet import Prophet from datetime import datetime from sklearn.model_selection import train_test_split from matplotlib import pyplot from sklearn.metrics import mean_squ...
[ "noreply@github.com" ]
goldiekapur.noreply@github.com
fa2af2256e992f5dea361ca6dc8422c6d97e35d1
43ab33b2f50e47f5dbe322daa03c86a99e5ee77c
/rcc/models/study_events.py
73804683abfe9626a9ff78782d4aa06520a3ae77
[]
no_license
Sage-Bionetworks/rcc-client
c770432de2d2950e00f7c7bd2bac22f3a81c2061
57c4a621aecd3a2f3f9faaa94f53b2727992a01a
refs/heads/main
2023-02-23T05:55:39.279352
2021-01-21T02:06:08
2021-01-21T02:06:08
331,486,099
0
0
null
null
null
null
UTF-8
Python
false
false
3,338
py
# coding: utf-8 """ nPhase REST Resource REDCap REST API v.2 # noqa: E501 The version of the OpenAPI document: 2.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from rcc.configuration import Configuration class StudyEvents(object): """NOT...
[ "thomas.yu@sagebase.org" ]
thomas.yu@sagebase.org
a4885e47195c762b6bbaf2e2a19dfdf4aa3f7fc1
2def74312f65dbe7950e9958070a175448d0dcff
/setup.py
6d8538691297cf80515acf61017b67e3b1b9c01b
[]
no_license
JorgeJuarezM/pyqt-examples
9847353d93e94534d1193bb1bc3b33e4fc683f9a
586df9496314c5b62fe0e30d8959feb680a1500e
refs/heads/master
2021-07-20T18:53:33.081825
2017-10-30T04:29:45
2017-10-30T04:29:45
108,799,879
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
""" This is a setup.py script generated by py2applet Usage: python setup.py py2app """ from setuptools import setup APP = ['main.py'] DATA_FILES = [] OPTIONS = {'argv_emulation': True, 'iconfile': './icon.icns'} setup( app=APP, name="Odoo Client", data_files=DATA_FILES, options={'py2a...
[ "contacto@jorgejuarez.net" ]
contacto@jorgejuarez.net
e46fb5b9471464a721d150046158fc9f3b99a474
92e45c3f8460a1b61ba631072af30c1c5fa25c48
/src/chooseplan/urls.py
713acd3162b3d090fde22f6353eb15d2d5efa3bc
[]
no_license
elmiraus/HealthcareNow
ad19bff6c7417dcdb3ed035fbc1bcdf1d5956df6
3f5877fce0cb6b1366dfe3528d5fc1c628b3ac51
refs/heads/master
2020-08-08T07:01:46.378703
2019-10-08T20:53:55
2019-10-08T20:53:55
213,767,892
0
0
null
2019-10-08T22:28:34
2019-10-08T22:28:33
null
UTF-8
Python
false
false
121
py
from django.urls import path from . import views urlpatterns = [ path('', views.chooseplan, name='chooseplan'), ]
[ "jacqueline.rollins@cgu.edu" ]
jacqueline.rollins@cgu.edu
07025217cb00bf91a6ba23c519d15a6c2bff30ad
82a9077bcb5a90d88e0a8be7f8627af4f0844434
/google-cloud-sdk/lib/tests/unit/api_lib/compute/instances/ops_agents/exceptions_test.py
6315b0e3b6f56b2dd728bee1157215665d21febe
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
piotradamczyk5/gcloud_cli
1ae2553595e569fad6ce84af62b91a7ee5489017
384ece11040caadcd64d51da74e0b8491dd22ca3
refs/heads/master
2023-01-01T23:00:27.858583
2020-10-21T04:21:23
2020-10-21T04:21:23
290,238,061
0
0
null
2020-10-19T16:43:36
2020-08-25T14:31:00
Python
UTF-8
Python
false
false
1,861
py
# -*- coding: utf-8 -*- # # Copyright 2020 Google LLC. 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 requir...
[ "code@bootstraponline.com" ]
code@bootstraponline.com
faa5ddf2e6adabec7e26614f98bcb1343fb7633b
d18626d8f6f023e6e583f13dafea677c01b002bc
/test-wi-sub-pipeline.py
58386666c85cdccfde266d66ee5e0df348e4aeb3
[]
no_license
kmsmith137/rf_pipelines
b3c596e1977ff9821a906cd279d128baf05edd68
4ecf6f9a909ef185cc03335339829f2b438cd1c0
refs/heads/master
2022-03-08T13:49:09.400064
2020-09-06T22:57:53
2020-09-06T22:57:53
61,664,765
2
6
null
2022-03-03T18:05:58
2016-06-21T20:25:17
C++
UTF-8
Python
false
false
5,939
py
#!/usr/bin/env python # # Tests wi_sub_pipeline, in special case Dt=1 for now. # Also indirectly tests jsonize/from_json() for a few transforms. # # FIXME cleanup: combine with test-cpp-python-equivalence.py import numpy as np import numpy.random as rand import rf_pipelines def make_random_transform(): transform...
[ "kmsmith@perimeterinstitute.ca" ]
kmsmith@perimeterinstitute.ca
f414faf29603d9e40eddaabc2774538b2a0c5f56
0e6f16fe472c164134048f4356662cd91e1ad37c
/DJANGO_PROJECT/settings.py
bfdbc920d1c168d5bfa691afd0f58d913913dd66
[]
no_license
neel0812/quick
e35d1ec7ff809f4a9a9c9734ed0496f6152e7cde
142d9e6429ade89f6d43a563dd31cd00a275b316
refs/heads/master
2022-12-23T04:30:38.670543
2020-10-01T05:32:12
2020-10-01T05:32:12
300,156,149
0
0
null
2020-10-01T05:27:50
2020-10-01T05:27:49
null
UTF-8
Python
false
false
2,183
py
import os BASE_DIR = os.path.dirname( os.path.dirname(os.path.abspath(__file__)) ) SECRET_KEY = "o7fa-3u*pqnf@9_@@-d-)$4@*f56-j+4#cv25_3h3h=5u7)ah%" DEBUG = True ALLOWED_HOSTS = [] INSTALLED_APPS = [ "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes", "django.contrib...
[ "srpatel980@gmail.com" ]
srpatel980@gmail.com
84ed64371f199639424fba91bfd98c0c5eec0792
bdff2f51d12aa4329df511ec1f5564c0cb9b14fe
/tests/integration/adapters/test_mongo_projects_repository.py
8aebb4543a985a1f7445567d2c6bc077072b3526
[]
no_license
jdgillespie91/projects-api
caec3e5af8979e512100545c4f799f3ccff4e287
b1df9447dedfd3fe9d875f4372160b9dd770548c
refs/heads/master
2021-04-29T06:36:30.004810
2018-06-03T14:40:04
2018-06-07T19:24:18
77,964,889
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
from pymongo import MongoClient from pytest import fixture from projects.adapters.mongo_projects_repository import MongoProjectsRepository from projects.entities.project import ProjectSchema @fixture(scope='module') def database(): client = MongoClient( 'mongodb://mongo:27017/', socketTimeoutMS=3...
[ "jdgillespie91@gmail.com" ]
jdgillespie91@gmail.com
80ffd316b9bbc8a682e4c8e9e842d3020e7a8472
545536daea315e31e01e388326e21a317f73dc6c
/Guddu on a Date.py
f390db81dd0b921ac0e786f7bc984075e63bfca0
[]
no_license
calkikhunt/CODE_CHEF
3cd4db7d2231dc31a045645da08c52a78edda6b6
81bb90368822bc77e70582ab3eae1a4244e6c80f
refs/heads/master
2022-04-18T08:43:23.900118
2020-01-29T09:31:35
2020-01-29T09:31:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
t=int(input()) for i in range(t): ctrcopy=19 n=int(input()) ptr=0 while ptr<(n): ctr=ctrcopy check=str(ctrcopy) doublecheck=str(ctrcopy+19) sumdigi=0 while ctr>0: use=ctr%10 ctr=ctr//10 sumdigi+=use if sumdigi%10==0 and ...
[ "wimpywarlord@gmail.com" ]
wimpywarlord@gmail.com
34b4dcbd61262a45e923027007b9cb5f120328f2
1391c61927d4074254525950c71d9a2b9a63d2c9
/My_second_Project/My_second_Project/settings.py
318f94b331fbe5103e34c7ab11d02b992a45e540
[]
no_license
bridgecrew-perf7/django-deployment-21
69a372d3bb69bb17459d5b6d2e2bc5fcfee66e43
4427466274723e66fedabfc94df188b871b620ed
refs/heads/main
2023-07-13T20:57:58.883444
2021-08-15T10:38:28
2021-08-15T10:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,399
py
""" Django settings for My_second_Project project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ fr...
[ "tareqhasan2007@gmail.com" ]
tareqhasan2007@gmail.com
b0707b9174477ff856490eef4c8f850d69768242
76dc1118958fdd709a27b826457fede99498a88d
/miner/address.py
9e610104d7dfe30ac07012f2ed5f64d8dac3c57e
[ "MIT" ]
permissive
JesseEmond/pickaxe
5246301e0af1c6f573ea509f7524e40757ed690d
73b5eebbe00d658dc37a23b5bfc2eb0c2e48b2a4
refs/heads/master
2020-12-01T11:40:49.336817
2016-04-29T04:12:06
2016-04-29T04:12:06
66,162,585
1
0
null
2016-08-20T18:44:34
2016-08-20T18:44:34
null
UTF-8
Python
false
false
558
py
from base58 import b58decode_check def p2pkh_address_to_pubkey_hash(address): """ Takes a P2PKH address (starting with a 1, m or n symbol) and extracts its HASH160 hash (used as a public key hash). :see: https://en.bitcoin.it/wiki/List_of_address_prefixes :param address: P2PKH public address ...
[ "emond.jesse@gmail.com" ]
emond.jesse@gmail.com
dac834b379278ddf5e2bc0403e4ac406d9aea1e4
4f6ad7cdea2cab5fe89df34f6e5158e4b77837c3
/server/dvaapp/serializers.py
746c7a13a61f2e3b5f38663e2f1bf6dacfb29986
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
ginusxiao/DeepVideoAnalytics
7194d83b518976340cd834e4e6a8ab9b164a2e3f
52c38c729b1a114cc46e641943e3e28a68428e25
refs/heads/master
2020-03-18T21:40:31.811272
2018-05-29T10:16:20
2018-05-29T10:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,156
py
from rest_framework import serializers, viewsets from django.contrib.auth.models import User from models import Video, Frame, Region, DVAPQL, QueryResults, TEvent, IndexEntries, \ Tube, Segment, Label, VideoLabel, FrameLabel, RegionLabel, \ SegmentLabel, TubeLabel, TrainedModel, Retriever, SystemState, QueryReg...
[ "akshayubhat@gmail.com" ]
akshayubhat@gmail.com
f349e2ae3c868492cbe120dac5a23192b4e8183c
a2aef0303eceb97e121392c6e23704bc42cf606a
/venv/Scripts/easy_install-script.py
bda2ce6ee9eccc23161dedbf05d9743be3e7f841
[]
no_license
khisomovkomron/bdd-test-framework
3dded546d388f54ad765028af605d36f4e1142b3
94aa00236336b270bdb0b85484bbfef781068363
refs/heads/master
2023-02-04T10:26:05.847056
2020-12-25T14:06:15
2020-12-25T14:06:15
324,369,459
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
#!C:\Users\komro\PycharmProjects\BDD_Framework\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "normok_9595@bk.ru" ]
normok_9595@bk.ru
dd17b924d8c1cdced32a20a58454603aebae7f7e
dea39b5d71a51923b0690ad2663371f863e56d92
/app/__init__.py
eb88621efb0d0498123ef26e697cb1983e2c9a9a
[]
no_license
kamillacrozara/flask-base
c41b4a32dd5923e2f414e4d8af475189c1be7cfc
88efcaaeb8138bbedf7ffecd94fee883977d8a1d
refs/heads/master
2021-01-21T02:01:28.089332
2016-06-15T21:45:25
2016-06-15T21:45:25
61,230,056
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from config import config db = SQLAlchemy() def create_app(config_name): app = Flask(__name__) app.config.from_object(config[config_name]) config[config_name].init_app(app) db.init_app(app) # attach routes and custom error pages h...
[ "holanda.kamilla@gmail.com" ]
holanda.kamilla@gmail.com
2233f57c3679133af081bb703969e9eb6bbad208
710f7ad3af10c79aabb0cf0f64203d968e0057d8
/add_data.py
a8595e4a9deeb7e872ac759e7cf4414f35164720
[]
no_license
tentotal/telegram-bot
dc986e79c01fe249c6a0cc16b8cdae8e3f4934d6
97bf882c572c4ec22841542bb5d252541bad9a70
refs/heads/master
2020-03-07T22:17:29.129819
2018-04-02T12:03:36
2018-04-02T12:03:36
127,750,135
1
0
null
null
null
null
UTF-8
Python
false
false
3,973
py
import sqlite3 conn = sqlite3.connect('data.db') c = conn.cursor() def create_table(): c.execute("CREATE TABLE IF NOT EXISTS BlueCheese (mood TEXT, url TEXT, file_id TEXT, caption TEXT)") def add(mood, url, file_id, caption): conn = sqlite3.connect('data.db') c = conn.cursor() c.execute("I...
[ "noreply@github.com" ]
tentotal.noreply@github.com
f8881798d5ff65d89336d5d349a7c1f28b288ccd
1275fe3e7cfe893c9a5f922c60fa4426eb155dbb
/legacy/cuda-convnet2/python_util/util.py
7aeec4217ef87546f6414f399ec375ad38272839
[ "Apache-2.0", "MIT" ]
permissive
elhuhdron/emdrp
5f4b057986580139ce4de9a3a01083d717b90541
0c48f3325dd255d0ae06a89033e34cdc958ac4ab
refs/heads/master
2021-12-28T20:45:41.418547
2021-10-21T13:33:26
2021-10-21T13:33:26
47,223,300
5
1
MIT
2021-09-24T14:47:36
2015-12-01T23:11:46
Python
UTF-8
Python
false
false
2,867
py
# Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "pwatkins@gmail.com" ]
pwatkins@gmail.com
a17d7cd9fdcdc856d383afb6531cce96e9bb9932
1ff376da81912600e0f8b3d45ea061d9418a654c
/backend/weeklypulls/apps/series/models.py
219c094f4f48347bc1312ed8e9e5114862031b13
[]
no_license
rkuykendall/weeklypulls
9c3448665b3a18cc0375ad40a60ad71008bb4e89
e8300a6f28f6ce959130865e8bcf8c365033b2ce
refs/heads/master
2021-01-17T19:51:43.702126
2017-12-18T12:16:28
2017-12-18T12:16:28
61,999,182
0
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
import os from django.db import models from django.contrib.postgres.fields import ArrayField import marvelous from weeklypulls.apps.marvel.models import DjangoCache class Series(models.Model): series_id = models.IntegerField(unique=True) read = ArrayField(models.IntegerField(), default=list) skipped = ...
[ "robert@rkuykendall.com" ]
robert@rkuykendall.com
21426abe1f48a898a33972d629c9120481bac87b
c59e65267ca6b2cea83cc00a136cd4e1a18da0a1
/PyBuildingData/PyBuildingData.py
755af6db79d9301d457890386955c27e25452430
[ "MIT" ]
permissive
victorcalixto/FOSS-BIM-Experiments
c46bb4cd6a0f1e2d240f98f86296735bcd6748cb
9a4a126b7ba4bff43dec21fa1560b4d22ae34558
refs/heads/main
2023-08-14T20:20:01.833767
2021-10-01T09:02:13
2021-10-01T09:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,510
py
# Helpers #Primitives def PointXY(x,y) def PointXYZ(x,y,z) def Line2D(PointXY,PointXY) def Arc2D(PointXY,PointXY,PointXY) def PolyCurve sqrt2 = 1.414213562 # Squareroot of number 2 def find_in_list_of_list(mylist, char): for sub_list in mylist: if char in sub_l...
[ "30430941+DutchSailor@users.noreply.github.com" ]
30430941+DutchSailor@users.noreply.github.com
e47f403cff42f8e7b4e57a819f1862876c988f13
23414270f524b36972140bd9044300ada3a28136
/密码体制算法实现/密码体制---ElGamal/ElGamal.py
9f44a89c9204be14e6ef8501456a57da819a8bd7
[]
no_license
Jing0607101510/CryptoAlgorithms
421f463f5dc3e4701e8d1a5c7fbea6f772e92367
a0a78b37b1fd07db75ea7e5ef88c2c9cfee95ced
refs/heads/master
2021-10-09T06:57:25.105848
2018-12-23T06:46:20
2018-12-23T06:46:20
162,868,862
2
1
null
null
null
null
UTF-8
Python
false
false
4,331
py
from PyQt5.QtWidgets import QApplication, QWidget import sys from ElGamal_ui import Ui_Form import random class ElGamal(QWidget, Ui_Form): def __init__(self): super(ElGamal, self).__init__() self.setupUi(self) self.setupSignal() self.setupData() def setupSignal(self): s...
[ "1293521172@qq.com" ]
1293521172@qq.com
fee7f65b768ca3c7ee0d20fcf3e77badd3499824
ed496f92c738f3d6f169b48d9c6f47390a2693b8
/EasyOrders/wsgi.py
01ef649a12cbc712df630619cf50a142834744c4
[]
no_license
yatharta/EasyOrders
642074db6c03ff00ba28e3dc12ffce3ded1c54cd
729e3574a82b13b96f9b60a84640e10fe9c664bc
refs/heads/master
2023-06-19T17:07:14.151804
2021-04-17T17:12:06
2021-04-17T17:12:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for EasyOrders project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "60061690+tiwari1302@users.noreply.github.com" ]
60061690+tiwari1302@users.noreply.github.com
dc87d52a4a3efca7e2c41d6882afd2891afdd885
1b622808bd714e3c770c811bfa6aed0b36693928
/30.py
1453dce7785baf4be61fffc89a73d01df55b6983
[]
no_license
dinob0t/project_euler
a4d9a28b2994b64ea6ad064b05553f13ad38fc6d
b0fed278ae2bfc1bfe44043f2b02482ebc210a56
refs/heads/master
2020-09-12T14:07:16.137051
2014-09-01T16:16:49
2014-09-01T16:16:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
def sum_power_digits(num,power): num_str = str(num) num_sum = 0 for i in range(len(num_str)): num_sum = num_sum + int(num_str[i])**power return num_sum def find_max(power): nine_list = [] nine_list.append('9') nines = int("".join(nine_list)) while nines < sum_power_digits(nines,power): nine_list.app...
[ "dean.hillan@gmail.com" ]
dean.hillan@gmail.com
e05b8c8908428641797fabbd3dc891fe97237cdb
8b30f1b8bcee0e8428a183e944ab01d4bd8912a3
/Trees/_tree_abstract.py
deecacfa9ed3ad4cfc86f7fe9aa76b3fc90a00f5
[]
no_license
hayleymathews/data_structures_and_algorithms
1cd2bb4358e8f8a9681b79e2cf862dc51be4a4b6
ef89e4c89cb014d0acea1669f927cadc6af70225
refs/heads/master
2020-09-02T13:27:15.083968
2018-01-27T20:42:46
2018-01-27T20:42:46
219,231,977
0
0
null
null
null
null
UTF-8
Python
false
false
3,872
py
"""python implementation of abstract class for ADT Tree""" from abc import ABC, abstractmethod from Queues.linked_queue import LinkedQueue class Tree(ABC): """ abstract class representing a tree structure """ class Node: def __init__(self, value): self.value = value def __...
[ "hmathews.tulane@gmail.com" ]
hmathews.tulane@gmail.com
481ae39bdd81c05407a95d88b256471c8e60c9a3
d7327e6f2a68da73da2f2a99128da0e8a4a1b5d1
/cache/.mako.tmp/post_helper.tmpl.py
8989eeefff5685cabf849085b186c2f1957c7e3b
[]
no_license
ryandkerr/nikola-ryandkerr
62d1d12aa65a05a8ea0aa304431a4e22109e130e
8c402e7f453948df66d9b4bdb4b2c661ff5213fa
refs/heads/master
2021-01-23T13:49:47.540182
2015-06-30T02:01:15
2015-06-30T02:01:15
37,417,504
0
0
null
null
null
null
UTF-8
Python
false
false
9,719
py
# -*- coding:utf-8 -*- from mako import runtime, filters, cache UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 _modified_time = 1435629633.56992 _enable_loop = True _template_filename = u'/home/ryan/.virtualenvs/nikola-web/local/lib/python2.7/site-packages/nikola/da...
[ "ryankerr@college.harvard.edu" ]
ryankerr@college.harvard.edu
6197cdabb7c4583ac32673f476142d255aaa856f
d65499ebd34c4fb8095294b12619104efbbd8ee4
/Airflow Writing/main_code.py
2c2325b4f3e04e8e185fae5014555c6833c0d61d
[]
no_license
ashishsingh99/AirFlow-Writing
3135a93a95c0b22e97ca4a8a91584ddaaea9fe3f
696b66ab44751f5b256b1fe8591bc17abb8d6ebe
refs/heads/main
2023-05-29T03:14:36.446736
2021-06-13T13:28:24
2021-06-13T13:28:24
376,550,471
1
0
null
null
null
null
UTF-8
Python
false
false
2,451
py
import cv2 import numpy as np #### global #### x,y,k = 200,200,-1 cap = cv2.VideoCapture(0) ################################################ ############# func def ######################### def take_inp(event, x1, y1, flag, param): global x, y, k if event == cv2.EVENT_LBUTTONDOWN: x = ...
[ "noreply@github.com" ]
ashishsingh99.noreply@github.com
9aec856b0fb1eb94d3f55b1249194e4c210932aa
1f3f0dc8799dac1e7974b1b05211c2bb863db787
/Asakura/3set/part26.py
f09145e1e0d00d37716d85d01ebdf63eb69112a2
[]
no_license
m-note/100knock2015
665bb27bc84a0eacaa795523b5e65a5b64c426ac
84cd1d0617b0b5c15f64e593dd2e0ae21a4dcef7
refs/heads/master
2021-01-18T19:41:54.111994
2015-07-28T16:15:53
2015-07-28T16:15:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
#!usr/bin/python #--*--coding:utf-8--*-- #強調マークアップの除去:025の処理時に、テンプレートの値からMediawikiの強調マークアップを除去してテキストに変換せよ import sys import re if __name__ == '__main__': inputfile = open(sys.argv[1],'r') re_start = re.compile('\{\{基礎情報') re_end = re.compile('\}\}') re_temp = re.compile('\|(.+?) = (.+)') re_ref = re.comp...
[ "tennisabc562@gmail.com" ]
tennisabc562@gmail.com
7ae8008a08ca52e7b57bd92704d3e8870be2f0c6
97c6ea9a1e561d9a8ac250c90b15ecf3cda6af44
/models/pointnet2_seg.py
68db21bd2f9cb874105111d5f93db8c56ad04153
[]
no_license
li1901/Pointnet2.PyTorch
4d216aa92526e294ce38469b48025913a2d5350f
1b98042fa286ce13db5cbfeb498f0f64dc1487b4
refs/heads/master
2023-01-08T23:15:51.981693
2020-11-14T03:02:12
2020-11-14T03:02:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,406
py
import torch import torch.nn as nn import torch.nn.functional as F from utils.set_abstraction import PointNet_SA_Module, PointNet_SA_Module_MSG from utils.feature_propagation import PointNet_FP_Module class pointnet2_seg_ssg(nn.Module): def __init__(self, in_channels, nclasses): super(pointnet2_seg_ssg, s...
[ "lifazhu@deepglint.com" ]
lifazhu@deepglint.com
e7e5c5a12d2160bfbdb3aa8eb09df7b667911baf
0a8619f073dd199f054eff1947d3d5a66f0f160c
/4.py
cabb6877cdb802c615eceb7b09bd24fcfd2db1e3
[]
no_license
rainmayecho/applemunchers
70fc858eb6d9086365398b1515abac9e3fd265dd
cd1e92836eac53a781597bf316d80bcf0cba9dfb
refs/heads/master
2021-01-18T22:24:48.087329
2013-09-10T16:55:47
2013-09-10T16:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
def func(): i=900 palindrome = 0 for x in range(i,1000): for y in range(i+1,1000): if is_palindrome(str(x*y)) and x*y > palindrome: palindrome = x*y return palindrome def is_palindrome(input): string = list(input) string.reverse() if list(input) == stri...
[ "sanguinex9@gmail.com" ]
sanguinex9@gmail.com
9b7d397ba307c03c0cd50292f30ea2770a2a8816
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02623/s581456736.py
db739a5bab8b529088885d50f94a895ce4eb8e86
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
n, m, k = map(int, input().split()) a = list(map(int, input().split())) b = list(map(int, input().split())) a_num = 0 b_num = 0 book_num = 0 passed_k = 0 for i in range(n): if a[i] + passed_k <= k: a_num += 1 passed_k += a[i] else: break for i in range(m): if b[i] + passed_k <= k: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6ac0c907489a203ecfc7642cfbef6fc7477c2e62
1287456060aa52a0338ab3928c300a14779f9a30
/SRP/tasks.py
f054f4a1446e36b72b5887a09929672704735830
[]
no_license
maxm11/Full-Stack-Senior-Research-Project
66a9dc0e817556c0a0806740aba65535adeca9ef
68e5d80343881bdee0335f39e95063897bc4e8d6
refs/heads/master
2021-03-27T08:31:03.530687
2018-12-05T06:28:55
2018-12-05T06:28:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,219
py
# Create your tasks here from __future__ import absolute_import, unicode_literals from .models import Entity, Experience, Sentence, Noun from decimal import Decimal from .libs.nlp import tone from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from background_task import background...
[ "maxmrphy@gmail.com" ]
maxmrphy@gmail.com
d0ab779d19449025bfcd4a9b8f4ae12d101f3ed3
a63d907ad63ba6705420a6fb2788196d1bd3763c
/src/api/dataflow/modeling/job/job_driver.py
fb79d2645b77791a5e854507749137ec274c3ec8
[ "MIT" ]
permissive
Tencent/bk-base
a38461072811667dc2880a13a5232004fe771a4b
6d483b4df67739b26cc8ecaa56c1d76ab46bd7a2
refs/heads/master
2022-07-30T04:24:53.370661
2022-04-02T10:30:55
2022-04-02T10:30:55
381,257,882
101
51
NOASSERTION
2022-04-02T10:30:56
2021-06-29T06:10:01
Python
UTF-8
Python
false
false
10,200
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ------------------------------------------...
[ "terrencehan@tencent.com" ]
terrencehan@tencent.com
7d57e61792fab366f859e0ad676e16d0a883424a
d51735cfc00ea4e536c44bf8309db5e28f704972
/myutils.py
984dda6f6df5a6640dc986d6aac510503c35aa28
[]
no_license
bhavyagera10/Attn-to-FC
23733adec8d658788f229aaf17a84f1694ef42ec
ba421d16e317b4b94a2c828f285689a5e2537e97
refs/heads/master
2022-11-21T05:54:33.982663
2020-07-27T21:30:31
2020-07-27T21:30:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,178
py
import sys import javalang from timeit import default_timer as timer import keras import numpy as np import tensorflow as tf import networkx as nx import random # do NOT import keras in this header area, it will break predict.py # instead, import keras as needed in each function # TODO refactor this so it imports in ...
[ "shaque@nd.edu" ]
shaque@nd.edu
881bf26ac89b923944c31b113c5a4250cb30de70
780c45da6388931381d911499723c5afa8a44036
/run_test_c30.py
ce1a8a664e0893aa42c5eaf89ed0835150c1a6ad
[ "Apache-2.0" ]
permissive
daitouli/metaheuristics
f9157bd700957072a69c0be03d8d34378533581c
9d885e4c9e9f39ad22baa9ea5d263d5daa276f88
refs/heads/master
2021-02-04T18:40:47.387347
2019-09-30T06:51:26
2019-09-30T06:51:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
import pandas as pd from models.multiple_solution.swarm_based.ABC import * from models.multiple_solution.swarm_based.BMO import * from models.multiple_solution.swarm_based.BOA import * from models.multiple_solution.swarm_based.EPO import * from models.multiple_solution.swarm_based.HHO import * from models.multiple_solu...
[ "nguyenthieu2102@gmail.com" ]
nguyenthieu2102@gmail.com
a13082ba9e21bf1a732e1cfa9a5f593917aa62c5
84ac452582ba1f2a5ba48f490a21ef62ecd502d5
/build/android/tombstones.py
39fa5050e3a92dc3e847dc5f0152493dc613b183
[]
no_license
stanislavalbreht/sandbox_test_2016
e215a45a48be6b31873c1ad5510f232ee80107aa
0e6e0c265d6af23f6eeac510d57271d6aa0de5c4
refs/heads/master
2021-01-10T03:26:10.886636
2016-01-27T08:29:27
2016-01-27T08:29:27
50,448,216
1
0
null
null
null
null
UTF-8
Python
false
false
8,533
py
#!/usr/bin/env python # # Copyright 2013 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. # # Find the most recent tombstone file(s) on all connected devices # and prints their stacks. # # Assumes tombstone file was created ...
[ "fatalerr@yandex-team.ru" ]
fatalerr@yandex-team.ru
5037790cae63e5d0725dbad341711f5906ac6bd6
705a1a6b909cb8456780e10e28cb255fc17acde5
/Jubilacion.py
f3ef2e2c421b3909d50656af5bd7d505ec8ef870
[]
no_license
danistenia/Calculadora-Pensiones-AFP
7b321ce4ea8beedde3436547d4acabc886d2663e
145c20778f975e53e4b3a6fddda0cd427efdc358
refs/heads/master
2022-12-06T15:21:50.362452
2020-08-15T20:56:35
2020-08-15T20:56:35
287,823,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
import streamlit as st from enum import Enum from typing import List def jubilacion(sueldo_clp,tasa,tiempo_años,capital_actual,sexo): for i in range(0,(tiempo_años*12)+1): if i==0: aporte = ((sueldo_clp/0.83)*(1+0.01/12))*0.1 + capital_actual else: a...
[ "noreply@github.com" ]
danistenia.noreply@github.com
2a55fd29b450411bb3c2a75e589f5359a2f3f9bf
d580e171f80540923e56fce88655b5c6b42af6c1
/python_code.py
76654fcf64c5aa00c0a28167bd11f8e1f80af8d3
[]
no_license
trushadesign/github-example
b81a8276d4a1ff2cb97b6bc30c172cd669921045
4d8f75421a0a75b74b3dbddfa7cee82a5e598bc8
refs/heads/master
2020-11-29T11:07:42.071586
2019-12-25T12:57:26
2019-12-25T12:57:26
230,099,784
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
print("Hello Github!") git status
[ "serhii.vichev@MacBook-Air-Serhii.local" ]
serhii.vichev@MacBook-Air-Serhii.local
e49f2894a3ab9c1a654ba0df022d7398b7113dc5
85455c059499f6df9648defd7bbf44d9a3963a6a
/app/models.py
40fa912bd68ea0ad93da96bccf4cd1d190150dcb
[]
no_license
zoneneo/hanzi
6951024bf99eead7cace58f78b12daa21f610268
6f35785120a3733b656c3baef12518112d6df4b6
refs/heads/main
2023-02-20T19:40:35.767078
2021-01-26T10:05:35
2021-01-26T10:05:35
327,545,310
0
0
null
null
null
null
UTF-8
Python
false
false
9,543
py
# -*- coding: utf-8 - from .exts import db from sqlalchemy import Column, text, func, Index, outerjoin, and_ from sqlalchemy.ext.declarative import declared_attr from sqlalchemy import distinct from sqlalchemy import desc from sqlalchemy import update from sqlalchemy.orm import aliased from sqlalchemy.types import Typ...
[ "zoneneo@hotmail.com" ]
zoneneo@hotmail.com
6a7aa84cda5df60cadffb73eb06bb8813fea8c4c
0d1548f0fc2eeabfb663b3523e062df4413cd7ae
/manage.py
b3be62c86cff2966d667623c28727ccca9a80445
[]
no_license
rachanabhagwat15/Stock-Market-Prediction
3f6ab7ea3c919cade1e9effa09e79522f82e6447
bae1b983b846501114228f520dbf9cda0df8caad
refs/heads/main
2023-02-15T20:41:19.433982
2021-01-17T04:47:50
2021-01-17T04:47:50
330,315,606
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Stock.settings') try: from django.core.management import execute_from_command_line ex...
[ "noreply@github.com" ]
rachanabhagwat15.noreply@github.com
fda5dcaafbc12d591a25e04eff5dae783cabda9c
588fc7a74ec467f708a6e0684870929cf4c99234
/30.py
35cbe344ed9066e19a2c3529531b46c502dfd342
[]
no_license
petitviolet/project_euler
87710cd1b5138d6fea15a563c5a23b23c2b3c870
03f62a400708bd5cd4370456178c2ee63fb717db
refs/heads/master
2020-05-27T10:56:32.187374
2013-05-16T00:16:38
2013-05-16T00:16:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
# -*- encoding:utf-8 -*- def sum_order(n): if n == 1: return False str_n = str(n) order = [int(s) for s in str_n] result = 0 for o in order: if o == 0: pass else: result += o ** 5 if n == result: return True else: return False ...
[ "violethero0820@gmail.com" ]
violethero0820@gmail.com
1548e71eb3e56b1454fba2ebb60d6ebcd1105cfe
4f03a65a6af608a8fb2d0049f6b1237532585925
/src/apconf/mixins/cms.py
347eaec1e8516b1276f09a493216a5910b076ab1
[]
no_license
pymallorca/pymallorca
865f0cfa1fa693b7b488330236691eb8c6c4bf2b
048d41e02c305d6ccbe67ebf99ca519af6698109
refs/heads/master
2020-06-09T04:08:37.359739
2014-11-24T23:30:49
2014-11-24T23:30:49
26,458,565
2
0
null
2014-11-22T11:36:36
2014-11-10T22:20:06
Python
UTF-8
Python
false
false
918
py
# -*- coding: utf-8 -*- from apconf import Options opts = Options() def get(value, default): return opts.get(value, default, section='CMS') class CMSMixin(object): CMS_SEO_FIELDS = True CMS_REDIRECTS = True CMS_SOFTROOT = False CMS_TEMPLATE_INHERITANCE = True CMS_MENU_TITLE_OVERWRITE = Tr...
[ "gshark@gmail.com" ]
gshark@gmail.com
c83b1d17781b0f8bb755ab8da5af3e52437121b5
dc397dcb1f6210c6e1bde1c8650428ab84239e72
/sandbox/mooncake2.py
9cafb0fcea00859b571a86dcaedb5e2cbc3bc774
[]
no_license
ccurro/font-bakers
963a939736ececa9ab8ceb0756fd9507c285de7e
9e0a7e726a7c2c46e56a8a79168afe3efc4648fb
refs/heads/master
2020-04-07T01:03:24.898430
2019-04-29T21:31:49
2019-04-29T21:31:49
157,929,015
5
0
null
2019-04-29T21:32:20
2018-11-16T22:38:06
Python
UTF-8
Python
false
false
9,070
py
#!/bin/python import numpy as np import torch from torch import nn, optim import torch.nn.functional as F import matplotlib.pyplot as plt DEVICE = "cuda" if torch.cuda.is_available() else "cpu" BATCH_SIZE = 512 NUM_BLOCKS = 16 NUM_TRAIN_ITERATIONS = 10000 SEED_LENGTH = 20 class CausalConv1d(nn.Conv1d): # From A...
[ "noreply@github.com" ]
ccurro.noreply@github.com
2101e8141de93508a3429d18ac2ef38c874c6d79
99df1b7e2323ced0f2b2c9d6e2696136ef7521d7
/medproject/medapp/migrations/0002_auto_20210126_2242.py
a9c1f27b9f95d15ec1e8c42c71e1a60c9ab7180f
[]
no_license
Resa-Obamwonyi/med_appointment
f3d6abe0e88d38b863a9ebf3eb6dff150b45da68
0bd30c267d7726d030c81679b1bd592f6f05708b
refs/heads/main
2023-02-24T14:35:42.106402
2021-01-27T19:32:09
2021-01-27T19:32:09
333,034,260
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
# Generated by Django 3.1.2 on 2021-01-26 22:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('medapp', '0001_initial'), ] operations = [ migrations.AlterField( model_name='appointment', name='end_time', ...
[ "theresaobamwonyi@gmail.com" ]
theresaobamwonyi@gmail.com
23b938e1ab8367b219527b79832098965d421692
b306123b0b6a7751357bfd553763f2d9cb62689d
/transformers/authors_transformer.py
21690931b1659e814655a1338a37a909c5e6e461
[]
no_license
aascode/detecting-deception-in-political-debates
cc3e326493199fbc7fa94d8cf06821dce5d52c10
5f7c007e82fef1792aa7982bfb630cd0ddf057aa
refs/heads/master
2022-03-22T22:05:47.891021
2020-01-05T04:07:59
2020-01-05T05:26:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
from transformers import BaseTransformer class AuthorsTransformer(BaseTransformer): def __init__(self, data): self.names = ['AUTHOR_TRUMP', 'AUTHOR_CLINTON', 'AUTHOR_OTHER'] transformed = [] for author in data: is_trump = 1 if 'TRUMP' in author else 0 is_clinton = 1...
[ "34142780+fire0@users.noreply.github.com" ]
34142780+fire0@users.noreply.github.com
cc83e1f6b8d5643656dcc69ec20fd57b14143940
c79d32b780dccf68c66a693ccc93969bae805d9c
/FP/Treino Exame/ex 3.py
466640675603564afb5d5eff19f3d11d320333c2
[]
no_license
Tiburso/Trabalhos-IST
1ac065bd1328f37ff8d3d90960cae25ddafd5d27
2e473c3bf8a536899304c58b24e45f433962f2a4
refs/heads/master
2021-01-15T00:56:00.603234
2021-01-03T15:51:34
2021-01-03T15:51:34
242,820,217
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
def codifica(num): n_f = 0 i = 0 while num > 0: if (num % 10) % 2 == 0: if num % 10 != 8: n_f += (num % 10 + 2)*10**i else: if num % 10 == 1: n_f += 9*10**i else: n_f += (num%10-2)*10**i ...
[ "noreply@github.com" ]
Tiburso.noreply@github.com
ed530e3765c93ad395a073bdba2ebcf9db8a922e
2069ec66ace2e8fb5d55502d1c3ce7fd89f3cdcc
/fp2/example/write.py
2835c40effeaaa01280a975bc1037885b60af898
[]
no_license
caimingA/ritsumeiPython
6812a0233456cf3d5346a63d890f4201160593c5
bb9c39726dd26fe53f7a41f5367bdab60c36a057
refs/heads/master
2022-11-16T22:28:50.274374
2020-07-13T14:53:51
2020-07-13T14:53:51
279,294,544
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
f = open("yuki.txt", mode="w", encoding="utf-8") f.write("或冬曇りの午後、わたしは中央線の汽車の窓に一列の山脈を眺めてゐた。") f.write("山脈は勿論まつ白だつた。") f.write("が、それは雪と言ふよりも山脈の皮膚に近い色をしてゐた。")
[ "caiming106@sina.com" ]
caiming106@sina.com
4aab067f7718e6227ed17f2f3bc3df1da3500b6b
227da5bdfc09fdbe6cea7d694a58470c26aaf94a
/auctions/views.py
0db9b0d7bac07d817fe2ef4c3e477a9203d95aaa
[ "MIT" ]
permissive
amogyisabogy1/Filesharing
28db40bba5a909c83fc7142cdc9590a93c76952d
bc1d318af015cd3ede4710ca7c2f1ed823c205e4
refs/heads/master
2023-08-25T13:33:57.759426
2021-10-11T01:38:12
2021-10-11T01:38:12
415,744,000
0
0
null
null
null
null
UTF-8
Python
false
false
11,701
py
from django.contrib.auth import authenticate, login, logout from django.db import IntegrityError from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render from django.urls import reverse import datetime from annoying.functions import get_object_or_None from django.contrib.auth.decor...
[ "amoghganjikunta@gmail.com" ]
amoghganjikunta@gmail.com
6349c63eb24b738a6bd6f609809d3db6989a179c
230a760662c8e2641dbe834bc41996fb9a7e644d
/app/fac/urls.py
ecb2febbb10c21a9b29c7baa01c2c3465a19d71c
[]
no_license
OrlandoGareca/sistema-de-compra-y-facturacion
99a37762905bdf216558c5282705e2df4235f235
8b3cb64d2f9ebcbe085dd37b40fbc3b3b408dfee
refs/heads/master
2021-04-17T18:05:53.723207
2020-04-13T18:14:05
2020-04-13T18:14:05
249,464,579
0
0
null
2021-03-19T23:18:23
2020-03-23T15:10:38
HTML
UTF-8
Python
false
false
1,038
py
from django.urls import path, include from app.fac.views import ClienteView,ClienteNew,ClienteEdit,clienteInactivar,\ FacturaView, facturas,\ ProductoView,\ borrar_detalle_factura from app.fac.reportes import imprimir_factura_recibo urlpatterns = [ path('clientes/',ClienteView.as_view(), n...
[ "orlando.dilmar.gareca.pena@gmail.com" ]
orlando.dilmar.gareca.pena@gmail.com
f26e7859405297b5aea6a72fdb7d7d3d9f8143c0
60e277d924751aeda0162060b7d04e455e3de3c9
/rcnfq/receive_video_zmq.py
910388461bd21d10d5feec3ce7bf28eec1576817
[ "MIT" ]
permissive
cosmoharrigan/rc-nfq
0700e69af9f5af79b04c108190edf04517577bf3
0b18d27d0b95644bded258d5a9fbb5cb4f895c91
refs/heads/master
2021-07-12T18:10:08.884411
2021-03-17T18:25:37
2021-03-17T18:25:37
53,664,411
15
8
null
null
null
null
UTF-8
Python
false
false
1,018
py
'''Receive streaming video from the robot using ZeroMQ ''' import io import socket import struct from PIL import Image from scipy.misc import imread import numpy as np import zmq import time # Configure the following parameter: IP_ADDRESS = "192.168.0.56" # Setup SUBSCRIBE socket context = zmq.Context() zmq_socket =...
[ "cosmo.harrigan@singularityu.org" ]
cosmo.harrigan@singularityu.org
ca7494f0ff6984b0e87384fffe98c9b39bfd9b3e
4db4276f7e05c16bc6719b48deb58e40f74230ca
/wordcount.py
832ac70c7f9a6b322e9e1de8ab38f594d958de59
[]
no_license
dmrsh/hello-world
ea6e00aa31401f48c46abbd48b35ab1c717530a0
2e33d0982e8fb40f8bce87b7b8141f2dc96f7d7e
refs/heads/master
2016-09-06T15:16:00.456635
2015-07-27T20:22:17
2015-07-27T20:22:17
39,794,669
0
0
null
2015-07-27T20:22:17
2015-07-27T19:52:28
Python
UTF-8
Python
false
false
463
py
import os cwd = os.getcwd() wds = open(cwd+'\subdir\muchText.txt') d = dict() for line in wds: for word in line.split(): tok = word.strip().lower() d[tok] = d.get(tok, 0) + 1 sd = [] for tok in d: sd.append((d[tok], tok)) sd.sort(reverse=True) for word in sd: count = word[0] if(count > 1): print(word[1], ...
[ "s99bf19a@yahoo.co.uk" ]
s99bf19a@yahoo.co.uk
91c38c6e741d31665a613aefbe52b741dad9f2d3
e2f133885cfcea86a3c06bba2f1d4d165e50c823
/api_test/main.py
eb2d68962d74199d1e2afd00f96adc2b336a3364
[]
no_license
JR1QQ4/app_test
e0d9dc25ea03060d17dc7f29f30706ec4b8c16ea
1c2ab9a5601e94a28f9bfe485e615d22511bb79b
refs/heads/main
2023-05-25T14:55:53.326377
2021-06-08T14:33:52
2021-06-08T14:33:52
349,760,345
0
0
null
null
null
null
UTF-8
Python
false
false
8,417
py
#!/usr/bin/python # -*- coding:utf-8 -*- from time import sleep from appium import webdriver from appium.webdriver.common.mobileby import MobileBy from appium.webdriver.common.touch_action import TouchAction from appium.webdriver.extensions.android.gsm import GsmCallActions from appium.webdriver.webdriver import WebDr...
[ "chenjunrenyx@163.com" ]
chenjunrenyx@163.com
e232ea8556be487081ad7ae17a32d47bd88efdad
31e6ca145bfff0277509dbd7c4b44b8deddf3334
/LeetCode/Graph/combination-sum.py
1bad4a940655a4357b9828e4c8a4c2eb18a168a3
[]
no_license
brillantescene/Coding_Test
2582d6eb2d0af8d9ac33b8e829ff8c1682563c42
0ebc75cd66e1ccea3cedc24d6e457b167bb52491
refs/heads/master
2023-08-31T06:20:39.000734
2021-10-15T10:51:17
2021-10-15T10:51:17
254,366,460
3
1
null
null
null
null
UTF-8
Python
false
false
459
py
class Solution: def combinationSum(self, candidates: List[int], target: int) -> List[List[int]]: result = [] def dfs(csum, index, path): if csum < 0: return if csum == 0: result.append(path) return for i in range(in...
[ "glisteneugene@gmail.com" ]
glisteneugene@gmail.com
613ab8ac9d59b0f20df16241ff4defdd691ee164
79b6e625fb9fd2533a0e492d0e23fb5bb18f4f18
/app/config/__init__.py
2fc2af08e1789ef2352c15615fe8b6bea8adf792
[]
no_license
schulzsebastian/vdata
93d57491c1b2553e42539ef5772cd845b1ee9075
999270b32ff60f0f17cd13eb0c8b391069bcdfba
refs/heads/master
2021-01-11T06:51:28.611857
2016-11-03T19:40:19
2016-11-03T19:40:19
71,816,268
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from .local_config import LocalConfig current_config = LocalConfig except: from .config import Config current_config = Config
[ "schulz.siwy@gmail.com" ]
schulz.siwy@gmail.com
e4c41ba497ad969a0d1063fd764a5b856b1015ec
fdf96c2a5d0c044dcb9eea210434dfc5448cf2e9
/el.py
69d20ce3363d30b857e9ad995a268486ff20be78
[]
no_license
joquizon/Python-Class
84f8db181c0c37385d18f4c9b9d616365b96972f
2341589e9cc63262c5424189a19b48772add5972
refs/heads/master
2021-05-21T13:58:36.812773
2021-01-29T16:02:56
2021-01-29T16:02:56
252,673,470
1
0
null
null
null
null
UTF-8
Python
false
false
3,158
py
from Newdatin import Ndataenter from Editdatin import Bigeditinput from Edinfo import editinputFo # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>...
[ "josequizon@jcqfolio.com" ]
josequizon@jcqfolio.com
77fd709015fd652698b0f4af3bad2db95658244b
9766c2e479e99cca5bf7cc834c949fc4d5286275
/TEST/GUI/00190_page_bdyanalysis/cleanup.py
016dd73ae3dc45790df8a484acfe062a7795a6de
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
UstbCmsPjy/OOF2
4c141e8da3c7e3c5bc9129c2cb27ed301455a155
f8539080529d257a02b8f5cc44040637387ed9a1
refs/heads/master
2023-05-05T09:58:22.597997
2020-05-28T23:05:30
2020-05-28T23:05:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
26
py
removefile('bdyanal.log')
[ "lnz5@rosie.nist.gov" ]
lnz5@rosie.nist.gov
9e373589be438679c33b4a580fe89b840e5164f3
a8ebc4cccbf1ba346b1de4779dee7d4c803c7106
/display_pixels/cap_symmetrize_velfield.py
ad419157b76b0cabc104f2eff3144a8894c45ca7
[]
no_license
Treibeis/python
6b4680b167e8da7dffdcbe31704f18b0bd4f31fb
e5f467f1db96c99bb8085229f915592f90932802
refs/heads/master
2023-07-25T09:18:40.941330
2023-07-15T05:51:43
2023-07-15T05:51:43
143,747,936
0
0
null
null
null
null
UTF-8
Python
false
false
3,828
py
####################################################################### # # Copyright (C) 2004-2015, Michele Cappellari # E-mail: michele.cappellari_at_physics.ox.ac.uk # # This software is provided as is without any warranty whatsoever. # Permission to use, for non-commercial purposes is granted. # Permission to modif...
[ "[treibeis1995@gmail.com]" ]
[treibeis1995@gmail.com]
5588a9b58bb4811699015d008966309f1b432923
76a01339f7ca19536a07d66e18ff427762157a2a
/codeforces/Python/serval_and_bus.py
49a999fb8f0c58c2e96f04c61667f1b963aee56a
[]
no_license
shaarangg/CP-codes
75f99530921a380b93d8473a2f2a588dc35b0beb
94fc49d0f20c02da69f23c74e26c974dfe122b2f
refs/heads/main
2023-07-19T21:31:40.011853
2021-09-07T05:22:28
2021-09-07T05:22:28
332,644,437
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
n,t = map(int,input().split()) m=10**9 j=0 for i in range(n): s,d = map(int,input().split()) if(t<=s): a=s-t else: a=t-s if(a%d==0): a=0 else: a = (a//d + 1)*d -t + s if(m>a): m=a j=i+1 print(j)
[ "shaaranggsingh@gmail.com" ]
shaaranggsingh@gmail.com
f13581b5b5453ebc6de7b1a6fb333b7aef052b4f
5685c24b2d955a00861b4082c10e3b479923f3ea
/week4/8.5_lists.py
c817beb147b1f49da90b21a17531fd087de02d84
[ "MIT" ]
permissive
itsanshulverma/py-data-structures-umich
2fe837faa38eaa07e7f357c2731fcebe7500743e
5cd4f2a87de8205d551057b32e8586405079f92c
refs/heads/master
2022-12-05T00:11:17.304705
2020-08-31T11:16:19
2020-08-31T11:16:19
291,684,537
4
0
null
null
null
null
UTF-8
Python
false
false
846
py
#by Anshul Verma #8.5 Open the file mbox-short.txt and read it line by line. #When you find a line that starts with 'From ' like the following line: # From stephen.marquard@uct.ac.za Sat Jan 5 09:14:16 2008 #You will parse the From line using split() and #print out the second word in the line (i.e. the entire addre...
[ "itsanshulverma@gmail.com" ]
itsanshulverma@gmail.com
3adc95673cbed3a1842979da20f0907a4b031f28
bfafc91d672a1ea2bff6178038d93ee3b0d39c3e
/bioinformatics/rosalind/NEED/need.py
674ed759d673c6b16ac06aea31783b7dd0f2b662
[]
no_license
danshea/python
c2567644f4e18b98c30b4e908b6e96f5475e6fd6
66bd667d525c64dbb23a4248772cb3094c3ae930
refs/heads/master
2021-08-06T06:02:05.094272
2021-06-21T20:24:28
2021-06-21T20:24:28
4,727,109
2
1
null
null
null
null
UTF-8
Python
false
false
2,148
py
#!/usr/bin/env python ################################################################################ # # Name: need.py # Date: 2014-04-25 # Author: dshea # Description: # Problem # # An online interface to EMBOSS's Needle tool for aligning DNA and RNA strings # can be found here. # # Use: # # The DNAfull scoring...
[ "daniel.john.shea@gmail.com" ]
daniel.john.shea@gmail.com
e093d502ae8e843bd99621c4dbb2bdd8f510aca7
c265cb56c7f6a5bc532a506188e61cb4d6ac3358
/example/get_face_enhancement_v1.py
029237fc791914bc3ec24b1c0dbb6e03fa4672ef
[ "MIT" ]
permissive
tranhoangnguyen03/MobileFace
00ae926053494d1668004621cebbf5ed0575471b
c94aa16bf5f1fb3b74b67e5685fb39061cf10ef4
refs/heads/master
2020-06-25T22:40:46.715046
2019-07-29T11:51:51
2019-07-29T11:51:51
199,442,953
0
0
MIT
2019-07-29T11:50:43
2019-07-29T11:50:43
null
UTF-8
Python
false
false
2,818
py
import os, sys import argparse import cv2 from matplotlib import pyplot as plt import numpy as np sys.path.append(os.path.abspath(os.path.dirname(__file__)) + os.sep + '../MobileFace_Enhancement/') from mobileface_enhancement import MobileFaceEnhance def parse_args(): parser = argparse.ArgumentParser(description='...
[ "helloai777@gmail.com" ]
helloai777@gmail.com
03e8e0bae9c7c05a0bbd236400a40a4707d76ea3
15a1d05d48953ddaa835b94c8fb93ca69c02488d
/catkin_ws/src/initialize_particles/src/init_particles_caller.py
bcd4d11372cc28044b7bf35873ded9ddf54332b9
[]
no_license
ok-kewei/ROS-Navigation
81b895cccbe65287be98da6e62967ae44dee4ab6
5218fe366db3638efc179cc6e55fe368842a1c20
refs/heads/master
2023-01-06T15:08:19.822330
2020-11-05T20:41:03
2020-11-05T20:41:03
304,449,087
3
0
null
null
null
null
UTF-8
Python
false
false
329
py
#! /usr/bin/env python import rospy from std_srvs.srv import Empty, EmptyRequest import sys rospy.init_node('service_client') rospy.wait_for_service('/global_localization') disperse_particles_service = rospy.ServiceProxy('/global_localization', Empty) msg = EmptyRequest() result = disperse_particles_service(msg) pri...
[ "43628709+ok-kewei@users.noreply.github.com" ]
43628709+ok-kewei@users.noreply.github.com
c68fc822bcbcb1801f923e29bd5a518e6dfe4dcd
74db1485d7560f087b7798a816a1262f1aff97d8
/keepfit_api/keepfit/test.py
66293ce9f5d3e0bbb46d28b9d772f4077922595c
[]
no_license
NirvaanReddy/SportsApp
d14c80b537c50f7900cda7f70c7ae945dd59ceda
632b20bde7877925cd0f1667208d42a0e8344d3c
refs/heads/main
2023-05-02T07:17:09.253553
2021-05-10T02:38:08
2021-05-10T02:38:08
337,168,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
from django.test import TestCase from django.shortcuts import render from rest_framework.decorators import api_view from rest_framework.response import Response from django.db import models from .s import * from .user import * from django.core.files import File from django.http import HttpResponse from .user_endpoints ...
[ "nirvaanreddy@gmail.com" ]
nirvaanreddy@gmail.com
71b3ff2955147e25fe13059d258d1b76d5638d8c
6989347289b52b16c5c7af1f73851d734245bf61
/draw_sim_tree_with_matrix.py
9994b33b11058e7842418a9e3bb7bc6dc10ee783
[]
no_license
cfriedline/bayesiansimulation
4abecf292a1d5361ac3951f2c367db4680cbf355
a74dbb7b39a10efc70bbb72086d45ca9fbaf5927
refs/heads/master
2021-01-01T19:20:51.001407
2014-06-05T07:00:00
2014-06-05T07:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,608
py
__author__ = 'chris' import os import sys from ete2 import Tree, TreeNode, TreeStyle, AttrFace, TextFace, ClusterTree, ClusterNode, ProfileFace, CircleFace, NodeStyle, PhyloTree import numpy import tempfile def get_color(data, row, col): val = float(data[row, col]) coldata = get_column(data, col) colsum =...
[ "cfriedline@vcu.edu" ]
cfriedline@vcu.edu
1353f3961676958e592cf32649e52eeefe94fb13
45100ef7950cbac271695d3dc7fe80ae30dec437
/NSRDB_analysis.py
de2e361d277fc3841ef34f349ecf1dcf5bf1baeb
[]
no_license
shafferpr/solar_radiation_database
635e628700c69b6dff258e95e310e7952629b88d
113a80bf25a1cd4db0a8d9124d70b867b38cca51
refs/heads/master
2021-01-23T05:44:49.555014
2017-05-31T20:04:22
2017-05-31T20:04:22
92,983,996
0
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
#! /usr/local/bin/python import os import sys import string import requests import json import numpy as np import pandas as ps import math from bokeh.plotting import figure, output_file, show from dateutil.parser import parse def createDateTimeFigure(repoString): payload = {} r=requests.get('https://api.gith...
[ "shafferpr@gmail.com" ]
shafferpr@gmail.com
3add1f213eb7b59613b0794ec7004fc7996b804b
4ea06addb40da22573bbfb4a0253406b564ae2cd
/test38Simp.py
137aa3fb83a348e62d47974376e5c4c3d9cc0113
[]
no_license
AldyColares/Projetos_MNii
5eff276daf7f7139b8875fb20bfa405af44639a9
43dc45cb2a7890837257f36934d0d32b5e40fc67
refs/heads/master
2016-09-11T05:48:43.756753
2014-03-21T14:50:45
2014-03-21T14:50:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
import re arquivo = open("arquivo1.txt") m = int(arquivo.readline().rstrip('\n')) txt = arquivo.read() print "grau =",m print "\nxi\tf(xi)" print txt dados = map(float, re.split('\t|\n',txt)) arquivo.close() a = dados[0] b = dados[m*2] fx0 = dados[1] fxm = dados[m*2+1] h = (b - a)/m L = range(m+1) i=1 j=0 S1=0 S2=0 k=1...
[ "dyego@alu.ufc.br" ]
dyego@alu.ufc.br
a20ec095f9065df80a1ba32f675716abe0875c05
26c4426d2c9cd10fd7d4a73609512e69e31b64ba
/justone/mayflower/products/forms.py
452a35e79f1ecaab5846dfb47812af7c3869b763
[]
no_license
KirillUdod/html2exc
550761213eb6edd7d3ea4787938cce65584606c3
60569f01822a15b2e5b6884a42774cd428953700
refs/heads/master
2021-01-15T17:07:05.906492
2016-01-06T11:51:38
2016-01-06T11:51:38
34,809,072
0
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
from django import forms from products.models import Bouquet class DependenciesForm(forms.ModelForm): def __init__(self, *args, **kwargs): super(DependenciesForm, self).__init__(*args, **kwargs) instance = getattr(self, 'instance', None) dependencies = getattr(self.Meta.model, 'dependenci...
[ "kirilludod@gmail.com" ]
kirilludod@gmail.com
b19d04a16672a6e82ef0ac5031a632a46feb1e78
bb150497a05203a718fb3630941231be9e3b6a32
/framework/api/nn/test_dynamicdecode.py
3dfc0093a772141b2e3a8044746f517ce9ae1b98
[]
no_license
PaddlePaddle/PaddleTest
4fb3dec677f0f13f7f1003fd30df748bf0b5940d
bd3790ce72a2a26611b5eda3901651b5a809348f
refs/heads/develop
2023-09-06T04:23:39.181903
2023-09-04T11:17:50
2023-09-04T11:17:50
383,138,186
42
312
null
2023-09-13T11:13:35
2021-07-05T12:44:59
Python
UTF-8
Python
false
false
20,209
py
#!/bin/env python # -*- coding: utf-8 -*- # encoding=utf-8 vi:ts=4:sw=4:expandtab:ft=python """ test paddle.nn.dynamic_decode """ import random import paddle from apibase import compare import pytest import numpy as np from paddle.nn import BeamSearchDecoder, dynamic_decode from paddle.nn import GRUCell, Linear, Embed...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
dc6dfa3596c32270087a4264ab9fb490ee5ddcba
089a6a7c51af5ca5b28282e9370bd1fc97ff94b5
/superhero_database/heroes/views.py
a2614fcd574ebbe99743b2e8002c8b43a032cc59
[]
no_license
plumtree87/superheroes
95bedd4c354373d15bcea5eae770e4ea368adb35
0192a304676cb63de859a61ef9493d8473e7c5c9
refs/heads/main
2023-03-29T10:02:12.859584
2021-04-08T15:26:53
2021-04-08T15:26:53
355,323,644
0
0
null
null
null
null
UTF-8
Python
false
false
2,399
py
from django.shortcuts import render from django.http import HttpResponse, HttpResponseRedirect from .models import Hero from django.urls import reverse # Create your views here. def index(request): all_heroes = Hero.objects.all() context = { 'all_heroes': all_heroes } return render(request, 'h...
[ "plumtree87@protonmail.com" ]
plumtree87@protonmail.com
dd68bda41f4ec18bcbffcfb66e2ae4ecf26a052d
a661e08f57b572b6b4e0b3f54b6bc6db81f689aa
/requestget.py
739aafc3585aec2ab3fd35be36e36201caeecd12
[]
no_license
absentfriend/Channel
ca7f8f336b85a2ca0db2bd12ac496627d474f883
0bec6d447632ecb05edcd2fd019a900dab8d0bd7
refs/heads/master
2022-07-09T14:35:15.697345
2022-06-21T22:39:28
2022-06-21T22:39:28
194,481,970
0
0
null
2019-06-30T06:13:21
2019-06-30T06:13:21
null
UTF-8
Python
false
false
555
py
import requests headers = {'Referer': 'http://m.91kds.org/jiemu_sdqdtv1.html', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36'} def geturl(url,headers): r=requests.get(url,headers=headers) r.encoding='utf-8' #r.en...
[ "43053658+YaozhiweiGit@users.noreply.github.com" ]
43053658+YaozhiweiGit@users.noreply.github.com
2ce099f6946ba532a45dc0075b0918ffcbeff559
bd50532e0c0ca5fd6d5c1f389a5f98787736e170
/Symmetric Tree.py
b0a05dc2fcad4bbe3156161354e99b4fa56b5535
[ "MIT" ]
permissive
chyavan-mc/My-Solutions-to-Leetcode-problems-using-Python-3
eec8bce6456e33776e3565ced8e87b94e75b1f19
b78779bd3f5313ab4752f9e9a23cb4a93805aff6
refs/heads/master
2022-08-29T16:49:30.227034
2019-01-17T05:47:54
2019-01-17T05:47:54
145,867,402
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isSymmetric(self, root): """ :type root: TreeNode :rtype: bool """ ptr = root if(ptr=...
[ "noreply@github.com" ]
chyavan-mc.noreply@github.com
ec1d8c4d661870efcce6dd2ea0b18baee2087b45
f21109a5c23340447d0e3d34f14299c30e49d023
/Dynamic Programming/11. Longest Common Subsequence.py
a8f0e898a3fad5f7001ac206032d7ee02a013de3
[]
no_license
ShashankSinha98/FAANG-Questions
45366004c3176a3c11ef554a25a11fe21e53ebca
73ef742b3747e89d32d384baa6acf35044bf3ce0
refs/heads/master
2022-12-21T09:42:51.796086
2020-09-24T08:24:47
2020-09-24T08:24:47
286,765,370
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
t = int(input()) def common_lcs(str1,n,str2,m): dp = [[0]*(m+1) for i in range(n+1)] for i in range(1,n+1): for j in range(1,m+1): if str1[i-1]==str2[j-1]: dp[i][j] = dp[i-1][j-1] + 1 else: dp[i][j] = max(dp[i-1][j],dp[i][j-1]) return d...
[ "34626597+ShashankSinha98@users.noreply.github.com" ]
34626597+ShashankSinha98@users.noreply.github.com
86ef3bfdb2fb1c55d0cd8cefb61f7f2d7e42c78c
009a73adacda072e6241965ff0c589e1fff92aa4
/CreateConnections.py
92293021753f3c40cb89638383829da70da84cfb
[]
no_license
bernhardkaplan/OculomotorControl
0dc24095c813a25856ed9556b8a250e10952e88e
ac0b5261a3c3617e3f72f9ffd8e5515270f80fb9
refs/heads/master
2021-01-01T17:22:19.117464
2013-09-03T10:53:32
2013-09-03T10:53:32
10,267,811
0
1
null
null
null
null
UTF-8
Python
false
false
347
py
class CreateConnections(object): def __init__(self, params): self.params = params def connect_mt_to_bg(self, src_net, tgt_net): """ The NEST simulation should run for some pre-fixed time Keyword arguments: src_net, tgt_net -- the source and the target networ...
[ "Bernhard.Kaplan@gmail.com" ]
Bernhard.Kaplan@gmail.com
569d33d3a9b9c3cd4c1091378db6fb048a872c82
76931db41954de1e7314ee0d3f4ce296e69a2f00
/src/main.py
16e4ceeee88e14b0404de8b1a76ddaac5f201391
[]
no_license
graciehao25/Insight_coding_practice
6b0c9e39f01ecad993258fc29b65dc5f9b3e6957
5267856066dc05ab65f786426e7b8b9b31f37b44
refs/heads/master
2020-04-03T13:39:04.533029
2018-10-30T21:59:02
2018-10-30T21:59:02
155,291,892
0
0
null
null
null
null
UTF-8
Python
false
false
2,186
py
import csv import sys from collections import Counter from get_idx import get_idx from get_feature_list import get_feature_list from a_list_of_top_X_sorted_feature_dict import a_list_of_top_X_sorted_feature_dict from write_output_csv import write_output_csv def main(INPUT, OUTPUT0, OUTPUT1): """ Main function c...
[ "graciehao25@gmail.com" ]
graciehao25@gmail.com
f6813e579cbf76ee872102859d44f28c4c47746b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03107/s767358209.py
f9a07c556a610f1f56bccfb4d8bc42ed0285d230
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
s = input() red = s.count("0") blue = s.count("1") num = min(red,blue) print(num*2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
702f47e3a48767738613e267a62b0f5477021049
0a68928bfcada2bb4803068ffe1175556aa06883
/Code Examples/doc_replacement.py
3bcab05b05cddf602d1acbd73c8b57e666dd8687
[ "Apache-2.0" ]
permissive
shannonsands/StoryNode
a487a94ea7dc101f1209bdf548a3ed7a57607b5e
e863e68e4b95b92a074554c2399492dbfb54cbab
refs/heads/main
2023-04-24T16:06:10.473740
2021-05-16T23:10:16
2021-05-16T23:10:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
import spacy from spacy.matcher import Matcher import sys def main(argv): nlp = spacy.load("en_core_web_sm") matcher = Matcher(nlp.vocab) # Add match ID "HelloWorld" with no callback and one pattern pattern = [{"LOWER": "hello"}, {"IS_PUNCT": True}, {"LOWER": "world"}] matcher.add("HelloWorld", [pa...
[ "seadav.17@gmail.com" ]
seadav.17@gmail.com
b7c78da890d1c759f77537a7e6faae7e4377540e
8e53fa0b67e2268b912ad09a41356b622fff715d
/uniquee.py
e60f09ef22cdf16401ac8e1c5abde45851359d09
[]
no_license
Dhathri29/Guvi-Sessions
a0962212e8f6e95429de101f2b03bd3ab500baee
3a0a6c78b82420b518eca167e4a7c79c75e1d6f0
refs/heads/master
2020-04-30T15:34:21.454160
2019-07-23T12:01:47
2019-07-23T12:01:47
176,923,992
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
def Repeat(x): _size=len(x) repeated=[] for i in range(_size): k=i+1 for j in range(k,_size): if x[i]==x[j] and x[i] not in repeated: repeated.append(x[i]) return repeated repeated.sort() print(repeated) n=int(input()) list1=list(map(int,input().split(...
[ "noreply@github.com" ]
Dhathri29.noreply@github.com
446d6d7faa595deb53a808126c8a2aced62533ca
00b86f883694b17575a514227960b963d3b6179b
/Analysis/python/regions.py
fd5293018c7e89c2e26d88fe5e64bddca3efeb61
[]
no_license
HephyAnalysisSW/TTZRun2EFT
1b33a6bad49d0d6e119e49c74faa35dee0e4bb0e
730a7465d4cbde52649965ed0e2a5b29bcc309c3
refs/heads/master
2020-04-30T16:40:46.454225
2019-04-18T08:09:46
2019-04-18T08:09:46
176,956,090
0
0
null
null
null
null
UTF-8
Python
false
false
1,950
py
from TTZRun2EFT.Analysis.Region import Region from TTZRun2EFT.Analysis.Region import texString from TTZRun2EFT.Analysis.Region import allowedVars from math import pi def getRegionsFromThresholds(var, vals, gtLastThreshold = True): return [Region(var, (vals[i], vals[i+1])) for i in range(len(vals)-1)] def getRegi...
[ "lukas.k.lechner@gmail.com" ]
lukas.k.lechner@gmail.com
0fed34a34be9f0c7a478742d654290d73259c7fd
510765d4cc0bbb8e16a31acef5a619abae9cd736
/SML_project1_6.py
07ffb9ad85587f51947ccb985aebfacf878b605d
[]
no_license
LzyloveRila/twitter-Authorship-attribution
e9c6435465bdc2076ffdc774e1a270537ec54356
7c062abd22633016fe5721ec7acc88a1a93aaf89
refs/heads/master
2020-07-23T10:09:42.192542
2019-09-16T10:11:37
2019-09-16T10:11:37
207,523,998
0
0
null
null
null
null
UTF-8
Python
false
false
2,715
py
#!/usr/bin/env python # coding: utf-8 import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.feature_extraction.text import CountVectorizer import nltk from nltk.tokenize import word_tokenize from nltk.tokenize import TweetTokenizer from sklearn.linear_model import SGDC...
[ "noreply@github.com" ]
LzyloveRila.noreply@github.com
ebb96a9ed8fe8b1ad75429c27bcb2733a7ca3183
f4dcbcdfbafae47b8db5ef62701cc001bf044827
/utils.py
f71c46607d7a835be15ca1bcfe05e32c91240f45
[]
no_license
sheriffab/Machine-learning
116dfed45aed4a889167b46566a12097e742ccb1
873177d2586a8843a9bd0ea0bec3bfaf4bb7806b
refs/heads/main
2023-06-11T08:33:41.101922
2021-06-25T04:18:41
2021-06-25T04:18:41
380,121,940
0
0
null
null
null
null
UTF-8
Python
false
false
12,250
py
import pandas as pd import numpy as np import tensorflow as tf import matplotlib.pyplot as plt import seaborn as sns from sklearn.linear_model import LogisticRegression from tensorflow import keras from tensorflow.keras import layers from sklearn.preprocessing import OneHotEncoder from sklearn.ensemble import RandomFor...
[ "noreply@github.com" ]
sheriffab.noreply@github.com
0a4f0d71af479b78c4d2993b8c4a84ed458e3ae1
2c886cc64c9c7ff59d02f8637c1e765e7911f079
/aarms/data/msd/echonest.py
a760b9ae3af8740258d48c5fb7f8a22a0a3d4215
[ "MIT" ]
permissive
eldrin/aarms
8c6b0a095fa0bc69803af933d4bcc0a28fb0a7e1
bdd5455ac8dcfc1fe91a12fdd132b74e6c37609d
refs/heads/master
2023-04-03T23:56:56.516979
2021-03-30T20:22:52
2021-03-30T20:22:52
252,807,989
0
0
MIT
2021-03-30T20:22:52
2020-04-03T18:22:15
Python
UTF-8
Python
false
false
1,583
py
from os.path import join import csv from scipy import sparse as sp import sqlite3 from tqdm import tqdm N_INTERACTIONS = 48373586 def load_echonest(path, verbose=False): """ """ with open(join(path, 'train_triplets.txt'), 'r') as f: users = {} items = {} I, J, V = [], [], [] ...
[ "jaehun.j.kim@gmail.com" ]
jaehun.j.kim@gmail.com
3f1b0191d31826c1fdcf7c016004635c307f9ca8
17659bdaf60e799941c5d7863e08d1a5d2308382
/src/scenic/simulators/webots/mars/__init__.py
baaff9c834c5aab9c4f29557045398f9689e1813
[ "BSD-3-Clause" ]
permissive
cahartsell/Scenic
60a21fc95ea29629cc8d753feaed5589052ff19f
2e7979011aef426108687947668d9ba6f5439136
refs/heads/master
2023-01-11T07:58:05.869681
2020-11-09T20:25:58
2020-11-09T20:25:58
283,645,281
0
0
NOASSERTION
2020-07-30T02:02:01
2020-07-30T02:02:01
null
UTF-8
Python
false
false
156
py
"""World model for a simple Mars rover example in Webots. .. raw:: html <h2>Submodules</h2> .. autosummary:: :toctree: _autosummary model """
[ "dfremont@ucsc.edu" ]
dfremont@ucsc.edu