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
213 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
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
bd4eab0a34d5e2483f6dae4ef02e1badc5618516
8850d0a00bbf2593c20e4e044dea35b0dc900c8a
/just_keep_wanted.py
6fb170accabbf38a4dfe23536c4fe23ee77525b2
[]
no_license
kingglory/Find_noncovalent_interactions_in_protein
6b72c8648bd5fd2feff08532440805af4ab89dd1
b567bddc87c3ed986b76ab137d2bbe5b2cd2a631
refs/heads/master
2020-03-30T18:51:56.884371
2019-06-02T03:46:09
2019-06-02T03:46:09
151,517,857
0
0
null
null
null
null
UTF-8
Python
false
false
4,659
py
from __future__ import division import iotbx.pdb import iotbx.cif import scitbx import matplotlib as np from scitbx.array_family import flex import numpy as np import mmtbx.hydrogens.build_hydrogens from libtbx import group_args from libtbx import easy_run import math, time import scitbx.matrix def is_bonded(atom_1, a...
[ "312775704@qq.com" ]
312775704@qq.com
3add94b05ac6e4724142dd50467b534dd95fd9c9
57091658d5143370d4d5b4898c72673b247e7c8d
/setup.py
967bb86f009fa415def40ca88a632d425c00ba68
[ "MIT" ]
permissive
Yanping-Cong/LFSM-0.1
39c6cf79763798cf338fa8091d4556cd3bf6e2e5
eb36cea15d98741fa84ff982ff2fc6d5fa203284
refs/heads/main
2022-12-30T02:25:45.549069
2020-10-22T08:39:27
2020-10-22T08:39:27
305,890,333
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
from setuptools import setup, find_packages import os def readme(): absolute_path = os.path.join(os.path.dirname(os.path.abspath(__file__)),'README.rst') with open(absolute_path) as f: return f.read() setup(name='LFSM', version='0.1', description='The low-frequency sky model', long_des...
[ "62367720+Naruto-Suzaku@users.noreply.github.com" ]
62367720+Naruto-Suzaku@users.noreply.github.com
c9e3a5a2870c9edd52b272704f1a5fe5d524c02d
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/usr/share/pyshared/ajenti/plugins/fm/fm.py
aecbcde1a5101d2dbf7369b8b8633ab88fc1226e
[ "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
10,685
py
import gevent import grp import logging import os import pwd from ajenti.api import * from ajenti.api.http import * from ajenti.plugins.configurator.api import ClassConfigEditor from ajenti.plugins.main.api import SectionPlugin, intent from ajenti.ui import on from ajenti.ui.binder import Binder from backend import F...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
171c5897734ec64a7e4c7af82d2ebd92556d845f
9e7e0a88e6d2bce5588def196ec6926c2b051cd9
/python/skil_client/models/ind_array.py
b2bf7e050774ea25ee84a3ce8374d4b053300274
[ "Apache-2.0" ]
permissive
farizrahman4u/skil-clients
7c47ff6ca9f4bb3a18a707d57043bca1305a7d5a
bfa7edf33bcf48428f4a1b4b4912574315a197b8
refs/heads/master
2020-05-16T07:08:48.419610
2019-04-10T10:04:05
2019-04-10T10:04:05
182,872,242
0
0
null
2019-04-22T21:39:40
2019-04-22T21:39:39
null
UTF-8
Python
false
false
5,898
py
# coding: utf-8 """ Endpoints Endpoints API for different services in SKIL # noqa: E501 OpenAPI spec version: 1.2.0-rc1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class INDArray(object): """NOTE: This class is a...
[ "shamsazeem20@gmail.com" ]
shamsazeem20@gmail.com
1ac1f6e29a34aff2d7580761460893ad84ce911e
9ebd0a48f63daf2ca2e1a69b825aeedcde88aea2
/projects/__init__.py
a5af2ecddc5159a2ba5eaf883235581c7256f007
[]
no_license
aleh-rudzko/trs
b7b94acce04f2eff9277a72fe97156b7772e8cfb
dcb6d88d15f2bce3cd5d41da5c233188fd35bdc3
refs/heads/master
2021-01-17T06:49:43.925502
2017-01-01T19:28:36
2017-01-01T19:28:36
51,642,326
0
0
null
2016-03-11T00:46:14
2016-02-13T10:57:51
Python
UTF-8
Python
false
false
52
py
default_app_config = 'projects.apps.ProjectConfig'
[ "oleg.unsav@gmail.com" ]
oleg.unsav@gmail.com
749dbb2e604357c878a8e0f381f9334527e76014
7b6c67bad01ea6af4c13c3190ab7a4a86a1c13d7
/lib/hardware/extbus/pwm_pi.py
3b065c7edb90f74e8a25691bec5d0a1d681af0ec
[]
no_license
HidenoriIshii/Modric
bcb8f9f62a0f2c82adc5a4d11ac8bf8e1c16f020
0afb885b5e4efce3cf36323c84b7c0110547076f
refs/heads/master
2021-08-24T11:31:55.673348
2017-11-21T06:35:18
2017-11-21T06:35:18
111,504,382
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
# -*- coding: utf-8 -*- # PIGPIO Lib import pigpio class Pwm(): #freq: Hz #duty:0-range #duty_range:251-40000(default:255) def __init__(self,gpio_no=0,freq=0,duty=0,duty_range=255): self.CpuPwm = pigpio.pi() self.gpio = gpio_no self.freq = freq self.duty = duty s...
[ "pranzo24@hotmail.com" ]
pranzo24@hotmail.com
af5aedbfd4d00e7b7452976e31959ae040f75523
f08cac07a72bcdf183cf46471efa8a61788d0354
/python/490A.py
62fa4a15efd2f964db3ea1c17f0725aa6746996f
[]
no_license
0xtaha/CodeForces
7cddb5c150d562deb6c67e710e63cf659919ee99
f4ccaae71900c487d4b8e9e16f0e945553bb203f
refs/heads/master
2020-09-22T12:20:38.424415
2019-12-01T16:28:21
2019-12-01T16:28:21
224,847,384
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
n = int(input()) child = input().split() p_skill,m_skill,s_skill = list(),list(),list() p,m,s=0,0,0 for i in range(len(child)): if child[i]=='1': p_skill.append(i+1) p+=1 elif child[i]=='2': m_skill.append(i+1) m+=1 else : s_skill.append(i+1) s+=1...
[ "noreply@github.com" ]
0xtaha.noreply@github.com
34360943601900fee54f3e7e65088acea3e0f065
676c70b6399581c06558edae6f08a3a2219542a3
/Databases/crud.py
6276a305b6f586ae17bf2e12a0331f4f87762885
[]
no_license
jgph91/Flask-Udemy
f394c120c2e49f8a31f357921f76f1ddbb7235e5
06195432f8715f0b4e50306b713ec3d81690c18b
refs/heads/master
2022-11-25T14:10:37.889283
2020-07-03T15:21:36
2020-07-03T15:21:36
272,175,619
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
from main import db,Puppy my_puppy = Puppy('Rufus',5) db.session.add(my_puppy) db.session.commit() all_puppies = Puppy.query.all() puppy_1 = Puppy.query.get(1) puppy_franky = Puppy.query.filter_by(name='Franky') print(puppy_franky.all()) #Update puppy_1.age = 10 db.session.add(puppy_1) db.session.commit() prin...
[ "jgph91@gmail.com" ]
jgph91@gmail.com
b833c59f51d3a2d20f9c96608349fe6e5498f5b0
4162a7b67ae49bab2221265efbe91d051396ea48
/web app/app/app/__init__.py
350906f6cd71e71f71f8cccce0be57bfa1259cba
[]
no_license
tabishkhan96/Product-Matching-using-Deep-Learning
385d05bebf3e28097061e9907566fa420f29206b
4c47cdd2c62a6ee2ff7adbcf37cfb3a559360e7f
refs/heads/master
2023-07-16T16:48:08.005581
2021-08-21T16:56:49
2021-08-21T16:56:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from flask import Flask # from flask import url_of app=Flask(__name__) from app import views
[ "harshgupta1999@gmail.com" ]
harshgupta1999@gmail.com
12760d0cead888807944e53059cc7b12b1d6e3ef
e45dd73eeb80eb376947ad43716c78568f16d9a5
/test/test_admin_menu.py
d4ed0836fa0bfba601bd1dd0306ddce5941c931d
[]
no_license
shelby888/sel-b9
f610a31234f25723d0c64b00272ace83b920ce03
dd90a3679f7c39ff1a4dc4b1d93993b1d90c7f16
refs/heads/master
2020-08-14T22:52:16.475603
2019-11-13T09:31:20
2019-11-13T09:31:20
215,243,440
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
def test_login_to_admin_pannel(app): wd = app.wd wd.implicitly_wait(10) app.session.admin_login() assert wd.find_element_by_css_selector('#box-apps-menu').is_displayed() menu_elements = wd.find_elements_by_css_selector('#box-apps-menu li') list = [] for item in menu_elements: lis...
[ "ivan.subbotin@rt.ru" ]
ivan.subbotin@rt.ru
719b430b31764349e7164548dd2edda5eac45d9b
85abdcf3cf087282f7dbcb4eff746a6f613cbfb7
/Code /Basic_scrapper.py
83b014372842251bd4a4f00c5301f2d3776b4273
[]
no_license
Pradhvan/PyConf-Hyd
667d34b3526f749e6282e255a063586f3a551fa3
deab18245f24d46384e74c9de6792c091d87671d
refs/heads/master
2021-10-09T22:19:29.883590
2019-01-04T06:37:00
2019-01-04T06:37:00
103,967,744
0
1
null
null
null
null
UTF-8
Python
false
false
319
py
# Request library import requests # Using requests library to make a HTTP GET request # Their are various request method GET , PUT,DELETE response = requests.get("https://hasjob.co/") # Check the status code of the request made # print response.staus_code # Getting the extracted content print (response.content)
[ "Pradhvanbisht@gmail.com" ]
Pradhvanbisht@gmail.com
94b2680c4a6182f54f8645175a674803a61827c7
06a120e1af666408f811d8043fdb74b1a75d5b30
/chapter01/01.py
0ed98a51258181fd9c2558f73a31261483664e17
[]
no_license
jo-kwsm/nlp100
267323bfcfb750f911dc1ed6961d96baf788b386
6f31689296f2776de36a5d63d132ed9df0137038
refs/heads/master
2022-11-07T23:36:12.558178
2020-06-28T07:47:33
2020-06-28T07:47:33
273,532,995
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
s="パタトクカシーー" s=s[::2] print(s)
[ "ytk.kwsm@gmail.com" ]
ytk.kwsm@gmail.com
b1d060eda455ff0f11063c05df77ac25e88142cf
80694fba85a4096e9069d836ab71917d5f8b3540
/rpc_less1/__init__.py
fc1860f538e1d6f1da72aa51a8c431fc4e400142
[]
no_license
gitletian/zerorpc_test
dad732fd3d9086bbf4200e2d6b790afb377bb685
7f11a62dee1ea71cf1ed743c7bc17a3397a806c8
refs/heads/master
2021-06-23T18:25:37.210949
2019-07-09T07:59:39
2019-07-09T07:59:39
147,283,404
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
# coding: utf-8 # __author__: "" # like https://github.com/0rpc/zerorpc-python/blob/master/tests/test_middleware.py
[ "guoyuanpei12@sina.com" ]
guoyuanpei12@sina.com
dba4cbd211489c0d97225fc7d8b5b23fcbd022af
1236a8208138a6f8d15a0fc576fdec98e01f7d8f
/tank/tank4.py
f09dd56c7530e9226e16501c88134105d8ecac15
[]
no_license
dingzishidtc/dzPython
cfb26ca7c38b1ed44a0e42ba5d1541aa8169ae19
3adf8aba5fe12ab28bd6d02e4e6baa60b828985d
refs/heads/master
2023-01-30T00:35:12.915290
2020-12-09T13:04:48
2020-12-09T13:04:48
260,984,723
0
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
import pygame SCREEN_WIDTH=700 SCREEN_HEIGHT=500 BG_COLOR=pygame.Color(0,0,0) #三个0是黑色 class MainGame(): window=None def __init__(self): pass #开始游戏 def startGame(self): #加载主窗口 #初始化窗口 pygame.display.init() #设置窗口大小及显示 MainGame.window = pygame.display.set_mode([SCREEN_WIDTH,SCREEN_HEIGHT]) #设置窗口标题 pyg...
[ "443155612@qq.com" ]
443155612@qq.com
d5e6eb9feafa62fbcae82a3ae4f79d64d89bd473
b13e967003d2c4c568030d12997b84d2124e16b2
/admin_handler.py
993257ab9ab38c1bda43874236fae0b152d251d1
[]
no_license
testtesthu/dkdkdkdgkdkgykvnmf
dcfde5eb4aacaf5af427d47eb12ddd1baabec2e2
7464139fb1882465cebf98760fa7fb56ab474ac9
refs/heads/master
2021-01-10T03:00:08.645453
2015-12-05T08:16:45
2015-12-05T08:16:45
47,447,912
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
import datetime import tornado.web class AdminHandler(tornado.web.RequestHandler): @tornado.web.authenticated def prepare(self): pass def get_current_user(self): sc = self.get_secure_cookie('user_id') if sc: return sc else: return None def get_...
[ "shuper@Sashas-iMac.local" ]
shuper@Sashas-iMac.local
a42aa2ddf7f80efdf7902f6b7dd7298a8d9b657a
23b333449524887594530f73c0079ce60cb8eefb
/python_module/examples/279_Perfect_Squares.py
2b38c220680fe826fc33b7042145e52e6e043b5d
[]
no_license
benbendaisy/CommunicationCodes
9deb371095f5d67e260030d3d8abf211c90e7642
444cc502ef26810b46115797f2e26ab305a4ebdf
refs/heads/master
2023-08-09T21:46:58.691987
2023-07-20T05:11:39
2023-07-20T05:11:39
27,856,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,495
py
import math from cmath import sqrt from functools import lru_cache class Solution: """ Given an integer n, return the least number of perfect square numbers that sum to n. A perfect square is an integer that is the square of an integer; in other words, it is the product of some integer with itsel...
[ "benbendaisy@users.noreply.github.com" ]
benbendaisy@users.noreply.github.com
4220343014eaae108a86cbbe3bc8fb5c6a51211b
f80255edf86a11ca237fd123485cc6af8e121fb6
/build/lib/woe/eval.py
eafd44d7944da70efb52849d66d65167a5ba44a1
[ "MIT" ]
permissive
AllenChai/woe
f0d04bf93a590113798f9085f95ecfb80fcd8ae3
421cb8ef10627ecf667c625a89e3d25fc0ac7b68
refs/heads/master
2021-07-15T16:13:48.955926
2017-10-12T10:04:50
2017-10-12T10:04:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,302
py
# -*- coding:utf-8 -*- __author__ = 'boredbird' import pandas as pd import numpy as np import scipy import matplotlib.pyplot as plt def eval_feature_detail(Info_Value_list,out_path=False): """ format InfoValue list to Dataframe :param Info_Value_list: Instance list of Class InfoValue :param out_path:sp...
[ "1002937942@qq.com" ]
1002937942@qq.com
67c27c1a98daab915a2ac0e61d59580aa836ff65
d056398e51d237273c612b06a3f908e51102d918
/KSApp/setup.py
0b302191847b4ff42139e3eb99e1998dfc16c50a
[]
no_license
mahoney777/CMUI
fb000d6dc79ee51f23153dad594dd03c4ef4087c
7b2db5bc9e1487b5f91db4dfb677ba5a8fa330a8
refs/heads/master
2021-05-06T14:27:30.134402
2019-03-11T22:38:58
2019-03-11T22:38:58
113,367,718
1
2
null
null
null
null
UTF-8
Python
false
false
158
py
from setuptools import setup setup( name='KSApp', packages=['KSApp'], include_package_data=True, install_requires=[ 'flask', ], )
[ "isam126claydene@gmail.com" ]
isam126claydene@gmail.com
92883ff0dac39774ad197a23555cd787520f8102
d6b632b026b0ebeb61d4d1a6fbaecf7178d65b73
/common/schema/config/abstract.py
f9e40e19cd04a8028af966be026ef5fc1d7dc93f
[]
no_license
0827cg/spiderCompany
833f048f7f86d0321b9e980b6c45e2d68d21d9b4
f998876c3d90bfe6e818f99f62ad7fb97a5d1202
refs/heads/main
2023-02-11T12:49:25.753541
2021-01-12T01:44:14
2021-01-12T01:44:14
328,614,129
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
#!/usr/bin/python3 """ Author: cg Date: 2020/11/16 17:07 """ class Abstract: def init_def(self): """ 获取默认的配置数据 :return: """ raise NotImplementedError("待子类继承") @staticmethod def get_instance(): """ 返回各自的实例 :return: """ rai...
[ "cgstudios@qq.com" ]
cgstudios@qq.com
9266b611cea2f0093c0d96ea9482b3da65f38627
4e0feafc7c5f488bb64c07adafa0eb1efd371b2a
/39 Combination Sum.py
3ef9c490abf7cab6b622ac06a47b2b97ea676da5
[]
no_license
fahim0120/leetcode
dd52e5ee711f802928cad06f1ffd5d30514c6053
722690850cc7fd3d53981312182cf032983d2575
refs/heads/master
2023-04-03T06:56:32.630324
2021-04-10T04:34:21
2021-04-10T04:34:21
263,259,288
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
""" fahim0120@gmail.com """ # https://leetcode.com/problems/combination-sum/ # Medium # Most Liked class Solution: def combinationSum(self, candidates: List[int], target: int) -> List[List[int]]: def helper(sm, start_at, path, result): for i, num in enumerate(candidates[start_a...
[ "fahim0120@gmail.com" ]
fahim0120@gmail.com
d12c25be0fdf5634a1ea3c9b5e3502945fc033d8
f3c9732d2bef8f32b30b2318abe3785c343297f0
/ttsx_shop/ttsx_shop/settings.py
f6c091652ef05423217d684edc4708f42f6c25b4
[]
no_license
djangoplay/ttsx_shop_test01
c0871de156cbab6acc5a8a6f91a268e90bff0cd9
eb3e34080c6408b72603d3bad703afd6250ba184
refs/heads/master
2021-07-02T15:52:19.388650
2017-09-23T15:31:03
2017-09-23T15:31:03
104,578,108
0
0
null
null
null
null
UTF-8
Python
false
false
3,292
py
""" Django settings for ttsx_shop project. Generated by 'django-admin startproject' using Django 1.11.4. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import ...
[ "python@itcast.cn" ]
python@itcast.cn
6a8abde568c171a40d82e90271d2b182f6edd077
cd003b9bd0406efea1e2004073e4ce89dccbd597
/simple-examples/15-for.py
8a5cdd863310100cc8c9875ee4ce357a284e8366
[]
no_license
shamuad/python-materials
fae68f3cb456378d067350d395d94a237df73336
bbda8f01f2527b3ef124f09f55dcf273703481f4
refs/heads/master
2021-01-17T12:52:32.964098
2016-07-13T13:43:13
2016-07-13T13:43:13
59,762,477
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
import sys #for(int i = 0; i < 10; i++){ # suite #} #actually range(10) is an array, so it behaves like foreach. for i in range(10): print i for i in range(4,8): print i for i in range(2,10,2): sys.stdout.write(str(i) + " ") print "\n" for character in "Python": print character
[ "dinarari@gmail.com" ]
dinarari@gmail.com
aa8f5581855a9508ff4190e85841ff0a2edf7324
276f4438f05bdbb4e78ffaac5e51e44d4c32b1e1
/app/forms.py
ae87f07c76382dcff10a5405b48e1f87daf93641
[]
no_license
Robotwing/flaskweb
fdb967fe52551f6cfdd214637384e8fac34b17ff
4e9aea2976e3ac2481a5d7463ee4771950979b17
refs/heads/master
2021-01-10T16:13:36.064632
2016-03-01T14:19:12
2016-03-01T14:19:12
52,881,455
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
from flask.ext.wtf import Form from wtforms import StringField, BooleanField from wtforms.validators import DataRequired class LoginForm(Form): openid = StringField('openid',validators= [DataRequired()]) remember_me = BooleanField('remember_me',default = False)
[ "liqiuchiwing@126.com" ]
liqiuchiwing@126.com
75053f167324bf053f71e09602f70b721cb35b15
6b67f9b4914f1f005e66f9d1a93428967c470885
/treewidget/views.py
5512657dfa574ce37cd33a5680d47a6cd6ebc1ed
[ "BSD-2-Clause" ]
permissive
xrmx/django-fancytree
c0c9e98a3dddf69001534f5d0c5ff5538ffe175b
8bf0ec45ecc93190528432e5663c11ed74406caf
refs/heads/master
2022-03-18T21:13:33.148100
2018-10-06T15:07:50
2018-10-07T09:12:19
21,351,260
16
9
BSD-2-Clause
2022-02-11T14:42:16
2014-06-30T13:03:57
JavaScript
UTF-8
Python
false
false
985
py
from django.shortcuts import render, get_object_or_404, redirect from apps.categories.forms import SelectionForm from apps.categories.models import Selection def home(request): form = SelectionForm(request.POST or None) if request.method == "POST": if form.is_valid(): selection = form.save...
[ "riccardo.magliocchetti@gmail.com" ]
riccardo.magliocchetti@gmail.com
edad509ccdcf2db122c51122cf3e3278ca75929b
a1e4fe065787688a7acafb039057647de79ec611
/env/bin/wheel
03dff5e28a01c46dca78a4fad11bf80ad82b0651
[]
no_license
GiangHo/webtool
d21fe68cba50881826f96105780ab2af6c816578
632da508bec99a3e8dc1e58fa6fbc2aeae05b67d
refs/heads/master
2022-04-21T06:06:54.466813
2020-04-23T10:23:49
2020-04-23T10:23:49
258,166,548
0
0
null
null
null
null
UTF-8
Python
false
false
241
#!/home/lacquay/PycharmProjects/env/bin/python2 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "minhgiang2025@gmail.com" ]
minhgiang2025@gmail.com
6cef1edb21f6590ba2daacb940e5c1c977acda84
fe053b6315d7c4bcc763168b1af98b7efc7d4c9d
/04.Chapter4.py
e88659ad66289b7013371aa3cbb862a48dc1e801
[]
no_license
nathanworden/learning_python
a07937351b58c48dad7541c08208260839b244b7
6d6471673e35fb6bddb4703260cd85435256c384
refs/heads/main
2023-06-14T04:38:47.385506
2021-06-27T15:12:24
2021-06-27T15:12:24
363,701,051
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
# Everything is an object in a Python script # Python programs can be decomposed into modules, statements, expressions, and objects #1 Programs are composed of modules #2 Modules contain statements #3 Statements contain expressions #4 Expressions create and process objects
[ "worden.nathan@gmail.com" ]
worden.nathan@gmail.com
d7870a40f1c0cc50e7e98e6853dcf6f4cf63878b
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/3995/codes/1672_1950.py
d9036258f64b368da9802335bbf86f788d624ec8
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
253
py
t=float(input("temperatura:")) v=float(input("velocidade:")) o=13.12+(0.6215*t)-(11.37*(v**0.16))+(0.3965*t*(v**0.16)) if((t>=-50 and t<10)and(v>=4.8)): print(round(o, 4)) elif(v<4.8): print("Velocidade invalida") else: print("Temperatura invalida")
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
168b48ea0089a0062b147a1b8653e3e2b810bb44
747a651b3e82cdbb1d6c0ac238764a597cf19674
/dcnn/mill/train.py
91ad2a97bef0cc8e2acdb7c425e692a5acae031d
[]
no_license
chuanyaoliu/prediction
d20979904ec2735b47b46bed9ec4e084c9b456bb
b454810d49f3a653cce55312386553ae7ffe52a7
refs/heads/master
2020-06-18T00:29:43.657187
2019-06-20T13:19:47
2019-06-20T13:19:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,738
py
import scipy.io as scio import matplotlib.pyplot as plt import numpy as np import math import random from cnn import Net import torch import torch.nn.functional as F from torch.autograd import Variable dataFile = 'mill.mat' data = scio.loadmat(dataFile) allVB = [[] for i in range(16)] allTime = [[] for i in range(...
[ "574690129@qq.com" ]
574690129@qq.com
936d057fd9243e4e1a4d56240b0eae174b1ac351
50edecc302ca7404b662eb20c7b8f828521d58fe
/strcondadding.py
651c59f98b744fc86b3b8799f5b3f27f3b80fe7e
[]
no_license
amitanand/Python-strings
49d027487d62c4cab92d5ebe2719e129bafbcbcb
892d9cdac40a64cc149f6ba7511c4b1707d46cf0
refs/heads/master
2021-07-05T06:12:59.482973
2017-09-26T04:10:15
2017-09-26T04:10:15
104,284,235
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
'''Write a Python program to add 'ing' at the end of a given string (length should be at least 3). If the given string already ends with 'ing' then add 'ly' instead. If the string length of the given string is less than 3, leave it unchanged ''' import time str_1=str(input("Please enter a string :")) print("Alalyzing ...
[ "anand.amit943@gmail.com" ]
anand.amit943@gmail.com
855c6aaf9eed566e4170ab64ac60019fbc1e0d0a
76fc4ffc931ce83cfdfc9846435d92f1f217af26
/jmbo/migrations/0004_photosize_name_length.py
00a8457f321175fcf2da3750bbc25a86dd0be0f3
[]
no_license
praekelt/jmbo
70d2a4c8c19ffcc0b10ed1b915c05a6453ecb3de
b674c14c6611191643870a070ca8c9f229776776
refs/heads/develop
2020-04-06T06:10:09.524522
2018-06-08T10:52:42
2018-06-08T10:52:42
1,899,978
4
6
null
2018-06-08T10:52:43
2011-06-15T12:29:27
Python
UTF-8
Python
false
false
1,126
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-30 12:47 from __future__ import unicode_literals from django.core.validators import RegexValidator from django.db import migrations, models from django.utils import timezone # We're modifying a field from another app. This requires trickery. def fix_app...
[ "hedleyroos@gmail.com" ]
hedleyroos@gmail.com
7156424fbb1b904acf6bb1de1a4a2608f2f86d49
3cb90688f33ae520796036b2858d924eb3938f3d
/Projet SUSY/code3final.py
12f7f055ac12030c2dc7c58fa58d8b5626cef4d1
[]
no_license
gnagnabeubla/TP-ML-GRIMA
1f33aca7a00d2dcab23b3190ea577bb0c11ed886
30ec71ea392bf635f63a8a6e373332ca12075d70
refs/heads/main
2023-02-09T00:54:22.399355
2021-01-04T18:46:40
2021-01-04T18:46:40
302,896,648
0
0
null
null
null
null
UTF-8
Python
false
false
14,777
py
from __future__ import print_function, division import os import numpy as np import torch # pytorch package, allows using GPUs import pandas as pd #seed fixe seed=10 np.random.seed(seed) torch.manual_seed(seed) from torchvision import datasets #importation des données du dataset SUSY class SUSY_Dataset(...
[ "noreply@github.com" ]
gnagnabeubla.noreply@github.com
0fb11b9091b3e371a4279154788aaaba37c827b1
549af74d913881e8d0efc5c8cc36c28fb4a053af
/Week1/02-NumbersAndStrings.py
7d50a83bb52206d03b6a3db487e64ba28c76e929
[]
no_license
karthikkosireddi-g/P-Class
1a3b2ea2b0ff390ef51f353daa159ceaea997d60
b091738dae43b9abb9108816fdfb329c89ba446a
refs/heads/master
2020-09-24T09:21:03.535744
2019-12-12T18:58:10
2019-12-12T18:58:10
225,726,731
0
8
null
2019-12-12T19:40:35
2019-12-03T22:08:01
Python
UTF-8
Python
false
false
243
py
print ("This is a test print of text .,... !@#!@#ASDSDGF#$%#%12342354234 ") # Variables - Change its value ... name to calll that value a = 10 my_var_a = 20 print (a) print (my_var_a) b = 10 c = 10.3455 b = 10.4566 print (b) print ("b")
[ "kk@varkasa.com" ]
kk@varkasa.com
ebf0411cf8fd15124d51fefb1d9fce1ff401d78a
4ca07649f61d70b8803481e89f0f35a3ad7f7f4c
/Jamie/env/bin/pyrsa-priv2pub
9f127f79577a4e19d9b15f291939113e553dddc1
[]
no_license
coralisland-git/web-spider-cloud
b5ab74ea4b2188dd18281618ecaf3337163bd4d1
1da2aca0c28e6e08db1978939007706fdf60779e
refs/heads/master
2021-04-09T15:47:18.220441
2018-06-01T16:09:55
2018-06-01T16:09:55
125,665,826
1
0
null
null
null
null
UTF-8
Python
false
false
303
#!/media/apple/f50223eb-8502-4183-93ad-3e6be8fce2e0/work/scrapy/Jamie/env/bin/python # -*- coding: utf-8 -*- import re import sys from rsa.util import private_to_public if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(private_to_public())
[ "coseasonruby@gmail.com" ]
coseasonruby@gmail.com
29cc16fb0d99d057a0938bdae89ef34b38679c34
1bf73a39868ea90105e32cf07c86e537ed5ba92d
/HW/HW1/hw1.py
88d6dc4df273fc3731b204b86f804f8c76400149
[]
no_license
SiddhantBhardwaj2018/ISTA-350
a9d64ef00ad7182459e79c1122e6fb555719d57b
e773e87668af057c8adb1e012aa5d81f42c70f2a
refs/heads/master
2022-11-28T22:54:13.593382
2020-07-28T10:17:03
2020-07-28T10:17:03
283,168,552
0
0
null
null
null
null
UTF-8
Python
false
false
4,514
py
''' Name - Siddhant Bhardwaj Section Leader - Gwen Hopper ISTA 350 HW1 Date - 1/27/2020 Collaborator - Vibhor Mehta ''' import re, bisect class WatchList: def __init__(self,file = ""): ''' This method takes in a filename and initializes a dictionary by the name of bills which contains serial numbers of a...
[ "bhardwajsiddhant03@gmail.com" ]
bhardwajsiddhant03@gmail.com
259081c455ac974bfd744e0a80075935ec01cdc3
8667c5ce3e71ef8abe9490fb3584cda24a4674eb
/tests/test_tools.py
0fac6354c9183169cde50861efaf2da7f8f65c95
[]
no_license
YotamAlon/QuantumAlgorithms
9205958edbe4f6a8fb13d9455c2beaf96da873ff
a6ca4417153530ef24ce701b346ddcb9a04de7a4
refs/heads/master
2022-08-28T06:38:37.961731
2020-05-23T14:52:00
2020-05-23T14:52:00
262,534,114
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
import unittest class TestTools(unittest.TestCase): def test_split_result_by_register(self): from tools import split_result_by_register res_list = split_result_by_register('0010001', [4, 3]) self.assertEqual(['0001', '001'], res_list) if __name__ == '__main__': unittest.main()
[ "yotamalon@gmail.com" ]
yotamalon@gmail.com
a964718ec9364b158ba82e58b370dddd5833dfc3
5032b48f2019b0efcb43b82a39e4c58b4d482e8d
/test_filter.py
d6f5a9e1e4b2f6cd50217d05e7c0de4332057983
[]
no_license
r53127/test_python
bc16186142f8eedabb645dd32d482a6176f7e033
55770483f167e54a0fda76dc409e6e09f363cf9d
refs/heads/master
2020-03-19T20:53:19.616375
2018-08-27T07:02:58
2018-08-27T07:02:58
136,921,118
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
def _palindrome(n): m=str(n) for i in range(int(len(m)/2)): if m[i]!=m[len(m)-1-i]: return False else: yield n it = filter(_palindrome(n), list(range(1000)))
[ "rnkn@163.com" ]
rnkn@163.com
c19eafecd9139e88ccb5b8339a1c157f4444df5e
04457e5e04ddcd0ecdb9dc74e658672842743972
/pizzas/admin.py
5b39fe11ade9fa9f47fcc821f7ea1c41f370b875
[]
no_license
pitaohc/Django-pizzeria
0fefdbe10063d992ea126ec2181dfcb467ed57b6
4e4846d306b7c519c1a705f2dd3edd2662cd0413
refs/heads/main
2023-01-12T11:01:15.609876
2020-11-15T15:42:24
2020-11-15T15:42:24
313,062,584
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django.contrib import admin # Register your models here. from pizzas.models import Pizza, Topping admin.site.register(Pizza) admin.site.register(Topping)
[ "pitaohc@qq.com" ]
pitaohc@qq.com
6a0afd20adebaf4835c5a8c07acce5249689f947
09e161f2c6f2d9c3b848beb5b9a27fc6c8314068
/park_ground.py
4d13fdfdac18b4e60a773cb84b38faebf6d326d0
[]
no_license
dingjunZMY/part_ground
ac1ada80e514cf46edc315cf92683995bf6ef14b
72655e4867a4e3f437c19e4521339aa5b734a0b4
refs/heads/master
2020-04-01T13:53:53.496127
2018-10-16T11:07:29
2018-10-16T11:07:29
153,272,026
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
import time from park_records import ParkRecords class ParkGround(): def __init__(self,parkground_address,parkground_name,parkground_type,park_balance=20): self.parkground_address=parkground_address self.Parkground_name=parkground_name self.Parkground_type=parkground_type self.car_l...
[ "dingjun663666@126.com" ]
dingjun663666@126.com
40b4c752d025922651ff428b9772171ab96dd83d
a715d2bd56ffcb823c387870e5f30fe23075c390
/App_Login/froms.py
89b2da1d27637788349aba51a8a365879ba2033c
[]
no_license
nafiurrashid/My_Social_App
e58bc9656cbf85d25491507b83842a32d7a5e560
d22c5269cfead7b80917a68db72e13d14e3ab13f
refs/heads/master
2023-08-14T05:35:01.238254
2021-09-11T09:54:31
2021-09-11T09:54:31
405,342,060
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
from django import forms from django.contrib.auth.forms import UserChangeForm, UserCreationForm from django.contrib.auth.models import User from django.forms import fields from django.forms.widgets import Widget class CreateNewUser(UserCreationForm): email=forms.EmailField(required=True,label="", widg...
[ "developer.probashi@gmail.com" ]
developer.probashi@gmail.com
d41e471bc5a0e4d866d2c37cfeda57fbfc712d8f
a28574d927110aa0c1c10d9b46ca5fb6f8146dc1
/google/cloud/talent/__init__.py
13571c97b6138f2ec1206ff7083e443bcc6649d4
[ "Apache-2.0" ]
permissive
saumyasahu-bot/python-talent
a623af34501ec526049cbf30b8cfc043668a3e67
fbe4d9b3c1fbd7d2ea684151e804885ce056be9f
refs/heads/master
2022-12-26T00:55:40.961276
2020-10-02T15:26:05
2020-10-02T15:26:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,416
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
saumyasahu-bot.noreply@github.com
e24674418e738ed42a75158fcf2d7164c03934ef
de0ac7456bb7fb7c73c8b0bc2b785b6e73cbbb9c
/ccontrol/test/agent_test.py
9107164511720239a99eb8c79f3255ed8c9fd73b
[ "MIT" ]
permissive
PierreMsy/DRL_continuous_control
a51e6af581e480985b7f12f1e7fbbf6049f35885
40a443ea2c7415a5dd7185114da0f06902122c4b
refs/heads/master
2023-07-03T07:26:03.846336
2021-08-11T19:46:08
2021-08-11T19:46:08
380,946,365
0
0
MIT
2021-08-11T19:46:08
2021-06-28T07:37:34
Jupyter Notebook
UTF-8
Python
false
false
4,575
py
import pytest import numpy as np from unityagents import UnityEnvironment from ccontrol.agent import DDPG_agent from ccontrol.utils import Context, to_np from ccontrol.config import Configuration from ccontrol.test.mock import env PATH_ENV = ('C:/Users/pierr/Desktop/DataScience/Formation/2020_Udacity_DeepRL/'+ ...
[ "pierremassey1@gmail.com" ]
pierremassey1@gmail.com
50d1585e03151041db579b757fef7cfeee786fc6
e134450aaa5d5bde3cd47523dc05209ebf9634be
/other scripts/grid_plots/gmm_discretised_trawl_process_part_2.py
01addc69f74ae1823f03fc411b36f2bb023b5604
[ "MIT" ]
permissive
danleonte/Ambit_Stochastics
dbafaaae35b3c2aa2ba526a32e95e23356f224bd
b292561561d32911cbea6757b0715b56650b58e9
refs/heads/main
2023-08-31T05:56:33.557539
2023-08-29T13:56:46
2023-08-29T13:56:46
431,290,759
4
1
null
null
null
null
UTF-8
Python
false
false
1,890
py
# -*- coding: utf-8 -*- """ Created on Mon May 9 16:02:39 2022 @author: dleon """ import numpy import pandas as pd #from matplotlib import pyplot import seaborn import pickle import numpy as np #import matplotlib.pylab as plt #seaborn.set(style="ggplot") seaborn.set_palette("colorblind") #read the data delta_vect...
[ "dl2916@ic.ac.uk" ]
dl2916@ic.ac.uk
06654af4deae9542cb20769710aaa8185eac4dc7
a62f95762abb2ce4398c3ac9ae0fc2474155bde6
/projects/moviestar/app.py
ae932990135bce1dcefe001407b749f80ebe252e
[]
no_license
Wowfather/sparta
47271495e35c6abaf3790a07dc6f23dd58ae794f
c67e74e0b382662fcb1ac0bfb612eca3d95a9865
refs/heads/master
2022-11-14T07:52:43.491512
2020-06-30T13:20:47
2020-06-30T13:20:47
265,848,613
1
0
null
null
null
null
UTF-8
Python
false
false
2,142
py
from pymongo import MongoClient from flask import Flask, render_template, jsonify, request app = Flask(__name__) client = MongoClient('localhost', 27017) db = client.dbsparta # HTML을 주는 부분 @app.route('/') def home(): return render_template('index.html') # API 역할을 하는 부분 @app.route('/api/list', methods=['GET']...
[ "64903302+Wowfather@users.noreply.github.com" ]
64903302+Wowfather@users.noreply.github.com
6a54cd39779bc12b0b83defce0951b87a55fa52a
fbce008274ae7f4d189995804692d2b442e1869b
/百度ai语音转文字.py
40b7e0c28c7d91129995daf6a0466af40d2647ed
[]
no_license
frozen3bits/python
42f47855ba67feb7ebf90e3cbc96e5713ced1b5d
d207d439cb1501a6f43a3fc8970bed50f8858dc7
refs/heads/master
2022-12-01T20:11:00.290170
2020-07-31T06:09:16
2020-07-31T06:09:16
275,606,224
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
from aip import AipSpeech import datetime def shibie(): APP_ID = '15858603' API_KEY = 'EdUjl8Xu5cDcaDIp9fzl4EZn' SECRET_KEY = 'X3ZECRub139ucxElGbVBtxmiDDcfyPXx' client = AipSpeech(APP_ID, API_KEY, SECRET_KEY) file_handle = open('F:\\音频\\国联律师.wav', 'rb') file_content = file_handle.read...
[ "noreply@github.com" ]
frozen3bits.noreply@github.com
241fa6b221f9014d153bddf461f56f124deed35d
bf0d7c8d987d5fda14208eb9ce70e31c83c25c25
/c-ex4/viz_hidden.py
77f2b6e5a6e6b235b4949916dff588d425775ba8
[]
no_license
SummerBigData/SamRepo
7876e9393c7175e300e175a60c17633c3b23a1bb
fd84ad654370faa48c084349952c2921fde4032d
refs/heads/master
2020-03-18T05:09:08.787956
2018-06-18T17:11:49
2018-06-18T17:11:49
134,327,137
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
import matplotlib.pyplot as plt import numpy as np from nn_util import * n = 400 k = 10 s = [n, 25, k] L = len(s) sizes = [(s[i+1], s[i]+1) for i in range(L-1)] theta_flat = np.genfromtxt('weights.txt') thetas = thetas_from_flat(theta_flat, sizes) theta_h = thetas[0][:,1:] def inv_sigmoid(a): return np.log(a/(1-a)...
[ "lerner98@gmail.com" ]
lerner98@gmail.com
f1867a89853c7c4149e80a295b670596f8ca1ac5
bcde4b60ad5206a4cd00eaf80a0f5d300496cce7
/present/wsgi.py
f045529b0a84ea72efb2f05a2257e27bb89d8eac
[]
no_license
rrcc0044/present-service
388ba93c254692809e48ad0a6427d91abc0f5946
b8f82d58430759285d9aaa1c776564a44f93a7c0
refs/heads/master
2023-03-05T00:10:47.813097
2023-02-04T14:17:40
2023-02-04T14:17:40
145,641,592
0
0
null
2023-02-10T21:54:55
2018-08-22T01:53:45
Python
UTF-8
Python
false
false
463
py
""" WSGI config for viral 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/2.0/howto/deployment/wsgi/gunicorn/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "present.config") os.environ.setde...
[ "calangi.renz@gmail.com" ]
calangi.renz@gmail.com
684b4109d9bfbe0602aee7ea2e15f6b948a4ea33
f36e0f6d436cbe95f4ee2074bcfe61a2f93950e5
/setup.py
7caa3229b81c3aa36431e3ab06921649944a8788
[]
no_license
Suristar/packaging
3e8c0a97ef2fb01f0b64e5740d728191fd2ff22b
5376052515a2ec8e190a4fd671ac6ec22522f2aa
refs/heads/master
2020-09-17T08:10:17.095146
2019-11-25T22:02:13
2019-11-25T22:02:13
224,048,595
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from setuptools import setup setup( name="project2", version="0.1", scripts=["data2.py"], #in case your program needs data files data_files = [('.', ['data-2.csv'])], #project uses matplotlib so ensure that it gets install or upgraded on target machine install_requires = ['matplotlib', 'pa...
[ "56325899+Suristar@users.noreply.github.com" ]
56325899+Suristar@users.noreply.github.com
8553f0c871bde12dbc816afa5fefb05a875b926d
af936a771867fe4a7e88cdbf093629af931327ff
/deeptxt/optimizers/adagrad.py
f48870f45bcae95f88fd289f34bec3622551bd1c
[]
no_license
shamilcm/deeptxt
2055e0ff92c408ed7dbf6316a72b4af207def239
e6dbe0af0e2e79f677f7844a7cf8fce87358b671
refs/heads/master
2021-01-20T02:38:03.461863
2019-11-06T08:44:08
2019-11-06T08:44:08
89,433,823
1
0
null
null
null
null
UTF-8
Python
false
false
2,038
py
from __future__ import absolute_import import theano from theano import tensor as T from .optimizer import Optimizer from ..nn.initializers import Initializer class Adagrad(Optimizer): """ Adagrad optimization Implementation of the Adagrad optimization algorithm # Arguments learning_rate: ...
[ "shamil.cm@gmail.com" ]
shamil.cm@gmail.com
57dbb4c0d497d7ac338d4876eee719e972fed33a
f4d24c771bac83142d0244a4e3ecf4f104d03728
/test_serv.py
835f45543a5e767634a2216d85add9da04c0117e
[]
no_license
yuriimchg/stream_video
27ceeb5390e851049576d24718030fdb12c5c6d1
457577a00aa6e0dcf4ea0ba6f6d4f90f1f26f6a4
refs/heads/master
2020-03-29T18:40:45.020361
2018-12-13T15:49:46
2018-12-13T15:49:46
150,226,124
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import socket from random import randint from datetime import datetime # If host is an empty string, then this PC would be a host. host = '0.0.0.0' port = 5678 # AF_INET and SOCK_STREAM are constants, telling the system which protocols to use s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockopt(socket....
[ "yurgan4@gmail.com" ]
yurgan4@gmail.com
d06e206e8b683c34aafebd71428cc565b30b695e
f181a143fdb57a972fa6328d431e7828ac3cb419
/customer/migrations/0001_initial.py
19ec942e63ae1c14704ffd11082eca6202c52d7b
[]
no_license
VaibhaviShewale/betterclean
2157601c3a92dbabf574879c16bdfcbdd0dbdc9d
91b23e97aa4b73b3e6072f142dfef319a8d90e50
refs/heads/master
2023-09-02T02:00:25.200782
2021-10-24T07:34:03
2021-10-24T07:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
# Generated by Django 3.2.2 on 2021-10-14 06:20 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ReviewData', fields=[ ('id', models.BigAuto...
[ "kunalumaji@gmail.com" ]
kunalumaji@gmail.com
f82670200f5a400d8e48a8b174a2cd82239ab27d
46ce38eacc390e549944d2e73020cbfd7e0b020d
/ml/rl/test/gym/world_model/state_embed_gym.py
5e5bb9f273deb929dd36f4d255e2f21d9f25bbcf
[ "BSD-3-Clause" ]
permissive
sdaulton/ReAgent
0ae229da0f55ce0bf0108c5bc7bf481dc42aeb66
426d4915dcd90beb3c3781d030c64e748e336351
refs/heads/master
2020-09-06T18:44:23.454865
2019-11-07T22:34:47
2019-11-07T22:36:20
220,512,766
2
0
NOASSERTION
2019-11-08T17:07:30
2019-11-08T17:07:30
null
UTF-8
Python
false
false
9,698
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. """ This file shows an example of using embedded states to feed to RL models in partially observable environments (POMDPs). Embedded states are generated by a world model which learns how to encode past n observations into a ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
bf8b7ab7ec0ee7cb597dd110b12ecbc1aa6c64b1
84ae53c273f4cb6d18c395a985c357feda2a66de
/collectors/collector.py
8e06f9aa0d77a42372751a71c49445bd0cb11fd6
[]
no_license
thomasareed/pict
49d67e8479082b05b41e5027f0a90313dab87401
91301010edb9ce7befb2b2063cbdfc63fdc5b1b3
refs/heads/master
2023-02-05T00:00:41.140770
2023-01-31T17:03:50
2023-01-31T17:03:50
192,980,356
98
16
null
2023-01-31T17:02:52
2019-06-20T20:00:41
Python
UTF-8
Python
false
false
1,780
py
import os import subprocess import tools.util as util class Collector: collectionPath = "" allUsers = True userList = [] pathsToCollect = [] artifactsFolderName = "artifacts" collectArtifacts = True def __init__(self, collectionPath, allUsers): self.collectionPath = collectionPath self.allUsers = allUsers...
[ "thomas@thesafemac.com" ]
thomas@thesafemac.com
6be70691a6a372ac9c7ec40b4679883b2939e460
641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2
/build/android/pylib/constants/__init__.py
80ad2c1a8b45589070e60fb4c57c2f19f2485186
[ "BSD-3-Clause" ]
permissive
massnetwork/mass-browser
7de0dfc541cbac00ffa7308541394bac1e945b76
67526da9358734698c067b7775be491423884339
refs/heads/master
2022-12-07T09:01:31.027715
2017-01-19T14:29:18
2017-01-19T14:29:18
73,799,690
4
4
BSD-3-Clause
2022-11-26T11:53:23
2016-11-15T09:49:29
null
UTF-8
Python
false
false
7,735
py
# Copyright (c) 2012 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. """Defines a set of constants shared by test runners and other scripts.""" # TODO(jbudorick): Split these constants into coherent modules. # pylint: di...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
c348b8fbf62271f2569db6ac5e932e2083f492cd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02687/s366330739.py
8212de878e4731ef97587ca957ac1639f31d7b1e
[]
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
148
py
# A - A?C # 'ABC'には'ARC'を、'ARC'には'ABC'を返す S = str(input()) if S == 'ABC': print('ARC') elif S == 'ARC': print('ABC')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b5ab04d51f24f8b36d05253d72ae67d3c9ace030
16b0ca3eea8069435e8235099b168a6feb8f0541
/tests/10-deploy
bfa01b7ad71dc661275f4fb1628426b31a05cdcb
[]
no_license
ChrisMacNaughton/charm-remote-nfs
ecf1f974abbdfa4eb0a990cb758687b7a96ca9b8
f2b0645087c6ad57cb76715cf3cb26b78f2dbefd
refs/heads/master
2020-04-08T03:24:36.943255
2019-07-11T18:50:16
2019-07-11T18:50:16
158,974,632
0
0
null
null
null
null
UTF-8
Python
false
false
1,237
#!/usr/bin/python3 import amulet import requests import unittest class TestCharm(unittest.TestCase): def setUp(self): self.d = amulet.Deployment() self.d.add('remote-nfs') self.d.expose('remote-nfs') self.d.setup(timeout=900) self.d.sentry.wait() self.unit = sel...
[ "chris@centaurisolutions.nl" ]
chris@centaurisolutions.nl
740838e12c9f2d3f67bddd80e0cb0bea5bf163f6
ac829ea07c3de001f366399e0eb22d38dd9f4029
/Template/manage.py
382d9bb779acab783bee0eaf89310091d5235879
[]
no_license
prugiero/django-template-examples
9240ed477f618e4704ca275a6ff40139c2c00006
f4a22e405af4fcbc21e094e2a1c02bdd1c427f74
refs/heads/master
2023-01-03T22:09:58.041346
2020-10-25T10:10:16
2020-10-25T10:10:16
307,070,444
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Template.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure...
[ "pierpaolorugiero@gmail.com" ]
pierpaolorugiero@gmail.com
a6166cc9d4f4d7023dc089e2c54c17cb86142571
10c6894fe115251111b85260cfda757bffc216a0
/peer2.py
096443263fe8e9bad184d52a6d2b5e74d1c3d6b9
[]
no_license
mitchpiazza/Peer2Peer-Messaging
a42a53ce05e0fcc15437ae5e580dce4c5861e105
aef487e685e24505987d9f3a1366e373a9c2683a
refs/heads/master
2022-04-19T13:32:22.338235
2020-04-17T23:22:59
2020-04-17T23:22:59
256,629,988
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
import socket import os import threading def receive(connection): while True: buff = connection.recv(4096) message = buff.decode() print("Friend: " + message) print("-----------------------------") print("Would you like to connect to somebody or wait for connection?\n1 Connect to Somebod...
[ "noreply@github.com" ]
mitchpiazza.noreply@github.com
7a0ca2decb249fa1a7a0d3111f4bf6b46ae338d1
0a4f8db07dcb9070a8c5c05d6d56022d5c47a182
/bnnip/utils.py
a209d657a59fc3e64b1e77716796121adcf2189e
[ "MIT" ]
permissive
lekah/BNNIP
c5016d4f45bda49ca8bfc059f8a1b9781d41c429
fd62b94fb36167be045f0489f932a120f3391373
refs/heads/main
2023-08-21T15:34:17.138593
2021-09-22T14:17:24
2021-09-22T14:17:24
409,231,050
1
0
null
null
null
null
UTF-8
Python
false
false
2,226
py
import torch from torch.nn.utils.convert_parameters import _check_param_device class AttributeDict(dict): """ Utility to allow ad.foo to access values inside dictionary """ def __getattr__(self, attr): return self[attr] def __setattr__(self, attr, value): self[attr] = value cla...
[ "kah@zurich.ibm.com" ]
kah@zurich.ibm.com
13ef81d0170c88304adc0fe294d740fb507ae0ef
7755efce8e5ec81943ceb491590fae29eaad798a
/Codecademy Lesson 3 Control Flow/L3.5_Boolean_Operators_And.py
8413b9f09629808f478ec877dbcf37d340a3cfe0
[]
no_license
jashidsany/Learning-Python
01b3f2f207dfdf6d31f9ca9f5abd38aab710ba1d
2c9926fd1b159441cbe8e9e30f0804d99b936573
refs/heads/main
2023-02-20T03:59:15.123009
2021-01-25T01:12:19
2021-01-25T01:12:19
319,205,996
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
statement_one = (2 + 2 + 2 >= 6) and (-1 * -1 < 0) print(statement_one) statement_two = (4 * 2 <= 8) and (7 - 1 == 6) print(statement_two) def graduation_reqs(gpa, credits): if gpa >= 2.0 and credits >= 120: return "You meet the requirements to graduate!"
[ "noreply@github.com" ]
jashidsany.noreply@github.com
a49a3a9df059178fcfcbfe92c216811392ccc507
b8496da85857892f9ce663d3c7274f7c21bef1a9
/Alexa 2.0.py
584b1cc036ee8da6ffa0b9ba774e4dbd30cde631
[]
no_license
subham-misra/Alexa
193f493b56c67c8e3c8e1ba3b02a9f097328c76b
20bf7d399113b0fb09b24554a4a3d34b0ee1c90c
refs/heads/main
2023-06-29T16:43:22.673053
2021-07-28T16:04:55
2021-07-28T16:04:55
390,411,859
0
0
null
null
null
null
UTF-8
Python
false
false
4,754
py
import speech_recognition as sr #import pywhatkit import wikipedia import datetime import sys import pyjokes import pyttsx3 import webbrowser import os from PyQt5 import QtWidgets, QtCore, QtGui from PyQt5.QtCore import QTimer, QTime, QDate, Qt from PyQt5.QtGui import QMovie from PyQt5.QtCore import * from...
[ "noreply@github.com" ]
subham-misra.noreply@github.com
d3854df5c0cfad528f8a66d04ee219f3398b3031
f572e0a4b843ed3fd2cd8edec2ad3aab7a0019d3
/ows/wcs/v20/exceptions.py
8b2d542a5baad97f4eec81ecbf70515ef3aeeb76
[ "MIT" ]
permissive
EOxServer/pyows
9039c8ed7358c98d736e2b8fd9f47be944f0b0a1
e09310f992d6e69088940e9b5dbd7302f697344b
refs/heads/master
2022-10-09T23:27:43.884159
2022-10-04T10:03:25
2022-10-04T10:03:25
218,005,699
1
1
null
2022-01-04T13:36:06
2019-10-28T09:01:51
Python
UTF-8
Python
false
false
3,719
py
# ------------------------------------------------------------------------------ # # Project: pyows <http://eoxserver.org> # Authors: Fabian Schindler <fabian.schindler@eox.at> # # ------------------------------------------------------------------------------ # Copyright (C) 2019 EOX IT Services GmbH # # Permission is ...
[ "fabian.schindler.strauss@gmail.com" ]
fabian.schindler.strauss@gmail.com
3ce273ff7c46fa17acd4b7832d4e488d178af564
c5278643c1df2a0c1a83156f764ba7b2ebcc8cb8
/hc/api/tests/test_pause.py
e6c3d4142b8b6977190901b14f8e040aea1f06a6
[ "BSD-3-Clause" ]
permissive
protostartup/healthchecks
a5757584c4506282d488aff207676f54241c975c
25e48f1b9fff10866e4d6a0f875912527a5160bc
refs/heads/master
2020-04-11T15:24:42.495688
2018-12-14T16:58:35
2018-12-14T16:58:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,978
py
from hc.api.models import Check from hc.test import BaseTestCase class PauseTestCase(BaseTestCase): def test_it_works(self): check = Check(user=self.alice, status="up") check.save() url = "/api/v1/checks/%s/pause" % check.code r = self.client.post(url, "", content_type="applicati...
[ "cuu508@gmail.com" ]
cuu508@gmail.com
05fba388f75094a68827032ee32db261d37e6a53
64acb957de11ee4cd5e7b2f606066d26c63be004
/gan/my_dataset.py
5d93089d77083db80904804c7bb817f77389bb10
[]
no_license
oycq/complete_image
9cb6008e1bae2cccc0791c1b9a5f9f5df98372fc
0c34559637b85a4754b41581fd38837129af1f70
refs/heads/master
2020-12-05T06:06:30.808884
2020-01-19T16:18:23
2020-01-19T16:18:23
232,030,173
0
0
null
null
null
null
UTF-8
Python
false
false
3,639
py
import cv2 import glob import os import numpy as np import random import torch from torch.utils.data import Dataset from torch.utils import data L = 640 D = 320 def get_object_box_color(obeject_id): b = (obeject_id // 9 - 5) * 30 + 150 g = (obeject_id % 10 - 5) * 30 + 150 r = (obeject_id % 9 - 5) * 30 + ...
[ "490746960@qq.com" ]
490746960@qq.com
7eea268ae57a352984eaf5f57eb88b9296a428b9
90f178bccfc0c26039b19aea9a9076555d2015b0
/crawling_e_commerce/settings.py
271fc097a4d5fd5b0cda7a031d07455b433bddee
[]
no_license
KoTA208-2017/crawling-ecommerce
fdb274051727631c9b2f7e8e53c221b6a32af62c
02febc39acea26b4dc132a9a07e444f81176dbb1
refs/heads/master
2022-11-23T16:00:01.912938
2020-06-14T14:15:13
2020-06-14T14:15:13
262,975,653
0
1
null
2020-06-14T14:15:15
2020-05-11T07:52:11
Python
UTF-8
Python
false
false
3,374
py
# -*- coding: utf-8 -*- # Scrapy settings for crawling_e_commerce project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/e...
[ "mufida.nuha.tif17@polban.ac.id" ]
mufida.nuha.tif17@polban.ac.id
2bf1b289845072e5323c6c54c2a2c7f98de4d413
e72e0ff24c0592670cf705d352c4aed6ed221665
/app/migrations/versions/4c4dcaa0f878_.py
7f0d5c0f555a8015058cfb27b9975023bec5eb71
[]
no_license
EgorFray/FlaskBlog
93c57a7e0b279e3b297483b35f2faa900939391f
12155d0db832370c0d409ef547783227ac2dea0f
refs/heads/master
2021-03-08T06:41:11.476919
2020-03-10T14:44:38
2020-03-10T14:44:38
246,327,005
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
"""empty message Revision ID: 4c4dcaa0f878 Revises: b1eff6064cd5 Create Date: 2020-01-24 18:44:41.943591 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '4c4dcaa0f878' down_revision = 'b1eff6064cd5' branch_labels = None depends_on = None def upgrade(): # ...
[ "fatamorganaa933@gmail.com" ]
fatamorganaa933@gmail.com
c8a947e165c9e763ad4bdf98bb89237d7e4bf66e
021cf3a95271c46647c45427ca6f4e951a1eacb0
/2020/B/b.py
3a2882390d01d691f8a0dd5c7c016017fb86c480
[]
no_license
calvinchankf/GoogleKickStart
9c5fe0a2537c4efba79aa9352284a0b1e6e65445
dbcd259b756785ee2864915c22c5ee6abe270581
refs/heads/master
2023-02-12T14:05:59.787258
2023-02-11T16:19:50
2023-02-11T16:19:50
182,479,858
3
3
null
null
null
null
UTF-8
Python
false
false
695
py
""" math Small Pass Big Pass """ def f(nums, D): rightMost = D for i in range(len(nums)-1, -1, -1): rightMost = nums[i] * (rightMost // nums[i]) return rightMost # a = [3, 7, 2] # print(f(a, 10)) # a = [11, 10, 5, 50] # print(f(a, 100)) # a = [1,1] # print(f(a, 1)) # input() ...
[ "chan9118kin@gmail.com" ]
chan9118kin@gmail.com
721b5a8403681de0d88555628173820df82670b2
34077c4b546c9a98ba2cedc58061508c91315227
/carreira-python/python3/jogos/venv/Scripts/easy_install-script.py
bb22315c9bfa62bfa7ca397e34d7f27ed62f69c4
[]
no_license
CodexZombie/EstudosWeb
c068aa3e7f00fa234f46198078b7cc386fd5beac
6206ddb453a4713dd114e20709e7349639258e74
refs/heads/master
2021-07-05T08:41:25.667408
2019-03-20T03:14:05
2019-03-20T03:14:05
144,349,746
1
0
null
null
null
null
UTF-8
Python
false
false
456
py
#!D:\EstudosWeb\carreira-python\python3\jogos\venv\Scripts\python3.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "walvesdg@gmail.com" ]
walvesdg@gmail.com
1b748902903c60969cc84f3c2ff0c43c78765de4
03e1bef3d11a7b925b43b18f002c74ffd82d170c
/caffe2/python/layers_test.py
77918792a46a814f8fff3ea91477245fdf0efeee
[ "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
ConeyFly/caffe2
7f921816e9585ec2a49889d2500be50b4e0c9c8b
bcf8f149b3bf05611c7f7e1c769b75f5bc49cdc7
refs/heads/master
2021-01-01T04:04:23.326615
2017-08-19T01:19:21
2017-08-19T01:19:21
97,118,593
0
0
null
2017-07-13T12:08:39
2017-07-13T12:08:39
null
UTF-8
Python
false
false
32,695
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import hypothesis.strategies as st import numpy as np import numpy.testing as npt from hypothesis import given import caffe2.python.hypothesis_test_util as hu from caff...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
787f762d601d2ee8abd53a212a90c0eb7f9d1280
3371732de453ca47ef00619a7bbb3a1a67b5ed90
/usuarios/views.py
735ff8c8dbd5fda7ac5501056190dd5afd394d34
[]
no_license
LuisCatasus/Django_Models_User
0eb545c6964d7dbff806167dbbdca22c4951b49f
d58f54505dd00fca73090259e5304c8cf35af8c6
refs/heads/master
2023-04-01T06:49:42.514577
2020-08-02T00:43:13
2020-08-02T00:43:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
from django.http import HttpResponseRedirect from django.shortcuts import render from django.views import View from usuarios.forms import CustomUsuarioCreateForm from usuarios.models import CustomUsuario from django.contrib import messages def register(request): if request.method == 'POST': form = CustomU...
[ "matheusmonteiroalves@id.uff.br" ]
matheusmonteiroalves@id.uff.br
3c42b23c08e4c916bb8fcd17e2521c2594420d2a
5e249f607779c9989b47dd0564c0076cef9814f5
/utils/datasetfolder.py
724c89ea1c927b345ccb678e567db1b99847120f
[]
no_license
khtao/yolov3-pytorch
3aee19487ae9e96a29d25245e3f450006e7c3789
cc145c86b19f7e3fc411d24beb7c4be4565e793f
refs/heads/master
2020-03-24T00:38:28.614370
2018-07-25T13:06:49
2018-07-25T13:06:49
142,300,546
0
1
null
null
null
null
UTF-8
Python
false
false
1,787
py
from torch.utils.data import dataset import os import cv2 import numpy as np from utils.utils import list_file_tree class PathologyDataset(dataset.Dataset): """Face Landmarks dataset.""" ''' ./dataset/ train/ neg/ pos/ test/ neg/ pos/ '''...
[ "noreply@github.com" ]
khtao.noreply@github.com
d935ec322e374a79355eca8bdc598cb4f8ae4d41
c4506383b9d556170376d5230fef69f0ead36a86
/Flask/elastic_search/data.py
a2a0fb5ad8a2c6877b4298d63ef1284dbe50be2d
[]
no_license
HackRx2-0/ps1_gecko
18840c916fc77fba1a57fd3d4f960b728b91e49b
398c199b01aec945b1e967f1bced51fa1d2ec051
refs/heads/main
2023-06-21T01:03:35.011088
2021-07-25T12:14:07
2021-07-25T12:14:07
388,513,423
0
0
null
null
null
null
UTF-8
Python
false
false
74,742
py
class Data: def __init__(self): data = [ {'title': '5 Personal Finance Tips That Will Help You Manage Your Money Better', 'content': '\n \n <p style="text-align: justify;">Cracking the code to personal finance may not seem easy at first. But if you have the right tips guiding you, you’ll find ...
[ "noreply@github.com" ]
HackRx2-0.noreply@github.com
5dc9f34b4e005f45a1c293e238160b432f5820c1
82aba914cce06de513f72824c5a3d18ae3646da4
/Triples_of_Latin_Letters.py
a368a8137f57a397a62f7a3a9536ed466f4dc35d
[]
no_license
Kyanit3/Programming-Fundamentals
7c6180ea71a181b7f2ed3e751498390c50d70230
7b4af39e96c1cb2b8f4cca658ac57fe2aeccb9e5
refs/heads/master
2022-12-11T14:40:28.127063
2020-08-11T18:27:49
2020-08-11T18:27:49
267,403,551
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
num = int(input()) for i in range(0,num): for k in range(0,num): for j in range(0,num): print(f"{chr(97 + i)}{chr(97 + k)}{chr(97 + j)}")
[ "georgipetrow00@gmail.com" ]
georgipetrow00@gmail.com
b3afe55fffeda671f0363abb51fa4c1e66106c94
79ed3f72555aad8548634f523f775f34cfe166e7
/catch/datasets/hag1.py
fdae6eb661d5e4cfaa9398d0e382898e7a03c753
[ "MIT" ]
permissive
John-Bioinfo/catch
a2ab188ed598767e7759f74227f24af2b284b379
fe63b86bc41396c1da0b449ac440c6ae9e52b2c5
refs/heads/master
2020-03-18T09:29:10.315733
2018-04-17T18:36:47
2018-04-17T18:36:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
"""Dataset with 'Human associated gemyvongvirus 1' sequences. A dataset with 2 'Human associated gemyvongvirus 1' genomes. THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROGRAM! DO NOT EDIT! """ import sys from catch.datasets import GenomesDatasetSingleChrom __author__ = 'Hayden Metsky <hayden@mit.edu>' ds = Geno...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
761d376738dff5065eb205f52483975c3895404c
11e3ca0f8332835bd28ed69b20729079d071289c
/devel/lib/python2.7/dist-packages/custom_sys_msgs/msg/_TrackPathActionResult.py
53fa8b36dc54d0f018d69916ce9299010e3403e2
[]
no_license
huan-holmes/roswrok
7d90cdb97f3b8af849968de0e498df64448454bd
3d7b15cd53a5f14e40538c1b8fc330e96ae8d379
refs/heads/master
2022-12-08T13:12:31.850804
2020-09-08T01:47:38
2020-09-08T01:47:38
293,672,544
0
0
null
null
null
null
UTF-8
Python
false
false
12,026
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from custom_sys_msgs/TrackPathActionResult.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import custom_sys_msgs.msg import genpy import actionlib_msgs.msg import std_msg...
[ "1124782663@qq.com" ]
1124782663@qq.com
fb90ef3f04640975faca0418775ddddf8837d8db
187c27b5d1255f3f08ec87a4bb51cc4056d8e2da
/agents/views.py
27ef869b7b3b066d67c3ea077e6f104ce339b5d1
[]
no_license
LKingJ23/Django-Hotel-Site
1f589154d9475731d015c823e83815292b962e11
49b1bef7425ff63bf8ec3e178629ccc2bab45c1f
refs/heads/master
2020-06-14T20:22:17.310187
2019-07-03T19:41:30
2019-07-03T19:41:30
195,115,416
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
from django.shortcuts import render from .models import Agent # Create your views here. def agents_list(request): agent_list = Agent.objects.all() template = 'agents/agents.html' context = { 'agent_list': agent_list } return render(request, template, context)
[ "lkingj23@gmail.com" ]
lkingj23@gmail.com
0f4aaf1913e904c2aa767b8653cd38ce34ff30bf
18eef6419da5721139df45b92c7557dbfa654347
/apps/users/migrations/0004_auto_20180529_2258.py
40546c416a804fa94b82a01a3ea68690b306a82b
[]
no_license
taoing/pymx
a36989f805c760b535954a0056dcbd8180b32ea3
3f24b8d417f1c1896cab73c623ab9774807f520d
refs/heads/master
2020-03-18T20:58:37.435126
2018-06-09T15:16:49
2018-06-09T15:16:49
135,250,436
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
# Generated by Django 2.0.3 on 2018-05-29 22:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0003_auto_20180529_1658'), ] operations = [ migrations.AlterField( model_name='user', name='address', ...
[ "=" ]
=
463d3021e5c445bf421f70d66e3b6bd3b076fa33
68d190c5a6873abc8c245fd13341842a2bd2dd23
/QulaificationRound/Q3.py
82c5931e06a660df5c72c3b36a03987b4f3aa42e
[]
no_license
algostructures/GoogleCodeJam
cd5c8efca423580ef469b479a41638369c9a351f
15783f19bc4934aed5ba8fec060e87103600cf88
refs/heads/master
2021-01-20T02:28:36.892814
2016-06-26T03:44:38
2016-06-26T03:44:38
57,599,388
0
0
null
null
null
null
UTF-8
Python
false
false
7,926
py
#------------------------------------------------------------------------------- # Name: Google CodeJam Probelem 3(Coin Jam) # Link: https://code.google.com/codejam/contest/6254486/dashboard#s=p2 # # Author: Saurabh # # Created: 09/04/2016 # Copyright: (c) Saurabh 2016 # Licence: <your licence> ...
[ "noreply@github.com" ]
algostructures.noreply@github.com
d4e0bae3805afbac2f13e7fb4aaa6af639b860f7
297497957c531d81ba286bc91253fbbb78b4d8be
/testing/mochitest/pywebsocket3/mod_pywebsocket/util.py
351ca9fac84852ce0760931431fd2b91c8ebd766
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
Python
false
false
10,317
py
"""WebSocket utilities.""" from __future__ import absolute_import import array import errno import logging import os import re import six from six.moves import map from six.moves import range import socket import struct import zlib try: from mod_pywebsocket import fast_masking except I...
[ "mcastelluccio@mozilla.com" ]
mcastelluccio@mozilla.com
d8aa039a263fad00415af56703fd0d76ea361218
bae358b55b758d09aa54b3cf5d08868ac0f2a90e
/scripts/HTML Scripts/Generate URL List.py
259981948a609ad4b41790fcd6ebbfc4ac83c6fd
[]
no_license
Qetuoadgj/PythonScript
9e4e9e962b4348f2a2a5c0e026ca26e8aa081b1c
fc6b1b14d29b54b9e5b54c7406d9e4586e280131
refs/heads/master
2021-01-13T15:36:29.721001
2018-01-31T22:10:05
2018-01-31T22:10:05
80,074,222
0
0
null
null
null
null
WINDOWS-1251
Python
false
false
7,480
py
# -*- coding: cp1251 -*- # https://github.com/Qetuoadgj/PythonScript/tree/master/scripts/HTML%20Scripts # https://github.com/Qetuoadgj/PythonScript/raw/master/scripts/HTML%20Scripts/Generate%20URL%20List.py import re # import types # import time def trim(string): if string: # удаление кавычек #...
[ "noreply@github.com" ]
Qetuoadgj.noreply@github.com
f3dadbe55dd50c162510c82e57373c2044e4a8ca
901a79e83628de1334281bfeef21a4cc67e520cf
/mysite/settings.py
7eb7760b57beed08eefe01bb01b2d818778c549d
[]
no_license
spshah18/mediumeditordemo
32a5ae860b722c4e36e7d09ec1ed1f63baacacce
81fd953f4025ce257c1b94d08012c4fef26fdb97
refs/heads/master
2020-05-19T15:49:48.915198
2019-05-05T23:05:35
2019-05-05T23:05:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,259
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Bu...
[ "spshah18@asu.edu" ]
spshah18@asu.edu
e51ebc17d32c53b6a368d0019d094b269df2bf23
e44d77c4d22a9cd0aa0a536d6d4e522359eedc81
/trialscompendium/trials/api/urls.py
eb740a50c49131d2158a35228430de7d7ed74501
[ "MIT" ]
permissive
nkoech/trialscompendium
cfd3f65a88a32e3f71bc27cba6a4ae777e319af4
9cd2c28a22957b84d97d87eb6b7b9b1b8616bacb
refs/heads/master
2021-01-01T04:54:18.162744
2018-04-17T15:40:05
2018-04-17T15:40:05
97,270,861
2
2
MIT
2018-02-15T09:48:23
2017-07-14T20:36:19
Python
UTF-8
Python
false
false
1,414
py
from django.conf.urls import url from .views import ( plot_views, trial_yield_views, treatment_views, ) # Treatment URLs urlpatterns = [ url( r'^treatment/$', treatment_views['TreatmentListAPIView'].as_view(), name='treatment_list' ), url( r'^treatment/create/$',...
[ "koechnicholas@gmail.com" ]
koechnicholas@gmail.com
b1231c2090737f0873c547c84671ce743af50fc3
2801515040ce99a8947cf624602ff47c9cd41c7c
/pylifter/recycle/xlsxReadData.py
955ae228064488ed71a4c9aa15db7b6c48ee9281
[ "Apache-2.0" ]
permissive
yindaheng98/LittleProgramSet
9bf789d0b3cd127ebdc2f808ad9b4d1b2607912f
e45d76c5f082ec91def63089f5a10473b6762cf1
refs/heads/master
2023-01-09T09:31:27.570710
2022-12-27T14:53:07
2022-12-27T14:53:07
183,003,323
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
import xlrd from datetime import datetime from recycle.xlxsDatetimeToTuple import xlxsDatetimeToTuple def xlsxReadData(engine, table_name, path, sheetnum=0): # 将path路径的excel表格中的数据读入engine所对应的数据库 workbook = xlrd.open_workbook(path) sheet = workbook.sheet_by_index(sheetnum) for i in range(1, sheet.nrows)...
[ "yindaheng98@163.com" ]
yindaheng98@163.com
e7e53ac52d511c29a75377854f965c7a431e0eb2
4fc3f48e874d96046585bfa7c6adec22beaa22d1
/barrierOption_pricing.py
f7be53cc9c6bc17b23c59a9bfad31a9237d571cd
[]
no_license
amosgPyt/optionPricing
6f969aa5855a0b456264c4a4f02b14e3b35ffb81
397a001cd3c2259bfa69bd282e17e3d0e665734e
refs/heads/master
2020-09-05T16:12:12.597001
2019-10-17T07:58:51
2019-10-17T07:58:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,665
py
################################################### # -----------package-----------load-----------###### ################################################### import math from scipy.stats.distributions import norm import matplotlib.pyplot as plt import pandas as pd import numpy as np from random import seed, gauss from ...
[ "499123398@qq.com" ]
499123398@qq.com
75f729bc861f9e09e111d25926334f32e7145824
099deeb2c308bdc00a2c423743e4b2aacdac866c
/week1/searching_lyrics/youngyun.py
ba410784e8f79a376a70247b82107a7c61ea8364
[]
no_license
Joonsun-Hwang/coding-test-study-lamda
76fed2f18a3220f6731775984425dff49b4379eb
0632ec9dd60024203ed10ebeab07aa7da4782806
refs/heads/main
2023-05-01T21:31:48.174944
2021-05-05T09:48:23
2021-05-05T09:48:23
329,205,708
0
1
null
null
null
null
UTF-8
Python
false
false
1,163
py
# 지나치게 코드가 길며 시간복잡도도 상당히 좋지 않음 글자를 하나하나 맞춰보는 경우 O(n^3)인 경우도 생성됨 def solution(words, queries): answer = [] print(words) for query in queries: match = 0 for word in words: flag = True j = 0 i = 0 if len(word) != len(query): # 애초에 길이가 다르면 비교 가치...
[ "fightnyy@naver.com" ]
fightnyy@naver.com
cf062af05f153d4fa76712fd18e2a330faa64eee
2436f3f3dcb0a017965279076954a9a8c96b743c
/Main.py
72dff42ed030c124c8990d7454998c4a84aa0eeb
[ "Apache-2.0" ]
permissive
samuelterra22/Data-Mining
f9187f4d9e52024e724ea37887c4d61032967401
0237bc6e86f28f7bf1306dfb60c41987f5e41bbd
refs/heads/master
2021-08-31T10:14:38.918181
2017-12-21T01:59:47
2017-12-21T01:59:47
114,924,015
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np import scipy.stats as stats import seaborn as sns from matplotlib import rcParams import statsmodels.api as sm from statsmodels.formula.api import ols df = pd.read_csv('kc_house_data.csv') # print(df.head()) # print(df.isnull().any()) # print(df.d...
[ "samuelterra22@hotmail.com" ]
samuelterra22@hotmail.com
bc29b15eabbd22e4af5e1f1da7d7846fe6fa794d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_387/ch136_2020_04_01_12_06_52_438302.py
5a78febe80669c25bdb2163ef7afb2a5b120d898
[]
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
1,151
py
import random as rnd def dicas(soma): num1 = int(input('Primeiro número: ')) num2 = int(input('Segundo número: ')) num3 = int(input('Terceiro número: ')) nums = [num1, num2, num3] if soma in nums: return("Está entre os 3") else: return("Não está entre os 3") dado1 = rnd.randin...
[ "you@example.com" ]
you@example.com
1ff7150d441748700bb9d35cdfb5b9a96f31d079
052978b67ae2ae27bb35e3c5323ca66038e51b9c
/stProject/Btx/venv/Lib/site-packages/elasticsearch/client/cat.py
441e2e88b29d11a7aed7d4a2ddf8897770ae0552
[ "Apache-2.0" ]
permissive
AliTaheriNastooh/someTempCode
f01018f2f1bdb72b74c2f5931ca5702ba9ca1833
e5a25b25a408925cee3916be4dadd60d87086470
refs/heads/master
2021-01-05T07:33:16.719927
2020-09-08T17:29:25
2020-09-08T17:29:25
240,933,752
3
0
null
null
null
null
UTF-8
Python
false
false
31,997
py
# Licensed to Elasticsearch B.V under one or more agreements. # Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information from .utils import NamespacedClient, query_params, _make_path class CatClient(NamespacedClient): @query_params(...
[ "r.baharlooei@yahoo.com" ]
r.baharlooei@yahoo.com
aec98a6c7f1944baa6fd27a6ecf9f0ca61fb45e8
cfa632132cd29a0b58e7f45b441ea4f62b0f5eba
/flytekit/models/admin/workflow.py
91e82252b40cf9f189066fa756e314dbf9e671ad
[ "Apache-2.0" ]
permissive
chixcode/flytekit
5b4f2e687e82a0d6527411afcdaf0929a94adb13
f901aee721847c6264d44079d4fa31a75b8876e1
refs/heads/master
2020-08-24T00:06:02.808187
2019-10-14T18:34:19
2019-10-14T18:34:19
216,729,272
1
0
Apache-2.0
2019-10-22T05:22:01
2019-10-22T05:22:00
null
UTF-8
Python
false
false
3,275
py
from __future__ import absolute_import from flytekit.models import common as _common from flytekit.models.core import compiler as _compiler_models, identifier as _identifier from flyteidl.admin import workflow_pb2 as _admin_workflow class WorkflowSpec(_common.FlyteIdlEntity): def __init__(self, template): ...
[ "matthewsmith@lyft.com" ]
matthewsmith@lyft.com
a851acd9da4bc6fa17af7afb1b7034c4c9c89e31
c84c8cf40782823774a99c4c011356bc26b91717
/code/LDA_initial_out.py
a89933f1bb393d72c214ab3499714848572d7839
[]
no_license
karlroush/WF_CAC_2019
26e872ff7ccbc9b578205eadab494ec2e752326c
3b558f838c39202440d33bc0553258888323ffe7
refs/heads/main
2023-07-11T01:39:33.487894
2021-08-12T00:13:39
2021-08-12T00:13:39
395,116,893
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
# -*- coding: utf-8 -*- """ This file outputs the data from the initial LDA analysis @author: kroush7 """ from config import * import csv def LDA_output(res_topic_num, res_subtopic_num, IDs, res_score, res_subscore): # print(IDs) # print(res_score) data=[['topic', 'sub_topic','dataset_id', 'topic_confidenc...
[ "karl.roush+github@gmail.com" ]
karl.roush+github@gmail.com
8bcc40ad696dc14b4d851289c506cf12e3278b8b
6c7a9e4bca9828325219cfca420dae8567bd180d
/code/lib/dataset/__init__.py
66ee71bb3c8bfb0381f5bebb5c69546754e49c5d
[]
no_license
PYGang/lumbar_project
b91717b6c3174de753da2afb56232c95cd6b0c8f
a8531aa3a87237a454ab7ac663906824e487ec06
refs/heads/master
2022-12-14T23:57:01.848387
2020-08-23T06:53:05
2020-08-23T06:53:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# ------------------------------------------------------------------------------ # Copyright (c) Microsoft # Licensed under the MIT License. # Written by Bin Xiao (Bin.Xiao@microsoft.com) # ------------------------------------------------------------------------------ from __future__ import absolute_import from __futu...
[ "lianjunwang@sf-mail.com" ]
lianjunwang@sf-mail.com
1a9adb679879e2543ec9b2ab25ece1e16b986fb3
d569476dd95496339c34b231621ff1f5dfd7fe49
/PyTest/SampleWebsite/tests/Pages/FeedbackForm.py
9cd2c00d4dbc8431b3b190dfb5b56ffb0c4b290f
[]
no_license
monteua/Tests
10f21f9bae027ce1763c73e2ea7edaf436140eae
553e5f644466683046ea180422727ccb37967b98
refs/heads/master
2021-01-23T10:28:49.654273
2018-05-09T09:11:30
2018-05-09T09:11:30
93,061,159
0
0
null
null
null
null
UTF-8
Python
false
false
3,914
py
from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains from selenium.common.exceptions import NoSuchElementException #page URL base_url = "CLASSIFIED" # page locators page_logo = "logo" company_moto = "//*[@class='col-xs-8 align-center']//p" company_name = "//*[@c...
[ "arximed.monte@gmail.com" ]
arximed.monte@gmail.com
d419c397527157686280ea0cda0a32752c3dde98
84f9ca2161b9a260a55a8b6e1f4efc8de6bacb15
/contrib/devtools/fix-copyright-headers.py
9c92ed907755eaa37de348fba25e82559d974e9f
[ "MIT" ]
permissive
fngtrade/firstcoin
1d2352e5c87593d2d51fd78ba4c7ddcc5e89bbb1
d7ee42952bd611c62a83154151ec883e23f8593a
refs/heads/master
2021-05-12T10:28:26.167239
2018-01-13T15:26:39
2018-01-13T15:26:39
117,353,193
0
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
#!/usr/bin/env python3 """ Run this script to update all the copyright headers of files that were changed this year. For example: // Copyright (c) 2009-2012 The FirstCoin Core developers it will change it to // Copyright (c) 2009-2015 The FirstCoin Core developers """ import subprocess import time import re CMD_GI...
[ "fstc@protonmail.com" ]
fstc@protonmail.com
2df191702adc5996c9ef206f9f4573764fa97117
dacbed71189512ae874c39084c3e46a628aac71b
/askisi6.py
7f0f9b8f84538cabdb363b3830674a27f1909f1d
[]
no_license
StratisZx/ErgasiaPatsaki
da8f10a54e40a83df6bc3fee5ef95cf7fe2fbaeb
9fd183f27dfeb7871f07734c27482364ddf9eaca
refs/heads/master
2020-04-22T18:13:46.451202
2019-02-14T06:42:57
2019-02-14T06:42:57
170,570,243
0
0
null
null
null
null
UTF-8
Python
false
false
4,849
py
import random import re import time from string import ascii_lowercase def setupgrid(gridsize, start, numberofmines): emptygrid = [['0' for i in range(gridsize)] for i in range(gridsize)] mines = getmines(emptygrid, start, numberofmines) for i, j in mines: emptygrid[i][j] = 'X' grid = getnu...
[ "noreply@github.com" ]
StratisZx.noreply@github.com
7f4f6dc4aceff10b6bbf67daff605692bd017395
cd08fe6948d6b743419cc5904764374dfaa7a0e2
/apps/accounts/migrations/0001_initial.py
a140f0102164820ce482bef0d4416ca27406e347
[]
no_license
divisible-by-hero/central-station
2af493097be75a3c0299d9a10e76fafa8896cb66
f6bc8a9cb9a502ffc49164187ebdcde2b51619c5
refs/heads/develop
2021-01-20T02:20:39.027229
2014-01-29T20:11:12
2014-01-29T20:11:12
955,878
5
1
null
2014-01-29T20:11:12
2010-10-02T03:08:57
Python
UTF-8
Python
false
false
11,106
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Account' db.create_table('accounts_account', ( ('id', self.gf('django.db.models....
[ "dstegelman@gmail.com" ]
dstegelman@gmail.com
7e8b533133d8b487bd8221442c8f76305895f087
f2d8654b2dfb327a0970b6115fa450df2ca05faf
/pyduplicate/data/const.py
4a891e5fe47da3cff045d8a71d20de934da589c2
[ "MIT" ]
permissive
Clement-O/python-duplicate
7c5549ed0fe28e0fb9c444e56e87ee992acd18ae
4505076567a7cd8cc0904a6e0ca21f26c6c9dd2d
refs/heads/master
2020-07-13T20:24:34.505175
2020-02-02T15:39:35
2020-02-02T16:10:14
205,147,959
0
0
MIT
2020-01-12T17:41:10
2019-08-29T11:29:17
Python
UTF-8
Python
false
false
74
py
UNIQUE = 'unique' DUPLICATE = 'duplicate' CREATE_UNIQUE = 'create_unique'
[ "o.clems@hotmail.fr" ]
o.clems@hotmail.fr
762bbd897e6f2e90c32606aa1aa9c01022761f67
27a4eaa9b7052d3d65dd6c63952ac3055c73fbf0
/ztst/tweet_100th.py
1d0d4b8246f3b8f2602b011ce8729e61c5b6ef7b
[]
no_license
tobby2002/vec4ir
84f4695dc0a58f6cca6aff3c970167893a5d8c68
8acd1e91cd9eb0a8625bdf18cc3c37d2b7cc2a44
refs/heads/master
2021-06-19T20:42:15.913189
2021-03-21T10:31:35
2021-03-21T10:31:35
190,150,202
0
0
null
2019-06-04T07:19:09
2019-06-04T07:19:09
null
UTF-8
Python
false
false
1,135
py
from sklearn.feature_extraction.text import TfidfVectorizer words = ['the cat sat on the mat cat', 'the fat rat sat on a mat', 'the bat and a rat sat on a mat'] tfidf_vectorizer = TfidfVectorizer(min_df=1, use_idf=True) tfidf_matrix = tfidf_vectorizer.fit_transform(words) terms_name = tfidf_vectorizer.get_feature_names...
[ "tobby2002@gmailcom" ]
tobby2002@gmailcom
1fac3a8023554ce28625fcba3dd2aa11dd2a10c3
7438ab37ee53088114c875592ba8c4a995b6ffdf
/prog_b6/prog_b6_Raul.py
6dca6da1d87c2a8aebc3867b554ff174794f3a18
[]
no_license
accuray/programas_b
239d37e2a11023619cbe66e3e17eecd4654c1db7
bb1ceddae6a37bae55469a0200cde753bcb10ae3
refs/heads/master
2023-02-15T15:42:48.771039
2021-01-10T01:22:00
2021-01-10T01:22:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
''' Usuario: Raúl @spleyades (en Telegram) Detalles: Crea un programa que imprima en pantalla la si el dispositivo host tiene conexion a internet ''' import os import platform def hay_conexion_internet(): conectado = False # Uso el comando ping para acceder a un servidor siempre activo, en este ...
[ "70590945+AprenderPython@users.noreply.github.com" ]
70590945+AprenderPython@users.noreply.github.com
f0ac9ae13d2122d7c283b67e7d26a9210686fa38
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fiftyPercent/rank_4q5e_G.py
afe9e17d1c84d179371c4fcf47787fee1df0ea11
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,390
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
cb2159ccee2c2cd4924834e00a477336634e42de
493341d27f9b32a35075aeed58125d6242259142
/node_modules/bcrypt/build/config.gypi
ef2b03547a125476406b20177fb9716a152f37f5
[ "MIT" ]
permissive
rajayogan/mails-backend
ffc3651a623ad4fdff310ef469fa5cb48a2c4fa5
8368cf9a9d394c5c71915b6535fecb9ed671ea0c
refs/heads/master
2021-04-05T23:38:37.194064
2016-07-20T23:11:15
2016-07-20T23:11:15
63,820,664
5
6
null
null
null
null
UTF-8
Python
false
false
3,938
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "gas_version": "2.23", "host_arch": "x64", "icu_data_file": ...
[ "rajayogan27@gmail.com" ]
rajayogan27@gmail.com
dde958abd51a4cbd3ab0be409fb6839c745be6c5
12af3a7b1b1c77fbb9fb0bb21e481efd9ac74abc
/pchome/pchome/csvstore.py
98fa8d7cfcba46db79312042017f7b5f2b4aea9b
[]
no_license
JunEden/scrapy
04a7ec32182eea122fa9e79e612681c9e5fc57cd
dee0eed9479503368147de5abb692891ca459ae2
refs/heads/main
2023-03-22T02:22:32.333949
2021-03-18T12:21:44
2021-03-18T12:21:44
349,051,792
0
1
null
null
null
null
UTF-8
Python
false
false
1,512
py
import os import csv import logging from pchomedao import Save def singletonDecorator(cls,*args,**kwargs): instance = {} def wrapperSingleton(*args,**kwargs): if cls not in instance: instance[cls] =cls(*args,**kwargs) logging.info('new instance') return instance[cls] return wrapperSingleton @singletonDe...
[ "noreply@github.com" ]
JunEden.noreply@github.com