blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
cabf56396409a2b8bbe2bba525dd0a4347f411d5
4af8e73d47535494a25e06d5ac693fdc60fc95f5
/NLP_pytorch/04_pytorch_ignite/main.py
3c143464dd83f6b08e51033562e87b446747ba97
[]
no_license
woosa7/nbcc_projects
4de2f846068bacdc73a6877d26dba93c483b1be3
0e7a30f58e554125d02451ab407f2a19c8c7b5f4
refs/heads/main
2023-06-16T16:19:51.975216
2021-07-16T05:18:53
2021-07-16T05:18:53
306,594,548
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
import argparse import torch import torch.nn as nn import torch.optim as optim from model import ImageClassifier from trainer import Trainer from data_loader import get_loaders def define_argparser(): p = argparse.ArgumentParser() p.add_argument('--model_fn', required=True) p.add_argument('--gpu_id', ty...
[ "woosa7@gmail.com" ]
woosa7@gmail.com
909609add05a88abbf5650be91abc3928e26ba26
2ccc3f4505bfb794e4a5f3daeb02e4ecdafc4073
/a1.py
625882ac5363c6cab308567ed93a26ceb8be5e26
[]
no_license
lyc4614/lyc4614.github.io
96e6e55a5350cd832f92be887e95997633146d87
1f0406138776d4f8edf7df8616add8bb7d9a126b
refs/heads/master
2021-02-18T08:13:38.613823
2020-03-05T15:10:22
2020-03-05T15:10:22
245,074,826
0
0
null
null
null
null
UTF-8
Python
false
false
12
py
1111 555666
[ "lyc4614@163.com" ]
lyc4614@163.com
dd4fd55ead76b9ef88bec989129eb882c935a3e0
0e803823370ca517defd8fa843c03aac46fad5d7
/Src/SpineSegmentationC3D/loss.py
183511aa6208b3781cb12ffc20349e416be9d90f
[]
no_license
ChenchenHu007/Spine_Segmentation
3a3813be8645a2aeee7b1196fb07cd8bef2efb03
ec6c1f196e890c8c47f6bad49f65ce0d01543647
refs/heads/master
2023-08-05T09:56:45.988462
2021-10-01T08:15:40
2021-10-01T08:15:40
358,471,470
1
7
null
2021-06-07T06:00:32
2021-04-16T04:06:50
Python
UTF-8
Python
false
false
1,066
py
# -*- encoding: utf-8 -*- import torch.nn as nn from Loss.SegLoss.DiceLoss import SoftDiceLoss, DC_and_CE_loss class Loss(nn.Module): def __init__(self): super().__init__() self.dc_and_ce = DC_and_CE_loss(soft_dice_kwargs={'batch_dice': True, ...
[ "305369001@qq.com" ]
305369001@qq.com
225594047c937af32e6b1fbad8a5d632b7cdcd37
a574b61a8f1a3fcec5e6fe9868094bf1ac5377ce
/Python Basics/Week 1/Chapter 2 Exercises/Exercise_11.py
670399925c780e137ebf1060d0d25905f18aed72
[]
no_license
Stevensousa67/Python-Programming-Specialization
5b77f491db6a128d226c9fc7f639e5b5890daa3d
18af2bec4c884e863dfcdfc8ad2ac71fb743f415
refs/heads/master
2023-06-20T12:49:28.909119
2021-07-23T22:02:55
2021-07-23T22:02:55
372,979,447
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
# Challenge: Write a program that will convert degrees celsius to degrees fahrenheit. celsius = int(input("Enter temperature in Celsius: ")) fahrenheit = celsius * (9/5) + 32 print(fahrenheit)
[ "silver.steven67@gmail.com" ]
silver.steven67@gmail.com
54dee803b15dae043eb469547baca3c85b584c8d
97ebcf139c0cf40c72b337490a5669a5fc9a23e1
/player_controller.py
4d90b05401114cd008765e4b099267327042c22b
[]
no_license
danalex97/UnityPythonServer
8a855cb479cb60203c3b8393abb1ca351cf43aa7
13d09d8e46340ecbcd51f2f10ecf2c87df163df2
refs/heads/master
2020-12-02T17:42:33.974336
2017-07-07T14:38:39
2017-07-07T14:38:39
96,416,257
2
0
null
null
null
null
UTF-8
Python
false
false
497
py
from player import Player from objects import Object class PlayerController: def __init__(self): self.new = [] self.deleted = [] def get_new_players(self): to_ret = self.new[:] self.new = [] return to_ret def get_deleted_players(self): to_ret = self.new[:] ...
[ "dan.alex97@yahoo.com" ]
dan.alex97@yahoo.com
3310e00d27327d900a96e3c73a8f2b9b07a6595d
768aa50ce1247ec5a43feedbc071078a75238fb7
/Week2/Project5/list.py
fd5c4a1f5bcdeff58f26a67d07021aba303d8817
[]
no_license
dawsonar802/CS_Python_For_DevOps
92665c1b1cbf274ae8001ebcba6663961ec3f810
fbc61a9abdcc2220f6c20dce3e6c3755b7dcb641
refs/heads/main
2023-04-30T15:08:13.551470
2021-05-21T11:12:36
2021-05-21T11:12:36
369,187,049
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
cars = ["honda", "ford", "toyota"] print(cars)
[ "dawsonar@fhlbcin.com" ]
dawsonar@fhlbcin.com
662819fb145416397f5626193012d2a5009a866f
20dce73d9773457cbbcb277915211a723d8c00d1
/01-introduction-to-data-science-in-python/3-Plotting-Data-with-matplotlib/4-adding-labels.py
efda354035255da651c9aec9d99215c74cde9267
[]
no_license
rajsingh7/DataCamp
79f11f12edde1c1301350b0eb5783cb030df2428
f6aedfc0b70f80cbed85a30e1422d4ec855838f7
refs/heads/master
2022-04-08T15:59:25.694584
2020-03-11T05:38:00
2020-03-11T05:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
""" Adding labels If we give a chart with no labels to Officer Deshaun's supervisor, she won't know what the lines represent. We need to add labels to Officer Deshaun's plot of hours worked. INSTRUCTIONS Add a descriptive title to the chart. Add a label for the y-axis. """ # Lines plt.plo...
[ "noreply@github.com" ]
noreply@github.com
3359a8b37f2fe677e6ab7412ac8f3b180265124b
bd2f028323d825a0b3cb35177dd6cd690f88f0a7
/platzi/cambio_divisa.py
cf32f749176dbb443c13e9de0a22356a4ee3582e
[]
no_license
ArturoRuge/python-exercises
6485107eebb6779f8306bb348c475422a8ff10df
93fe0e7a28b453fed8d53371a0552489ddb35754
refs/heads/master
2021-01-20T07:45:41.785369
2017-09-15T14:55:56
2017-09-15T14:55:56
90,037,236
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
def change(ammount): """ input: cantidad de pesos argentinos output: conversion de los pesos argentinos a dolares """ arg_to_dollar_rate = 17.2 return ammount / arg_to_dollar_rate def run(): print("CARCULADORA CAMBIO MONEDA") print("Convierte peso Argentino a dolares") print("") ammount = float(input("Digi...
[ "arturoruge@gmail.com" ]
arturoruge@gmail.com
10809d6dcc895e9f6b640c2b2ec49cdb81dd4028
4e2d798adb6b14eb12e45f4e999f3070399bc57a
/src/curved_lane.py
722fb29c1788484bb949a10e969c0c6e1c6ce2b6
[]
no_license
arunsankar172/Sel-Driving--Lane-Detection
14da86cd536aee175194b3cc15e371fb22592f45
77e2eddf02111c378ba0deb9ec976f67fdafad75
refs/heads/main
2023-03-25T06:52:25.003584
2021-03-25T18:32:10
2021-03-25T18:32:10
351,533,043
0
0
null
null
null
null
UTF-8
Python
false
false
11,418
py
# coding: utf-8 # In[2]: import numpy as np import pandas as pd import cv2 import os import glob import matplotlib.pyplot as plt import pickle get_ipython().magic('matplotlib inline') # ## Calibration & Distortion Correction # In[3]: def undistort(img, cal_dir='cal_pickle.p'): #cv2.imwrite('camera_cal/tes...
[ "arunsankar172000@gmail.com" ]
arunsankar172000@gmail.com
a98a76bd7a6f0f6c9a10baa06ce2a016ce0462e5
09fc64acbd3cde9a47c01f07b216620f16c12887
/api/views.py
a3163bfeec1782b36e39bd724940fce33fbf19ff
[]
no_license
samrids/django_permission
83894b46f1c4341c80c77dfefe71196671053bcd
1e0f24909c7f60eac4e01433dbbad2d5168631ea
refs/heads/master
2023-06-12T00:55:11.290758
2021-07-06T13:12:31
2021-07-06T13:12:31
379,883,588
1
0
null
null
null
null
UTF-8
Python
false
false
3,933
py
from userprofile.models import Profile from api.serializers import ProfileSerializer, AvatarSerializer from django.http import Http404 from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status # from rest_framework.decorators import api_view , schema, permi...
[ "samrids@gmail.com" ]
samrids@gmail.com
3ec541908b733c963a38d71f7f5949c8f8a7327d
465efab6e7b419d4493d09786a4b2d7a976f7a31
/src/Universe/LevelProps/Decorator.py
d036547a63ad9d0c74b8c3f991b1315b75e5aedb
[]
no_license
dzz/kthuune
aa2cadcdfaed9a06b6384516be429575640a7896
2a8be25ec5303586e5a7e067c024d6e6ca171efa
refs/heads/master
2021-01-24T07:42:41.426973
2018-07-29T06:21:34
2018-07-29T06:21:34
93,354,629
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
from Newfoundland.Object import Object from Beagle import API as BGL class Decorator(Object): textures = BGL.assets.get('KT-forest/animation/decorators') def parse(od,df): x1 = float(od["x"]) y1 = float(od["y"]) x2 = float(od["w"]) y2 = float(od["h"]) cx = (x1+x2) / ...
[ "devon.zachary@gmail.com" ]
devon.zachary@gmail.com
9302d771d20742fc2475f2f78344c90e395f52bd
29e8a7791f2fc62ff042ee1748dbedf91fb15bda
/.history/api_contracts/__init___20190907124218.py
24a350f19f8d58b2703ebb872ef1d5d1be8532d9
[]
no_license
manv6/nocode-contract-api-testing
93b8acc099ecfab323a8a7446185ae99eb61d9e5
a7d0c023a5e8a5742075d36a01531272ca3df37e
refs/heads/master
2022-02-05T15:35:56.790461
2019-09-07T09:55:10
2019-09-07T09:55:10
206,770,350
0
0
null
2022-01-21T20:01:09
2019-09-06T10:26:20
Python
UTF-8
Python
false
false
176
py
"""Contract tests for api testing.""" from pathlib import Path from dotenv import load_dotenv env_path = Path('.') / '.env' load_dotenv(verbose=True, dotenv_path=env_path)
[ "evlastos@theorchard.com" ]
evlastos@theorchard.com
478e144673ff9cf1f3609712423a8a57daa14f31
e1cdf4009fb9a549f2d623201c02451f6aecf605
/project/hangmanserver.py
b60304474c17f38478e47d1ec8b283aabc5e0d9b
[]
no_license
VenuGopalJilla/CN_2019501011
5baf9ff7ab4cade47b4230533732c93107548667
63b65c86a8419e51449262c29338beb5296da6ed
refs/heads/master
2021-03-29T00:50:20.245173
2020-03-26T07:08:08
2020-03-26T07:08:08
247,910,008
0
0
null
null
null
null
UTF-8
Python
false
false
9,190
py
# @author Venu Gopal Jilla import socket import threading import random host = '127.0.0.1' port = 8888 server_port = (host, port) details = {} user_details = {} def start_information(connection): message = 'Welcome to the Game Hangman.....!!!!!!!' + '\n' message += ' 1 . Sign Up ' + '\n' ...
[ "noreply@github.com" ]
noreply@github.com
0427152f90ba54b4e60d41a7438256e1ec000cdc
e685a3d60f23572ee33e0461a517104f99136ec5
/src/pb_robot/planners/plannerTypes.py
7e1502263fa136c3a557764a1bbfef75c95b5e33
[]
no_license
carismoses/pb_robot
374d0afcd1d7aa73b019be7b64b8610e6216a68b
c5cf91cccc73256721c3728c1efd7fee71450bf3
refs/heads/master
2022-05-15T10:50:31.778702
2022-03-25T18:36:10
2022-03-25T18:36:10
254,408,692
1
0
null
2020-04-09T15:26:14
2020-04-09T15:26:14
null
UTF-8
Python
false
false
271
py
#/usr/bin/env python # -*- coding: utf-8 -*- ''' Goal and Constraint Types ''' from enum import Enum class GoalType(Enum): JOINT = 1 TSR_EE = 2 TSR_TOOL = 3 class ConstraintType(Enum): GOAL_JOINT = 1 GOAL_EE = 2 PATH_JOINT = 3 PATH_EE = 4
[ "rachel.holladay@gmail.com" ]
rachel.holladay@gmail.com
d57612265d1ba0ce332b8b7b44f2cc620d37442c
f2fa37248615d76839dc41335d253ca56cdbd64e
/Python/Chap3/ex22.py
57eaf92b5ebb153bc48265e25f81ba5c86874652
[]
no_license
ThanhChinhBK/nlp_100_drill_exercises
d13d42cc7e3145ce380c7049603ee2f54f3ccbaa
c9478ef56efa5846a6ddff5e76d951666b78a283
refs/heads/master
2021-01-18T20:44:33.297379
2016-12-03T06:54:57
2016-12-03T06:54:57
72,465,541
2
0
null
null
null
null
UTF-8
Python
false
false
609
py
import re from ex20 import extract_wikidocs # 22. Trích xuất các tên đề mục (Category name) # Trích xuất tên đề mục của trong các tài liệu. # Trong bài tập này, cần trích xuất chính xác các tên đề mục chứ không phải dòng chứa tên đề mục. def main(): docs = extract_wikidocs() categories = [] for doc in do...
[ "nguyenthanhchinh96@gmail.com" ]
nguyenthanhchinh96@gmail.com
6a9a9111d8b6dd0592efa7235dd41c23116464c7
58cb1fdf75bee8475a65a7b1da3893b258d4fdab
/semester 2/programming languages/01-31-2018/2.py
84440907b6a927aaf50b8638b29aca0d31aa9085
[]
no_license
foxpy/homework
6b1b7e6aaab5451bf7666ee9bf8e335caaeb8afb
40ee8abba580e071b51531643879fc785de166e6
refs/heads/master
2022-09-16T17:17:15.417035
2022-08-28T17:02:52
2022-08-28T17:02:52
105,091,021
8
1
null
2022-08-28T17:05:23
2017-09-28T02:08:21
C
UTF-8
Python
false
false
102
py
def age(x, y): if y != 1: return x+x/(y-1) raise ValueError("Their age shouldn't be equal.")
[ "muradkarammaev@gmail.com" ]
muradkarammaev@gmail.com
7e840b1353fa2ea50c759fe70c38941a9059ca2d
334fc253dc9bcdb580a25e5281c0358e7dffae12
/adoptions/models.py
e08f84508cb1e96cd4299e27d2fe17f538777c36
[]
no_license
CheolsoonIm/wisdompets
ce3c77bb1d7abd9bafaff592402c4ac349f96f1b
716ad283ae87b5c9da988a115fed6d18b57f48a4
refs/heads/master
2021-09-13T12:14:01.753299
2018-04-30T00:23:30
2018-04-30T00:23:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
from django.db import models class Pet(models.Model): SEX_CHOICES = [('M', 'Male',), ('F', 'Female')] name = models.CharField(max_length=100) submitter = models.CharField(max_length=100) species = models.CharField(max_length=30) breed = models.CharField(max_length=30, blank=True) # breed may not ...
[ "dhlaltoo@gmail.com" ]
dhlaltoo@gmail.com
976853b89c93428c1fa3b0b4ff14bc7de0029508
880c8ce802f2c6b82eb3d985723a54a0f8d76fe5
/apps/jobs/urls.py
659038f1742be6b19d2a7ab466591094cba7220d
[]
no_license
LijinPengT/XgcOnline
54f20524cb1b70640b00d33433d5f4f38f5832b6
789f228c30503cd1d03a456c893cb1a85299dac4
refs/heads/master
2022-04-05T10:38:14.820649
2020-02-27T06:48:14
2020-02-27T06:48:14
174,671,227
1
0
null
null
null
null
UTF-8
Python
false
false
453
py
# -*- coding: utf-8 -*- __author__ = 'Dwyane' __date__ = '2019/3/8 19:56' from django.urls import path, re_path from .views import JobListView, JobDetailView, JobInfoView app_name = "jobs" urlpatterns = [ # 课程列表页 path('list/', JobListView.as_view(), name="job_list"), re_path(r'^detail/(?P<job_id>\d+)', Jo...
[ "1781062962@qq.com" ]
1781062962@qq.com
5cbd31c2a6ec85ef2f59aa25e053a550d174d369
6b1e0152231cc621383dc9975c595cc1c6fe7b13
/venv/bin/pip
5c3b6c9307f9c1b094c055dc87dd4ed1058a6e98
[]
no_license
kter/learning_of_python
a257a7be453ef0bec064aa8096e3070ada7651d3
1bf9ad4daa680a6282dc8f149699ce01967aafb7
refs/heads/master
2020-03-27T06:54:07.871093
2018-08-26T02:20:54
2018-08-26T02:20:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
406
#!/Users/kter/workspaces/learning_of_python/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "me@kter.jp" ]
me@kter.jp
ba2c35419208cc29b181f6894641d8b94831b058
e4036f25ac4076f5c8df50b55b5418eec4b60c02
/blog.py
fbf601f6bcfd1211e4a4c67105245f2685309f5d
[]
no_license
ponxu/pxblog
42c43ceb8584b1320b9a248bb04d9dcbb4aad630
cfd21789f763afd226b3299edb845a2229130ee5
refs/heads/master
2020-05-19T16:53:28.995858
2012-12-31T06:06:34
2012-12-31T06:06:34
7,176,492
20
0
null
null
null
null
UTF-8
Python
false
false
2,100
py
# -*- coding: utf-8 -*- from webcommon import * from cache import cache_page from setting import * from model import * class Home(BlogHandler): @cache_page('page_home_', get_paged) def get(self): paged = get_paged(self) posts, total = Post.query(paged, type='post', status=['publish', 'passwor...
[ "xwz689@gmail.com" ]
xwz689@gmail.com
4a3dd3546a091c8cbe9f4915a3dc415d02a220cc
9eb70b7b34c9a6196f4ef2b01a1d33fd69553efd
/Anti Vowel.py
c6777a21d0052d554f5689485b41605777ad4d20
[]
no_license
unterwages/leetcode
3364b683370e08e328c68930b3e063bce4d40607
21154eb96806a10f0b12381a6ed7948d633aa562
refs/heads/master
2021-01-22T21:21:58.976609
2016-02-11T05:58:47
2016-02-11T05:58:47
100,670,824
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
def anti_vowel(text): words = list(text) for i in text: if i in 'AEOIUaeoiu': words.remove(i) return ''.join(words) print anti_vowel('wiuehfqp')
[ "duyiwei281@gmail.com" ]
duyiwei281@gmail.com
6cf308aedef3f4ea0e48784087c303aa21c234b0
947e90af37280cd9f06c933925c4c9bc77a5867a
/6-10/day7_3.py
4a72818e779857da4d071ea5ce18fea3acb383d4
[]
no_license
Dotown/py_practice
6e79e02fe0dbbc03fa26843fb145519f980f1c87
04a4d0353703588146b5b1b8ffb420540f421ffb
refs/heads/master
2020-09-14T17:25:12.416822
2019-12-27T07:42:25
2019-12-27T07:42:25
223,199,728
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
s1 = 'hello '*3 s2 = 'world' s1 += s2 print(s1) print('lo' in s1) print('ld' not in s2) str = 'abc123456' print(str[2]) # str的第三个字符 print(str[2:5]) # c12 str的第三个到第六个字符 包括三,不包括六 print(str[2:]) # c123456 str的第三个字符到最后一个字符 print(str[2::2]) # c246 str的第三个字符开始,隔一个字符取一个 print(str[::2]) # ac246 print(str[::-1]) # 654321cba s...
[ "1242262161@qq.com" ]
1242262161@qq.com
c618214707b9fb6a6ca9236d529434d841c267c9
50afc0db7ccfc6c80e1d3877fc61fb67a2ba6eb7
/challenge17(backOnTime)/solutions/FelipeAg.py
87790a5c157315c30659f1835cb2ca4e79b5036b
[ "MIT" ]
permissive
banana-galaxy/challenges
792caa05e7b8aa10aad8e04369fc06aaf05ff398
8655c14828607535a677e2bb18689681ee6312fa
refs/heads/master
2022-12-26T23:58:12.660152
2020-10-06T13:38:04
2020-10-06T13:38:04
268,851,516
11
8
MIT
2020-09-22T21:21:30
2020-06-02T16:24:41
Python
UTF-8
Python
false
false
190
py
def solution(steps): if len(steps) > 10: return False elif steps.count('n') == steps.count('s') and steps.count('e') == steps.count('w'): return True return False
[ "cawasp@gmail.com" ]
cawasp@gmail.com
f277df6e07f710d177fc232f3036f6ff93edd0ff
af673f57ae7608efe80c6ae9b6d342ba07954edf
/Sito/main.py
8058f29035aa4fc86af61826ab274b638c6dc5ca
[]
no_license
TommyGenovese/Elaborato
002729eaf8ef72817bba6f1c947085e57b48beae
a670f36f47996fad1579f1061ed671c2e47d0f1f
refs/heads/main
2023-05-02T08:23:01.681211
2021-05-21T10:49:45
2021-05-21T10:49:45
363,427,116
0
0
null
null
null
null
UTF-8
Python
false
false
5,246
py
from flask import Flask, render_template, redirect, url_for, request import sqlite3, hashlib, mysql.connector from werkzeug import datastructures #add log app = Flask(__name__) email = "def" pwd = "def" data = "def" @app.route("/", methods=['GET']) #http://127.0.0.1:5000/ def main(): print("Main") ...
[ "tommaso.genovese@itiscuneo.eu" ]
tommaso.genovese@itiscuneo.eu
ef78296965d3dfdbd09e11b868efe76a8b0d5e67
3f23a98fc04a84891e87c1e8a512be3ea1980691
/couchbase/tests/test_couchbase.py
2c6940a24181f9b1fc900b2c7c5e4a372b2f75ca
[]
no_license
suryamohan1/integrations-core
ad3f9dbb17bb0ea519e21c96462dbdd1cf4bab76
184f3b8dec3a761a0153b67c95cb76e683e84b56
refs/heads/master
2020-03-19T11:54:08.515445
2018-06-07T13:37:13
2018-06-07T13:37:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,335
py
# (C) Datadog, Inc. 2018 # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) # stdlib import pytest from datadog_checks.couchbase import Couchbase from .common import CHECK_TAGS, BUCKET_NAME, PORT @pytest.mark.integration def test_service_check(aggregator, couchbase_service, couchbase_...
[ "noreply@github.com" ]
noreply@github.com
45a0aa4560784051158e5f797b332ddf83bb5175
dfb21c6ec71ed46a06cd7786c5cdf67aea7de4b5
/tools/dataset/h36m_to_coco.py
701694ee5afde73356f9b3318bcd34ba5ef60205
[ "Apache-2.0" ]
permissive
anhtu-phan/mmpose
8d2000a366aece75f5409c494614e2d41d283a86
c672eeb0086c5ca6c4fe52c717b1858b2b54f480
refs/heads/master
2023-09-02T01:01:41.792967
2021-09-24T09:09:03
2021-09-24T09:09:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,706
py
import argparse import os.path as osp from functools import wraps import mmcv import numpy as np from PIL import Image from mmpose.core import SimpleCamera def _keypoint_camera_to_world(keypoints, camera_params, image_name=None, ...
[ "noreply@github.com" ]
noreply@github.com
4036312452805ddbdff7066a9d28e6b814689c80
183328843b069e3330f1189b177e1733c9c96df0
/src/ChicCrime3.py
a608c99a156790009b80b25c07fb42fefce310dd
[]
no_license
njnagel/Capstone_3
a4eb3ef4bc8e52810975f8e1763a47e7b4f30d7f
823e5ed7b78555f5df8540e2f27a3b327ea16747
refs/heads/master
2020-08-27T09:51:21.692240
2019-11-11T19:52:41
2019-11-11T19:52:41
217,323,876
0
0
null
null
null
null
UTF-8
Python
false
false
11,037
py
import pandas as pd import csv import random as rd from random import random from random import sample import numpy as np import matplotlib.pyplot as plt import seaborn as sns from seaborn import heatmap import geopandas as gpd import datetime import descartes from shapely.geometry import Point, Polygon from statsm...
[ "nancy@nagelzoo.net" ]
nancy@nagelzoo.net
148a363790a179f131f48f48f31f719863c13e3b
1258e001beb0c5aabb866a170625698e9385d3e9
/Zumbis/katalon-test.py
32a7d07211c8d378a0099df8ed0561ca0ba8f247
[]
no_license
mgarcia86/python
7b3d450d7a0cb5623af446074784f247eb113497
66dd2e0dd6000a6d500dca594b23b54acae88169
refs/heads/master
2020-03-16T19:46:28.420744
2018-05-10T19:32:28
2018-05-10T19:32:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoAlertPresentException...
[ "marcos.note@gmail.com" ]
marcos.note@gmail.com
f9f83f196d52a47793819cfbd6af460d5fdce595
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/storage/cases/test_KT1UCoFzRwpQhRg9BWz2QMNwzTud56fCdjSP_babylon.py
f8d8b822bf224b7b14e0e62f9d3dfc07c4a33180
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
1,170
py
from unittest import TestCase from tests import get_data from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline, micheline_to_michelson class StorageTestKT1UCoFzRwpQhRg9BWz2QMNwzTud56fCdjSP_babylon(TestCase): @classmethod def setUpClass(cls): cls.maxDiff = None ...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
34cac51ba03f4a5680bbf7c7c253156f466fc80c
1178b893bcdc61dd98b4039a4817526ebb97f21a
/football team js/Get Footy Data.py
234ba9530799a907b6534e0b11e965c968956c0f
[]
no_license
andrewpatt24/General-work
509bb9cb7ac8410c4c12421804b36b0cf3e461ef
a7800069dc53f8cf886bc92d443c8fbbb929e211
refs/heads/master
2021-01-25T12:01:45.347322
2014-11-10T17:40:52
2014-11-10T17:40:52
21,987,296
1
0
null
null
null
null
UTF-8
Python
false
false
1,985
py
# coding: utf-8 # In[1]: import urllib import requests import csv import math import re import htmlmin from bs4 import BeautifulSoup from datetime import datetime # In[2]: ##Get URL output url = "http://fantasy.premierleague.com/player-list/" r = requests.get(url) ##Minify html - issues with whitespace rmin = ht...
[ "apatterson@DTE0588.channel4.local" ]
apatterson@DTE0588.channel4.local
69b887fc9799bbb3873ea676dd23faf5e22e06f0
4b360696d512a35b2114c482c658d10e3ff91a2c
/project-addons/sale_samples/stock.py
ee45f4f9ff32ff19e5171497497e2c4aecce6846
[]
no_license
Comunitea/CMNT_010_15_PHA
24ecf3be6a50441dfa3dd8deca4ee96ac5e61970
d4a24aafba48fc7dda7ee662e0c7e1112c220162
refs/heads/master
2022-08-12T00:39:24.464028
2022-07-11T10:30:30
2022-07-11T10:31:31
37,918,119
0
1
null
2015-12-02T12:39:43
2015-06-23T12:37:45
Python
UTF-8
Python
false
false
1,578
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2014 Pexego Sistemas Informáticos All Rights Reserved # $Jesús Ventosinos Mayor <jesus@pexego.es>$ # # This program is free software: you can redistribute it and/or modify # it under the ...
[ "jesus@pexego.es" ]
jesus@pexego.es
d81cffc4f0e3e4860d761efef7ea6e232837bac6
ef7460b2b98070a760f25dfb4fb2d9bcc4595919
/recepies/migrations/0016_auto_20210531_1403.py
33b13bf44c9c1a6674180b954415ff9b4803df8e
[]
no_license
DmitriyReztsov/foodgram-project
f7d2618ad616dc3636a6f6ffe38872676596fd05
8a539f803db4aba27363221ea4fe3d88aefc6d82
refs/heads/master
2023-05-12T04:13:38.775301
2021-06-08T19:11:20
2021-06-08T19:11:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
# Generated by Django 2.2.22 on 2021-05-31 11:03 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recepies', '0015_shopinglist'), ] operations = [ migrations.AlterField( model_name='quantityin...
[ "68148319+DmitriyReztsov@users.noreply.github.com" ]
68148319+DmitriyReztsov@users.noreply.github.com
5b9d42c2324f3b95f45d4ef3161c839255b8d15f
03a1160358d6d9561f6710358d3d627ee5e656ff
/setup.py
4dda1ee24a323ccbce0299e69165d1a99da0dcd3
[ "MIT" ]
permissive
dikunonGitHub/kdcproxy
4791d409bf628ea6d2ce824ebd4e425d5cc2627c
5edbbeb7f950ed9db60b11f0fdce1ec96194f761
refs/heads/master
2021-12-06T14:26:56.143130
2015-08-03T20:52:14
2015-08-03T20:52:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,256
py
# Copyright (C) 2013, Red Hat, Inc. # All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modif...
[ "npmccallum@redhat.com" ]
npmccallum@redhat.com
5b2207888d5917f774beaa8e83fa97856d693717
f6c69a7f7f1bbae5fd5473dfaac5ef5fad840d58
/lib/datatools/dataclass/datacatalog.py
61a0c4aa163e163193588df29a4266dfac7aa5a3
[ "Apache-2.0" ]
permissive
JokerWDL/PyAnomaly
8c5ca4ca705a1251c70ff1f36c908c8f6f75e7d8
cf93437e5d7ae87fa916141cf4b5cc2e929b8199
refs/heads/master
2022-11-05T11:31:42.345422
2020-06-22T17:21:20
2020-06-22T17:21:20
274,295,638
1
0
Apache-2.0
2020-06-23T03:04:32
2020-06-23T03:04:31
null
UTF-8
Python
false
false
2,336
py
''' Refer to the detectron2's DatasetCatalog ''' from typing import List class DatasetCatalog(object): """ A catalog that stores information about the datasets and how to obtain them. It contains a mapping from strings (which are names that identify a dataset, e.g. "coco_2014_train") to a f...
[ "446358161@qq.com" ]
446358161@qq.com
497e2b9202c92bc0e9ea1492c34c56c795d661c3
3db2daac59a4e196eee59d50528e0166d7c52cb3
/Gmail/handle_new_gmail.py
be611bbbe3cebfb2f7ff281ee05bdb9b2aed6b15
[]
no_license
GregHilston/PandoraProject
a1bd1797805351e2c35bd74c1ac4ffcb19d2173a
88f97e42a39e112a6c79dcd18d8feda6caa79072
refs/heads/master
2020-05-17T00:18:18.086791
2015-07-19T18:54:24
2015-07-19T18:54:24
22,126,684
0
0
null
2014-07-23T11:18:45
2014-07-23T01:01:54
JavaScript
UTF-8
Python
false
false
1,739
py
#!/usr/bin/env python # Script dependent on: https://github.com/rg3/youtube-dl import imaplib import email from subprocess import call youtube_urls = [] # Used to easily get a substring def find_between(s, first, last): try: start = s.index(first) + len(first) end = s.index(last, start) ...
[ "Grehgh@gmail.com" ]
Grehgh@gmail.com
176535cd1b67d0100b88429b449498ee8e3dadb7
17f7a5b0f80b6c18de6048cd4b56511159fd1fb1
/blog/admin.py
556cbbdb32d24daef6a499c52427e35e57a8e68d
[]
no_license
Rootjon/check_project
e976dac486e27c56206f13be58cad30aeaabab69
4efe57741c13a41384e63dee9bdd4953ec8e7582
refs/heads/main
2023-07-27T03:25:27.574429
2021-09-09T04:48:47
2021-09-09T04:48:47
393,386,042
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
from django.contrib import admin from .models import Post, Comment,Category from django_summernote.admin import SummernoteModelAdmin # Register your models here. @admin.register(Category) class CategoryAdmin(admin.ModelAdmin): list_display= [ 'name', 'slug' ] prepopulated_fields={ '...
[ "ahmadjonaid9@gmail.com" ]
ahmadjonaid9@gmail.com
8e8bfc84115d52e6d6da62f676b846cd189e2ef6
7daa3548cd24935a1849af8fee871cb4026be009
/EP1.py
4708ef4d687f6c6af4c40f74c436a2e3ead62e88
[]
no_license
GuilhermeRameh/EP1_Desoft
b2b7b512544128aa93d619a18308ee7a9cff1eef
d51f6958561701b883ddf41bf03ea970adbc2803
refs/heads/master
2021-05-21T21:28:17.214262
2020-04-03T19:29:04
2020-04-03T19:29:04
252,808,376
0
0
null
null
null
null
UTF-8
Python
false
false
5,020
py
import random pr = True Fichas = 1000 craps = [2, 3, 12] to_point = [4, 5, 6, 8, 9, 10] to_field = [3, 4, 9, 10, 11] while pr: Fase = 'Come out' def rolar_dados(): global d1 global d2 d1 = random.randint(1,6) d2 = random.randint(1,6) return (d1, d2) fichas_apostadas_...
[ "guilhermedr@al.insper.edu.br" ]
guilhermedr@al.insper.edu.br
e5c62e15830315afee9b6fa74cc2e64a21ba91e0
eaa81b524885231dbd67054a2f12ffc097e7f45a
/tikkachu/nintinder/migrations/0002_auto_20180315_1804.py
65416f20b02c52861052a4ec7f37b1454c94cf90
[]
no_license
Philosobyte/nintinder
a7fd4f5bae9282076be2dab8ac5e4aee7affcadd
572933579b9d2cce8faf8a65ae01890b57d51853
refs/heads/master
2021-04-28T18:31:00.992824
2018-05-01T23:57:42
2018-05-01T23:57:42
121,874,663
1
0
null
2018-05-01T22:56:18
2018-02-17T17:10:49
JavaScript
UTF-8
Python
false
false
5,619
py
# Generated by Django 2.0.2 on 2018-03-15 22:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('nintinder', '0001_initial'), ] operations = [ migrations.AlterField( model_name='achievement', ...
[ "jwpereira@live.com" ]
jwpereira@live.com
b5ead447cfefeb3618026a45f0fd21cea7995513
73a0f661f1423d63e86489d4b2673f0103698aab
/python/oneflow/test/expensive/_internally_replaced_utils.py
8276fa0ab10c37bd4effe408fa3f5694ab102d26
[ "Apache-2.0" ]
permissive
Oneflow-Inc/oneflow
4fc3e081e45db0242a465c4330d8bcc8b21ee924
0aab78ea24d4b1c784c30c57d33ec69fe5605e4a
refs/heads/master
2023-08-25T16:58:30.576596
2023-08-22T14:15:46
2023-08-22T14:15:46
81,634,683
5,495
786
Apache-2.0
2023-09-14T09:44:31
2017-02-11T06:09:53
C++
UTF-8
Python
false
false
2,197
py
""" Copyright 2020 The OneFlow Authors. 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 agr...
[ "noreply@github.com" ]
noreply@github.com
1b4b2637f7ecd98e8c14f498029f9ffc984a6efe
191808d9815c1a6faf9921b1b5f61af13173bbf6
/DUEL_new/Menu/The_Grand_Arena.py
44c8a70d9f2c12851b999519569ab457076a1a80
[]
no_license
siddhanth78/DUEL_game
065c07a70d3de95145cde9cb3f0c27d80eeeaa84
3c5c5067dfccab504cda14781d1b1ac676af882c
refs/heads/master
2021-04-17T11:07:44.479806
2020-06-14T11:14:35
2020-06-14T11:14:35
271,989,578
1
0
null
null
null
null
UTF-8
Python
false
false
17,252
py
import mysql.connector import os import os.path import time import random mydb=mysql.connector.connect( host="localhost", user="root", passwd="teju1sid", database="duel" ) cursor=mydb.cursor() path = "C:\\Users\\manju\\Desktop\\Coding\\PythonPrograms" file=open(f"{path}\\DUEL_ne...
[ "noreply@github.com" ]
noreply@github.com
5725dbea60de2090839a7d88ea5c0acb7357b58e
93377b118ea942ef85e0b513a515efb6bfc3f234
/assignment1/cs231n/classifiers/linear_svm.py
908538189b89a2efe8e0c9b9534fa18855d2495f
[ "MIT" ]
permissive
shambhu1998/cs231n
4cc74869ad1e75d2bd2a03720323202f93184622
cf169f6fea090187787a585c51c624ccd4d9b721
refs/heads/main
2023-08-14T01:09:18.427286
2021-09-14T08:47:38
2021-09-14T10:40:18
383,025,718
0
0
null
null
null
null
UTF-8
Python
false
false
4,742
py
from builtins import range import numpy as np from random import shuffle from past.builtins import xrange def svm_loss_naive(W, X, y, reg): """ Structured SVM loss function, naive implementation (with loops). Inputs have dimension D, there are C classes, and we operate on minibatches of N examples. ...
[ "sksr140@gmail.com" ]
sksr140@gmail.com
16376a330c1d544b4afff1bd30091680daa91817
e5392a873d841d745523bcfd26ead6e33e667891
/aws/sqs/SqsHandler.py
719be31fa9568e30a3fbe47ebd2e4d99ac8f2061
[]
no_license
sjanne9919/data-pipeline
f0cdc9b3c37cef12127db0c0a3aba452d91ee685
b2e3ba19d268d688c51852550fc0c67986f88eca
refs/heads/master
2020-05-27T03:43:22.256976
2019-07-28T19:01:25
2019-07-28T19:01:25
188,469,904
0
0
null
null
null
null
UTF-8
Python
false
false
2,459
py
import boto3 import json def init(): global ACCESS_KEY, SECRET_KEY, REGION, SERVICE_NAME, QUEUE_NAME, MESSAGE_COUNT, AWS_ACCOUNT, QUEUE_URL SERVICE_NAME = "sqs" ACCESS_KEY = "" SECRET_KEY = "" REGION = "us-west-2" QUEUE_NAME = "sjanne.fifo" MESSAGE_COUNT = "2" AWS_ACCOUNT = "" # 1234...
[ "sjanne@tekion.com" ]
sjanne@tekion.com
8883114e2c4338866fb30a866294c71717607824
58b5c4d5aa0e6853018753729339b9af342c1538
/main_app/migrations/0001_initial.py
85f1a5059837eef8b9f8e3b7e3e58e068dd3af75
[]
no_license
acashmoney/bookcollector
33fd6dfbde6c7de35deabb66e415eca4e9a1901c
795d010dc51723da30fb6a1b41340da52bf74b14
refs/heads/main
2023-06-15T17:43:39.946543
2021-07-11T23:40:43
2021-07-11T23:40:43
385,074,535
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
# Generated by Django 3.2.3 on 2021-07-11 22:43 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cat', fields=[ ('id', models.BigAutoField(a...
[ "aakaash.meduri@gmail.com" ]
aakaash.meduri@gmail.com
aafc873314b89ac941018a2b51cbf4ae092a51f9
cdc27d1076b5d79c880dc9b621d0e793d697edc7
/regbymail/regbymail/token.py
2e731b44ea7758611a76a58572d0eb4c761f4355
[]
no_license
sjl421/flaskpython
a7d28afbfe1b34f8531f8e2048d534259ddb38eb
01984085b81caedb3a7c05389dac0c6d91c85e1f
refs/heads/master
2020-03-24T06:05:18.785952
2017-03-07T00:07:25
2017-03-07T00:07:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
from itsdangerous import URLSafeTimedSerializer from . import app _sk = app.config['SECRET_KEY'] _sps = app.config['SECURITY_PASSWORD_SALT'] def generate_confirmation_token(email): serializer = URLSafeTimedSerializer(_sk) return serializer.dumps(email, salt = _sps) def confirm_token(token, expiration=3600): ...
[ "willgood1986@outlook.com" ]
willgood1986@outlook.com
e4087e8dc68623324c83f04235fb25dffaa5394a
6a3c2dab6fab4735b41a98b0ff8cb3cc52812164
/app/forms.py
ba67b6837593e5a756ef52dad502e9d09e8fe06e
[]
no_license
akilga09/projectwebsite
90afd49b23f3974c863a5c3220e32cfdacded788
d79ecb75b4fa6bbef3802705d74bb195036509bb
refs/heads/master
2023-01-22T12:19:17.632532
2020-11-27T23:41:00
2020-11-27T23:41:00
313,167,421
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from flask_wtf import FlaskForm from flask_wtf.file import FileField, FileRequired, FileAllowed class UploadForm(FlaskForm): video_test = FileField('Video', validators=[ FileRequired(), FileAllowed(['mp4', 'mp3', 'Videos Only!']) ])
[ "agayl012@fiu.edu" ]
agayl012@fiu.edu
454eaa9353a71b224055b2b9aa41dbab412206c1
3d76e851c19814c11d9ef8e4a516001e1aa3265e
/src/models/nn/base.py
8dbfb8a9bc39c25729b2b037f509818abc366d0f
[ "Apache-2.0" ]
permissive
bramamoorthy/Tiresias
557e07d1e2ef1f11d7047e6a7602fda573bc1203
bc64cb87e5fbddc8bd69e5220e27a49d89c5fe0d
refs/heads/master
2022-10-09T03:50:58.420004
2020-01-22T09:53:14
2020-01-22T09:53:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,314
py
from abc import ABC from abc import abstractmethod import torch from torch import nn from torch import optim from torch.nn import functional as F import mlflow class BaseNN(nn.Module, ABC): """Base class for classifiers such as Multilayer Perceptron and Logistic Regression. Parameters ---------- ...
[ "thibaud.martinez@gmail.com" ]
thibaud.martinez@gmail.com
c246fdfe6b566b7e17a75b96fb25572526fe6605
5cdec9f3b6cf86d25fb492971a01dd2f41a64af7
/ipython/bin/ipcontroller
5aaa1b993649e657bb23643c2026bb6322b764f8
[]
no_license
jbaquerot/Learning_from_Data
a98657e1c74c7cb7d6f008788b52f929af6282a9
af575b153598e2ae1b1bd8daa789cfec6e0a67a9
refs/heads/master
2016-09-06T15:20:18.408736
2014-12-05T19:19:15
2014-12-05T19:19:15
25,130,154
1
0
null
null
null
null
UTF-8
Python
false
false
354
#!/Users/carlos/GitHub/Learning_from_Data/ipython/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'ipython==2.3.1','console_scripts','ipcontroller' __requires__ = 'ipython==2.3.1' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('ipython==2.3.1', 'console_...
[ "jbaquerot@gmail.com" ]
jbaquerot@gmail.com
f7cb7a5de948cd36e56b54eee4c79406be49b77a
dffd7156da8b71f4a743ec77d05c8ba031988508
/ac/abc109/abc109_b/11416688.py
a108bbb8ac35b9102f2c74dfe3e7b4513b27c333
[]
no_license
e1810/kyopro
a3a9a2ee63bc178dfa110788745a208dead37da6
15cf27d9ecc70cf6d82212ca0c788e327371b2dd
refs/heads/master
2021-11-10T16:53:23.246374
2021-02-06T16:29:09
2021-10-31T06:20:50
252,388,049
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
st = set() cant = False prev = "-" for i in range(int(input())): s = input() if (prev!="-" and prev!=s[0]) or s in st: cant = True prev = s[-1] st.add(s) print("YNeos"[cant::2])
[ "v.iceele1810@gmail.com" ]
v.iceele1810@gmail.com
a29ddfcdd447014b9d334dc240886ec3d4b498ac
bd706deb7aba7ee13645a16ac02af8c4b933c168
/setup.py
6ee5260bbca008ea543f10db15a6eb4e15bf78bd
[ "MIT" ]
permissive
Ezibenroc/pycewise
c1a03958cd70c92ed2968bf948f0a4dc0136b366
7f7608eec7082deef4c12c52761f4aed4f408d6c
refs/heads/master
2023-03-13T22:34:11.433595
2021-03-04T16:45:35
2021-03-04T16:45:35
124,917,653
0
0
null
null
null
null
UTF-8
Python
false
false
2,123
py
#!/usr/bin/env python3 import sys from setuptools import setup import subprocess VERSION = '0.1.4' class CommandError(Exception): pass def run(args): proc = subprocess.Popen(args, stdout=subprocess.PIPE) stdout, stderr = proc.communicate() if proc.returncode != 0: raise CommandError('Error...
[ "tom.cornebize@univ-grenoble-alpes.fr" ]
tom.cornebize@univ-grenoble-alpes.fr
8c1b09dbddb340aef46e96b2e01845baf07c6dae
721b2b4b138b9464560941a85c6258088a5e5767
/bin/DocTool/DoctorsCompanion/migrations/0006_remove_patientsrec_photo.py
a346d202b085ba86204deeb7acf946b94928c78c
[]
no_license
kivijoshi/DSuit
35a99dc7901897b8e7abb0fe3b4c25d6427aa92d
a382f85ef0adba149f0a8cb0a8f86e732f1f636f
refs/heads/master
2021-01-10T08:25:18.909334
2015-05-20T19:52:29
2015-05-20T19:52:29
35,970,507
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('DoctorsCompanion', '0005_patientsrec_photo'), ] operations = [ migrations.RemoveField( model_name='patientsrec',...
[ "kaustubh.kivijoshi@gmail.com" ]
kaustubh.kivijoshi@gmail.com
54c7691754b0f220c8977e7a7f8e8554b3ed0570
481aa7e6a025060f78d1508fb5007c6eb118c038
/implementation/exp_lif/eval.py
900aee065016767df248b6d53f9144d3f4283ed1
[]
no_license
nitzsche-fzi/spiking-neurons-hardware
03425b3ce68d4019563f4853b2fbc700196610a4
f19cc93f2f2faee1aa16705210a80aed90dd7946
refs/heads/main
2023-08-01T08:01:26.476603
2021-09-09T20:31:16
2021-09-09T20:31:16
371,707,374
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
import sys import os sys.path.append(os.getcwd() + '/..') import exp_lif from utils.neuron_eval import eval, load_fpga_output, get_args input, l = load_fpga_output() args = get_args() reduction = lambda key: ''.join('_'.join(key.split('_')[:-1])) name_col = lambda file: file.split('_')[1] eval(input,...
[ "noreply@github.com" ]
noreply@github.com
4e6192234348d55c6554eb879932d4327f17c21e
d392a0bb03463e2366aa309df7d365d915c87b15
/期末大作业/random_forest.py
c8ba05fe029476f2b645dd71b3aaceb4b135db57
[]
no_license
ChaCha-Chan/2021-ML
5dfa8990ed0afb07032976cde1d1db4a5dfe5ec9
2a6f97ee77dda8fa6e556f5a669bbb9104caf04b
refs/heads/main
2023-06-16T13:46:38.475492
2021-07-13T03:54:25
2021-07-13T03:54:25
385,467,134
0
0
null
null
null
null
UTF-8
Python
false
false
8,741
py
from hashlib import scrypt from numpy.core.records import fromrecords import pandas as pd import numpy as np import random from scipy.sparse.sputils import matrix from sklearn.feature_extraction.text import TfidfVectorizer from scipy import sparse, io import math from tqdm import tqdm MAX_DF = 0.9 MIN_DF...
[ "noreply@github.com" ]
noreply@github.com
277b1e335bb799296f3ac2cc1a7085ef4c90502d
397e0b49061216489d451c7194c75af8576bb105
/ex_map_to_llistoftuples.py
43b3f42ad33565fc64f73868b29661966656e023
[]
no_license
siaarzh/python_scripts
11e8668cc24843cf861234809b7305ba246cc125
3dc8051b9c0128132f02e66a370e2ac524775cb0
refs/heads/master
2020-03-23T16:26:22.870102
2018-07-21T12:57:24
2018-07-21T12:57:24
141,809,419
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
sample = "1,2\n3,4\n5,6" with open('user_ratings.file', "r") as f: ratings_list = f.read().strip().split("\n") ratings_list = list(map(lambda x: x.split(","), ratings_list)) ratings = list(map(lambda x: ("3", int(x[0]), float(x[1])), ratings_list)) print(ratings)
[ "siaarzh@gmail.com" ]
siaarzh@gmail.com
c5ff1437f0d351d49af69153cb81a3ca68b48a2c
f4475acdf01fa80ae3a638c19df30773cfd379dc
/listenclosely/admin.py
b7740fd874d120412af39807149d22c7247f7d97
[ "BSD-3-Clause" ]
permissive
jlmadurga/listenclosely
ea48e7ea05f971ca4fc979f5f52d5a07ec74dcbb
d6df9110c3ed6fd337e0236cccbe4d931bf217b0
refs/heads/master
2023-01-07T13:27:30.024214
2016-03-12T12:40:29
2016-03-12T12:40:29
49,677,476
7
3
BSD-3-Clause
2022-12-26T20:23:37
2016-01-14T21:49:08
Python
UTF-8
Python
false
false
203
py
from django.contrib import admin from listenclosely.models import Message, Chat, Agent, Asker admin.site.register(Message) admin.site.register(Chat) admin.site.register(Agent) admin.site.register(Asker)
[ "jlmadurga@gmail.com" ]
jlmadurga@gmail.com
9e4342692d5ffa0b28a43e20e9de66c16840eaba
0727b328d50eeb1367f22052f903930b6256f085
/classify_comment_emotion-master/doc2vec_test.py
dedf93afad2f6cada394f59162975877da5b9d88
[]
no_license
jungjonghyun13/Book-Review-Score
a5c352de46db72fde83d2dfc7b3cf7bdf8c2e18f
ea14eff18fa32bd96602a0049ed45ee2311e0df7
refs/heads/master
2020-04-04T14:26:21.424535
2018-11-14T20:14:20
2018-11-14T20:14:20
155,999,045
0
2
null
null
null
null
UTF-8
Python
false
false
1,883
py
from collections import namedtuple from gensim.models import doc2vec from konlpy.tag import Twitter import multiprocessing from pprint import pprint from gensim.models import Doc2Vec from sklearn.linear_model import LogisticRegression import numpy import pickle twitter = Twitter() def read_data(filename): with o...
[ "yooso020599@naver.com" ]
yooso020599@naver.com
c38e7c7db6ebfa4d86412d5e7f3f0b97cfbea53f
3fc1a5f003a1b427e749bff08f9eb0f2c593f7da
/snippets/views.py
bb687b8eb534325f10dbb6a18fcb1c5231770cf5
[]
no_license
davidgarg20/distributorappbackened
d9f2812849a4c02e7bc316862310059eeca0985f
c94bcd471918b2d267acfe616a7481ca0d0fa33d
refs/heads/master
2021-03-23T11:49:21.404641
2020-03-15T11:06:26
2020-03-15T11:06:26
247,449,066
0
0
null
null
null
null
UTF-8
Python
false
false
5,224
py
from django.http import HttpResponse, JsonResponse from django.views.decorators.csrf import csrf_exempt from rest_framework.parsers import JSONParser from snippets.models import Payment , Order, Shop ,OrderDetail,DistributorDetail,SalesmanDetail from snippets.serializers import PaymentSerializer , OrderSerializer ,Sho...
[ "davidgarg28@gmail.com" ]
davidgarg28@gmail.com
c383989311b6a33537436038b4dedd0a24e43d79
658773cf775fd97c3cec3aca5f559500dec021bc
/controllers/asset.py
c93abf8e08e4c373f5688d022a96348e5dd4d844
[ "MIT" ]
permissive
smeissner/ifrc
f3795474219d20fba5c68192f5d9b90006288e3e
505eb6ffbb8fc32fdbbe63fdab4c19d87e53ca86
refs/heads/master
2021-01-18T10:43:55.847965
2012-10-07T22:43:15
2012-10-07T22:43:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,079
py
# -*- coding: utf-8 -*- """ Asset Management Functionality http://eden.sahanafoundation.org/wiki/BluePrint/Assets """ module = request.controller resourcename = request.function if not settings.has_module(module): raise HTTP(404, body="Module disabled: %s" % module) # ----------------------------------...
[ "fran@aidiq.com" ]
fran@aidiq.com
2131873b41d639f8330052b548e868b8bbbb02da
df3eafcfb9097cba455ce48f9533412296e8ed33
/week2/5Fib_Again.py
4c1efeaf4f0b186d3535cfc740a94813657a5b2c
[]
no_license
Novae28/Algorithmic-Toolbox
afd72e805560ef08ce1edd00fb817cb1b185c6eb
6601a3237b1efda1a1bc40347fce35afb22085f9
refs/heads/master
2022-11-23T21:12:51.892439
2020-07-31T04:14:47
2020-07-31T04:14:47
283,087,972
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
import sys def pisano(modulo): previous = 1 current = 1 result = 1 while not (previous == 0 and current == 1): buffer = (previous + current) % modulo previous = current current = buffer result += 1 return result def fibonacci(number, modulo): ...
[ "noreply@github.com" ]
noreply@github.com
42a6a559cbb0b2c85524991590b8c158a37f146e
3afbd67897bac6717e8307b6e87c3cb36e4afae8
/formvalidations2/settings.py
ec26d90d84fda2fc9612051d0f28c16739ecbbe0
[]
no_license
Srinivasu-Gillella/Django_Form_Validations
1197ed4c89cb50c546f06a648b944cbbcf2b3b26
604be40045efece4cfddd1b957ccd813f527e082
refs/heads/master
2022-11-03T04:36:09.786666
2020-06-10T06:09:00
2020-06-10T06:09:00
272,871,559
0
0
null
null
null
null
UTF-8
Python
false
false
3,272
py
""" Django settings for formvalidations2 project. Generated by 'django-admin startproject' using Django 3.0.6. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ imp...
[ "64829989+Srinivasu-Gillella@users.noreply.github.com" ]
64829989+Srinivasu-Gillella@users.noreply.github.com
d05664f8c5fd83b6d863a46c9275ced603abeef6
1aacf84f6c8106f04ea03da0a790bce33b22f8b2
/ACI/Set_Application.py
1c5281eecae3a43b7a7057a04d1fd383a6236c67
[ "MIT" ]
permissive
insidus341/devnet
cbd11ff1f90577ad0ec75ae94132b3e143a55bfa
8d44119b54051dcbc2b894f394e9a2b2d0fee7d8
refs/heads/master
2022-11-18T07:54:53.310174
2020-07-15T15:06:42
2020-07-15T15:06:42
264,174,723
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
import os from pprint import pprint from Get_Token import get_api_token import requests import json url = "https://sandboxapicdc.cisco.com/api/mo/uni/tn-Heroes/ap-Save_The_Planet.json" headers = { "Content-Type": "application/json" } cookie = { "APIC-cookie": get_api_token() } payload = { 'fvAp': { ...
[ "james.earl@meraki.net" ]
james.earl@meraki.net
34db5b7391a365403d281098006f9141600c499b
ff795d9e3d4a369d93e791618f75158c8375acb4
/main.py
370b79aabe13a8defb24b636d614055a6497d46a
[]
no_license
softrebel/jobOnjaBot
0b0b77579adabdc1cca2b3518e30ad9d5bf4c57d
53bf0aa61b9fcf6ce97f574632e382fd3ecbb83c
refs/heads/master
2023-08-08T00:13:36.212029
2023-02-14T04:54:30
2023-02-14T04:54:30
186,475,793
3
0
null
2023-08-14T22:04:31
2019-05-13T18:38:31
Python
UTF-8
Python
false
false
319
py
from jobinja import * from crawlRepo import * import time while True: try: crawl = jobinjaParser(page_limit=30) crawl.login() crawl.crawl(allowInsert=True) except Exception as err: logging.error('error occured at scrape {}'.format(err)) finally: time.sleep(15 * 60)
[ "sh.mohammad66@gmail.com" ]
sh.mohammad66@gmail.com
a693a8a89973831aa0600f4d81fd95d9e22b4b07
3e03551f6d5e4811f800d787f726a3f36ce0a9bb
/orders/views.py
c6032c9e93db48a19bfd44a060285815685069c6
[]
no_license
PaltuSuction/Boythesda
e38d3bedc1fe13caa405b8451373f617a4e4b80b
ffe3e3a776aa42fec0505a7608d1675b8cd4016b
refs/heads/master
2022-12-14T11:26:36.654764
2020-01-22T19:51:11
2020-01-22T19:51:11
229,348,607
0
0
null
2022-12-08T03:29:15
2019-12-20T23:03:59
Python
UTF-8
Python
false
false
3,323
py
from _sha256 import sha256 from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect from django.shortcuts import render, get_object_or_404, redirect # Create your views here. from robokassa.forms import RobokassaForm from cart.cart import Cart from orders.forms import Or...
[ "otsvetikov@mail.ru" ]
otsvetikov@mail.ru
72a7cb385ba562e3c44eeb5951a6ad27b05b8072
992f6a7436a9755d13bfbf0e3e0d98daa7541f1a
/coresite/views.py
3956a3f993453816a94d377858f59f39293cc9de
[ "MIT" ]
permissive
Klim314/argent_app
838c3f6b2d15666670ea1e90ac0c23bdc0df50aa
767a0a11646fc08fb7197a191348466c913fe360
refs/heads/master
2021-01-22T05:32:44.626421
2017-09-17T15:23:54
2017-09-17T15:23:54
102,282,161
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
from django.shortcuts import render, reverse, HttpResponseRedirect, HttpResponse from django.views import View from argent_app.models import Room, InRoom from django.contrib.auth import authenticate, login from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from django....
[ "klim314@gmail.com" ]
klim314@gmail.com
c26fac0815bad9cab0ed4f4192faaf78477ce010
ca7ecc066f123f1de45154411d9c94e3c97ad331
/SA/analysis.py
f5926f9cfb6fcf99723dae36311b60979e1275ce
[]
no_license
JethroJC/SocialAnalysis
c43a55b90af5b2d4b7bb039946315f3a9648cbef
c331ab9a3a5c2c0149378e0439c4d4175fa02489
refs/heads/master
2022-12-11T20:10:31.505139
2017-12-12T14:15:56
2017-12-12T14:15:56
107,767,722
0
1
null
2022-12-07T23:50:27
2017-10-21T09:28:51
Python
UTF-8
Python
false
false
5,505
py
import pymongo import datetime from .spider import * import json import requests url='http://api.bosonnlp.com/sentiment/analysis?weibo' headers = {'X-Token':'wsyCNqRz.21248.UXNUZt2FXUBg'} def emotion(weibo_id): weibo_tweets = get_weibo_state(weibo_id) now_time = datetime.datetime.now() base_time = str(no...
[ "jethro@JethrodeMacBook-Pro.local" ]
jethro@JethrodeMacBook-Pro.local
fa8ea47aa14390fc48aa2b0607831743d713fdbb
fe2e59c8e209be91bcfa332b1a0a2489ae053ab9
/src/plot_pulaw.py
10d5656c15a2dce4468b6a40c944f96233b055af
[ "BSD-3-Clause" ]
permissive
tmiw/LPCNet
33cdd316085498fd64ce63f4fc78b88d0f290223
2c17242409516ab45e2996e37c85f45383e2b526
refs/heads/master
2022-09-15T15:08:56.925473
2020-11-22T03:30:00
2020-11-22T03:30:00
223,691,230
0
0
BSD-3-Clause
2019-11-24T04:17:13
2019-11-24T04:17:13
null
UTF-8
Python
false
false
1,587
py
#!/usr/bin/python3 # Utility to inspect packed ulaw samples from sw2packedulaw.c (or dump_data.c) before training import numpy as np import matplotlib.pyplot as plt import sys import ulaw import argparse parser = argparse.ArgumentParser(description='Plot LPCNet training packed ulaw samples') parser.add_argument('fil...
[ "david@rowetel.com" ]
david@rowetel.com
3a2997cad417d25a2cda56dcc31c6fd191757cdd
e42388be4e9f456410f2717528b0f410f9e8d245
/Tencent/settings.py
5475027fb6f4db56abed1dc31c5ab36b8d844368
[]
no_license
ChangfengHU/scrapy
a6274137ac6dc6b6562dbb92152a69acef263c79
74a89d568a5a5b5521cf881b6642a39ffdfb6480
refs/heads/master
2020-04-17T14:44:11.391259
2019-02-02T15:24:26
2019-02-02T15:24:26
166,669,484
0
0
null
null
null
null
UTF-8
Python
false
false
4,076
py
# -*- coding: utf-8 -*- # Scrapy settings for Tencent project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/latest...
[ "faker_322@outlook.com" ]
faker_322@outlook.com
585fcc9245c2d6d38084b5b73a5720ed3e2ddf0f
ece88aaa420bf1363e59efb2e00380f5f8fef83f
/FreeTimeLance/settings.py
2cb4031656f367226b0321a24e4bb49489913dc5
[]
no_license
RedBeardCode/FreeTimeLance
de2184782ea45adf03614a4d590c9fa100a37378
6c8f6b27c93a9aba3fdf7aacd83c60cb5bf7c73e
refs/heads/master
2021-01-16T23:09:51.198441
2017-12-22T15:44:16
2017-12-22T15:44:16
72,297,892
0
0
null
2017-12-22T15:44:17
2016-10-29T16:58:46
JavaScript
UTF-8
Python
false
false
3,983
py
# coding=utf-8 """ Django settings for FreeTimeLance project. Generated by 'django-admin startproject' using Django 1.10.2. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/set...
[ "s.farmbauer@red-beard-code.de" ]
s.farmbauer@red-beard-code.de
4a0eb19521baff5f402f7d4f68c5d19f30e3210c
c4de0b89e767398fcda6db76d2080333e12be64e
/examples/PyORBIT_CreateTestCase.py
80390aa535734ba12bf8d7dab0f6afc7ab5785a8
[]
no_license
LucaMalavolta/PyORBIT_legacy_V5
400237ba243631446f2e8b2e236e57e4cbe79573
ff1e161445696146de17a78ed19079b70475f303
refs/heads/master
2020-03-28T11:28:38.266261
2018-08-19T12:27:55
2018-08-19T12:27:55
148,217,755
0
0
null
null
null
null
UTF-8
Python
false
false
14,517
py
import numpy as np import sys import os #import matplotlib.pyplot as plt sys.path.insert(0, '../pyorbit/classes/') import kepler_exo as kp np.random.seed(12345678) planet_b = { 'P': np.random.uniform(6,9), 'K': np.random.uniform(10,20), 'f': np.random.uniform(0,np.pi), 'e': np.random.uniform(0,0.2)...
[ "luca.malavolta@unipd.it" ]
luca.malavolta@unipd.it
3b6ec0b98124cd4420921fe505401df84f1bc6ed
0195afadd18b9c7ad371da0359cf7b675b3ed114
/Experiment 2/RVA.py
7fc177e610a3efd5c296e1540587a63e0a425ebc
[]
no_license
willa-mannering/Catastrophic-Interference-in-Neural-Networks
aa61d50f83b2969fa26683aed366eecf22b9bc47
56e3c60ebcc4b519824cacec2a44ec8b6a6679ac
refs/heads/master
2022-10-23T15:35:43.722629
2022-10-07T21:31:57
2022-10-07T21:31:57
218,356,757
0
0
null
null
null
null
UTF-8
Python
false
false
7,706
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Oct 9 15:22:35 2018 @author: willamannering """ from scipy import sparse import numpy as np from re import sub from nltk.corpus import stopwords import pickle import itertools sw = set(stopwords.words("english")) #%% class RVA: ''' This version...
[ "noreply@github.com" ]
noreply@github.com
8f14af477903b2d08645a29fcebf758b83cec3a5
d2d5ab2e2af10387817e9c33bd7810298a474ab5
/test/test_fastfuzzy.py
256b144db55bfb324e245dc4a56525472c702167
[ "Apache-2.0" ]
permissive
islamazhar/pwmodels
f5e70df074da177835d3eb1ec87991667b6edecc
2eac1ba8ea04495c5d5b29bbcc42e828f846807e
refs/heads/master
2023-02-22T18:43:10.629265
2020-10-16T04:38:32
2020-10-16T04:38:32
294,730,140
0
0
Apache-2.0
2020-09-11T15:18:58
2020-09-11T15:18:58
null
UTF-8
Python
false
false
2,405
py
import unittest from .context import phpbb_leak_file, pwmodel, Fast2FuzzySearch, lvdistance class TestPasswords(unittest.TestCase): def test_FastFuzzySearch(self): from pwmodel import helper import os import time import random import numpy as np fname = phpbb_leak_f...
[ "rahul@cs.cornell.edu" ]
rahul@cs.cornell.edu
4fe09e4033ab5248274e1eb4eca7d375acc4598d
b1ba5707a5cbe918d33bc2082b3eb4ff1378c060
/SDPython/tests/test_sd/test_package.py
21b1b208b6690f20449ad6c4d37e68781b3b36f3
[]
no_license
qq781217732/SubstanceDev
2eb1d9ed48d477cf70c7bfdac2103bb884e9204c
b9ffab0a1b8f3c01783259074940b2712a8142b8
refs/heads/master
2023-03-26T00:43:35.047305
2021-03-01T04:12:28
2021-03-01T04:12:28
342,539,111
0
0
null
null
null
null
UTF-8
Python
false
false
2,105
py
# ADOBE CONFIDENTIAL # # Copyright 2019 Adobe # All Rights Reserved. # # NOTICE: Adobe permits you to use, modify, and distribute this file in # accordance with the terms of the Adobe license agreement accompanying it. # If you have received this file from a source other than Adobe, # then your use, modification, or d...
[ "gaoyuyang@senseinn.com" ]
gaoyuyang@senseinn.com
b71271fbd3ec4ee0ceb79d818e5d80edd0003f74
f7099cdc7c11625f6a80153a6e32fed7b7b32117
/11.py
552718300f159f8b3ee2ffaf48847c33adff0228
[]
no_license
OrozomambetovaMeerim/Test-3
fa1ace82b994736373f024a57e901ad5e467c6d7
be07697b95b8ceefec9e43c1aee6b9e93445c620
refs/heads/main
2023-04-24T13:14:55.851664
2021-05-09T17:51:40
2021-05-09T17:51:40
365,636,472
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# В чем основное отличие двух следующих вариантов кода? Что произойдет при исполнении каждого из них? ВАЖНО: если Вы исполните этот код, Ваш компьютер может зависнуть! Найдите ответ без исполнения кода на компьютере. # Код 1: lst = [x for x in range(100000000000000000000000000000000000000000)] # Код 2: gnr = (x...
[ "meerimorozomambetova@gmail.com" ]
meerimorozomambetova@gmail.com
b8f8192d1054607f945534b061f4d43fa5aae221
2400626b71d3c523bbaf647833c5ff7f95f25e23
/setup.py
ae70cc8dc877e1cbba4b2924b209e30b8855e8a0
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
deven769/rest-framework-roles
d2674d7822984c2bcee2735e55ccc34913cc711e
498357b9f8c5851ffe7da0f409c64700fd0a423a
refs/heads/master
2023-06-08T09:38:48.475468
2021-06-28T19:28:38
2021-06-28T19:28:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import os import sys import re import subprocess import shlex try: from setuptools import setup from setuptools.command.install import install except ImportError: from distutils.core import setup from distutils.command.install import install VERSION = '0.4.1' def get_tag_version(): cmd = 'git t...
[ "manossef@gmail.com" ]
manossef@gmail.com
fb1810b91a43090b03c62c1be84d7e3dcc1b53fd
bc836919e9879ef1e0bebfeb69bed923aaedd876
/fuel_external_git/drivers/openstack_config.py
324c28a83bc636fc06dfd8c40d3bc570fb6eecc6
[ "Apache-2.0" ]
permissive
dukov/fuel-external-git
d7ca52e11cf888e9c8d252f4018952acdc7769a6
29aaeeab818c1412e8e87d263685c4bdae2c8fd6
refs/heads/master
2020-05-21T22:47:51.730245
2016-11-08T15:27:41
2016-11-08T15:27:41
65,416,318
0
0
null
null
null
null
UTF-8
Python
false
false
2,302
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "dukov@mirantis.com" ]
dukov@mirantis.com
38f94ef8d5c8159e0b4db7723f7aee76d015aa96
4abc15d72cdfe128fb86b9e61aed01f8d520ba0b
/solo/methods/deepclusterv2.py
b6a93a8582be4ababc797d0ac2e53b667035c1e5
[ "MIT" ]
permissive
socar-tigger/solo-learn
ded16e2811619d2023e8d6edec5ce615530d426e
a7c4e769c66336864f85cdff4b3a151440784bb8
refs/heads/main
2023-09-02T20:52:45.989965
2021-11-15T06:29:42
2021-11-15T06:29:42
427,213,249
0
0
MIT
2021-11-12T02:55:20
2021-11-12T02:55:20
null
UTF-8
Python
false
false
8,728
py
# Copyright 2021 solo-learn development team. # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to use, # copy, modify, merge, publ...
[ "noreply@github.com" ]
noreply@github.com
8874054519a9ec1bd715ee854b7f54367bcea433
752b190f34b1298f3cead20272d3a8c1da868aa0
/books/models.py
0902a5df9871aba10301e81935d96228ff04920a
[]
no_license
klande/devops9-2
883eaee79bf1b493b85f3954ce951ba0d1acdfa6
4d3a41320a826de7d67442dd898e9ae992305421
refs/heads/master
2023-05-26T05:15:51.002187
2019-12-22T14:22:39
2019-12-22T14:22:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
from django.db import models # Create your models here. class Publish(models.Model): ''' 出版商 ''' name = models.CharField(max_length=32, verbose_name='出版商名称', help_text='出版商名称') city = models.CharField(max_length=32, null=True, blank=True, verbose_name='出版商城市', help_text='出版商名称') a...
[ "zhengyansheng@vipkid.com.cn" ]
zhengyansheng@vipkid.com.cn
cd0e9a5b5c99ce669e0a49f2349278e535a5c9e4
66e8b8d8d43d54626da8281b1f2511b6742f9e94
/clipwdmgr/commands/SearchCommand.py
a2713e40aeb75429062d5f8e55694228b30508b0
[ "MIT" ]
permissive
samisalkosuo/clipasswordmgr
6dfacefb4ba42c9af37be7e85a3288274595f964
4bd55587b06dca639f446ac6d1f27228a6927265
refs/heads/master
2020-04-12T07:27:47.186986
2020-01-22T12:59:17
2020-01-22T12:59:17
28,768,470
8
3
null
null
null
null
UTF-8
Python
false
false
2,867
py
# -*- coding: utf-8 -*- #The MIT License (MIT) # #Copyright (c) 2015,2018 Sami Salkosuo # #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software without restriction, including without limitation the r...
[ "samisalkosuo@users.noreply.github.com" ]
samisalkosuo@users.noreply.github.com
35c2c53f50c75fbcecf0c959acf438bfb4972e07
940816ee112fe74f5ed5d3fa85ef02d8b8307eba
/connect2.py
2776345e3f9d8c89ba449bb0071a2611bc679bb2
[]
no_license
LunaCelestine/TwitterDatasetAnalysis
acf1ff232f49b649050a9d10f0631b47dda0fff4
0679497706b35228ff2ccd83674eb878b8bdb81f
refs/heads/master
2021-08-19T22:03:03.167078
2017-11-27T14:37:46
2017-11-27T14:37:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
import time def findX(x): return dSets[x] def mergeSet(p,q): lis=hashSet[q] for i in lis: dSets[i]=p hashSet[p].append(i) del hashSet[q] startTime=time.clock() n=1000000 dSets =[] for i in range(0,n): dSets.append(i) hashSet={} for i in range(0,n): hashSet[i]=[i] edgeSet=[] fh...
[ "bdabdoub@gmail.com" ]
bdabdoub@gmail.com
e4944b1b43ee05a56b2e875b6344b52e18ed8f74
08ff71fec39604302c36d0a016147f0a57820765
/zentral/contrib/monolith/views.py
7d825ad49521e9bea382df96fe07f47f223e397b
[ "Apache-2.0" ]
permissive
secdragon/zentral
a20134cd5288b6689bfdd6528836e93229e48a03
a000fb314ba514488df49dcc3d2106001948ea3b
refs/heads/master
2020-03-25T11:11:50.871327
2018-07-09T06:52:10
2018-07-09T06:52:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
52,388
py
from itertools import chain import json import logging from django.contrib.auth.mixins import LoginRequiredMixin from django.core.exceptions import PermissionDenied, SuspiciousOperation from django.core.urlresolvers import reverse_lazy from django.http import (FileResponse, Http404, ...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
5bbf2fbadaf41b140c827895d732414efd2c2fbb
5869766ca261f8df9cd3ca197024c69eb8c77866
/nltk 16.py
b7840b129420bc2096a0ae06dc60e5f80b4f9b0a
[]
no_license
babdulhakim2/nltk
1461c715bdcb257d7742e499792a818232c6ed13
a450af71098a0969e200bfb7bd9f734529dae6b7
refs/heads/master
2021-04-28T23:41:24.942570
2016-12-31T06:42:07
2016-12-31T06:42:07
77,728,731
0
0
null
null
null
null
UTF-8
Python
false
false
5,338
py
import nltk import random from nltk.corpus import movie_reviews from nltk.classify.scikitlearn import SklearnClassifier import pickle from sklearn.naive_bayes import MultinomialNB, GaussianNB, BernoulliNB from sklearn.linear_model import LogisticRegression, SGDClassifier from sklearn.svm import SVC, LinearSVC,...
[ "noreply@github.com" ]
noreply@github.com
ed3353e5133a00ddd17176040ec7d8f1a619806c
1d7eec692553afc411ec1e7325634f71a2aed291
/backend/curriculum_tracking/management/project_wrangle_helpers.py
8c347fb6739812587fcbd8c3727942620ad8dd97
[]
no_license
Andy-Nkumane/Tilde
a41a2a65b3901b92263ae94d527de403f59a5caf
80de97edaf99f4831ca8cb989b93e3be5e09fdd6
refs/heads/develop
2023-05-09T10:02:41.240517
2021-05-28T09:20:51
2021-05-28T09:20:51
299,501,586
0
0
null
2020-10-25T22:37:30
2020-09-29T04:10:48
Python
UTF-8
Python
false
false
10,188
py
""" These helper functions were leveraged heavily in preparing the recruit projects for flavoursome cards. There were a lot of different messes to be cleaned up """ from taggit.models import Tag import csv from core.models import User, Team from curriculum_tracking.models import ( RecruitProject, ContentItem, ...
[ "sheena.oconnell@gmail.com" ]
sheena.oconnell@gmail.com
54786b90c8d26ce1544f31b02c94c4b3b93085a5
7e2e839b3887e7f4cc2206876adf2fbceae3778d
/Cube/Solver/kociemba/__init__.py
4fbaec49c41a5a4d237e82538e394a807aa4de4b
[]
no_license
CadenKun/rubiks_cube
bb911a4bd5c77f6ecd751d945d02d708bd3c4fe0
21ddb5733a9b3916f22ae0eadee07b8a6df47c3c
refs/heads/main
2023-07-13T20:20:44.144880
2021-09-01T12:12:37
2021-09-01T12:12:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,196
py
import warnings from Cube.cube import Cube class SlowContextWarning(Warning): pass try: import os from .ckociembawrapper import ffi, lib cache_dir = os.path.join(os.path.dirname(__file__), 'cprunetables') def _solve(cube, pattern, max_depth=24): pattern_utf8 = pattern.encode('utf-8') if ...
[ "along.blabri@gmail.com" ]
along.blabri@gmail.com
284c9f5c3d5de1d0f8dd30823afd74318749140b
ae78c92aac2b3fe1eb8c5e5f894997fe83d3d729
/cap.py
f06cbfa146ae307c213f818e07d65966ae68a57a
[]
no_license
yukadev6/unittest-example
4cb6946b4fd0dd09503a11882f3d66c4008ab9d9
a0b4e3c8d235219043a2894e412761ac5f6bcb6f
refs/heads/main
2023-02-19T06:12:52.553603
2021-01-23T16:45:24
2021-01-23T16:45:24
332,253,700
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
def cap_text(text): ''' Input a string Output the capitlized the string ''' return text.title()
[ "yuka.couweleers@gmail.com" ]
yuka.couweleers@gmail.com
2e0356524099428c8766cb07f28b6687ed053d95
7a84db72ccb3d04283499e5c23ffbee94a025de8
/convert-pep440.py
0ba6e7872a2a3819b0b1f8362fb719f4b1109653
[]
no_license
hroncok/convert-440
f3ebbee57147235ea209cff6bdb1a01bcf6e7902
8236d838e370ae4911978f2f59390d6a030a91a5
refs/heads/master
2021-12-23T03:35:11.022425
2019-11-27T16:18:08
2019-11-27T16:18:08
224,472,169
0
0
null
2019-11-27T16:26:02
2019-11-27T16:26:01
null
UTF-8
Python
false
false
3,082
py
#!/usr/bin/env python3 # Copyright 2019 pyproject-rpm-macros contributors # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files # (the "Software"), to deal in the Software without restriction, # including without limitation the rights to ...
[ "gordon.messmer@gmail.com" ]
gordon.messmer@gmail.com
77fe4bea9d57f24ab69ed9ad9d09df3b77a0b8b5
2007214b3501da6d7b105ab8a7687776c28e76f7
/python-ds-practice/33_sum_range/sum_range.py
c1ba29fa5f134c44ddaccf298e1bbfc757501c82
[]
no_license
quyenpham94/python-syntax-practice
f0fbf4aabb8a5c9c4b4e268b7c38518a6cd000bb
d73f885354c43e88b3dc120735040c2760871cd5
refs/heads/main
2023-08-25T18:07:46.467567
2021-10-15T15:31:24
2021-10-15T15:31:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
def sum_range(nums, start=0, end=None): """Return sum of numbers from start...end. - start: where to start (if not provided, start at list start) - end: where to stop (include this index) (if not provided, go through end) >>> nums = [1, 2, 3, 4] >>> sum_range(nums) 10 >>>...
[ "hoangquyen174@gmail.com" ]
hoangquyen174@gmail.com
f9712413ac754555b835e7b4eb6cac3413f45408
8668dccceac1011c5341bf7d5f971c0da9585a7a
/_src/om2py4w/4wex0/main.py
37b6ad5d1d71e2ffdc37657f488c58bd9d3ab69a
[ "MIT" ]
permissive
jasonycliu/OMOOC2py
ea405c771fa2954687a58e575d35f94c7f4574f9
9b455ca50fa0d5eaaa21b21cccc76d49d6354b3d
refs/heads/master
2021-01-15T12:54:54.719830
2015-12-04T05:12:39
2015-12-04T05:12:39
44,055,421
0
0
null
2015-10-11T14:30:57
2015-10-11T14:30:57
null
UTF-8
Python
false
false
943
py
# -*- coding:utf-8 -*- from bottle import route, template, request, debug, run from datetime import datetime, date #common line 读取数据 @route('/read') def read_diary(): f = open('mydiary.log') history = f.read() f.close() return history #写日记函数 def write_diary(diarytext): date = datetime.now() d...
[ "jasonycliu@gmail.com" ]
jasonycliu@gmail.com
0564d2ecef3f6c2c15af42433721eca935cf0807
4bfa09b427ed1ec3c3f645f66e32f1e85ba59699
/scripts/mell/tokenization/tokenizer.py
0dcdcf01a2b1d531dd91eb89f51d8ce062eb9bd9
[ "Apache-2.0" ]
permissive
Chengkai-Huang/EasyTransfer
c3328f33d408783cc08eebf5a4ed43becf3d5dec
6909238c45b5708968f955b7d971a79b25434597
refs/heads/master
2023-07-19T02:20:36.864088
2021-09-15T09:45:48
2021-09-15T09:45:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,312
py
import jieba from .tokenization_bert import BertTokenizer from .tokenization_albert import AlbertTokenizer from .tokenization_gpt2 import GPT2Tokenizer class Tokenizer(object): def __init__(self, backend="jieba", vocab_file=None, pretrain_model_name_or_path=None): self.backend = backend self.vocab...
[ "zhangtaolin@B-133KQ05P-0208.local" ]
zhangtaolin@B-133KQ05P-0208.local
8e601ba9e0dbeb81f667938b4d361cda5ccc749d
1ff9adfdb9d559e6f81ed9470467bab25e93b5ab
/src/ta_lib/_vendor/tigerml/pyspark/eda/eda.py
6d6da84cea9ce373d66310101722a68fb7f8f2f8
[]
no_license
Seemant-tiger/housing-price-prediction
a39dbefcb11bc460edeeee92e6becf77d35ff3a8
be5d8cca769c7e267cfee1932eb82b70c2855bc1
refs/heads/main
2023-06-24T00:25:49.776720
2021-07-18T16:44:28
2021-07-18T16:44:28
387,222,852
0
0
null
null
null
null
UTF-8
Python
false
false
40,365
py
"""Functions to carry out the EDA in spark framework.""" import gc import logging # noqa from collections import Counter import holoviews as hv import matplotlib.pyplot as plt import numpy as np import pandas as pd from hvplot import hvPlot from pyspark.ml import Pipeline from pyspark.ml.feature import StringIndexer...
[ "seemantsingh1199@gmail.com" ]
seemantsingh1199@gmail.com
1200cd170980527aa071ec6d609a49538dbc63c4
8f2396049198df3a668b89e35c0286304b00069f
/Bioinfo_Teory/basic_set_1.py
38cd831f3ac16a90cb0d8ae2c37c08e3cad2f02d
[]
no_license
s2arora/Bio
9d5d9c6a3237f9c6684bc656a1aee8a81dbaef40
5b8cf75c34c33382a19ec8fd9ab0733ea85ca116
refs/heads/master
2022-11-27T11:11:44.452556
2020-08-03T02:18:52
2020-08-03T02:18:52
282,906,389
0
0
null
2020-07-28T10:14:05
2020-07-27T13:28:34
Python
UTF-8
Python
false
false
393
py
s1 = raw_input('enter the number: ') print("3,5,1,3,2") s1 = "3,5,1,3,2" s1_li= s1.split(",") s1_li_int = [] for i in s1_li: s1_li_int.append(int(i)) set1 = set(s1_li_int) s2 = raw_input('enter the number: ') print("4,6,6,4,1") s2 = "4,6,6,4,1" s2_li= s2.split(",") s2_li_int = [] for j in s2_li: s2_li_int.app...
[ "noreply@github.com" ]
noreply@github.com
6d9395476551929bc6e1bb99f7d3b4d32f49a70d
f371a0f6ad80d4965477f5541c58a747e145c159
/implementMain.py
896554f9eb87719d795797200678122b645b84f7
[]
no_license
ErPrabin/FinalYearPjoject
4b04a9cd7a0476a4980064505a2343eb8ba47b1c
15e6227d3559f64a224ac894209d1687f42dd119
refs/heads/master
2023-04-22T09:21:34.120386
2021-05-11T09:21:04
2021-05-11T09:21:04
366,278,738
0
0
null
null
null
null
UTF-8
Python
false
false
15,759
py
import random import json import torch from model import NeuralNet from tokenizationAndStemming import BagOfWords, tokenize from voice import listener import dominate import pyttsx3 import os.path from dominate.tags import * engine = pyttsx3.init() engine.setProperty('rate', 130) from specialHandlers import handleSrc...
[ "51107229+maneethekill@users.noreply.github.com" ]
51107229+maneethekill@users.noreply.github.com
09080ed90306b0487edf7ad43f6f5aa82d0d5da5
27ba0e7738e798c265decd1a69fed6dc1309dee4
/manage.py
8617e60d87265e20e63942504977f078b00a7eff
[]
no_license
jdhaagenson/customusers
883d4147b198b0356b2826025d465bae6d09cfe0
340d87e261040f80d02c60b140253b51fd5aed0b
refs/heads/master
2022-12-07T03:03:26.823612
2020-08-25T21:32:15
2020-08-25T21:32:15
290,326,088
0
0
null
null
null
null
UTF-8
Python
false
false
665
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', 'custom_user.settings') try: from django.core.management import execute_from_command_line except I...
[ "jdhaagenson@gmail.com" ]
jdhaagenson@gmail.com
1bff2ac0967e16eaba266de1b1749c487521c995
08778088da558a8bc79326754bb86f61c4cf082b
/eisitirio/database/waiting.py
5d06fb161572f0a5a5f73faf4ed6d38b4a5a6dad
[]
no_license
toastwaffle/Eisitirio
b5a7c48fc015857bfccdbe3f702e4c12c2e8277c
64ff15704b6b62d6ed385f7add59e7face88a95c
refs/heads/master
2020-05-24T15:51:12.023834
2019-09-12T19:09:23
2019-09-12T19:09:23
187,341,863
0
0
null
2019-05-18T09:59:35
2019-05-18T09:59:35
null
UTF-8
Python
false
false
954
py
# coding: utf-8 """Database model for entries on the waiting list.""" from __future__ import unicode_literals import datetime from eisitirio.database import db DB = db.DB class Waiting(DB.Model): """Model for entries on the waiting list.""" __tablename__ = "waiting" waiting_since = DB.Column(DB.Date...
[ "samuel.littley@toastwaffle.com" ]
samuel.littley@toastwaffle.com
7aba7f32ed96c5e577fdeed1ddb2f5bf167c0d91
0d32e3819606c3fb6820d0cd5f5097db3b0d3dd4
/HW3/q_learning_no_epsilon_decay_mountain_car.py
6afd1f1d11cfe24eb60909d28e8ea03a2aa4b912
[]
no_license
IanCBrown/COMP5600
e8e06b2a8e3bde0acc6897adb2396a57a2811f0a
ef454c009d6fd5eec50ceec5a8283a7c6d81d097
refs/heads/master
2020-08-02T13:20:41.024681
2019-12-09T03:53:37
2019-12-09T03:53:37
211,366,293
2
1
null
null
null
null
UTF-8
Python
false
false
6,059
py
import math import numpy as np import matplotlib matplotlib.use("TkAgg") from matplotlib import pyplot as plt import gym from gym import spaces from gym.utils import seeding # Resources: # https://en.wikipedia.org/wiki/Mountain_car_problem # https://towardsdatascience.com/getting-started-with-reinforcement-learning-...
[ "icb0004@auburn.edu" ]
icb0004@auburn.edu
5b5313c1b7b9632740bff70f7f45a3474a729824
4749f353f5df6adf0d4dd264f82d5d92f3c82d84
/Backtesting/MovingAverageTradeBacktesting.py
4eb4ebd5d9ee3451a6729680fd6e4b0a40a966fc
[]
no_license
kumars99/TradingScripts
6bd7740e60877904a837dac4bea7ce49352b1704
b916eb8a69e349ad19d9893262cd27c5aedade2f
refs/heads/master
2023-02-22T01:45:35.883845
2021-01-28T04:32:11
2021-01-28T04:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,977
py
import traceback from datetime import datetime, timedelta import time import MAUtils as mautil import MovingAverageTradeBacktestingStats as stat import ScrapUtils as nse_bse import Utils as util diff_between_start_end_date = 1500 no_of_sessions_from_start_to_begin = 300 no_of_buffer_sessions_to_keep = 100 max_no_of_...
[ "himanshu4529.pec@gmail.com" ]
himanshu4529.pec@gmail.com
cc25b49cba139ab957706257cc9e9cdd5119b7a6
382c8cfb29f420297462d122c571995b62e10a6b
/temp.py
ab5d445e6bd49d2df01744e32851e61b3e05f170
[]
no_license
innovation-labs/Vader
c1a9592cc02f85cc5a28b3116fc41b35df5baf04
aa9091f90c41fe2b1ae6e488670bf89bcbbde5c9
refs/heads/master
2021-08-23T21:18:46.609875
2017-12-06T15:50:56
2017-12-06T15:50:56
103,031,449
0
0
null
2017-09-10T13:28:51
2017-09-10T13:28:50
null
UTF-8
Python
false
false
1,914
py
# from django.conf import settings from geoip2 import database from geoip2.errors import AddressNotFoundError from apps.warehouse.models import IPStore reader = database.Reader(settings.MAXMIND_CITY_DB) ips = ['99.248.9.54', '173.34.75.225', '70.54.130.204', '67.58.222.87', '70.55.50.230'...
[ "yousuf.jawwad@gmail.com" ]
yousuf.jawwad@gmail.com
f427b9de5b6b0f9d8f90c4c5a5d004f603492bac
26a5826d54f679ecf3c768430e8a13a523e0425a
/tests/home/test_view.py
f74ccc51db2631f48611ca2784d0a19186ae0722
[]
no_license
gauribhoite/pedsqbank
38588f0fab427cfa8ee8599613613c2a5a042ea3
39becc4de814a1ee542ed1eb93857d106863b9dd
refs/heads/master
2021-01-19T21:47:11.843687
2017-04-29T11:12:20
2017-04-29T11:12:20
88,704,927
0
0
null
2017-04-29T10:59:52
2017-04-19T05:34:20
Python
UTF-8
Python
false
false
188
py
from flask import url_for class TestHome(object): def test_login_page(self, client): response = client.get(url_for('users.login')) assert response.status_code == 200
[ "gauri.bhoite@babylonhealth.com" ]
gauri.bhoite@babylonhealth.com
8af072ca10d2818422727df5fbd11c71012690ef
5da80918ac50156f351966f96e2131123222d483
/hack/coalesce.py
ddb07665af6933731c1eef0253ccadbd9605a08e
[ "Apache-2.0" ]
permissive
dinomiteX/cluster-api-provider-aws
43045e2c2d1836f1722795e5d4afeef2a3b407ea
bc4496ff9235a64f81dd9e6f2c97e368b6099431
refs/heads/master
2020-07-07T14:50:26.244166
2019-08-20T13:37:01
2019-08-20T13:37:01
203,380,287
0
0
Apache-2.0
2019-08-20T13:18:24
2019-08-20T13:18:23
null
UTF-8
Python
false
false
3,191
py
#!/usr/bin/env python # Copyright 2016 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "k8s-ci-robot@users.noreply.github.com" ]
k8s-ci-robot@users.noreply.github.com
2f6306d71f2bc95e8af7efeae2ca318756f99a0e
0722301f27bb20ab42400fa90a8a5254d20a421f
/lesson5.py
b57a501183a4effa07a970bb145ff1d8995f8b83
[]
no_license
poliarus/Stepik_Python_course
c21ffa6a9e7736adf824f8839715f3e629f2f8ac
c270d0968028f98455353cbf923883aa5313f7c6
refs/heads/master
2020-09-16T13:20:12.406254
2019-11-24T17:46:31
2019-11-24T17:46:31
223,782,638
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
a = float(input("a: ")) b = float(input("b: ")) c = input("operation ") if c == "+": print(a + b) elif c == "-": print(a - b) elif c == "/": if b != 0: print(a / b) else: print("Деление на 0!") elif c == "*": print(a * b) elif c == "mod": if b != 0: print(a % b) else...
[ "polyarus13@gmail.com" ]
polyarus13@gmail.com
c6fad3d69a37b86a151df9755e8c9c1b6f119385
6cc3532eae923e6f828a4145d6b766666028c151
/Robot/myWeb.py
a164dd152582e14b2c65fcbf842f9884a589542e
[]
no_license
siwanghu/ROS
fd819b8a6dba4217953569325888992f3c591ad5
970c95946b9dcd71da16fe7aebfd3de56723b7e4
refs/heads/master
2021-09-11T21:11:28.180099
2018-04-12T13:43:23
2018-04-12T13:43:23
106,904,043
1
0
null
null
null
null
UTF-8
Python
false
false
658
py
#!/usr/bin/env python #encoding=utf-8 #coding: siwanghu import web urls=('/', 'index') class index: def GET(self): name=web.input(types=None,ids=None) ids=name.ids types=name.types if types=="crui": host="192.168.0.212" port=9999 addr=(host,port) com=ids tcpClient = socket(AF_INET,SO...
[ "siwanghu@hotmail.com" ]
siwanghu@hotmail.com
c506adf350c0d3218ce0fe7d2084bb9c4162dc4a
37fcc80608110b9ed8a7ab8916346c336dd58769
/haircut/urls.py
82d382643096307036c140363b0461425207efa3
[]
no_license
dear7/Salon
7f25565d69e8dd27c919b40f2e6c882a9b3fcb69
fb7c5e1d3fec28a52424d2303d813327b653e2ec
refs/heads/master
2020-03-22T00:00:39.736280
2018-06-30T04:32:20
2018-06-30T04:32:20
139,218,933
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
from django.utls import path from . import views app_name = 'haircut' urlpatterns = [ path('', views.home_page, name='home_page') ]
[ "799313051@qq.com" ]
799313051@qq.com