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
cf3970f95cd0df134c66e7e2c608fab1e79e582a
0031bd210e25f9602a8ee3cf581c44e8e8f3a00f
/Junior/COSC0023-Py/Exercise/数据画图.py
a0a7647e524821d9fb8ef041ddf829e2fe99deef
[ "MIT" ]
permissive
TiffanyChou21/University
d991d30cad3b28bb5abc929faa6d530219a1d844
9584fa6b052a59ce01a256efc77add5bbec68d98
refs/heads/master
2020-09-29T10:54:00.297491
2020-08-16T03:47:57
2020-08-16T03:47:57
227,021,880
0
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
#!/usr/bin/env python # coding: utf-8 # In[52]: import numpy as np import pandas as pd import matplotlib.pyplot as plt import warnings # plt.rcParams['font.sans-serif'] = [u'SimHei'] #显示不了中文放弃了不显示了 # plt.rcParams['axes.unicode_minus'] = False warnings.filterwarnings('ignore') pd.set_option('display.max_rows',None...
[ "TiffanyChou21@163.com" ]
TiffanyChou21@163.com
3f80f32810fc412f915873a0c635f787b0603cd6
7f07515310c075c95033354a91f9f82557b98092
/heatmap.py
cb8fd55587cb71d1707428b4f0ae92759ce9cb53
[]
no_license
HegemanLab/VanKrevelen
805d33e9e0515a1250fbb87f27b7d56af1de759f
ea82f284f3ade1b43adb6bc5041b5bb14c166c2f
refs/heads/master
2020-04-16T23:39:22.636160
2016-08-17T17:54:16
2016-08-17T17:54:16
47,356,866
0
0
null
null
null
null
UTF-8
Python
false
false
7,028
py
''' Thanks to jjguy @ http://jjguy.com/heatmap/ Minimal edits made to the original code, mostly just comments ''' import ctypes import os import platform import sys from PIL import Image import colorschemes class Heatmap: """ Create heatmaps from a list of 2D coordinates. Heatmap requires the Python I...
[ "roden026@umn.edu" ]
roden026@umn.edu
e7e95d0bc9841ba1cce84f802176bbe2ef6d5e38
6c71226e2080c79a993fb086445c5af52b42bb95
/randomForestRegression/random_forest_regression.py
1df75f2bfa11cfc2b80c74e43cd52df35f2a8c6d
[]
no_license
ArakelyanEdgar/MachineLearningAlgorithms
32f4046931d39cfacc58bd6c753031fd3af3d3aa
07b64e83dafc9259f9a09aefcce07ca4b261b76f
refs/heads/master
2020-03-08T13:27:31.750449
2018-04-05T04:27:44
2018-04-05T04:27:44
128,158,464
0
0
null
null
null
null
UTF-8
Python
false
false
1,304
py
# Random Forest Regression # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd from sklearn.ensemble import RandomForestRegressor # Importing the dataset dataset = pd.read_csv('Position_Salaries.csv') X = dataset.iloc[:, 1:2].values y = dataset.iloc[:, 2].values # Splitti...
[ "edgararakelyan123@gmail.com" ]
edgararakelyan123@gmail.com
380e413c789d06c1d8c1e6b1304c9a37e8b030e3
ec852d0c26ca2ebba40054cd2668db0ee990af69
/2.py
1a0edb5dff657f4e37b3a0835b97627531f12924
[]
no_license
sadilet/xgboost-predictor
61ecdd951d275f3e69a3741f1623c52c11cf4ed2
e31c4bcdce995a7c1ffa3c4eaf8a2b7fb65b5861
refs/heads/master
2023-02-06T13:38:37.149240
2020-12-21T00:54:50
2020-12-21T00:54:50
321,763,828
0
0
null
null
null
null
UTF-8
Python
false
false
1,292
py
import datetime import xgboost import numpy as np import xgboost_predictor if __name__ == "__main__": data = [] with open("tests/resources/data/agaricus.txt.0.test", "r") as f: for line in f.readlines(): row = [0] * 126 for i in line.split(" ")[1:]: f, v = i.s...
[ "wallstbrok@gmail.com" ]
wallstbrok@gmail.com
4a80747e2268ca965179dddbee104338c66849bc
af65714ea99ea2a1edd6b372609f682399a7d64d
/your_app_name/manage.py
5578a3e697c59017498982b4457f470dcf7b70f3
[ "MIT" ]
permissive
gibeongideon/django-github-action-runner-CICD
fbfb81b94bbb4ccc93fc90cbc452695a4949a502
ddf02176dc83e3f7ed4944f8f48207c944e33f18
refs/heads/master
2023-06-05T21:39:30.002833
2021-06-23T20:21:46
2021-06-23T20:21:46
379,716,569
0
0
null
null
null
null
UTF-8
Python
false
false
669
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', 'your_app_name.settings') try: from django.core.management import execute_from_command_line excep...
[ "kipngeno.gibeon@gmail.com" ]
kipngeno.gibeon@gmail.com
5bc51ef0a70eeafa727c3a43c4b2b701625f00af
07f54a15cc10ec715da0864901485d6282f13cae
/Lessons/ex10.py
397a1a8c699589e535b37706c1aedff31d50643c
[]
no_license
levelupcode/LearnPythonTheHardWay
4d7604c065f90f7ea63919a8994e04330a4aa309
88dcb4ec00a5d59769a1888b9b72c1968de8e943
refs/heads/master
2021-01-22T13:13:03.308266
2013-01-03T18:18:06
2013-01-03T18:18:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
# Part 1 "I am 6'2\" tall." # Escape double-quote inside string 'I am 6\'2" Tall.' # Escape single-quote inside string # Part 2 tabby_cat = "\tI'm tabben in." persian_cat = "I'm split\non a line." backslash_cat = "I'm \\ a \\ cat." fat_cat = """ I'l do a list: \t* Cat Food \t* Fishies \t* Catnip\n\t* Grass """ pri...
[ "levelupcode@gmail.com" ]
levelupcode@gmail.com
0fe08899b3a8f27f944baf7bfb39b3fcdf8ebdff
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/synapse/azure-synapse-accesscontrol/azure/synapse/accesscontrol/aio/__init__.py
8eafa989fcbc836fcc407acd2ea0859726442db7
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
558
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
d71180f0bd321d3d7193738b32581743b75440f3
3257372291236aac1737b057c9ac6c61da9ccca0
/tutorials/W0D5_Statistics/solutions/W0D5_Tutorial2_Solution_281848de.py
65dc66a635bd53e9c76bb3d72f597aebb3c00512
[ "CC-BY-4.0", "BSD-3-Clause", "MIT" ]
permissive
NeuromatchAcademy/precourse
230ead0d11ae7b0dba21c8df97695a1796e9797d
b7f2432c6a68a7984ca923ceed8e07d5cfdb77c3
refs/heads/main
2023-07-26T11:18:24.493966
2023-07-09T14:42:49
2023-07-09T14:42:49
256,327,558
639
174
MIT
2023-07-09T14:42:50
2020-04-16T20:54:03
Jupyter Notebook
UTF-8
Python
false
false
621
py
""" You will learn more about "Bayesian brains" and the theory surrounding these ideas once the course begins. Here is a brief explanation: it may be ideal for human brains to implement Bayesian inference by integrating "prior" information the brain has about the world (memories, prior knowledge, etc.) with new eviden...
[ "noreply@github.com" ]
NeuromatchAcademy.noreply@github.com
f9aedbea917b21ed89324565fef95311658ab4cb
a37d9f2ab27952dbc1fd3f394ce6f8f537bbee3a
/bnet/optimizers/__init__.py
01323a07f36de3f988c1c8a9a500ab761d196794
[]
no_license
dmbernaal/bnet-resnest-xresnet-mininets
d4b1739270bc0610550d4098f2db2756147f2c7c
b53248bc64e6cc1eca47a7770984066e38070045
refs/heads/main
2023-01-23T15:08:26.376580
2020-12-08T06:08:08
2020-12-08T06:08:08
319,539,625
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
from .adamod import AdaMod from .deepmemory import DeepMemory from .diffgrad import DiffGrad from .diffmod import DiffMod from .lookahead import Lookahead, LookaheadAdam from .novograd import Novograd from .ralamb import Ralamb from .ranger import Ranger from .rangerlars import RangerLars from .adahessian import Adahes...
[ "dmbernaal@gmail.com" ]
dmbernaal@gmail.com
7832dae5c8c8d4af7c3fe58a5174a5722ceeaa14
00ca311d3dccb4ffe4d2e1cd88c98cab699d26a0
/hk.py
e91e776e17f03d58ddd559c02a0a0df1abde908c
[]
no_license
y1212/myslite
e13bfb11a4189a75b1bd5d062b8cb48ef70de1c8
74e35bd04f9ac8c0a7fd1a3eb68ee3311f6adff9
refs/heads/master
2020-12-13T06:05:52.774554
2020-01-16T11:14:24
2020-01-16T11:14:24
234,330,553
0
0
null
null
null
null
UTF-8
Python
false
false
3,428
py
#setence="ls , aa, cnm, sb" # var=input("please input:") # if var in setence: # setence=setence.replace("cnm","*") # print(setence) # # tuple=(1,2,3) # list1=list(tuple[1]) # print(list1,type(list1)) # c,s =" ", "this is my house" # d=s.split() # d.reverse() # for e in d: # c=c+e+" " # print(c.lstrip()) # l...
[ "59354787+y1212@users.noreply.github.com" ]
59354787+y1212@users.noreply.github.com
5d0294f94f35d0bd05457deb413fd46c97de577b
8c7b19751e0b674103e5dfa3cae63582e04c474e
/msorter.py
19d935dc04089be48189c9ea8773df3e92e23ef3
[]
no_license
andreyiv/music_sorter
eab9e9a18b1b3cebc6c43f44a2f91ad48ef01290
e93ff7ec5684a007ec1995802672ff67a3b360c1
refs/heads/master
2020-06-06T11:02:35.559773
2014-03-11T01:12:27
2014-03-11T01:12:27
15,989,698
0
0
null
null
null
null
UTF-8
Python
false
false
2,918
py
""" Sort your music. Call this in a directory with your music to get it sorted. """ import os import sys import io import eyed3 import json import time import logging # create logger logger = logging.getLogger('log') logger.propagate = False # Stops the logging from being picked up by eyed3 logger.setLevel(logging....
[ "andrey.ivannikov@gmail.com" ]
andrey.ivannikov@gmail.com
9691a7aad57450dba8acad44cb0105ff32ac9d5c
c171d1b819d599c294afe67d17f09f7ef5e358af
/Blind_Search/8_Puzzle_DFS.py
088de9e8ec7e148eb1df2ea660d39d7c67ccbbe2
[]
no_license
bawejagb/Artificial_Intelligence
0e18e9f9cb0ee2663ae5d3ffd4ad9b2560295947
9caafe026e93cd50a0d01d3d83e079ce221c5a9d
refs/heads/main
2023-04-21T19:20:49.713415
2021-05-04T15:54:48
2021-05-04T15:54:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
''' Q1- 8 puzzle problem Made By: Gaurav Baweja, 102097005, CSE4 ''' import copy as cp def Show(arr): print("------") for lis in arr: for elm in lis: print(elm,end="|") print() print("------") def Position(val,arr): for i in range(len(arr)): for j in range(len(arr[...
[ "gaurav.baweja2508@gmail.com" ]
gaurav.baweja2508@gmail.com
b132f2782265b56e98b88f6df9aaaa8c85d5bddc
0db8fad3d630899a1e8389349b047c2cabdb6a27
/meiduo_mall/meiduo_mall/apps/orders/migrations/0002_auto_20190531_0919.py
6168072e180c8d36de7f6d08fa9748ee6b9c8253
[]
no_license
zhujian2019/Django_Frontend
30123b8e20a9e0fc6b48b49433c22744cd1aa9d1
ee8fa8385487ee96b309f8230928e5945ddc5c86
refs/heads/master
2020-06-04T19:46:17.733452
2019-06-16T08:38:14
2019-06-16T08:38:14
192,167,921
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-05-31 09:19 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('orders', '0001_initial'), ] operations = [ migrations.RenameField( mod...
[ "zhujian_work@163.com" ]
zhujian_work@163.com
6f1626422bd5fe30a5d69e1a6033406a0eb15da8
74d962367e299eb2ffb827d78e88aea76c3ebabc
/manage.py
6c8e8d2a9587f74e95b0d56e701e5076f0a97dec
[]
no_license
PauloViOS/flordodia
8b40105f78ce5d4ff73b4a5e9fe4ef2402fc6c73
b10ca10b882aba785a4ffd2e6a51d2cc16f59209
refs/heads/master
2023-03-06T16:14:59.815158
2021-02-23T13:55:28
2021-02-23T13:55:28
337,239,739
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "flordodia.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Ar...
[ "paulo.santos@buser.com.br" ]
paulo.santos@buser.com.br
f19728bf8e40186ce8d1a8b60514928cac527607
51a48a4144ef3aabb354e75033293da45a813c8f
/sourceCodes/python/pfile/wrapper.py
b7c9f99060862916eef3125a38ab52e2f6a0a2ff
[]
no_license
melodi-lab/SGM
a53f79c8a0e4cbc7dd64f269002b6a0d49cd5d92
36d9b7b6f864ee93220c960065f8c7e216c5009c
refs/heads/master
2020-04-05T23:11:23.626090
2017-06-19T23:30:40
2017-06-19T23:30:40
64,819,641
1
2
null
null
null
null
UTF-8
Python
false
false
4,343
py
#!/usr/bin/env python # # Copyright 2011 <fill in later> __authors__ = [ 'Ajit Singh <ajit@ee.washington.edu>' ] import os import sys import types try: import libpfile as lib except ImportError: dirname = os.path.dirname(__file__) print >> sys.stderr, "Run make in %s to compile libpfile" % dirname exi...
[ "baiwenruo@gmail.com" ]
baiwenruo@gmail.com
f369d5667a7f0255f82296fbbee935075af34b7e
7b5ec17918cb2328d53bf2edd876c153af26b38d
/scripts/ingestors/rwis/process_idot_awos.py
c29e696ecbcafd40fb720a5612021a2b033ca115
[ "MIT" ]
permissive
Xawwell/iem
78e62f749661f3ba292327f82acf4ef0f0c8d55b
88177cc096b9a66d1bd51633fea448585b5e6573
refs/heads/master
2020-09-06T09:03:54.174221
2019-11-08T03:23:44
2019-11-08T03:23:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
"""Process AWOS METAR file""" from __future__ import print_function import re import sys import os import datetime import ftplib import subprocess import tempfile from io import StringIO from pyiem import util INCOMING = "/mesonet/data/incoming" def fetch_files(): """Fetch files """ props = util.get_propert...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
50c2dde48b456f93aa0260584ded425981eeb60e
e7e029a04319afce21c43317e2cc8f3dc92091ca
/pex/commands/command.py
2104e893ca0f0b603d42816941bd46692371ae1a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
asherf/pex
e451b28a088968736e47285396813f6a2b4c6058
c15508ad1a2d48bdef9fbac677dbfa32927e6625
refs/heads/master
2022-07-22T23:01:48.331316
2022-07-05T14:41:35
2022-07-05T14:41:35
237,337,647
0
0
Apache-2.0
2020-01-31T01:12:31
2020-01-31T01:12:30
null
UTF-8
Python
false
false
13,469
py
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function import functools import json import logging import os import subprocess import sys import tempfile from argparse import ArgumentDefa...
[ "noreply@github.com" ]
asherf.noreply@github.com
79a21b3cd0fc0706188237e2a0b76e6e913732bc
15f122c5d9d91493107c008acb23a9a1288aa95b
/review/settings.py
f91fff3e8b6e438ad860bfbb8623bb3d56d6b47d
[]
no_license
AdityaGaur-whiteCrayon/reviewap
9baba1c0dcf5adbe54f573ef10f8398ba75e1791
080bd45634f793d5c8d48f512472a7845bfd389f
refs/heads/main
2023-06-27T04:30:58.378069
2021-08-03T21:43:43
2021-08-03T21:43:43
392,461,954
0
0
null
null
null
null
UTF-8
Python
false
false
3,720
py
""" Django settings for review project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ f...
[ "noreply@github.com" ]
AdityaGaur-whiteCrayon.noreply@github.com
28bda1e33cd425eb795d84761fee2c683f18d463
81c914bfcc5cd7fcb78a4cc3e9c86a12366c6379
/flask_emal/pyMail/pyMail.py
fd5f68d0a65245d83a88ded5c0ccdaeaafeccc6d
[]
no_license
DarionRichie/emali
2e9e487beec3962990eaf6633333f508d5808c32
f4251965aea95ffcb5a14052f4b419735740ba2d
refs/heads/master
2023-05-24T01:10:18.566193
2021-06-17T09:07:28
2021-06-17T09:07:28
377,769,029
0
0
null
null
null
null
UTF-8
Python
false
false
8,210
py
# -*- coding: utf-8 -*- import imaplib, email import sys import os import smtplib import mimetypes from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.encoders import encode_base64 from email.header import Header reload(sys) sys.setdefaultenc...
[ "2969524644@qq.com" ]
2969524644@qq.com
6462655651cadf4cca9cff9d20e10ad691ceea84
bedd5e4c8186d848fa10a572d000e5b1a36acaa9
/metrics/gD43_index.py
7285d493189a3d5f73c33bc85137be24fa48d3d5
[]
no_license
AntipovDen/EvoClusterization
2eb7df815a088e8b0f6ccf57ef57cc0e95c55120
61f01cedc8f2a7b55a8cd109389b8b236885af26
refs/heads/master
2020-05-01T00:42:12.951206
2019-05-08T17:17:55
2019-05-08T17:17:55
177,174,643
0
0
null
null
null
null
UTF-8
Python
false
false
4,305
py
import sys import numpy as np import metrics.cluster_centroid as cluster_centroid import metrics.utils as utils import math from metrics.measure import Measure class Index(Measure): def __init__(self, centroids=None, cluster_sizes=None, centers=None, sums=None, diameter=0, centroid_dists=None):...
[ "mursmail@gmail.com" ]
mursmail@gmail.com
5d17abe09dfdef19d8a4a829102bfef36a25bc8f
345d3257600d96454131398879d0b1f3cdde78f6
/ros_arduino_bridge/ros_arduino_python/src/ros_arduino_python/arduino_driver.py
3fc307009fde91a05b88d6112a1bcc795ca0dd39
[]
no_license
dtbinh/weeding-robot
ced30324f5a9ceb4fae5d69a6439ef1c6bc2ec10
8759ebed740657c47de8295ca54e6418c6ef368d
refs/heads/master
2023-02-26T17:01:42.433657
2021-02-04T21:52:00
2021-02-04T21:52:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,327
py
#!/usr/bin/env python """ A Python driver for the Arduino microcontroller running the ROSArduinoBridge firmware. Created for the Pi Robot Project: http://www.pirobot.org Copyright (c) 2012 Patrick Goebel. All rights reserved. This program is free software; you can redistribute it and/or modify ...
[ "jhw83@uclive.ac.nz" ]
jhw83@uclive.ac.nz
3d2ea1c68fba28be456bac1b10cce2be67a89c15
f698ce603b9eab5427c26dfc5501ae4ec8e03214
/proj/common/serializers.py
6b4763bb9339570bf0595cd423e0bb96422da214
[]
no_license
chunkai-meng/Fleet
847f31c7b8b3321ab097428453d0c8f9e1b21f77
9e65fdab6fbae1a691db993d12bbcd2684f5b1e9
refs/heads/main
2023-03-05T00:22:51.761197
2020-11-24T20:53:55
2020-11-24T20:53:55
312,441,324
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
from rest_framework import serializers class BaseSerializerMixin(serializers.Serializer): created_name = serializers.CharField(source='created_by.cn_name', read_only=True) updated_name = serializers.CharField(source='updated_by.cn_name', read_only=True) class DynamicFieldsModelSerializer(serializers.ModelSe...
[ "willcute@gmail.com" ]
willcute@gmail.com
431eeaf082bc0c52b6b0cf4689df74a54c8b61e3
b207f020927e1acb24641670af22bc9eef978e26
/DeepQNetwork-MCTS/2048_DQN_MCTS_initial.py
dc1c96d3a9be47589ccace528b7e4010b84bebf9
[]
no_license
QuincyCherubini/2048
49ee7daf07313526edc93a33e03f31d592c2d154
27f64bf8365428af6f881b88c0eb29bd12166191
refs/heads/master
2020-12-20T01:55:56.540776
2020-02-25T03:26:52
2020-02-25T03:26:52
235,923,049
0
0
null
null
null
null
UTF-8
Python
false
false
11,847
py
from board import board import numpy as np import math import time import random import pickle import cProfile from collections import deque import keras from keras.models import load_model, Sequential from keras.optimizers import Adam from keras.layers.core import Activation, Dropout, Flatten, Dense from k...
[ "Quincy@Cherubini.ca" ]
Quincy@Cherubini.ca
d9d53fa77c4f2dfbb4ae777a99cd4e7040f3318e
7842b9dfa31c533e753763a63dd6643f66ca7d43
/courses/models.py
d09519e3df02b7839605a043e067bf5ef53d212c
[]
no_license
YOKxPIE/YOKxPIE.github.io
83dfc46167a74860824b04e6b8d752b8fd4dd77c
633af49a4f65a07d574fc7c40a836a15b4a2016d
refs/heads/main
2023-08-17T00:51:30.654217
2021-10-02T10:02:20
2021-10-02T10:02:20
403,917,913
0
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Course(models.Model): c_code = models.CharField(max_length=5) c_name = models.CharField(max_length=150, null = True) semester = models.IntegerField() a_year = models.IntegerField() count_stu = ...
[ "6210530017@student.tu.ac.th" ]
6210530017@student.tu.ac.th
1fe976ca0106beea3c9fdf4f4b31055726c1d3f6
61cefb212b04fdcd3ab3e36374104f7eb9aeab75
/gym_rover/state/agent.py
cd7a3be00fb7e82f143279bf6667f2d83e2934bf
[ "MIT" ]
permissive
eklinkhammer/gym-rover
8df6297218c1a22c42273861e68aeb342d3a63a4
38ed96f6f7ea4e5fed4432cb3967d2317caf145e
refs/heads/master
2021-01-20T02:25:14.158595
2018-03-20T01:24:05
2018-03-20T01:24:05
89,403,230
0
0
null
null
null
null
UTF-8
Python
false
false
2,057
py
import sys import random import numpy as np class Agent(object): """ Agent is a rover that moves in either a discrete or continuous action space """ def __init__(self, loc, uuid=None): """ Creates an Agent at position with a unique id. Args: loc (length 2 np array): ...
[ "eklinkhammer@gmail.com" ]
eklinkhammer@gmail.com
06e60323dd57f2def66299b5acfc0b773762fb62
a3c4935537a42330758c7ac54553ae45daad069d
/.history/backend/src/api_20210807005753.py
d5a98b48745dbac2d9550540ef0d1b41a0699108
[]
no_license
saraalmuraytib/Coffee-Shop
219292b4e2dd9b39621f9cd42bdcb049f5bb20c8
cec4b8df3a4c38600fb2964f8fa85d3c820ddb6c
refs/heads/main
2023-07-12T19:39:26.617313
2021-08-28T19:22:23
2021-08-28T19:22:23
392,365,613
0
0
null
null
null
null
UTF-8
Python
false
false
4,532
py
import os from flask import Flask, request, jsonify, abort from sqlalchemy import exc import json from flask_cors import CORS from .database.models import db_drop_and_create_all, setup_db, Drink from .auth.auth import AuthError, requires_auth app = Flask(__name__) setup_db(app) CORS(app) ''' @TODO uncomment the foll...
[ "sara.almuraytib@gmail.com" ]
sara.almuraytib@gmail.com
df09cfd7a1ce1fc9c2986dd66f9c32ec791e7b64
d9ed74c886ff517b721d6bcf2fef8ec6ed991783
/manage.py
d6d2e183eb5c5d69ca185c4e14632682bd1f7218
[]
no_license
hexvolt/poll_server
d31fa2951ecb23df87d7ff4c5543c586f1064225
8401dcbf90b1f5b6b8d69d5973a955143199438d
refs/heads/master
2021-01-19T03:45:35.332792
2016-04-17T10:10:34
2016-04-17T10:10:34
62,493,567
1
0
null
null
null
null
UTF-8
Python
false
false
254
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "poll_server.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "hexvolt@gmail.com" ]
hexvolt@gmail.com
6d7ba8affc9415e0e28f008abc1c5f881a23b965
d779765b758d43ed9ae19ff1e83a894ec37e1e86
/Practice/07/Python/07.py
9994d752dc51040462adea2ef23610cf2c89dc8f
[]
no_license
gamebars/Programming
2e0cc641056ba020f609f3f9a28228faafd5bb1d
9def7f353461062a0b33b10f8aa454bb16df4939
refs/heads/main
2023-05-09T09:57:58.775725
2021-06-05T18:50:59
2021-06-05T18:50:59
310,386,577
0
1
null
null
null
null
UTF-8
Python
false
false
885
py
import math print("""Выберите удобный для вариант 1. Длины стороны треугольника. 2. Координаты треугольника.""") a = b = c = 0.0 choise = int(input()) if choise == 1: print("Введите длины сторон треугольника, каждое с отдельной строки.") a = float(input()) b = float(input()) c = float(input()) elif cho...
[ "freerancho@gmail.com" ]
freerancho@gmail.com
a59061f71af376b2f08082145adac1d496c50c3b
9189391a982d0297c8c79670b207e0d3fe3e9a1d
/sys/Analysis_script/lustre_server/lustre_server_band.py
5ec111d68973dd23270db18a58c8b50b50b5f24e
[]
no_license
dxhhisboy/Beacon
62f5eedcd7349d383f3324f74bd7475170ce5a57
7941ebb7ae2e55b923795a850e74ee23c14aca3e
refs/heads/master
2021-03-26T07:43:24.544769
2019-12-18T02:56:14
2019-12-18T02:56:14
247,685,346
1
0
null
2020-03-16T11:30:22
2020-03-16T11:30:21
null
UTF-8
Python
false
false
8,806
py
from OST_each_all import search from OST_each_all import search_le from OST_each_all import search_gt import datetime import matplotlib.pyplot as plt import numpy as np import csv import sys from optparse import OptionParser host_online1 = null host_online2 = null parser = OptionParser() parser.add_option( "-d", ...
[ "binyang@BindeMacBook-Pro.local" ]
binyang@BindeMacBook-Pro.local
b4e432358186054be12e449387e496621aedd273
08b693556d4f2476667eccd26afcdda705c2530f
/venv/bin/odf2mht
b54238864f529a8bc8c4c904f066c4390925860b
[]
no_license
ravikantpal1408/django-admin
f2f282150b1741f503895dfba6aba7adb109c6fd
dc6dbb0d1c7e78dba88b578528787fbda121e531
refs/heads/master
2020-05-07T08:25:31.865263
2019-04-09T08:40:07
2019-04-09T08:40:07
180,322,997
0
0
null
null
null
null
UTF-8
Python
false
false
2,327
#!/Volumes/MyMacDrive128/Python/blog/venv/bin/python # -*- coding: utf-8 -*- # Copyright (C) 2006 Søren Roug, European Environment Agency # # This is free software. You may redistribute it under the terms # of the Apache license and the GNU General Public License Version # 2 or at your option any later version. # # Th...
[ "ravikantpal@Ravis-MacBook-Air.local" ]
ravikantpal@Ravis-MacBook-Air.local
3229ae4d99f065b255b95b5914601dccb2a74017
9f0e1e43883d99ac6e88cb120ad88158e5f7b1f9
/Evaluation/PSNR calculation_grayscale.py
9a48a865bfb56e16a8e44d585aa4a36dc699f0e7
[]
no_license
Sreeramansr/Image_Compression--Convolutional_Auto-encoder
8a9f93a36126ea49eff05fcffef196dd174ad1b6
17d5268064eacf61432cc0f2b6e1266089576e94
refs/heads/master
2022-12-17T01:37:59.822076
2020-09-19T10:13:02
2020-09-19T10:13:02
240,003,304
0
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
# -*- coding: utf-8 -*- """ Created on Mon May 18 16:24:42 2020 @author: Sreeraman """ # calculation of PSNR values from math import log10, sqrt import cv2 import numpy as np def PSNR(original, compressed): # original = original.astype(np.float64) / 255. # compressed = compressed.astype(np....
[ "noreply@github.com" ]
Sreeramansr.noreply@github.com
567c5930ce4dce2b362ee9ebf34f4f2c604b528e
88df15f1c36960f3473caf54904cbaae5f3bab52
/function.py
b9deefeceb27b05ad098eda3a0941d75fe731747
[]
no_license
pigpigman8686/listen
eef86b391b7399a96edfe1f8136dcd26d0ffd646
aa3b3f7d2e49ffb557739c19c3712b9e6d823e43
refs/heads/master
2020-06-19T17:46:29.283378
2019-07-14T07:34:39
2019-07-14T07:34:39
196,806,426
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
import random import os,re def getMessage(yes=True,snr=28,count=1): if count == 1: page = int(9) elif yes==True: page = int((snr-10)/2-1) if page<0: page = 0 else: page = int((snr-10)/2+1) if page>18: page=18 filepath = "static/voice/"+str...
[ "952361195@qq.com" ]
952361195@qq.com
51943779ab94d18f5a638f48ab59775a6b0b305f
d5193c2e726a40a48b0f45db27bb04aec280398e
/shortner/models.py
551783922f0264121e8bc9d5fc1d3dcd8acc3517
[]
no_license
sahaib9747/DUShort-Django_URL_Shortener
2ad652a56efb421cd49222d5f5bcfbdcc673462c
32567439883f5c7407913f061c166b0d9934c502
refs/heads/master
2023-09-01T11:04:23.224791
2021-10-27T20:11:15
2021-10-27T20:11:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
from django.db import models # Create your models here. class URLShortner(models.Model): link = models.TextField(max_length=100000) uuid = models.CharField(max_length=10) def __str__(self): return self.uuid
[ "pro.sahaib9747@gmail.com" ]
pro.sahaib9747@gmail.com
bff32a13096803e1b074e49cecebb181d4d6913f
785a06d576cd4f7486a8a4306481392d0b65f621
/0x06-python-classes/0-square.py
b295cba0972b97fb25477fe35a3935cfbf691fec
[]
no_license
LauraPeraltaV85/holbertonschool-higher_level_programming
7c3d0a99c2dbd4f2f6951999634dbc2ae9acf1c4
264fe99bf5fc128d2faf59057e9062c2408e6065
refs/heads/master
2021-07-21T07:49:24.049890
2020-08-19T00:07:20
2020-08-19T00:07:20
207,329,486
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
#!/usr/bin/python3 class Square: """Empty class that defines a squares""" pass
[ "=" ]
=
c3f0599a81e8b53fa9132efeb23e2ef17af55d83
9b98b2f357a8b3311d51b74089bd7b6b2eb107ab
/Python Codes/teapot_optimized.py
d1ac296ecb4a99e81ac97febb5ecc67c757954ed
[]
no_license
shivam-grover/Eyantra-Thirsty_Crow-Team_ID-972
65010b9fca267b903ccc6bb29b3878adea205dfd
a6f0f3ec5a9cb5e3d5f8d694bba53137a23e8b4e
refs/heads/master
2021-10-27T12:01:41.261582
2019-04-17T03:49:21
2019-04-17T03:49:21
157,661,451
1
1
null
null
null
null
UTF-8
Python
false
false
11,792
py
""" ************************************************************************** * E-Yantra Robotics Competition * ================================ * This software is intended to check version compatiability of open source software * Theme: Thirsty Crow * MODULE: Task1.1 * Filename: ...
[ "noreply@github.com" ]
shivam-grover.noreply@github.com
6e23c5de1d7411fa2a34e57a9a50d0e75aa00440
abc422f58ad053bcbb6653ba15b66e46d220a199
/serial_scripts/rsyslog/mylogging.py
d5ca62ae2331a8ee83e6c2ec8c2eda766a56adab
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
tungstenfabric/tf-test
d3efff59bca931b614d0008260b2c0881d1fc009
4b9eca7eb182e5530223131ecab09d3bdf366407
refs/heads/master
2023-02-26T19:14:34.345423
2023-01-11T08:45:18
2023-01-11T10:37:25
265,231,958
8
22
null
2023-02-08T00:53:29
2020-05-19T11:46:12
Python
UTF-8
Python
false
false
3,406
py
#!/usr/bin/python2.7 from __future__ import print_function from builtins import str from builtins import range import syslog import random import time import sys def send_10_log_messages_with_delay(): syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_MAIL) for ind in range(10): msg = str(i...
[ "andrey-mp@yandex.ru" ]
andrey-mp@yandex.ru
0bb96f30a42e50bc0408cf4a6f607b6796d6546d
edf91e2614f0bf0dbfea1c77d2f41add5a14fac1
/twitterino/twitterino/urls.py
5e36063f9d99be119b11bcd0d2d3164226497241
[]
no_license
Razhelq/Twitterino
c5c4a9de47566a21240f1de316c9cb980b9fe01d
88269625aa2306f58c197477f3d682db270ca469
refs/heads/master
2020-03-26T18:23:15.149839
2018-08-27T19:59:57
2018-08-27T19:59:57
145,210,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,831
py
"""twitterino URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "mateuszszpakowski@wp.pl" ]
mateuszszpakowski@wp.pl
6f599a1d19033673865ff49df26e57b170a4a4c0
1b20455d8e80e70ad101644adf72123572558bc1
/app.py
38dbd465d0fe9e09d875e7b8cc7e2336cc59162d
[]
no_license
techcoderunner/s3-lambda-event-sample
bfa7bb6ef6de8c66fea4f67a232757b7b53a1d23
d832293cf6e05f18db61c1b834514e6ec89e1add
refs/heads/master
2022-05-25T12:12:36.286752
2020-04-27T16:13:04
2020-04-27T16:13:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
#!/usr/bin/env python3 from aws_cdk import core from s3_lambda_event_sample.s3_lambda_event_sample_stack import S3LambdaEventSampleStack app = core.App() S3LambdaEventSampleStack(app, "s3-lambda-event-sample",env={'region': 'ap-south-1'}) app.synth()
[ "Rashmi.Jamadade@teradata.com" ]
Rashmi.Jamadade@teradata.com
de869b069c66146da83205a95ae39c151a1dab0d
4c89d3ea51082d8beb05f7d4b89295d31e1dd241
/wagtail/wagtailredirects/views.py
c88de70283be4924ba6e651fd0431273cb9b8a44
[ "BSD-3-Clause" ]
permissive
simaojf-dellent/wagtail-1.3.1
69fb08addf9c1369122f1a734429aebfc77430f7
f84134f19774ddea2cc4de408582d4cbf0ebcf7a
refs/heads/master
2021-01-12T06:33:05.253443
2016-12-26T16:07:45
2016-12-26T16:07:45
77,381,143
0
0
null
null
null
null
UTF-8
Python
false
false
3,982
py
from django.shortcuts import render, redirect, get_object_or_404 from django.utils.translation import ugettext as _ from django.views.decorators.vary import vary_on_headers from django.core.urlresolvers import reverse from wagtail.utils.pagination import paginate from wagtail.wagtailadmin.forms import SearchForm from ...
[ "patricio-fernandes@dellentconsulting.pt" ]
patricio-fernandes@dellentconsulting.pt
3cd7e9bdfdb3f39bde5b3be9f9d914040e221895
d2b3bfce1d6ae568d019245bd7a0d8edc9af0a15
/articles/views.py
b26b3626d278d33497df36d97a08e3af128c23a5
[]
no_license
nvelichkin/DjangoBlog
58ca5e2bd9fc3c397c11e290d89e8a1a570fbf58
b8624cb8b226ce011d81ffe3da7547bcd7d7efda
refs/heads/master
2021-07-21T14:48:21.145525
2017-10-28T13:28:25
2017-10-28T13:28:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,692
py
from .models import * from django.shortcuts import render, redirect from django.http import Http404, HttpResponse from django.contrib.auth.models import User from django.contrib.auth import authenticate, login # Create your views here. def archive(request): return render(request, "archive.html", {"posts": Articl...
[ "bashka389@gmail.com" ]
bashka389@gmail.com
6bfd1c5183aa706f998839766d337607080cb8bd
50a4423ce551b125fc062d84077a8457fbe21be3
/work_spider/util/langconv/zh_wiki.py
c831fae4f9a61b5eb11109d04dfbbb88d167c180
[]
no_license
zhenglanfang/spider_project
15c247b0e14803d40fca17a65219a0fc4245279d
7108662aafff9f971928e4acda7781ac7b76d250
refs/heads/master
2021-01-25T11:28:07.782535
2018-07-04T02:21:40
2018-07-04T02:21:40
123,399,309
0
1
null
null
null
null
UTF-8
Python
false
false
143,277
py
# -*- coding: utf-8 -*- # copy fom wikipedia zh2Hant = { '铺':'舖', '呆': '獃', "打印机": "印表機", '帮助文件': '說明檔案', "画": "畫", "板": "板", "表": "表", "才": "才", "丑": "醜", "出": "出", "淀": "澱", "冬": "冬", "范": "範", "丰": "豐", "刮": "刮", "后": "後", "胡": "胡", "回": "回", "伙": "夥", "姜": "薑", "借": "借", "克": "克", "困": "困", "漓": "漓", "里": "里", "帘"...
[ "lanfang.zheng@mrs.ai" ]
lanfang.zheng@mrs.ai
81b87030e4f49031523e25eeadd2033600229db8
ec00584ab288267a7cf46c5cd4f76bbec1c70a6b
/Django/webapp/webapp/urls.py
b992ee479948a6c3cd42bf76a7571f15eb468e76
[]
no_license
rahuldbhadange/Python
b4cc806ff23953389c9507f43d817b3815260e19
7e162117f1acc12537c7eeb36d6983d804122ff3
refs/heads/master
2021-06-23T05:04:20.053777
2020-01-28T10:34:28
2020-01-28T10:34:28
217,307,612
0
0
null
2021-06-10T22:44:11
2019-10-24T13:35:42
Python
UTF-8
Python
false
false
1,494
py
"""webapp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "46024570+rahuldbhadange@users.noreply.github.com" ]
46024570+rahuldbhadange@users.noreply.github.com
ba84e51bc7bf0a2d37b2022de76f9c7bd937fab0
89dcfb1af881cfda7b9bfc9a1babf8f36d665cf5
/app6/Not_app/exercise1.py
d2a2261c3dca85f07c629177e4be5ffc6ff8c6f7
[]
no_license
AvyanshKatiyar/megapython
5be6104f78dea06093a6d499ec23f6fecdcc3525
928defe72da59c58de82a71f85f0bad9ca080914
refs/heads/master
2023-02-26T04:35:18.553701
2021-01-29T14:33:53
2021-01-29T14:33:53
329,606,121
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
#resizes all images in the directory import cv2 import glob all_file_names = glob.glob("sample_images/*.jpg") print(all_file_names) for filename in all_file_names: img= cv2.imread(filename, 1 ) resized_image = cv2.resize(img,(100, 100)) cv2.imwrite(f"{filename[:-4]}_resized.jpg", resized_image)
[ "avyanshkatiyar@gmail.com" ]
avyanshkatiyar@gmail.com
02fe2f8f0c81c0e2c94b762ff4dbe94e7b537f33
625a978da66de7ee9054a360492455f2abd438c5
/backend.py
5588c7389e7d02bffa1129bf13922d1bf35f72d9
[]
no_license
DeVoe-byte/Bookstore-GUI
7d4de7c22977f6c968a75c3ae8d10ac0dc76afee
08f723585f957bba8cc534e74c939b7100c87a9c
refs/heads/main
2023-06-04T11:33:34.435794
2021-06-28T13:23:09
2021-06-28T13:23:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
import sqlite3 class Database: def __init__(self,db): self.conn=sqlite3.connect(db) self.cur=self.conn.cursor() self.cur.execute("CREATE TABLE IF NOT EXISTS bookstore(id INTEGER PRIMARY KEY , title text , author text, year integer , isbn integer)") self.conn.commit() ...
[ "noreply@github.com" ]
DeVoe-byte.noreply@github.com
a4864319528ea6eedb76e88579add3f1820a7ce0
7ba8f2512eda33326fb9ccb3e338d4f078eff5d2
/config.py
f6c3d08348adf3ea65b5465a05679bacf83f46c8
[]
no_license
elinaldosoft/sync_cassandra_elasticsearch
1158d41585d525cabba3f8664fc5d4c0432b4962
33292357142543c8ed7951d96cf1a4b9ff18e6a1
refs/heads/master
2021-06-09T08:20:19.137827
2015-06-29T19:32:53
2015-06-29T19:32:53
31,242,298
1
0
null
2021-06-01T21:44:49
2015-02-24T02:59:33
Python
UTF-8
Python
false
false
993
py
#! /usr/bin/python # -*- coding: utf-8 -*- __author__ = 'elinaldo' from elasticsearch import Elasticsearch """ http://datastax.github.io/python-driver/api/cassandra/cluster.html """ CASSANDRA = { 'IP': ['127.0.0.1'], 'DB': u'cassandra_db', } """ https://elasticsearch-py.readthedocs.org/en/master/api.html#glob...
[ "git@li798-221.members.linode.com" ]
git@li798-221.members.linode.com
0aa9d2bdb669e4233d1f34d05673e4ec31234d57
7808d2f1bc4d890938278eab5846da4108d165b7
/Rec/website/website/settings.py
c2f947fcc4aa33ef8dd9ebbb0305ac2a9d684eae
[]
no_license
KarlRixon/MovieLens_RecSys
4fe8d6906fb14a18990a6d897e94ff287600d7b8
7605f7620d1fb884c037f775cb71d303fe0ed56a
refs/heads/master
2021-05-24T16:35:33.373101
2020-04-25T12:06:25
2020-04-25T12:06:25
253,657,746
0
0
null
null
null
null
UTF-8
Python
false
false
3,762
py
""" Django settings for website project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ im...
[ "2434685393@qq.com" ]
2434685393@qq.com
0588499572b5db43202033b8b7e52943684e02b8
6811dc616a18898f565ee1e59f52a889da2b4d47
/clog/urls.py
7e24d23a5403e98aa3fd5f1454f3dabc71e0531f
[]
no_license
rtreharne/clog
163e28b8e387e7f2fe926d88e28972c115294508
69320d929d96fd291e6da8fc11023d14da998655
refs/heads/master
2021-01-10T18:24:16.863481
2015-08-18T13:58:07
2015-08-18T13:58:07
40,085,671
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
from django.conf.urls import patterns, include, url from django.contrib import admin from django.conf import settings urlpatterns = patterns('', url(r'^$', 'clog.views.home', name='home'), url(r'^admin/', include(admin.site.urls)), url(r'^user/', include('profiles.urls')), url(r'^upload/', include('upl...
[ "R.Treharne@liverpool.ac.uk" ]
R.Treharne@liverpool.ac.uk
3d74cfe83f47c3ca2637e2f6ece134fe923e052c
126456d21ae5b8c58eec084fdb595353a4dbc35b
/openslides_backend/permissions/permission_helper.py
5b72c70528aef0172de11bc2a7eee6c4eddd86af
[ "MIT" ]
permissive
FinnStutzenstein/openslides-backend
7f50667e5001733c9c955e2775b135c32a4466c5
fffc152f79d3446591e07a6913d9fdf30b46f577
refs/heads/master
2023-07-08T01:19:20.710441
2021-04-08T10:51:10
2021-04-08T10:51:10
271,211,208
0
0
MIT
2020-06-10T07:39:20
2020-06-10T07:39:19
null
UTF-8
Python
false
false
2,921
py
from typing import List from ..services.datastore.commands import GetManyRequest from ..services.datastore.interface import DatastoreService from ..shared.exceptions import PermissionDenied from ..shared.patterns import Collection, FullQualifiedId from .permissions import OrganisationManagementLevel, Permission, permi...
[ "noreply@github.com" ]
FinnStutzenstein.noreply@github.com
f2836bb9ea59828b0765647f8692b4473ddbe64b
d1134f71f464e38bc75d34c7972b6fb55c361366
/PYTHON/allContacts.py
74ec013fa82b74404e5d72a64ca2e61306602806
[]
no_license
deolekarmayuresh/Zoho-Desk-API
3bf2f899cc5a21900f079364d0cfa4fb53d44f02
77147d206c5b22c59ac06306d5ceff78b89a0adb
refs/heads/master
2020-12-21T21:23:26.287504
2020-02-25T14:45:03
2020-02-25T14:45:03
236,566,355
1
0
null
null
null
null
UTF-8
Python
false
false
572
py
import requests auth_token="59550a0e2b1a864a31bef962363e029f" #YOUR_AUTH_TOKEN org_id="652853630" #YOUR_ORGANISATION_ID params="sortBy=firstName&limit=15" headers={ "Authorization":auth_token, "orgId":org_id, "contentType": "application/json; charset=utf-8" } request=requests.get('https://desk.zoho.com/...
[ "mayureshdeolekar.md@gmail.com" ]
mayureshdeolekar.md@gmail.com
e9d169335a5f914f653a37844eac60d56eb8136e
b96ed10d6247e22d4fa1d28bc3314bc319d3109c
/LessonSample/chapter12/03_进程池.py
2ba823ca2fd1e127c6f7ef24b29591aaddf7cb6d
[]
no_license
13555785106/PythonPPT-01
ac1b22b9b1851f2b3ea6e4ab0a100e5f6896ee8c
40e5883f248cb342f3a7fc7ad12ba02ebde4c619
refs/heads/master
2020-04-26T16:49:59.675964
2019-03-04T07:16:21
2019-03-04T07:16:21
157,095,747
4
0
null
null
null
null
UTF-8
Python
false
false
941
py
#!/usr/bin/python # -*- coding: UTF-8 -*- import os import random import time from multiprocessing import Pool def run(name): print("子进程%d启动--%s" % (name, os.getpid())) start = time.time() time.sleep(random.choice([5, 7, 9])) end = time.time() print("子进程%d结束--%s--耗时%.2f" % (name, os.getpid(), end ...
[ "312655424@qq.com" ]
312655424@qq.com
384e15fbdaa55431540d81542c3cbb215c0f67a0
70cb76fbbee81dcf8beeb531d98fbeaf9f97cbd7
/PASTA.py
83a0f2cd06163481b5ef2ed5d8c230e2703fbdf4
[]
no_license
someshsharma63/Restaurant-System
05ec858eafcaf883317c371a21ed2b9b6ac8cb09
c83416a98c0b5ab7ad140c12a8392ecc10bb3825
refs/heads/master
2020-08-07T23:59:23.158702
2019-10-08T12:10:35
2019-10-08T12:10:35
213,632,040
0
0
null
null
null
null
UTF-8
Python
false
false
2,130
py
from tkinter import * root=Tk() root.title("Pasta") root.geometry("500x500") framePasta=Frame(root) framePasta.pack(side="right",fill=BOTH,expand=True) ButtonCHEESEPASTA=Button(framePasta,text="CHEESE PASTA",width="15",font=("calibri",17,"bold"),height=5) ButtonCHEESEPASTA.grid(row=0,column=0,sticky="nsew"...
[ "noreply@github.com" ]
someshsharma63.noreply@github.com
8458e2e8286ca685608a32c0a0d73a4550dbfb9d
8240b06d31eec50797c29d5a10ad0c76956891dd
/redact_logs.py
f1ae36ff949d45b160395aa535dc29b474457952
[]
no_license
kalina/log_redactor
770eaf91400d06482b8b77e793c4a3495f71b47a
b6100c0df02bc2674bcf6457f103447c7d21c0d3
refs/heads/master
2021-07-14T19:07:48.345527
2017-10-18T22:35:43
2017-10-18T22:35:43
107,451,605
0
0
null
null
null
null
UTF-8
Python
false
false
4,140
py
#!/usr/bin/env python import argparse import datetime import gzip import logging import os """ Redacts lines from files (likely log) containing the specified fields. """ def process_files(args): """processes files from the argument removing lines and log the results """ for f in args.files: #...
[ "drew.kalina@nike.com" ]
drew.kalina@nike.com
679b253d7f74808791e9fb785f946b825d3f2d31
ffefea09bc3bcbf02abcbc8c8eee1d5f32c3b857
/dtn/MNIST_USPS_p1/queuer.py
b2ea71dbb8960ce9301f882e6ddb469e1fe00875
[ "MIT" ]
permissive
elchico1990/domain_sampler_nets
0b51a6d5ee0ea02b72c7ae7595f3ac2a5b8dbeff
51103462f2f28125b50b81af8a759c1dac46531d
refs/heads/master
2020-03-16T18:59:25.179460
2018-03-21T09:53:32
2018-03-21T09:53:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
import zmq import sys def main(): context = zmq.Context() queuerBe = context.socket(zmq.DEALER) queuerBe.bind('tcp://*:5570') queuerFe = context.socket(zmq.ROUTER) queuerFe.bind('tcp://*:5560') poll = zmq.Poller() poll.register(queuerFe, zmq.POLLIN) while True: ...
[ "rvolpi@capri11.Stanford.EDU" ]
rvolpi@capri11.Stanford.EDU
58881bd351dcea4ee757f3d9e6d5131f643fa74a
0df1ccb1af31d5ce9d32af640ad948525ddc9ac3
/session.py
5689aded565c670bed65a3fb531cc0359f6cd362
[ "Apache-2.0" ]
permissive
SsureyMoon/Python-GoogleAppEngine
0d5b6bb8252aed14de9c1df26964905ece6bb80f
8afd367fcaf379a63f39e0077a75c3d06543a744
refs/heads/master
2020-04-06T21:55:44.552332
2015-06-20T08:04:12
2015-06-20T08:04:12
37,762,607
0
0
null
null
null
null
UTF-8
Python
false
false
24,096
py
import json from datetime import datetime from itertools import ifilter import endpoints from google.appengine.api import memcache from google.appengine.ext import ndb from protorpc import messages from protorpc import message_types from protorpc import remote from core import EMAIL_SCOPE, API_EXPLORER_CLIENT_ID,\ ...
[ "ssureymoon@gmail.com" ]
ssureymoon@gmail.com
3d16576478fa4173a6b4ac13bd24082a5243908a
507e9728307439fa3b343de015237e2f179b0032
/hospital/api/AConfig.py
9fa547be309e9abd3052ecb9319676517a13cbcb
[]
no_license
haobin12358/hospital
3075f31c4ed527190292f2655350ef0bbc9ac7f3
9705e03eaf9514eb47f1d44d2bbe18ccf5cd5b30
refs/heads/master
2022-12-14T01:48:56.759520
2021-03-02T04:00:47
2021-03-02T04:00:47
245,367,609
2
1
null
2022-12-08T03:45:40
2020-03-06T08:32:44
Python
UTF-8
Python
false
false
1,128
py
# -*- coding : utf-8 -*- from hospital.extensions.base_resource import Resource from hospital.control.CConfig import CConfig class AConfig(Resource): def __init__(self): self.cconfig = CConfig() def get(self, config): apis = { "list_banner": self.cconfig.list_banner, "g...
[ "1276121237@qq.com" ]
1276121237@qq.com
1bdc224dca8b596ac6e94359d90f12c8b5e1815f
631901398be90a2dda7b703e8229165e719dae7f
/orm/entities/Area/__init__.py
fb86137b571e9985fd20e226197292e6b653f21d
[]
no_license
hevayo/results-tabulation-api
4b22cc7cb3c535862429fef84422e97e1ca5890a
939c1cbd360fd908dcdf563623ee91393959bcd5
refs/heads/master
2020-08-08T22:58:34.133675
2019-11-02T07:54:07
2019-11-02T07:54:07
213,940,023
0
0
null
2019-10-09T14:27:02
2019-10-09T14:27:00
null
UTF-8
Python
false
false
15,851
py
from app import db from sqlalchemy.orm import relationship, aliased from sqlalchemy import and_, func, or_ from orm.enums import AreaTypeEnum from orm.entities import Election from sqlalchemy.ext.hybrid import hybrid_property class AreaModel(db.Model): __tablename__ = 'area' areaId = db.Column(db.Integer, pr...
[ "l.dinukadesilva@gmail.com" ]
l.dinukadesilva@gmail.com
9d59bed8d06382c07e4a5134ae0c40d289c3960c
6366f8d344d88101ebb5d6c1dfe77dc8cf81d265
/Test85.py
f9d53816010c2d441505db1888f164b75f98930e
[]
no_license
bobbypt05/ICE---HRM-Testing
54ccf28b6cd9fdc5ceb49bd115baa250d2a7323f
c8d061eb62ee7465cb614ea85012391c4bd83976
refs/heads/master
2020-09-09T07:53:02.418745
2019-11-13T01:24:33
2019-11-13T01:24:33
221,392,192
0
0
null
null
null
null
UTF-8
Python
false
false
3,203
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...
[ "bobbypt05@gmail.com" ]
bobbypt05@gmail.com
bc2a86c16fdc46755d1f68ef3d15c959ac845b19
b2ed893d04f04eeaf7209187133de7431c476a96
/user_net/activity_info.py
94dc0c294de672dfcb333926cf41fa221e1c7235
[]
no_license
liruikaiyao/workshop
4b5221259f59ad504d87d73c31f5fa0e58d4a1f0
6dbde74e35ef02f5e92c76dcdd1909f1d0afb89e
refs/heads/master
2021-01-17T16:09:13.248109
2015-08-05T09:43:21
2015-08-05T09:43:21
23,420,887
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
# coding=utf-8 __author__ = 'Carry lee' from collections import Counter import datetime import urllib2 import json from config.db import ICCv1, sh, utc api_url = u'http://api.map.baidu.com/geocoder/v2/?ak=' parameter = u'&output=json&coordtype=wgs84ll&location=' ak = 'SIpMcORCSogM916QMOz5tx7S' weixin = ICCv1['weixi...
[ "liruikaiyao@gmail.com" ]
liruikaiyao@gmail.com
eac10a806ad58329f8f11936dda99609b1065f55
7b5828edda7751700ca7002b40a214e39e5f48a8
/EA/simulation/interactions/object_retrieval_liability.py
2f36b95318e52aa7996e4d60ba902bea61025b51
[]
no_license
daniela-venuta/Sims-4-Python-Script-Workspace
54c33dac02f84daed66f46b7307f222fede0fa62
f408b28fb34626b2e3b2953152343d591a328d66
refs/heads/main
2023-03-29T18:08:39.202803
2021-03-30T19:00:42
2021-03-30T19:00:42
353,111,243
1
0
null
null
null
null
UTF-8
Python
false
false
7,849
py
import build_buy import enum import services import sims4 from element_utils import build_element, CleanupType from interactions import ParticipantType, ParticipantTypeSingle from interactions.aop import AffordanceObjectPair from interactions.base.interaction_constants import InteractionQueuePreparationStatus from inte...
[ "44103490+daniela-venuta@users.noreply.github.com" ]
44103490+daniela-venuta@users.noreply.github.com
58283a877c92264ed11f230941d6d677d08e6af0
c829213e49a18c1b5b8fbfb37bcad4258b2c6fba
/CoderParadise/users/forms.py
c1af099f0d7e8e466087cea2022933382661a095
[]
no_license
NTUST/108-team5
f6b8ee29fceb0bd63278f690ba9723cb0e81c28d
e71dcca6ffeb5f73c769337b22938f15b453f064
refs/heads/master
2022-12-11T09:57:41.809315
2019-06-19T15:15:32
2019-06-19T15:15:32
172,817,739
6
0
null
2022-11-22T03:50:44
2019-02-27T01:12:56
HTML
UTF-8
Python
false
false
921
py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from .models import UserProfile from django.core.files.images import get_image_dimensions from ckeditor.fields import RichTextFormField class UserRegisterForm(UserCreationForm): email = forms...
[ "leoxz02leo@outlook.com" ]
leoxz02leo@outlook.com
7db06e472032ce8391e3363466790dae510de469
66d0559da61eb9d09ef3bda297b7e3aaf7549e4d
/ClientCode_19.9.9/ChangeThemeWin.py
00b12c9872d5c4ee12472a1c39ac227b799ec391
[]
no_license
HappyPointer/Spam-Recognition-System-19
d7eb1984678b5f892d7c336034839f06f38afa22
fd6f6dbf1c80141ad225446304f3c4c65a515dc8
refs/heads/master
2020-07-07T07:02:55.191812
2019-09-10T14:41:44
2019-09-10T14:41:44
203,285,870
3
2
null
2019-09-09T01:45:02
2019-08-20T02:37:34
Python
UTF-8
Python
false
false
16,344
py
""" 说明:换肤窗口,为用户提供多种个性装扮。当用户点击主界面MainUI中右上角的换肤图标时跳出本窗口, 用户点击本窗口中的任意主题并确认即可换肤 作者:71117205丁婧伊 创建时间:2019/9/8 8:23pm 最后一次修改时间:2019/9/10 9:35am """ import traceback from functools import partial from PyQt5.QtCore import Qt, pyqtSignal from PyQt5.QtGui import QCursor, QPixmap, QIcon from PyQt5.QtWidgets import QW...
[ "noreply@github.com" ]
HappyPointer.noreply@github.com
d1d4037b3e971877ea2970f5fd6932bfc9f2ecb8
6768db30b642e8ee8f128d0854d08c4d33debbad
/blog/migrations/0001_initial.py
98a12c3ec86c20b6a18e440ba08e93fe40ea9fc3
[]
no_license
S3817852/Notification
b850bface709b2949154d5a5e4a0b22c2cfdfbfc
b358c85b88c31c0d2dca99cade452963f6258075
refs/heads/main
2023-04-23T15:31:45.785122
2021-05-06T18:41:33
2021-05-06T18:41:33
362,190,179
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# Generated by Django 3.2 on 2021-05-03 08:12 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models.BigAutoField...
[ "s3817852@rmit.edu.vn" ]
s3817852@rmit.edu.vn
327256d7a433ba37df241987b159a68ca5fe7e81
edc576c94b2724a98cc5e49a9ac3209133ae544c
/deepfacet/mlb_DodecahedronGeometry.py
6a7b127c1102e1e5866aaf4e68f821181954b874
[]
no_license
alexahs/DeepFacet
980c105269a754a009fd8a2167cfddb2f81a9631
ce6f43155387fc6f6b309aa23e911189b0182a7e
refs/heads/main
2023-08-20T07:51:16.692144
2021-10-18T16:42:18
2021-10-18T16:42:18
401,029,896
3
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
from molecular_builder.geometry import PlaneGeometry import numpy as np class DodecahedronGeometry(PlaneGeometry): """ Taken from molecular builder source code: https://github.com/henriasv/molecular-builder/ A convex rectangular dodecahedron geometry to be used for silicon carbide (SiC). :param d:...
[ "alexander.sexton@infomedia.dk" ]
alexander.sexton@infomedia.dk
76f8ac209548c5d2c1fd9f573f7d8158456d853f
42eace12c1d6b54b775e1ff9dce9a1726b5048d0
/job/migrations/0002_auto_20181206_1218.py
0b0685dae1af7fa9f9eba1916eb6462666c93f3c
[]
no_license
macmohan26/PortfolioBlogwebapp
c9b9936cb638c2eb672667114fdaa4680b47b932
ff5675d304edb13c29ff725fbb8aa9155402054a
refs/heads/master
2020-04-11T14:29:07.023266
2018-12-15T02:07:10
2018-12-15T02:07:10
161,856,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
# Generated by Django 2.0.5 on 2018-12-06 17:18 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "mrathore@unomaha.edu" ]
mrathore@unomaha.edu
078c96a9b10e7f7913654e533eeda707766c6979
72b4f3ae71dcc6cc39c1987bd3550e02d364b43e
/VOC2012_AUG/utils.py
e28b906c5b9e3325e91005dd1b38ae1df9087535
[]
no_license
tangzhenjie/deeplabv3
6f462a2554a7038319ed0b0e7ed5d02b25592404
fc7158f82f8712268d2acb0683e9f00a2686dfa4
refs/heads/master
2020-06-19T17:53:17.266676
2019-08-07T02:19:43
2019-08-07T02:19:43
196,810,231
2
0
null
null
null
null
UTF-8
Python
false
false
3,669
py
#!/usr/bin/env python # Martin Kersner, m.kersner@gmail.com # 2016/03/11 import scipy.io import struct import numpy as np def pascal_classes(): classes = {'aeroplane' : 1, 'bicycle' : 2, 'bird' : 3, 'boat' : 4, 'bottle' : 5, 'bus' : 6, 'car' : 7, 'cat' :...
[ "2819786276@qq.com" ]
2819786276@qq.com
31cdcf71be688cfac6a59016037fa0c88fbc9eec
6dfdacb37c29778768c1384e88a7bb40a60ffd9f
/CS_AppsStore/project_env_appstore/lib/python3.7/site-packages/CS_AppsStore/tycho_nextflow/deployment.py
b3ef401b74ab3f71d21760201696de8bc080f920
[]
no_license
ananyagithub2/test_allauth
03235a77e4d92ef0fb15d7ac02f6a31cb9bef85c
1266742505e27d4329222cadebab982ce85d1d67
refs/heads/master
2022-04-03T02:12:28.322767
2020-02-24T16:12:01
2020-02-24T16:12:01
242,587,241
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
import os import yaml from tycho.client import TychoClientFactory import time from django.http import HttpResponseRedirect def deploy(): try: client_factory = TychoClientFactory() client = client_factory.get_client() tycho_url = client.url print(f"TYCHO URL: {tycho_url}") exce...
[ "ananyam@rciadmins-MacBook-Pro.local" ]
ananyam@rciadmins-MacBook-Pro.local
73676db8fb5ad6d93116521e45d1b67101bb0caf
5ba91f39171497a9ee26567eee0627a5b9134ccf
/vis.py
c1cb615b535e179b21210f466a5f510cec66a491
[]
no_license
agrafix/grabcite-net
bade98be3bce947701e14bd6ad48ad350234d608
4fa9c81d5c46114a981edab19a3c1b6e07f85a41
refs/heads/master
2021-03-27T08:45:30.067163
2017-10-08T21:22:55
2017-10-08T21:22:55
93,861,790
3
1
null
null
null
null
UTF-8
Python
false
false
5,396
py
# visualise a data set # local imports import prepare_data as pd from config import data_glob # package imports import glob import numpy as np from tqdm import tqdm import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt plt.style.use('ggplot') # std lib from collections import Counter from urllib.r...
[ "mail@athiemann.net" ]
mail@athiemann.net
a99f22fac472b6feaf6d196d7ba23b1ceea6c804
991a7fc38847c51b9c44ad2abf7f8a4dd4a75d3f
/vnpy/app/cta_crypto/__init__.py
ddb80071b8ece5d87252dcfdfb8f6c43dbc4d66b
[ "MIT" ]
permissive
alexfordc/lee_vnpy
0e15a09432d101b719540ef252a3907e22c023a1
55e2f60aee94682a08e2c10bdd927e436811382c
refs/heads/master
2021-05-17T21:44:47.897021
2020-03-29T05:28:10
2020-03-29T05:28:10
250,966,103
0
1
MIT
2020-03-29T06:08:30
2020-03-29T06:08:30
null
UTF-8
Python
false
false
632
py
from pathlib import Path from vnpy.trader.app import BaseApp from .base import APP_NAME, StopOrder from .engine import CtaEngine from .template import ( Direction, Offset, Status, Interval, TickData, BarData, TradeData, OrderData, CtaTemplate, CtaFutureTemplate) # noqa from vnpy...
[ "123122492@qq.com" ]
123122492@qq.com
29ef0030765216e8ee664d7ecb0a5486c0605619
6e5590d564125dc9261d6749ea896acf2e70c019
/release/create-constraints.py
91b80821357ddcfe120340469fd1aa23488c1c31
[]
no_license
andreasma/buildout.coredev
fdf6355b3e9f9732dad6d238b18f6aef22866b34
1030e2ec271b91484eb774f9c97ca6eaada44d79
refs/heads/5.2
2021-12-29T07:18:41.440633
2021-12-06T08:20:02
2021-12-06T08:20:02
240,798,449
0
0
null
2020-02-18T16:14:02
2020-02-15T22:45:09
Python
UTF-8
Python
false
false
2,020
py
# -*- coding: utf-8 -*- """Parse versions from buildout.cfg and write them into constraints.txt. This script is called by 'tox -c release/tox.ini -e constraints2' or constraints3 It must work in both Python 2 and 3. Manual usage: bin/python create-constraints.py zc.buildout needs to be importable in that python. """...
[ "maurits@vanrees.org" ]
maurits@vanrees.org
be3079255ff0c6f0516f22a40d69ef50e6948839
9515a4c50d24b0dbbbd03d307bb7cfa7ef800c64
/manage.py
e644d48503620106cf4cc0a910b0625bea02e1f7
[]
no_license
zlzr200599/Test_dJango
6df0295a98b2c1ebca1a30b99fd93944d482b027
7cf428a81bf709cb6eb44e117d21118e9398628b
refs/heads/master
2021-01-21T11:16:16.141855
2017-03-01T10:55:56
2017-03-01T10:55:56
83,544,668
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Test_dn.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "zlzr200599@gmail.com" ]
zlzr200599@gmail.com
a9f4fef1e4376bfc10ef1a75e7fe509d20b30fac
1e0e610166b36e5c73e7ff82c4c0b8b1288990bf
/mail/mail02.py
dbc58ae4fa61f846897bc4421ee3a39ac60cfbbc
[]
no_license
PythonOpen/PyhonProjects
4ef1e70a971b9ebd0eb6a09e63e22581ad302534
ede93314009564c31aa586d2f89ed8b1e4751c1b
refs/heads/master
2022-05-20T23:21:03.536846
2020-04-27T00:59:32
2020-04-27T00:59:32
250,142,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
from email.mime.text import MIMEText import smtplib # MIMEText三个主要参数 # 1.邮件内容 # 2.MIME子类型,在此案例我们用plain表示text类型 # 3.邮件编码格式 main_content=""" <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <h1>这是一封H...
[ "1083138609@qq.com" ]
1083138609@qq.com
91d54ca42f1b60b27b644774e15e6df0c31cf44e
f5d26e1403de16e8bcb022b954ab8f68e8b6733e
/comments/python_comments.py
66d6eed9005fd1fe785bf4c0e8f60d119bbddc65
[ "Apache-2.0" ]
permissive
aryanz-co-in/python-comments-variables-type-casting-operators
823fe24e840ddc68b7c7a82c6a4cf10a37d6739b
cdc1ccdb6ccc32c539b988e9169c6ff7d585bea2
refs/heads/main
2023-02-25T11:11:05.448802
2021-01-31T13:19:18
2021-01-31T13:19:18
330,080,631
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
# Python Comments # Single line comment print("End of line comment, which will ignore anything after # and treat is as comment \n\n") # End of line comments # This # is # Multi line comments print("Multi line comment is nothing but using the # to be prefixed at start of the line.\n\n") """ Well this is also a...
[ "balamurugan.th@gmail.com" ]
balamurugan.th@gmail.com
7080cff6932dd365f3332a5487091c0646eb9781
aae9baf451966e81ad48846f5df123351fefe3d1
/test_circle.py
ca1ce892406841b4bde33c55a5b4c149f3a12f36
[]
no_license
7esting/py-repo
39b50ebb71d628bdb8710573c38076ecf1325fcc
94e413a9f4bbb4b05240ce7fbc2935620372c35d
refs/heads/master
2020-04-08T11:23:44.136753
2019-01-30T08:19:07
2019-01-30T08:19:07
159,303,262
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
"""Unit Tests. \"Trust but verify.\" - Shakesphere.""" # File name: test_circles.py import unittest from circles import circle_area from math import pi class TestCircleArea(unittest.TestCase): def test_area(self): # Test areas when radius >= 0 self.assertAlmostEqual(circle_area(1), pi) self.assertAlmostEqual(ci...
[ "7esting@gmail.com" ]
7esting@gmail.com
4084290fcf60c4bc0684288c02b15d7f93ae83dd
4c9f6ec19e36e0791f7970e8863fc6e4bec3641e
/Py-backup/TVD_png2docx.py
82a2ad268a126fb352df356f1eddd66e46c5afc7
[]
no_license
vivlavie/PyPHAST
cd7e75ad8ef135609d91b9101d256a1d51a54602
809f4fce0e8b73d44d34952408a17e5e846e55e3
refs/heads/master
2022-07-10T09:12:57.742156
2020-05-08T13:49:44
2020-05-08T13:49:44
260,618,659
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
from openpyxl import load_workbook import dill from docx import Document from docx.shared import Cm, RGBColor, Pt from docx.text.run import Font, Run # from docx.dml.color import ColorFormat import re def slugify(value): """ Normalizes string, converts to lowercase, removes non-alpha characters, and conve...
[ "dr.sunghoon.kim@gmail.com" ]
dr.sunghoon.kim@gmail.com
a907b10a10fa739cebb6a2d9d28ef3ddc01bc2f9
e770533cc7d8517134d6f9159f5f9e52747c7153
/python/04selenium/selenium014.py
88e3348deb7fa6521253c9474ea652722cafae13
[]
no_license
code1990/bootPython
5d878f7fac8aaa09a2b9e4a6d50a3c0f86c6dea5
e5debd59b07a2c713f3e692aa4f44a9d2e5baeae
refs/heads/master
2022-07-27T04:31:00.292692
2020-08-07T07:07:15
2020-08-07T07:07:23
206,805,170
0
0
null
2020-10-13T15:51:34
2019-09-06T13:56:39
Python
UTF-8
Python
false
false
634
py
# (十四)下拉框选择 from selenium import webdriver from selenium.webdriver.support.select import Select from time import sleep driver = webdriver.Chrome(executable_path='C:\driver\chromedriver.exe') driver.implicitly_wait(10) driver.get('http://www.baidu.com') # 鼠标悬停至“设置”链接 driver.find_element_by_link_text('设置').cl...
[ "s1332177151@sina.com" ]
s1332177151@sina.com
80e133ecd3f92edf940d262ef396d4bb0b0d6f90
9dee53bfc35c5c21cd4b20b197fa2d5b6bed16a6
/CTFd/utils/email/__init__.py
d2b39beb92a261d1e43e0c56ae4760ec0d6108cf
[ "Apache-2.0" ]
permissive
Shad0w-Synd1cate/CTFd
c8656e23533c9b32b492911df5d4411c6c4951be
0d64a37b3b06929f836a4e6cb2d462fe14e1e40e
refs/heads/master
2020-12-04T13:33:35.777021
2020-01-20T01:30:37
2020-01-20T01:30:37
231,782,690
0
0
Apache-2.0
2020-01-05T21:38:27
2020-01-04T15:09:19
Python
UTF-8
Python
false
false
1,959
py
from flask import url_for from CTFd.utils import get_config from CTFd.utils.formatters import safe_format from CTFd.utils.config import get_mail_provider from CTFd.utils.email import mailgun, smtp from CTFd.utils.security.signing import serialize def sendmail(addr, text, subject="Message from {ctf_name}"): subjec...
[ "noreply@github.com" ]
Shad0w-Synd1cate.noreply@github.com
def4314c7820727d47ae584b6003a9ba2b1c1f8f
e070ae82ebca838948bda28882b99bce036d1b9f
/spider/telegram.py
9cce7b7b884a9ab7d35099a5a1d6d49537eaecbb
[]
no_license
sheng2333/new_resources
e29bd7ab3af07259957d498b4221a1b3c56a2172
96987e79abcc5fbb1bcd74e9c96b7cfa20eb3e6d
refs/heads/master
2020-04-19T08:18:18.729854
2018-12-27T11:23:18
2018-12-27T11:23:18
168,072,230
1
3
null
2019-02-16T05:25:05
2019-01-29T02:08:46
Python
UTF-8
Python
false
false
4,599
py
import sys import os sys.path.append("./../") from db.mongodb import connectMongo import requests from lxml import etree from tools.translate.translate_google import mainTranslate import time import logging # 全局变量 类对象 telegramObj = None telegramResourcecollection = None telegramUrlColletion = None class MongoDB():...
[ "huguangjing@globalegrow.com" ]
huguangjing@globalegrow.com
b0fb1dd21188b414f92475ad5ecc9e6106075637
ff97f84275ff7997f8ab9417d75a026bf2dc23c3
/_02_02.py
57f95be8ab7c2da26172cc211b70ebbec15368e7
[]
no_license
yurimkoo/numpy-lab
c9f355b2c6507efb956712bbc8aa1cf91365f71b
316577987a1a027f0d90104c37777fac4584abc4
refs/heads/master
2021-01-21T20:39:01.771787
2017-05-24T15:56:55
2017-05-24T15:56:55
92,266,064
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
# 낮과 밤의 속도의 차이 plotting import numpy as np import matplotlib.pyplot as plt data = np.loadtxt('data2.txt') day, night = data.T print("day - night:", day-night) print("|day - night|:", abs(day-night)) ID = np.arange(1, len(day)+1) plt.plot(ID, day-night, 'k.') # 양과 음의 값 plt.title("Distribution of day-n...
[ "yurimzzang51@gmail.com" ]
yurimzzang51@gmail.com
0ecd07731b356d536fe9a4dc781886663a0a62e4
2fcb8038c7f87da4ae2408f45bb8cdf40e1b90e3
/myTest/global/global.py
7f77d11b5bb4b13e5a770f4f5568bdef67631be6
[]
no_license
JokerZhu/PythonLearn
dceb8cb8fbf5b4e1edce4ca96ce847ed38056cce
27c2f53e8e1c53b9e680b6558797a2cab695561e
refs/heads/master
2020-04-16T07:42:47.384470
2018-09-12T09:51:21
2018-09-12T09:51:21
36,870,000
2
0
null
null
null
null
UTF-8
Python
false
false
146
py
#!/usr/bin/python3.4 x = 50 def func(): global x print('x的值是', x) x = 2 print('全局变量x改为', x) func() print('x的值是', x)
[ "z_jing_wei_10@163.com" ]
z_jing_wei_10@163.com
7670f28ba7aabb549461ab2ef055a921d977f465
19236d9e966cf5bafbe5479d613a175211e1dd37
/cohesity_management_sdk/controllers/certificates.py
419684769ccf8289a0dc95ec3fbc113bd7eed60f
[ "MIT" ]
permissive
hemanshu-cohesity/management-sdk-python
236c44fbd9604809027f8ddd0ae6c36e4e727615
07c5adee58810979780679065250d82b4b2cdaab
refs/heads/master
2020-04-29T23:22:08.909550
2019-04-10T02:42:16
2019-04-10T02:42:16
176,474,523
0
0
NOASSERTION
2019-03-19T09:27:14
2019-03-19T09:27:12
null
UTF-8
Python
false
false
6,978
py
# -*- coding: utf-8 -*- # Copyright 2019 Cohesity Inc. import logging from cohesity_management_sdk.api_helper import APIHelper from cohesity_management_sdk.configuration import Configuration from cohesity_management_sdk.controllers.base_controller import BaseController from cohesity_management_sdk.http.auth.auth_manag...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
95513d0222466b05775626ce21dbbcff1a0f2158
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R1/benchmark/startQiskit_noisy68.py
2abe4bba4276c4ad5fc8fe827f963e48f6c2e57f
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
# qubit number=3 # total number=9 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collection...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
e6de3511f6f2fdee9e45700e02bc864b73345fc4
c66074d8815887a1faf6e67d35ff041af3fffb0e
/LivingMachines2013_9/gamePopulationClass.py
5b0aa363288406bac806f80d9dbdbf7749908b26
[]
no_license
rheiland/DarwinianNeurodynamics
b1eda114df838ccfbc2cd80f7832b594f70e1da4
602cdffaeef808b1e8029afcf7e7c9b0f71e8b0c
refs/heads/master
2021-01-18T10:53:27.372958
2013-04-22T15:01:08
2013-04-22T15:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
from naoqi import * import math import almath import random from gameClass import gameClass global actors import copy class gamePopulationClass(ALModule): """Game population class""" def __init__(self,name, type): ALModule.__init__(self,name) self.isRunning=True self.mm = ALProxy("...
[ "ctf20@sussex.ac.uk" ]
ctf20@sussex.ac.uk
d54cc75966e856301a0dcf4985642e9a0b5898a5
baf72cca99b66cca6f6300fcb9f89a39845ee3fd
/dashboard/migrations/0003_post_views.py
380588cf59b5dd62b8983c6a8d4f9f98fa944122
[]
no_license
anisiomarrime/tol-uat
54af169c1f7f7a9300b01a3c513b7c05f5d6d8ff
91d598987e958ca612e6c4854e7d037e22d75a6a
refs/heads/master
2022-12-27T03:29:38.510438
2020-09-29T16:50:17
2020-09-29T16:50:17
299,680,972
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
# Generated by Django 2.2.7 on 2020-03-05 13:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dashboard', '0002_auto_20200305_1231'), ] operations = [ migrations.AddField( model_name='post', name='views', ...
[ "anisio.marrime@gmail.com" ]
anisio.marrime@gmail.com
c5a0b602802047331764d01e3710f4ec2987177d
2b28ef0b41b7d9eccbd54d30951591b84c9abfdb
/codes/DQN.py
38cfe2b25b80ba8ade8b159597ca75e01fd58a8e
[]
no_license
wangzz15/Playing-ViZDoom-based-on-DQN
b83665b6bee9fc757aeea034c04a29fd61f564a4
fba5a17f3e99a5febd0f4cd87fa13d73e1502447
refs/heads/master
2022-11-20T06:22:55.768904
2020-07-20T14:36:50
2020-07-20T14:36:50
281,140,853
0
0
null
null
null
null
UTF-8
Python
false
false
6,431
py
import os import random import numpy as np import torch import torch.nn.functional as F import torch.optim as optim from memory_buffers import ReplayBuffer from nn_models import DQNetwork class StateMotion(): def __init__(self, frame_shape, num_frames, device='cuda:0'): self.num_frames = num_frames ...
[ "wangzz15@tsinghua.org.cn" ]
wangzz15@tsinghua.org.cn
5704a6e8200a1842c1da7c558ef26fbc91662ce3
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/_ast/Eq.py
65f93d36a7d2abe45c41f6fe9cdfc0b757574bc7
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
# encoding: utf-8 # module _ast # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\_dummy.cp37-win_amd64.pyd # by generator 1.146 # no doc # no imports from .cmpop import cmpop class Eq(cmpop): # no doc def __init__(self, *args, **kwargs): # real signature unknown ...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
50f2430a2f70ad89b97ecf0b80ada7989f14448c
9732fe676f4618c78b3ffd482d2c50347077a84c
/Search item 1st occurrence.py
dbab754a2f4d41c7a0ea5e1c289ec95df6209010
[]
no_license
Abhijeet198/Python-Program
16a733391d2420183613ae6797aad3a5360a0808
ead71392d7bb26de0b3cd9eb896a10f186f93395
refs/heads/master
2020-12-23T17:32:26.734934
2020-04-03T05:20:23
2020-04-03T05:20:23
237,219,738
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# Search item's 1st occurrence - index() mytuple=(1,3,5,7,2,3,1,4,6,7,8,1,2,3,1,) num = int(input("Enter item to be searched")) x = mytuple.index(num) print("First occurrence of the",num,"is at index:",x) # Count Occurrence of items-count() #count()>> number of times the item appears in the Tuple pri...
[ "noreply@github.com" ]
Abhijeet198.noreply@github.com
9d32305746ee8dc48cfda6a108885921793c9eb2
8b16579c1b89a1ac33ec0c5584236922d508eb9b
/proyectodetiempo/settings.py
2fd4372c1f040b78fecc9a0dc3b3f1291ef98e44
[]
no_license
SergioAnanias/time_display
c9c6f26466ffcbea3833d6a9177397b8a776037b
498a948ff53c2cd6233ed2bea8f88825838dba8b
refs/heads/main
2023-05-09T19:36:48.397757
2021-06-05T18:10:09
2021-06-05T18:10:09
373,287,364
0
0
null
null
null
null
UTF-8
Python
false
false
3,289
py
""" Django settings for proyectodetiempo project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ fro...
[ "sergio.ananias.o@gmail.com" ]
sergio.ananias.o@gmail.com
fbfe7a8c892ccaf8a85a6c82938fd2cba4859293
f441537763dd490b6c365bfd7b4f33bbdd62f11f
/robin.py
ebbd036fda491633de65cfec1c48391f66b434f4
[]
no_license
kristopolous/robinhood-analytics
2482934823506088f691f7adf12a2272095ca9b6
59512e955c975a18ee37ba99f1c548b3dd184d6f
refs/heads/master
2022-12-24T12:11:15.957349
2020-10-04T21:57:26
2020-10-05T21:57:26
286,158,739
0
1
null
null
null
null
UTF-8
Python
false
false
12,424
py
#!/usr/bin/env python3 from pyrh import Robinhood import urllib import sys import json import os import dateparser, datetime, time from colr import color import db import lib YEAR = 365.2524 def get_archive(stockList = None): global last if stockList is None: stockList = lib.getsymols() if type(stockList...
[ "kristopolous@yahoo.com" ]
kristopolous@yahoo.com
8142a079cb5679353a2068fb899c1793ccb9dbb0
56a00818882990c758aab49b2f71b3c340f966ab
/Implementations/content/contest/genLong.py
0eeaaa0544b1f1eeb8f3744c182fc745c801a019
[ "MIT" ]
permissive
ManishGotame/USACO
2c4d651da2af9500637ea063e8775cbde7a78009
24ef4c9a298695c7a8770726e6ac3eb6180fe56f
refs/heads/master
2020-09-13T09:07:20.669660
2019-11-18T00:37:44
2019-11-18T00:37:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
filenames = ['template.cpp', 'CppIO.h', '../number-theory (11.1)/Modular Arithmetic/Modular.h'] with open('templateLong.cpp', 'w') as outfile: res = [] active = False def ad(line): global active if line.startswith('#include "'): return if line.startswith('/**'): active = True if active and '*/' in lin...
[ "bqi343@gmail.com" ]
bqi343@gmail.com
fb2ad1469a3b5b969fe792f8502ac2afe0658c59
42dd928353c1d534ce149322c3ae65ec97545ac5
/boards/urls.py
be9271e3a125345f3a34e95f4a524d2995e7a0c8
[]
no_license
yeojinhwang/django_recrud
1ef480b3c5802ce5c3c5487eef8344588e52b0c0
d2fdf3f68fbdf6dcf85e0736ec4ccec25af70979
refs/heads/master
2020-04-28T08:10:51.572333
2019-03-18T02:26:46
2019-03-18T02:26:46
175,116,967
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
from django.urls import path from . import views app_name = 'boards' urlpatterns = [ path('', views.index, name='index'), # boards:index path('new/', views.new, name='new'), path('<int:board_pk>/', views.detail, name='detail'), # path('create/', views.create, name='create'), path('edit/<int:board_...
[ "hwangyj0202@gmail.com" ]
hwangyj0202@gmail.com
56b7265616c08c752940d5c5672d4fe0e629698d
35994e4609cb8a59189ea1b8329708cdc7f3ac0c
/PS5/ps5.py
b77203dd17bf26c5243140791d5f0970b06ad7b1
[]
no_license
eravet/MIT-OCW-6.0002
bcd0ab89ab714b1fdf62bde5ff81cc4426f1085a
65cf4aab0f5bc9e8503481cd08759c493b60514f
refs/heads/main
2022-12-29T01:50:03.086521
2020-10-15T04:59:33
2020-10-15T04:59:33
304,210,899
0
0
null
null
null
null
UTF-8
Python
false
false
14,048
py
# -*- coding: utf-8 -*- # Problem Set 5: Experimental Analysis # Name: # Collaborators (discussion): # Time: import pylab import re # cities in our weather data CITIES = [ 'BOSTON', 'SEATTLE', 'SAN DIEGO', 'PHILADELPHIA', 'PHOENIX', 'LAS VEGAS', 'CHARLOTTE', 'DALLAS', 'BALTIMORE',...
[ "noreply@github.com" ]
eravet.noreply@github.com
a0ff9afe2f9a4d79aea2f7d6c0bba518ccf73cf9
be22c3bf693c7626f2fe27232933beb35981e200
/mtzs2structures.py
d955b92cf9e380a98e14d7490a338443417508e1
[]
no_license
miket928/mct_useful_scripts
cc9130b16e226b8d7673856f383ae72e8fdc53f0
b9b05f329052a639f64acd06f1ca7c473bb1c4f2
refs/heads/master
2021-05-14T02:32:45.684463
2018-10-04T03:40:04
2018-10-04T03:40:04
116,596,419
1
0
null
null
null
null
UTF-8
Python
false
false
6,850
py
#Script for copying a set of Rfree flags across multiple isomorphous data sets and #perform rigid-body refinement to initiate rebuild. #Usage: libtbx.python mtzs2structures.py [isomorphous.pdb] [r_free.mtz] #You will need to source a phenix installation to run with libtbx.python #Run from a directory containing all of ...
[ "miket928@users.noreply.github.com" ]
miket928@users.noreply.github.com
077511796d2fb021509e9b9b7a655e16d156254f
d3375f789ee64d3ca8495cb88f8f7cfc133c48ab
/visualization.py
ddaa10ee80a054b92a857aa0f0e9f4cc84a7050a
[]
no_license
danglingP0inter/Recognition-of-Handwritten-digits
9c8964dd7fd48c8df1d69870a6a0a6884a11b042
6579b9c2e76248c028474ad7dbaa0aeebb0070b0
refs/heads/master
2020-04-18T06:33:59.318688
2019-01-24T08:25:57
2019-01-24T08:25:57
167,326,417
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
from mnist import MNIST from PIL import Image, ImageDraw # Load dataset mndata = MNIST('./data/') images, labels = mndata.load_training() # Pick the fifth image from the dataset (it's a 9) i = 4 image, label = images[i], labels[i] # Print the image output = Image.new("L", (28, 28)) output.putdata(image) output.save(...
[ "noreply@github.com" ]
danglingP0inter.noreply@github.com
c79f5defc4669af504b01120e06bf5dba6eb51f4
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/community/way/lot_world/month/car_level/president_program.py
09d22c760a6b771bc4aee758f82f7a48327f5762
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
3,135
py
## Get supported languages for translation The following code gets a list of language codes representing languages supported for translation, using the GetLanguagesForTranslate method. 1. Create a new Node.JS project in your favorite IDE. 2. Add the code provided below. 3. Replace the `key` value with an access key v...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
8d76957311696f5d8031a0f6af07845ca6839a63
6223dc2e5de7921696cb34fb62142fd4a4efe361
/.metadata/.plugins/org.eclipse.core.resources/.history/0/10c54487a564001418adf2b9b78fa3c6
9c5974137244fcb2386c19b2e81426b669f02921
[]
no_license
Mushirahmed/python_workspace
5ef477b2688e8c25b1372f546752501ee53d93e5
46e2ed783b17450aba29e4e2df7b656522b2b03b
refs/heads/master
2021-03-12T19:24:50.598982
2015-05-25T10:23:54
2015-05-25T10:23:54
24,671,376
0
1
null
2015-02-06T09:27:40
2014-10-01T08:40:33
Python
UTF-8
Python
false
false
2,411
#!/usr/bin/env python # # Copyright 2014 <+YOU OR YOUR COMPANY+>. # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This software is dis...
[ "imushir@gmail.com" ]
imushir@gmail.com
c05cfa6cdcbb0ebcaf7c05cf9eea5afacaf608c7
eafa31d951cfed5a10b77ae1258f19fab29f6442
/utils/pagerduty_api.py
e82b463865d87616469a4f59d7909285eff5abea
[ "Apache-2.0" ]
permissive
apahim/qontract-reconcile
4cbd459e18a6fe1be6d54c195702df2212985955
b540660da1ee5b2f843d42cf8754381c0487b6a9
refs/heads/master
2022-05-03T16:45:50.415734
2020-10-19T13:27:11
2020-10-19T13:27:11
227,624,515
0
0
Apache-2.0
2019-12-12T14:23:09
2019-12-12T14:23:08
null
UTF-8
Python
false
false
2,506
py
import pypd import datetime import requests import utils.secret_reader as secret_reader class PagerDutyUserNotFoundException(Exception): pass class PagerDutyApi(object): """Wrapper around PagerDuty API calls""" def __init__(self, token, settings=None): pd_api_key = secret_reader.read(token, se...
[ "noreply@github.com" ]
apahim.noreply@github.com
dc55ed13f4103e66e4e5edcf55079267753cb476
ee4db47ccecd23559b3b6f3fce1822c9e5982a56
/Build Chatbots/Tokenization.py
db3b63f6326833b215d84cf8c42b27248d31c56d
[]
no_license
meoclark/Data-Science-DropBox
d51e5da75569626affc89fdcca1975bed15422fd
5f365cedc8d0a780abeb4e595cd0d90113a75d9d
refs/heads/master
2022-10-30T08:43:22.502408
2020-06-16T19:45:05
2020-06-16T19:45:05
265,558,242
0
1
null
null
null
null
UTF-8
Python
false
false
586
py
from nltk.tokenize import word_tokenize,sent_tokenize ecg_text = 'An electrocardiogram is used to record the electrical conduction through a person\'s heart. The readings can be used to diagnose cardiac arrhythmias.' tokenized_by_word = word_tokenize(ecg_text) tokenized_by_sentence = sent_tokenize(ecg_text) t...
[ "oluchukwuegbo@gmail.com" ]
oluchukwuegbo@gmail.com
1374a52f9cb3e9c340ae14537ee505ffd8ec8389
c5460c90510054bf7e827be21665e03eb8faac5d
/blog/migrations/0001_initial.py
2ff0933ef1187b31de8c556b7e5101cc40500389
[]
no_license
sergiofv/portfolio-template
f0d3d39cf256ec1833fcccb7bd3dcc41b4db9598
eb28c73c8d22918a1e960c8faa0ba5b1e991b6be
refs/heads/main
2023-01-24T13:38:46.333652
2020-12-11T22:03:08
2020-12-11T22:03:08
320,618,979
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
# Generated by Django 3.1.4 on 2020-12-10 14:18 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.AutoField(aut...
[ "sfvsound@gmail.com" ]
sfvsound@gmail.com
29082448882838e7a4277231b7d1440fd2de26ce
ba0be392e94049fa796fa94f3c33a52d9f17afc7
/3-Factorial/factorial.py
6062affaa0634cf40e108410f10e61ee168c6870
[]
no_license
olteffe/GrokkingAlgorithms
f985b7f6b92b48641f32ba2eff3c6d126c555fcb
c3584cd31ce6568080df72bb39a5855776f85617
refs/heads/master
2023-08-26T22:12:51.165361
2021-11-11T12:45:31
2021-11-11T12:45:31
424,656,976
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
def fact(x: int) -> int: if x == 1: return 1 else: return x * fact(x-1) def main(): print(fact(5)) if __name__ == '__main__': main()
[ "olteffe@gmail.com" ]
olteffe@gmail.com
be92341808644115b777719c2a4432641c542798
93211b441515263dce08cc01d98b4b42806d31dd
/kinship_analysis_allelic_dropout_dicts.py
eb8e9401f11728d70bc875fccd044a847aba8a1f
[ "MIT" ]
permissive
EdaEhler/Kinship_analysis
24a15b845013e918d9f1090a2d7f7c8ddd87dbf2
d64e53f1b3185d8b7f4c92bd095684337da36031
refs/heads/master
2021-01-13T08:57:31.774876
2016-09-25T10:03:32
2016-09-25T10:03:32
69,156,569
0
0
null
null
null
null
UTF-8
Python
false
false
15,337
py
############################### # Kinship analysis using SNPs # # --------------------------- # # Edvard Ehler, Ph.D., # # Institute of Anthropology, # # UAM Poznan, Poland, # # 2016 # # eda.ehler@seznam.cz # ############################### # Based on Fung&Hu (2...
[ "noreply@github.com" ]
EdaEhler.noreply@github.com