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
f60987e55994a05e1fbf45fa4d8ded677baca05b
732374714ffe0e0f2c07a493a2ee71c9271fdce0
/mysite/settings.py
bcd771fb691401a56d55a3106a4ee650b115e261
[]
no_license
aaronahmid/mosunhomesrealtors
721fb20d671f1a58c64abc8bdf1209a5ab3236f1
561b56fd90179e163f0c861dae1d451cc1cfc662
refs/heads/main
2023-08-13T02:22:46.005517
2021-10-09T05:15:59
2021-10-09T05:15:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,269
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.2.7. 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/ """ import os imp...
[ "thormiwa04@gmail.com" ]
thormiwa04@gmail.com
b29f5d7cbbd6924909c5ec897b40f7a01208f045
92115d37e1199a21367986cb97ddc64580432d34
/seq2seq/data_dial/create_dial_data.py
5f8bb9d4d1605857aa6028183a295eac6d35494e
[]
no_license
MasatoMiyoshi/tensorflow_tutorial
9575acb495ec16bb91fdbc8b9e22bee7b451ac0a
cc51632f818aa2e2c73400fb6348d108e41d66bf
refs/heads/master
2021-07-13T18:02:33.072835
2020-05-11T09:10:58
2020-05-11T09:11:27
129,721,097
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals, absolute_import import sys import os import codecs import re import glob import commands reload(sys) sys.setdefaultencoding('utf-8') dirname = "./json/init100" fh_u = codecs.open('src.txt', 'w', 'utf-8') fh_s = codecs.open('tg...
[ "mirasi1h@gmail.com" ]
mirasi1h@gmail.com
cb73af820437abcd75867aff99c64c43744110ef
c2c1fffabcdbc81cedfd039a1090000ff70f6968
/Proxy/ProxyGetter.py
2243f29bd3d3d11d82bf42cdbb1e589307628c55
[]
no_license
nightstalkerx/ProxyPool
c92eafa9badc32bf085d44f9493e3b2a805bc602
3982b293f6091fae36f39cc0683ec47ebf2020d1
refs/heads/master
2020-04-21T23:25:11.544582
2018-09-05T11:01:16
2018-09-05T11:01:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
import sys sys.path.append('../') from Util.UtilFunction import get_html_tree from Util.WebRequest import WebRequest class ProxyGetter(): """ 代理获取类 """ def __init__(self): pass @staticmethod def get_proxy_one(): """ 采集:http://www.ip181.com/ :return: "...
[ "610426459@qq.com" ]
610426459@qq.com
8c02b65c424703478a511dc63b5449224c33868c
d2d9ff977d8eb21420d6f3dc5f9476850ebcc5e9
/ABC_SMC_exponential_F5.py
1d9a14cf7871f9587428b409151c8bc433fd8962
[ "MIT" ]
permissive
GiuliaBell/ABC_SMC_codes
45d85fd22c2b36058f6a3b4cf66b0bc590209781
6587190456c9465a1cb056916d7502a1ea8d6330
refs/heads/main
2023-04-17T20:01:20.503306
2022-03-08T13:09:42
2022-03-08T13:09:42
467,183,547
0
0
null
null
null
null
UTF-8
Python
false
false
12,223
py
# Pyhton code to run the ABC-SMC algorithm to parametrise the exponential model with cell generations # making use of F5 T cells data. # Reference: "Approximate Bayesian Computation scheme for parameter inference and model selection # in dynamical systems" by Toni T. et al. (2008). # Import the required modules. impor...
[ "95767138+GiuliaBell@users.noreply.github.com" ]
95767138+GiuliaBell@users.noreply.github.com
016624cd89be6e7f3e25cc65d992a04808dc6ae2
9d008ba29c32180518e03a58e5b3cb946c8a1d6c
/app.py
fdfaa5b29ad43f850c5077d83e2b36ee18fab768
[]
no_license
MikeCarbone/Personal-website
9f5f25e031ca8be939fa26df89b44b1da51be871
16540283128cc7b711886dfdf2b99abd7d3c9af5
refs/heads/master
2021-09-02T06:10:44.005130
2017-12-30T23:19:00
2017-12-30T23:19:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
import tornado.ioloop import tornado.web import tornado.httpserver import os.path class MainHandler(tornado.web.RequestHandler): def get(self): self.render('main.html') class tempHandler(tornado.web.RequestHandler): def get(self): self.render('underConstruction.html') settings = dict( template_path = os.path....
[ "mfcbone@gmail.com" ]
mfcbone@gmail.com
8effb973e9606af222d40da9faf37e6076c24cca
7dac8d38552a8f8eb401158ed3aabffaf8f23251
/gobotany/site/migrations/0008_alter_document_upload.py
c2b8ece6b53b86964306fb7bec83afeba21b88a8
[]
no_license
newfs/gobotany-app
3b9933a55a2b7ab5adcdd10aa371b104c1a0850b
9030d08b9a1b8bdb0f897c6e482c09ef78cc4d3d
refs/heads/master
2023-01-11T02:49:04.585248
2022-11-17T00:56:30
2022-11-17T00:56:30
3,584,135
10
6
null
2016-02-06T23:07:24
2012-02-29T17:49:06
JavaScript
UTF-8
Python
false
false
497
py
# Generated by Django 3.2.15 on 2022-11-11 00:36 from django.db import migrations, models import storages.backends.s3boto class Migration(migrations.Migration): dependencies = [ ('site', '0007_auto_20210602_2000'), ] operations = [ migrations.AlterField( model_name='document...
[ "jnga@users.noreply.github.com" ]
jnga@users.noreply.github.com
6b201919d4ba0b553e94078cae06ca3b7bd4d89a
3b7cc69990b01cc6765435cc513d06f63edea334
/Programmers/다리를 지나는트럭.py
57f7ffc00c6f76bc4d8a94aca27ebbeb8d312612
[]
no_license
naldal/This-is-coding-test
9d531e6131f40ee8ecf02fc038f5d2c040325e6f
a5170e0780ccb9f62c963ae46e45bebd1f9d288f
refs/heads/master
2023-01-05T09:39:38.643980
2020-11-05T09:07:15
2020-11-05T09:07:15
293,424,017
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
def solution(bridge_length, weight, truck_weights): answer = 0 for i in range(len(truck_weights)): print(i) total_weight = truck_weights[i] truck_count = 1 reduce = 0 if total_weight < weight: for j in range(i+1, len(truck_weights)): total_weig...
[ "cec7378@gmail.com" ]
cec7378@gmail.com
93b57b5d8ab7beae315d919322890e775a1998e9
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_188/ch78_2019_04_04_19_41_08_100209.py
61335cb39d3ea9f3ad223e32472973ee949e080e
[]
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
1,203
py
from math import sqrt def calcula_tempo(atletas): tempo_de_conclusao = {} for nome in atletas: tempo_atleta = sqrt(200 / atletas[nome]) tempo_de_conclusao[nome] = tempo_atleta return tempo_de_conclusao def atleta_mais_rapido(dicionario): menor_tempo = 0 melhor_atleta = "" for ...
[ "you@example.com" ]
you@example.com
b4cebd6904d477cd8224278ad3c87bbe2000ae9e
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-vpc/aliyunsdkvpc/request/v20160428/CreateRouterInterfaceRequest.py
f3794b0030c799277bdbb14c640f9f31c41bee1c
[ "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
5,414
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
9e2de46d09baa08db907b3cdb46d3b08b3da73b1
87b906a183d6cf7f041356c8ff5aa2ee59d03a09
/Day 3/Ticket for photo.py
5e9236eaea7dbf2d0f4cf341142f621033e8885c
[]
no_license
amitshrestha-15/100daysof-code
558635f50c26568fb6186bf648e2b783bbc7d7c1
16969e8562ed49a88fbe010e02e27108ff5470c7
refs/heads/master
2023-05-21T08:07:50.820307
2021-06-04T11:53:23
2021-06-04T11:53:23
373,150,913
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
print ("Welcome to roller coaster!") height = int(input("What is your height in cm?")) bill = 0 if height >= 120 : age = int(input("What is your age?")) if age < 12: bill = 5 print("Child ticket price is $5.") elif age <= 18: bill = 7 print("Youth ticket price is $7.") el...
[ "amitstha1234@gmail.com" ]
amitstha1234@gmail.com
db053d106eb43e3318aeb6cca68e054a75650c83
77cc444d492545c322da1c7819e81a6542e3a6ff
/likes/models.py
b98a20354d3401cce7bab157417a960e8de39b09
[ "Apache-2.0" ]
permissive
PingLu8/django-twitter
3bd3a646c8d74179160f8fad11c1fa40018d59e7
ef5c47a9b2cd6796d67028946b2ed1c7b0af51be
refs/heads/main
2023-07-08T05:38:47.605500
2021-08-11T04:00:07
2021-08-11T04:00:07
361,040,505
0
0
Apache-2.0
2021-08-11T04:00:08
2021-04-24T00:58:36
Python
UTF-8
Python
false
false
1,320
py
from django.db import models from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey from utils.memcached_helper import MemcachedHelper from django.db.models.signals import pre_delete, post_save from likes.li...
[ "noreply@github.com" ]
PingLu8.noreply@github.com
620b6dda3cf88205a7c9f1e46efff99abe37eb7d
256728286889a60e5d8896efc6869483daba3280
/cinemanio/sites/imdb/migrations/0001_initial.py
1f14d2c4b9e565d481ff8bf0acc5215f8e05d89a
[ "MIT" ]
permissive
cinemanio/backend
5236be94d08ec79b9fc8d8973aee93ec8fad9b1b
c393dc8c2d59dc99aa2c3314d3372b6e2bf5497f
refs/heads/master
2021-05-01T13:02:08.102705
2019-11-10T14:33:37
2019-11-10T14:33:37
121,069,149
4
0
MIT
2020-02-12T00:09:03
2018-02-11T01:00:31
Python
UTF-8
Python
false
false
1,273
py
# Generated by Django 2.0.1 on 2018-01-26 01:06 import cinemanio.sites.imdb.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('core', '0001_initial'), ] operations = [ migrations....
[ "ramusus@gmail.com" ]
ramusus@gmail.com
59f8819b81b135eec58e7e72e99829415c9a5917
2312db84a76baf32a918ed9d354dc324c842c3cb
/data-structure/array/max_ascending_pairs.py
168918681a9d68f94ef547f4f6c7a55cfcc5791a
[]
no_license
justdoit0823/notes
a6ec61c2429a76f7d9ac52d8535a97abfa96ee10
25da05f9fdd961949c56bcb11711934d53d50c9a
refs/heads/master
2023-06-22T23:17:17.548741
2022-10-19T15:15:15
2022-10-19T15:15:15
18,003,252
13
1
null
2023-06-14T22:29:39
2014-03-22T06:01:28
Jupyter Notebook
UTF-8
Python
false
false
1,103
py
"""Max ascending pairs.""" def max_ascending_pairs(a_list): m_low_idx = None m_high_idx = None c_low_idx = None c_high_idx = None for idx, val in enumerate(a_list): if idx == 0: c_low_idx = idx c_high_idx = idx else: if val >= a_list[idx - 1]: ...
[ "justdoit920823@gmail.com" ]
justdoit920823@gmail.com
edf977c8ee2771f059d611fdf4b49337c5b6119e
a4174a9d51577d9b72b4e5dcf1be56bc9b0d242b
/retinanet/model/head/builder.py
b4153ffafb41099f951afdc540259b1454c0ab31
[ "Apache-2.0" ]
permissive
lchen-wyze/retinanet-tensorflow2.x
996396724c858fdc954880f3c20db7865d930a87
86404a2da6ec636d4b1aef768ac52f018c127798
refs/heads/master
2023-08-23T06:12:39.629288
2021-10-18T15:52:23
2021-10-18T15:52:23
418,040,957
0
0
Apache-2.0
2021-10-17T06:26:21
2021-10-17T06:26:21
null
UTF-8
Python
false
false
2,157
py
import numpy as np import tensorflow as tf from retinanet.model.head.detection_head import DetectionHead def build_detection_heads( params, min_level, max_level, conv_2d_op_params=None, normalization_op_params=None, activation_fn=None): if activation_fn is None: ...
[ "sriharihumbarwadi97@gmail.com" ]
sriharihumbarwadi97@gmail.com
40719b630af8856497ca0e697dd33dee816eeeb1
ac042704660f07263a9b7918c9d19e8027e2c01b
/qn 9.py
adc05564fc75215eb2d78a4b3c7011f3db70e44f
[]
no_license
Prashant414/python
23387f2d205ceb36f141e4b4529ff9c3e80d2679
f5ff2b280b4bf29df2723b9d1d16690e65aaf62f
refs/heads/main
2023-03-21T10:23:32.119726
2021-03-09T17:59:45
2021-03-09T17:59:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
# Modify the above question to allow student to sit if he/she has medical cause. Ask user if he/she has medical cause or not ( 'Y' or 'N' ) anx=float(input("number of clases held")) x=float(input("number of clases held")) a=float(input("number of classes attend")) m=input("any medical issue type y or n") z=a/x*100 if ...
[ "prashantshyam09@gmail.com" ]
prashantshyam09@gmail.com
f668e324466fcbe5eacf8b3b1dfb24bd51d73cfd
5ef9d5114cd6c16c22f289f65f86de16bc15e46b
/src/smartcity/module/modelling/arima/x1ClassifyTrafficArimaData.py
fbf39b98f135f78e0dd10f28cb0309f40dceefeb
[]
no_license
decmhugh/smartertraffic
d30b79d4d8d602741c2e8aa368cce7886b11558f
b672c4cd1ce26e2c4b58f3799da978ab890b5ece
refs/heads/master
2021-01-02T22:30:51.091589
2014-10-21T09:04:41
2014-10-21T09:04:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,369
py
''' Created on 3 Dec 2013 @author: declan ''' from pymongo import Connection as mongoConn import os,gc,sys import numpy as np from datetime import datetime, date from pandas.core.series import TimeSeries from sklearn import cross_validation from pandas import DataFrame as df from sklearn import linear_model from bson ...
[ "declan.mchugh@gmail.com" ]
declan.mchugh@gmail.com
a71ce795ba83eeadfd0ca322c34f7d911d52d157
92a4bd6df16659e72d91b279f915d81b84d56c39
/GBN_window.py
bccc5c1cd549160c1a7459a268474e5ffdc5bc91
[]
no_license
banana16314/rdt
1d1d714dc34554065f37de59da5abf24fac4963c
1f1ca293c0c2462861997f0728a2bc9644f9a315
refs/heads/master
2020-12-30T15:29:41.671132
2017-05-19T04:39:12
2017-05-19T04:39:12
91,145,369
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
class GBN_window : def __init__(self) : self.packet_list = [] self.ack_list = [] self.resend_list = []
[ "18245032253@163.com" ]
18245032253@163.com
908a7f137c7d77f79dcb503a8a9d2dda08602255
68072366b67058780f8a629b5a8fcebdfbec1590
/test/test_config.py
b0b51f77970482c314336dc1c2f2da8a7f6b56f4
[ "MIT" ]
permissive
markdrago/banter
fb6bf0aea3ac8e9dc8c82790911e09fbfd1f9d77
5d57d109bf9c3535750cfb845f08ccc861e38047
refs/heads/master
2021-01-19T19:31:19.024415
2015-11-09T13:18:10
2015-11-09T13:18:10
7,073,738
2
2
null
2015-11-07T16:41:49
2012-12-09T00:09:15
Python
UTF-8
Python
false
false
2,995
py
import unittest from mock import Mock try: from cStringIO import StringIO except ImportError: from io import StringIO from banter import config class TestConfig(unittest.TestCase): def test_get_value(self): contents = "[auth]\n" contents += "token = mdrago:102:abcdefghijklmnopqrstuvwxyz\n...
[ "markdrago@gmail.com" ]
markdrago@gmail.com
3a141b982aad58e4efe5283b889680634f9fbab5
9ca57420255bdc8df9f9d34989a28457ef818d66
/src/tests/test_era5_processor_service.py
306d90806bca697684582fcc3fff6676eb9d2d5c
[]
no_license
SatelliteApplicationsCatapult/csvs-nc-processor
6b8475bbbc2e415e718ff9b0acbf7c909fe7d0ba
c0ab5dfee88e78717d6589b77b1d64f2fe5b5f03
refs/heads/master
2023-01-13T08:57:09.991893
2020-10-23T14:49:51
2020-10-23T14:49:51
294,157,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
import pathlib import unittest from services.era5_processor_service import merge_nc_files, MergeError, concatenate_nc_files extracted_daily_data_path = 'tests/resources/extracted_daily_data' extracted_monthly_data_path = 'tests/resources/extracted_monthly_data' class ERA5ProcessorService(unittest.TestCase)...
[ "noreply@github.com" ]
SatelliteApplicationsCatapult.noreply@github.com
0b9fdafd9012da3e7de11c97acde26a00ae5d363
91502409e1de21daca0ac771290acb1e840f298f
/src/Transformer-TTS/transformer.py
da18861a417b959b3b8cda76aa017327b6665c56
[]
no_license
ishine/MultispeakerTTS
d759db15604b9ebe3d8bedba27de99c849618d17
f0267faf57c9a6c0cdade88d01b25f4d82dae85a
refs/heads/master
2021-04-13T03:34:15.285892
2020-03-02T01:32:36
2020-03-02T01:32:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
import tensorflow as tf from tensorflow.keras import layers class Transformer(tf.keras.Model): def __init__(self, num_layers, d_model, num_heads, dff, input_vocab_size, target_vocab_size, pe_input, pe_target, rate=0.1): super(Transformer, self).__init__() self.encoder = Encoder(n...
[ "zakwwebb@gmail.com" ]
zakwwebb@gmail.com
1f0aab49aa5a6590e8778e8b8366970e2e0a08f6
62babb33b9bede95aac217db04636956279bb2e2
/bit operation/1395C Boboniu and Bit Operations.py
90ae03a3fd60423b3df792021485ced2af7a8c6a
[]
no_license
tycyd/codeforces
0322e31daf18544944c769fd2a50c6d006015e34
e0773f069c6c5793f9d9a07b61878a589e375a5f
refs/heads/master
2023-08-12T05:00:39.467404
2021-09-30T16:39:21
2021-09-30T16:39:21
266,847,425
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
from sys import stdin, stdout # 1 1 1 => 1 0 0, 0 1 1 # 1 1 0 0 => 1 0 0 # def boboniu_and_bit_operations(n, m, a_a, b_a): for k in range(513): cnt = 0 for a in a_a: for b in b_a: if ((a & b) | k) == k: cnt += 1 br...
[ "tycyd@hotmail.com" ]
tycyd@hotmail.com
bfa7845a3715e92b22b02ae33fc01bfb05d211e5
29e82a7b9412b10600fb5c7638c0918e08af67d7
/exps/algos/R_EA.py
bc3345bcc4569b24352b35198ea4b2200718e996
[ "MIT" ]
permissive
chenmingTHU/NAS-Projects
faa2edccd821b0ae0876179a1b02e7872d4bd91e
f8f44bfb31ed50c7156f9125ba34e49159848fb7
refs/heads/master
2020-12-02T14:48:17.363203
2019-12-29T09:17:26
2019-12-29T09:17:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,177
py
################################################## # Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019 # ################################################################## # Regularized Evolution for Image Classifier Architecture Search # ################################################################## import os, sys, t...
[ "280835372@qq.com" ]
280835372@qq.com
7c7221fa64006ffeb187d80c5c61089cad20c41f
04b3d872caa5c057642b2b6ed672675e6c58ac53
/yelp_vch_scraper/yelp_vch_scraper/middlewares.py
0cfc3fe6a04fe86f936d968c39e9750d68c49b4d
[]
no_license
brandontkessler/scrapers
4a6b59321125e73fc9c8660d00cea1c199a7eb1a
413d9b3d3b06b8cc7955cde117590b6b7fc0f699
refs/heads/master
2022-11-06T18:16:11.812766
2019-07-30T19:22:34
2019-07-30T19:22:34
199,532,189
0
0
null
2022-11-04T19:35:40
2019-07-29T22:01:07
Python
UTF-8
Python
false
false
3,613
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class YelpVchScraperSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, #...
[ "brandontkessler@gmail.com" ]
brandontkessler@gmail.com
6216f8236cd09f608eacb70d7507bc0ac3a525f7
b4491eb4aea6bb8620373f4c1cdb61639f56bb75
/lesson_7/task_2.py
360e34748b2eb78813b6611aca932ecfd1d03ab6
[]
no_license
ApolloNick/Memory_holder_for_Hillel
92643a2fa11b726b218f2f707c302807352dbeb7
12df12fb4e467efd2becf44fb0771f37014c8be7
refs/heads/main
2023-07-05T07:30:27.417183
2021-08-22T19:20:31
2021-08-22T19:20:31
374,915,594
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
def convertor_for_temperatures(amount_of_degrees: int, type_of_system: str): if type_of_system == "Celsius": value_kelvin = amount_of_degrees + 273.15 value_fahrenheit = float(amount_of_degrees) * 9.0 / 5.0 + 32 return value_kelvin, value_fahrenheit elif type_of_system == "Kelvin": ...
[ "nkostrov7@gmail.com" ]
nkostrov7@gmail.com
4286d6e8f7466f4a7c7b415049764bd995510e58
272cf6bd5f56812e14c2ed0df60d626859ec2c96
/imdb_scrapy/spiders/script.py
e4449b1818474a1e4a37f9c3fa7e6064e5dd476e
[]
no_license
abhinavjha98/scrapy_simple_hired
a1b5933be5a401585f6cdfef48299b765cf25303
a0dbf812d1d4a5e16d8bf46633bdc95b747f2fd3
refs/heads/master
2023-01-24T05:46:24.639774
2020-11-30T17:17:09
2020-11-30T17:17:09
298,634,627
1
0
null
null
null
null
UTF-8
Python
false
false
2,352
py
# -*- coding: utf-8 -*- import scrapy import urllib import requests # item class included here class DmozItem(scrapy.Item): # define the fields for your item here like: ApplyLink = scrapy.Field() Title = scrapy.Field() Company = scrapy.Field() Location = scrapy.Field() salary = scrapy.Field()...
[ "abhinavjha98ald@gmail.com" ]
abhinavjha98ald@gmail.com
376b7b79d23557f1e0c36c97dd6bb44441e25287
902fb2fdc99eb16df86344bee0ac5ac02d1686a9
/lib/my_requests.py
849dad0edf3f5591da57b5cf3bd0b20934093ae8
[]
no_license
Natasha093/LearnQA_PythonAPI2
ae665705af07f9752871004a9da247aaa1ecfac8
343ead661b0b54f6f2160381d77074b6824528c8
refs/heads/master
2023-07-09T05:28:30.287901
2021-08-17T11:24:49
2021-08-17T11:24:49
393,113,137
0
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
import requests from lib.logger import Logger import allure from environment import ENV_OBJECT class MyRequests: @staticmethod def post(url: str, data: dict = None, headers: dict = None, cookies: dict = None): with allure.step(f"POST request to URL '{url}'"): return MyRequests._send(url, d...
[ "fanloko063@mail.ru" ]
fanloko063@mail.ru
1c78faf04ba1a79eed5b1f09d8a19e8c1175fe06
5eb003a2c4dc978a00de9fd9fac10ffc41c94297
/quadratic/views.py
fb7036c002d1b97869bef2bc99f0bc83b39e3437
[]
no_license
fedorchenko-a/ooniversity_django_courses_06
c1344d3b97520477e645f51187a74a553c1a8258
7070f49b000b402e0c2c04deb0c319115bfebf65
refs/heads/master
2020-05-21T02:23:36.296395
2017-04-08T18:35:00
2017-04-08T18:35:00
84,559,180
0
0
null
2017-03-10T12:45:57
2017-03-10T12:45:57
null
UTF-8
Python
false
false
1,970
py
from django.shortcuts import render from django.http import HttpResponse, HttpResponseNotFound import math from django.contrib import messages from . forms import QuadraticForm # Create your views here. def quadratic_results(request): message = {} diskr = '' if request.method == "GET": form = Qu...
[ "smolnax@gmail.com" ]
smolnax@gmail.com
eb2bae37e9c648b4f4f8701e435601f4d4be96e9
0f556b9d4e250df73bf1e0929dbd4afad51e82fe
/smaller_than/smaller_than.py
cb6b4e049621e62ab38344e518e8ebe479383f31
[]
no_license
unabl4/PythonCodeClub
0ef1cb4d145860a4fda528c2eea513d0ba6b8327
72d5887342c1e0b304307a0e0ac9eb78f0202c35
refs/heads/master
2021-04-30T04:42:03.266029
2019-02-18T22:09:12
2019-02-18T22:09:12
121,541,065
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
def smaller_than(number_1, number_2): return None if number_1 == number_2 else min(number_1, number_2)
[ "unabl4@gmail.com" ]
unabl4@gmail.com
823daf20cb6341e16101ac5a8c0abc46ed7afb5f
92291e79a95c3c0876c7d5498c53b84e45e703de
/commands/abstract.py
85c036107c453a68bae11cdcd94e2b64157b51aa
[]
no_license
RafRaf/boobogram-bot
52932dfde614677bdd1c1c49a2b9de7fa74f454c
9ae3bc904cb7d333e452f5312e67002bae50ef80
refs/heads/master
2022-05-01T23:12:44.096690
2022-04-28T06:52:01
2022-04-28T06:52:01
51,752,737
5
0
null
2018-02-03T09:13:35
2016-02-15T12:03:27
Python
UTF-8
Python
false
false
160
py
class AbstractCommand: COMMAND = '*TYPE COMMAND HERE*' def handler(self, bot, update): raise NotImplementedError('Handler is not implemented')
[ "smartrafraf@gmail.com" ]
smartrafraf@gmail.com
a9735c0896569ca1a2fa0992ca72325452c956bb
6006b0452379166d5e4bc085227c8351bedd264a
/Tacotron/madeGspeech/record.py
b2aaa3d6991963d2619bb1f61c50cb045177b353
[]
no_license
firstcoding17/Tacotron
a0cd7d764d368afa71e820d1dda66f60b58590a7
234f739b1ab8fc55bf974679075c52d01e58fdbb
refs/heads/master
2023-07-25T08:40:48.849708
2019-12-23T18:17:52
2019-12-23T18:17:52
184,554,512
0
0
null
2023-07-06T21:20:42
2019-05-02T09:30:04
Jupyter Notebook
UTF-8
Python
false
false
1,670
py
##녹음 import pyaudio import wave import time RATE = 48000 CHANNELS = 2 # FORMAT = pyaudio.paInt16 DEVICE_INDEX = 2 CHUNK = 1024 SAMPLING_PER_SEC = RATE // CHUNK RECORD_SEC = 5 pa = pyaudio.PyAudio() try: if pa.is_format_supported(RATE, input_device=DEVICE_INDEX, input_channels=CHANNELS, inp...
[ "noreply@github.com" ]
firstcoding17.noreply@github.com
8f3b6dd785a104a1985f13ba77bbd4751286ee03
7fd8a09fd94d09d568d67afcb4ecf3b60a936fe2
/Tests/TestEnvironment/test_config.py
ad9fcccfe8d638613e2087450489742dbd85bc2a
[ "MIT" ]
permissive
dev-11/eigen-technical-task
4c2ac82c02f2cbd6b7020d2cbfc33beca20db37f
c0b041fc2bd27d2706ccdab94f6eb618f17098bd
refs/heads/master
2021-05-20T22:14:32.015768
2021-03-28T12:02:50
2021-03-28T12:02:50
252,434,894
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
DIRECTORIES_TO_SCAN = ['test_docs/'] TXT_FILE_EXTENSION = 'txt' DEFAULT_INTERESTING_WEIGHT = 1 INTERESTING_RATING_THRESHOLD = 5
[ "otto@masterbranch.io" ]
otto@masterbranch.io
45d9db07a10f58220ed192774bd5337b434140b1
005ae4a30a0a322481489e2e4eacc0ac1a5bf36c
/amaascore/assets/derivative.py
f05a3989d7fdd6ea5666f340a3d313ee827966d8
[ "Apache-2.0" ]
permissive
amaas-fintech/amaas-core-sdk-python
d8b98dcc50c5536250803972b8d39b38e382825a
bd77884de6e5ab05d864638addeb4bb338a51183
refs/heads/master
2021-01-11T19:01:50.391765
2020-10-27T02:13:28
2020-10-27T02:13:28
79,296,376
0
8
Apache-2.0
2018-12-11T08:11:52
2017-01-18T02:46:34
Python
UTF-8
Python
false
false
1,358
py
from __future__ import absolute_import, division, print_function, unicode_literals from datetime import date, datetime from dateutil import parser from decimal import Decimal from amaascore.assets.asset import Asset class Derivative(Asset): def __init__(self, asset_manager_id, asset_id, asset_issuer_id=None, ...
[ "ned@amaas.com" ]
ned@amaas.com
c27f9949af47f0826b64a66cfbde19ef82a82f72
efa326097d25e030666e75bf5a851e8c68fc62c2
/code/heuristic-stats-parser.py
0f421e1285d52ab3403d32f6a765e4d9aaf81293
[]
no_license
mzumsteg/downward-lab
940c4be2280bcffe4d6f907884a3a7ff01ef69c8
e3ba6e6747a4ba60ba185c8184c80763825ec7bf
refs/heads/master
2020-05-03T04:59:19.235859
2019-10-29T14:54:46
2019-10-29T14:54:46
178,437,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
#! /usr/bin/env python import re import logging from lab.parser import Parser class MultiPattern: def __init__(self, attribute, regex, mapper, required=False, flags=''): self.attribute = attribute self.mapper = mapper self.required = required flag = 0 for char in flags: ...
[ "mar.zumsteg@stud.unibas.ch" ]
mar.zumsteg@stud.unibas.ch
1694e505bb5a7e90a0692bc69b4fbe548b49cf2b
012d191a0869869724ad2169289ddef2c74e6a9e
/Sort_Search/Searching/fibo3.py
2104ca91502ee5a507b52cac13638fd20cec7017
[]
no_license
seoninja13/Algo_DataStructures
7ceda677fe330955f0f01f034b3675e409516919
0476cf45f30f1c635340f969bf85877ee3943efc
refs/heads/master
2021-01-23T01:17:18.462298
2017-05-31T18:14:28
2017-05-31T18:14:28
92,860,589
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
# Example 1: find the fibonacy nth number # def findFib(n): # a,b=0,1 # if n<=1: # return 0 # else: # for i in range(n): # a,b= b,a+b # return a # print(findFib(6)) # 0, 1, 1, 2, 3, 5, 8, 13, 21 // findFib(n) # 0 1 2 3 4 5 6 7 8 // n # a b # ...
[ "dacheviov@gmail.com" ]
dacheviov@gmail.com
8c9849703cc07eca40e79e9815e37eca6f5ad5a7
77e2e024741473aa4bfaa91332ed9187130677b5
/names/my_subprocess.py
32fc1f9c5438500841b7e4a57c8a5fa499849222
[]
no_license
ld86/shad-course-work
444accbd802876d988b7a08c24a51b68b5bfbb87
0510e165378ec686455e8937ec146ed12a48063c
refs/heads/master
2021-01-25T03:54:43.656012
2013-08-23T07:48:56
2013-08-23T07:48:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,185
py
#!/usr/bin/python3.2 import os import time import fcntl import subprocess class IPopen(subprocess.Popen): def __init__(self, *args, **kwargs): """Construct interactive Popen.""" keyword_args = { 'stdin': subprocess.PIPE, 'stdout': subprocess.PIPE, 'stderr': subpr...
[ "frizzlywitch@gmail.com" ]
frizzlywitch@gmail.com
ddf61c3298a3b789b970f9e7a487613619465098
50d35003334d3947ac71717f670647cb7b954427
/data/ai.py
33d2484289294860a0951be232b5b6d7d3a98abf
[]
no_license
NEVTIK-org/Simple-Virtual-Assistant
c40aec818972c001a61b6fe900a2ad91c3a3804d
a5731ec332a0ddd4fd7d6ad1c48c8620d862a6c4
refs/heads/master
2022-04-22T01:17:07.561823
2020-04-13T12:53:32
2020-04-13T12:53:32
255,242,805
1
0
null
null
null
null
UTF-8
Python
false
false
2,563
py
#Created by Hermawan S.S. #hermawansent@gmail.com import os import brain import re from playsound import playsound import speech_recognition as sr def speech_input(): print("\nMe\t\t: ",end="") user_input = str(brain.spoke()).lower() if user_input != "none": print(user_input) return user_input def learn_englis...
[ "farishelmi@nevtik.org" ]
farishelmi@nevtik.org
06a75d32395897be1704baf76488c145cb2b23b8
779ae09963d3ee259ab8b9dc6f4d035dd551668c
/venv/bin/pyrsa-priv2pub
1b6424b1514d7ccc442c721d100d6e54a4ab307c
[]
no_license
manav2401/Apna-Hack-Ayega_hackout
5fa6473b96f3e02810c452de9b18e9b9295ab015
734240b844e20db845b0e03273dbb09f48686e6d
refs/heads/master
2020-08-06T19:17:34.357676
2019-10-13T16:01:45
2019-10-13T16:01:45
213,121,054
1
0
null
2019-10-13T15:04:35
2019-10-06T06:44:32
Python
UTF-8
Python
false
false
255
#!/home/nisarg/flask/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from rsa.util import private_to_public if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(private_to_public())
[ "nisshah1499@gmail.com" ]
nisshah1499@gmail.com
49e3e2dc21de028828c27795a9fc50162734f705
bb453b5c265ea1567de6750c910a35c80ee984d5
/OSG/Gravel/SLiM_gravel_osg.py
f50c4d9c7372d20ff9a6973bfc5cc9cdd759d4d4
[]
no_license
SantosJGND/Models
8134142970a15ecf59c613947c681a434da7de91
b7b6740071a4caefe0addac7d883eb1bb18fb8d4
refs/heads/master
2021-05-18T21:13:05.754098
2020-11-21T20:52:26
2020-11-21T20:52:26
251,423,689
0
0
null
null
null
null
UTF-8
Python
false
false
4,737
py
from tools.SLiM_pipe_tools import ( read_chrom_sizes, region_samplev2, fasta_RextractUnif, write_fastaEx, process_recipe, SLiM_osg_dispenser, ) from tools.ABC_utilities import demo_to_recipe ########### if __name__ == '__main__': import argparse parser = argparse.ArgumentPars...
[ "dourado.jns@gmail.com" ]
dourado.jns@gmail.com
49499f173136efc9f5360c976ed035066e6153ff
a48aff43b3b05fedfa4e9262842be0c485a1addf
/python/gamin/racey.py
270f5505879af934bcbf4ed6cdeb6e97e6ccdded
[]
no_license
Vkeynote/rep3
5989d22805efb2c07e038b3027e8eb54adfb6fac
87789937bd4097cd142c57223e5c656ae2a476f5
refs/heads/master
2020-12-30T14:33:37.603440
2017-06-22T11:06:07
2017-06-22T11:06:07
91,320,885
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
import pygame import sys pygame.init() display_width = 800 display_height = 600 black = (0,0,0) white = (255,255,255) green = (0,255,0) red = (255,0,0) blue = (0,0,255) gameDisplay = pygame.display.set_mode((display_width, display_height)) pygame.display.set_caption('Ray-see') clock = pygame.time.Clock() crashed = F...
[ "victor kinoti" ]
victor kinoti
08fbda338ee07b7d2e4bdaddba5d9ca235ebee02
251c899a019af13f0355fc005dad499e12464ee2
/home/views.py
d0000b07c64a63aa5a865639e8735019709b924d
[]
no_license
vinayhegde105/docker_ECR
d7a556f1a6127e857a24b458bce074819b2ecda3
db8b2614436487806868862759df601a303350eb
refs/heads/main
2023-08-05T14:46:19.018733
2021-09-23T14:52:15
2021-09-23T14:52:15
409,539,321
0
0
null
null
null
null
UTF-8
Python
false
false
3,423
py
from django.shortcuts import render , redirect # Create your views here. from .form import * from django.contrib.auth import logout def logout_view(request): logout(request) return redirect('/') def home(request): context = {'blogs' : BlogModel.objects.all()} return render(request , 'home.html' ,...
[ "root@AdminVM.ce2kuzjo5r2utpyd55bak1t0ia.rx.internal.cloudapp.net" ]
root@AdminVM.ce2kuzjo5r2utpyd55bak1t0ia.rx.internal.cloudapp.net
19838a190c48902a9799ae5a54116786d9d5576b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2901/58744/247697.py
300e82a6c695d61e1fd561bfba7acad1b071cf0a
[]
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
289
py
num = int(input()) def isAlternatingBits(num): former_bit = 0 if num & 1 else 1 while num > 0: if num & 1 == former_bit: return False num >>= 1 former_bit = 0 if former_bit else 1 return True print(str(isAlternatingBits(num)).lower())
[ "1069583789@qq.com" ]
1069583789@qq.com
f35f9453708d4f7187b92e2ba3afe2280bf7d580
373daa3912c2f1f7c144a20593abac886729fca2
/products/serializers.py
1075d01379f7dd9f26ea0e0a9e97dea005c06e8e
[]
no_license
yash-bhat/Gallery
0cfccb6b2917c403adf5d79e40df51d5377bcac8
6e9f7114786eb9adbeb045d3d555626c4cf8ff87
refs/heads/main
2023-02-27T22:48:47.142656
2021-02-03T19:34:51
2021-02-03T19:34:51
335,344,231
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
from rest_framework import serializers from .models import Product #to return objects in the API for products class ProductSerializer(serializers.ModelSerializer): class Meta: model = Product fields = '__all__' # no serializer for 'User' model as we will just return random IDs there
[ "hvyashbhat@gmail.com" ]
hvyashbhat@gmail.com
49850af963a65360d1c97ece208d22db0d8b0796
ef4f8e5505077799eef1e333c681eba2f5b91eb7
/proyectoLeVents/manage.py
193ee00e952eab2fa446208afba8a2d54ff2036e
[]
no_license
DonRata/Le-Vents
9b9a44e7a25972f7ff32ac1b83e9766d505b2d90
7b668565732f218b6e5bfd2bc002dfd11b45a060
refs/heads/master
2021-06-22T19:11:18.093227
2019-12-02T14:16:14
2019-12-02T14:16:14
215,043,028
0
0
null
2021-06-10T22:12:40
2019-10-14T12:50:52
Python
UTF-8
Python
false
false
627
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Levents.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Import...
[ "emilio.r.cruz@gmail.com" ]
emilio.r.cruz@gmail.com
d6652ee362ae8f58bcb2d3e494a5e011f4bcedeb
46ec244f2b4b28645a7c8a1bfe666fc7c69ec76d
/booking/migrations/0022_auto_20181103_1536.py
fd6a9a66c70fa150f65469b9484dad5ef4e7e4c8
[]
no_license
bisalgt/hotel-jumera-app
d83c3b97f81f649333f26c9e3c1b2545cf516f40
b9d03c3bb321206a39a1f134c7c13fdbddd63337
refs/heads/master
2022-12-14T19:45:23.238189
2018-11-09T09:48:49
2018-11-09T09:48:49
203,003,707
0
0
null
2022-12-08T01:23:07
2019-08-18T13:01:29
Python
UTF-8
Python
false
false
710
py
# Generated by Django 2.1 on 2018-11-03 09:51 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('booking', '0021_auto_20181103_1421'), ] operations = [ migrations.AlterField( ...
[ "bisalgt@email.com" ]
bisalgt@email.com
273d5e6c1723e75812580b3ef222fe5e49de355b
07a460e0827fe2e7326276d78216b64fcc0cbf43
/CSCI_1100/Week_7/Lab_6/lab6Files/check0.py
2145e0c6f2f70146626a257b55ddae97c202b6ff
[]
no_license
bobmayuze/RPI_Education_Material
2b1a122b70ec420f9a63fe1e26c47ad2d506cd9b
202a25239f4c50529012b0c9163ca059bf7fc82b
refs/heads/master
2020-12-01T21:01:09.059103
2017-02-17T18:29:37
2017-02-17T18:29:37
67,041,284
2
0
null
null
null
null
UTF-8
Python
false
false
443
py
string = '' for i in range(0,9): string += str(i)+' ' print(string) rows = 9 cols = 9 grid = [] for y in range(rows): grid.append([0]*cols) for y in range(rows): for x in range(cols): grid[y][x] = "{},{}".format(y,x) # print("{},{}".format(y,x)) s = "" for i in range(len(grid)): for p in range(len(grid[i]...
[ "584653629@qq.com" ]
584653629@qq.com
b6ebc4882b065f7bde87c7e46e7c9c9b357583dc
ae6adcc4f81e59cc570889f999d6fa4c919e201b
/dataloader/dataLoad.py
effb825572ffba9bd7fa1bd975578b0712541062
[ "BSD-3-Clause" ]
permissive
Orieus/WeakLabelModel
82643f54957236f548f7912c075ec975a8b47cfa
7d51fc719b8d5a715b55587e382f84b87c54378a
refs/heads/master
2023-04-05T18:51:53.634708
2021-09-27T18:51:24
2021-09-27T18:51:24
62,823,569
0
1
null
2023-03-25T01:13:14
2016-07-07T16:55:27
Jupyter Notebook
UTF-8
Python
false
false
1,658
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This code contains a method to load datasets for testing classification algorithns Author: JCS, June, 2016 """ # External modules import sklearn.datasets as skd def getDataset(name): # This method provides the feature matrix (X) and the target variable...
[ "jcid@tsc.uc3m.es" ]
jcid@tsc.uc3m.es
363f86770b28d6cb2e6389bb1e933efbd7d0a25f
e29b380111a9180fb4a5a4b3b227b2a67dbf71b2
/State.py
5ba57e77ccc20b5c078696d9a4f7af7e201e1f31
[]
no_license
ptyshevs/npuzzle
5af9036537f9125e1689eef856e29aad1fc3fdcf
05c578aa73a56d9a1a7be642531490e53db5b79a
refs/heads/master
2020-08-10T05:23:44.598024
2019-10-18T10:47:07
2019-10-18T10:47:07
214,267,611
0
0
null
null
null
null
UTF-8
Python
false
false
6,047
py
class State(list): def __init__(self, values=None, empty_loc=None): """ Matrix is a rectangular table of numerical values :param values: """ self.shape = len(values), len(values[0]) self.h, self.w = self.shape # self._validate_values(values) self.value...
[ "ptyshevs@gmail.com" ]
ptyshevs@gmail.com
79a8e4c562139987c47fe34f81f4bc9c48703f36
3db7b5409f2f9c57ab3f98bda50f8b548d98063d
/samples/tests/test_model_samples.py
ed82dd678c2f104779586f523aeefb3e7b00a9f1
[ "Apache-2.0" ]
permissive
googleapis/python-bigquery
66db156b52e97565f6211b2fab5aac4e519fa798
3645e32aeebefe9d5a4bc71a6513942741f0f196
refs/heads/main
2023-09-01T07:41:24.893598
2023-08-23T19:04:13
2023-08-23T19:04:13
226,992,475
622
287
Apache-2.0
2023-09-12T04:31:26
2019-12-10T00:09:04
Python
UTF-8
Python
false
false
1,507
py
# Copyright 2019 Google LLC # # 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://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
googleapis.noreply@github.com
7721212f0127819872a18fcc4a779267ff52d0b7
c9dc5de35b590f748ab29d89b572f270bbff1f45
/setup.py
c2e112464c6f69152594161f7322e1c272358c47
[]
no_license
spmacdonald/craigslist
198600c2bbff456dc23eb47e10eb45f0f4ece3fa
ebf13276b9ea59f465a6fd722b54ca66494f1998
refs/heads/master
2016-09-09T17:02:17.308681
2013-01-16T09:02:52
2013-01-16T09:02:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='craigslist', description='A Python API for searching Craigslist.', long_description=read('README'), author='Andrew Brookins', author_email='a@andrewbrookins...
[ "a.m.brookins@gmail.com" ]
a.m.brookins@gmail.com
45ee16d54b3d9fc6b576564b858c3f81e65f61ac
8f589b4ce5daa41325dd34af7f55b79d4363fff4
/rest_api_project/wsgi.py
293555757e895f29980343018f5ac48a41d000ff
[]
no_license
manoliskorniotakis/geo_rest_api
506ba9413c1a6e33bc90cc8b6961df7220226edb
2f2318a5592ccfd4c3cd43c33afa61758d3a9416
refs/heads/master
2020-03-23T00:57:10.311380
2018-07-13T21:37:50
2018-07-13T21:37:50
140,893,372
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
""" WSGI config for rest_api_project project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJ...
[ "manolis@Jessie.debian.org" ]
manolis@Jessie.debian.org
4d67978e52e4e83c73dd638f7a3dce705eb9f725
7ea3fd8b778fa47b9e7f2c91b094a50a7dd34cf2
/Ch. 8 Exercise 5.py
ff97daa2a931cafc0c1528f65b68b017cd2be51d
[]
no_license
jenjade/class-work
7c4ee0d215fa3a16806c7d6259f06d84c579f146
af0d1281cdd64898afebcf87220a22ee50aa2569
refs/heads/master
2020-03-16T21:16:24.754108
2018-05-11T05:31:37
2018-05-11T05:31:37
132,992,066
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
fhand = open('mbox-short.txt') count = 0 search_word = 'From' for line in fhand: dict() words = line.split() #print ('Debug:', words) if len(words) == 0 : continue if words[0] != 'From' : continue print(words[2]) count += 1 print ('The word From occurs', count, 'times.')
[ "jenjade@uw.edu" ]
jenjade@uw.edu
fa28e044a716da27bba63669641a6930120d6137
2a538cffa543855a2c0c1b4485a0455b9673efdd
/users/migrations/0005_remove_profile_name.py
3b9e8eeaf8d21b482426080b9df7b6ca1296226e
[]
no_license
FLIQ1-0/FLIQ1.0
dbf0ae92cf613d9a9813122998934e4ceedc9790
97109d62a89b9184052c349b09d28b097c1bdcf6
refs/heads/main
2023-06-30T01:39:28.560442
2021-07-30T07:15:06
2021-07-30T07:15:06
390,750,477
0
1
null
null
null
null
UTF-8
Python
false
false
342
py
# Generated by Django 3.0.8 on 2020-08-13 14:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20200812_0907'), ] operations = [ migrations.RemoveField( model_name='profile', name='name'...
[ "noreply@github.com" ]
FLIQ1-0.noreply@github.com
56531f41048eb1678833782d2cbcab5c2079f65c
e02ae56bdd80ad660c3fe455641e74b5ae8ba765
/FluentPython/unit17/demo_executor_map.py
150bb87106ed622508c340713fcd8082e980702f
[]
no_license
RiderLai/pytest
aa1f7115186c274856996fa3c9cce2e0982fabc2
e939398353efe624d4808d0024a85762a235ca9a
refs/heads/master
2020-04-14T01:16:59.678025
2020-02-12T12:02:49
2020-02-12T12:02:49
163,556,588
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
from time import sleep, strftime from concurrent import futures def display(*args): print(strftime('[%H:%M:%S]'), end=' ') print(*args) def loiter(n): msg = '{}loiter({}): doing nothing for {}s...' display(msg.format('\t'*n, n, n)) sleep(n) msg = '{}loiter({}): done.' display(msg.format(...
[ "lyf670354671@gmail.com" ]
lyf670354671@gmail.com
f29914a515f74f76b34be9f8770ba18e37935362
401d9e394626c143eecbe2079b6a94fa4c896c05
/crawler/fdThreads/fd_to_thread.py
7b464a19b005d18ed820c5a144e67eb622c4fbc8
[]
no_license
paldosh/perceive
f94dc0e05814bb7825a4fa180829eeb54bb4df3a
2d67cdec04970446057c7da4532ac0f5192b4fa4
refs/heads/master
2020-12-28T23:36:08.667215
2017-01-20T04:51:12
2017-01-20T04:51:12
66,851,770
0
0
null
2016-09-01T00:35:36
2016-08-29T14:36:56
null
UTF-8
Python
false
false
899
py
#script to get the thread FD data in the format required for Running LDA import csv import sys def get_data(f): try: f2= open(f) d=f2.read().strip() f2.close() except IOError: print "error" d="" return d if __name__ == "__main__": if len(sys.argv) != 2: print "Usage: <Name of the ...
[ "noreply@github.com" ]
paldosh.noreply@github.com
611a50956c59cb945db54ff980d7e159427332e7
da0fd3464feae5e77469b2ff2e727388fb806335
/btre/urls.py
00804af15a0f5a9e3c691e5b885194cb426ea548
[]
no_license
mim-omid/Django_RealEstate
d02ee8c829138fb1dc5916621b2ad1db97456a48
17cefeb502594274ed505474e03d54aca4930399
refs/heads/master
2020-05-22T14:42:40.226353
2019-05-18T11:10:43
2019-05-18T11:10:43
186,393,151
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
"""btre URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "mr.mim.omid@gmail.com" ]
mr.mim.omid@gmail.com
f183c720412c131b71409791d712d87142101b8b
6e8d58340f2be5f00d55e2629052c0bbc9dcf390
/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/databases/mysql.py
ba6b026ea29aac857be41bbe8563e904dfc2ff43
[ "CC-BY-2.5", "MIT" ]
permissive
JCVI-Cloud/galaxy-tools-prok
e57389750d33ac766e1658838cdb0aaf9a59c106
3c44ecaf4b2e1f2d7269eabef19cbd2e88b3a99c
refs/heads/master
2021-05-02T06:23:05.414371
2014-03-21T18:12:43
2014-03-21T18:12:43
6,092,693
0
2
NOASSERTION
2020-07-25T20:38:17
2012-10-05T15:57:38
Python
UTF-8
Python
false
false
97,080
py
# -*- fill-column: 78 -*- # mysql.py # Copyright (C) 2005, 2006, 2007, 2008, 2009 Michael Bayer mike_mp@zzzcomputing.com # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Support for the MySQL database. Overview -------- For normal SQ...
[ "root@ip-10-118-137-129.ec2.internal" ]
root@ip-10-118-137-129.ec2.internal
42226fdcd5ceb2549588906b5c91eab8af344a0f
cbc9b9966f4dd25d9e77f1b85b4179ee372a3eea
/tests/utils.py
720371037fa93e53103cafa2b25bfa8951edccc7
[ "Apache-2.0" ]
permissive
uber/uber-poet
f58b8f264f8e2f4c488104f41d3146fca380f648
580a52f428014861847ea59bb838ffb4e060b84d
refs/heads/master
2023-09-03T16:04:26.824597
2021-06-16T22:21:39
2021-06-16T22:21:39
156,401,298
95
14
Apache-2.0
2022-01-12T04:01:10
2018-11-06T15:04:46
Python
UTF-8
Python
false
false
916
py
# Copyright (c) 2018 Uber Technologies, 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 agree...
[ "mahyar@uber.com" ]
mahyar@uber.com
d212b97e65ff4b31400a53849b1752ac83d9b736
4932130e91984cedb824609b4d4dd65e1ba6fbf3
/doc/lsystem_1.py
54b5d250c2c50af4085e58a3c59384c51d3f7663
[]
no_license
junqi108/MAppleT
999e6089c01d9b535727efc9dd3e0ddc9a6b4183
090370f08271455f6c1b89592a0b7eb18212a6c9
refs/heads/master
2023-06-20T13:24:34.111337
2021-07-20T15:10:10
2021-07-20T15:10:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,677
py
from openalea.lpy import * __revision__ = " $Id: stocatree.lpy 9964 2010-11-23 12:24:26Z cokelaer $ " try: import openalea.stocatre.optimisation as optimisation except: import openalea.stocatree.non_optimised as optimisation import openalea.stocatree.constants as constants from openalea.stocatree.output import ...
[ "christophe.pradal@inria.fr" ]
christophe.pradal@inria.fr
ca418afeb7226b1ed8850883ad982e55f778e9c6
b6832369607b214a3b491262f135b818e242e6c3
/catalog/urls.py
6c9bf7190243e6befa7456b45a60becd2e69c53c
[]
no_license
khazraer/Test
a55b103c462450e3b05f46b01d6746b800aa0971
17da0270978abd6a72d4058b41e03b8110d35984
refs/heads/master
2020-07-26T02:23:50.649017
2019-09-14T22:17:59
2019-09-14T22:17:59
208,503,156
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
from django.urls import path from catalog import views urlpatterns = [ path('', views.index, name='index'), path('book/',views.BookListView.as_view(),name = 'books'), path('book/<int:pk>',views.BookDetailView.as_view(),name = 'book-detail') ]
[ "raedkhazeem@Raeds-MacBook-Pro.local" ]
raedkhazeem@Raeds-MacBook-Pro.local
a43a6ca183fe13cab45ff1ffe654cb22df55bdd3
b3f6daa5d6c987eb8a61d5fe125bf2a98997e259
/8kyu/Simple multiplication/index.py
0853411208f8f60cc3ab604295bcd6f49ea44358
[]
no_license
krnets/codewars-practice
53a0a6c9d2d8c2b94d6799a12f48dd588179a5ce
5f8e1cc1aebd900b9e5a276884419fc3e1ddef24
refs/heads/master
2022-12-20T19:33:43.337581
2022-12-16T05:32:39
2022-12-16T05:32:39
217,464,785
1
0
null
2020-07-20T08:36:31
2019-10-25T06:20:41
JavaScript
UTF-8
Python
false
false
668
py
# 8kyu - Simple multiplication """ This kata is about multiplying a given number by eight if it is an even number and by nine otherwise. """ # def simple_multiplication(number): # return 8 * number if number % 2 == 0 else 9 * number # def simple_multiplication(number): # return number * (8 if number % 2 == ...
[ "cmantheo@gmail.com" ]
cmantheo@gmail.com
eb484998751392468bf30d8a2fb2c3ba3ede7764
318d26f99fc8e61b9da4669edb72f400b7fd26d3
/venv/Scripts/pycolor-script.py
f3417a87f6dafedb62f79b400dd596547c1db112
[]
no_license
lsferreira934/Exercicios-em-Python
880a8221a00de43a429c216153be6cba043c8369
7f59f8c1dafdd23a68189bf9123c818e511d2858
refs/heads/master
2020-12-22T17:19:03.982669
2020-01-29T00:42:52
2020-01-29T00:42:52
236,871,652
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
#!C:\Users\Leandro\PycharmProject\CursoemVideo\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'color==0.1','console_scripts','pycolor' __requires__ = 'color==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)?$', '', sy...
[ "lsfereira934@yahoo.com.br" ]
lsfereira934@yahoo.com.br
b1163b2984e2eb93acf05d4c2079a8f7368f68bc
a04c52e256b52a69f8786045d7751907b7d652cd
/python/inflowPrepMMC.py
1d0eb28fe69b6ca4a1f2f956efdcea8abbd65f35
[]
no_license
mchurchf/ABLTools
9b77e599759d38888bf7af44295b550ff8bb7396
474dc20b98f91dfc2b15853128e3ae62666f29cb
refs/heads/master
2021-01-20T15:23:51.950863
2019-06-19T21:29:04
2019-06-19T21:29:04
90,765,882
5
1
null
null
null
null
UTF-8
Python
false
false
16,595
py
# inflowPrepMMC.py # # # Matt Churchfield # National Renewable Energy Laboratory # 25 August 2017 # # This is a module to deal with preparing inflow for mesoscale-microscale # coupled cases over complex terrain. import numpy as np # Class to deal with the mesoscale-microscale inflow preparation. class infl...
[ "matt.churchfield@nrel.gov" ]
matt.churchfield@nrel.gov
11e9e11dc871aea4258733931469fe48088b6a3c
91d77c5cde6a83457b5b0b7baf9f4d04398c7f2b
/mysite/settings.py
20ca551958cd2bd9b987d00991a4b64623910dad
[]
no_license
niksamoyloff/blog
727835a9bb47dcd7766ca4ad6cc684e02c738ff5
27f4a0f891f9a480100d4507dd65065f152f6560
refs/heads/master
2021-06-09T22:52:17.619888
2017-01-09T11:24:08
2017-01-09T11:24:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,532
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.10.3. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "niksamoyloff@gmail.com" ]
niksamoyloff@gmail.com
5733282b347437017239c5826413bf88554b2717
2d8573859614560cd550df021cf46901803dd18a
/merdecoin-v0.01/test/functional/feature_reindex.py
123ee0a7d555cb17a50dc57592b3ad2ba3ad49e7
[ "MIT" ]
permissive
merde-libertas/merdecoin
d0cd34a84e8affbf42b99c8acd1cc692a1767b26
35f8a54db8d322d0bd8534822f0e88aab274e539
refs/heads/master
2023-05-26T20:43:23.516846
2021-06-10T10:24:07
2021-06-10T10:24:07
369,151,527
0
0
null
null
null
null
UTF-8
Python
false
false
1,422
py
#!/usr/bin/env python3 # Copyright (c) 2014-2018 The Merdecoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test running merdecoind with -reindex and -reindex-chainstate options. - Start a single node and gen...
[ "phillipwilkinson@hotmail.com" ]
phillipwilkinson@hotmail.com
879913c4b70bee4502b035d12d1c323881a4572e
087594210fbc0c8d417368d9ea347748eba77206
/graphical pass point/cryptography.py
3b5dbae3665e91c0db7b85fbe2a39f0ab871ee22
[]
no_license
hazelclement/python-programs
f663055a3f62a96684f31e25dfd47903cb0feca6
055c5f8922126119bc8e74d6c0f17569d280c23a
refs/heads/master
2022-12-01T16:05:09.048514
2020-07-21T17:46:01
2020-07-21T17:46:01
281,458,353
0
0
null
2020-07-21T17:46:03
2020-07-21T17:11:41
Python
UTF-8
Python
false
false
241
py
message = 'This is program to explain reverse cipher.' translated = '' #cipher text is stored in this variable i = len(message) - 1 while i >= 0: translated = translated + message[i] i = i - 1 print("The cipher text is ", translated)
[ "hazelclement15@gmail.com" ]
hazelclement15@gmail.com
14895c387790963bdf7116b1e8c8c4f7091456ff
bd61ecbc7696eb499b0658c5d636e93bf2f94844
/tutorials/W08_AutoEncoders_GANs/solutions/W8_Tutorial1_Solution_Ex05.py
db284bd51b1651e82d322ddcabf0f27c929a1b38
[]
no_license
fyshelab/course-content
a8587f23a8fcfd692694cfddcbf5879a6cbbc2ec
353d738d76a352a09e058569d6692d5944a3975a
refs/heads/main
2023-04-19T19:40:01.129935
2021-05-14T19:56:19
2021-05-14T19:56:19
364,661,485
1
1
null
2021-05-05T17:50:57
2021-05-05T17:50:56
null
UTF-8
Python
false
false
4,138
py
class ConvVAE(nn.Module): def __init__(self, K, num_filters=32, filter_size=5): super(ConvVAE, self).__init__() # With padding=0, the number of pixels cut off from each image dimension # is filter_size // 2. Double it to get the amount of pixels lost in # width and height pe...
[ "noreply@github.com" ]
fyshelab.noreply@github.com
c4629c6296276f6dd000ac6acc97097972160f92
4755dabdcff6a45b9c15bf9ea814c6b8037874bd
/build/laser_proc/catkin_generated/pkg.installspace.context.pc.py
8aa2d2e231584bb4c6aa2e425d2a5cc3e336be50
[]
no_license
Rallstad/RobotSnake
676a97bdfde0699736d613e73d539929a0c2b492
37ee6d5af0458b855acf7c2b83e0ee17833dbfd1
refs/heads/master
2023-01-03T05:46:46.268422
2018-05-27T16:01:47
2018-05-27T16:01:47
308,665,980
2
0
null
null
null
null
UTF-8
Python
false
false
698
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/snake/Documents/catkin_ws/install/include".split(';') if "/home/snake/Documents/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;sensor_msgs;rosconsole;nodelet".replace('...
[ "vetle.fredriksen@gmail.com" ]
vetle.fredriksen@gmail.com
20f8fb5a190e77a3ff5fccec0605de447e4a5d3d
cd612a871df90cc010f7836cbdaf40afba401016
/blog/myblog/migrations/0003_auto_20170422_2009.py
a9145bd8176b513289b7db8152aff89e764a1048
[]
no_license
nicexp/myblog
64db95bb06b52d09bae4322f5ba9bdf44cd4781a
1856d54cb7f302501c425febe0f5a30a89697d60
refs/heads/master
2021-01-20T14:59:51.313194
2017-05-09T04:42:56
2017-05-09T04:42:56
90,703,324
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-22 12:09 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myblog', '0002_auto_20170422_2005'), ] operations = [ migrations.AlterField( ...
[ "419797567@qq.com" ]
419797567@qq.com
1337748aee1def7513208e92e38858d34f0ed411
50fcaacdb31ae4083749266286f2ac6efcaef97a
/backend/base/products.py
3cf6d7f8fa418fd6335f7a4a4835474b925d4abe
[]
no_license
TannerGS/react-django-ecommerce
cfc587a3fe5941cbc4eedeaf291bd05564329231
a44242a28229dc1574d1293416f1feb213e70745
refs/heads/master
2023-05-05T06:51:33.117588
2021-05-25T18:25:55
2021-05-25T18:25:55
364,300,782
0
0
null
null
null
null
UTF-8
Python
false
false
2,735
py
products = [ { '_id': '1', 'name': 'Airpods Wireless Bluetooth Headphones', 'image': '/images/airpods.jpg', 'description': 'Bluetooth technology lets you connect it with compatible devices wirelessly High-quality AAC audio offers immersive listening experience Built-in microphone all...
[ "tannersimpkins@gmail.com" ]
tannersimpkins@gmail.com
e8d69dc71a1291dee1d8938c549171c4d1c602aa
e58307f680fb8f975b7c47b0dda98efed2e0675f
/main.py
cc000d07d16a2bd8c8c0d075c5c6308c7361631d
[]
no_license
yeahdef/albumRipIdentify
af49fc83cf152c18e3d65ac6a35951e089322b9c
266b043fb981e53cc7d26e6f2b382a71b0ddba81
refs/heads/master
2020-03-16T00:02:51.928628
2018-05-07T04:28:15
2018-05-07T04:28:15
132,406,714
0
0
null
null
null
null
UTF-8
Python
false
false
4,589
py
from mutagen.easyid3 import EasyID3 from dateutil.parser import parse from mutagen.mp3 import MP3 from time import sleep from tqdm import tqdm import discogs_client import argparse import mutagen import difflib import fnmatch import pickle import sys import os parser = argparse.ArgumentParser(description='Slice mp3 re...
[ "josephliechty@josephs-air.gateway.pace.com" ]
josephliechty@josephs-air.gateway.pace.com
0d9c589064bdfa802bbc69912c2b119c8b1a3167
5b3d8b5c612c802fd846de63f86b57652d33f672
/Python/seven_kyu/to_jaden_case.py
6f1011c1120d950fcc87a4462cab4f25505b6208
[ "Apache-2.0" ]
permissive
Brokenshire/codewars-projects
1e591b57ed910a567f6c0423beb194fa7f8f693e
db9cd09618b8a7085b0d53ad76f73f9e249b9396
refs/heads/master
2021-07-22T18:50:25.847592
2021-01-25T23:27:17
2021-01-25T23:27:17
228,114,677
1
0
null
null
null
null
UTF-8
Python
false
false
942
py
# Python solution for 'Jaden Casing Strings' codewars question. # Level: 7 kyu # Tags: Fundamentals, Strings, and Arrays. # Author: Jack Brokenshire # Date: 17/02/2020 import unittest def to_jaden_case(string): """ Your task is to convert strings to how they would be written by Jaden Smith. The strings are a...
[ "29889878+Brokenshire@users.noreply.github.com" ]
29889878+Brokenshire@users.noreply.github.com
a6bd02271c9b2f71284783392b9407f1e9b79f7f
67f1e3d3ac20baf3530ef1ccfc3feca0de466c16
/python/entrance/connection/cli.py
750ed6822e0a02eab0aaa1213b253c601b550170
[ "MIT" ]
permissive
ensoft/entrance
6f4ae3598407fc945207bec8eeae6d7b736fc654
87d67e32511cab4be6b80012aa853ebbbc72d48f
refs/heads/master
2023-03-18T06:44:17.964792
2023-03-02T13:16:52
2023-03-02T13:16:52
145,552,487
11
9
MIT
2023-02-17T16:28:29
2018-08-21T11:08:17
Python
UTF-8
Python
false
false
1,922
py
# Base class for a CLI ThreadedConnection # # Copyright (c) 2018 Ensoft Ltd import re from entrance.connection.threaded import ThreadedConnection class ThreadedCLIConnection(ThreadedConnection): """ Base class for a ThreadedConnection whose worker thread maintains a CLI session """ async def sen...
[ "code@chatts.net" ]
code@chatts.net
b34d5bebd57109d20aee7fec341878dfb3c9875c
31eaed64b0caeda5c5fe3603609402034e6eb7be
/python_zumbi/py_web/test_scraping_2.py
8504ae20c38d531160f7f991a12e83e59ccd487b
[]
no_license
RaphaelfsOliveira/workspace_python
93657b581043176ecffb5783de208c0a00924832
90959697687b9398cc48146461750942802933b3
refs/heads/master
2021-01-11T17:39:49.574875
2017-06-28T20:55:43
2017-06-28T20:55:43
79,814,783
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
import urllib.request #modulo que permite conversar com a internet pagina = urllib.request.urlopen( 'http://beans.itcarlow.ie/prices-loyalty.html') text = pagina.read().decode('utf8') print(text) i = text.find('>$') preco = float(text[i+2:i+6]) if preco < 4.74: print('Em Promoção: ', preco) else: print('Es...
[ "raphaelbrf@gmail.com" ]
raphaelbrf@gmail.com
bf1fd77267d8c4bca07a45429c04b6b67db22867
0970a4aab1070bdb28b799fab2cf61693c4ccab2
/src/tf-idf.py
120bfc4d0f4f88914b5d27c3c389f38a84926175
[]
no_license
nickzhangf/machine-learning
ca53842ab0a07e7e6df8317e1ecc09e3dd0fc958
a2376319c3a0b1fac315153f72f780f0402b7271
refs/heads/master
2020-12-29T02:39:02.406050
2017-02-13T02:33:34
2017-02-13T02:33:34
52,136,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
# coding:utf-8 __author__ = "liuxuejiang" import jieba import jieba.posseg as pseg import os import sys from sklearn import feature_extraction from sklearn.feature_extraction.text import TfidfTransformer from sklearn.feature_extraction.text import CountVectorizer if __name__ == "__main__": corpus = ["我 来到 北京 清华大学"...
[ "fengz2008@163.com" ]
fengz2008@163.com
d807a7d1a649fac018c6da8614952df89a7cdc5e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_snowboard.py
5100be7c8c861988ab39e3be570cce2fce7b2eba
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
#calss header class _SNOWBOARD(): def __init__(self,): self.name = "SNOWBOARD" self.definitions = [u'to slide on the snow by standing on a specially shaped board: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'verbs' def run(self, obj1 = [], obj2 = [...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
751a74264a973fe1ab989c874cc4a9a039bd45e4
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_55/373.py
65e1a8ea83c63527538a4d324820da9d12a0a74e
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,581
py
''' Created on May 9, 2010 @author: indra ''' import sys, os filename = "C-large" path = os.path.normpath(os.path.join(os.path.dirname(__file__), filename+".in")) reader = open(path, "rb") path = os.path.normpath(os.path.join(os.path.dirname(__file__), filename+".out")) writer = open(path,"w") ncases ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
aba1b20ca910395e8e556c928a2bf6e5d53cdac8
2d8da5cacd21dd425688d67e1a92faa50aefc6bc
/excel-sheet-column-number.py
c90dd1c70703b45a9911aa35628d96708bba7730
[]
no_license
stella-shen/Leetcode
970857edb74ae3ccf4bcce0c40e972ab8bcc5348
16ad99a6511543f0286559c483206c43ed655ddd
refs/heads/master
2021-01-19T02:48:49.918054
2018-11-29T10:36:43
2018-11-29T10:36:43
47,523,042
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
class Solution(object): def titleToNumber(self, s): """ :type s: str :rtype: int """ ret = 0 for i in xrange(len(s)): ret *= 26 ret += ord(s[i]) - ord('A') + 1 return ret if __name__ == '__main__': sol = Solution() s = "AB" ...
[ "szsxt818@gmail.com" ]
szsxt818@gmail.com
bfc7634cdd1a75ce104e75f79c628ef609e282d3
e1b47553d8bdbff498e3ed441f2be9e5f250c91d
/python/hrank/algo/dynamic/The_Longest_Increasing_Subsequence/lis.py
a582885252130aea1cb57d7074f885642aa5e4e7
[]
no_license
ahmed-sharif/misc
55b776823fc922886d4981085289e05c4be8a213
2ad06b132408ecfc7ac79b1cdca06588b94ef76c
refs/heads/master
2020-04-15T14:03:38.214577
2017-10-25T18:00:51
2017-10-25T18:01:39
57,257,631
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# https://www.hackerrank.com/challenges/longest-increasing-subsequent def compute_lis(a): n = len(a) lis = [1 for _ in range(n)] for i in range(1, n): for j in range(i): if a[i] > a[j]: lis[i] = max(lis[i], lis[j] + 1) return max(lis) a = [] n = int(raw_input().strip...
[ "asharif@linkedin.com" ]
asharif@linkedin.com
23e52be0c8ce3adfba088e27013ec2ded693edb9
db5030b0ef8de107af5161b44e4cb0a03e97ff18
/My codes/csv format/T.py
358b85c80dd0e3e06ae77858af67589d0c55d216
[]
no_license
saadmaan/Thesis-
c7f7bed9993e7f731930740845f5c402ca4c4736
5ae789aa64dae484c8efd6a839854a78465905e1
refs/heads/master
2021-02-28T03:06:42.518424
2020-05-17T17:41:21
2020-05-17T17:41:21
245,657,300
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
import pandas as pd df = pd.read_csv('F:\THesis\Dataset\Crime.csv') saved_column = df['Start Date/Time'] #you can also use df['column_name'] print(saved_column) for row in saved_column: str(row); c = row[0]
[ "saadmanhabib26@gmail.com" ]
saadmanhabib26@gmail.com
d0686bbf88f5f164a24afb5e2449f189d6ba2b4b
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc008/B/4886377.py
4b2e8bb008ccb62443ac42cbdabfef1b5a1468e8
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
147
py
import collections N = int(input()) names = [input() for i in range(N)] max_ele = collections.Counter(names) print(max_ele.most_common()[0][0])
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
6fa0a724f104e22e21a81398bf7856c9112ccc71
5b75ec6cf092e94bd359ffce19c483e71b8e7163
/3_Selenium/2-2.py
7e2e762bac8f8f844dc671253dd1d0d7de0c0a05
[]
no_license
Jeongyoungwang/1_Lecture
ef443a25191b83328daca2122a418b84a966369f
8459629c9904573b7157c11738e789e2a1d4b0be
refs/heads/master
2020-05-03T12:32:39.601764
2019-03-31T03:02:17
2019-03-31T03:02:17
178,629,236
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
import sys import io import requests sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding = 'utf-8') sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding = 'utf-8') #Response 상태코드 s = requests.Session() r = s.get('http://httpbin.org/get') #print(r.status_code) #print(r.ok) #https://jsonplaceholder.typic...
[ "sumer3@naver.com" ]
sumer3@naver.com
68b565789058c8489d1540a33c82ab5cffbc36d4
bf362dbe80929d1f6bd6600a91b9bb6882c4120c
/train.py
7e1bd37241ad09f38cf71be7b93dfa12dc898bee
[]
no_license
Neclow/ee559-project2
9cfd5a3ba46745b3672ea10794e6fe0d62f98f01
0753602e5fff6c25f3d4597b6e55ffd790e1eed5
refs/heads/master
2023-03-06T04:48:03.477123
2021-02-23T21:36:17
2021-02-23T21:36:17
260,314,599
1
0
null
null
null
null
UTF-8
Python
false
false
5,709
py
import time import torch from loss import * from metrics import compute_accuracy from optim import * from utils import load_data def train(model, trainX, trainY, input_criterion = 'mse', input_optimizer = 'sgd', nb_epochs = 250, eta = 1e-3, mini_batch_size = 100, verbose = False): ''' Network traini...
[ "neil.scheidwasser-clow@epfl.ch" ]
neil.scheidwasser-clow@epfl.ch
716cb29adc3becdd4a5965eee788155597749d7b
c618cbb638e1c69e08ad26df505971d8f33b100c
/profiles/migrations/0001_initial.py
598e94cc6d9faf816a5297467fe411cbb294bb0e
[]
no_license
mikeemorales/house-plant
bf612d461459429cd1898d9ba7e2e8f6d90544a3
3b76df1c6464a22f1cd76b1f650d2cfe584e61ed
refs/heads/master
2023-08-23T03:23:27.836900
2021-09-18T03:22:34
2021-09-18T03:22:34
339,876,234
0
1
null
null
null
null
UTF-8
Python
false
false
1,413
py
# Generated by Django 3.1.6 on 2021-02-25 06:55 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_countries.fields class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.A...
[ "j.mikeemorales@gmail.com" ]
j.mikeemorales@gmail.com
4e52cc987f5b50af5d9b223ce2923ca558ff6980
3d2d5ecb7377410d309737412febce208138b583
/1-Regular Expression/count_num_of_number.py
9a505e1802aab7af797e54e4d9c1947ea8948616
[]
no_license
rika77/access_web_data
fd938c8cac4f7ac8bdabdc511ec5034bb6d5f003
2c76f5a482d08c655d637944014076c9752e7f2d
refs/heads/master
2020-09-05T13:57:23.726304
2019-11-07T01:39:06
2019-11-07T01:39:06
220,126,264
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
import re with open('regex_sum_180748.txt') as f: s = f.read() nums = re.findall('[0-9]+', s) ans = 0 for num in nums: ans += int(num) print(ans)
[ "mahimahi.kametan@gmail.com" ]
mahimahi.kametan@gmail.com
efed41830ae32c4bd43678d92ff17f433ecfa92d
f12024bf505b270177ad24e7acc9c9980f0ad1a8
/aidants_connect_web/migrations/0002_auto_20220511_1735.py
a7511994fa2c6e1a4487fd2519a07eb859755a02
[ "MIT" ]
permissive
betagouv/Aidants_Connect
18be11e542d3071e516c32b357e9dbab927ecedb
228ff94f5f3696ed8384992d7a8c9a3adbe6eeda
refs/heads/main
2023-08-31T02:49:05.557288
2023-08-29T09:10:14
2023-08-29T09:10:14
180,139,859
22
15
MIT
2023-09-13T09:37:51
2019-04-08T12:02:11
Python
UTF-8
Python
false
false
664
py
# Generated by Django 3.2.12 on 2022-05-11 15:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('aidants_connect_web', '0001_20220329_stable_schema'), ] operations = [ migrations.AddField( model_name='habilitationrequest', ...
[ "liviapribeiro@gmail.com" ]
liviapribeiro@gmail.com
a8e62b0c6869bc28fe1c9890457dd16af7d1ceb5
2656adb154039d0e1393979b225c8fe82584c00c
/render.py
9fa244baa6a04e8da35dc5ce9eb487d7ba818f51
[ "Apache-2.0" ]
permissive
TOKUJI/BlackBull
b90221832884db9f5cbd5a49ff3fb7951dc1ca9a
92eb736c01464f4a76e88ce3f60e244906eb7dbb
refs/heads/master
2022-12-08T17:30:37.163685
2021-06-13T08:27:47
2021-06-13T08:27:47
164,662,920
1
0
Apache-2.0
2022-12-08T07:48:42
2019-01-08T14:11:26
Python
UTF-8
Python
false
false
794
py
from mako.template import Template def render_login_page(data=None): login_template = Template(filename='templates/login.html', ) return login_template.render_unicode() def render_dummy_page(data=None): template = Template(filename='templates/dummy.html', module_directory='templates/modules/') retur...
[ "14055040+TOKUJI@users.noreply.github.com" ]
14055040+TOKUJI@users.noreply.github.com
e4b3cbe089af89580345befdfa21e0813a578041
f7779fc2b88a0f4ad66b1e941f057f9f2be91f73
/apps/casts/migrations/0006_auto__add_unique_castsservices_name.py
8faa9175262fba990db3336940348c3e933a6dd2
[]
no_license
tumani1/vsevi
e30664c1573996bcd825e57e7b8137345c0858e7
6504b7689573055405ee044b2d75c31cb1ab0a2d
refs/heads/master
2020-07-21T22:33:44.384719
2014-11-07T15:28:10
2014-11-07T15:28:10
35,594,443
0
0
null
null
null
null
UTF-8
Python
false
false
19,157
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding unique constraint on 'CastsServices', fields ['name'] db.create_...
[ "dlyubimov@aaysm.com" ]
dlyubimov@aaysm.com
3ed12bf18a7b64349018b7c6e07ad53b57159f1b
a0a656cefd97b6f6416a8f6f38d1ed8524589929
/add_assets/serializers.py
0ef70f1a4ded1da53789566550b3661a1cafa9bd
[]
no_license
zhixingchou/opsmanage-copy-add_assets
c932bf2641ff408be1d43bbf96b50ad2f47acb81
c120889f9d1aa74de3f3e33f787aa5b9343e9011
refs/heads/master
2021-06-28T23:21:42.458019
2017-09-13T05:37:31
2017-09-13T05:37:31
103,357,803
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
# coding:utf-8 from rest_framework import serializers from appone.models import * from django.contrib.auth.models import Group,User class AssetsSerializer(serializers.ModelSerializer): class Meta: model = Assets fields = ('id','assets_type','management_ip') class ServerSerializer(s...
[ "376616017@qq.com" ]
376616017@qq.com
626bb65d7cd1ec6e7fc65aef68d875d25f67e8f3
3c6b5cdad2099125c9713041f21a14f41693f5b3
/init/tar.py
24de4fc9a420da40a63d3639ad7617086615fe08
[]
no_license
fudashuai/SetDisplayMode
6d41d625e17c755d7ad913182fce83288353f5b0
23183820cbb4d9d20ea6aacfaa4e21bc30fd7cb5
refs/heads/main
2023-06-15T07:42:21.198382
2021-07-18T05:38:22
2021-07-18T05:38:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,122
py
#!/usr/bin/env/python3 # -*- coding:utf-8 -*- import os import platform import shutil import tempfile import time from distutils.core import setup from pathlib import Path from subprocess import PIPE, run from zipfile import ZipFile def pack_pyd(cur_dir, excepts=('launch.py')): while True: try: ...
[ "funchan@msn.cn" ]
funchan@msn.cn
463a971b29b02dbb0551e83fda61984330b49500
e9a08404751aee4891ed01fc7ef42c05761e853a
/attendanceChkIn_OUT.py
5b50f76cd1bfae65c13ab12c2a0801639a124bd1
[]
no_license
kathirm/TNPLTRPA
8eed651ff46a02bcfe5de48153ec198751ee6c20
db170bd8ad686543188c6aac82d2e9c12c72b0e7
refs/heads/master
2022-12-17T10:26:27.049538
2020-07-24T09:35:43
2020-07-24T09:35:43
171,221,067
0
0
null
2022-12-08T06:21:54
2019-02-18T05:35:17
Python
UTF-8
Python
false
false
3,093
py
import datetime , json, sys, requests from random import randrange def date_backward(token, uId, chkType, inpttime): try: dtlist = [] #get_backward date tmlist = [] #get_time's Random headers = {"Authorization" : "Bearer %s"%token} cur = datetime.date.today() curdte = str(cu...
[ "mkathir@terafastnet.com" ]
mkathir@terafastnet.com
d5badcde10dd50e2893aabf8911f0571f3d6e3e6
397383b771362fd00f83ef95a783e0578b3d3495
/firstVideo.py
6dbb481e3b8e4e5cee5ace6afce80e5d0fc1fd22
[]
no_license
kshaba01/parrot-ar-drone
d2ee3d2119dd6fc18906ed860de12d5638044d1c
a8c37d7fc1396e2ab265545d27c1431bed166899
refs/heads/main
2023-01-01T15:34:45.705102
2020-10-26T20:03:19
2020-10-26T20:03:19
307,161,089
0
0
null
null
null
null
UTF-8
Python
false
false
2,807
py
######### # firstVideo.py # This program is part of the online PS-Drone-API-tutorial on www.playsheep.de/drone. # It shows the general usage of the video-function of a Parrot AR.Drone 2.0 using the PS-Drone-API. # The drone will stay on the ground. # Dependencies: a POSIX OS, openCV2, PS-Drone-API 2.0 beta or higher. #...
[ "kshaba@gmail.com" ]
kshaba@gmail.com
2c7332530c6106c9f596a55673e138596fa175ad
be7a0aa49a9b4fdad1b8b21c6f1eb6bd508be109
/ex027vs1.py
8f5869722797ed74a9a1bd50c65b05a9267c8f63
[]
no_license
tlima1011/python3-curso-em-video
29a60ee3355d6cb3ba8d1f48c6a3ecd7bc6e60dd
f6454f4d636a2bf73c151e67710f732e2d8e738c
refs/heads/master
2021-02-04T01:13:35.313590
2020-04-14T12:51:19
2020-04-14T12:51:19
243,593,899
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
nomeCompleto = str(input('Informe seu nome completo.: ')).strip() nomeCompleto = nomeCompleto.split() print(f'Primeiro nome é {nomeCompleto[0].capitalize()} e o último é {nomeCompleto[-1].capitalize()}')
[ "noreply@github.com" ]
tlima1011.noreply@github.com
b9a0d4a8c907d64a769984ce54c21e598bceb55a
857fc21a40aa32d2a57637de1c723e4ab51062ff
/PythonChallenge/Ex05/05_01.py
93d0926dda5e81b77d9190b1a9e433c954140ed4
[ "MIT" ]
permissive
YorkFish/git_study
efa0149f94623d685e005d58dbaef405ab91d541
6e023244daaa22e12b24e632e76a13e5066f2947
refs/heads/master
2021-06-21T18:46:50.906441
2020-12-25T14:04:04
2020-12-25T14:04:04
171,432,914
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
#!/usr/bin/env python3 # coding:utf-8 from pickle import load with open("banner.p", "rb") as f: print(load(f))
[ "18258788231@163.com" ]
18258788231@163.com
bb8ae320072d41a28d6b424e78999326d64cdafb
3028b704ebfcec101577634ae45bd5ed84bdcd2d
/验证码.py
aee2fdf52f874399ca9423210e0a7afa4af02b72
[]
no_license
ANGLE-AKAMA/VerifyPicture
f73fb482d9fd61b79e523e0faa344b9dd098ffb7
81b009c4e4ffc2f4d01281d148fb99d497d4df2b
refs/heads/master
2020-08-13T19:44:02.128680
2019-10-14T11:46:11
2019-10-14T11:46:11
215,027,517
1
1
null
null
null
null
UTF-8
Python
false
false
3,200
py
import cv2 import numpy as np import time import os import glob import sys import reductNoise import pytesseract from PIL import Image from waterDropleCut import WaterCutting from waterFill import WaterFilled for file in os.listdir("easy_img") : fileName= file.split(".")[0] filepath = os.path.join("easy_img",...
[ "18138802413@163.com" ]
18138802413@163.com
c654094c0fdeb50abb400c1c1d0e67fc97c80eb7
36a0b764f6a899ce381aa5c4e69257d6c6f7f65b
/meiduo_mall/utils/fdfs/MyFileStorage.py
32fa6af0e25bb0339eb83bd0ea424b77dca016d0
[]
no_license
create6/meiduo_ub
ec23b1b0e88f784dacbd5c18cbe5c83799e2b88c
4651f21e9669b0e8224004cb596a08195109677d
refs/heads/master
2020-05-31T08:10:57.178001
2019-06-28T02:15:02
2019-06-28T02:15:02
188,504,868
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
from django.conf import settings from django.core.files.storage import Storage from fdfs_client.client import Fdfs_client """ 自定义文件存储类(官方文档-视图层-文件上传-自定义存储): 1, 定义类继承自Storage 2, 必须保证参数能够初始化 3, 必须实现open,save方法 """ class MyStorage(Storage): def __init__(self, base_url=None): if not base_url: base...
[ "1362254116@qq.com" ]
1362254116@qq.com
48055f2562c59506a8d7d57a62f9919785d4a11c
c96ce403a4f4db5594639d2687bf01af8fe02f2e
/lesson_python_socket_client.py
79307ea721212d093910a6450632ad7e2917f674
[]
no_license
jiangyefan/lesson_python
b8aae7a0581fdad747271da044d87471973d51ba
4aa09e1e5d9fa995567a2f220c698d15711735e8
refs/heads/master
2021-01-02T22:47:27.064987
2017-08-06T22:59:15
2017-08-06T22:59:15
99,359,231
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
#!/usr/bin/env python #coding=utf-8 #__author__:Administrator #__date__:2017/8/5 import socket #客户端 #connect #recv() #send() #sendall() #close() #创建socket对象 sk2=socket.socket() address=('127.0.0.1',8011) sk2.connect(address) # data=sk2.recv(1024) #接收数据 # print(str(data,'utf8')) while True: inp=input('>>>') ...
[ "200592201@qq.com" ]
200592201@qq.com
2e95edb992349cc95441512bef5344b238ed4afd
c3c2af25c3269e200d2773ec9f8800f4f9a20165
/backend/manage.py
42924076b3f1daf8f7bf76a1488f43e45b84b567
[]
no_license
crowdbotics-apps/divine-hill-27443
a39ecac7c1c5f510d00bf4e300acea3e46ecca24
f6abe52a7080da59cc99b1fb01a039933f273a2c
refs/heads/master
2023-04-26T09:05:39.002510
2021-05-26T19:29:02
2021-05-26T19:29:02
371,147,367
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'divine_hill_27443.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ra...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0a38162b769782206e31ce264818a2b2f80a10da
afff172ee00de38de8b7d6663cfbd85d80cf2db9
/blog/models.py
7634e140fb8e695428f95cdddf51b62e5434a0d0
[]
no_license
marmik13/DjangoEcommerce-site
f7af4748ad75de4dce2be9c37e6773bf25a8d900
47a7819db4e1be5ea61d646279a5cd47d25da961
refs/heads/master
2022-07-26T10:51:37.652455
2020-05-24T05:40:09
2020-05-24T05:40:09
264,853,534
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
from django.db import models # Create your models here. class Blogpost(models.Model): post_id = models.AutoField(primary_key=True) title = models.CharField(max_length=200) head0 = models.CharField(max_length=500, default="") chead0 = models.CharField(max_length=10000, default="") head1 = models.C...
[ "marmikpatelme13398@gmail.com" ]
marmikpatelme13398@gmail.com
caffdc2df4dd79e41559544d02eaf346767be562
f9258ddebd486a3452679b1524834c63fcdfdb39
/src/project5.py
da6c8401460dfc1fab1095c713878dba49143e42
[]
no_license
gracemc1003/Project5
bfe11357630a969a208a982898486a36325f8603
d8fa3d113fb4dbc0121c739769f0491e5ad3cb93
refs/heads/main
2023-01-01T09:56:14.729995
2020-10-12T18:27:02
2020-10-12T18:27:02
303,476,565
0
0
null
null
null
null
UTF-8
Python
false
false
2,917
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Oct 6 12:38:03 2020 @author: gracemcmonagle """ #%% import pandas as pd import matplotlib.pyplot as plt from datetime import datetime from sklearn.model_selection import train_test_split from statsmodels.tsa.holtwinters import SimpleExpSmoothing, Holt ...
[ "noreply@github.com" ]
gracemc1003.noreply@github.com
be9c106d741c93b8522ff5e49ea7ff2e5f2b74fe
aeeba89591b787bbe6b93ffb4889be9a8fca521e
/cfg.py
cf7791d7a7b0fe3603dac542a0bbc59c1ee3d3aa
[ "MIT" ]
permissive
wistic/python-web-crawler
efa7968f66ecd7396797390f253d0ff68f3623a1
e3738fd49d77bdff4c43a0ec31ed36cc381d26b8
refs/heads/master
2022-12-10T05:38:40.030202
2020-08-28T14:24:38
2020-08-28T14:24:38
288,676,553
1
0
null
null
null
null
UTF-8
Python
false
false
415
py
config = { "root_url": "https://flinkhub.com", "sleep_timer": 5, "Max_links_limit": 5000, "Recrawl_time_limit_hours": 24, "user_agent": "Python Spiderbot", "No_of_threads": 5, "database_name": "python-web-crawler", "collection_name": "Links", "connection_uri": "mongodb://loca...
[ "prathameshkatkar11@gmail.com" ]
prathameshkatkar11@gmail.com