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
ead703529581292a7c663c69e44344fb910610e4
801f367bd19b8f2ab08669fd0a85aad7ace961ac
/project/experiments/exp_030_robogrammar/src/common/linux.py
8d7990c8cae792fb0aa965e86f5f64a34241697d
[ "MIT" ]
permissive
Wendong-Huo/thesis-bodies
d91b694a6b1b6a911476573ed1ed27eb27fb000d
dceb8a36efd2cefc611f6749a52b56b9d3572f7a
refs/heads/main
2023-04-17T18:32:38.541537
2021-03-12T19:53:23
2021-03-12T19:53:23
623,471,326
1
0
null
2023-04-04T12:45:48
2023-04-04T12:45:47
null
UTF-8
Python
false
false
307
py
def fullscreen(): from pymouse import PyMouse from pykeyboard import PyKeyboard m = PyMouse() k = PyKeyboard() x_dim, y_dim = m.screen_size() m.click(int(x_dim/3), int(y_dim/2), 1) k.press_key(k.control_key) k.tap_key(k.function_keys[11]) k.release_key(k.control_key)
[ "sliu1@uvm.edu" ]
sliu1@uvm.edu
d3235a476b6b76bf59f61fb0854d4598582a9b60
57650db9c8bdd1bcf58860fc8f087d5772e79815
/Python/ArrayListProblems/RotateImage.py
30e6edc81b9cdc1facc8bbe84a2e711e537a6cd7
[]
no_license
kocsenc/kchung
20573a0fae5154b85cdf30ba8d39a446a5ff9e02
0a9c236d785ca80d0c5b663bf3c6dccb6a3dca14
refs/heads/master
2021-01-19T08:32:50.403874
2015-03-18T17:36:00
2015-03-18T17:36:00
6,600,134
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Kocsen Chung # Problem from Cracking the Coding Interview # 1.6 # Given an image represented by a NxN Matrix of arrays size N, (each pixel is 4bytes), # Can you rotate the image 90 degrees? # Challenge: do it in place: space complexity # Assumptions: # Rotation is clockwise import unittest def rotate(matrix): p...
[ "kocsenc@gmail.com" ]
kocsenc@gmail.com
cb2f8b2bee5279f5b39bfd405cdf5b3b60f4cefc
24fc6bdca8f57a1ab8cb87935a722b02d9cf5192
/processors/linktableupdater.py
7de0bd781c9f48ef1b1ae85b12a443ea4275c3c3
[]
no_license
necrop/gel_build
9c1eb48226082a244f74d6e01297ce5daaa8314e
ad88e7333b35898a0598a55ef4b18dba5f9dc59e
refs/heads/master
2016-09-16T06:47:25.320414
2014-05-05T07:15:25
2014-05-05T07:15:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
""" LinkTableUpdater """ import os from lex import lexconfig from lex.odo.linkmanager import LinkInferrer, LinkUpdater LINKS_DIR = lexconfig.ODO_LINKS_DIR ODO_SOURCE_FILE = os.path.join(LINKS_DIR, 'source', '%s_to_oedlatest_20120817.xml') ODO_OUTPUT_FILE = os.path.join(LINKS_DIR, '%s_to_oed.xml') OED_SOU...
[ "jmccracken@fastmail.fm" ]
jmccracken@fastmail.fm
4fc933b8883c5643a089e799e661c1ffe1591cc4
9fe35ecd724eaa0bed1b842602756696739344d8
/IMDB_top_rate_movies.py
a93bca5a2cec1b06d53043d48e1c432fba0c6773
[]
no_license
happy-thakur/python-scraping
fee2903257dcbd6c3431f2a5c5878f38e3364660
2f92f1054dae57f8c0768a0c262bf7037c20b9cb
refs/heads/master
2021-09-02T00:24:27.953340
2017-12-29T11:17:16
2017-12-29T11:17:16
115,716,143
0
0
null
null
null
null
UTF-8
Python
false
false
2,827
py
#################################################################################### # MY FIRST PROJECT TO SCRAP IMDB WEBSITES TOP RATED MOVIES NAME AND POSTERS # #################################################################################### # http://www.imdb.com/chart/top?ref_=nv_mv_250_6 # # --------------...
[ "suryanshsinghstudy@gmail.com" ]
suryanshsinghstudy@gmail.com
cbca206d1fe04ed45afc6b19d2ee78922ba894ee
0d7bd907ddb0cec85566bde344de00073c69cfd0
/mos_tests/ceilometer/test_restarts.py
2a8f1cdd7840e2a77877b91b26cac9c943734fde
[]
no_license
Mirantis/mos-integration-tests
bdc8e014a646e05961988a88e8c4f80935bece0f
8aced2855b78b5f123195d188c80e27b43888a2e
refs/heads/master
2020-04-04T07:17:57.570280
2017-03-17T11:25:08
2017-03-17T11:25:08
47,408,971
16
39
null
2020-02-26T11:56:54
2015-12-04T14:33:39
Python
UTF-8
Python
false
false
2,542
py
# Copyright 2016 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "gdyuldin@mirantis.com" ]
gdyuldin@mirantis.com
a1f3ec33ab1309af2565027fcd90c45383a3935e
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/bssintl_client.py
00d5e67c6b5163d718ef1c8ed60c547f9b81f5db
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
98,759
py
# coding: utf-8 from __future__ import absolute_import import datetime import re import importlib import six from huaweicloudsdkcore.client import Client, ClientBuilder from huaweicloudsdkcore.exceptions import exceptions from huaweicloudsdkcore.utils import http_utils from huaweicloudsdkcore.sdk_stream_request imp...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
e0257d3630a0744a11c1f8fc9a29987008941d74
10443fb39a7e8e85f0939276f83f3b5fdddcb1af
/manage.py
0fa869a70e41e61ece5daa12d1663e92cc26a058
[]
no_license
antdh2/EOShopifyStock
51410e987c070caee9f9f42254682da31c7a890f
b799edf09d9bdef9db5120afc95409fafc6b3893
refs/heads/master
2021-07-17T17:33:48.342156
2017-10-23T13:15:02
2017-10-23T13:15:02
107,971,503
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "shopifystock.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that...
[ "antdh2@gmail.com" ]
antdh2@gmail.com
b0cb2fcad64f1d8bc01c179b0c918d51cdc79715
ba17b547389c3e38e845aae65dd8fce633a0c4d6
/mtsp_solver.py
feadb28467ca215a7a15ac049bf66bf0fe70d8cb
[]
no_license
ShivinDass/Multi-Agent-TSP-with-ACO
ff2b205da62b1d316841774967b4a78007f1f44f
46d868c7068127d5de47a5a2750cb533a199a246
refs/heads/master
2021-09-23T07:30:18.425383
2021-09-17T01:04:04
2021-09-17T01:04:04
225,697,267
3
0
null
null
null
null
UTF-8
Python
false
false
8,784
py
import pygame,random,copy,math,sys display_width=500 display_height=500 pygame.init() gameDisplay=pygame.display.set_mode((display_width,display_height)) pygame.display.set_caption('Game Window') clock=pygame.time.Clock() #######COLOR DEFINITION######### Red=(255,0,0) Blue=(0,0,255) Green=(0,255,0) Black=(0,0,0) Y...
[ "shivin16091@iiitd.ac.in" ]
shivin16091@iiitd.ac.in
5d398e23330acab6248df9a9813cc727efae92e7
818063a2d41bded89e0b31df70f1616700975f71
/src/spark-sql.py
1cc68db7f3c6b153da22785613d5d5b2d550751d
[]
no_license
Cohey0727/hello_spark
17ff924aae928c33522e46ee8a61eca1fb91f37d
880995d68cd7e637d8c5e7bf37208ec567b43f45
refs/heads/master
2022-12-09T21:46:46.479944
2020-09-12T14:33:19
2020-09-12T14:33:19
293,216,643
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
from pyspark.sql import SparkSession from pyspark.sql import Row # Create a SparkSession spark = SparkSession.builder.appName("SparkSQL").getOrCreate() def mapper(line): fields = line.split(',') return Row(ID=int(fields[0]), name=str(fields[1]), \ age=int(fields[2]), numFriends=int(fields[3])) ...
[ "ohayousagi.ac.kook0727@gmail.com" ]
ohayousagi.ac.kook0727@gmail.com
76966aa3a8bf0a89e42edf8ac15aa8fde7390e66
a2d616c6725670901bdc9a87914211535f10ca11
/hatapp/hatapp.py
4173e7aa3954a7b5eed080483f636ecee965b9c9
[]
no_license
mjmdavis/thinking-hat
07751f6e4b195161193dbf815aa53ed0772e4fa3
23aef9bc5f18ba45d7e47e9dd083e7cce2717271
refs/heads/master
2022-12-11T22:34:41.338856
2018-04-17T22:18:03
2018-04-17T22:18:03
129,388,938
2
0
null
2022-12-08T00:58:30
2018-04-13T10:46:34
Jupyter Notebook
UTF-8
Python
false
false
7,099
py
#!/usr/bin/env python3 from kivy.config import Config Config.set('graphics', 'fullscreen', 'auto') from kivy.app import App from kivy.lang import Builder from kivy.uix.widget import Widget from kivy.core.window import Window from kivy.uix.gridlayout import GridLayout from kivy.uix.layout import Layout from kivy.uix.i...
[ "dev@joernhees.de" ]
dev@joernhees.de
d123820df06d89c3354218e181ceff86851d1e77
7f5359b2f7b5148bc5687d505945db595c842659
/rigging the game v2.py
5c78da3abfa44210da9c639727945c83abdd7039
[]
no_license
FrontEnd404/CIS1501-Fall2020
d873c4326f17bae07a79ee01c0d81d9560c8f3cd
405bfbfeca79c843a868744d47383b3ecb4be3ca
refs/heads/master
2023-02-03T04:28:24.172759
2020-12-23T01:07:03
2020-12-23T01:07:03
297,189,982
0
0
null
null
null
null
UTF-8
Python
false
false
2,396
py
import random total_winnings = 0 total_spent = 0 print("only whole numbers 1-9 are allowed") print("input numbers one at a time") player_choose = input("choose y to input your number r to get random numbers and x to stop playing") while player_choose == "y" or player_choose == "r": # PICKS WINNING NUMB...
[ "noreply@github.com" ]
FrontEnd404.noreply@github.com
72c30e6c08374d33d8ff0572d4b267013d5ee46f
2aec9c5e8c72b731d3abf22f2a407fe09c1cde09
/Domain_Lost_Data/DomainRedis/spiders/org_demo.py
7ce4603fab6be754b7df7f213c361937207a52e3
[]
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,381
py
from scrapy_redis.spiders import RedisSpider import re from xpinyin import Pinyin from scrapy.spidermiddlewares.httperror import HttpError, logger from twisted.internet.error import * import scrapy from DomainRedis.items import DomaintestItem import redis connect = redis.Redis(host='127.0.0.1', port=6379, db=...
[ "34021500@qq.com" ]
34021500@qq.com
697fa08f57edffd58997de8841ab2a824deae6d6
29576504eee5ed9942f71cf17af62dca4fa5c8f2
/mafCoveragePickles/src/mafCoveragePickleCreator.py
57be03c05cf1835b0a64477e381533396502d3ce
[ "MIT" ]
permissive
sorrywm/mafTools
8a744f6fdb4cd271ff268f01ba6ec99896a1ba54
601832a780f328d48893474f0f4934dcbf9df73c
refs/heads/master
2021-04-18T21:24:18.334694
2012-09-13T20:09:48
2012-09-13T20:09:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,278
py
#!/usr/bin/env python2.7 """ mafCoveragePickleCreator.py 10 January 2011 dent earl mafCoveragePickleCreator is a script that operates on a single maf (multiple alignment format) file and extracts information from the alignments of pairs of sequences. Output is a pickle. The maf sequence name field must have the forma...
[ "dearl@soe.ucsc.edu" ]
dearl@soe.ucsc.edu
6b7543c3f302d393698c043884c197d6f1358ffc
9e8b11fb2e905cd7710bcd4ca441d48580e34fe6
/hypergan/gans/experimental/alialpha_gan.py
2bb8f2cca9ee3d391c9bf4e6da0bd7856fa9e6a2
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
logbie/HyperGAN
ee6cdafdc17f40e30ce585d8ba46bb30758c7b67
07b0f070c05a56b9931638512b06e79e3d936c64
refs/heads/master
2022-06-04T12:15:04.350622
2020-04-29T17:14:36
2020-04-29T17:14:36
110,853,824
0
0
MIT
2020-04-29T17:14:37
2017-11-15T15:50:32
Python
UTF-8
Python
false
false
9,107
py
import importlib import json import numpy as np import os import sys import time import uuid import copy from hypergan.discriminators import * from hypergan.distributions import * from hypergan.generators import * from hypergan.inputs import * from hypergan.samplers import * from hypergan.trainers import * import hyp...
[ "mikkel@255bits.com" ]
mikkel@255bits.com
654c0ae1949f522740a1b32adec1130cbc0b5203
edaac8eea187636ed1e5b4ca1a976160a0574f07
/users/migrations/0001_initial.py
277abdd6bee731a9603e2eeb7d7f60ed147c3dfc
[]
no_license
mythxn/django-blog
87ea3df339461399427878e9c1cdc9e5da1d9532
3f866dbd02a06ed8e22b659808ad8e0c5231f9ea
refs/heads/master
2023-06-08T16:06:49.057272
2021-06-23T09:23:32
2021-06-23T09:23:32
378,936,359
1
0
null
null
null
null
UTF-8
Python
false
false
780
py
# Generated by Django 3.2.4 on 2021-06-22 08:08 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "mithun.shanoj@dubizzle.com" ]
mithun.shanoj@dubizzle.com
6aeca5ac55acd107efab93b64200db2217306fb8
8559864e556c6a4ff788cf90fc7f56dac7194ec0
/web_test - lipei/scripts/handle_logging.py
a33ca1fd0bf82a30c0b61219c210990c550a5c86
[ "MIT" ]
permissive
wl027728/web_demo_wl
1a8c389d6d1a1dfe9b724b850283e7e05d2ed725
52bae068afc4bd67f6a2e5b1d29ab7e78f1776f8
refs/heads/master
2023-03-20T09:52:13.486727
2021-03-14T13:27:26
2021-03-14T13:27:26
346,993,997
0
0
null
null
null
null
UTF-8
Python
false
false
1,623
py
# -*- coding: utf-8 -*- """ Create Time: 2019/7/1 22:59 Author: 作者 """ import logging from scripts.handel_config import config class HandleLogging: def __init__(self): self.case_logger = logging.getLogger(config.get_value('log','logger_name')) self.case_logger.setLevel(config.get_value('...
[ "1228030608.com" ]
1228030608.com
8f0ef6ac7a3b575fbac83babbe1b800000ed78f5
740a26442d5dfa96c48c7a942550433841730ccf
/clinica/urls.py
dee8f6ff73f85d2c8f14fdf58d248772b082b8f1
[]
no_license
antoniodeveloper10/agendamentos
07034c983a5c76b7aa27eb3f23b7e3eda993ddb6
130fa117b846343c21141c895436b387a9f7fa74
refs/heads/master
2023-04-09T02:18:31.428463
2021-04-16T13:44:04
2021-04-16T13:44:04
326,991,617
0
0
null
null
null
null
UTF-8
Python
false
false
1,619
py
"""clinica URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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...
[ "rodrigues.jantonio84@gmail.com" ]
rodrigues.jantonio84@gmail.com
b5d52cb8c65ddc883a018ebd0fbcf110e0ceb4f9
bc28f5d8ad5521e9127838d9cd4c73007247eb6e
/backlight.py
e1eafc494a90dac72f9a025c803ad5b543c3d3eb
[]
no_license
nnarain/backlight
30a6c91fdfde1ac0b2c8b4000a604349e11ce0c2
d680a04a81e9432713592cd81cbeb0592475e23d
refs/heads/master
2020-03-22T04:11:33.757062
2018-07-08T04:57:42
2018-07-08T04:57:42
139,479,854
1
0
null
null
null
null
UTF-8
Python
false
false
8,924
py
import time import json import logging from neopixel import * from queue import Queue from threading import Thread import paho.mqtt.client as mqtt from argparse import ArgumentParser class BacklightDriver: LED_FREQ_HZ = 800000 # LED signal frequency in hertz (usually 800khz) LED_DMA = 10 # DM...
[ "nnaraindev@gmail.com" ]
nnaraindev@gmail.com
17a1106b266eb45e39440a6294b78f1e319191a1
2aec33af60857a7d8d0249ef6031d34989c3c787
/app/models.py
12939aff10389da91db7dd94e077f3c35a6f83f8
[]
no_license
alexmon1989/houses_for_rents
e640d14176ada420b49e2c660cbf604aa42f41e8
2eb24c1c5692399005ef186575682784518b9025
refs/heads/master
2021-01-13T08:15:48.774822
2016-10-26T07:03:16
2016-10-26T07:03:16
71,801,865
1
0
null
null
null
null
UTF-8
Python
false
false
8,715
py
from app import db import datetime class City(db.Model): """Класс модели для взаимодействия с таблицей БД *cities*.""" __tablename__ = 'cities' id = db.Column(db.Integer, primary_key=True) title = db.Column(db.String(255), nullable=False) updated_at = db.Column(db.DateTime(), ...
[ "alex.mon1989@gmail.com" ]
alex.mon1989@gmail.com
aff26d032d996f020ce09b191b36ff0dc2d65c3e
ec528e05780dcac49394fbce06a8fe181774c526
/Django-master/mysite/mysite/urls.py
cf1d9aed18cd40cc93f6b3f8bd61bb6c741208f6
[]
no_license
gurdaan/SOW4
7bc00926f2e572bd7cb0714ec36f7e9e2d03f341
4556531159ec2bd04814fafcd19e049617599a81
refs/heads/master
2022-04-17T14:58:32.798502
2020-04-20T06:34:15
2020-04-20T06:34:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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-based ...
[ "vivekkumarsingh.vk@gmail.com" ]
vivekkumarsingh.vk@gmail.com
ed46e4b2416ba822b4250c7021427b5362f719a7
5b3806c892764673d929fbf96d069e5e8206d9b5
/basic/题/HW/105-滑动窗口-计算最接近的数.py
8d365e246aea72cebafa785c77bb6b98bf6f4d69
[]
no_license
imlifeilong/MyAlgorithm
fdd2386e1ee129b50cf58ec3e9deb92eaca07dc0
45c26b4791fc95b19442b909b6744dbe07bf9a56
refs/heads/master
2023-09-01T06:55:47.353831
2023-08-31T22:38:56
2023-08-31T22:38:56
104,972,320
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
def main(data, k): tmp = sorted(data) # 计算原数组的中位数 mid = tmp[len(data) // 2] minval = float('inf') index = -1 # 符合条件的位置 # len(data) - k +1 为了保证不溢出 for i in range(len(data) - k + 1): # 计算i 到 i+k-1的区间 因为range左闭右开 所以end 等于 (i+k-1) +1 start = i end = (i + k - 1) + 1 ...
[ "13772032410@163.com" ]
13772032410@163.com
d0bf453c1533a614fef331459e2bb7e2f10d5208
869acefabb4accbef670c92d37d54f029bdb4094
/twoSum.py
fc27f63c06fc517a988553f496ff562e6617eaf2
[ "MIT" ]
permissive
angadaws/LeetCode
f275ccd3c6e02540ae76cbfb31e77abead0773e9
8f418dc9b19dd00700012b57902e616188cc42bb
refs/heads/main
2023-05-15T10:37:57.070513
2021-06-12T18:25:45
2021-06-12T18:25:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: hashMap = {} for idx in range(len(nums)): currentNum = nums[idx] difference = target-currentNum if difference not in hashMap and currentNum not in hashMap: hashMap[differe...
[ "caleberioluwa@gmail.com" ]
caleberioluwa@gmail.com
f436bc0f2f1a20e0c00f8fce30e3c1fbab0668f1
1ce9979bf2c5bfcb819c959ab9536b030f97b6c2
/src/api/v1/users/serializers.py
f8bd3a4fad906ae3ef8431d73afb2d59bdce4fdc
[]
no_license
Danirill/cp-2021-back
f3e3a60c4fe2c592ba3f35a2c63b8c4f964ccb96
539b38f5a71ac5e12eb3076371315b14cc330b06
refs/heads/master
2023-06-02T16:29:33.443421
2021-06-20T01:21:03
2021-06-20T01:21:03
378,348,649
0
0
null
null
null
null
UTF-8
Python
false
false
4,151
py
from .models import User, UserToken from rest_framework import serializers from ..labels.serializers import LabelSerializer from django.utils.text import gettext_lazy as _ from rest_framework import serializers from rest_framework_simplejwt.tokens import RefreshToken, TokenError class RefreshTokenSerializer(serialize...
[ "dzykin3@gmail.com" ]
dzykin3@gmail.com
7917caf19c30eb4fd1363fb22874950a2184439e
3a52c30b5709c2e9882c52ce69aa467da4cb845b
/contrib/bitrpc/bitrpc.py
c1e0f7ab3d116a7f11b3656c0f0167d7e1d02930
[ "MIT" ]
permissive
brlcoin/brlcoin
f530a80d6544370aaf291e58004552b44a97b5fd
8492b68be996d8f970a7c9537b4b97f93a91ab22
refs/heads/master
2020-03-18T20:43:57.160100
2018-05-29T03:03:43
2018-05-29T03:03:43
135,234,623
0
0
null
null
null
null
UTF-8
Python
false
false
7,838
py
from jsonrpc import ServiceProxy import sys import string # ===== BEGIN USER SETTINGS ===== # if you do not set these you will be prompted for a password for every command rpcuser = "" rpcpass = "" # ====== END USER SETTINGS ====== if rpcpass == "": access = ServiceProxy("http://127.0.0.1:38316") else: access = Se...
[ "contato@brlcoin.cash" ]
contato@brlcoin.cash
fec9aaefded80f2a378f29d1b67103de08199993
1fda0ce3c79841b641fc1de13565815019140291
/cars.py
20ac8586ce99b4e07eecec98b0944beb5f3a5d74
[]
no_license
Jparedes20/python_work
15f7669983e2f6ce82352a69b52e37b20f09f2ec
e4b3c5c7be196e9020cdce9509a94a6e823ffd5c
refs/heads/master
2020-04-06T06:54:49.544605
2016-08-30T14:54:07
2016-08-30T14:54:07
62,184,627
0
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
#Sorting a list() permanently with sort() #LIst of the cars i would like to have _dreamCars=['BMW','AUDI','MERCEDES','PORCHE','RANGE ROVER','MUSTANG'] print("\n\tThis is the list of cars I would love to drive: \n\t"+str(_dreamCars)) _dreamCars.sort()#sort() sort the list permanently #print(_dreamCars.sort())Check th...
[ "alfaro.pg@gmail.com" ]
alfaro.pg@gmail.com
34f9123a640b3cd1a16fd0411531ccfb080a2160
a617c7a18f4ea19d2bb61ef62694504aeac94fae
/CovidSentimentAnalyzer/settings.py
fefe8bab24250b6a5f4b97e74581b687f171bb71
[]
no_license
vijay10148/sentiment
e0998a0ea1d6cfaa08c20098198a44f522e3888a
48dc29d77b41dd65afa4afd73f1c0cf6c67378c6
refs/heads/main
2023-08-19T00:36:42.553384
2021-10-07T07:28:11
2021-10-07T07:28:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,387
py
""" Django settings for CovidSentimentAnalyzer project. Generated by 'django-admin startproject' using Django 3.2.8. 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/ ""...
[ "vijaykumar10148@gmail.com" ]
vijaykumar10148@gmail.com
2f3eebfa5b78dc93387ef9ad1519fe33da01dbe4
6e060e9730b58e4d7819335438f915179504e72c
/bit_hr_ec/__openerp__.py
0e51f5c8441b47f79875a37f2d9082416b377860
[]
no_license
missionpetroleumgit/addons_missiongit
4dcdf1d0e79da982670c573d59574a939d1636c0
714514719d5d4d96f371dd529a70ac282070c43b
refs/heads/master
2023-03-10T20:34:10.154050
2021-02-24T23:50:20
2021-02-24T23:50:20
342,027,534
1
0
null
null
null
null
UTF-8
Python
false
false
1,751
py
# -*- encoding: utf-8 -*- ############################################################################## # # Author : Guillermo Herrera Banda hguille25@yahoo.com # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # ...
[ "daldaz@mission-petroleum.com" ]
daldaz@mission-petroleum.com
51fc245df949d638dc027b183c2e11bde92216cc
0601f3ddf997761d1de71c49c9f9ba0fd23d461f
/store.py
be8fbaf6f970f53892c683720690ed2fc108fcb5
[]
no_license
fuchami/kana_bot
58d94c0b9ff753875f259a4615cc92ca0adab413
59f2d1463def90423e71f4d116d600dbd8640267
refs/heads/master
2020-04-04T05:14:25.061969
2018-11-01T15:58:32
2018-11-01T15:58:32
155,738,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
#-*- encoding:utf-8 -*- """ 西野カナの歌詞botから収集 """" import requests_oauthlib import requests import json import sys, os, re import MeCab import random #ツイートの取得 def get_tw(account): session = requests_oauthlib.OAuth1Session( "", #Consumer Key "", #Consumer Secret "", #Access Token "" #...
[ "famichiki.yuuki@gmail.com" ]
famichiki.yuuki@gmail.com
b1acc0f04b1062751b2db87f091c8913e6d51317
5695d6a7d6e190cd5de1b6c115f9b2d57b19bc1b
/app/models.py
30910647719dcfcfbf4d21e16491cfb9a2f30d71
[ "Apache-2.0" ]
permissive
ibm-devops/res-devops-insights
6690def921dec3ed5ddb2bab73c45d41cb847aa4
bebc3a1c3b1916cbcb5cec05f1f83899a0bf3e7f
refs/heads/master
2020-12-30T16:15:36.618886
2017-05-11T15:07:40
2017-05-11T15:07:40
90,972,980
1
0
null
2017-05-11T14:02:06
2017-05-11T11:43:57
Python
UTF-8
Python
false
false
4,801
py
###################################################################### # Copyright 2016, 2017 John Rofrano. 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 # # https://ww...
[ "rofrano@us.ibm.com" ]
rofrano@us.ibm.com
4ac5568a0abde39bef776273621a20d4ac1758df
1df72ac43c4a74b2b8f33f4af47c8aefaaddc150
/missingvalue/missingvalue.py
cfe9d3ca5165015f0a82bc72ace5046ba1b19270
[]
no_license
qwang94200/tags-up
07f7e6e2474c1a7653874449d6220b9cd32d832b
fef5ee437d9b401543095719771ab1e0c6f7b31a
refs/heads/master
2021-01-19T10:34:51.053056
2017-02-27T18:55:22
2017-02-27T18:55:22
82,211,554
0
0
null
null
null
null
UTF-8
Python
false
false
12,653
py
import numpy as np import pandas as pd import pickle import datetime import scipy from sklearn import preprocessing from sklearn.feature_selection import SelectFromModel from sklearn.feature_selection import VarianceThreshold from sklearn.metrics import roc_auc_score from sklearn.model_selection import KFold from skl...
[ "qinna@banksup.fr" ]
qinna@banksup.fr
817ba934ccc1fc01be7563d1b603dffaf4e97900
141f7a35d85fc48659961c26a70037376438c188
/ls05_MNIST_Expert.py
a6e5e626cbf6db868c9bf470cb8098e4e5e0e7b4
[ "MIT" ]
permissive
yu961549745/tfnote
367947e0234cb8ef200acdbb0d54136e7e0db845
df21c414eecfd4e94dd0097f1d57dc2ff1546b70
refs/heads/master
2021-01-19T00:19:00.244740
2017-04-14T14:17:45
2017-04-14T14:17:45
87,152,998
0
0
null
null
null
null
UTF-8
Python
false
false
2,404
py
""" 卷积神经网络训练MNIST """ #%% # 准备工作 # 定义常量 import os import shutil import time dataPath = 'MNIST_data' modelSavePath = 'MNIST_conv' modelCkpPath = os.path.join(modelSavePath, 'conv') modelMetaFile = modelCkpPath + ".meta" batchSize = 50 trainSteps = 500 logPeriod = 100 savePeriod = 1000 startStep = 0 # 读取数据 from tensorfl...
[ "961549745@qq.com" ]
961549745@qq.com
07d637deecc69512c48a0696bef739c3a3603102
c24b373d2d887d1f1cf128208f88efd497f94a77
/stat_functions.py
97144d6bebb90929bb20142f55aaa77674cb0e26
[]
no_license
thebrandonlucas/StatCalc
03a9affdf001342ae98fb61ec625c97efd081ad6
dc5713fd692e0c24e832ae3a35e39b17176553b9
refs/heads/master
2020-04-10T11:31:17.770656
2018-12-09T02:13:32
2018-12-09T02:13:32
160,995,886
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
import re #Split a string based on input into a list def splist(string): # new_str = ','.join(string.split()) outlist = re.split(' |,|\n|, |;|; ', string) delimeters = [' ',',','\n',';'] if not any([x in string for x in delimeters]): outlist = 'Error: Please use a space, comma, or colon as a delimeter' return ou...
[ "bslucas2@crimson.ua.edu" ]
bslucas2@crimson.ua.edu
e554785c0c9bfaf6944269219fde4e2ce7c936e8
6d37778aeca102f8af0d7e7f4b5630350700cb1e
/flask/venv/Lib/site-packages/pyspark/sql/functions.py
c5b6ad019e82d3543aa4012d66c679853c32fab6
[]
no_license
genostack/book-recommender
92f24c56c27f9a91f3530d82a6fa51624c046066
87bbc13cbff0eeaa056576444f07cc1ed119d84c
refs/heads/master
2023-05-11T10:21:59.846792
2020-07-15T21:44:20
2020-07-15T21:44:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
117,027
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 us...
[ "zalexander@nycourts.gov" ]
zalexander@nycourts.gov
9e3cbafd4a0b96b283ad9df026321443e390cc66
85324137fe84d89c13e45bf5160f13a3eb225bdc
/test_6/t_unittest.py
6ad1a4115d0e3f4a0816b6206bce0ea55c1ef99e
[]
no_license
lazyemmm/py
f4d2b73aa40d4130313bd0d45f82e88a12a0320a
95dcf728adf4594b194ca181e0476eca72179c60
refs/heads/master
2022-12-14T20:37:13.543995
2020-08-28T10:57:22
2020-08-28T10:57:22
288,702,508
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
import unittest from mydict import Dict class TestDict(unittest.TestCase): def test_init(self): d = Dict(a=1, b='test') self.assertEqual(d.a, 1) self.assertEqual(d.b, 'test') self.assertTrue(isinstance(d, dict)) def test_key(self): d = Dict() d['key'] = 'value'...
[ "fightboy_wu@163.com" ]
fightboy_wu@163.com
e11b7ec7bd7a959a4703e5714fe059def43a28bc
3c1896aa16ad8cc7a3971a661711486d9aaf4918
/cart/migrations/0001_initial.py
a4a63563d51bd93488059cdb9afb94aaad793145
[]
no_license
Akshayvijayan27/foodvlog
17ae5a6d4570b4afbcf644347f31927a65a6a70e
84dc8bca1a0cf025909060e8f66325f8935db18d
refs/heads/master
2023-06-28T16:55:32.037594
2021-08-06T07:57:58
2021-08-06T07:57:58
393,298,398
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
# Generated by Django 2.2 on 2021-07-31 08:29 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='cartlist', fields=[ ('id', models.AutoField(a...
[ "akshayvijayan5@gmail.com" ]
akshayvijayan5@gmail.com
2e3c7ea7f655ba7213598a15fcc455998d7cbe2c
d3c77d6ee7c19d4a3bf224fcb2d6543f2d9fc8b9
/AirRegulationGUI Edits/Writing.py
006634c59160e4c549276c30e41975004c0e153a
[]
no_license
RednirgSkizzif/HALTHASS
bf562f40ffe5f6b909dadbcffdd16e8eff4d04db
e18e1c1ca7d1c1c110e6a1f8aa45c2b47a27e1bb
refs/heads/master
2020-05-22T01:27:20.251099
2017-06-04T00:21:58
2017-06-04T00:21:58
63,896,924
0
1
null
null
null
null
UTF-8
Python
false
false
7,100
py
import numpy as np #import pyqtgraph as pg import serial,glob,math #import pyqtgraph.exporters import time,threading,sys,os,fnmatch,shutil #filename=raw_input("filename: ") filename="gfile.txt" def fWrite(filename,y): #try :f = open(filename, 'w', os.O_NONBLOCK);f.flush();f.write(y+'\n');f.close() try :f = open(f...
[ "Lab350" ]
Lab350
2bf5e8b51ce1d700bbedcd84c114dac432c95da1
bacfc861d1da7d5d699b22b5cc9ee02045c93364
/code/plzsang/venv/Scripts/pip-script.py
669447bb3a958122c51aa01e9b24922ab505a638
[]
no_license
teamsang/project
5e84daac3ec1c20af3016852266875fd1c9daa8a
14e8386927286fafee38399b99bab76ee9d8fd8d
refs/heads/master
2020-03-27T06:56:26.052068
2018-08-26T03:06:48
2018-08-26T03:06:48
146,148,836
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
#!C:\Users\jyh54\PycharmProjects\plzsang\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0...
[ "jyh5496@naver.com" ]
jyh5496@naver.com
2e2368f95aad9e14ce79eed8afeefa8a9599ace3
1374d4f8ff2ca5691e545446f27a6d9178683aed
/server.py
6726da34fa6ce6e8b6f1f4ece480b8f3dfb129d0
[]
no_license
jingyu-cai/cynsona
1ca98cb303a5931d796c43ec08eec8525e69b45b
10695b220beb9e07f33b2cce1cc4bcecbbbc5d6e
refs/heads/master
2022-07-12T19:19:00.051229
2022-07-03T00:15:30
2022-07-03T00:15:30
214,367,867
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import serial #Starts serial connection with arduino ser = serial.Serial('COM11', 9600, timeout = 0.1) #Records default message (so that we can ignore these later) init = ser.readline(); while 1: try: #reads data from arduino x = ser.readline() #checks if the message is actually important if(x ...
[ "noreply@github.com" ]
jingyu-cai.noreply@github.com
50c0b6a76a0aa7684d1a09266d5abb15f4f07d9f
cc4b1ce2ae201f5c6d2ed39ecfc40b6069ffe3f1
/mysite/settings.py
3a64f7a4b66d5d472aedb3e40d40ea5c5a0013c7
[]
no_license
acabhishek942/xamcheck-question-paper
e040c521f0d355d000782403eadef1728134f2c1
6cadcbc704a08edca4368b57bc17730d0ef7a0f4
refs/heads/master
2016-09-06T14:40:57.740499
2014-07-18T06:15:44
2014-07-18T06:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
""" Django settings for mysite project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) imp...
[ "abhyuday.cool@gmail.com" ]
abhyuday.cool@gmail.com
5f72db758ead62c934da2ed764610a834b4ff712
012a115aec7b9f2c31811dabddb9fd16419053b6
/main/dl/opt/_smorms3.py
02de6b61379bec9487b2e3875bd8ca12ba5ab10f
[ "MIT" ]
permissive
kuroitu/MAIN
219104bf8b1aa5ad2ae92b7f1f7863aaeece77b3
223ba9c15e7066351b85198dba8efa1b94c0c273
refs/heads/main
2023-06-03T10:16:11.873696
2021-06-25T10:50:42
2021-06-25T10:50:42
380,199,982
0
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
from enum import IntEnum, auto from dataclasses import dataclass, InitVar import numpy as np from numpy import ndarray try: from ._base import BaseOpt except ImportError: # For doctest from main.dl.opt import BaseOpt class _keys(IntEnum): s = 0 m = auto() v = auto() zeta = auto() @data...
[ "Skuroitu@gmail.com" ]
Skuroitu@gmail.com
e7c51a32088d56cf3a7594dbc7511983d14c4d7f
1f8baa3a170dbe90db6a9977b11dbc71dbb3f6bb
/blog/templatetags/custom_filters.py
4682d7e79e02467f1dca957181a286c34fe2615a
[]
no_license
dryalcinmehmet/veripetegi_15.02.2020
b9cd9cea0f7023cf3e8456b62b3f0e907214a7fe
75d0c3a5a1e6efb0e7c84fb62f6c859e5a5d8230
refs/heads/master
2022-04-18T17:17:02.391955
2020-02-15T10:21:25
2020-02-15T10:21:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
from django import template import blog.models as CustomModels from django.contrib.auth.models import User register = template.Library() @register.simple_tag(takes_context=True) def get_profile(context,user): profile=CustomModels.CustomProfile.objects.get(user=User.objects.get(username=user)) return profil...
[ "dryalcinmehmet@gmail.com" ]
dryalcinmehmet@gmail.com
95c8bdc5ff3c1d6ddf443c1641e87dca04201fa0
1e268418b8f309e88e0fffa8b61f72aa03428c1d
/python-dsa/minimum element in rotated array..py
83bb531de1e8ddf8ab4492c8075ad42bed05e0aa
[ "Apache-2.0" ]
permissive
abhishek-parashar/Right-From-Scratch
4b2b1787c02cc26efa4af35412289874ed0a28f7
e596344b0db95cfdeba876676885f062ef5f7c23
refs/heads/master
2023-05-25T07:14:12.633352
2021-06-06T11:05:25
2021-06-06T11:05:25
258,607,128
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# -*- coding: utf-8 -*- """ Created on Sat Sep 19 19:08:19 2020 @author: Abhishek Parashar """ def minimum(i,j): start=0 end=j while(start<=end): mid=(start+end)//2 if((a[mid]<=a[mid+1]) and (a[mid]<=a[mid-1])): return a[mid] elif(a[start]<=a[mid]): ...
[ "noreply@github.com" ]
abhishek-parashar.noreply@github.com
1f2df82c4d9546b38972027af34b27ca2283c3af
c655ed4dd08af672e39343dea97202e8b23a5fb0
/hs3_count.py
e20886cd0563391c8d2dd45336596cd3a7eccb04
[]
no_license
laika-monkey/optimal_estimation
e800625b1bdf80ae99fecf74ab7d67796694c0d4
c7310a3dcb2c758093f71b33708e2c24613791a8
refs/heads/master
2021-11-27T12:26:01.700911
2019-02-01T03:17:43
2019-02-01T03:17:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
#!/usr/bin/env python def run_main(): #_count number of fields of view currently being used, # how many there are total possible # And report on current usage and potential import subprocess as s from glob import glob import numpy as np import os dir_hs3 = '/data/wsessions/hs3' dir_lbl = '/data/wsessions/L...
[ "wsessions@stormy.larkaen.no-ip.biz" ]
wsessions@stormy.larkaen.no-ip.biz
ea255d2ab3f68b19d54694b175bac43dbf7fce21
f6003f9f25dcc182e9fbce7a96d0dabb9341744c
/Curso_Udemy_Aulas/Seção 15 - Decoradores em Python/Preservando Metadata com Wraps.py
f2514cd3a0cf9f328a01aad0f5bec47cc1f43ae7
[]
no_license
henriquecl/Aprendendo_Python
60a87959714f82894e996c06b0a1b767838c38fc
672029855431795defafd7e20e8da319bf34e502
refs/heads/master
2023-06-08T10:48:13.667893
2021-06-22T00:55:14
2021-06-22T00:55:14
261,029,613
1
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
""" Preservando Metadatas com Wraps Metadatas -> Dados intrisecos em arquivos Wraps -> Funções que envolvem elementos com diversas finalidades # Problema def ver_log(funcao): def logar(*args, **kwargs): Eu sou uma função (logar) dentro de outra print(f'Você está chamando {funcao.__name__}') ...
[ "64755074+henriquecl@users.noreply.github.com" ]
64755074+henriquecl@users.noreply.github.com
182d4f6cda0195c2c631a0867400e4608fedd047
b514be6e7eb60e0de2e312a12a9cfb0f39bf4752
/DataProcessing.py
183104974983020c1a6753ef95cc8562d94c788b
[]
no_license
Vinu999/Sentiment
50eee28ac09595595fc45e9f94cccbca65148eb7
ce828f1a7b270da2c202d37b6e56e6e51edf667c
refs/heads/master
2021-05-03T12:46:33.432812
2018-02-06T18:30:32
2018-02-06T18:30:32
120,499,619
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
# coding: utf-8 # In[75]: import nltk import re import json from nltk.corpus import qc, state_union from nltk.tokenize import sent_tokenize, PunktSentenceTokenizer training_data = qc.raw('train.txt') tok = sent_tokenize(training_data) with open("train.txt") as f: text = f.read() toc = text.split("\n") with o...
[ "noreply@github.com" ]
Vinu999.noreply@github.com
8a9ba54afacbf97af409fd1250e3a720e4b9082a
ece81c9ca3c5326236e0e7b9c1be097e5fcac603
/home/.config/i3/i3-cycle.py
dc87400e5bd4d4c17d9707bebb4099eea93cac21
[]
no_license
RemyLi/dotfiles
fd2f08db5ad7e797b20bdd956320aa2b4894a3ed
38566371b0e136e2ae9d29c69c6d167bf652b9eb
refs/heads/master
2022-05-26T14:29:35.323049
2020-04-29T10:00:32
2020-04-29T10:00:32
115,724,059
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
#!/usr/bin/env python2 import json import tempfile import os import i3 LAST_FOCUS_FILE = '%s/i3-last-focus' % tempfile.gettempdir() def _load(): if os.path.exists(LAST_FOCUS_FILE): with open(LAST_FOCUS_FILE) as f: return int(f.read()) return None def _write(window_id): with open(LA...
[ "remy.limouzin@smile.fr" ]
remy.limouzin@smile.fr
500b09256042801617ec625b5402a16c3a380333
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/pybites/beginner/257_extract_users_dict_from_multiline_string/save2_nopass.py
f977c1ffafea37f99a48ead69a840910b1a097f5
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
596
py
# ___ get_users passwd s.. __ d.. # """Split password output by newline, # extract user and name (1st and 5th columns), # strip trailing commas from name, # replace multiple commas in name with a single space # return dict of keys = user, values = name. # """ # passwd ?.s... # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
bf6e2cd25defe39e56029d48cdd9359598164d48
e3f94fd8a7e62b98c739c4ebaffc3c8a32b3c041
/ML_action/tree/treePlotter.py
5873963422b3fc768089d8edec00226e1ed754df
[]
no_license
TheOneAC/ML
94f8fcc1b8fd3b8a032e7af288c11689c395f72f
d0d02deb0dd656a8074ac4ef26f53904e8088ead
refs/heads/master
2020-05-21T21:38:06.026611
2017-09-16T17:05:49
2017-09-16T17:05:49
84,650,560
0
0
null
2017-09-16T17:02:24
2017-03-11T13:07:11
Python
UTF-8
Python
false
false
2,875
py
#!/usr/bin/python import matplotlib.pyplot as plt decisionNode = dict(boxstyle = "sawtooth", fc = "0.8") leafNode = dict(boxstyle = "round4", fc = "0.8") arrow_args = dict(arrowstyle = "<-") def plotNode(nodeTxt, centerPt, parentPt, nodeType): createPlot.ax1.annotate(nodeTxt, xy = parentPt, xycoords = "axes fracti...
[ "scuhss@gmail.com" ]
scuhss@gmail.com
7f90dc7861838089a459669450753da130fc2146
ea3f0fe9764829061c57103a76b696d1a6fcd868
/02. Basic Syntax, Conditional Statements and Loops - Exercise/05_cant_sleep_count_sheep.py
059f0b6740d1beb39b9385dd39bbbabef73ca2ed
[]
no_license
elenaborisova/Python-Fundamentals
ea7191cebe24f4ab134bdc148e572dc2b6c4928f
3525a38aaf8b7c3d9b38f450f636d7f44218cfef
refs/heads/main
2023-01-30T04:56:19.935971
2020-12-14T12:56:07
2020-12-14T12:56:07
307,526,038
2
0
null
null
null
null
UTF-8
Python
false
false
83
py
num = int(input()) for i in range(1, num + 1): print(f"{i} sheep...", end="")
[ "elenaborrisova@gmail.com" ]
elenaborrisova@gmail.com
facffa06e1fab987af6da48bff5db5513078cecb
e6e81d0cd02223ca27f2c3f544b3c116e7617270
/Companies/Facebook/missingElement.py
4de22c00d92a4d96467cf099e3b2b899c3a3fd84
[]
no_license
ashjambhulkar/objectoriented
86166640b0546713095dd5d8804fc78d31782662
6f07b50590ceef231be38d6d7b8c73a40c1152e9
refs/heads/master
2022-05-03T23:28:38.674275
2022-04-26T21:37:31
2022-04-26T21:37:31
249,091,045
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
class Solution: def missingElement(self, nums: List[int], k: int) -> int: result = [0] for i in range(1, len(nums)): test = nums[i]-nums[i-1]-1+result[-1] result.append(test) left, value = 0, 0 print(result) for i in range(1, len(result)): if result[i-1] <= k <=...
[ "ashjambhulkar@hotmail.com" ]
ashjambhulkar@hotmail.com
e9e6c81498d0cf7316240cef11e3fb9cc0a2e3f9
8b2d6f797b013e9d8473711ae96291a91750d550
/ciclo-for.py
7092b1fe8f0f7569cde7a041233337607342b3a6
[]
no_license
CarlosCea/Curso-de-Python
516f8a78770e8e5828762c3c4392f6aa88cfe447
104a2abc63b7a954fb00e3448fba002f6855c9ec
refs/heads/master
2022-11-09T22:37:16.303209
2020-06-20T04:41:47
2020-06-20T04:41:47
271,706,091
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
for letra in "hola": print(letra) else: print("fin ciclo for")
[ "ccea81@gmail.com" ]
ccea81@gmail.com
409e0c63e880a6317636cdcc4ca2e944de9f46ac
8e07b5b7a8dd38e0ef2c7ffc97d0392d886f32e6
/venv/Lib/site-packages/mypy/solve.py
8a8d2a4e235504cd05ac4f1b82a161fc775450be
[]
no_license
RodrigoNeto/cursopythonyt
fc064a2e6106324e22a23c54bdb9c31040ac9eb6
279dad531e21a9c7121b73d84fcbdd714f435e7e
refs/heads/master
2023-07-03T00:54:09.795054
2021-08-13T12:42:24
2021-08-13T12:42:24
395,646,798
0
0
null
null
null
null
UTF-8
Python
false
false
2,953
py
"""Type inference constraint solving""" from typing import List, Dict, Optional from collections import defaultdict from mypy.types import Type, AnyType, UninhabitedType, TypeVarId, TypeOfAny, get_proper_type from mypy.constraints import Constraint, SUPERTYPE_OF from mypy.join import join_types from mypy.meet...
[ "rodrigoneto.forseti@gmail.com" ]
rodrigoneto.forseti@gmail.com
13ee4705a9e0b983fe4106dcf0d9cbab80cc5487
90d06e9cacd52f2ba07d55dd852cb3cb7171c452
/leetcode/273. Integer to English Words.py
10711bcffb79700dbaf952c1f45c4441e9ae1c82
[]
no_license
shahidul2k9/problem-solution
efd91af08e103b552a225bca37660c51c60b98f2
0e970ac9c72f2ba13e66c180b208a2ec53886cd1
refs/heads/master
2022-10-16T04:04:31.556454
2022-09-24T08:09:46
2022-09-24T08:09:46
19,431,424
51
92
null
2022-09-24T08:09:47
2014-05-04T17:13:28
C++
UTF-8
Python
false
false
2,120
py
class Solution: def numberToWords(self, num: int) -> str: digit_map = { 1: 'One', 2: 'Two', 3: 'Three', 4: 'Four', 5: 'Five', 6: 'Six', 7: 'Seven', 8: 'Eight', 9: 'Nine', 10: 'Ten', ...
[ "shahidul2k9@gmail.com" ]
shahidul2k9@gmail.com
e3fbc2dbf04f81e7629e6819e6d616b8ae68eb5b
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/pygments/lexers/parsers.py
80ef08904e7d49f6d3d9ecc8665cf09c19f393bf
[ "MIT" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
25,895
py
""" pygments.lexers.parsers ~~~~~~~~~~~~~~~~~~~~~~~ Lexers for parser generators. :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from pygments.lexer import RegexLexer, DelegatingLexer, \ include, bygroups, using from p...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
47165ea473f46e60cbd8a36c9564c7e8d21c27ff
4c17b690bab46c7e9439de451cd4913f8b85cacc
/NLP-Web-Apps/Summaryzer_Text_Summarization_App/nltk_summarization.py
60941867f3cc17acfb752192ee65f811ba165e69
[]
no_license
animeshmohanty/A-Document-Redactor-and-Summarizer-Web-Application-Using-NLP-Spacy-and-Flask
4be81d4f713e818e7431c8ba95fb766a8bfcbb13
e9d99d9dcb69cf86148e176ec266396c27b39c65
refs/heads/master
2023-05-12T02:32:53.215238
2023-05-06T11:03:00
2023-05-06T11:03:00
260,978,090
0
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
import nltk from nltk.corpus import stopwords from nltk.tokenize import word_tokenize, sent_tokenize import heapq #For NLTK extractive summarization is used def nltk_summarizer(raw_text): stopWords = set(stopwords.words("english")) word_frequencies = {} for word in nltk.word_tokenize(raw_text): ...
[ "noreply@github.com" ]
animeshmohanty.noreply@github.com
74dbf0dd140ba0adab154ac88116cad819a14242
73f3f8214af99a07b838cc9e2967b127f336bd85
/Project/experiments_classes.py
28c10fd7f8cc0ec9f1f8f215e5b731f7c5cae0fe
[]
no_license
giuliasellitto7/maltesque2021
d67f9cf586f16401b56e75f3b63ef1e43f453e64
0cc3e5a9755174f2dfa54972d279ab0a05dd09d4
refs/heads/main
2023-07-11T02:08:17.179736
2021-08-18T07:54:41
2021-08-18T07:54:41
373,078,694
0
0
null
null
null
null
UTF-8
Python
false
false
4,694
py
from enum import Enum, IntEnum from datetime import datetime class Performance: def __init__(self, fit_time, precision, recall, accuracy, inspection_rate, f1_score, mcc): self.fit_time = fit_time self.precision = precision self.recall = recall self.accuracy = accuracy ...
[ "noreply@github.com" ]
giuliasellitto7.noreply@github.com
d9945149172f4f3192e1e6ead17a4b6d44a0bba5
1bd14e051251d08393731c03ccfb37a324227e1c
/troposphere_mate/mediaconvert.py
9838b4483bac9b86f1105f0a848a4b806fd2a952
[ "MIT" ]
permissive
tsuttsu305/troposphere_mate-project
f04bb6a3d137be3e265652c626008edfbb670b55
15ee94cc913efb32bc991979efcad943c992074c
refs/heads/master
2023-06-07T15:07:47.041944
2021-07-05T02:02:00
2021-07-05T02:02:00
285,152,616
0
0
MIT
2020-08-05T02:08:01
2020-08-05T02:08:00
null
UTF-8
Python
false
false
4,199
py
# -*- coding: utf-8 -*- """ This code is auto generated from troposphere_mate.code_generator.__init__.py scripts. """ import sys if sys.version_info.major >= 3 and sys.version_info.minor >= 5: # pragma: no cover from typing import Union, List, Any import troposphere.mediaconvert from troposphere.mediaconvert i...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
1899821d1c3eaf6004295b733bc194f653d70da4
12d0f444452d3b2218cd270756283a0463d3e796
/sg/models/load_prediction_wavelet.py
b13316b5e37081b7f86f095a821b4fc458790adc
[]
no_license
dal3006/load_forecasting-1
107ffdbb4648989ba85fa8ba39ecdddb9c24ddd1
d324a711a1a0c7ccd9587e0ecf9988a12214a1a3
refs/heads/master
2023-03-17T07:44:43.487863
2015-03-12T15:24:37
2015-03-12T15:24:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
"""Evolve a load predictor with BSpline data cleansing and a wavelet predictor.""" import random from pyevolve import GAllele import Oger import sg.utils import sg.utils.pyevolve_utils as pu from model import Model import wavelet import load_cleansing import load_prediction class WaveletModelCreator(load_prediction...
[ "axel.tidemann@gmail.com" ]
axel.tidemann@gmail.com
13dab674d4c2fbd9022814b00023b34586aae4a1
42baf2da51e09248c8c31f69a69519364478dea3
/pdfextractor.py
5238709997df2bd5cca0b597322c49deef68a896
[]
no_license
imkrishna588/Pdftotext
b36966b2fe568520a2ace00cc0852ac8b6852d67
632de0cfc53bc70c34d8bd8aff3f50866c1eb369
refs/heads/master
2022-12-16T01:02:13.337109
2020-09-15T12:34:31
2020-09-15T12:34:31
286,347,048
0
0
null
null
null
null
UTF-8
Python
false
false
10,147
py
#! /usr/bin/python3 import os,distro import sys import re import cv2 import json import requests import pytesseract import numpy as np import pandas as pd import mysql.connector import pymssql import shutil import urllib import pdftotext from time import sleep from PIL import Image, ImageEnhance, ImageOps from io impo...
[ "noreply@github.com" ]
imkrishna588.noreply@github.com
731fca2dbba25741f97aec378171645ad494bf50
f85cfed4ae3c54b5d31b43e10435bb4fc4875d7e
/attacking_anti_tamper/taint_cpp/extern/Triton/src/testers/unittests/test_ast_deep.py
6b14f85a22f4759e7f7d54b0d8fc167d7a44384e
[ "Apache-2.0", "MIT" ]
permissive
archercreat/dta-vs-osc
2f495f74e0a67d3672c1fc11ecb812d3bc116210
b39f4d4eb6ffea501025fc3e07622251c2118fe0
refs/heads/main
2023-08-01T01:54:05.925289
2021-09-05T21:00:35
2021-09-05T21:00:35
438,047,267
1
1
MIT
2021-12-13T22:45:20
2021-12-13T22:45:19
null
UTF-8
Python
false
false
1,877
py
#!/usr/bin/env python2 # coding: utf-8 """Test deep AST.""" import unittest from triton import * DEPTH = 1000 class TestDeep(unittest.TestCase): """Test deep AST.""" def setUp(self): """Define the arch.""" self.triton = TritonContext() self.triton.setArchitecture(ARCH.X86_64) ...
[ "sebi@quantstamp.com" ]
sebi@quantstamp.com
04ec8bfa3575146bc845b1817a97b4dead5d07ab
2cf9e71865128b92e8c8dc0eea15d577786908de
/generate_markdown.py
45372e4aa07252629bbc35d9144684e0beca26c3
[]
no_license
weaming/portfolio
9f843cef656ce94c179bdac49f60d5a5b1ec8252
dc95a7748dc0821c3bc081897dcd7cc5f3b1c4ab
refs/heads/master
2020-03-14T14:12:33.347532
2019-07-11T12:38:42
2019-07-11T12:38:57
131,648,959
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
#!/usr/bin/env python # coding: utf-8 import json with open('repos.json') as f: repos = json.load(f) with open('projects-show.txt') as f: included = list(l.strip() for l in f if l.strip()[0] not in '# \n') print(included) with open('config.json') as f: cfg = json.load(f) repos_map = {x['name'].lowe...
[ "garden.yuen@gmail.com" ]
garden.yuen@gmail.com
a7c2bab8989b59f48542db0530b5956dd956d663
c1538bb7e6b5f985dbcfe662a034cd86f33621d7
/bots/FR/Inmoov_AI_deprecated/deprecated/PYTHON/INMOOV-AI_opencv.py
94c6c8fd7afc0742c0af5e0304a54d7a84cc2e81
[ "Apache-2.0" ]
permissive
lecagnois/aiml
0e28fe113bf719d7c012c42fadebd87f65e96edc
10c760e0260af59cd0a39bc59655f6e2fceb9642
refs/heads/master
2021-01-11T11:02:47.655458
2016-12-22T21:29:47
2016-12-22T21:29:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,227
py
# -*- coding: utf-8 -*- from decimal import Decimal global FaceDetectedCounter FaceDetectedCounter=0 global FaceDetected FaceDetected=1 global startTimerFunction global posxSquare global posySquare global WidthSquare WidthSquare=Decimal(0) global FaceHadMoved global DistanceOfTheFace global ArtefactFace #########...
[ "moz4r@free.fr" ]
moz4r@free.fr
4ca1975ac9903928546e0c425d38b5e9ab0172b9
014023477bf619b4b3dd4deb2730f3dcb8621178
/bidaf/my/tensorflow/nn.py
26ebde7af1b6c1273e40d58c83d9167441504bc5
[ "Apache-2.0" ]
permissive
killa1218/BiDAF-Keyword-Extraction
88a8e86ebcdd9f706c39556a362ec3e09ff03455
c1986508da871184881bf1c0f902ceaaf1936c8f
refs/heads/master
2021-03-24T09:11:45.866107
2017-08-06T14:03:52
2017-08-06T14:03:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,840
py
from tensorflow.contrib.rnn.python.ops.rnn_cell import _linear from tensorflow.python.util import nest import tensorflow as tf from my.tensorflow import flatten, reconstruct, add_wd, exp_mask def linear(args, output_size, bias, bias_start=0.0, scope=None, squeeze=False, wd=0.0, input_keep_prob=1.0, is_tra...
[ "jaytin1218@hotmail.com" ]
jaytin1218@hotmail.com
2f522513ddaae907e17cb286ee18979090f0a08e
4996b3152c10ff0f4b3cd9f08e085b6c9c8ba883
/SnakeAI/QLearning.py
1da9d0ecb2d27dc8f9d1506210c6b7f2dfc7c202
[]
no_license
why116600/AIResearch
eb2f23dafa57ce8324b3b3706845dd89b19dd90f
59b809b4ee4e44cdd0af091c23f580a288b93dbb
refs/heads/master
2023-01-22T18:08:35.789329
2020-11-25T12:36:21
2020-11-25T12:36:21
315,596,064
0
0
null
null
null
null
UTF-8
Python
false
false
3,597
py
import numpy as np import random import sys import os from SnakeAI import SnakeEnv from SnakeAI import Network class DoubleQLearningAgent: def __init__(self,env,action_n=4,gamma=0.9,learning_rate=0.1): self.env=env self.gamma=gamma self.learning_rate=learning_rate self.q0={} self.q1={} self.action_n=actio...
[ "wanghy286@mail2.sysu.edu.cn" ]
wanghy286@mail2.sysu.edu.cn
a1606a2e4c7a2c8c0fd5cf6435a2d2747f724c35
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03711/s743526955.py
10387c576bd33af4e81220a5154c1c3b05e219ef
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
#Between Two Integers def ABC_61_A(): x,y = map(int, input().split()) list1 = [1,3,5,7,8,10,12] list2 = [4,6,9,11] list3 = [2] if list1.count(x) == 1 and list1.count(y) == 1: print('Yes') elif list2.count(x) == 1 and list2.count(y) == 1: print('Yes') else: print(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
24cd4ac77e3b3bb52798159e17ae4b3659e9cfce
17a17badd816665053fb69eb3c498d5281e6a0a6
/Bishop.py
315a8080cfed5f9913b6c7284dddac6c7be906a5
[]
no_license
DimitarYordanov17/Chess
dc4de78a4ad975251a7ebf5c49552ce2abee6646
49ff6826fc2b6bcc12ca903f71c5ef017a737ea4
refs/heads/master
2022-06-21T07:47:19.228131
2020-05-05T12:38:30
2020-05-05T12:38:30
261,462,075
1
0
null
null
null
null
UTF-8
Python
false
false
417
py
from Figure import Figure class Bishop(Figure): def __init__(self, y, x): super().__init__(y, x) self.y = y self.x = x self.coordinates_list = [] for y in range(8): for x in range(8): if y - x == self.y - self.x or y + x == self.y + self.x: ...
[ "hallerra17@gmail.com" ]
hallerra17@gmail.com
15fecaf3a5f1a30cd2e9437b54048f6c095d8840
d08e23e19ac81bb3538584b5a22e92d377cd197e
/week8/tasks/c2.py
443308dee700892df189d553c03f40b35f66efb0
[]
no_license
KimSeilkhann/Web-Development-2020
971480c25ad2f0781168c8332499fcf24e248375
cba7066c83a49ea1cd0edb2c9ea4e8d3c71dbc94
refs/heads/master
2023-01-18T16:46:40.998146
2020-04-22T23:15:31
2020-04-22T23:15:31
240,965,184
0
1
null
2023-01-07T16:47:09
2020-02-16T21:01:12
TypeScript
UTF-8
Python
false
false
124
py
a = int(input()) b = int(input()) c = int(input()) d = int(input()) for i in range(a, b+1): if i%d==c: print(i)
[ "kimseilkhan@mail.ru" ]
kimseilkhan@mail.ru
08710244c3016d2dc1aaa3a00d3524bcfd19531e
ffd35dbad0669348b9151220557900de85ccd552
/alerta/alerta-src/settings.py
a87dc6d8f13bf12636baa7a217a9a224a1b52a7b
[]
no_license
xiaotech/deploy-elastalert
0f11b55cdb7866bbd7d2c985ede8d7002318c07d
38066bf98cee171d73a55e1e65408084c6eb5ae8
refs/heads/master
2020-07-19T21:33:34.472065
2019-09-05T08:51:05
2019-09-05T08:51:05
206,517,979
1
0
null
null
null
null
UTF-8
Python
false
false
7,503
py
# # ***** ALERTA SERVER DEFAULT SETTINGS -- DO NOT MODIFY THIS FILE ***** # # To override these settings use /etc/alertad.conf or the contents of the # configuration file set by the environment variable ALERTA_SVR_CONF_FILE. # # Further information on settings can be found at https://docs.alerta.io from typing import ...
[ "root@ip-172-0-32-156.cn-north-1.compute.internal" ]
root@ip-172-0-32-156.cn-north-1.compute.internal
99ec437f0a447a861ff9eb9bac7541ee99e076d0
eac57d476082128b77884d03eefe1212de48ff64
/data_preprocessing/categoriesdataset.py
ecd0ea0f879b479d977a2ea7e7c5d5dd88398bc8
[ "Apache-2.0" ]
permissive
amanalex1804/ML_using_python
f22cebb8da72481e89a83673d43a90b700aceded
d067a67f3693e5bed288d7f496545880d4b5a0ba
refs/heads/master
2021-05-06T15:36:40.417349
2017-12-23T12:28:37
2017-12-23T12:28:37
113,608,698
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
import pandas as pd import matplotlib.pyplot as plot import numpy as np dataset=pd.read_csv('Data.csv') #save the file where there is dataset #index in python starts with 0 X=dataset.iloc[:,:-1].values #gives output of independent variables i.e # last column is dependent co...
[ "noreply@github.com" ]
amanalex1804.noreply@github.com
03ad41e2cab35c6138ec0f478fd9bed8a27e666b
6bd7eb96edc3224b1088f5479069bdb69f37d8f9
/ReadFile.py
3d4c4751668317e1ab3ec8af514386e96c7f9dc1
[]
no_license
kourav1991/pythonProg
4d506b1bdf57b19e00603045fcd8925c83a69ccf
8e4cbb3db09209457eb4aa6189fcead4068db243
refs/heads/master
2020-04-19T09:00:52.285042
2019-01-31T07:32:11
2019-01-31T07:32:11
168,097,247
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 30 11:58:48 2019 @author: SKourav """ #By default file will be opend in read mode fobj = open("300119.log","r") for line in fobj: line = line.strip() print(line) fobj.close();
[ "SKourav@slb.com" ]
SKourav@slb.com
8e2a94350253582393fd0a0a0b96bc37328f4a26
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-domain/aliyunsdkdomain/request/v20180129/EmailVerifiedRequest.py
58267b80a7aaa81c7e16519a64b7335af6e77b88
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
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...
[ "1478458905@qq.com" ]
1478458905@qq.com
9c25a7375860bd12235eac7d7d377971fada9ed2
85ae39c35f1f470f7dd207e3cb602775f1b09401
/torhello1.py
af57fb38493848aea1f967a1484f8cebaadf3445
[]
no_license
JonaFly/projectident
9a9db826c321d9d157cdcae8febc11009d7c49ba
ddcffdfc4a82883d3c9813d9bab093330b5bb816
refs/heads/master
2022-10-30T02:55:26.004753
2018-09-24T00:45:01
2018-09-24T00:45:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
import tornado.httpserver import tornado.ioloop import tornado.options import tornado.web from tornado.options import define, options define("port", default=8081, help="run on the given port", type=int) class IndexHandler(tornado.web.RequestHandler): def get(self): greeting = self.get_argument('greeting',...
[ "997846481@qq.com" ]
997846481@qq.com
4fcd87e6021b3183636ffa6f12d3cef8fb97f3ac
f3553f36a248d5e2a30713af68dd714df90953d7
/leetecode/2.py
abd354b28f96351ff7eaab2c3408f4b7ec8139bb
[]
no_license
Mrzhouqifei/offfer
8a699653850cf6cc91ed5a622ad166fd61b8e294
4c73e7a591e79348471e00272dcb8e1b5cc6d7cb
refs/heads/master
2023-04-09T05:58:49.858037
2020-12-30T06:13:52
2020-12-30T06:13:52
298,285,069
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode: x1, x2 = 0, 0 i, j = 1, 1 while l1: x1 += l1.val * i ...
[ "18401620071@163.com" ]
18401620071@163.com
c8d16f0e8a9133965cdfbabe3247ef6e64889008
675af57627be90e7517017f0f332d8a0b5c20e97
/mnist/part1/main.py
158e336284564e988aa16043242477ae4163d4d8
[]
no_license
PierrotAWB/6.86x
b33dadf44087c58d149575be25ecd52a36f1d1d2
f534f0a9373d7039f14849f59b7ab22d0480d5a1
refs/heads/master
2020-06-04T13:06:54.376705
2019-07-18T03:45:07
2019-07-18T03:45:07
192,033,862
0
0
null
null
null
null
UTF-8
Python
false
false
8,856
py
import sys import numpy as np import matplotlib.pyplot as plt sys.path.append("..") from utils import * from linear_regression import * from svm import * from softmax import * from features import * from kernel import * ####################################################################### # 1. Introduction #########...
[ "andrewwang298@gmail.com" ]
andrewwang298@gmail.com
4ecfaa8c3a849fe254c93406f473ba9714c3d480
379131ade0864825d11c4c95cad95811bb21a9d6
/users/urls.py
3774ab8e860b0932c245715f11dce46f4aba6845
[]
no_license
AISavvyToday/InvoiceManagementSystem
7187407e3df11a2251f0ad2c3548980b4d21bad1
3ab0da6e25fc8404189e69bc8512756b1557b185
refs/heads/master
2023-02-17T08:42:44.925285
2020-11-18T08:57:05
2020-11-18T08:57:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
from django.conf.urls import url from users.views.login_view import sign_in from users.views.logout_view import sign_out from users.views.registration_view import registration app_name = 'users' urlpatterns = [ url(r'^registration/$', registration, name="registration"), url(r'^$', sign_in, name="login"), ...
[ "muhuri.json@gmail.com" ]
muhuri.json@gmail.com
0e54acb8a5fbcbba385c48fb8b10904c9a43d4ab
c11993c5da54e38cd4ed20d649ad6a43fa2ede1a
/flaskapp/web/app/item/forms.py
551c9efadb1eb42e85227a816922abbf55f2df5b
[]
no_license
enderst3/adv_portfolio
c786ac456e871ac13ee80618befcc5097145f7d4
4e312f8beee4951b62459260f4d5619f729b9cc4
refs/heads/master
2021-05-13T21:11:50.074289
2018-10-27T03:12:46
2018-10-27T03:12:46
116,456,682
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
import re from flask_wtf import FlaskForm from wtforms import BooleanField, DecimalField, FloatField, IntegerField, \ DateTimeField, DateField, \ FileField, PasswordField, StringField, TextAreaField, \ RadioField, SelectField, SelectMultipleField, \ HiddenField, SubmitField from wtforms.validators impo...
[ "enderst3@gmail.com" ]
enderst3@gmail.com
91d548f7f5194f56b98f906d4709fa3c53ecb616
6bef221e0ac6147b67e9aaeb39daf09cbec2cdb1
/leetcode/38.CountAndSay/main.py
b04e224a5f9fad09cbf6cb2a9d771ea6d67ece02
[]
no_license
lee3164/newcoder
470798af7d25418e9936c71acb049d0b4032abab
f563dbf35878808491f03281889c9a0800be7d90
refs/heads/master
2021-06-28T08:51:22.186836
2020-09-15T14:48:05
2020-09-15T14:48:05
138,613,287
1
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
# coding=utf-8 class Solution(object): """ 报数序列是一个整数序列,按照其中的整数的顺序进行报数,得到下一个数。其前五项如下: 1. 1 2. 11 3. 21 4. 1211 5. 111221 1 被读作 "one 1" ("一个一") , 即 11。 11 被读作 "two 1s" ("两个一"), 即 21。 21 被读作 "one 2", "one 1" ("一个二" , "一个一") , 即 1211。 给定一个正整数 n(1 ≤ n ≤ ...
[ "lee3164@qq.com" ]
lee3164@qq.com
19283c42a513ae9d4e47da3321796bdf3ed6eb02
440736a5c39b10d2aa3e038d6c383760f3b22c2e
/train_c3d.py
9662dfe08db5e66d23dd221d2f96ed6ed6ef0137
[]
no_license
breadbread1984/c3d
6f34ddeb743e7b18f6afeebc4f31841c8c5e3e28
a94ea01099d74daede81ec0a051da3d63b66a833
refs/heads/master
2020-03-22T13:46:42.319948
2019-05-14T01:07:26
2019-05-14T01:07:26
140,131,197
18
10
null
null
null
null
UTF-8
Python
false
false
5,973
py
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import absolute_import; from __future__ import division; from __future__ import print_function; import os; import numpy as np; import tensorflow as tf; batch_size = 8; class_num = 101; def main(unused_argv): action_classifier = tf.estimator.Estimator(mode...
[ "breadbread1984@163.com" ]
breadbread1984@163.com
a0106cef67d0e1931ba87fd161fe51ea3b324dd6
8120975953f5ed704894284048efb25ac5acabfd
/server/apps/education/libs/asgn.py
6d5d337a03e4630f0a9357f63c0241caf7139eab
[]
no_license
DICKQI/WeJudge-2-Dev
9815b69a56dab13a9aab52bcf75ebfabfc05a8e1
ded211428adc9506e7a7b9bbaa5d38c4b5c798d8
refs/heads/master
2021-08-31T18:20:31.285661
2017-12-22T07:22:19
2017-12-22T07:22:19
115,104,196
0
0
null
null
null
null
UTF-8
Python
false
false
39,756
py
# -*- coding: utf-8 -*- # coding:utf-8 import os import json import zipfile from wejudge.core import * from wejudge.utils import * from wejudge.utils import tools from wejudge.const import system from apps.education.libs import education import apps.education.models as EducationModel import apps.problem.models as Prob...
[ "lancelrq@gmail.com" ]
lancelrq@gmail.com
1e2946896d4c47c7579f8a3978604ac008629e1a
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/662nTYb83Lg3oNN79_16.py
02002041c72424b9627784be686f59e08bd20ce0
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from itertools import permutations as P def is_parallelogram(lst): return any(x[0][0]+x[1][0]==x[2][0]+x[3][0] and x[0][1]+x[1][1]==x[2][1]+x[3][1] for x in P(lst))
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
15a18a233c82aab8465146fa2ef902bd92b9d6cf
70840a46ba58599f37214625962b5091fa1a7721
/FOR/Áfangi 1/Æfingarverkefni/07_AEfingarverkefni/Æfingarverkefni 7.py
cd909b6d094ef667e2d4af7c2885e9e173615615
[]
no_license
OliEyEy/Git_FOR
9723575365f34cd929a3b31bab7da5fea79cda94
2a70c14bb377e01997bc209affdcb8244187f29e
refs/heads/master
2021-01-13T04:28:00.100885
2017-01-24T14:22:55
2017-01-24T14:22:55
79,913,991
0
0
null
null
null
null
UTF-8
Python
false
false
2,659
py
#Ólafur Eysteinn - Æfingarverkefni 7 - 18. Október 2016 import random #Liður 1 print("Liður 1") tala= random.randint(1,6) print(tala) #Liður 2 print("Liður 2") summa=0 for x in range(5): tala=random.randint(1,6) print(tala) summa=summa+tala print(summa) #Liður 3 print("Liður 3") summa=0 summa2=0 for x...
[ "olafurey298@nemi.tskoli.is" ]
olafurey298@nemi.tskoli.is
76d60ba875fd7d2705dc0a29a8648b81e1c5d2e5
ad290a728ba1566925b69774a1808c4ab94f3ece
/models.py
2c6656568a20766f7543719a48f8f563a09ecc7f
[ "MIT" ]
permissive
icemen380/voice-disciminator
73d9f4f675a52949bc35822ef3e64b7572f9dc4d
ad17af69a5230bf306fa9bb8e42e4e60cbbb0b8b
refs/heads/master
2021-02-12T23:08:55.246708
2018-06-21T14:40:04
2018-06-21T14:40:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,750
py
# -*- coding: utf-8 -*- # !/usr/bin/env python """ A set of models """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from tensorpack.graph_builder.model_desc import ModelDesc, InputDesc from tensorpack.train.tower import get_curre...
[ "andabi412@gmail.com" ]
andabi412@gmail.com
e8f912ba24a1988d682968d631796372e1ac7623
483ef5be9fb7e753a2bcc33b0a94f97e2c2c6718
/app/core/migrations/0003_ingredient.py
7c1a7d2bab6c24f1177f2d3a2d425be24c5007cd
[ "MIT" ]
permissive
Abcaran/recipe-app-api
df9a1c647559a2dae8c1b6d7a68557abc520af26
0271af3740b7271c35ff142cbec7f34a0932fb89
refs/heads/master
2021-06-27T23:22:59.275249
2020-09-22T02:18:27
2020-09-22T02:18:27
239,192,129
0
0
MIT
2021-06-17T06:10:40
2020-02-08T19:26:26
Python
UTF-8
Python
false
false
685
py
# Generated by Django 3.0.3 on 2020-02-29 18:29 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0002_tag'), ] operations = [ migrations.CreateModel( n...
[ "samirsaadi@gmail.com" ]
samirsaadi@gmail.com
d0edaa630a619d22e42664218df89d825e90b444
94c0da7c0899d412c06e39d0f722ecee477dfe68
/25-刘杰-北京/第四周/canny_manual.py
0caba3d393fa6c9f80bc86db1babf021ad3e3879
[]
no_license
Xiaoguo666205/badou-Turing
e72b228ed94c20505b4d23b38cf9dce7121ff948
7d109fd1ce462fb32556f8e71038d66eb654a401
refs/heads/main
2023-07-25T02:33:33.610428
2021-09-12T01:12:41
2021-09-12T01:12:41
383,296,276
0
0
null
2021-07-06T00:35:27
2021-07-06T00:35:26
null
UTF-8
Python
false
false
6,187
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' @Project :badou-Turing @File :canny_manual.py @Author :luigi @Date :2021/7/13 下午3:48 ''' import cv2 import numpy as np import matplotlib.pyplot as plt import argparse from 第三周 import convolution_manual def canny(gray, ksize, sigma,lower,upper): """ canny算法实现...
[ "86213076+luigide2020@users.noreply.github.com" ]
86213076+luigide2020@users.noreply.github.com
bb51fe8292d8e854f54a19446876ef39146db3b1
6ec6c942d4e0500b1717290b6c2b6565bf8e6755
/bk/_future_rb/_1_MyTradingMsg.py
3f7784f81168badbbda0f9b2ff04379850c31a32
[]
no_license
jacklaiu/CtaTrading
e3a1fb6d857624f9712957bdc0dcc822c4047b98
75f5770944ff1aaaa97d7dbb78ea7da83b3fd897
refs/heads/master
2020-04-08T16:53:01.841209
2018-12-24T08:59:45
2018-12-24T08:59:45
159,539,934
0
1
null
null
null
null
UTF-8
Python
false
false
2,471
py
# encoding: UTF-8 import json import base.Dao as dao import jqdatasdk import base.Util as util #上期所 # # 代码 名称 代码 名称 # AG9999.XSGE 白银主力合约 PB9999.XSGE 铅主力合约 # AU9999.XSGE 黄金主力合约 RB9999.XSGE 螺纹钢主力合约 # AL9999.XSGE 铝主力合约 RU9999.XSGE 天然橡胶主力合约 # BU9999.XSGE 沥青主力合约 SN9999.XSGE 锡主力合约 # CU9999.XSGE 铜主力合约 WR9999.XSGE 线材主力合约 # FU9...
[ "jacklaiu@qq.com" ]
jacklaiu@qq.com
7cca7a3aecf5d22646cf68b3fe058c7125d754b7
c7fc816b6f6968c0110ce68927dd9e2b050d369c
/02_Delta-3.1.3-IL (1)/Python/Delta 03 - Append.py
b0571c979101122038e97565db29da5d6d759c8c
[]
no_license
Hanish-Repo-01/Databricks-Delta-Table
385fb17fe98b4e45ac687c859c375e2e8b71fb23
7873d08eee9a6d87d10f02c8108d27614b096e9e
refs/heads/main
2023-06-27T16:41:08.673213
2021-07-11T19:18:58
2021-07-11T19:18:58
384,949,354
2
1
null
2021-07-11T19:18:59
2021-07-11T13:03:05
Scala
UTF-8
Python
false
false
12,337
py
# Databricks notebook source # MAGIC # MAGIC %md-sandbox # MAGIC # MAGIC <div style="text-align: center; line-height: 0; padding-top: 9px;"> # MAGIC <img src="https://databricks.com/wp-content/uploads/2018/03/db-academy-rgb-1200px.png" alt="Databricks Learning" style="width: 600px; height: 163px"> # MAGIC </div> #...
[ "hanishkumar09@outlook.com" ]
hanishkumar09@outlook.com
6f98de8f1f4c8a5a82fef0450f3c85aef08edf60
03dd6342da469b10d0ae9629b2ad09320cdd4941
/venv/bin/easy_install-2.7
c44b5f49578d1b4458b812f6df8dec4e6355b29a
[]
no_license
antoniomalves/blog-flask
d6260d68d91553b2395e94d90ac35a493a81a2fe
879fdd97d3609c83f3f1edb02eba0ba1c9b727ee
refs/heads/master
2021-01-10T21:24:35.686261
2015-07-28T03:20:27
2015-07-28T03:20:27
39,688,287
0
0
null
null
null
null
UTF-8
Python
false
false
282
7
#!/home/antonio/projetos/projetos_flask/flask-intro/venv/bin/python # -*- 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())
[ "antonio.malves.lima@gmail.com" ]
antonio.malves.lima@gmail.com
1877c04e2fd93308373af8f35ce9940b063d169f
2cc7557a17310b2ca30753289b190203b8e58097
/Library management/bookt.py
01317bbec43ab86faaea46208ec7dc07ced4e5b5
[]
no_license
Bhavesh43m/library-management
54f36132c9f11e675ef0382f7a7fcacccfea8ab1
1aceaf29467e9b26fa04817b926697684437e518
refs/heads/main
2023-03-18T13:16:22.495113
2021-03-20T12:38:20
2021-03-20T12:38:20
349,720,576
0
0
null
null
null
null
UTF-8
Python
false
false
5,263
py
import pymysql class library: def __init__(self): self.__servername="localhost" self.__username="root" self.__password="" self.__dbname="library1" try: self.con=pymysql.connect(self.__servername,self.__username,self.__password,self.__dbname) ...
[ "noreply@github.com" ]
Bhavesh43m.noreply@github.com
dc09baa5760e2ec6c0ad15417507b94a1c229c7e
3f93be3de0597c19437462f2ecd5d1fe08e9df6f
/111. 二叉树的最小深度.py
9309f050719490eb16cea49ce6907055c59beaea
[]
no_license
Fzldq/myLeetCode
3dc3819b39d1fe33cce9dfac28177ae83a383982
b2bf9c9a42156afd87a0d13722e364095f3ab137
refs/heads/master
2023-04-06T00:58:22.541707
2021-04-17T09:58:33
2021-04-17T09:58:33
280,112,991
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def minDepth(self, root: TreeNode) -> int: if not root: return 0 leftdepth = self.minDepth(root.left) rightdepth = self.minDepth(root.r...
[ "qq417856426@gmail.com" ]
qq417856426@gmail.com
40630338544aedf15933c5be3ae50eb362a20b9c
6f52cd0eaaa4d27c7498f368c07de3fe93e2b522
/teacher_demo/asgi.py
1146b62dfd5c3cd7b7e9ea9159af96165aa02793
[]
no_license
xuepl/teaching_demo
e151b1b1dc9458047b41919745ae7cf44b78a630
7b0b0772a994ddfa5aa035a6b3220c4b4ce2e2b0
refs/heads/master
2022-10-16T19:48:02.084377
2020-06-12T10:16:23
2020-06-12T10:16:23
271,768,924
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for teacher_demo 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "xuepl@guoyasoft.com" ]
xuepl@guoyasoft.com
c2692387d1ab446b93ac57e1b7db8bcbc25390cc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_083/ch54_2020_03_29_00_30_32_312445.py
7cd43138e65f5703e5002f181122e1a42c3dcba0
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
def calcula_fibonacci(x): f=[0]*x f[0]=1 f[1]=1 i=0 while x>0: f[i]=f[i-1]+f[i-2] i+=1 print(fibonacci(9))
[ "you@example.com" ]
you@example.com
d58871e220e8299a13ddf0663865a9ae04bff22a
4c3c5e3fdf5d5f3e65f023b762019cf1ea703923
/class_.py
c7030a79bab50b8b15fa51e6cbfdbd5b1609cc90
[]
no_license
bli-bli/first.py
de628e58b3f4c2b2cf9143710a403e40a1ba2635
830a35c8f0772b15cfee3cc1cbc0d2f9de1f234d
refs/heads/main
2023-01-08T12:14:08.140721
2020-11-06T07:26:46
2020-11-06T07:26:46
310,171,978
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
class Unit: def __init__(self, name, hp, damage): self.name = name self.hp = hp self.damage = damage print(f"{self.name} 유닛이 생성되었습니다.") print(f"체력 {self.hp}, 공격력 {self.damage}") marine1 = Unit("마린", 40, 5) marine2 = Unit("마린", 40, 5) tank = Unit("탱크", 150, 35)
[ "60463567+bli-bli@users.noreply.github.com" ]
60463567+bli-bli@users.noreply.github.com
a8419f4e8a9e22a11307913d44cd08fd2c2eb3ee
e836eb7ee910c1ca85233c48eadcd49a52bb20ea
/Utils/_Examples.py
8cfcd0cb6980e2238bff0b6436b7ba546a6ffaa5
[]
no_license
SymmetricChaos/MyOtherMathStuff
5d0c47adfaad0e7fb7f0e8736617f15bbac7ed37
9dd6920b44658d2faacb54d7120e83ff7de45bf3
refs/heads/master
2021-06-26T18:34:13.178520
2021-01-03T14:22:10
2021-01-03T14:22:10
196,845,677
38
2
null
null
null
null
UTF-8
Python
false
false
5,293
py
import Drawing as draw from MatPlotTurtle import mplTurtle import numpy as np import os import random from PointManip import midpoint def general_example(save=False): canvas1 = draw.make_blank_canvas([15,15],facecolor="lightgray") # Make and use a subplot sp1 = draw.make_blank_plot(2,2,1,[-3,3]) ...
[ "ajfraebel@gmail.com" ]
ajfraebel@gmail.com
57403bafc5545d23401c44f2c76cf867cadcea40
8853462a79608b7e5b7af94dbfa6c0a63c1f6b6a
/CustomEnvs/Gym envs/1. Reacher/Reacher_11/Reacher_11/__init__.py
f11aabcf897914387bbb332b291c7dfc6e6c65be
[]
no_license
Ashish017/CASNET
eaae2552f8d56413f756c7d3839cd6f548a6e1ef
73ec542c4c3fa1f97686796f0c385c71cad3e8d5
refs/heads/master
2023-02-06T06:53:27.362356
2020-12-27T04:43:34
2020-12-27T04:43:34
270,657,078
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
from gym.envs.registration import register register( id='Reacher-v11', entry_point='Reacher_11.envs:Reacher_v11', )
[ "ashishmalik7017@gmail.com" ]
ashishmalik7017@gmail.com
acc34ef7131901e1edaaa56b067879a972cb287c
e81b15aa0e6f367dae258a2246687eece8fa2f7f
/Tkinter编程实例/21_Canvas.py
06c454f5c4301d8da7ea9c53146271dca281b058
[]
no_license
highshoe/PYTHON
17987267e1d67aed94f4de78d3e1aed9dcdacb3f
85ac06adc5023e29cd2246d024231ae5ddbe06b1
refs/heads/master
2020-05-16T05:16:05.744811
2018-01-07T02:17:49
2018-01-07T02:17:49
null
0
0
null
null
null
null
GB18030
Python
false
false
1,351
py
#!/usr/bin/python #coding:gbk # 画布 #提供可以用来进行绘图的Container,支持基本的几何元素,使用Canvas 进行绘图时,所 #有的操作都是通过Canvas,不是通过它的元素 #元素的表示可以使用handle 或tag from tkinter import * root = Tk() #------------------创建画布------------------------------------------ cv = Canvas(root,bg = 'white') #------------------创建一个项(矩形,填充色,边框)----------------------...
[ "icewar@qq.com" ]
icewar@qq.com
46df371ebc66d892a2e9d67372f6731df29240cd
9e4d78b76b4c56e4750256a8b6f541df63887bdc
/chain.py
20966813e4ea11fa9eb03282b11f14eb122d0a2f
[]
no_license
yekingyan/Algorithms_in_the_Python
40c783ce50c1bed5a09dac4382a1f4a56df05bb6
95655a7b22324978cabd2e35a58ad5294a36aba8
refs/heads/master
2020-03-23T14:39:01.368330
2018-08-22T06:34:54
2018-08-22T06:34:54
141,690,386
0
0
null
null
null
null
UTF-8
Python
false
false
2,837
py
# 实现链表的Node类是一个节点, # 有两个属性,一个存储元素,一个存储指向另一个节点的引用 class Node(): def __init__(self, element=None, next_n=None): self.e = element # 存下一个Node self.next = next_n def append(self, element): """ 插入到链表尾,往node末尾插入一个元素 node:是一个Node实例 element:任意类型元素 """ ...
[ "529616@@gmail.com" ]
529616@@gmail.com
b9aa512c8a4f5f6ffc43510f4bd9d37d30aeeab8
d83ad4b9e70a5109a556670dc9c0f8be02f0c91f
/id3plamen.py
1a665fb6f6652cfaa14e5210aad2b0ce748725a9
[]
no_license
petrovplamenph/Artificial-Intelligence-python-implementations-from-scratch
2378ae422a4e2dedae76084997e2a5b3221bfbc3
e1e7e004aa37f7a640b9914d0574d4b78b5f3800
refs/heads/master
2021-09-16T01:45:12.579446
2018-06-14T16:04:57
2018-06-14T16:04:57
99,428,336
1
0
null
null
null
null
UTF-8
Python
false
false
7,422
py
from scipy.io import arff import pandas as pd from statistics import mean import random import math """ #TEST DATA labels = ['sky','air','hum','wind','watter','forecast','like'] data =[('sun','hot','normal','strong','hot','same',1), ('sun','hot','high','strong','hot','same',1), ('rain','cold','high','str...
[ "petrovplamen92@gmail.com" ]
petrovplamen92@gmail.com
57825a49509f088ef8b2e46fe76cea7785c73c78
e4fd6e578d9c57d8a4e0ef2ad4ccbfaa6037bc1e
/setup.py
0648fcfcb460d9ca7e1caa9237c64027e5ce810d
[ "MIT" ]
permissive
nicwaller/jira-text
c51235e67c5a6433081215a38f58e04c7894b9f8
bb5d9867ecfe8ff48e4b18d123a61eec3c67a936
refs/heads/master
2021-01-13T12:51:31.074737
2017-01-18T09:45:45
2017-01-18T09:45:45
78,465,822
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
from setuptools import setup, find_packages import os version_file = open(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'jiraexport', 'VERSION')) version = version_file.read().strip() setup( name='jiraexport', version=version, author='Nic Waller', author_email='code@nicwaller.com', des...
[ "nic.waller@pulseenergy.com" ]
nic.waller@pulseenergy.com
1437097965b83bd5e3dc94e27f00ef10c7978301
4bb1ee3d84ca73193fc0bca6b657ad5c9f582698
/spiders/isbnSpider/isbnSpider/pipelines.py
1ead49e989cfd44766611f26dad85ac41ffdff76
[ "MIT" ]
permissive
mazhen18/ScrapyAccordingISBN
1dbcfe6a52990a4d257de5e357c3b7b2944c9605
43f8362c117247e03659c61d267b8cef435e8b64
refs/heads/master
2020-03-27T20:21:02.971389
2018-10-16T14:12:31
2018-10-16T14:12:31
147,062,083
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class IsbnspiderPipeline(object): def process_item(self, item, spider): return item
[ "zhenma1225@gmail.com" ]
zhenma1225@gmail.com
d9277628451df7d0c4dbe736069b8934a52f1de1
e89cc313322371b5dc3e198f920547a408d4a262
/fantasybasketball/main_app/migrations/0010_auto_20190917_1520.py
c4525fcd783161669b705601e1b68730697f9135
[]
no_license
samiduara/fantasybasketball
9043f2887f8dfd703205e4f01ef8e6ca25e0422f
ad5394953f4b4ac466f325c11dd9138184f9ab94
refs/heads/master
2020-07-25T03:42:01.260100
2019-09-17T15:50:42
2019-09-17T15:50:42
208,154,465
1
0
null
null
null
null
UTF-8
Python
false
false
543
py
# Generated by Django 2.2.3 on 2019-09-17 15:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_app', '0009_delete_profile'), ] operations = [ migrations.AddField( model_name='team', name='owner_points', ...
[ "samgathon@hotmail.com" ]
samgathon@hotmail.com