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
7c37487b442fdebece43b54771829b25f77308e7
1a25f1e9454227a5a3abff901fd2fda3fc5a7903
/nodes/strip_chart.py
355a770db8f8282d40ca37828a667a8bc4d8315e
[]
no_license
lyshds/muscle_imager
7155546bc04396c01de03e38502ecb5eb7e77e96
66c52a7808b6cdb5641c2173913cfe70a9850acb
refs/heads/master
2020-09-27T05:22:39.719641
2017-05-20T04:32:43
2017-05-20T04:32:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,785
py
#!/usr/bin/env python import pyqtgraph as pg from pyqtgraph.Qt import QtCore, QtGui#QStringList,QString import rospy import rosparam import rospkg from muscle_imager.msg import MsgExtractedSignal from phidgets_daq.msg import phidgetsDAQinterpreted from Kinefly.msg import MsgFlystate from std_msgs.msg import Header, S...
[ "thlindsay1@gmail.com" ]
thlindsay1@gmail.com
748c79d00d0dbb0cc6f31fe9dd59cd7d07273eb3
120383e3d0ed2ca32b637b54084fb7b6c38b649c
/cpm/tasks/models.py
a899143466b4bf9f5aa66ef402bae949dd8e048c
[]
no_license
sacrac/django-cpm
781c0373eb66d9cb8bf55c0072327c5c09a09a28
5aff06bf03608e6ba62a6279b1907efbd6d09b9e
refs/heads/master
2021-01-15T20:48:03.273292
2013-08-31T21:38:06
2013-08-31T21:38:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,844
py
from django.db import models from django.core.urlresolvers import reverse from django.utils.http import urlquote from django.utils.timesince import timesince, timeuntil from django.utils.translation import ugettext_lazy as _ from core.models import Slugged, base_concrete_model, DateStamp from projects.models import P...
[ "will@webpowerlabs.com" ]
will@webpowerlabs.com
19c2e01da48ca921b8de69497ea25ed9c31f8ef2
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/tools/checkpoint_converter 2.py
ae2bdfdfb98ef173118485a0bc3347b669d692ff
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:8fa8fb8a28f4e0579f76bf4c69c422094fc5b48a2ceb3947d71dc3fd7baa9304 size 15165
[ "business030301@gmail.com" ]
business030301@gmail.com
1655c1d3923c8fc1b564ad7b964b0bba8bdfb5d4
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf.0/gsn-edf_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=4/params.py
179d934c3074c090dc131dbc794033281d0e7cef
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
{'cpus': 4, 'duration': 30, 'final_util': '3.522286', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.5', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'GSN-EDF', 'trial': 4, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
9bc0748ad060a2c2c9643d3b9b3dca68e9b283ce
3f4a5a0a08bf04f30980926b247e2513ff1616a2
/删除列表重复的项.py
84271590f194695d40202b1da68ade8762fb6e57
[]
no_license
king-huoye/leetcode-with-python
4c43f85cde7a8de838749d69bd84da495ed85f71
b84309c55df7476ca3ba58b915da02f35a6ba719
refs/heads/master
2022-12-06T09:11:53.743470
2020-09-02T12:53:39
2020-09-02T12:53:39
292,276,224
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
class List(object): pass class Solution: def removeDuplicates(self, nums: List[int]) -> int: a = set(nums) # 变成集合 nums.clear() # 清空列表 a = list(a) # 集合变列表 nums.extend(a) # 将集合添加到列表 nums.sort() return len(nums)
[ "noreply@github.com" ]
king-huoye.noreply@github.com
28d1d8724bec68d18128ae14f995f71a73966766
5373c570897992986b18c1f76b6a2e1482b9599d
/Exercícios/ex046ContagemRegresiva.py
6f57ac9aaa45a94abeae4dd4ecbee755e5fb0380
[ "MIT" ]
permissive
CarolineSantosAlves/Exercicios-Python
37ebe049919608ad6cf7f2558734f2f9b16082a1
3bbdc1fd996948142951e043175efd9d8a6c34f2
refs/heads/master
2022-09-08T20:29:26.375417
2020-05-30T23:44:04
2020-05-30T23:44:04
268,178,149
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from time import sleep import emoji for c in range (10, -1, -1): print(c) sleep(1) print(emoji.emojize(':collision:', use_aliases=True))
[ "caroline.santos.wb@gmail.com" ]
caroline.santos.wb@gmail.com
aeaf756b0555b08916480ad2a0aa828e910f0ae6
2de9c11528bf468612f83b845c02d570f8d271e0
/geese/controller/__init__.py
3ba55d9231c7646c6780fa7f263b7690f4bb8d9d
[]
no_license
waderaku/hungry_geese_for_kaggle
4e7cfe2010820ecbab05cdbcadd8395995b4f932
811b76bf47571adc1aa0d0987c02b72bca4789ac
refs/heads/master
2023-06-07T14:20:43.483612
2021-07-10T06:54:38
2021-07-10T06:54:38
369,221,676
0
0
null
2021-07-10T06:54:39
2021-05-20T13:41:36
Jupyter Notebook
UTF-8
Python
false
false
109
py
from geese.controller.controller import Controller from geese.controller.ppo_controller import PPOController
[ "yosemat.beta@gmail.com" ]
yosemat.beta@gmail.com
22a8669b42f146da8f8d47e2f3732c7bc96e8e70
d28356a4b01b70377d26d13475385a4df26a8d96
/onlinelab/service/processes.py
8e79a0cdd9813f39b7c97576133f2efd6fd06273
[]
no_license
volterra-luo/femhub-online-lab
c5794561993cb62406c7f52ceba9d9499350bd4b
29aa77847d365bef6702796e54c6355f4b040909
refs/heads/master
2021-01-20T23:48:00.110811
2010-10-19T21:42:17
2010-10-19T21:43:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,996
py
"""Engine process manager for Online Lab services. """ import os import re import time import signal import shutil import logging import xmlrpclib import functools import subprocess import collections import psutil import pyinotify import tornado.ioloop import tornado.httpclient import utilities from ..utils impor...
[ "mattpap@gmail.com" ]
mattpap@gmail.com
c2d2cd84addaced551db5ed53b4908ae371e3b5e
5aa93f2b25f2dc804da89b0ce3cd4a73ddb866df
/sentinal_linear_searach.py
5b929cc04fe250dc2be142e5640b874af97132d6
[]
no_license
usmankhan-bit/APS-2020
9f64ad458ef0f8344bcd0dc35e4b9943c08569b3
ecd7de64977506534abfa3f6ba6a943b2e33f91b
refs/heads/master
2020-12-21T02:21:25.210612
2020-10-24T05:37:43
2020-10-24T05:37:43
236,277,305
1
0
null
null
null
null
UTF-8
Python
false
false
236
py
arr=[3,5,6,4,7,35,2] searchelement=2 n=len(arr) temp=arr[n-1] arr[n-1]=searchelement i=0 while arr[i]!=searchelement: i+=1 arr[n-1]=temp if i<(n-1) or arr[n-1]==searchelement: print("Found at ",i) else: print("Not Found")
[ "usman@pop-os.localdomain" ]
usman@pop-os.localdomain
cb9932dd766a6df1de1a8b5c2d5dc46105c50b88
d308fffe3db53b034132fb1ea6242a509f966630
/pirates/leveleditor/worldData/tortuga_tunnel_jungle_1.py
2c46fa779686db2450b61ab626a791bf210c48c4
[ "BSD-3-Clause" ]
permissive
rasheelprogrammer/pirates
83caac204965b77a1b9c630426588faa01a13391
6ca1e7d571c670b0d976f65e608235707b5737e3
refs/heads/master
2020-03-18T20:03:28.687123
2018-05-28T18:05:25
2018-05-28T18:05:25
135,193,362
3
2
null
null
null
null
UTF-8
Python
false
false
1,163
py
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.leveleditor.worldData.tortuga_tunnel_jungle_1 from pandac.PandaModules import Point3, VBase3 objectStruct = {'Objects': {'115713...
[ "33942724+itsyaboyrocket@users.noreply.github.com" ]
33942724+itsyaboyrocket@users.noreply.github.com
9d58655de36afeae62b2789c6ebe451e82079978
5d156ae48b0634d5882952ed901ff0cd50b2c2d6
/build/gazebo_ros_demos/rrbot_description/catkin_generated/pkg.installspace.context.pc.py
4478c45f046262134c701da50bb17629b707cbfc
[]
no_license
YiKangJ/catkin_ws
c5d710381de791b47a122b9c99ca25f4cfe63f9b
4d0bd825b295ffaf66225f94519cd0d7a67ec9ec
refs/heads/master
2020-03-21T01:57:04.807234
2018-11-08T08:34:39
2018-11-08T08:34:39
137,971,197
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "rrbot_description" PROJECT_SPACE_DIR ...
[ "jinyikangjyk@163.com" ]
jinyikangjyk@163.com
86fb2849a77ef1adc3ae8260ed4da1ab9d596b63
9aad82d1fb2fc8a9c982332c935ba36544d74ee8
/Programs/DynamicProg__01KnapSack_Memoization.py
f38a8caf4456162d78864df22e95229b9daaa72a
[]
no_license
anjalitwt009/Python
4773325fb37a21c839272a648fe5212573dc1adf
6c6f1fb92bcd34ca6f38f1766cae22db46b3f159
refs/heads/master
2023-02-28T05:26:15.831203
2021-02-08T05:36:03
2021-02-08T05:36:03
278,690,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
# -*- coding: utf-8 -*- """DynamicProg__01KnapSack_Memoization.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1VIZMVz61352OQ9m-o7JfglqjJGJ9rmhY Given weights and values of n items, put these items in a knapsack of capacity W to get the maximum t...
[ "noreply@github.com" ]
anjalitwt009.noreply@github.com
bea60c370f5faa10bad2892986b423e548034e71
dd9befc554ff37c72a5462ab9240695729772623
/env/bin/wheel
1e0227ab4cc50ee966ef595517baa50e496400c8
[]
no_license
rogermuffler/flask-hello-world
5c7093e14c10ec9fb7c985ae3296dc05f694e09e
b0421e59e76cd937b530b0b732e10c34e9a8ed21
refs/heads/master
2020-06-16T12:57:52.379070
2018-10-06T14:46:05
2018-10-06T14:46:05
75,099,705
0
0
null
null
null
null
UTF-8
Python
false
false
270
#!/Users/rogermuffler/Documents/RealPython/flask-hello-world/env/bin/python3 # -*- 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())
[ "roger@stammtischphilosoph.ch" ]
roger@stammtischphilosoph.ch
45dde0ce52f8db4bbe493bf33a0ef9c5b0227384
11a93cbb194b7270f8b97cbda8c00d8c199eaef0
/backend/piazza_api/rpc.py
a7e4a73ca15a74cf56e22af9e770e0fb0a833694
[]
no_license
gaosui/Biazza
3616643253fe68d65f2adac6c9468b06e800e4f6
465201dd1fb0ad1d86b08d9366468bb854fa3d72
refs/heads/master
2020-04-01T05:19:42.982336
2020-03-26T22:33:15
2020-03-26T22:33:15
152,898,802
1
0
null
null
null
null
UTF-8
Python
false
false
15,561
py
import getpass import json import requests import six.moves from piazza_api.exceptions import AuthenticationError, NotAuthenticatedError, \ RequestError from piazza_api.nonce import nonce as _piazza_nonce class PiazzaRPC(object): """Unofficial Client for Piazza's Internal API Example: >>> p = ...
[ "gaosui2051@gmail.com" ]
gaosui2051@gmail.com
9fcb817c884bf3d04263b42b730fb3770451107e
bab9426fb4882d033bbd8eb5bd783de77a5f540d
/train.py
dc746d3957d86d11dfcc9a3c77af956ea6a32df7
[]
no_license
Meherdeep/faceID-verification
2ecac783c130b15a4ee530053a485bc48fd6621b
7756532bc74c6c3735a4472cf1f69bc1e28ff750
refs/heads/master
2020-08-17T02:55:26.115903
2019-10-16T16:37:13
2019-10-16T16:37:13
215,595,571
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
"""TAKES THE DATABASE OF IMAGES AS INPUT AND CREATES XML FILE FOR THAT USER""" import cv2 import numpy as np import os from os.path import join data_path = './faces/' images_ = [_img for _img in os.listdir(data_path) if '.jpg' in join(data_path, _img)] training_data, labels = [], [] for index, file_ in enumerate(i...
[ "meherdeept@gmail.com" ]
meherdeept@gmail.com
b2014fd44c6dfc441af3b54f51bd4d493d78fc87
8f7a80b471f70bfab2221603cdc41d29db607f61
/python_mods/local_publisher_for_test.py
798364cf283a73c6a7e7fca27d02cb3a6bcb12c2
[]
no_license
108356037/mqtt-model-test
bc20065c6d3b677f49a7f6d18c83fd6f6614e724
a8aa32a338509d4813a379fd32fbcaeb5d1bfa92
refs/heads/master
2023-01-19T04:49:20.877390
2020-11-26T08:34:46
2020-11-26T08:34:46
308,276,650
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
import paho.mqtt.client as mqtt import random import json import datetime import time # 設置日期時間的格式 ISOTIMEFORMAT = '%m/%d %H:%M:%S' # 連線設定 # 初始化地端程式 client = mqtt.Client() # 設定登入帳號密碼 # client.username_pw_set("try","xxxx") # 設定連線資訊(IP, Port, 連線時間) client.connect("localhost", 1883, 60) while True: t0 = random....
[ "tsai_wei_che@caiweizhede-MacBook-Pro.local" ]
tsai_wei_che@caiweizhede-MacBook-Pro.local
525890181c383359389b21654d83749b152dea6e
561fad4f925839f74044aad761942436d0c22f0b
/rango/models.py
9c07db9a11eb3b030ff54fc6f0a2f092540d61ba
[]
no_license
ashokjain001/TangowithDjango
3cfe9aa4f2ff872d29ba221a4b7e8a0e804703e1
b45ff04d9f1b240ee74b18731b594fedcf387298
refs/heads/master
2021-01-01T19:28:08.034108
2017-07-28T03:18:24
2017-07-28T03:18:24
98,597,426
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.db import models from django.forms import ModelForm from django.contrib.auth.models import User # Create your models here. from django.db import models from django.contrib.auth.models import User class Category(mo...
[ "ashokjain001@gmail.com" ]
ashokjain001@gmail.com
5fa7fbd20a59f5fa948bcb57d0d762df7c76d0d1
849a174efea976d4daed419b85668c2ba05fd2b9
/python/decorator_2.py
b83cae7c1c662a79254f0ac01b3badb114a86dde
[]
no_license
samyuktahegde/Python
61e6fedbdd2a94b29e4475621afa6d5e98bf49b8
b02fa6e908661a918e0024f508df0192d5553411
refs/heads/master
2018-09-18T20:27:55.980689
2018-08-09T05:49:33
2018-08-09T05:49:33
116,491,078
0
0
null
2018-02-05T05:33:53
2018-01-06T14:52:16
null
UTF-8
Python
false
false
1,064
py
from functools import wraps def my_logger(original_function): import logging logging.basicConfig(filename='{}.log'.format(original_function.__name__), level=logging.INFO) @wraps(original_function) def wrapper(*args, **kwargs): logging.info('Ran with args:{}, and kwargs:{}'.format(args,kw...
[ "noreply@github.com" ]
samyuktahegde.noreply@github.com
c3b8f44043e2a35a9ba4f8776fe89b18dd6a4bc2
293d9cd472d76fa051e996a8b7cdf1f4fc2a90cc
/ex0.py
409288aec02bf472c69c5b2e8949863e676831cd
[]
no_license
lizzyagibson/LPTHW
1c91cb6e4030400efa51e4e34a82c5d7ac7f56d9
012414d8e1fc0e0cdb238a237df31ed7c382ea1a
refs/heads/main
2023-02-22T21:00:58.657286
2021-01-19T14:56:53
2021-01-19T14:56:53
331,014,729
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
Learn Python the Hard Way Exercise 0
[ "eag2186@cumc.columbia.edu" ]
eag2186@cumc.columbia.edu
f50d93d6fa9e8a268df5323ef915dae73d6b09b8
296825de394dbb91f6e2181d9dbd5bcd57c03ced
/large_AE.py
e65bce8b324930a9e3ae319dce993aad17c1762f
[]
no_license
satyam4u/IoT_Autoencoder
8d7c7436d5cee66dd4f7cbaf08f6844e66bef25f
7424efcbcacaf173cd565955839c316307ce65e9
refs/heads/master
2020-03-26T15:56:59.854001
2018-08-18T12:35:26
2018-08-18T12:35:26
145,073,350
0
0
null
null
null
null
UTF-8
Python
false
false
3,133
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt import tensorflow as tf from sklearn.model_selection import train_test_split from keras.models import Model from keras.layers import Input, Dense import time """ print("Reading IoT dataset") X1 = pd.read_csv("bengin_traffic.csv",header=0).as_m...
[ "noreply@github.com" ]
satyam4u.noreply@github.com
e4e1e8907b6b80050289d575dc8654287d717733
28c58fe89e647293ce3bbd1804f3d601611d77c7
/events/models/excel_upload_log.py
3c5bd9491f3e48a228dfd403e5e914742a018840
[]
no_license
rameshdhungana/erp-backend
a938efa559d145998c893b703c92588b4f168259
98693f8b54edddd72ab2897d723ebf9afa653542
refs/heads/main
2023-01-06T02:47:42.143250
2020-02-22T17:11:38
2020-02-22T17:11:38
305,904,318
0
0
null
null
null
null
UTF-8
Python
false
false
1,603
py
import uuid as uuid from django.db import models from users.models import Base ACCOMMODATION_ROOM_ALLOCATION = 'Accommodation-Room-Allocation' ACCOMMODATION_ROOM_CREATION = 'Accommodation-Room-Creation' EXCEL_UPLOAD_LOG_TYPE = ( (ACCOMMODATION_ROOM_ALLOCATION, ACCOMMODATION_ROOM_ALLOCATION), (ACCOMMODATION_R...
[ "rdramesh2009@gmail.com" ]
rdramesh2009@gmail.com
72315bcfbaff7fcb02a51349cfc671232a52314c
6b43695ca4a86d8f1a57268a7f8cb7c138ef5771
/166_Fraction_to_Recurring_Decimal.py
d36c19c48517090b682d97d964b0244569e9aa03
[]
no_license
MarcelArthur/leetcode_collection
bd3a8a23f3095fbea79831e6a6ea4c515bddfd7c
a39280ab6bbbf3b688a024a71ef952be5010d98e
refs/heads/master
2021-11-23T15:40:21.874639
2021-11-20T16:15:17
2021-11-20T16:15:17
110,528,906
0
0
null
null
null
null
UTF-8
Python
false
false
958
py
class Solution(object): def fractionToDecimal(self, numerator, denominator): sign = (numerator * denominator) >= 0 numerator, denominator = abs(numerator), abs(denominator) q, r = divmod(numerator, denominator) res = str(q) if not sign: res = "-"...
[ "854748548@qq.com" ]
854748548@qq.com
839981522d1bb09e61d962a7abc94e7431c8ff39
3aa9ddf792a265ef23259c0d9eee16b7aecd382b
/main.py
688aceddbda0d1e0e9d50b2aee5e284a31dd1b67
[]
no_license
kkh5770/mini_pro
6020a4877b0363164d89a908c9b6e0695d69da2f
fc4612ef180a0d0a39e84814ed7d3589065da6bd
refs/heads/master
2021-04-01T04:50:43.623222
2020-03-18T06:44:06
2020-03-18T06:44:06
248,157,348
0
0
null
null
null
null
UTF-8
Python
false
false
7,793
py
import sys from PyQt5.QtWidgets import * from PyQt5 import QtCore from PyQt5.QtCore import pyqtSlot,pyqtSignal,QUrl from PyQt5 import uic from lib.YouViewLayout import Ui_MainWindow from lib.AuthDialog import AuthDialog from PyQt5 import QtWebEngineWidgets import re import datetime import sys import io from pytube impo...
[ "kkh5770@hotmail.com" ]
kkh5770@hotmail.com
228fa1246cb53752628e836e36d68ae9519dc9dd
2698b0148191078f36efe266c3572d9f30724255
/utils.py
0fb2026ff1cc785fba8764b506c719c189dab929
[]
no_license
sugar-activities/4196-activity
8c81dc6c0aa0c7e7fd8bd08da79c5a1279d7d400
8eaefd6bc6429694e2d765b70f5bdd42b1a5286a
refs/heads/master
2021-01-19T23:15:28.535962
2017-04-21T05:45:34
2017-04-21T05:45:34
88,937,828
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
# -*- mode:python; tab-width:4; indent-tabs-mode:t; -*- import os import gtk def getFileType(filename): return os.path.basename(filename).split('.').pop() def copy_file(src, dest): f1 = open(src, "rb") data = f1.read() f1.close() f2 = open(dest, "wb") f2.write(data) f2.close() def run_dialog(header,msg): "...
[ "ignacio@sugarlabs.org" ]
ignacio@sugarlabs.org
76517c04be701ac3ba21954ad04359b6db6d662f
fd00764e83f68a47babaeb85cb5310778b031984
/portfolio/python_django/CarPartsShop/settings.py
35774f582bc0d2d8cc59b3ae9818987a4bcdc7ec
[]
no_license
Tungrus/portfolio
058115f6b35feac73b75ea06513cd3ec1a731fd2
6b7a1154979c0f7614bc1ee899a199393ff54cf3
refs/heads/master
2022-05-17T23:26:49.377395
2022-04-02T07:56:08
2022-04-02T07:56:08
138,946,295
0
0
null
null
null
null
UTF-8
Python
false
false
3,605
py
""" Django settings for CarPartsShop project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import ...
[ "pervishkodenis@gmail.com" ]
pervishkodenis@gmail.com
d5471815818dcde88127e490d527bdbb807d35f6
294578eee80bc89e0411e41b4a351561bd4fbbd2
/capture_packets_using_scapy.py
0d96b9cd0a6c362f24ed2c4a8cae12ffd1ec323e
[]
no_license
HackerSpot2001/Voilent-Python-with-Python3
947a09dd7ba6bd07fecefef89beb443670987b99
bca716d9f88d3c2657a24476ee93860b7c59bc6a
refs/heads/master
2023-07-22T15:41:34.839458
2023-07-07T17:05:07
2023-07-07T17:05:07
375,223,373
1
1
null
null
null
null
UTF-8
Python
false
false
1,478
py
#!/usr/bin/python3 from scapy.all import * from scapy.layers.http import HTTPRequest from colorama import init,Fore init() GREEN = Fore.GREEN RED = Fore.RED RESET = Fore.RESET def process_packet(packet): """ This function is executed whenever a packet is sniffed """ if packet.haslayer(HTTPRequest) : ...
[ "abhisheksagar513@gmail.com" ]
abhisheksagar513@gmail.com
f87ed5c5a94a52470b9b2c9a3c9b1b90f3da1007
df65807740836509ed0b6a1c735462244ae12dee
/rolo.py
842a5c531777ef37f6487f2183053e61dc375567
[]
no_license
frimmy/LPTHW-exs
5c592aca45c92d992c6b745df8e86c9d8f2fd318
a3071e41ff57781f3dd07967215577c1dbaf0f1f
refs/heads/master
2020-06-04T09:08:48.543418
2014-01-26T04:38:58
2014-01-26T04:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,070
py
import random from urllib import urlopen import sys WORD_URL = "http://learncodethehardway.org/words.txt" WORDS = [] PHRASES = { "class %%%(%%%):": "Make a class named %%% that is-a %%%.", "class %%%(object):\n\tdef __init__(self, ***)": "class %%% has-a __init__ that takes self and *** parameters.", "class %%...
[ "adrian.frimpong@gmail.com" ]
adrian.frimpong@gmail.com
15517a085b1db69287e5e8e185b60a3471a0294a
2389e5e647809d7f1d2da39b79700effbc69a9e9
/Estruturas de repetição/1323.py
aa026733c459fb8ac20d912d87b8b4060851866b
[]
no_license
victorrgouvea/URI-Problems
8103fc6cc77372d42b804cfad16e6f9944d2e761
0539305aa06c317ab908f5840a3117a04dfaa426
refs/heads/main
2023-08-17T12:09:23.259978
2021-10-09T18:56:18
2021-10-09T18:56:18
397,400,716
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
while True: n = int(input()) q = 0 if n == 0: break for x in range(n, 0, -1): q += x**2 print("{}".format(q))
[ "victorgouvea28@gmail.com" ]
victorgouvea28@gmail.com
ffd95d8d219bf085f14f77f14b366babe81b1f5a
17a02c7e45688817d9c67af57dba780836341e67
/Test1/test_modify_prod.py
24757e9582c2f3ea4d047fdfa7618fb7949b2ddb
[ "Apache-2.0" ]
permissive
Dmitriy1978/Chebr
a24f8c21e5edb97b20eb9bd5b4c14e1c2b05bdd5
d524915645ed9e1a40a80350c0d694f09971b167
refs/heads/master
2021-01-01T06:35:53.999558
2017-08-04T14:11:53
2017-08-04T14:11:53
97,464,733
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
from Model.Text_prod import Modify_prod from Model.Names_for_login import Name_log def test_modify_prod(app): app.session_.login (Name_log(emaillogin="dmitriy115@i.ua", password="00000" )) app.session_.insure_login (firstname = "test", lastname = "tester") app.Prodhelper.modify_prod(Modify_prod( firstnam...
[ "dmitriy197819781978@gmail.com" ]
dmitriy197819781978@gmail.com
8b8abd6362dccd63fc3626ca67abe79c13b09a7f
6ccb24f71bc526492fed72f5a3d9df3f7807ad35
/world.py
d3ba818fc5759c837908a0ead07b781ec10d35b3
[]
no_license
msanden/simple-predator-prey-model
2993d38b358dc96d384a09f7fe3531a7dbf06d10
4ca9bf49a8ddf204d4b40eeed9eb5f595261dc70
refs/heads/master
2020-06-17T14:34:41.207004
2019-07-09T07:09:10
2019-07-09T07:09:10
195,951,881
0
0
null
null
null
null
UTF-8
Python
false
false
3,708
py
import cTurtle import random class World: def __init__(self, xDimension, yDimension): ''' The world model consists of life-forms that live at specific locations in a two-dimensional world grid. The grid is a list of rows. ''' self.xDimension = xDimension self...
[ "mnlsande22@gmail.com" ]
mnlsande22@gmail.com
28e0ea5092719228d787b32347d50e4da9ddde4c
682581de9e3674d157877756d1a536f5b028c045
/script/Mapper4_NW.py
691858720ebeee5a25ee3bcf7479291ca2cc684a
[]
no_license
wchnicholas/ProteinGFourMutants
3a81b9175e0e5bb864d5723fa59443a3ba07eda6
dbdd7639187e0b8f22359f404ce4d1d950fcc8a9
refs/heads/master
2023-08-16T19:53:02.475407
2023-08-03T12:24:44
2023-08-03T12:24:44
33,599,807
8
0
null
null
null
null
UTF-8
Python
false
false
1,644
py
#!/usr/bin/python import os import sys import operator from string import atof from itertools import imap def hamming(str1, str2): assert len(str1) == len(str2) return sum(imap(operator.ne, str1, str2)) def hashin(sample, countfile, counthash): print 'Reading sample: %s' % sample infile = open(countfile,...
[ "wchnicholas@Nicholass-MacBook-Pro.local" ]
wchnicholas@Nicholass-MacBook-Pro.local
9d7fb25a0c53950b98f1ea28fbf02fc0814251e7
65a7ceb41fbb831e1b0670786498af450f80d12e
/calibrate.py
f8c0e54ff0c36f718e648b5a4570a7bcbbcb5eb7
[]
no_license
mistletoe999/local_vol_model
ae4a6404c2a5a7c026d39c85964b785e996d1f35
a65efa6648ba6865ffb221bfcd209095cdcc5a50
refs/heads/master
2021-01-12T13:26:44.096888
2016-09-25T14:41:10
2016-09-25T14:41:10
69,168,821
1
0
null
null
null
null
UTF-8
Python
false
false
3,018
py
# calibrate.py import datetime as dt import matplotlib.pyplot as plt import numpy as np import os import bsm_formula def cal_implied_vol(vix, vix_option_data): vix_option_data['Mid'] = (vix_option_data['Bid'] + vix_option_data['Ask']) / 2.0 vix_option_data['ImpliedMid'] = [ bsm_formula.bsm_ca...
[ "boyuwei@gmail.com" ]
boyuwei@gmail.com
0f2a54986fe6556831c8a4e0c5945a14db03101c
f158c31eceb414be162a4580ad5b3b9db9601c5c
/graphql_mongodb/data.py
ad70470d52204caf31b7d479bff3de6ebea65e11
[]
no_license
mubaxhir/Ninja_bootcamp
06bb1174a7c3d24cd5637440456b70260f638b0b
e997e2f5d58c557567aa82dd2b59a661a4453e5a
refs/heads/master
2020-09-30T02:58:29.344825
2020-02-26T12:29:36
2020-02-26T12:29:36
227,185,706
2
0
null
null
null
null
UTF-8
Python
false
false
432
py
from mongoengine import connect from model import Id,TITLE,Description,Done connect(host="mongodb+srv://mubi:1234@cluster001-avto2.mongodb.net/test?retryWrites=true&w=majority") def initData(): id = Id(name="32452343242") id.save() title = TITLE(name= "aman") title.save() description = Descripti...
[ "noreply@github.com" ]
mubaxhir.noreply@github.com
7b2b6ff21d85d218afc25224cb18996a23d5b0d9
328ff8d36a8180943cb30d40061631a894b343ce
/15/ml_check_3k_2_right.py
2b8ad87b9677047b4e790173f214e7a844aa08b0
[]
no_license
mihailselezniov/Deformation
8f9ed0176a49e292a9453b9eb020d422cbc6f1c6
024981f42c01f7be0037212759aa101575e9cffa
refs/heads/master
2022-02-17T08:37:11.676746
2022-02-12T17:41:31
2022-02-12T17:41:31
150,991,705
0
0
null
null
null
null
UTF-8
Python
false
false
49,739
py
# -*- coding: utf-8 -*- import numpy as np from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score, confusion_matrix, classification_report, roc_auc_score, average_precision_score, f1_score from sklearn.linear_model import LogisticRegression, SGDClassifier from sklearn.svm import...
[ "mihailselezniov@yandex.ru" ]
mihailselezniov@yandex.ru
489623c85dd39d6e0b92b5fcd5b2f7171a9bca5b
3b981dfc835d36eb9bb86e4dbb0b1e332285d5cf
/actions/migrations/0004_auto_20150617_1350.py
55c9700935257cb7323ae886c6e430f876d95787
[]
no_license
richraines/nuortenideat
d9ad5ff33e4231c7f9960b9e1a54be16395173a2
033f63575c52ce118f0deba1168afca743de6c26
refs/heads/master
2020-09-01T01:39:39.137935
2016-10-31T14:24:59
2016-10-31T14:24:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('actions', '0003_auto_20150616_1206'), ] operations = [ migrations.AlterField( model_name='action', n...
[ "erno@fns.fi" ]
erno@fns.fi
93bc359a0bb970033fc1ab5dc491508e504711f2
797118d008cebbe7d06c06b6a6b83fe786d526fe
/review/models.py
77dfd46660a70249d24bb786a9c08f55ccc9ac15
[]
no_license
ellehs/mznak-master
0b6aee18c382bcb4b8344754d058348c0a08a9c5
e5b7517d77ecfa0a6bbc465c0a164df0ef4bf4ae
refs/heads/master
2016-09-05T23:37:33.165829
2015-02-07T09:32:06
2015-02-07T09:32:06
30,451,354
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# -*- coding: utf-8 -*- from django.db import models from pytils import dt, translit class Review(models.Model): name = models.CharField(u'название', max_length=255) url = models.CharField(u'адрес сайта', blank=True, max_length=255) text = models.TextField(u'текст') class Meta: ...
[ "work-for@bk.ru" ]
work-for@bk.ru
c04262bc65754c407a3897d7621ab5cab6a52dba
9ef29fb299a732a005ded1b28dd2cedaccd11a2a
/Programacion-dinamica-estocastica/caminos-aleatorios/borracho.py
a7c1c2212cf24879b0c212e8625252da69ef2e7c
[]
no_license
alanmonu12/AI_ML_platzi
9c77549fbc54608dd6c03d0307535b1f9434d506
b3e569350dcce4f8182fa159754463e485391b06
refs/heads/master
2022-11-19T04:24:58.612345
2020-07-16T04:20:06
2020-07-16T04:20:06
280,051,977
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import random class Borracho: def __init__(self, nombre): self.nombre = nombre class Borracho_tradicional(Borracho): def __init__(self, nombre): super().__init__(nombre) def camina(self): return random.choice([(0, 1), (0, -1), (1, 0), (-1, 0)])
[ "alan.9489@gmail.com" ]
alan.9489@gmail.com
062b351bf693088e13a6e64f364ba46c80f90d4e
4f8cec7b9e2d751cc32ca322725b1990ad68d1d8
/mt/data/fscore.py
88ce724d04a400c9ab7df78d91900a383ff46db8
[]
no_license
Makalania/NLP
bf00b1403d7320eec92786cd2ccb8277086ed8a4
c051ddb4cf03a25d495b9f409f0bcf3edbda1eae
refs/heads/master
2020-05-30T19:52:55.476989
2015-03-25T22:55:10
2015-03-25T22:55:10
32,892,968
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
#!/usr/bin/env python import sys progoutputfile = sys.argv[1] correctfile = sys.argv[2] ## ## ##fsock_progoutput = open(progoutputfile,'r') ##fsock_correct = open(correctfile,'r') fsock_progoutput = open(progoutputfile,'r') fsock_correct = open(correctfile,'r') tokens = 0.0 correctwords = 0.0 sh...
[ "yz102@cs.brown.edu" ]
yz102@cs.brown.edu
6a95a78a19676624942e0fa3f19b0f11fb130db1
20cc3d4f4be442047d896fcc0e71ff88ba1b4d99
/app/email.py
e2846a0434ad65e2390ec6dd49b5cae37e60980f
[]
no_license
sahilsingh99/blog_app
94a01c4fbfceb5deca2c75e2e6bd39edc44b64c6
1c756ceb1920bbdfe7445dd748a108f34a660ffb
refs/heads/master
2022-11-27T13:26:15.061096
2020-07-22T18:05:53
2020-07-22T18:05:53
281,745,906
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
from flask_mail import Message from app import mail,app from flask import render_template from threading import Thread def send_password_reset_email(user): token = user.get_reset_password_token() send_email('[Microblog] Reset Your Password', sender=app.config['ADMINS'][0], recipients=[user.email], ...
[ "sahilkundu.1234@gmail.com" ]
sahilkundu.1234@gmail.com
54623a912dddf4029450072dc23900b3ced7a8d3
19ddab74600f71700a6b693281d0180d5271f295
/leetcode_hot/hot2_两数相加.py
a8ebbf9cd632f3116ba0a584393749db6cd7385f
[]
no_license
zhulf0804/Coding.Python
4d55a430da1a8077c81feba65c13ac654aaf094a
46ab03e23d15ebd5434ef4dd5ae99130000b00a5
refs/heads/master
2022-09-14T18:40:59.880941
2022-08-20T08:25:51
2022-08-20T08:25:51
213,113,482
3
1
null
null
null
null
UTF-8
Python
false
false
1,009
py
class ListNode: def __init__(self, val, next) -> None: self.val = val self.next = next class Solution: def addTwoNumbers(self, l1, l2): l = ListNode() p, q, r = l1, l2, l add = 0 while p and q: cur = p.val + q.val r.val = (cur + add) % 10 ...
[ "zhulf0804@gmail.com" ]
zhulf0804@gmail.com
983aedf01189675dae4469cf64111363e4119acc
c39e466c2b6fdffbc410f24669f214e13fb87781
/PYTHON/EJERCICIOS/TEMA 5/COMPIS/015_G5-Ruben Gomez-Gordo Diaz_638463_assignsubmission_file_/Script5_G5.py
1b49bb424875ac04bdc63a8b5cd13b564ba64db6
[]
no_license
enanibus/biopython
3a58efbcc92f1ce60285a115c620de9295b7d281
613d334a5c0502059930d9381a9464ef533cca1c
refs/heads/master
2021-01-12T17:27:39.516793
2017-01-02T18:30:09
2017-01-02T18:30:09
71,573,732
0
1
null
null
null
null
UTF-8
Python
false
false
8,185
py
#Group 5: Daniel Díaz, Rubén Gómez-Gordo, Alicia Roig def GetGroups(Regex,Str): #Creamos una función que nos devuelva una tupla con los grupos de una expesión regular (Regex) encontrados en un string (Str). MyRE=re.compile(Regex) #Compilamos nuestra expresión regular. Obj=MyRE.search(Str) #Almacenamos el objeto q...
[ "juanenriqueztraba@gmail.com" ]
juanenriqueztraba@gmail.com
25a37a5bba8360a0c2bb9e1c42712a4cd2b816b3
8cb4fa5bb9de49eb07c2d805c510317f0192c88b
/virtual/bin/flask
1cbd1be13fc0e8389dca51bc2c50af578d407c8e
[]
no_license
hope-mbuthye38/pomodoro
e6384268acda4c358e0999f7b6bef109ad047a1a
a81811b7f230f6e625e083af96e410d0ef082ac2
refs/heads/master
2023-08-04T18:19:01.318023
2021-09-21T08:00:20
2021-09-21T08:00:20
408,374,341
1
0
null
null
null
null
UTF-8
Python
false
false
241
#!/home/hope/Desktop/pomodoro/virtual/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "-C" ]
-C
50fbef3d1cc683d9dcda3179bf322ba15a070b04
55cfa8c52e9b8ebcdaad9152e16d74eb9667fd64
/image_resizer.py
01882e896e31eb4c820b9591f8a8b745d6e6017b
[]
no_license
szkm330/LrcToAss48
792b329a3fdf619b53203b23c27a7238b622103b
51a54231ce518ffc24a29855a1fd2ce47c834d24
refs/heads/main
2023-08-14T19:44:02.916790
2023-08-02T06:15:20
2023-08-02T06:15:20
340,286,885
1
2
null
2021-02-21T11:22:40
2021-02-19T07:09:02
Python
UTF-8
Python
false
false
1,327
py
import sys from PIL import Image, ImageOps def resize_and_fill(input_image_path, output_image_path, target_width=405, target_height=720): # 打开原始图片 original_image = Image.open(input_image_path) # 获取原始图片的宽高 original_width, original_height = original_image.size # 计算宽高缩放比例 width_ratio = t...
[ "skxyue98@outlook.com" ]
skxyue98@outlook.com
b260aa45d7254666897e517d887e60cb7d106589
b6a9e74b33dab9045dad84e45b20fd7ab53a3c14
/input/kinetics/families/2+2_cycloaddition_CCO/depository.py
e0df5777904093168df99f5d58e589c3ead7fb49
[]
no_license
jwallen/RMG-database
ae5c22530db3566ffc753bd6dea32335d327dbd8
4e813e167a5a32f7bc511aeca09907c2823ee13b
refs/heads/master
2021-01-23T20:47:23.139929
2013-05-02T19:24:55
2013-05-02T19:24:55
1,837,845
1
6
null
2020-10-01T14:10:49
2011-06-02T15:43:15
Python
UTF-8
Python
false
false
141
py
#!/usr/bin/env python # encoding: utf-8 name = "2+2_cycloaddition_CCO/depository" shortDesc = u"" longDesc = u""" """ recommended = False
[ "jwallen@mit.edu" ]
jwallen@mit.edu
3baf66f6be77e137549b98a6a8f0f95aade16cb4
def31ba2459712ae6247f3c81533fd190711b3ed
/DeviceTest/bin/Debug/projects/Tuya/tool.py
4a065cf4c9a24835d66d4d09776561071970a9cd
[]
no_license
EtingC/DeviceTest
bfc217d1d8ab7125d29c2dcd3140f3f0a124b1da
19073c51856bb747857a5132b6e04dfa4fe418b4
refs/heads/master
2020-04-07T07:30:48.449128
2018-11-19T07:49:45
2018-11-19T07:49:45
158,179,225
0
0
null
null
null
null
UTF-8
Python
false
false
2,769
py
# encoding=utf8 # *********************************************** # # Filename: tool.py # # Author: Benson - zjxucb@gmail.com # Description: --- # Create: 2018-04-11 09:39:36 # Last Modified: 2018-04-11 09:39:39 # *********************************************** import codecs import sys import os ...
[ "zjxucb@gmail.com" ]
zjxucb@gmail.com
211d4f33542e2edd772964cd97c386295777429e
d4bd6aadc9ccc33e31c19c04593774818c45a308
/Python/Platzi/POO/polimorfismoPersona.py
0aa2e850b678705bdd36259946067fed0ef89cee
[]
no_license
gilbertog07/CodeSamplesGilbertoG
2bbc3360f38594730c3c889e3809eb7b1457b77a
78a9353c4ebb51ece84fff2d77c5916db0a23eb9
refs/heads/master
2023-05-26T09:00:10.621901
2022-03-08T20:27:26
2022-03-08T20:27:26
248,544,362
0
0
null
2023-05-22T22:46:26
2020-03-19T15:55:24
Python
UTF-8
Python
false
false
562
py
class Persona: def __init__(self, nombre): self.nombre = nombre def avanza(self): print('Ando caminando') class Ciclista(Persona): #clase ciclista extiende a persona def __init__(self, nombre): super().__init__(nombre) #Define la superclase def avanz...
[ "gilbertoaguerrero@gmail.com" ]
gilbertoaguerrero@gmail.com
4f8d860491fb98c8fa0456eb9247c12bfbd38a98
f12ec86db250a8b2d628aabaff87fc3d0639c9d8
/venv/lib/python3.6/site-packages/phonenumbers/data/region_MP.py
7a493a7ac3a93d56b2f4b5eff5804e4eba6077fd
[]
no_license
LawreenL/cse442_debate_app
f70f5e57dd51030836bd8b06ce93eb3d80a4a631
e041a8951147c713231fc60cf366bd9af9fcb48a
refs/heads/master
2020-04-29T05:33:58.338443
2019-03-15T18:00:59
2019-03-15T18:00:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,449
py
"""Auto-generated file, do not edit by hand. MP metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_MP = PhoneMetadata(id='MP', country_code=1, international_prefix='011', general_desc=PhoneNumberDesc(national_number_pattern='(?:[58]\\d\\d|(?:67|90)0)\\d{7}', possibl...
[ "tjpeyton@buffalo.edu" ]
tjpeyton@buffalo.edu
d41002e677cea00809127c02bdf251b6dfd2a57c
8171f442a81f4a70f9f825947d529e0cc410ac65
/dbconnect.py
344cc4793241909ae00a5ac6ccc33156e4946770
[]
no_license
omkarcpatilgithub/Moneytor
f0b8c726b1c7eec4fdad1ded8a9018016e6f9d4c
6e567745a1c1758e1264a9eb14a2142da709219a
refs/heads/master
2022-04-13T20:38:32.192512
2020-04-02T16:30:38
2020-04-02T16:30:38
250,233,712
0
0
null
null
null
null
UTF-8
Python
false
false
4,407
py
import mysql.connector from datetime import date, timedelta,datetime mydb = mysql.connector.connect( host="localhost", # name of host on which your database is stored user="root", # username for the database passwd="", # password for the database database='moneytor' #name of data base ### before proc...
[ "noreply@github.com" ]
omkarcpatilgithub.noreply@github.com
27d8dee494284aaf4ec8afde8592bd0151cb9870
7cf6555e871df5c21f4aefdfa9c32e151e4b0c5f
/mtp_bank_admin/apps/bank_admin/management/commands/create_adi_file.py
58dfe90de8f3712a3f43e28bcffc2b83228862c0
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
ministryofjustice/money-to-prisoners-bank-admin
05af78e0bdd9303f71f05e0c470a67ac15e81cf1
64d2f0e0402a9b5c70924d40f39d77aa156f214c
refs/heads/main
2023-08-17T03:01:54.164015
2023-08-15T15:33:22
2023-08-15T15:33:22
40,470,925
4
2
MIT
2023-09-05T17:04:56
2015-08-10T08:13:03
Python
UTF-8
Python
false
false
160
py
from bank_admin.adi import get_adi_journal_file from . import FileGenerationCommand class Command(FileGenerationCommand): function = get_adi_journal_file
[ "ian.brechin@gmail.com" ]
ian.brechin@gmail.com
db70ac00a2f0896c3d813c7f035ad5f03774b1a6
172492be54a536fb045fe58bfe6e273204b109a6
/02两数相加.py
d26179d8cb683045b2c6c8b7657c9a0906b19bb0
[]
no_license
z382556318/LeetCode
394f6fcc2c96a7dd34731322bb08d217963fe412
233128a863d6aa9424c2bff79a4f24cf2e753ab7
refs/heads/master
2020-05-30T11:38:32.257350
2019-06-01T08:35:12
2019-06-01T08:35:12
189,710,409
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def add(self, x, y, carry): tmp = x + y + carry if tmp >= 10: carry = 1 tmp -= 10 else: carry = 0 return ...
[ "382556318@qq.com" ]
382556318@qq.com
ca02187744195787ae69fa40e50b040a1de233f3
072402eb476b38ef22017c7b930c912da6c60ea6
/lib/_stubs/TDFunctions.py
56efd2ff7229f316a774fac02ae6981a8c0aeb32
[]
no_license
t3kt/pattern-mapper
46e055bf5484f49d8e2ff1223e2db60f5e8858df
913c90213cf9eee42bdf6a681226c865c9d90e28
refs/heads/master
2022-08-24T20:56:53.344580
2019-12-01T02:51:48
2019-12-01T02:51:48
178,997,169
1
0
null
null
null
null
UTF-8
Python
false
false
22,891
py
# This file and all related intellectual property rights are # owned by Derivative Inc. ("Derivative"). The use and modification # of this file is governed by, and only permitted under, the terms # of the Derivative [End-User License Agreement] # [https://www.derivative.ca/Agreements/UsageAgreementTouchDesigner.asp] #...
[ "tekt@optexture.com" ]
tekt@optexture.com
2762f8da39354dd3400e6370c75459e1b8b738f3
9368aedf7682f351db718e59888e846a3b6012cd
/src/v8.gyp
c5b261f2cddc8742235bd105a6689c6ecdd624b7
[ "BSD-3-Clause", "bzip2-1.0.6" ]
permissive
rangerch/v8
2aca52249b8b8b4d21aedcd7f5a1d91bb000e11e
aee1824adbcadb97bd7295e87e1e6765997bd8f9
refs/heads/master
2020-12-11T05:34:33.514474
2016-05-09T08:52:05
2016-05-09T08:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
77,341
gyp
# Copyright 2012 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditi...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
399ed94f93338a15edd22605ebee69e2a38d265c
4ff6e4c835eaad152e79d1e8f4477f3641daadcc
/scripts/lbm/k_torr.py
da62aa3698818a05f636799fb0edfd0a577dfefe
[]
no_license
jtvanlew/vanlew-ucla-phd-dissertation
eb00d164127a495d198f45826353b6335991974a
6d99f803a6fb772fa8c9da0fdea18c77919f2bd3
refs/heads/master
2021-04-30T22:39:47.597365
2016-08-30T23:15:24
2016-08-30T23:15:24
27,930,030
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
ks = 2.4 kf = 0.34 kappa = ks/kf phi = 0.64 k_torr = kf * (kappa -1)*( phi / (phi**0.5 + kappa*(1-phi**0.5)) ) print(k_torr)
[ "jonvanlew@gmail.com" ]
jonvanlew@gmail.com
7216bffe4596549755b96a71080cb7e480e83c65
1f60ca0673ea1b74dd9a74862e023bf0ac705e08
/evaluations/control_model.py
d4c7f0c35c0c4a74d986090b191cc13d9d3c0bb6
[]
no_license
codeslord/supervise-thyself
17c9e00ea71a3d7a90a73914a9098f4b504674dd
7c40f1ad9e1425c5f85c2aa123cc38095b61e0ce
refs/heads/master
2020-07-22T18:50:25.178724
2019-09-05T00:05:01
2019-09-05T00:05:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,620
py
import torch from torch import nn import cma import gym import numpy as np class ControlModel(nn.Module): def __init__(self,encoder, parameters=None, num_actions=3, **kwargs): super(ControlModel,self).__init__() self.encoder = encoder self.num_actions = num_actions self.fc = nn.Lin...
[ "ejracah@gmail.com" ]
ejracah@gmail.com
e042cf44f85853e4a46cd97a8a9ab2065be61038
c366f5d83f0b958c405de688af5de3c29d46bca9
/src/raid_coordinator/_version.py
5f5a7e95ae1f4a6a2365de81e29b60e9f25a849c
[ "LicenseRef-scancode-public-domain", "Unlicense" ]
permissive
spoofproof/discord-raid-coordinator
16b9168e5dccf73dd08bcbcddafbbe94ff504f21
18e31e31dbdf84373146d8d90247f50eaf5e793a
refs/heads/master
2020-03-23T23:00:24.555648
2018-03-04T20:51:41
2018-03-04T20:51:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,459
py
# This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build # directories (produced by setup.py build) will contain a much shorter file # that just contains t...
[ "github@daniel.desousa.cc" ]
github@daniel.desousa.cc
3c1e628805d5f62f8306bf0d7df527a0e6a3d473
8420ff28c4cb72085e87e23112de63f114af64b5
/reverse_map.py
52ef20462dc870758315b86ca0b68f279bbfab42
[]
no_license
BnetButter/rolla-quest-3d
783bce935fa04808918a2ba11e63a607a939489e
6f5bc043dfb94bcc311271660abc2badc463f8bb
refs/heads/master
2023-07-03T12:28:42.577164
2021-08-04T00:51:13
2021-08-04T00:51:13
392,497,508
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
lines = [] with open("maps/mst_campus.txt", "r") as fp: data = fp.read().split("\n") for string in data: string = string[::-1] lines.append(string) with open("maps/reversed_mst_campus.txt", "w") as fp: fp.write("\n".join(lines))
[ "zlnh4@umsystem.edu" ]
zlnh4@umsystem.edu
5d0bb8fe302eb7ee3a4f6a38835b1ead2cbd977e
026261a974e20bedd33b40b97a52300b928936f0
/typeidea/typeidea/custom_site.py
74011a69a2c6727e98ab040c4ebd3f7652f79d4f
[]
no_license
Desperoid/typeidea
3acaa5ad31360ef579ce6c31d6abe87787be1b71
e0d427002625b2200ac69c7643add511e4ec4eec
refs/heads/master
2020-05-28T03:14:13.661456
2019-06-18T16:31:10
2019-06-18T16:31:10
188,864,250
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
from django.contrib.admin import AdminSite class CustomSite(AdminSite): site_header = 'Typeidea' site_title = 'Typeidea后台管理系统' index_title ='首页' custom_site = CustomSite(name='cus_admin')
[ "623016526@qq.com" ]
623016526@qq.com
e087d3ba04828b183b3d9de2207edc6af01079bb
35b07f594de1bc52168ed5b54360150acdd1d9e6
/sudokuVisualController/SudokuVisualController.py
048d0cfea36f38f0d1e11f2ca13dbe71bc089f84
[]
no_license
Admi99/SudokuSolver
3ba1c1623601c77f0ea1771aa47291f5e7ed0e2c
8bb3025d4a83e8a61f0cc6e03483d4ff01bc8f98
refs/heads/master
2022-04-07T12:57:03.774346
2020-03-11T14:37:14
2020-03-11T14:37:14
242,588,475
0
0
null
null
null
null
UTF-8
Python
false
false
6,054
py
from sudokuSolver.SudokuOperationProvider import SudokuOperationProvider from sudokuSolver.SudokuDifficultyEnum import SudokuDifficultyEnum from graphics import * from sudokuVisualController.Button import Button def main(): difficulty = [SudokuDifficultyEnum.pathetic, SudokuDifficultyEnum.easy...
[ "a_michalek@utb.cz" ]
a_michalek@utb.cz
271c63e30c938dbc27f78a8307a0c62af1b5bd44
e152344168d3ff2765696354d020a41ae00c8b17
/Tree/check_symmetric_tree.py
25a6e423a8abeaae752c0d33b7678794d03b2c32
[]
no_license
Sasha2508/Python-Codes
298e176aee2ff4a737676b62e02bdf6df9063ced
d0da8ecd6d6045be29fe449011e8c69c2882cac3
refs/heads/master
2023-04-29T23:28:24.383711
2021-05-10T18:00:12
2021-05-10T18:00:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
# return true/false denoting whether the tree is Symmetric or not def condition(root1, root2): if root1 == root2 is None: return True if root1 is not None and root2 is not None: if root1.data == root2.data: return (condition(root1.left, root2.right) and condition(root1.right, root2...
[ "tuhinmitra190221@gmail.com" ]
tuhinmitra190221@gmail.com
fcfd4720b7337fbb7693d474198644705bf10bd6
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res/scripts/client/gui/shared/gui_items/tankman.py
9dea8175e40fc303f9677f51081a9961da83f88f
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
16,364
py
# 2016.02.14 12:41:32 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/shared/gui_items/Tankman.py from helpers import i18n from items import tankmen, vehicles, ITEM_TYPE_NAMES from gui import nationCompareByIndex from gui.shared.utils.functions import getShortDescr from gui.shared.gui_items import H...
[ "info@webium.sk" ]
info@webium.sk
12c70fb3da4c5fcd84f5b1c2debf9d5401231aa9
d694368d9ec045d7377fe245814c7f09c78b2b50
/Face_Enhancement/data/pix2pix_dataset.py
9e70a8cbc627a9de5f8c2a8a1fdb396c878b76fe
[ "MIT" ]
permissive
ThunderboltLei/bringing-old-photos-back-to-life
c47e2086e30d9557ee82839218d1010c064099bf
65b547a166f53afd8b5cc9d339a688a3a2735183
refs/heads/master
2023-08-24T15:04:19.412541
2021-10-04T19:12:30
2021-10-04T19:12:30
413,504,539
1
0
null
null
null
null
UTF-8
Python
false
false
3,920
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import os import util.util as util from PIL import Image from data.base_dataset import BaseDataset, get_params, get_transform class Pix2pixDataset(BaseDataset): @staticmethod def modify_commandline_options(parser, is_train): pa...
[ "zhangboknight@gmail.com" ]
zhangboknight@gmail.com
2be2d28e944086e83a47b6b161ea7972f6d369bf
c357270b3697fd2843b7d5f15567d1697603bb39
/Python/guessinggame.py
390a40104330283dda1a25d9ca5b828018d98f48
[]
no_license
emehrawn/mehran.github.io
9862b75f49142db22cfc2e6e76caee1ea779d121
3d881c78ccd87e52d86f91ee509bdba648d5a46d
refs/heads/main
2023-05-13T09:43:44.973158
2021-06-07T11:01:40
2021-06-07T11:01:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
#this is a guessing game based on the concept of random modules(randint) import random comguess=random.randint(0,100) #computer chooses any random number between 0-100 while True: #until the condition is true code written below will be repeated userguess=int(input("Enter you...
[ "noreply@github.com" ]
emehrawn.noreply@github.com
46a1a817febf4a34a1754def8c4892926a080d5a
6ef0269a07cc77dcae6e0ee9b24e5f387a86b8c3
/test.py
55701f9978928e9fd75584706483db0de20f3eb1
[]
no_license
sub-14-00/dog-shooter
94fd156bd3a677b6a7cbebcf627f9798eeae813a
4adead1fe6ca8e6708bea1779969f8c2142cb226
refs/heads/main
2023-04-09T00:55:30.783586
2021-04-24T12:20:03
2021-04-24T12:20:03
361,154,238
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
import pygame pygame.init() pygame.font.init() shrift = pygame.font.Font(None, 70 ) text = shrift.render("привет!",False, (0,0,255) ) win = pygame.display.set_mode((500,500)) win.blit(text, (0,0) ) x = 0 timer = pygame.time.Clock() while True: for i in pygame.event.get(): if i.type == 12: ...
[ "noreply@github.com" ]
sub-14-00.noreply@github.com
d5b6e8b783974452c7dcfadc43862db0ee48653d
485e5647b171fb04f22aa86929015c182f0bdae1
/talos_api/apps.py
5235d7373c80851954033e68b034ffbf5f1ca87a
[]
no_license
mmcdevitt1997/talos_backend
92ae247479e623aa98ad4e4d7fe42b47feb6a930
e948ba70b14ca022653cd203cb54f638966995f8
refs/heads/main
2022-12-26T04:55:39.001386
2020-10-11T19:41:41
2020-10-11T19:41:41
303,190,753
0
0
null
2020-10-11T19:41:42
2020-10-11T18:53:17
Python
UTF-8
Python
false
false
92
py
from django.apps import AppConfig class TalosApiConfig(AppConfig): name = 'talos_api'
[ "mmcdevitt1997@gmail.com" ]
mmcdevitt1997@gmail.com
186c1778897b62e7a6d3e0e90339358b7dae923b
7cad80770718e655766dd038bc654ebe1ad2ab3e
/network/superbitcoin.py
9350634aab0e8bbefd2288848919a768e369921e
[]
no_license
kindanew/clove_bounty
d0e1f917dff5b3a23eae6a05d6449af068fb4dc9
e707eebde301ac3728a5835d10d927aa83d27ab5
refs/heads/master
2021-04-29T00:29:37.698092
2018-02-24T02:34:33
2018-02-24T02:34:33
121,830,043
0
0
null
2018-02-17T05:34:54
2018-02-17T05:26:51
Python
UTF-8
Python
false
false
840
py
from clove.network.bitcoin import Bitcoin class SuperBitcoin(Bitcoin): """ Class with all the necessary SuperBitcoin (SBTC) network information based on https://github.com/superbitcoin/SuperBitcoin/blob/master/src/config/chainparams.cpp (date of access: 02/17/2018) """ name = 'super...
[ "noreply@github.com" ]
kindanew.noreply@github.com
09f712430ef72b8ff171cc36e8fd09c4f7191c12
c189be45235b38e632ebf2b302e5797cd8c580b4
/doggo_proj/manage.py
41de38d8a4f9e41ca55d54bcf5ea815a9a7501ed
[]
no_license
LukeBM21/doggo_proj
7c352a1f138ee0d0e558ada089533e392d5613a5
67678d035918a288c7a706b63328d1d97d9620be
refs/heads/master
2021-05-21T01:23:22.936193
2020-04-02T15:49:18
2020-04-02T15:49:18
252,480,737
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'doggo_proj.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "luke.mckinley21@gmail.com" ]
luke.mckinley21@gmail.com
ccab650069a4e826fbc58b2db1ddb23515fed9af
46f7e1b8845dcf5cf25ed79a9b4c6513c5576c27
/FSSD_OoD_Detection/lib/training/mnist_oe_training/resnet.py
b27e608393647f8d8fc61a706f748b2e45821faf
[ "MIT" ]
permissive
kartikeya013/OOD_Baselines
15ec79baecd4b11d4eb05c0e7e3174e5dbdd68e7
6a83c367028462966f34cea8fb7a6f15dd0a5fd8
refs/heads/main
2023-08-18T04:16:50.355657
2021-10-10T13:50:24
2021-10-10T13:50:24
387,860,505
0
0
null
null
null
null
UTF-8
Python
false
false
4,013
py
'''ResNet in PyTorch. For Pre-activation ResNet, see 'preact_resnet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 ''' import torch import torch.nn as nn import torch.nn.functional as F class BasicBlock(nn.Module): expansi...
[ "kartikeyagupta2000@gmail.com" ]
kartikeyagupta2000@gmail.com
47a6e7a126dfc1accb2bcdd8f120fc7be23acf0b
f2f034087591b1ca704b892d7528a985563b8460
/cforce/785/A/25503070.py
ccb86d8a0cdb7197cb00e97a6cb4cb11a8036821
[]
no_license
Custom-Tech-Enterprize/sportProgrammingSubmissionsOfmoghya
cd45c5a5ef1db3ba7dcd78bfcd2d12ad50524f57
9f71c9ee1538ef9d8de2b519f9eff223ed5258ed
refs/heads/master
2022-02-21T08:57:34.950245
2017-06-09T11:39:49
2017-06-09T11:39:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
data = { 'Tetrahedron':4, 'Cube':6, 'Octahedron':8, 'Dodecahedron':12, 'Icosahedron':20 } n = int(input()) ans = 0 for _ in range(0,n): s = input() ans = ans + data[s] print(ans)
[ "shubham.sawant@walchandsangli.ac.in" ]
shubham.sawant@walchandsangli.ac.in
fba2c5cf38bb2f6744f411ed83d03e8a501360c2
3906bcfc1ea7686140745f72a74f1c7517b6c149
/CHS/complaints/forms.py
2c88c1b9ff111d48e9bfaaa4d6096184752f6f4a
[]
no_license
eaakashmaurya/Bits_Please_Hack30
46e26cde157cc8e016cf584178cb3c0e3ae41385
c6500846c92fef7e3b3ebe56942ae70ad17edae1
refs/heads/main
2023-03-11T07:33:56.145716
2021-03-01T16:10:54
2021-03-01T16:10:54
343,316,432
0
1
null
2021-03-01T16:11:12
2021-03-01T06:43:23
Python
UTF-8
Python
false
false
244
py
from django import forms # Models from posts.models import Post class ComplaintForm(forms.ModelForm): """Post model form""" class Meta: """Form settings.""" model = Post fields = ('userprofile', 'category', 'complaint_face_picture')
[ "eaakashmaurya@gmail.com" ]
eaakashmaurya@gmail.com
a243fa0e0fe1b5fe678851230432173dda92bb6e
08eb86a756a89f26759b0fad2e2f776b5e8fd5e7
/BigGAN-PyTorch-master/datasets.py
59ae4aa681588e1383ef98ea6767400c9fc80dbc
[ "MIT" ]
permissive
RuiLiFeng/biggan-torch
61064d08efb59ded24e1063ed3fdaf8b608b00e4
ade6c5d3c67c391bec4a7bc6600e2e1250bbcf2c
refs/heads/master
2020-07-16T11:18:54.762398
2019-09-19T07:22:16
2019-09-19T07:22:16
205,779,229
0
0
null
null
null
null
UTF-8
Python
false
false
11,418
py
''' Datasets This file contains definitions for our CIFAR, ImageFolder, and HDF5 datasets ''' import os import os.path import sys from PIL import Image import numpy as np from tqdm import tqdm, trange import torchvision.datasets as dset import torchvision.transforms as transforms from torchvision.datasets.utils im...
[ "frl1996@mail.ustc.edu.cn" ]
frl1996@mail.ustc.edu.cn
ad49c19251bc2bb94ae01e4a11fb4763e8c85d3d
f914ac0a4ab3942d1b3e1a8b2e2da78b5da959f1
/fproject/fApp/admin.py
aa3d16c86e700dc4c71e74c8684cb45e0be3d91f
[]
no_license
rohitc1818/blogproject
9c2ac4b6975fbcf960c027697ceb86060aa43694
3bbbdcb626fe75dd6645685762548869929e66d3
refs/heads/main
2022-12-27T17:59:40.310445
2020-10-19T11:22:06
2020-10-19T11:22:06
305,358,776
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
from django.contrib import admin from fApp.models import Post,Comment # Register your models here. class PostAdmin(admin.ModelAdmin): list_display = ['title', 'slug', 'author', 'publish', 'created', 'updated', 'status'] list_filter = ('status', 'created', 'publish', 'author') search_fields = ('title', 'bod...
[ "rc5741545@gmail.com" ]
rc5741545@gmail.com
b8c2211e440572450fc40542853a71bd431d4466
5c94254ef9897a1aca24b87249c6dfd3bee4e70d
/code/devf/batch13_red/tools/dia1/hola.py
619de2afc6e08049bdc820323f38779577fff6f8
[]
no_license
IanCarloz/Red-Batch13
ca917d220e7718e27e4faf5fb7e4750b43573818
7dee13774d982ceb00ed3b9ff5f59c64f23316fc
refs/heads/master
2021-01-09T06:19:17.741408
2017-02-05T01:37:48
2017-02-05T01:37:48
80,956,018
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
# -*- coding: utf-8 -*- print("hola Ian")
[ "noreply@github.com" ]
IanCarloz.noreply@github.com
bb7985c2f88d28bcee6d7049d2224da4c7746af0
ac98c6184c5e7c633d02bc66a4da357cd2771b4d
/model.py
e619b0d95b77d5347169de73c3b31dd55d892ba2
[]
no_license
jadhavmayur/Heroku-Demo
ef7b272f611305e176540e5dd9d5021480334ef2
a396c1025d0260baf9c9aa632caa740794d27aba
refs/heads/main
2023-08-15T01:54:59.386080
2021-09-30T05:51:53
2021-09-30T05:51:53
410,007,612
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 22 14:42:54 2021 @author: Mayur """ # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd import pickle dataset = pd.read_csv('F:\mayur\Module-3\model deploy\hiring.csv') dataset['experience'].fillna(0, inplace=Tr...
[ "noreply@github.com" ]
jadhavmayur.noreply@github.com
59e9bfcb6ae8c2c353d30f13d889945a173a23a9
fa4c9b51af2ebab47dba888577c02894aa9efbf6
/DualLogger.py
4de5c44ea5d42fdbbc81f092dc7c5e13f6f676c7
[]
no_license
Jake-Wright/DualScaleLogger
17d39ce444d760ebe7dc372ce9c143ecc673f926
60019718e337c7513105298effb468d8e4666a6e
refs/heads/master
2020-06-05T00:31:03.615573
2013-04-12T11:16:31
2013-04-12T11:16:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,936
py
# -*- coding: utf-8 -*- import serial from time import sleep import time import re import logging import datetime import pygtk pygtk.require('2.0') import gtk import threading import gobject import time gobject.threads_init() #Todo: Setup monitor thread, connect checkbuttons RATE=9600 LOCATIONS=['/dev/ttyUSB0','/dev...
[ "jake.wright@hp.com" ]
jake.wright@hp.com
b3c148944e5ca13caec1a7e1d8b400d8d64c4adf
8569c7da7b9f0c620b4b8d5589965066651b420c
/Coursera Course/4 - Manejo de bases de datos con Python/Ejercicios/point.py
962da7a941f85b1567f26e16255343583e8922c4
[]
no_license
mazzalaialan/Python
e467163331bdf0c590337d03f87c9318fc062651
9932459d1e68b53c8d28a596f7b7ded0a181c59a
refs/heads/master
2023-08-21T16:35:24.171067
2023-08-10T02:34:02
2023-08-10T02:34:02
284,333,086
0
1
null
null
null
null
UTF-8
Python
false
false
384
py
# -*- coding: utf-8 -*- import sqlite3 class Point(object): def __init__(self, x, y): self.x, self.y = x, y def __conform__(self, protocol): if protocol is sqlite3.PrepareProtocol: return "%f;%f" % (self.x, self.y) con = sqlite3.connect(":memory:") cur = con.cursor() p = Point(5.2...
[ "mazzalaialan@gmail.com" ]
mazzalaialan@gmail.com
b0e4af458f93a6384e0c01890b33a2472bae2c1d
1476961981ceeec03e92d02e2c5d7993151f7273
/aula 5/exemplo_condicional1.py
a17c7fcb0b2a66d28eda6294528a1383084c87a0
[]
no_license
jbsribas/Programacao_de_Computadores
7a241afb34539e6200920b53910c7520eb54d72b
63f645046e504df321b3161dca2e7ce4a0052a3c
refs/heads/main
2023-07-25T22:53:49.761583
2021-08-26T12:46:20
2021-08-26T12:46:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
#exemplo1 condicional #Faça um programa Python que leia um número qualquer e #o imprima,caso este seja positivo numero = float(input("Digite um numero qualquer: ")) if numero>0: print("o numero ",round(numero), " é positivo") elif numero ==0: print("o numero é zero e consideramos neutro") else: ...
[ "noreply@github.com" ]
jbsribas.noreply@github.com
a5ffc305aa320033a659530ec8735f13a10c4cce
547d20b1aed50d867928a2f52abb97a8d0069f8f
/ctmentor/w2/[이영선-20190083]190083_실습02-0.py
d4e4cdb2133a5c994f35f0128646ecd2eff1cc36
[]
no_license
ohgree/cs2019-2
0ab4fe27173a2f3f6d3e32f09b8a0d50dae12bb0
98a15bf1a05167d7315d73748ba151ff31eafd8d
refs/heads/master
2022-03-24T15:23:15.244214
2019-12-03T16:20:19
2019-12-03T16:20:19
218,444,857
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
print("*20190083 이영선 실습2*") print() print("*****문제 1*****") myMoney=5000 candyPrice=120 howMany=myMoney//candyPrice print("myMoney:",myMoney,"원") print("candyPrice:",candyPrice,"원") print("howMany:",howMany,"개") print() print("*****문제 2-1*****") wic="돈 안정 친구 가족 인정 즐거움 새로움" print("wic", wic) print("@@@내게 소중...
[ "ohgree@u.sogang.ac.kr" ]
ohgree@u.sogang.ac.kr
aa564ce694628ed2cd611c0e98f38b8a1eb6b69a
0117f2e85e2bbed8713560b0caf3bc57079c4cb8
/Python/Guess-the-Number/guess.py
2f391ffced79b3513d91d33b788d97f697227060
[]
no_license
priyaastha/Hacking-Scripts
27b00ea38b498f21ef16a057b762b5f16438d740
98e8acb6f9b10695e8bfb77f6d201460ada01810
refs/heads/main
2023-06-07T21:03:19.016148
2021-06-30T04:01:36
2021-06-30T04:01:36
379,502,215
4
1
null
2021-06-23T06:29:30
2021-06-23T06:29:30
null
UTF-8
Python
false
false
1,280
py
#library for getting a random number import random import math num = random.randint(0, 20) num1 =random.randint(3,6) # for number of chances. i am taking the number which should be greater than or equal to 3 to make user friendly game print("--Welcome to Guess The Number Game--") print("\n you have " + str(num1) + ...
[ "dhruvvarshney2612@gmail.com" ]
dhruvvarshney2612@gmail.com
7951cea3e5fdeb6339e5c56769a030ea74adfe8b
45011a61908bf9ce92e948bd186d4330b8af36fc
/h/migrations/versions/ddb5f0baa429_add_nipsa_column_to_user_table.py
8754ad4aba2101e0252c9790ba0327f7c3a9f688
[ "MIT", "BSD-2-Clause", "BSD-3-Clause", "BSD-2-Clause-Views" ]
permissive
project-star/h
4e6e0ab244ae9df4d473c3c3bc0d21edce47c30f
fd1decafdce981b681ef3bd59e001b1284498dae
refs/heads/master
2021-07-16T06:56:34.957971
2016-11-21T21:18:33
2016-11-21T21:18:33
73,963,922
1
1
NOASSERTION
2020-09-03T23:19:11
2016-11-16T21:44:01
Python
UTF-8
Python
false
false
421
py
""" Add NIPSA column to user table Revision ID: ddb5f0baa429 Revises: 6d9257ad610d Create Date: 2016-09-16 16:58:03.585538 """ from __future__ import unicode_literals import sqlalchemy as sa from alembic import op revision = 'ddb5f0baa429' down_revision = '6d9257ad610d' def upgrade(): op.add_column('user', s...
[ "nick@whiteink.com" ]
nick@whiteink.com
15d51d606e3fb1d1bef1050fd498897acddc03e2
95f950bfeba765d308eb55036fa523ba6b147e8e
/PS4-Word_Game/ps4b.py
c897f654f87d2daa0db7b789084b2908c0fcd801
[ "Giftware" ]
permissive
rayaniruddho/Python-programs
18e1ddf032d3796fe4c91f07a00d04d567cfe0e0
69379e4d3698712222946a3b286be2c555c8be67
refs/heads/master
2021-01-01T20:03:42.497513
2017-07-30T19:59:38
2017-07-30T19:59:38
98,756,881
0
0
null
null
null
null
UTF-8
Python
false
false
6,153
py
from ps4a import * import time # # # Computer chooses a word # # def compChooseWord(hand, wordList, n): """ Given a hand and a wordList, find the word that gives the maximum value score, and return it. This word should be calculated by considering all the words in the wordList. If no words ...
[ "rayaniruddho92@gmail.com" ]
rayaniruddho92@gmail.com
a7b416f01fb7a0717937fcee95b9bc510385eac9
40d97ac72bee46d3a1c25f24952972ae5dd77c45
/dev/postman/testIt.py
fecfb8c2f3b9cf880eab5778168b94c1d2e8d748
[ "MIT" ]
permissive
ReidBix/cs3240-f15-team19
7d3013ce5b614230a8613dafa648e5e521e28ac9
b0bd9bde4056711dbe4a8208a917682dcc5c113c
refs/heads/master
2021-01-15T09:19:10.057793
2015-12-08T04:52:19
2015-12-08T04:52:19
44,134,446
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
__author__ = 'Mike' from Crypto.PublicKey import RSA from Crypto import Random def encode(str1, public_key): return public_key.encrypt(str1.encode(),32)[0] def decrypt_string(enc_str1, key): b_str = key.decrypt(enc_str1) return b_str.decode() def gen_keys(): random_gen = Random.new().read return ...
[ "root@d-172-25-99-47.bootp.virginia.edu" ]
root@d-172-25-99-47.bootp.virginia.edu
3e69fd4e9e5abc37a755cfeaa1b81dcbbaba6418
6555eff49ec184c52ec41a60552648be3593fc18
/tools/db copy 2.py
7f649ee449d699cf780970d4768496d245a3dd8f
[]
no_license
ashmit-khadka/pnsuk-react
174244ed5f26f0af870afaded6bc08d781d3f8ff
83e37e385c3fef71719101c153b0d87c504493f6
refs/heads/master
2022-11-30T13:24:24.037414
2020-08-10T18:53:08
2020-08-10T18:53:08
286,495,076
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
import sqlite3 from pymongo import MongoClient import datetime cluster = MongoClient("mongodb+srv://admin:54321@clusterpv-stcgg.gcp.mongodb.net/test?retryWrites=true&w=majority") database = cluster['pns'] collection = database['minutes'] collection.insert_many([ { 'description': '', 'date': dateti...
[ "a0khadka@gmail.com" ]
a0khadka@gmail.com
428f27ec7bc13b9e7987cc9f543d5146f95011c2
d60657b373073bbdc17c752a580d8bd728b87852
/src/nfv_test_api/v2/services/namespace.py
811d4dff38a2daf527d278cf57e9528eebf48d30
[]
no_license
inmanta/nfv-test-api
a54ff7517ea1846f85a3a8d948aac9b9ccb92f7b
2b4cb1c7e1217f422dcd72784f0920b535518d84
refs/heads/master
2023-08-31T08:14:41.580019
2023-08-28T13:41:49
2023-08-28T13:41:49
247,904,341
2
1
null
2023-09-08T15:49:43
2020-03-17T07:20:12
Python
UTF-8
Python
false
false
5,020
py
""" Copyright 2021 Inmanta 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 wr...
[ "noreply@github.com" ]
inmanta.noreply@github.com
8eea98aae837d92aa3359eb2d80d6cf25c8fe0fb
fee347a9d4cef1ca3a60b72d14c107aef113d2fb
/DOS/cfdiengine/docmaker/builders/ncrxml.py
04519a1b9158ac36ea13c623ca447f892d0099d0
[]
no_license
Telematica/erp
7517e3fd3c53b359bcb41d3616928407cd343b08
3a0d9ed195e09adea01e944016a7e1cc82666e02
refs/heads/main
2023-02-19T21:51:14.011725
2021-01-23T17:41:33
2021-01-23T17:41:33
323,704,516
1
0
null
2020-12-22T18:32:00
2020-12-22T18:32:00
null
UTF-8
Python
false
false
20,169
py
import unidecode import math import os import base64 import datetime import tempfile import pyxb from decimal import Decimal from misc.helperstr import HelperStr from docmaker.error import DocBuilderStepError from misc.tricks import truncate from docmaker.gen import BuilderGen from sat.v33 import Comprobante from sat.r...
[ "j4nusx@yahoo.com" ]
j4nusx@yahoo.com
fd990697940eb618ad2404eb51ee4a9aa17ba5c3
f7d9f6fd48f4310094e023d05b3aa03e8ab86faa
/exampleOutput3Part.py
2d91ca3abc0e740948ec026a5e7044ad1abe97a5
[]
no_license
chriscanal/BOMpricer
9be72e3bb055af2afcfe300d56d791f4fdcd4578
67049f3972124fe593d55258a8e570f29ede7780
refs/heads/master
2021-05-01T00:52:08.997911
2015-06-26T18:50:48
2015-06-26T18:50:48
32,906,049
0
0
null
null
null
null
UTF-8
Python
false
false
119,089
py
{'CurrentDate': '2015-04-22T07:43:16.7375974-05:00', 'ErrorMessage': None, 'Messages': None, 'OriginalRequest': {'APIKey': '8e2b4c56-05aa-4ce9-82dc-be9a660bb1ea', 'CompanyID': 'iRobot', 'CountryCode': '', 'CurrencyCode': '', 'Distrib...
[ "christophercanal4@gmail.com" ]
christophercanal4@gmail.com
ead059169811ef21f083a05a3ba167569743c66b
c4852ee94908d3254c7fda50dbe0c3f08a942f0e
/PythonPC/day01/06-贴吧案例.py
57fe1d95cd1067c4da409e7da9ac73b1a6d3e589
[]
no_license
Nigihayamiim/PythonPC
05d2ca937405a036d8948a92043bb3694c1b56e2
4fc4a52a5315157fbafccdf2c854d70301ce2e9f
refs/heads/master
2022-06-10T14:16:03.227478
2020-05-07T11:18:13
2020-05-07T11:18:13
259,821,635
2
0
null
null
null
null
UTF-8
Python
false
false
966
py
from urllib.request import Request, urlopen from urllib.parse import urlencode from fake_useragent import UserAgent def get_html(url): headers = { "User-Agent": UserAgent().chrome } request = Request(url, headers=headers) response = urlopen(request) return response.read() def save_html(fil...
[ "xzyim@outlook.com" ]
xzyim@outlook.com
a1591a7c8cdcde44c51460db376da7e890923db7
e76fafcc4f8cd93aeea97cc90434a04216ed3d6b
/utils.py
a34990de52e424c0888607f936775bc5dcf9d944
[]
no_license
bipinkc19/sentiment-analysis
5e4716b9e253c38330762c19dbe5c17c389813ba
7bcf89c01c63bb6a05a1fc97eea282843ac7f818
refs/heads/master
2020-07-13T03:02:57.745335
2019-09-05T05:35:31
2019-09-05T05:35:31
204,974,192
2
0
null
null
null
null
UTF-8
Python
false
false
904
py
from sklearn.metrics import confusion_matrix import seaborn as sns import numpy as np import matplotlib.pyplot as plt def classification_metrics(actual, pred, msg): cm = confusion_matrix(actual, pred) plt.figure(figsize=(4, 4)) ax= plt.subplot() sns.heatmap(cm, annot = True, fmt = 'g') # labels, ...
[ "bipinkc19@gmail.com" ]
bipinkc19@gmail.com
f9df30809d363ee66f80551c56053418489bdc2e
57c0e19529c3283be273b2a0339470ddcf470138
/githubstalker.py
92eee06a76d923efe2d9e462893dd927fe228acb
[ "Apache-2.0" ]
permissive
harishsg99/My-Week-end-products
a6b76b1573382d6229c1d9de6d24fe982b3eaa56
bfdca740540270f90507c23adad0a6cd184950b8
refs/heads/master
2022-12-21T19:55:17.671587
2020-08-20T02:47:54
2020-08-20T02:47:54
286,051,692
2
0
MIT
2020-08-13T09:05:47
2020-08-08T13:48:17
Python
UTF-8
Python
false
false
4,784
py
try: import argparse from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.chrome.options import Options as ChromeOptions from selenium.webdriver.firefox.options import Options as FirefoxOptions from fake_headers import Headers from selenium.webdriver.common.by...
[ "noreply@github.com" ]
harishsg99.noreply@github.com
89fc8ea8504e008db23d7c2ff978902543775435
f30e9ca8c5777196bf8e56d82ecddb80418d21ba
/test_fena/v1_12/test_all.py
b0aa69333bef16ba1c6f4795f7a98ce6220ddc01
[ "MIT" ]
permissive
Aquafina-water-bottle/Fena
029a1d6be64bdf1bd75d647d83e524821dfc7a3c
00a2b1dbc6f8abd968c46c637d6ad30d5fcde919
HEAD
2018-10-22T13:36:24.838025
2018-07-19T18:16:17
2018-07-19T18:16:17
96,073,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
from test_fena.v1_12.test_selectors import test_selectors from test_fena.v1_12.test_jsons import test_jsons from test_fena.v1_12.test_nbts import test_nbts from test_fena.v1_12.test_scoreboards import test_scoreboards from test_fena.v1_12.test_blocks import test_blocks from test_fena.v1_12.test_coords import test_coord...
[ "glowing.locker@gmail.com" ]
glowing.locker@gmail.com
7a5b217b4fbaf818c24427ce0eb495dbb0c9c3ad
b25dbbf04bb70fd52afc68ab654e635dfae37ed9
/0x0B-python-input_output/5-save_to_json_file.py~
6267c374ed0085fb617bb5bbae4406ca4c0e85de
[]
no_license
HLozano12/holbertonschool-higher_level_programming
eb6f1cd46b788b7d4e010664f91c4a44fb3276e8
26d3bfd6e2f95f39b39a2748ec0e542b65c4f7c5
refs/heads/main
2023-06-12T06:00:11.993257
2021-07-08T00:05:19
2021-07-08T00:05:19
361,659,105
0
0
null
null
null
null
UTF-8
Python
false
false
254
#!/usr/bin/python3 """module to write an obj to txtfile using json rep""" import json def save_to_json_file(my_obj, filename): """Func(arg, filename)""" with open(filename, mode='w', encodin'utf-8') as h: return json.dump(my_obj, h)
[ "HLR8503@gmail.com" ]
HLR8503@gmail.com
4833633212dabfbd9d8976952b217ebfbe2e1cf3
f0778e8c5df5d4da020bee4e93c6a11e9a32471c
/pages/index.py
3122de6ec5b20a4a2e66b86f87bd7f54f7ddb453
[]
no_license
nanzhijiao/nanyang
535a2cb6cf1af609cd95ce5e7cd9b8b564087a1a
7bc8ad22669db24b98a556c572400f283827b085
refs/heads/master
2020-06-17T07:27:57.935243
2019-10-31T06:02:57
2019-10-31T06:02:57
195,846,015
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as ec from pages.base import BasePage __author__ = '123456' # coding=utf-8 class IndexPage(BasePage): """首页类""" bid_locator = (By.XPATH, '//a[contain...
[ "hewangtong@xiaomi.com" ]
hewangtong@xiaomi.com
cf0fda7639f90bddcdbbdfa57d0431066628dd98
ae846e6c05476eb68f9ee364c8372ba96e7770fb
/0x00-python_variable_annotations/2-floor.py
3e642e00ad18f4d0ade0e4ca0f7ad4877add7cea
[]
no_license
yassineaboub/holbertonschool-web_back_end
3f7ee12934e0f784c1fec74643cb3a09389b31c0
400434925e9e0fddb15df842478b02b15fb1f827
refs/heads/main
2023-05-31T23:57:14.151457
2021-06-17T20:34:14
2021-06-17T20:34:14
305,984,383
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
#!/usr/bin/env python3 """floor function""" import math def floor(n: float) -> int: """ take a float n as argument and returns the floor of the float """ return (math.floor(n))
[ "yassineaboub@live.fr" ]
yassineaboub@live.fr
33d3438f46eb106a9ae38ad15a44e2a6f8dd2ecf
4136fc143d5f3121edf25b55ead9bb6e506beaef
/TEMpcPlot/Gui/learn_QT/callLineEdit.py
5111b085a13949cc3308b68e2d244240be94c574
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Prestipino/TEMpcPlot
a557863b07225a82598b33eb373bd1e7df569280
386cea122cd6b04d08dbaf0ecae9ff04d62d05ea
refs/heads/master
2023-07-14T18:25:19.069018
2023-06-13T11:34:34
2023-06-13T11:34:34
252,416,658
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
import sys from PyQt5.QtWidgets import QDialog, QApplication from demoLineEdit import * class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self) self.ui.ButtonClickMe.clicked.connect(self.dispmessage) self.show() def dispm...
[ "carmelo.prestipino@gmail.com" ]
carmelo.prestipino@gmail.com
c9fdf7ffef9ab9e0a6fea09af25192f1aec1af80
563f7440fc026a16cbad9f69b933eb795d8c696e
/3-4/q1.py
1adf7e61e0998a5c72976a5527efe22605296a92
[]
no_license
yoowonsuk/python
f026921b1b5976776af31690cf53e88436b7370e
7c9897c45e8a269e0ceb74ec92caa9e644bb0a65
refs/heads/master
2020-06-16T08:19:10.185653
2019-07-10T09:05:32
2019-07-10T09:05:32
195,479,779
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
for i in range(5): print("Nice to meet you")
[ "sam2yuk@naver.com" ]
sam2yuk@naver.com
25333c6693c054490e62be0ad26add45c338acaa
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayTradeContractQuicksettlementQueryResponse.py
b7c2b10a5a075070abe8db3b0d42a5590b07fb36
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
2,046
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayTradeContractQuicksettlementQueryResponse(AlipayResponse): def __init__(self): super(AlipayTradeContractQuicksettlementQueryResponse, self).__init__() self._cre...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
5c616a727cedc00a5880ffb4476faf785a0bfcef
05b25889bddaf3ae34ddf43bdb9c8e19020f3733
/task/LuBin_Wan_week_5.py
55e44084dc82c56fa85c6531320f317841828d46
[]
no_license
20016145/test1
03fea759fa37811dd5edc0c606203c6c9dc8a6ba
5bccdce1dbacc1d4228552c7bf077c5da552b13f
refs/heads/master
2023-03-07T20:02:44.515140
2021-02-04T13:55:16
2021-02-04T13:55:16
335,974,381
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
NATO={"A":"Alpha","B":"Bravo","C":"Charlie","D":"Delta", "E":"Echo","F":"Foxtro","G":"Golf","H":"Hotel", "I":"India","J":"Juliet","K":"Kilo","L":"Lima", "M":"Mike","N":"November","O":"Oscar","P":"Papa", "Q":"Quebec","R":"Romeo","S":"Sierra","T":"Tango", "U":"Uniform","V":"Victor","W":"Whisky","X":"X-Ray", "Y":"Yankee",...
[ "1071436792@qq.com" ]
1071436792@qq.com
607fd244528f171b1c186f58ca57d250f5dd73a1
f743e7fd9ad7d9af200dcb077fe6f8d95a5025f9
/tests/scripts/thread-cert/Cert_7_1_07_BorderRouterAsLeader.py
be980148ef016038c334717d33b207dbff101adf
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Abhayakara/openthread
6ea1cf8053290db20eb3a61732f30bea0083971c
fb83c90ffec5dee2194ee9bb5280fa48ce9a24fc
refs/heads/main
2023-08-28T00:32:37.427937
2021-10-07T20:16:38
2021-10-07T20:16:38
295,905,892
5
0
BSD-3-Clause
2021-10-05T18:42:28
2020-09-16T02:48:57
C++
UTF-8
Python
false
false
26,112
py
#!/usr/bin/env python3 # # Copyright (c) 2020, The OpenThread Authors. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright # ...
[ "elemon@apple.com" ]
elemon@apple.com
f6231ff6fc5a7141afd3541cd1de54d7e5bb03ea
d2852bdff722d446d3774754f5cfa4b243f17c74
/resumes/models.py
1a87e53eee75e66a449a3930cb6e85f22b998102
[ "MIT" ]
permissive
USUDR2604/Django-ResumeBuilder
16e01d85993f0642748f4c1f79deef506bb882d6
0c6066d96fd20c029e5d5b0a447eaa5e8fc80fb6
refs/heads/master
2023-07-12T16:14:00.520052
2021-08-23T03:34:37
2021-08-23T03:34:37
397,090,820
0
0
null
null
null
null
UTF-8
Python
false
false
11,090
py
from django.db import models from django.contrib.auth.models import User from .Choices import * # Create your models here. class ContactDetails(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) First_Name = models.CharField(max_length=100,help_text='Enter your First Name') Last_Na...
[ "66463073+USUDR2001@users.noreply.github.com" ]
66463073+USUDR2001@users.noreply.github.com
77f62af9ab54245e6d7b24fb5c39089a2200afe5
07081ad771227a3cd8b8fe61e9578ea48a3137ff
/venv/bin/pip3.6
edd980f78cd2eb2d22701e461885f210a582b4bb
[]
no_license
fernnf/benchtraffic
28a4de285d4011af5ef0ba4f014cbaf20ebccb74
656365959fdaeed7ad76c0c10347c532f879fbe7
refs/heads/master
2022-12-09T19:10:40.336333
2019-10-07T16:01:57
2019-10-07T16:01:57
206,405,292
0
0
null
2021-06-02T00:23:40
2019-09-04T20:14:08
Python
UTF-8
Python
false
false
399
6
#!/root/Workspace/benchtraffic/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.6' __requires__ = 'pip==19.0.3' 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]) sys.exit...
[ "fernnf@gmail.com" ]
fernnf@gmail.com
0d2354cd3bc5cfe9b5a9a26ca7aa8f92a9696ef9
5ca031047050dce52862fd27042153e4ea538951
/fixture/group.py
08f49779dc9cb502e8a06c0905412af59dfa0ae1
[ "Apache-2.0" ]
permissive
holi87/PythonSzkolenie
b7c18ab0acae27faa79357d49711e16fe768abb9
edb805b62a98e2be5635d01fa0611062509391b9
refs/heads/master
2021-01-21T06:30:58.090693
2017-04-15T23:39:41
2017-04-15T23:39:41
83,247,994
0
0
null
null
null
null
UTF-8
Python
false
false
4,330
py
import fixture.basic from model.group import Group __author__ = "Grzegorz Holak" class GroupHelper(fixture.basic.BasicHelper): def __init__(self, app): super(GroupHelper, self).__init__(app) def open_groups_page(self): wd = self.app.wd if not (wd.current_url.endswith("/group") and ...
[ "holi87@gmail.com" ]
holi87@gmail.com