blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
d5cab9a4b1e7e1be3cf13dddebae13f6a4066b74
1d9a6406c859fda186f520bb4472c551fc572c7b
/src/hopla/hoplalib/zoo/petcontroller.py
b5f9e7d0243348d6b233bab73bbf200a2f76e11e
[ "Apache-2.0" ]
permissive
rickie/hopla
af21b794ce6719d402721550e1ee4091790410b6
24a422194e42c03d5877dc167b2b07147326a595
refs/heads/main
2023-08-13T17:33:03.612293
2021-10-12T12:13:25
2021-10-12T12:13:25
408,538,704
0
0
Apache-2.0
2021-09-20T17:30:15
2021-09-20T17:30:15
null
UTF-8
Python
false
false
2,211
py
""" A module for performing feeding Pet HTTP requests. """ from typing import NoReturn, Optional, Union import requests from hopla.hoplalib.http import HabiticaRequest, UrlBuilder from hopla.hoplalib.zoo.feed_clickhelper import get_feed_data_or_exit from hopla.hoplalib.zoo.zoofeed_algorithms import FeedPlanItem cla...
[ "31448155+melvio@users.noreply.github.com" ]
31448155+melvio@users.noreply.github.com
d519e664e95852fb901d5d6561d3e86e92f36e6e
897632fe38e39bca8e067df435971079daed6be3
/droid.py
cd37451097924b07b3662bc4c8d3178fe69f8251
[]
no_license
ksuscella/GoKirkGo
2c07710e0d6bd2a9eae8917862ef6890d9633b5d
9394afdc2ce5ff430f9d2d0c203083cca352c004
refs/heads/master
2021-01-22T11:03:55.687410
2017-06-28T20:49:27
2017-06-28T20:49:27
51,276,610
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
from gopigo import * import urllib import urllib2 import json import time import logging def main(): status = getStatus() if status == 'gopi': # Execute robot command print("execute robot") skynet() normal() #return back to waiting main() #recursive meth...
[ "ksuscella@gmail.com" ]
ksuscella@gmail.com
e213883df71c095995d36d7be412ea5743d098bc
ee853e2cdee4000b27c3fcfb2b54463c5466f5ee
/memory_tcp_ip.py
d8728f7b7eee024311fea196a71d81d745f347d8
[]
no_license
foragingBRAIN/rPimemory
f0a76c878d41bd847ed5fe5c777643c041033888
3d8139fcacf82c77dfb3e0fe621d976fdc342002
refs/heads/master
2022-03-17T09:14:22.550462
2019-09-17T23:13:12
2019-09-17T23:13:12
170,197,110
0
1
null
null
null
null
UTF-8
Python
false
false
421
py
import socket, time TCP_IP = '192.168.0.105' # pi IP TCP_PORT = 1234 BUFFER_SIZE = 24 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind((TCP_IP, TCP_PORT)) s.listen(1) conn, addr = s.accept() print(time.time()) print('Connected to:', addr) while 1: data = conn.recv(BUFFER_SIZE) if not data: break...
[ "caziot@bcm.edu" ]
caziot@bcm.edu
466716ee755d12f65be44f4eeee168d6dee42986
eee1f30ceb9908dce04aacb27c8ae1ea864d4022
/part02-e01_integers_in_brackets/src/integers_in_brackets.py
858fb722be7abb8788f19d8f048d03e480ed9f09
[]
no_license
yodirh/Data-Analysis-with-python
d4f746f53c4e4cac38fbb638b1f3e06261da3208
f30754ef62d9a869faf8e78c5be3267eb6b5385b
refs/heads/master
2023-07-29T09:18:39.067595
2021-09-10T17:57:40
2021-09-10T17:57:40
282,915,608
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
#!/usr/bin/env python3 import re '''def integers_in_brackets(s): List =[] a = re.sub(r"a[\d]+","ab", s) b = re.sub(r"[\d]+[+]","ab", a) c = re.sub(r"\+-[\d]+","ab", b) #a = re.findall(r"[\w+]+", s) d = re.findall(r"[-\d]+", c) for i in d: List.append(int(i)) return List''...
[ "noreply@github.com" ]
yodirh.noreply@github.com
520450d4d532245638edae0cf909e6a6c118d47b
93ea27c42903aa991298b959d40a74f27724fd39
/new_site/urls.py
31a4b486228fd38cda322f42d8a53377f17cf484
[]
no_license
ltlrn/meeting_room
3a577ddb9943630118b037872457ed9b2a81ede9
47e5152bc978e196468bf3a9c27cf3a68cfc6799
refs/heads/main
2023-07-29T05:50:17.017293
2021-08-22T13:50:04
2021-08-22T13:50:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
from django.conf import settings from django.contrib.auth import views as auth_views from django.contrib.auth.views import LoginView, LogoutView from django.urls import path from . import views app_name = "new_site" urlpatterns = [ path("", views.index, name="index"), path("rooms/<int:room_id>", views.room_sc...
[ "koro6@yandex.ru" ]
koro6@yandex.ru
e1461c6411425ee974d36267c209f92b7be55c59
f6188c0c27da8d2507e832908ba9de524f0b907d
/client_speed_test.py
b23314ac7daa63ea09593b18003d1800d1583546
[]
no_license
lforet/repfibdigit
df1df2fe2ba40ede9662120ea94f7d529f5d4abc
945ce755fd2526a1a3e242b909b93a79ac4e65fb
refs/heads/master
2021-01-10T08:43:11.123781
2018-12-21T05:32:45
2018-12-21T05:32:45
8,490,162
0
0
null
null
null
null
UTF-8
Python
false
false
1,997
py
#!/usr/bin/python # This is client.py file #System modules import os import time import itertools import cPickle as pickle import numpy as np #import cProfile import timeit import uuid import sys import fib ######################################################################## pgbreak = "------------...
[ "laird@isotope11.com" ]
laird@isotope11.com
1f4f364904e2edd4c2fbb1ac8c89fc351c735e6a
4e0f1e1992c98f2892eabd1d014afbc6d9fc0d20
/blog/models.py
b60a657adcce1928c60f9d15f8da6921ce592b72
[]
no_license
kevinyohe/djangoblogpacktpub
1ec29794ddc67bd89d05ac8be640e874a63d5562
e75f1129f95d2e464c3e59745770541feab31de5
refs/heads/master
2020-04-10T17:32:45.127967
2018-12-10T13:10:23
2018-12-10T13:10:23
161,177,055
0
1
null
null
null
null
UTF-8
Python
false
false
384
py
from django.db import models # Create your models here. class Blogpost(models.Model): title = models.CharField(max_length=240) author = models.CharField(max_length=240, db_index=True) body = models.TextField() published = models.BooleanField(default=False) created_at = models.DateTimeField(auto_now...
[ "kevinyohe7@gmail.com" ]
kevinyohe7@gmail.com
567df595e5f5b8287d586cb34b876c5bd83a6f21
0bb58d5ee536b92631053fb8e18840b462475722
/PythonDjango/ajax_notes/venv/bin/easy_install
cca0d853c112ce269115402584d364d8eeb54260
[]
no_license
tutfakulunto/codingDojo
a0868a46229cc3b74ff72e5a8cc5b2d18d18168b
d04ac8b49dbf5f440287ce9f73d357ca7ff274e5
refs/heads/master
2021-01-12T15:53:51.032396
2017-02-22T05:33:41
2017-02-22T05:33:41
69,322,566
0
0
null
null
null
null
UTF-8
Python
false
false
287
#!/Users/scott/projects/CodingDojo/Python2/ajax_notes/venv/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "c.scott.johnson@gmail.com" ]
c.scott.johnson@gmail.com
c2cd9e2eeb29a5ea4f14e0d08a2feeb22a11f158
88a39b8ec20b386400bd8b1d5fc1d5ad3314681d
/alembic/versions/2020110510_explicitly_set_autoincrement__4bac4855e710.py
f1ce52d0622ca39fc4eb31745264c74368d19d70
[ "Apache-2.0" ]
permissive
codalab/codalab-worksheets
bb35681454a0d74903aaa7468e17303986793464
5be8cb3fa4b43c9e7e8f0a3b217644a7f0a39628
refs/heads/master
2023-08-18T10:16:01.766541
2023-08-06T20:02:30
2023-08-06T20:02:30
27,352,490
126
65
NOASSERTION
2023-09-14T14:54:07
2014-11-30T22:33:18
Python
UTF-8
Python
false
false
2,416
py
"""Explicitly set autoincrement to True Revision ID: 4bac4855e710 Revises: fcb22a612d2a Create Date: 2020-11-05 10:27:43.989896 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '4bac4855e710' down_revision = 'fcb22a612d2a' TABLES = [ "bundle", "bundle_me...
[ "noreply@github.com" ]
codalab.noreply@github.com
942e2725c6d37214f3820468ac9cfc3e856fc7cf
c33fd38d2c79ca740b0bcde934034168a37698aa
/manage.py
649d71afb79043b84f3062536aa7b37fac5e5095
[]
no_license
kxnaylorCLE216/resumeSite
7531da230b35e7abb057f53cb44d747e22c4c81a
7aaa2aa59ae1fc4b8faf7c56c904c65b9fdf9b6e
refs/heads/master
2022-10-06T04:47:28.667125
2019-06-28T02:59:02
2019-06-28T02:59:02
193,295,961
1
0
null
2022-09-23T22:26:15
2019-06-23T01:56:11
Python
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', 'resumeSite.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "naylorkx@gmail.com" ]
naylorkx@gmail.com
674dae6998f7cf6e22bb6b05bbc6cc4cb55e8218
1103df1a87e270aa4f1887cd1d73f3edbff0b87a
/opgg_champion_tier.py
3d9f648aa362cae265e4235019285b05b0f854d2
[]
no_license
rhdtka21/Crawling
941f03941254e72cd826c8b53395d4dfbd9954f2
57d96c161248412d98029e5ff5ea5336553ed87d
refs/heads/master
2022-09-16T13:41:21.060684
2020-06-05T10:10:22
2020-06-05T10:10:22
268,285,653
0
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
import time from bs4 import BeautifulSoup import telegram import requests import os LOLALARMCHANNEL = ---your_telegram_channel_code--- bot = telegram.Bot(token='---your_telegram_token---') hdr = {'Accept-Language': 'ko_KR,en;q=0.8', 'User-Agent': ( 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKi...
[ "noreply@github.com" ]
rhdtka21.noreply@github.com
b323ebfc79904933320dde343940702d84f5b41c
1ea21334d3d925f11bf560fa056f3d7822d47791
/Client/Client.py
913a851dd2ebe867f41b9c7997587b7dd1520435
[]
no_license
gabivel/Practica3
0a0d057d78f7a4d0f719f4079c89c22fe3cfe766
0d138690fc43db29c1857508f4100315c8acd45f
refs/heads/main
2023-09-06T08:40:27.737576
2021-11-15T01:52:01
2021-11-15T01:52:01
428,089,762
0
0
null
null
null
null
UTF-8
Python
false
false
5,086
py
import socket import sys import os import struct IP = "192.168.1.79" PORT = 1121 buffer_size = 1024 def user(user): try: #enviando comando USER TCPClientSocket.send(str.encode(user)) except: print("Couldn't make server request. Make sure a connection has bene established.") return # Esperando est...
[ "gabi.vellop@gmail.com" ]
gabi.vellop@gmail.com
6bb7c1483d15b67fce22f86a548a65af22f97b86
ec50be519921e5f16ad559b66fa037d8d7d0f09e
/wallet.py
29a88cc092f071158f794958bbae758ae18df649
[]
no_license
dingsky/mcjDemo
097003bd4d5edf566182696e650611ee4a8fb512
49140de8e83e4f301a4ebb4f638d912c14ff24a5
refs/heads/master
2023-04-03T07:02:32.325653
2021-04-15T05:37:01
2021-04-15T05:37:01
357,154,088
0
0
null
null
null
null
UTF-8
Python
false
false
2,241
py
import win32com.client import time dm = win32com.client.Dispatch('dm.dmsoft') # 移动到目标程序的位置 dm.MoveTo(275,9) time.sleep(1) # 鼠标双机打开 dm.LeftDoubleClick() time.sleep(3) # 单击鼠标选择窗口 dm.LeftClick() time.sleep(1) # 按tab选择第一个输入框 dm.KeyPress(9) time.sleep(1) # 输入用户名 dm.KeyPress(16) dm.KeyPressChar('s'...
[ "dingchun_sky@163.com" ]
dingchun_sky@163.com
cc7e0e0355ebe8a4e751cf70dfecb49e3cec4013
339b587415639bb3824663eb7e3456cb14cc618d
/tests/unit/thompson/mappeds_test.py
4719c179e81a322aeb3b6ff054b0e6859a5840fc
[ "MIT" ]
permissive
ageldama/thompson-py-poc
676855efcd7221d24cc8900136827052384f6e75
d90a32948f2abfa497f84a209b7e591f637c7662
refs/heads/master
2020-03-05T18:28:02.194911
2017-01-25T15:15:02
2017-01-25T15:15:02
85,395,509
1
0
null
2017-03-18T11:13:58
2017-03-18T11:13:58
null
UTF-8
Python
false
false
3,306
py
# -*- coding: utf-8; -*- import thompson.evaluators.registry # noqa: F401 from thompson.nodes.literals import StringVal, NumberVal, BoolVal, NilConst from thompson.nodes.literals import FunctionParamVal from thompson.nodes.literals import MappedVal, MappedFunctionVal from thompson.nodes.literals import NoWrappingMappe...
[ "jong-hyouk.yun@zalando.de" ]
jong-hyouk.yun@zalando.de
af1992f34cf24c1e8fada9620f28064fd69b6054
396c6ee6cc5a3b24b6659eb867570577933b262f
/lib/page_objects/grading/grading_page.py
70b79d7112f14f1b89f0ca3e6e6de157756c5e5c
[ "MIT" ]
permissive
tcmRyan/DojoMiner
51b4201fcc10cd165b7b45d55cd15f419de35161
19ce44e737dce13e9ee4975347ec9e9fdddce1bb
refs/heads/master
2023-01-05T14:38:05.526670
2020-11-02T01:22:16
2020-11-02T01:22:16
170,051,375
0
0
MIT
2020-11-02T01:22:17
2019-02-11T01:56:03
Python
UTF-8
Python
false
false
2,540
py
STARS_EARNED_COL = 5 DETAILS_COL = 6 class GradingPage: """ The Grading Page is a page object representation of the grading page in the dojo. This means that you can access the elements of the GDP as if you were accessing the properties of a class. """ def __init__(self, page): self.p...
[ "ryan@tacticalcodemonkeys.com" ]
ryan@tacticalcodemonkeys.com
9f00a06680c92b223b7ee26d58a52a1c5c40d28e
26051533c02fb162854acb62c20e0819b9a1d0a1
/meiduo_mall/meiduo_mall/apps/orders/views.py
a27afe35509519b21a1b2b4400505defd2ba8e6b
[ "MIT" ]
permissive
HOXI818/meiduomail
5916259d2adff73788a03a6fcf6812a3ee7774dc
8f398ac8ac0414fd23c60314db4f27dd9e68b2cd
refs/heads/master
2020-04-23T15:35:35.107782
2019-04-24T10:37:20
2019-04-24T10:37:20
171,270,808
0
0
null
null
null
null
UTF-8
Python
false
false
3,242
py
from decimal import Decimal from django.shortcuts import render from django_redis import get_redis_connection from rest_framework import status from rest_framework.generics import GenericAPIView from rest_framework.response import Response from rest_framework.views import APIView from rest_framework.permissions import ...
[ "HOXI_818@outlook.com" ]
HOXI_818@outlook.com
d6068063c2423e47264845a135b5280ce088daf1
d5a3d88e0787349d08f519ce3f7abef2797443ba
/Utils.py
4a67dcb7ff4738bd63fb4cfddf561830a5cd99b0
[]
no_license
572192274/BERT-MultiLabel-Multilingual-Classification
30f3319588704076f8f8369a3f27e11c5cd4030e
61dbb9f6576b2aa5b5bfe166a463e299e9f615c5
refs/heads/main
2023-06-08T04:08:38.325194
2021-06-30T13:12:28
2021-06-30T13:12:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,777
py
import pandas as pd import sklearn import numpy as np def optimizer_params(model): param_optimizer = list(model.named_parameters()) no_decay = ["bias", "LayerNorm.bias", "LayerNorm.weight"] optimizer_parameters = [ {'params': [p for n, p in param_optimizer if not any(nd in n for nd in no_decay)], '...
[ "noreply@github.com" ]
572192274.noreply@github.com
d5cf2cc4602a29dd3977f0ad4b917e84da9e24e4
68c2a4148651b5259323fdc52002c357e3e001c3
/net.py
371298a57d2d455bd5d7da37777a07e98ac6a0e2
[]
no_license
homura10086/Network_optimization
4fb07ff0ec3e9b5924fb159054d860709f75f825
e8d6ea5d018540a6cbcbdfbde872a6a6a000cbcd
refs/heads/master
2023-08-18T07:36:38.459263
2021-10-18T11:18:56
2021-10-18T11:18:56
410,818,319
0
0
null
null
null
null
UTF-8
Python
false
false
2,973
py
import networkx as nx import matplotlib.pyplot as plt import numpy as np import pandas as pd import matplotlib as mat import json # fr = open("Performance.csv", "r") # ls = [] # for line in fr: # line = line.replace("\n", "") # ls.append(line.split(',')) # fr.close() # fw = open("Performance.json", "w") # for ...
[ "1771931743@qq.com" ]
1771931743@qq.com
9a03609836f456e14f248d95784d91d30d8912b7
f3d9ea69ff4ebd74ed5d9ece10b4c029b4281437
/c4c_employee_publisher.py
a99b20864220d9f26329ebc15ba2a8987f2ee021
[]
no_license
mydev-work/cloudformation
3b0de2f85c4865accbe2b7edcba596d02418010a
b4972acfa058628544488dd0f645fbae1627b06a
refs/heads/master
2020-11-26T11:37:17.109685
2020-07-03T11:09:41
2020-07-03T11:09:41
229,060,197
0
0
null
null
null
null
UTF-8
Python
false
false
6,611
py
# imports from datetime import datetime import requests import uuid import json import logging import boto3 from os import environ from Common.LambdaResponse import LambdaResponse from Common.DataLogger import DataLogger from Common.Log import Log from Common.ParameterStoreHelper import ParameterStoreHelper # initial...
[ "arunkumar.bala@idp.com" ]
arunkumar.bala@idp.com
00db2c8c3ed972b7163d98736f55e12ede747a2c
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/577538_Poor_Man_unit_tests/recipe-577538.py
a085b12780b5428ff89dbdb43e8d9d754e602175
[ "MIT" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
3,834
py
#! /usr/bin/env python ###################################################################### # Written by Kevin L. Sitze on 2010-12-03 # This code may be used pursuant to the MIT License. ###################################################################### import sys import traceback from types import FloatType, ...
[ "betty@qburst.com" ]
betty@qburst.com
294780ff7ab60dc91677fc1d89295b77c146b850
4a53aba78d55247e185d8cef5e2a1f8892ae68be
/learn_python/08.jpype.py
13917ac8e31a1518b4553ebf02a516bd1b6ee5af
[]
no_license
axu4github/Learn
665bb8ddd2eb420a0e7bc3d1ff68f66958936645
2eb33b5a97f1730e3f774b80e3b206c49faa2228
refs/heads/master
2023-01-22T15:49:53.260777
2018-10-25T15:21:56
2018-10-25T15:21:56
61,703,577
1
0
null
2023-01-12T08:23:28
2016-06-22T08:46:46
JavaScript
UTF-8
Python
false
false
664
py
# encoding=utf-8 ''' Mac安装JPype 1. 下载 https://sourceforge.net/projects/jpype/ 最新版本 2. 解压,进入目录 3. 执行 sudo python setup.py install 若存在 `error: command 'clang' failed with exit status 1` 的问题 则需要在 setup.py 文件的 `self.includeDirs` 中添加 `"/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/"` 以便可以找到 `jni.h` 等头文件。 具...
[ "axu.home@gmail.com" ]
axu.home@gmail.com
a5c5843f631bfde5c8971652b304badb13620f23
9dc76d5bed9190bd6b44a363c2a6324b5cb7b525
/touchingperimeter/__init__.py
5005f562540bd9bc327ac15fa327d3cd01442ecf
[ "MIT" ]
permissive
tasptz/py-touchingperimeter
d8f651ecb0d7faec51b4af4446851fc3a32e51da
b581a1ad477629c5ee5fcbe6a9d5747af6f9183b
refs/heads/master
2021-07-21T19:28:11.511244
2020-08-13T08:00:09
2020-08-13T08:00:09
205,883,568
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
from . import box, rect, packer Box = box.Box Rect = rect.Rect Packer = packer.Packer
[ "tasptz@gmail.com" ]
tasptz@gmail.com
77f31f717ae740760de5100e7adf45751edbe729
8575c8e29ac5bdac7736e39535fdbadbd3ce2b3d
/account/migrations/0060_auto_20200818_0836.py
78cc7199d2dab2faa94dacdc0fa845a92ebf8c9e
[]
no_license
tanvir43/daily-eCommerce
795bf4abb4e3021dfc05b7a42b194f66fd591ab1
418158b3e3559c3a644c2b34ca63170b1b1cb8d2
refs/heads/master
2022-12-17T23:30:08.348855
2020-09-22T05:06:13
2020-09-22T05:06:13
255,512,690
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
# Generated by Django 3.0.7 on 2020-08-18 08:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0059_auto_20200817_1625'), ] operations = [ migrations.AlterField( model_name='address', name='created_at...
[ "raihncse43@gmail.com" ]
raihncse43@gmail.com
0bef9143b83163f975c7182a3a50534504e12b47
5f4465a32c9db2489405b070b52463c44b1cbc9a
/02-Application-And-Routes/django_project/django_project/urls.py
8a93579106e9c2e29e455b7a651224e5fb6c426c
[]
no_license
stormindia/learn_django
7d98e6b971a746f57d8657b580c517340bf57662
a87dd536c30954ee89e2cdbd1d7c6a1609869b34
refs/heads/master
2023-07-02T10:11:23.177876
2021-08-01T09:12:09
2021-08-01T09:12:09
284,666,429
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
"""django_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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') Clas...
[ "bajpaiharshit14@gmail.com" ]
bajpaiharshit14@gmail.com
8c817d375a6e4429ab2667c176887dbb4d65c7da
a499fbdd93f85a286505433a08afc25d84c8ff04
/python/tvm/runtime/vm.py
2be3f3ec1a78cdc5de989fd61d84de1855339132
[ "Apache-2.0", "Zlib", "MIT", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "Unlicense" ]
permissive
elphinkuo/tvm
a81e0ccc5950a1473efdcdbb8263de9adbe36787
9df2ae8eaa8b394013182a7ad09ac57fe401f80e
refs/heads/main
2023-08-05T07:41:18.652097
2021-09-28T00:38:26
2021-09-28T00:38:26
411,311,927
2
0
Apache-2.0
2021-09-28T14:51:56
2021-09-28T14:17:46
null
UTF-8
Python
false
false
21,091
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
elphinkuo.noreply@github.com
b00ab8ba872307d2333753f04e741547c90f2cd0
2793721e5cbfccfedac75556e34dba22999530d7
/Data_Structures/Queue/venv/bin/easy_install-3.7
8f39f903e7eb3bb8428554ff85aff955f127983f
[]
no_license
iafjayoza/Python
135e613d1d23c493b05a009843b40cbca6a1d318
aaa05b0d655c8f0a47ced0100a844d99f852b2a4
refs/heads/master
2022-12-07T07:21:46.494885
2020-09-06T09:03:27
2020-09-06T09:03:27
282,707,082
0
0
null
null
null
null
UTF-8
Python
false
false
481
7
#!/Users/jo049566/Desktop/Jay/Jay_Data/Study_Repo/Python/Projects/Queue/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] =...
[ "jaykumar.oza@cerner.com" ]
jaykumar.oza@cerner.com
b861bfad28fb2afcfebe70efae435a87ea165933
2fda622cfecb338307ee5cb52b99068a14a72b2e
/pro level/program58.py
3b4b0e1b8f272fde412a5e590c525de80f2c7613
[]
no_license
harishk-97/python
aa63dac34f90bbd4360d9253c16176f2668e0b96
c49698ad1c3d186f8a6bbd545c6da4d7c83e3d40
refs/heads/master
2021-07-19T04:47:27.455146
2018-12-19T14:10:20
2018-12-19T14:10:20
125,207,630
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
def looper(n): i=0 while(i<(n+int(n/2))): q=2 while(q<=n): if(i+1==(n+int(n/2))): print(q) return else: print(q,end=' ') q+=2 i+=1 q=1 while(q<=n): if(i+1==(n+int(n/2))): print(q) return else: print(q,end=' ') ...
[ "noreply@github.com" ]
harishk-97.noreply@github.com
446e14d43aeeaa7445a7de740d1b7934d9e99dab
046ce7203058c285dfb9f2acf5dfdf794b9f5856
/main.py
6a423ebf06afb11bd0be8420d743d5d69a91abc1
[]
no_license
xuchengustb/spadeLabyrinthMazeMultiAgents
feb348018d806a64d48fbfbc3574cc55cec736e6
56a6da4ebb4258f40280600c8ecf2c0b916a8895
refs/heads/master
2021-04-17T20:07:15.663876
2019-03-26T09:00:16
2019-03-26T09:00:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
# Declaration of all the sender and receiver classes from scouts, workers and engineers import time import _thread from scout.scout import Scout from engineer.engineer import Engineer from worker.worker import Worker from maze.PyramidalMaze import PyramidalMaze import eel eel.init('web') @eel.expose ...
[ "leo.sup@hotmail.fr" ]
leo.sup@hotmail.fr
afc8f0a49a20a307d0e81fa479d20f83167f3817
585c9b86b95774188465c31b976fac02cd41ea8c
/one_pass/basic_app/views.py
572ca41ed5ac15b2c21c6938758f933be780c17e
[]
no_license
Vadlap8/django_deployment_example
12afe91a1b28686747ca424c8eac0202bdb7a70f
59203a065e694721292660cdf0601b8e5155f166
refs/heads/master
2022-12-22T03:11:37.596624
2020-09-30T12:43:58
2020-09-30T12:43:58
299,909,715
0
0
null
null
null
null
UTF-8
Python
false
false
2,206
py
from django.shortcuts import render from basic_app.forms import UserForm, UserProfileInfoForm from django.core.urlresolvers import reverse from django.contrib.auth.decorators import login_required from django.http import HttpResponse, HttpResponseRedirect from django.contrib.auth import authenticate, login, logout ...
[ "vadim.lapshin.msk@gmail.com" ]
vadim.lapshin.msk@gmail.com
c19eb636721936b2958cf5d6e70a002e4972088d
a4b94b06b603b809c2dd7ab07a013951019d5540
/old-pipeline/predict/predict.py
cf001d8e742686a45ffc97d92f77469c6a5d079a
[]
no_license
meng2468/MOA-Kaggle-Competition
56626a67e7d89dbae592186dd743ebea21bf7ec7
b48f7afccebc3b9c7bdf94c9edd29c3dfebf40ca
refs/heads/main
2023-02-15T18:30:57.728673
2021-01-10T14:33:12
2021-01-10T14:33:12
305,134,798
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
import pandas as pd import numpy as np import tensorflow as tf from tensorflow import keras
[ "mandm116@gmail.com" ]
mandm116@gmail.com
746b0c743ffb8d49b2ff71cf870102d7d7279481
5cea76d53779d466f19a5cf0b51e003586cc4a7b
/py4ops/getip.py
e2bbe141b3b44d2c61828b6bf996715b6e854f17
[]
no_license
evan886/python
40152fdb4885876189580141abe27a983d04e04d
d33e996e93275f6b347ecc2d30f8efe05accd10c
refs/heads/master
2021-06-28T12:35:10.793186
2021-05-26T14:33:40
2021-05-26T14:33:40
85,560,342
2
1
null
2017-10-11T05:31:06
2017-03-20T09:51:50
JavaScript
UTF-8
Python
false
false
599
py
#!/usr/bin/python #-*- coding:utf-8 -*- import socket import fcntl import struct def get_ip_address(ifname): s = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) return socket.inet_ntoa(fcntl.ioctl( s.fileno(), 0x8915, # SIOCGIFADDR struct.pack('256s', ifname[:15]) )[20:24]) pri...
[ "evan886@gmail.com" ]
evan886@gmail.com
490c5679007f3567ce796e0327003d6433192893
3794037859e437bbe9f040e749ecb8712c55f905
/back-end/gunicorn.conf.py
294482661cb565d4e65212634c437e1fb625c4a3
[]
no_license
chrishsu2/ROWDYHACK-2020
0640c5e7e6ad3ff3e3918c0bbc44d88f9d96f1bc
ec3128240eccc7161b456f14c4dff5e752beb2f0
refs/heads/master
2023-06-06T02:44:59.543389
2020-03-29T16:48:39
2020-03-29T16:48:39
250,845,754
0
0
null
2023-05-22T23:22:42
2020-03-28T16:46:11
HTML
UTF-8
Python
false
false
234
py
# -*- coding: utf-8 -*- # @Author: Christopher Hsu # @Date: 2020-03-28 12:39:59 # @Last Modified by: Christopher Hsu # @Last Modified time: 2020-03-28 12:40:08 import multiprocessing workers = multiprocessing.cpu_count() * 2 + 1
[ "chrishsu2@gmail.com" ]
chrishsu2@gmail.com
1532b3c1ce9a7d248948b273145174c1a58e4ada
b8593b1c9495369ce0df32c6fd5d4f7e23360d81
/main.py
db9c7e833dfadfaf350698950bc3cd3be8a14cbc
[]
no_license
Lejia-Zhang17/StreamlitDemo
210a1bf78719bcff09ef6c0e5e8d500c303b7aac
0505c71fb98f950c9939979f5ed2d5eeeedf60b4
refs/heads/master
2023-04-15T09:51:59.670335
2021-04-24T03:31:13
2021-04-24T03:31:13
361,061,489
0
0
null
null
null
null
UTF-8
Python
false
false
2,614
py
import streamlit as st import pandas as pd from sklearn.ensemble import RandomForestRegressor from sklearn.metrics import mean_absolute_error, mean_squared_error, r2_score header = st.beta_container() dataset = st.beta_container() feature = st.beta_container() model_training = st.beta_container() st.markdown( ""...
[ "lexie@juzitadideMacBook-Pro.local" ]
lexie@juzitadideMacBook-Pro.local
aa080bc15ee6542bd46c558c8d680730bde6a6e0
4dd014286285b776269305099f8725617bc97fea
/bs_demo.py
02ab6be2ec8d07ab4f28d053c0f276e56523188b
[ "MIT" ]
permissive
zgo23/flipkart-laptop-scraping
f0c66d13e6bac87650b5c2d3fe5c941e7e40ce3d
1c8ab437f81b874fa3b76de22fad2d61bf33e642
refs/heads/master
2022-12-08T02:00:49.553627
2020-09-09T11:25:34
2020-09-09T11:25:34
293,691,320
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
from bs4 import BeautifulSoup html_doc = """ <html><head><title>The Dormouse's story</title></head> <body> <p class="title"><b>The Dormouse's story</b></p> <p class="story">Once upon a time there were three little sisters; and their names were <a href="http://example.com/elsie" class="sister" id="link1">Elsie</a>, <a...
[ "zgo23@uclive.ac.nz" ]
zgo23@uclive.ac.nz
bc922c2561f60a7eb5872bdc4b5d64b559f6c020
e1b2c3beb997d5cc70bbf7d508dfa3a039b7b055
/backend/main.py
bc569db0967a2ba6b1c70e34c737b7b9d3e4f9d0
[ "Apache-2.0" ]
permissive
patrickbrandt/bovine
2f51d59eb60058924d7cf79a7c61b706032ee6c0
4949ed7c03700cd9ff4d59c4c4e2c9ec3157b8e7
refs/heads/master
2021-05-01T03:23:13.715720
2018-02-08T17:53:57
2018-02-08T17:53:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,256
py
from __future__ import print_function import json import urllib import os import base64 import boto3 print('Loading function') S3_BUCKET = os.environ['S3_BUCKET'] STAGE = os.environ['STAGE'] AUTH_URL = os.environ['AUTH_URL'] URL = os.environ['URL'] def build_config(): config = { "auth_url": AUTH_URL, ...
[ "robert.davis@cfacorp.com" ]
robert.davis@cfacorp.com
9a16a9f55349336b0fa57b5ee1bb05f0f9b2d80a
1bf33aaaa787d05037771643bfd15e346fbf9414
/pages/migrations/0002_auto_20210303_1357.py
6a9c98d97b05df3e7edbb7a3d949188af95a5b70
[]
no_license
krishanwishwa/Efarm-Harvest-Management-System
4b23df89544956413f2973548670c792f7801875
c514bd5e18f048e4c682a4f6c72aa8d70b695ab1
refs/heads/main
2023-05-05T00:31:38.143241
2021-06-03T12:03:13
2021-06-03T12:03:13
373,163,587
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Generated by Django 3.1.6 on 2021-03-03 08:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pages', '0001_initial'), ] operations = [ migrations.AlterField( model_name='product', name='fcontact_number', ...
[ "wishwa32@gmail.com" ]
wishwa32@gmail.com
67cde3416c4281b6a0c5b9c83b7d57abc55b6ba7
9346a8509822d1f40ffdddd079081bb9df7833dc
/convert_seg_to_bbox_txt_file.py
cd4cf4553b74c59b151855ffd99e1a1550628aa5
[ "MIT" ]
permissive
crmauceri/dataset_loaders
57e1d88d66d0bf0760797887d88fd2e7332b3363
542401b1a9a1ca98a15b4e529a3e78f9d0f91f52
refs/heads/master
2023-03-13T22:12:12.452223
2021-02-26T17:44:46
2021-02-26T17:44:46
341,955,417
1
1
null
null
null
null
UTF-8
Python
false
false
2,482
py
from dataloaders import make_data_loader import argparse, os.path, os import numpy as np from tqdm import tqdm from dataloaders.config.defaults import get_cfg_defaults ## Use to convert dataset to YOLO format txt files def main(cfg): datasets = make_data_loader(cfg) for dataset in datasets[:3]: img_l...
[ "cema3961@colorado.edu" ]
cema3961@colorado.edu
7633908cfeff1a7a7f1a5f8a38599e5054b16595
e80c7c62cbf193688df374b99802915134db4122
/CsvReader/CSVFiles.py
335589cac29be5c40f57bc4a344d18bd6e78037e
[]
no_license
yk273/IS601-Mini-Project-2
5f459a041ae60451321ba3bd50d77736fb1d85cd
8dd6967ff14dbe11f938477be0f63c4201d44ba0
refs/heads/master
2020-09-02T11:57:48.930488
2019-11-20T00:42:49
2019-11-20T00:42:49
219,215,427
2
0
null
2019-11-16T03:45:47
2019-11-02T21:20:57
Python
UTF-8
Python
false
false
486
py
from CsvReader.CsvReader import CSVReader from CsvReader.TestData import test_data_values from CsvReader.TestDataResults import test_data_results class CSVFiles(CSVReader): def __init__(self): super().__init__() def test_data_value(self, test_data): self.result = test_data_values(self.test_d...
[ "yk273@njit.edu" ]
yk273@njit.edu
be3cab903221403283dcb433087d1d2770b819c1
2aec9c5e8c72b731d3abf22f2a407fe09c1cde09
/SipopPolicyImg/SipopPolicyImg/settings.py
dc0ee7131688caeaf0e766dc8fe3b44d9a87787e
[]
no_license
jiangyg/ZWFproject
8b24cc34970ae0a9c2a2b0039dc527c83a5862b5
aa35bc59566d92721f23d2dd00b0febd268ac2dd
refs/heads/master
2020-09-26T17:01:00.229380
2019-11-15T13:16:21
2019-11-15T13:16:21
226,297,631
0
1
null
2019-12-06T09:55:37
2019-12-06T09:55:36
null
UTF-8
Python
false
false
2,169
py
# Scrapy settings for SipopPolicyImg project # # For simplicity, this file contains only the most important settings by # default. All the other settings are documented here: # # http://doc.scrapy.org/topics/settings.html # SPIDER_MODULES = ['SipopPolicyImg.spiders'] NEWSPIDER_MODULE = 'SipopPolicyImg.spiders' ROBO...
[ "34021500@qq.com" ]
34021500@qq.com
3aafacd2c3e9f63889114636ae310d1c6ca37f74
f7d343efc7b48818cac4cf9b98423b77345a0067
/training/rotateArray.py
e9806b40cb7999c3ceb19bcba0f938c7c66662d9
[]
no_license
vijaymaddukuri/python_repo
70e0e24d0554c9fac50c5bdd85da3e15c6f64e65
93dd6d14ae4b0856aa7c6f059904cc1f13800e5f
refs/heads/master
2023-06-06T02:55:10.393125
2021-06-25T16:41:52
2021-06-25T16:41:52
151,547,280
0
1
null
null
null
null
UTF-8
Python
false
false
122
py
n=[1,2,3,4,5,6,7] k=3 def rotateArray(n, k): new=n[k:]+n[:k] return new newArray=rotateArray(n,k) print(newArray)
[ "Vijay.Maddukuri@virtustream.com" ]
Vijay.Maddukuri@virtustream.com
350eba5e9afe62233d36b52a1ace4dc2f838cdbb
b60f6e1275592d0461727ed93bdd6402a1dbd17c
/tests/citation_test.py
14d97302dc71162a12d1961d9e8836f2617150b8
[]
no_license
fidelitousone/researchpal-sprint2
fe42fe3bf009c0bca92281d30a9bb41c94a2f9e5
bafd5cc020153935e0cd6994877bc46a6b9a94cf
refs/heads/main
2023-01-28T02:56:20.835685
2020-12-09T04:35:31
2020-12-09T04:35:31
313,133,707
0
0
null
2020-12-09T04:35:32
2020-11-15T22:14:29
JavaScript
UTF-8
Python
false
false
4,636
py
import pytest from app import Citations # pylint: disable = redefined-outer-name,too-few-public-methods,too-many-arguments @pytest.fixture def mocked_citation_list(mocked_citation_model): return { "citation_list": [ { "source_id": mocked_citation_model.source_id, ...
[ "48371116+nootify@users.noreply.github.com" ]
48371116+nootify@users.noreply.github.com
09b541231ca7b26b86b963b1d56d20ded60d96a8
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Anscombe/trend_ConstantTrend/cycle_12/ar_/test_artificial_128_Anscombe_ConstantTrend_12__100.py
90590116d599656197e31e656d41ca810bd1f95f
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
269
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 12, transform = "Anscombe", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
4e9ee05904e5eb5a995d42cf800ec0f6744fe564
712991d89625cdc7891975b2fa3a210e655d270f
/main.py
55f06366f0f235e65a7a66bd4cf64433dc5ab05f
[ "MIT" ]
permissive
WiraDKP/cow_detection_opencv
639080dd04f23bdc8de857fc675d6440bc7da5b5
8a136989e3a40af44269ff31e2980913d3b7b7be
refs/heads/master
2023-07-20T10:06:22.652338
2023-07-14T14:33:40
2023-07-14T14:33:40
283,517,597
2
0
null
null
null
null
UTF-8
Python
false
false
730
py
import cv2 from detect import CowDetection from jcopvision.io import MediaReader, key_pressed, create_sized_window import config as cfg if __name__ == "__main__": media = MediaReader(cfg.FILE_PATH) model = CowDetection(cfg.MODEL_PATH, cfg.CONFIG_PATH, cfg.LABEL_PATH) create_sized_window(500, media.aspect_...
[ "" ]
b45775a35e3f67c07cfb7008555c6609457a1dd9
cb81129ca8171c79535d51f6a8ff2cf4c0bf1b16
/Ejemplo I.py
de30cad3d2495845398f51480300fc93c50f433e
[]
no_license
jgambalo/SOLID-GRASP---ACTIVIDAD2
dd77157b03115441ee8ac8c4cd66677d86cca8d8
d0397167ec9ccedbc982e5717114b6e0712b8abf
refs/heads/master
2022-11-17T01:55:57.168176
2020-07-19T23:42:40
2020-07-19T23:42:40
280,970,009
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
import abc from abc import ABC, abstractmethod # Specific Interfaces class iAnimal(ABC): @abc.abstractmethod def eat(self): pass class iFlyAnimal(ABC): @abc.abstractmethod def fly(self): pass class iWalkAnimal(ABC): @abc.abstractmethod def walk(self): ...
[ "noreply@github.com" ]
jgambalo.noreply@github.com
68d3917a975d50656abdc774bc265c0f3b692829
110dd2ffcbb260e63189e05aabcb1381ed365c3d
/matrixbot/ldap.py
7e3808a12bb3d818f13ac88486e9c3f4aad1cba9
[ "MIT" ]
permissive
ziegelstein/matrix-bot
486de59cd890a6fd326a0a123e369a2ffeed2a04
b6db44d39fc23f2bd0c890081fcbb3020f70a614
refs/heads/master
2020-12-30T15:53:51.168664
2017-05-10T14:16:07
2017-05-10T14:16:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,686
py
# -*- coding:utf-8 -*- # # Author: Pablo Saavedra # Maintainer: Pablo Saavedra # Contact: saavedra.pablo at gmail.com from __future__ import absolute_import import ldap as LDAP from . import utils def get_custom_ldap_group_members(ldap_settings, group_name): logger = utils.get_logger() ldap_server = ldap_s...
[ "psaavedra@igalia.com" ]
psaavedra@igalia.com
095c4a3eedbb733256a12214bc9812bc46989004
e4ebe0f85e458ab76631ebdbf7ce691a72975e36
/Documents/GitHub/kvizo_core-kvizo_web/web/quizkly/quizkly_app/models.py
42196d2e22c0bbcbee4f27ef11e1182cc2432f31
[]
no_license
shiningsunnyday/quizkly_landing
45e07672a9ff39aeb1d22bd63493714032da931c
10345aa6f323009ad74b8b7ceaec46cf251de579
refs/heads/master
2020-04-14T07:29:40.551350
2019-03-25T13:33:19
2019-03-25T13:33:19
163,714,119
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
from django.db import models from django.contrib.auth.models import User # for all people who signed up mailing list class AppUser(models.Model): registered = models.DateTimeField(auto_now_add = True) user = models.OneToOneField(User, on_delete = models.CASCADE, primary_key = True) class Meta: ord...
[ "michaelsun18@yahoo.com" ]
michaelsun18@yahoo.com
40559f6e802d7427106f476a0845fb974b53ea71
8a0f37c6847bc8ef2309bdf8c352d3f0373c9264
/androidemu/internal/module.py
d0d10fbab05a3dda299f032a194b065aea49d68f
[]
no_license
xiaoxiao2050/AndroidNativeEmu
444799622e36e37859d3faecb891b94a3730e98f
6af92872f4ec011a3fdd7e54e953894ed772db55
refs/heads/master
2020-06-21T02:22:30.224296
2019-06-20T21:33:30
2019-06-20T21:33:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
class Module: """ :type filename str :type base int :type size int """ def __init__(self, filename, address, size, symbols_resolved): self.filename = filename self.base = address self.size = size self.symbols = symbols_resolved self.symbol_lookup = dict()...
[ "aeonlucid@outlook.com" ]
aeonlucid@outlook.com
ca03f0594aeb6111fbac293d4b25d98d5442ca0a
e67d38be1fda0d9c09fb169d73d9f3153f3c4610
/book_me/asgi.py
fd0b8eadb78102d7191d07a23a53d09331705b54
[]
no_license
s-kobets/book_me
965b95e92886baaeb389e4212a7c88e08626a200
d5999ac1cec08adc126b46615ecdd6ba753d2c35
refs/heads/master
2023-06-10T03:12:08.264666
2021-07-05T18:57:22
2021-07-05T18:57:22
382,767,972
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" ASGI config for book_me project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTI...
[ "s.kobets@semrush.com" ]
s.kobets@semrush.com
e6f0111eeb863107dddf51b208d6fc2247d2f9f9
402b566f68624725ba498bcc29dbbfc2f4f4e713
/learning_log/learning_logs/urls.py
35c1cbd54d2b5d50bc1dc220ecf55517619a6fb5
[]
no_license
KevinG1thub/kevin.learning_log
8f3d2c8d48c525170c00271d14f6be5d8fbe34c4
01b25697d2402b99a12241c96e7374d47d5db8e1
refs/heads/main
2023-02-01T10:25:53.181331
2020-12-17T14:12:06
2020-12-17T14:12:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
"""Defines URL patterns for learning_logs.""" from django.urls import path from . import views app_name = 'learning_logs' urlpatterns = [ # Home page path('', views.index, name='index'), #page that shows all topics path('topics/', views.topics, name='topics'), #detail page for single topic path('topics/<int:to...
[ "kevin.loetscher@seantis.ch" ]
kevin.loetscher@seantis.ch
62476df0b7f7d2e336afdd3147f644b538346cf3
6e9c127bd6705a8b92f240ca663163504b86cd81
/elecsim/reinforcement_learning/__init__.py
c81092b6f862e68895065cc1c34baacd81f097c9
[ "MIT" ]
permissive
alexanderkell/elecsim
239ffd539d1b04f24186ddaae20ac4ce6b258c03
df9ea14cbc8dd3fd4302be9274cb6ea61c0cdb10
refs/heads/master
2023-04-06T10:03:35.367411
2023-04-05T16:52:16
2023-04-05T16:52:16
124,561,430
36
10
MIT
2022-12-08T01:57:45
2018-03-09T15:55:53
Jupyter Notebook
UTF-8
Python
false
false
229
py
""" File name: __init__.py Date created: 01/03/2019 Feature: #Enter feature description here """ __author__ = "Alexander Kell" __copyright__ = "Copyright 2018, Alexander Kell" __license__ = "MIT" __email__ = "alexander@kell.es"
[ "alexander@kell.es" ]
alexander@kell.es
53de0dc2fc3ca23f7489ba815b0d47e166c0a41d
54a0b86d4c3f731487ad4470fb365907970472e6
/P1/studentparameters/Project1_Parameters_gg.py
84f2505c0e7969acde0d86286867f8a7f41dcddc
[]
no_license
samiurrahman98/ece458-computer-security
26aa46e174b0bf77f748e6451dd2e0e4183feebd
cf79430b98e3679ffcd687a0c96b5e979187e1e3
refs/heads/master
2022-11-25T01:26:36.874094
2020-07-31T21:24:53
2020-07-31T21:24:53
280,979,038
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
# Select the file name that matches your first two letters of your last name on Learn # Read those parameters as your ECE458 project 1 parameters # p,q,g are DSA domain parameters, sk_i (secret keys) are used in each signature and verification p=16158504202402426253991131950366800551482053399193655122805051657629706040...
[ "S72RAHMA@uwaterloo.ca" ]
S72RAHMA@uwaterloo.ca
2d8d7aa5d4dc881b46a68978d65a521a65f2e9fa
da69c31ec6eafd545f62a979014d6bf06b187512
/testing/aa_todo/test_workflowqueue.py
feb03e904b6bfba6e2eea912a97e05f0b405e798
[ "CC0-1.0" ]
permissive
dirigit/WALKOFF
ffba8e9134588ea22b1ef51c9d00949211e06f2e
ec70db590060b0c2ab24a19677d4445621c29d01
refs/heads/master
2020-12-13T22:23:16.705568
2020-05-03T06:53:52
2020-05-03T06:53:52
234,548,177
0
0
NOASSERTION
2020-05-03T06:53:53
2020-01-17T12:53:18
null
UTF-8
Python
false
false
4,661
py
import json import logging import yaml from starlette.testclient import TestClient from testing.api.helpers import assert_crud_resource logger = logging.getLogger(__name__) base_workflowqueue_url = "/walkoff/api/workflowqueue/" base_workflows_url = "/walkoff/api/workflows/" def test_sanity_check(api: TestClient, ...
[ "burke_hannah@bah.com" ]
burke_hannah@bah.com
6b06e5c09272e54d1cad1ac49c215743268c2543
e5ddf4ad2f78e8e519a65e148611dfea7fc3f45e
/hw2_multi_SVM.py
2a5499ec9c114a98f10e6dd11d882179706a5754
[]
no_license
Charlie-Ren/ML5525
85165af67901ec3d67a8604dde782f2b2c1d732f
345202a514252740b04234e027d787d62c418837
refs/heads/master
2021-05-17T17:57:56.011352
2020-03-28T22:34:22
2020-03-28T22:34:22
250,906,911
0
0
null
null
null
null
UTF-8
Python
false
false
3,565
py
#!/usr/bin/env python # coding: utf-8 # In[1]: global k import numpy as np import pandas as pd import cvxopt from matplotlib import pyplot as plt data_1=pd.read_csv("mfeat_train.csv",index_col=0).to_numpy() data_2=pd.read_csv("mfeat_test.csv",index_col=0).to_numpy() [m,n]=data_1.shape #we have 10 classes, 1 - 10, an...
[ "noreply@github.com" ]
Charlie-Ren.noreply@github.com
0b1ea9e87abaeb7dfa27789eae2c5d497a7910a1
f7553eda5d250834006f72b962a3ba5421a7f3e7
/pinoStock/product/forms.py
bc5f70dc0b56310c5ff8bad468eb327ffc7e4e5c
[]
no_license
losMomazos/PinoStock_App
efabf677de234801379fe6d4378f322129a816d4
ee37b8f277547cb58893d88ea1838196a043e9f0
refs/heads/master
2022-02-18T07:12:24.692178
2018-05-14T23:43:55
2018-05-14T23:43:55
127,243,504
0
0
null
2022-01-21T19:10:58
2018-03-29T05:56:46
Python
UTF-8
Python
false
false
138
py
from django import forms class ContactForm(forms.Form): def __init__(self, arg): super(ContactForm, self).__init__() self.arg = arg
[ "angelocristobalep@gmail.com" ]
angelocristobalep@gmail.com
c318ceec4cf685ccbeef9e9aecb356187990144e
d400b66030d7ae7157e50230362d6d6a5fd0c797
/make_score_distribution.py
9bac556ac3aff89c50901be52c62853f444f438b
[ "MIT" ]
permissive
EleutherAI/pile-cc-filtering
a981fd670d7780fac0c0aad550fbab5d5a25090c
99f99c56f35f78550805f5c8486db5ba1c9fd358
refs/heads/master
2023-01-03T10:13:36.511864
2020-10-22T16:26:42
2020-10-22T16:26:42
305,167,684
3
1
null
null
null
null
UTF-8
Python
false
false
1,104
py
import lm_dataformat as lmd import os from tqdm import tqdm import sys import fasttext datadir = sys.argv[1] files = [datadir + '/' + f for f in os.listdir(datadir) if f.startswith('data_')] num_docs = 16882635 docs_per_chunk = num_docs // len(files) model = fasttext.load_model('cc_filter_model.bin') def preproce...
[ "leogao31@gmail.com" ]
leogao31@gmail.com
07c5fb10d5e0e904a2bf198a01e216e33817d279
0065ce1c1b03977001d35187d719e0e7699f6569
/exercice5_test_condition_convertir.py
d389e631e5204c2be505f60235977d50600d7f5e
[]
no_license
gb-0001/scripts
646f7bc84c5bc92bee6d7a2d31bb32f7bf26967f
d26bc56703ecfb68065594942dbae2df7b4e8eb3
refs/heads/master
2023-04-13T08:02:38.601816
2021-04-22T20:09:36
2021-04-22T20:09:36
357,812,184
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
#!/usr/bin/python devise = str(input("Saisir la devise 'E' ou '$' à convertir:")) TAUX_DOL_TO_EUR=0.83 TAUX_EUR_TO_DOL=1.20 if devise == 'E': montant = str(input("Saisir le montant en Euro à convertir en Dollars:")) calcul= int(montant) * float(TAUX_DOL_TO_EUR) print("Le montant en Dollars est:", calcul) e...
[ "gb-0001@outlook.fr" ]
gb-0001@outlook.fr
917a61701892ed654350558e644e0a435cc2f512
67a49408d8fbc1846c5e78e2383416670831e8b8
/code/plot_attitude.py
c13eead526a912b7ffafa3cc840366a3f23ff4dd
[ "BSD-3-Clause" ]
permissive
justakeit/InertialNav
515612ce4ac3d54d5e259aafb91d31291dcee88b
3c1aa90f5bb9f69d8bb3c74932caa475d208d755
refs/heads/master
2020-12-25T00:19:39.643079
2014-05-13T06:49:46
2014-05-13T06:49:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
#!/bin/python import matplotlib as mpl import matplotlib.pyplot as plt import matplotlib.cbook as cbook import numpy as np import math data = np.genfromtxt('EulDataOut.txt', delimiter=' ', skip_header=1, skip_footer=1, names=['time', 'roll', 'roll_onb', 'pitch', 'pitch_onb', 'yaw', 'yaw_onb', 'empty1', 'empty2']) fi...
[ "lm@inf.ethz.ch" ]
lm@inf.ethz.ch
f3ddddca66e54f4d6de8933f6b81ae1d7082e0df
06c38f667bbad83a40ded8ea772e4c9c41663403
/models/todos.py
eb0064c2c8130dcdda5a4018857e86d5a31fddfd
[]
no_license
naval2408/pytest_api_framework
0006480085ebc8ddfa58256eb9bf7d3c845f8fef
a0298850f101090b60ee7e51c241075aa70a1385
refs/heads/master
2023-05-30T12:52:24.122960
2020-06-27T13:09:22
2020-06-27T13:09:22
266,531,013
1
0
null
2023-05-22T23:28:08
2020-05-24T11:55:58
Python
UTF-8
Python
false
false
403
py
from dataclasses import dataclass """ This class defines the structure of the response for the get todo API. """ @dataclass class ToDos: user_id: int id: int title: str completed: bool def __init__(self, data: dict): self.user_id = data.get('userId') self.id = data.get('id') ...
[ "navalkishorupadhyay@Navals-MacBook-Air.local" ]
navalkishorupadhyay@Navals-MacBook-Air.local
2b8a2244e4e8b8f8a97d5cbe7d0d579cd8508d15
bc1525a4e85e49829ccbf7cfc9db6881790fa3a7
/pyUbiForge/ACU/type_readers/788BAA0D.py
cf65a21e511965a7960ee2750c94202ea6eb269d
[]
no_license
christianbethel1993/ACExplorer
5183228c1c1beb5d7a3c768f5c8345e00e38f82f
f343de8925e0ca08aff7d2719c5e885dc3e503ac
refs/heads/master
2023-03-26T13:57:15.390140
2019-07-02T12:05:23
2019-07-02T12:05:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
from pyUbiForge.misc.file_object import FileObjectDataWrapper from pyUbiForge.misc.file_readers import BaseReader class Reader(BaseReader): file_type = '788BAA0D' def __init__(self, file_object_data_wrapper: FileObjectDataWrapper): for _ in range(4): for _ in range(4): file_object_data_wrapper.read_float_...
[ "james_clare1@yahoo.co.uk" ]
james_clare1@yahoo.co.uk
6a8ae257ed5d8b212aee3268f49fd10254ece7ce
611992aafa31bf95702d234203b9c5b9c72fd953
/api_model/asynch/test/app.py
dffd25ce4dddde20e39efa4536a1a1c93f6b4403
[ "MIT" ]
permissive
bukosabino/scoring-handler
fd3161a735e06b62a346eccfa6c80178aa1b8965
2e642cd90fbac913185c1c334516f4653eada1b3
refs/heads/main
2023-03-23T17:05:31.345737
2021-02-17T16:01:30
2021-02-17T16:01:30
339,707,159
1
0
MIT
2021-02-25T21:04:52
2021-02-17T11:50:07
HTML
UTF-8
Python
false
false
1,777
py
import ast import os import shutil import sys import unittest import fastapi.testclient as tc from app.main import app sys.path.append(os.path.join("..", "..")) client = tc.TestClient(app) class AsyncModelApiTest(unittest.TestCase): @classmethod def setUpClass(cls) -> None: dir_path = os.path.dir...
[ "dlpadial@opensistemas.com" ]
dlpadial@opensistemas.com
3286465137b14a191af6344d9f59cdd47d20c266
aedb994a7f1d2fee9a4ac39a39b657a863e86dd5
/exercicio_secao_07_p2.py
cc941a57d1909c11063cd36778187524df9cb829
[]
no_license
Carlos2y/exercicios_python_secao_GeekUniversity
6a14355577f6366acd222a267dc3ceaa944f6039
9107ee717eb08dc00899fbe02120a9efa2c8ecbc
refs/heads/main
2023-06-18T17:32:00.328465
2021-07-08T22:11:31
2021-07-08T22:11:31
315,795,095
0
0
null
null
null
null
UTF-8
Python
false
false
16,217
py
from exercicio_secao_07 import question import random import numpy as np import pandas as pd def PM(m): c = [] for i in range(len(m[0])): c.append(" ") x = pd.DataFrame(m, columns=c) print(x.to_string(index=False)) question(1) matrix = [[],[],[],[]] for a in range(len(m...
[ "noreply@github.com" ]
Carlos2y.noreply@github.com
681ed955c661097ddf8cef8a894e4e244f8bfa4e
22c74dd08d9eba048c5870fa0793f79c761de953
/Assignment1/venv/Scripts/pip3-script.py
9c6aa13d9d8999d495aea307e371eafb51d885f1
[]
no_license
Minahil1/IRAssignments
ea0f497fd54829a24a112a2410c6c3d8f3414d9f
036970e05278e9fef965dbc912934bfd488aa2ef
refs/heads/main
2023-01-08T07:41:20.045523
2020-11-11T12:13:02
2020-11-11T12:13:02
311,959,117
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
#!"C:\Users\Samina Fida\PycharmProjects\untitled\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __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)?$', '', ...
[ "haad99@gmail.com" ]
haad99@gmail.com
d3515f68cd253aa9b013ca6e9126dca40e3b35ec
8bf653659db4298f759867053c405e4edbe8a7f6
/workflow/hetero_secureboosting_tree_workflow/hetero_secureboosting_tree_host_workflow.py
1fbd0564b8dc7b425c32212c767194dd5825ab1a
[ "Apache-2.0" ]
permissive
CharlotteSean/FATE
4dad5832db1139b41b37b4b05c1fefd90c1dfa35
e925d4d3a161efd2c0778fc8fb1137bad0b299fb
refs/heads/master
2020-05-19T11:51:07.837311
2019-04-25T06:40:02
2019-04-25T06:40:02
185,001,647
1
0
Apache-2.0
2019-05-05T08:21:18
2019-05-05T08:21:17
null
UTF-8
Python
false
false
1,978
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2019 The FATE Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.or...
[ "dylanfan@webank.com" ]
dylanfan@webank.com
1ccbc85a8f20324d99f2b2eb30db1d21ed445f07
1f51c4e89a71ea3fcc2cc921613aacc19e078b69
/16_Cleaning Data in Python [Part - 1]/02_Text and categorical data problems/06_Removing titles and taking names.py
e3da04a5987946e045f113e8723ed5864fb6283b
[ "MIT" ]
permissive
CodeHemP/CAREER-TRACK-Data-Scientist-with-Python
871bafbd21c4e754beba31505965572dd8457adc
13ebb10cf9083343056d5b782957241de1d595f9
refs/heads/main
2023-03-26T08:43:37.054410
2021-03-22T15:08:12
2021-03-22T15:08:12
471,015,287
1
0
MIT
2022-03-17T13:52:32
2022-03-17T13:52:31
null
UTF-8
Python
false
false
1,407
py
''' 06 - Removing titles and taking names While collecting survey respondent metadata in the airlines DataFrame, the full name of respondents was saved in the full_name column. However upon closer inspection, you found that a lot of the different names are prefixed by honorifics such as "Dr.", "Mr.", "Ms." and "Miss...
[ "ifaizymohd@gmail.com" ]
ifaizymohd@gmail.com
5d96c76972b89756d943837afac8ab18ff82c7bc
e8b21b149f1ce8a9be0b5e52049aa48e30fc0e27
/webtier/html/cgi-bin/test.py
b7beede47613c490e430b01440355214fc6cbe5e
[]
no_license
EricB2745/BlueFlame
b52fb3fc292da01401a4e8dac863a89e223fd262
1d5c0efafade5711d49d97fe063b04e455081767
refs/heads/master
2021-08-10T20:26:20.092171
2017-11-12T23:42:39
2017-11-12T23:42:39
110,448,418
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
#!/usr/bin/env python # enable debugging import cgitb cgitb.enable() print "Content-Type: text/plain\r\n\r\n" print print "Hello World!"
[ "ebuhring@yahoo.com" ]
ebuhring@yahoo.com
3cd902ce5209b6c7863f07b1602b49859de1031e
4d2475135f5fc9cea73572b16f59bfdc7232e407
/prob224_basic_calculator.py
e775df1d9d3e1655e6652d7439cd899e9757ac9c
[]
no_license
Hu-Wenchao/leetcode
5fa0ae474aadaba372756d234bc5ec397c8dba50
31b2b4dc1e5c3b1c53b333fe30b98ed04b0bdacc
refs/heads/master
2021-06-24T04:57:45.340001
2017-06-17T02:33:09
2017-06-17T02:33:09
45,328,724
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
""" Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing parentheses ), the plus + or minus sign -, non-negative integers and empty spaces . You may assume that the given expression is always valid. Some examples: "1 + 1" = 2 " 2-1 + 2 " = 3 "(1+(...
[ "huwcbill@gmail.com" ]
huwcbill@gmail.com
78cc2c0e6ce7233a114f720346695cd17917852a
f6c051b15e29fbf1501499d5551c0d9237da0852
/order/migrations/0008_auto_20210108_0304.py
8fa64fe7e7a2df8ee6ded7dac0bf581c23033732
[]
no_license
Deepjyoti13/eCommerce
8e672d2c4b6f708ef4ac1b66521ce72d2fe2cc39
b0745b8c3a410f7ee8182496c556229748fd3265
refs/heads/master
2023-02-25T04:00:47.068320
2021-01-24T19:21:13
2021-01-24T19:21:13
321,396,947
0
1
null
null
null
null
UTF-8
Python
false
false
560
py
# Generated by Django 3.1.4 on 2021-01-07 21:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('order', '0007_order_tracking'), ] operations = [ migrations.AlterField( model_name='order', name='status', ...
[ "deepjyotide13@gmail.com" ]
deepjyotide13@gmail.com
bd2b16963229ad46bd6f5bc735de3c69475b833f
bcf5f487cf0574af6b6df95d204f5e6278c8d609
/hypernets_processor/main/scheduler_main.py
30957590ff07197b6fb35e16361a41e335d96151
[]
no_license
javierconcha/hypernets_processor
3628d513a58bd36b438a8023aae91eff2f66050a
617751fcc5f974a074ac034e06950bc5b04ed2a5
refs/heads/master
2023-02-24T09:50:00.567573
2021-01-28T14:34:04
2021-01-28T14:34:04
257,593,081
1
0
null
2021-01-28T14:34:05
2020-04-21T12:46:13
Python
UTF-8
Python
false
false
5,100
py
""" Main function for running scheduler """ from hypernets_processor.version import __version__ from hypernets_processor.utils.config import read_config_file, read_jobs_list from hypernets_processor.utils.logging import configure_logging from hypernets_processor.utils.config import get_config_value, PROCESSOR_CONFIG_P...
[ "sam.hunt@npl.co.uk" ]
sam.hunt@npl.co.uk
f3b14c0152c11176bce82a7b75f78d2b4434c904
5119d705c5c916185a0a669bdc2d1eac77649879
/src/fake_stars.py
94fc273133da8f1cbdc6972c1e434af786203089
[]
no_license
Daenjanglee/Balco
3b5ef848f943ee14b8f745856277a8b11286b9de
dd5e257ecbbadfbfa023d9c58ecc928c664efe4f
refs/heads/master
2023-03-15T13:22:23.283429
2021-03-08T21:20:50
2021-03-08T21:20:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,120
py
import numpy as np import matplotlib import matplotlib.pyplot as plt import fitsio from astropy.io import fits from astropy.utils.data import download_file import os import random class FakeStars(): """ A class object that generates fake sources or fake images. NOTE- The generate sources are completel...
[ "noreply@github.com" ]
Daenjanglee.noreply@github.com
2e88f7f6410bfe4c28746b3ebec64e0bc61194be
c4e280f9fca027f894710a896c6e6dcaaa2ed6b8
/tvb_hpc/base.py
f563e66d22ff9ededc1d4393d3f4bb2ceff1ce66
[ "Apache-2.0", "Swift-exception" ]
permissive
sipv/tvb-hpc
aa8bae1643124ac8268b287c2cce08b1dabb7a44
a7253e31225d8a4e353545ace5ebd423d7570ee2
refs/heads/master
2021-06-29T22:02:22.621384
2017-09-13T14:33:46
2017-09-13T14:33:46
103,411,034
0
0
null
2017-09-13T14:36:56
2017-09-13T14:36:56
null
UTF-8
Python
false
false
1,386
py
""" Base classes. """ from typing import List, Dict from numpy import dtype from loopy import ( TargetBase, LoopKernel, make_kernel, add_and_infer_dtypes, make_reduction_inames_unique, ) # list of Loopy instructions Isns = List[str] class BaseKernel: def kernel(self, target: TargetBase, typed: boo...
[ "mmwoodman@gmail.com" ]
mmwoodman@gmail.com
a7c65d4c71c7ca67ebe051dd6ec21a33d83d4b6c
d737ed7a343ceabad50ce1a753d5d3ae0b146ce0
/app/controllers.py
d58382efcb82ae669fcb337bde18aa039e26541e
[]
no_license
BrandonOdiwuor/insurance-agency-management
4f9870594012c50a18d001120f74b22323c64b25
6e2056de09bf576e42eff0c5ae9fa432d4670e69
refs/heads/master
2023-04-26T18:05:42.882188
2021-05-13T09:18:32
2021-05-13T09:18:32
348,772,349
0
1
null
2021-05-13T09:18:33
2021-03-17T16:10:07
CSS
UTF-8
Python
false
false
11,433
py
from app import db from app.models.user import User from app.models.customer import Customer, CustomerStatus from app.models.invoice import Invoice from app.models.payment import Payment from app.models.quotation import MotorPrivateQuotation, MotorCommercialQuotation, \ Quotation, MedicalInpatientQuotation, Medical...
[ "brandon.odiwuor@gmail.com" ]
brandon.odiwuor@gmail.com
97e5fb3a556818b85edddb8b4c2f2dbef205fd66
97584e83f94bd5c05ccd6796bd9405dbe8351cba
/analysis/textclassification/SklearnClassifierFactory.py
5ca45f8d801a1676e714d598ee26ce4a31c5c22c
[ "BSD-2-Clause" ]
permissive
dhermyt/WONS
abc64faab6ec631ca6c4b73e6fd501f1beba87f4
795b29fea6fbaf941d28aebe13029f5e8a1714d3
refs/heads/master
2021-04-25T13:29:15.294509
2018-03-06T20:38:32
2018-03-06T20:38:32
52,667,198
6
1
null
2017-10-06T11:27:50
2016-02-27T13:05:47
Python
UTF-8
Python
false
false
2,285
py
from nltk import NaiveBayesClassifier, SklearnClassifier from sklearn.ensemble import RandomForestClassifier from sklearn.linear_model import LogisticRegression from sklearn.linear_model import PassiveAggressiveClassifier from sklearn.linear_model import Perceptron from sklearn.linear_model import RidgeClassifier from ...
[ "daniel.hermyt@gmail.com" ]
daniel.hermyt@gmail.com
f1c57d57d4175a117e64f2370c9b2da75032aefd
5cea76d53779d466f19a5cf0b51e003586cc4a7b
/project/chapter29squish/config.py
c0a9c78f74009e17e69d5662bf33698d71ab2bc1
[]
no_license
evan886/python
40152fdb4885876189580141abe27a983d04e04d
d33e996e93275f6b347ecc2d30f8efe05accd10c
refs/heads/master
2021-06-28T12:35:10.793186
2021-05-26T14:33:40
2021-05-26T14:33:40
85,560,342
2
1
null
2017-10-11T05:31:06
2017-03-20T09:51:50
JavaScript
UTF-8
Python
false
false
713
py
# Configuration file for Squish # ----------------------------- # Feel free to modify the configuration variables below to taste. # If the game is too fast or too slow, try to modify the speed # variables. # Change these to use other images in the game: banana_image = 'banana.png' weight_image = 'weight.png' splash...
[ "evan886@gmail.com" ]
evan886@gmail.com
9fcb80ebf6ba49d19469342df5512714fae0445e
c7cbbd4b1c1e281cef5f4a0c4e3d4a97cee2241e
/froide/accesstoken/views.py
f7bfb75707d18ad131e30d2a36f10fd8cc21fc26
[ "MIT" ]
permissive
manonthemat/froide
078cf78a6eb35226512c0bdfa2ac9043bcc81ad9
698c49935eaf2e922f3c9f6a46af0fd545ccbbbb
refs/heads/master
2020-08-14T08:19:36.215473
2019-10-14T19:43:16
2019-10-14T19:43:16
215,129,869
0
0
MIT
2019-10-14T19:35:49
2019-10-14T19:35:49
null
UTF-8
Python
false
false
669
py
from django.views.decorators.http import require_POST from django.utils.translation import ugettext_lazy as _ from django.contrib import messages from froide.helper.utils import render_403, get_redirect from .forms import ResetTokenForm @require_POST def reset_token(request): if not request.user.is_authenticate...
[ "mail@stefanwehrmeyer.com" ]
mail@stefanwehrmeyer.com
990b85fea581c3710a827f71f87d0f2bc9447d5f
ef54d37f8a3303013ca7469871a320d303957ed7
/robo4.2/4.2/lib/python2.7/site-packages/robot/libraries/dialogs_py.py
252b6948049aa0b01ab2f54bdf4e68c57aabb39a
[]
no_license
richa92/Jenkin_Regression_Testing
d18badfcf16bda682dfe7bcbbd66f54a9a27a58d
24a74926170cbdfafa47e972644e2fe5b627d8ff
refs/heads/master
2020-07-12T10:01:59.099137
2019-08-27T12:14:53
2019-08-27T12:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,703
py
# Copyright 2008-2015 Nokia Networks # Copyright 2016- Robot Framework Foundation # # 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 ...
[ "akul@SAC0MKUVCQ.asiapacific.hpqcorp.net" ]
akul@SAC0MKUVCQ.asiapacific.hpqcorp.net
71981e273fe57c7361cbf2082c031fc628341729
910b09b106abd18a9bdbcb02f8564eddcd21d63a
/medical/loc.py
dd03ec7bcb0cd1c31144acb8f6a35940118ceb2d
[]
no_license
rajshah9914/HealthCare
7dbdc3554a5edfe3661361130f6ad1260f5a647a
b1b21dc7a27edeb8033917d5303fa4eaa11517af
refs/heads/master
2020-04-18T17:28:15.609851
2019-01-26T06:00:43
2019-01-26T06:00:43
167,655,586
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
import geocoder g = geocoder.google('Mountain View, CA') print(g.latlng)
[ "rajshah9914@gmail.com" ]
rajshah9914@gmail.com
35dfe86db227e3ebcc4020419a9b458da4804d07
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_8/models/quota_setting_response.py
911d109050831d4426d6f40b7851420fcdcd0f2a
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,181
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.8, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.8 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
fc8099f577227ef62f0cb10d9e33cf5a046236c8
d42b43bda2ee4d4640a53624433e1f6894a60ce5
/workspace/src/pytorch/nodes/blurnet.py
43f9fa0c6962f001ec076486e180d295a7c65b71
[]
no_license
brikeats/ROS
9c18c09a8b70e48f2cf7275d4b3d194ae90e5208
7fb454dc04a1b6d17a6a2d4cf03b617112778403
refs/heads/master
2023-06-25T13:04:29.769576
2018-07-06T04:53:45
2018-07-06T04:53:45
58,983,597
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
import torch import torch.nn as nn from torch.autograd import Variable import numpy as np import scipy.stats as st def gaussian(kernlen=21, nsig=3): interval = (2*nsig+1.)/(kernlen) x = np.linspace(-nsig-interval/2., nsig+interval/2., kernlen+1) kern1d = np.diff(st.norm.cdf(x)) kernel_raw = np.sqrt(np...
[ "brikeats@gmail.com" ]
brikeats@gmail.com
623f6422a5ae6024cf8396a91d4e17034ad223ef
0a848b5b2ea31a7e2e997f27b13f363530df78d1
/backend/register/urls.py
0f41e3c719325e428be212796d4a784a5b0b1870
[]
no_license
PhanVanThanh-hub/React-Django-Ecommerce
a88e4c0747a9a3d6179d45c60641595221fe701c
00946075486495676595fe0a17dcdd0799756d4b
refs/heads/main
2023-08-13T19:24:40.492000
2021-09-30T13:05:03
2021-09-30T13:05:03
412,066,886
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
from django.urls import path, include from . import views urlpatterns = [ path('', include('register.api.urls')), ]
[ "thanhphan1230@gmail.com" ]
thanhphan1230@gmail.com
3343c7b2165ded3fa957485d7dec326cfdadeaf5
ee3e0ff891295dcd44c2d1404d8ad4b837ac3526
/old/profile_all_attributes.py
16e945018b171fa7827e2fb43af88458f8a5113c
[]
no_license
ScottHull/examine_fdps_sph_outputs
97868dcec98a1f5d39bd938eeda5c628b93ccbbb
43345c770bb54973baca9e23e7379e0e5dcb33a8
refs/heads/master
2023-05-29T11:59:12.493737
2021-06-17T13:17:51
2021-06-17T13:17:51
262,062,371
0
0
null
null
null
null
UTF-8
Python
false
false
8,551
py
from math import sqrt import pandas as pd import matplotlib.pyplot as plt target_path = "/Users/scotthull/Desktop/tar.dat" impactor_path = "/Users/scotthull/Desktop/imp.dat" target_df = pd.read_csv(target_path, header=None, skiprows=2, delimiter="\t") impactor_df = pd.read_csv(impactor_path, header=None, skiprows=2, ...
[ "scottdhull21@gmail.com" ]
scottdhull21@gmail.com
56650a7bd8cc9cfe12af8659a72c93dc5ef17f4d
76362840f04ed27f0391b2806933a697249e4b36
/basics/excercise/01douban_all/common/test02.py
b87ab9b18e596f03daca5ac57eb89869d9a2e021
[]
no_license
loriyuhv/PythonSpider
db9aa67f47a01d2f00cf878319ee2273ba79a92f
9882de213d0475ab473732ce3c9c34935f185317
refs/heads/master
2023-08-26T06:51:27.635345
2021-11-10T07:13:07
2021-11-10T07:13:07
415,745,726
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
import requests import random url = "https://book.douban.com/tag/%E5%B0%8F%E8%AF%B4" query = { "start": 20, "type": "T" } user_agent = [ "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKi...
[ "2385923602@qq.com" ]
2385923602@qq.com
7beeaf9f5002b8b2818072f358d67a855bf0bbee
77eadc4ba7a64523e49c47f5f6a6fdfde314dff5
/com/infervision/code_0920/change_dicom_time_06.py
214f1ae2bfd8bdda344797a30cb3b66d5098eefc
[]
no_license
hashmapybx/deal-dicom-02
a6ea45f0222ee6f2d9d4109ec6d79d5a65e557d2
01070360af9a139c619c074bab05e4978891ca9c
refs/heads/master
2021-07-02T00:45:40.006312
2021-06-26T14:54:52
2021-06-26T14:54:52
205,334,706
2
0
null
null
null
null
UTF-8
Python
false
false
1,568
py
# -*- coding: utf-8 -*- """ Create Time: 2019/12/9 下午4:29 Author: ybx """ import os import time import random root_path = "/media/tx-eva-data/NAS/基础数据库/肺部计算机辅助诊断软件/CN024002" for ssfile in os.listdir(root_path): if ssfile.endswith('.log'): continue str_date = ssfile[:10] str_year = str_date.split(...
[ "yboxing@infervision.com" ]
yboxing@infervision.com
cd99f75be9785932ded5f27ee27c535ed1bf67e4
ffbc6975238e862b689de3340ea1820d96594fe4
/hand2text/rules.py
df441aa70a6c85313e080784ccb439ac15206a55
[]
no_license
reusee/ILTE
bdc2cf0d9b0f31fa04b397c5c6b25168b74ea00e
69de03cc1d8d1aab798ed8e83fa1c16581d6294b
refs/heads/master
2021-01-22T23:53:09.467562
2013-02-18T07:16:04
2013-02-18T07:16:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,210
py
# coding: utf8 STROKE_COUNTS = { 1: set(['く', 'し', 'そ', 'つ', 'て', 'の', 'ひ', 'へ', 'る', 'ろ', 'ん', 'ノ', 'フ', 'ヘ', 'レ', ]), 2: set(['い', 'う', 'え', 'こ', 'す', 'ち', 'と', 'ぬ', 'ね', 'ぴ', 'ぺ', 'み', 'め', 'ゆ', 'よ', 'ら', 'り', 'れ', 'わ', 'ア', 'イ', 'カ', 'ク', 'コ', 'ス', 'セ', 'ソ', 'ト', 'ナ', 'ニ', 'ヌ', 'ハ', 'ヒ', 'プ', 'ペ', 'マ'...
[ "reusee@ymail.com" ]
reusee@ymail.com
8b8b983e45e52f1de882aa965ff8eb69003c0e72
8e03e02464385d14ac611c5a2135c7b2ba963cce
/vscode/.vscode/extensions/magicstack.MagicPython-0.6.1/test/statements/import3.py
79f06128e0d584c1a586989990631f8d94440e01
[ "MIT" ]
permissive
tony-rasskazov/configs
4d5f9ceb1cf22a7d4986fbcc7bf2c4175daf9259
01dd03f2df11ff0bbdb2d91d455ed48e4f630d14
refs/heads/master
2021-01-18T22:38:11.612622
2017-04-27T19:45:37
2017-04-27T19:45:37
1,803,203
4
7
null
null
null
null
UTF-8
Python
false
false
913
py
from....import a from...import b from..import c from.import d from : keyword.control.import.python, source.python .... : source.python import : keyword.control.import.python, source.python : source.python a : source.python from : keyword.control.import.pyth...
[ "tony.rasskazov@gmail.com" ]
tony.rasskazov@gmail.com
85bd94c34bf80d76824c0acb8c7b0e3827db614a
ab01443d0c1ec6796ec20b5d576a2d2e8b7ddd10
/smsd4/test/testHandler.py
a4d3e424337f9422a6f3e1a3fc77c6b569de2722
[]
no_license
xbfool/smscd
ed5e056be20b7f6090204602a638ac2d878a11b4
6cac858cfa0634ea3b668330fdb3601f43414a58
refs/heads/master
2020-06-14T03:08:14.545823
2018-08-23T15:04:21
2018-08-23T15:04:21
75,513,360
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
__author__ = 'xbfool' if '__name__' == '__main__':
[ "xbfool@gmail.com" ]
xbfool@gmail.com
0834a5b08c86116c058a156d90a1ff41c16fbe22
aa0270b351402e421631ebc8b51e528448302fab
/sdk/servicebus/azure-servicebus/azure/servicebus/aio/_async_auto_lock_renewer.py
0bc36d7b473330ffd0a344b4b93c2976c7fb5cbd
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
10,532
py
# ------------------------------------------------------------------------ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # ------------------------------------------------------------------------- import asyn...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
af8bdce8b06b56c4b156043cf40cb6163573214a
813212a9a3f211c25c4765795ed252d74b0273dd
/main.py
1a8a253f008ccfeffd0ee5c0f2d0d54952d151e8
[]
no_license
Suke0/DSFD_pytorch
0228963441e75f62f1588e37a22e86c90340a0a9
a8ae0f4930acdd81e05f73941a8b397daa35c489
refs/heads/master
2022-03-19T06:45:32.663406
2019-11-19T14:47:38
2019-11-19T14:47:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,535
py
from __future__ import division from __future__ import absolute_import from __future__ import print_function import os import time import shutil import argparse import torch import torch.nn as nn import torch.optim as optim import torch.nn.init as init import torch.utils.data as data import numpy as np f...
[ "jianzhnie@126.com" ]
jianzhnie@126.com
c9c2a19fa0bade0625640dd0a74927dc3df474c3
a4735eec2dac952990ae7a2e1d07c72e4d58e6b4
/libDiscovery/libWSD_Onvif/onvif2/cli.py
b9c7d935d89f662056e319818ae4c5ed2c178e25
[]
no_license
SaulDiez/discover_IoT_vuln
ded041a1eb1c3b88989651cac91e9da9d1202863
2285b0223e1479bf47d586ad3bafa2b2b47d626c
refs/heads/main
2023-06-11T20:36:01.514043
2021-07-07T18:50:36
2021-07-07T18:50:36
377,612,354
0
0
null
null
null
null
UTF-8
Python
false
false
6,086
py
#!/usr/bin/python '''ONVIF Client Command Line Interface''' from __future__ import print_function, division import re from cmd import Cmd from ast import literal_eval from argparse import ArgumentParser, REMAINDER from zeep.exceptions import LookupError as MethodNotFound from zeep.xsd import String as Text from . impo...
[ "sdiezf02@estudiantes.unileon.es" ]
sdiezf02@estudiantes.unileon.es
15fa92910124d8733fc23acbbe25b7199cb90de9
9b1aeb2a871bac56b21cea76017b70c7b264a2b0
/smallScripts/parse_hgnc_file.py
14caa6bc1350b739fe2510bf191338a14b891364
[]
no_license
gudeqing/biodev
bdd8aae514c3502a116ad25b388961acd7c86e48
b9e7c221f6d2c1ecdeefe13cf5aa481a5e5a64f7
refs/heads/master
2023-03-14T06:12:28.971104
2022-11-16T06:40:18
2022-11-16T06:40:18
118,697,443
3
0
null
null
null
null
UTF-8
Python
false
false
5,987
py
import pandas as pd class ParseHGNC(object): def __init__(self, data): """ :param data: https://www.genenames.org/cgi-bin/download/custom?col=gd_hgnc_id&col=gd_app_sym&col=gd_app_name&col=gd_prev_sym&col=gd_aliases&col=gd_pub_ensembl_id&status=Approved&status=Entry%20Withdrawn&hgnc_dbtag=on&order_...
[ "822466659@qq.com" ]
822466659@qq.com
72d0a91efae53216da61610416aa816a93f0d33a
a6ef13387c24c719a0dcfeb173521cd70beac282
/python1/mod_call_fibs.py
9415180ce0991ba45b0e4e2af1218228cf63e8c3
[]
no_license
youjiahe/python
f60472d61daf58b7f5bb6aa557949de4babf8c9c
74eb4c5ba211ae5ffed2040576e5eead75d16e7d
refs/heads/master
2020-03-31T02:35:55.787809
2019-12-02T16:32:54
2019-12-02T16:32:54
151,831,735
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
#!/usr/bin/env python3 import mod_fibs import mod_fibs as f from mod_fibs import fib mod_fibs.fib() f.fib(5) fib(10)
[ "youjiahe@163.com" ]
youjiahe@163.com
8d4ed2bfc181059a7886b05021ec328a4fd89b11
fa736ce1cbfd90bd6a686db0d65fba3674997fc9
/addons/source-python/plugins/es_emulator/eventscripts/_libs/python/installlib.py
e05bd05ab225687aba9f0d4d7a319c9534a89975
[ "MIT" ]
permissive
Ayuto/EventScripts-Emulator
7f6fc17fe16dc2dec7c47de0457631afa018ff47
3ea8ddb2c855dc1986244a650fa23475fc69ca7f
refs/heads/master
2021-07-04T11:27:13.369194
2021-06-06T18:48:19
2021-06-06T18:48:19
61,387,900
17
12
null
2021-06-06T18:48:19
2016-06-17T16:37:31
Python
UTF-8
Python
false
false
11,170
py
# ./addons/eventscripts/_libs/python/installlib.py import pickle import es import os import path import zipfile ### class InstallInfo(object): """ Class for keeping installation information for an addon Information stored includes basename, version, files, and directories """ version = '' def __in...
[ "ayuto@web.de" ]
ayuto@web.de
2fbf2ae8e89eae703b9212d1fb08bf1936d70d6a
589e6909d51b65accb84b47045416ba721ebf0fe
/packets/tcp.py
4682b2c80480d1a9acf4f4c579ee8a23f2d23f1e
[]
no_license
Denis-Source/sniffer_ru
69a5f2c30f671e0167823e11f998d3461a91426a
a78ab5e2bc01c78fc0575db922afd891970a1a78
refs/heads/master
2023-01-24T05:17:00.504922
2020-12-16T19:42:34
2020-12-16T19:42:34
322,084,584
1
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
import struct from packets.ipv4 import IPv4Packet class TCPPacket(IPv4Packet): """ Клас пакета TCP Аргументы: raw_data - в формате потока битов. Наследует класс IPv4Packet. Атрибуты, которые унаследованы: id_counter : счетчик, используеммый для подсчета количества пакетов; pro...
[ "zolotoverkhdenis@gmail.com" ]
zolotoverkhdenis@gmail.com
605cceafb7745578da0e5040c7db03dccc5e5ffc
c5b69745b12ad36241fa792af44480eb70918cb0
/ibis/tests/expr/test_literal.py
d43226d69d94263d4b54d263c8d01711f06d49e2
[ "Apache-2.0" ]
permissive
vishalbelsare/ibis
bdbfde79086b268f4592cde009e0ffa52ece97e6
3fd6afb223fa442ccd0d9db69a74a431d5e7bcca
refs/heads/master
2023-08-16T16:23:00.535467
2021-11-23T15:33:35
2021-11-23T15:33:35
141,067,229
0
0
Apache-2.0
2021-11-29T20:12:43
2018-07-16T00:06:27
Python
UTF-8
Python
false
false
1,388
py
import ibis from ibis.expr import datatypes from ibis.expr.operations import Literal from ibis.tests.util import assert_pickle_roundtrip def test_literal_equality_basic(): a = ibis.literal(1).op() b = ibis.literal(1).op() assert a == b assert hash(a) == hash(b) def test_literal_equality_int_float()...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
fa48a0d9157450e21a1f4c3f56fe74c3562a244c
8632e27257ad2cc27251a56693282b3c4ea635d0
/src/my_project/my_project/urls.py
b9d1bd4a88fcb65a0c95e80bd15f4ae4e76ec6ee
[]
no_license
160545unsaac/Docker_Django_Postgree_Simple_Crud
1fa384eaadc42aa9d50aa244a3614c9b3ed305a8
ba300b50f884ff3c3710f7bb83c46a5d4bfa8b1e
refs/heads/main
2023-04-01T21:13:32.057982
2021-04-10T14:52:35
2021-04-10T14:52:35
356,608,140
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
"""my_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home'...
[ "noreply@github.com" ]
160545unsaac.noreply@github.com
f68cbe88992b8c2fbede1b8fb70ef94811b7ae46
6ff3d92eda3564d014f5a482b8752b5682720a60
/openfile.py
d0734109b1cc31466111b965f5e18932a9856529
[]
no_license
NikolayTheBoss/LP
3b7e7d34f6445499f54f129ac52d0c232b9bbf95
5cd88ece5ac9a3373ba6acedd01a04ed6d1f806f
refs/heads/master
2023-02-03T09:53:47.555340
2020-12-29T23:21:12
2020-12-29T23:21:12
322,188,253
0
0
null
2020-12-17T11:24:11
2020-12-17T05:14:18
Jupyter Notebook
UTF-8
Python
false
false
622
py
# -*- coding: utf-8 -*- """ Это тестовый файл по открытию файлов""" def main(*arg): with open(*arg, 'w') as fout: fout.write("Hello, World!") return None def read_hello(*arg): path = arg[0] for fline in open(path, 'r'): print(fline) if __name__ == '__main__': finput = input("En...
[ "tnn80@yandex.ru" ]
tnn80@yandex.ru
c4edf23c3518f6e0b30abb391f2fc6aeac70c547
4b6861690f5ef67d4232e133fb35e95e0eeb96a7
/es_distributed/test.py
1ba7e6acd2047cf5ab4101dd7cdadde0d271aad9
[]
no_license
youshaox/deep-neuroevolution
9bc57fa59cda6ac3b756bdd5f255aaea68123e08
66587c80ef21e662a2c81fea42b603a99b90d61c
refs/heads/master
2020-04-14T07:25:49.646973
2019-03-20T23:33:55
2019-03-20T23:33:55
163,711,908
0
0
null
2019-01-01T03:57:06
2019-01-01T03:57:06
null
UTF-8
Python
false
false
1,801
py
from email.mime.multipart import MIMEMultipart import smtplib from email.mime.text import MIMEText from email.header import Header import time import datetime import requests SENDER_EMAIL = "Sometimesnaive@126.com" SENDER_PASSWORD = 'ckRYMMHF6twhCMsm' def send_email(sender_email, sender_password, starttime, endtime):...
[ "youshao.xiao@shuyun.com" ]
youshao.xiao@shuyun.com
2e71f6ffd062bf3479e6b7de7cd4ab0865859365
553d60bcd74ddafdd86cb1de7a1434c3a09cce47
/blog/urls.py
802e2f12359703a0384f60b77944d8a1a759d4b9
[]
no_license
asheed/djangoBlog
d1a7baef217a32a255c346b9d42b9a760afbba75
5ab23d610880cfb1db56f7ac0b23bac63a1ebb86
refs/heads/master
2020-04-19T09:52:47.925418
2017-01-16T13:37:41
2017-01-16T13:37:41
67,637,647
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
from django.conf.urls import url from blog.views import * urlpatterns = [ # Example: / url(r'^$', PostLV.as_view(), name='index'), # Example: /post/ (same as /) url(r'^post/$', PostLV.as_view(), name='post_list'), # Example: /post/django-example/ url(r'^post/(?P<slug>[-\w]+)/$', PostDV.as_vie...
[ "woojin7.ahn@samsung.com" ]
woojin7.ahn@samsung.com
577c50a2c7844508dfb431b3bdeba5da905c6b69
22160ef43b19721ac456c33826ae8c1321907146
/b.py
82e1de5c3f639bf98c45c8a6f86351eee5a907e8
[]
no_license
YATHARTHVARDANdtu/Multi-Thread-Client-Server
99e7f38826ff854fb89ac87ffa241a18b7b389e6
6b4035bdfe8d60a62af948b77c5af8910dde6773
refs/heads/main
2023-07-21T21:14:22.621145
2021-09-01T10:04:14
2021-09-01T10:04:14
402,012,703
0
0
null
null
null
null
UTF-8
Python
false
false
6,941
py
import socket import threading from queue import Queue IP = socket.gethostbyname(socket.gethostname()) PORT = 5566 ADDR = (IP, PORT) SIZE = 1024 FORMAT = "utf-8" DISCONNECT_MSG = "!DISCONNECT" opponentTurn = "Opponent's Turn" yourTurn = "Your Turn" lost = "You Lose" Win = "You Win" #available boards ...
[ "noreply@github.com" ]
YATHARTHVARDANdtu.noreply@github.com
751a731b11d4d64790c1baf3c734d2ecdd5bbf11
db393b8d48aadbb1216ddff37f86579041d6dbaf
/code.py
44d083f376c5b7846bd47a3d08c15babc8de9e7f
[]
no_license
corei5/converts-all-pdfs-in-directory-pdfDir-saves-all-resulting-txt-files-to-txtdir
e2ab1fa2d99f1ccee34b917066f1b66dfdd2e3c6
27eb39dae3e7de44f9a9fb25bf5b5e38a1447fa2
refs/heads/master
2021-08-19T12:34:53.139929
2017-11-26T09:10:44
2017-11-26T09:10:44
112,069,360
0
0
null
null
null
null
UTF-8
Python
false
false
1,820
py
from io import StringIO from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.converter import TextConverter from pdfminer.layout import LAParams from pdfminer.pdfpage import PDFPage import os import sys, getopt #converts pdf, returns its text content as a string def convert(fname): p...
[ "noreply@github.com" ]
corei5.noreply@github.com
ae33e5e64e5edcb987ff8edd262f7a45e2a61f7b
48c4dda8fbecb5bc9506eb0a318508c9a9f37aca
/deep learning from scratch.py
e10c1b2aa591751efd915dc08f92debac8407696
[]
no_license
bigeyesung/DLkaggle
f59e8e2fdac430fd5e97cfc67e63c837a8b12cee
f57b10740b206ecff1bcbfdc7d4436ac8dcac28d
refs/heads/master
2023-07-05T22:16:03.042595
2021-08-07T15:48:54
2021-08-07T15:48:54
262,594,538
0
0
null
null
null
null
UTF-8
Python
false
false
2,766
py
import numpy as np from sklearn.model_selection import train_test_split from tensorflow import keras img_rows, img_cols = 28, 28 num_classes = 10 def prep_data(raw): y = raw[:, 0] out_y = keras.utils.to_categorical(y, num_classes) x = raw[:,1:] num_images = raw.shape[0] out_x = x.reshape(num_...
[ "sungchenhsi@gmail.com" ]
sungchenhsi@gmail.com