blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
aeffa0d2ada26dcbdeca31268e1312461914007f
ef56514d7066139fc264806a545af89c56765d4c
/Лабораторная 14.1.py
3b1662a742097dcdd6dd3698a78959d27a3b8b7e
[]
no_license
vusaliko/Laboratorniye
33cdfcb7bd4456aaae8a41f8018f80ffd814a4f0
1c103fc8b819c9a2e280b0ddd65e51f8eab87834
refs/heads/master
2020-07-16T23:44:00.613742
2019-11-06T16:19:31
2019-11-06T16:19:31
205,893,237
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
while True: print("Введите длину массива и его элементы") n=int(input()) N=[] for i in range(0,n): N.append(int(input())) d=N[1]-N[0] a=1 for i in range(1,n-1): if (N[i+1]-N[i])!=d: a=0 break if a==1: print("Разность арифметиче...
[ "noreply@github.com" ]
vusaliko.noreply@github.com
c928d652311163cd67c3071a7f3513d7ce86b16b
8ef8e6818c977c26d937d09b46be0d748022ea09
/nlp/cloze_test/glm/pytorch/GLMForMultiTokenCloze/base/train/event/log.py
ca169d8b4fe1aecee27cdc806aa66540ed65822d
[ "Apache-2.0" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
5,275
py
import copy import inspect import os import os.path as ospath from typing import Tuple, Union, Iterable from torch import Tensor from torch.cuda.amp import GradScaler from torch.optim import Optimizer from config.config_manager import get_properties_from_config from utils.logging import PerfLogger, LogEvent, PerfLogL...
[ "jia.guo@iluvatar.ai" ]
jia.guo@iluvatar.ai
dfa3997b79d82cb3eaa64078410d6480ad4bcb11
d389de54a2a60b9a03c8174fea1792aac1b25b51
/app.py
415d36238ed668fa77a07cf9ceadcdc75aeae4fc
[]
no_license
mythrex/temp
ec7afb70b2e42888f051efb414d855b4cc68f941
89e4db8f2c32cded68f478e48497a10295fbd1c1
refs/heads/master
2020-09-19T09:11:35.883244
2019-11-27T16:22:32
2019-11-27T16:22:32
224,214,847
1
0
null
null
null
null
UTF-8
Python
false
false
3,863
py
# -*- coding: utf-8 -*- """Yogesh.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1PW1UML8uY6pHgwscvry3fYCD2cVa9caj """ from sklearn.cluster import KMeans import matplotlib.pyplot as plt import argparse import utils import cv2 from PIL import Ima...
[ "shivam.kaushik73@gmail.com" ]
shivam.kaushik73@gmail.com
9e9d5a06f5ba2c03f692f19eff3a88980214926e
7c734be733b8a3d5036e80a22404ff954265de0b
/forms/functions.py
1e29c68d17d2713bc468d8a33509471e57b6f0f1
[]
no_license
VasiliyNichnikov/website-computer-manager
532da8cbf9562ee5897d3da37451f6f2059d0394
30c27e0eef411949baa8349120c7eef87a5a3ccb
refs/heads/master
2023-05-23T06:49:52.360108
2020-04-23T19:08:56
2020-04-23T19:08:56
257,678,305
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from flask_wtf import FlaskForm from wtforms import StringField, BooleanField, PasswordField, SubmitField from wtforms.validators import DataRequired, Email class FunctionsForm(FlaskForm): shut_down = BooleanField('Завершение работы') reboot = BooleanField('Перезагрузка') sleep_mode = BooleanField('Спящий...
[ "v.nichnikov@gmail.com" ]
v.nichnikov@gmail.com
512e62ab2a6f267384981a5d0c91a18f8719582b
c2de7163e48598b863f15ec83fe98aa7879d2984
/resumewebproject/main/routes.py
4c48807fb42ef48ce05024616301608276287576
[]
no_license
AlPilipenko/web_resume
d43c919ef350e264a82ee4314bbde64debba2d18
2f222197f27389b9634a33b2ca5938ce23a3ea94
refs/heads/master
2023-03-01T03:31:45.703819
2021-01-30T12:20:35
2021-01-30T12:20:35
334,403,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
from flask import Blueprint from flask import render_template, url_for, flash, redirect, request,send_from_directory main = Blueprint('main', __name__) @main.route('/home', methods=["GET","POST"]) @main.route('/', methods=["GET","POST"]) def home(): return render_template('home.html',title="Home") @main.ro...
[ "almondiris@gmail.com" ]
almondiris@gmail.com
03cde136dd00a74a676e5f1d9bf3f1c1b566589e
62ba0bad267034a0dea7f10faf346ff652c61b5f
/camping_website/camping/website_app/migrations/0002_homepage.py
aad21c28bfd48af51e9671e1371afe221fd96e20
[]
no_license
JordanPossible/website_proto
5f98be5f03370d1aa087307e280ea19e8dee5f5f
e299b69c47a29aee17155fe25ef8cdb47ae2c6e7
refs/heads/master
2020-04-07T02:36:55.457955
2018-11-17T12:34:58
2018-11-17T12:34:58
157,982,790
0
0
null
null
null
null
UTF-8
Python
false
false
3,864
py
# Generated by Django 2.1.2 on 2018-10-07 13:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website_app', '0001_initial'), ] operations = [ migrations.CreateModel( name='HomePage', fields=[ ('...
[ "jordan.guillonneau@live.fr" ]
jordan.guillonneau@live.fr
ee341b06e7a3c12b0bead70a554520ef470d250a
93ae733668ab0f098b0f7bf12df67a1a6a67672d
/crud/article/serializers.py
671a22ff6718ff099992ca7d5a2cd71d99b55e5b
[]
no_license
renzyndrome/CRUD-DjangoRest-Vue-bootstrap
ba04d8987bf4540f11ebaefec0050faba72ff139
b2d74bfac14b067bdc9a0c131b3937b2fe5898ca
refs/heads/master
2020-03-18T21:23:52.942568
2018-05-29T10:27:51
2018-05-29T10:27:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
from rest_framework import serializers from .models import Article class ArticleSerializer(serializers.ModelSerializer): class Meta: model = Article fields = '__all__'
[ "gabrielrebadulla@gmail.com" ]
gabrielrebadulla@gmail.com
7c4a2689e7091b72b2c340a77b75c8d45c859252
56ca5f2ef97fb9a15471ba8b99435063ad8a7b38
/DP/houseRobber.py
53a20ef63f3cecbb3ee07f1cfd783a75fb234a8d
[]
no_license
phanitejakesha/LeetCode
34897e8e12c842f8870b4a9994323915450f8789
9a53ed747f5477f44bf37dc140da9f9cc2544f5a
refs/heads/master
2020-03-28T21:25:23.323560
2019-06-16T23:39:27
2019-06-16T23:39:27
149,154,795
0
0
null
2018-12-09T04:40:45
2018-09-17T16:26:47
Python
UTF-8
Python
false
false
487
py
#Leetcode problem Number 198 #House robber class Solution(object): def rob(self, nums): """ :type nums: List[int] :rtype: int """ if len(nums)==0: return 0 dp = [0]*len(nums) if len(nums)==1: return nums[0] dp[0]=nums[0] ...
[ "phani1@umbc.edu" ]
phani1@umbc.edu
6f1856cb4ba99f13faa6b55aec2366c074d41445
1f196d937ad42fb2e9d31ffa07d1e516daaab392
/1D/1_poisson/gauss/p1d.py
f08f9898205e7a04659de87edadee5287725f57f
[]
no_license
snytav/hydropy
0b41197e5db21e75e1120e6ebe1f02221c6762c4
d5ce807e14ded24006a3cb2fca3ffffc2d1c4dcc
refs/heads/master
2020-05-31T16:59:09.731143
2019-06-07T12:59:59
2019-06-07T12:59:59
190,395,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
# solve the 1D poisson equation x'' = 1 by finite element method import numpy as np import matplotlib.pyplot as plt import sympy as sp import scipy.linalg as lina import numpy.random as rnd from scipy import integrate #from basis_functions import phi,dphi def generate_mesh_random(n): x = rnd.random(n) x = np.s...
[ "snytav@gmail.com" ]
snytav@gmail.com
3437eb8f18bd681eeedd970a5cb27f7e5d008038
13ae1d539b99a7e0150fbf3d8cfe962c745f4ff1
/backend/settings.py
ee4a33b8b7706e19ff959c5a9421f1a2b30e2683
[]
no_license
DmitriiUK/project-04
d259f0a57ea471f6774ca9386641e6d250cab05c
b5ec58044e23a8b7e30c1e9b6cbe2bd186cc2051
refs/heads/master
2022-12-25T14:27:39.067776
2019-09-12T09:59:30
2019-09-12T09:59:30
207,669,773
0
0
null
2022-12-22T12:34:20
2019-09-10T21:53:05
Python
UTF-8
Python
false
false
3,079
py
import os import django_heroku # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/ # SECUR...
[ "dmitriisolomatin@icloud.com" ]
dmitriisolomatin@icloud.com
a608a6881b7a0c956720dc864111f04f86714835
a1d9d97fe3ab921af25c124ff8484f3c52b77e6f
/install.py
e4af510476632d7803f484adfce8f2782f80f254
[ "MIT" ]
permissive
whengrun/launchd-with-networkchange
3ff515c2195ac4fbcc32fdfb4a056a90fb8a31bb
6a2eb4aa61989990e6d16e5aa6c965e8a1931a53
refs/heads/master
2021-06-25T01:28:32.254966
2019-07-09T09:34:07
2019-07-09T09:34:07
187,585,521
0
0
MIT
2019-05-20T07:02:31
2019-05-20T07:02:30
null
UTF-8
Python
false
false
5,848
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # @author: JeffMa import sys import os import time import subprocess import getpass reload(sys) sys.setdefaultencoding('utf-8') # current dir dir_path = os.path.dirname(os.path.abspath(__file__)) def add_to_keychain(username, password): p = subprocess.Popen([ ...
[ "mjh2316@gmail.com" ]
mjh2316@gmail.com
897244133a7320c90c57dbbd5bf8a56884a9e31a
a0488f4512489e5add6a94d278133c5913050608
/MarkovChainSentenceGenerator/main.py
3436c1867b4def6c5c98fa908d45af03effbef69
[ "MIT" ]
permissive
tomas1207/ProgrammingChallanges
fc682c994d1925065468a537358b8ef406baf1b0
26c528953ef192bf9aa16e20dac9adbd0735296f
refs/heads/main
2023-08-06T02:52:39.070684
2021-09-23T16:00:48
2021-09-23T16:00:48
408,600,482
0
0
null
null
null
null
UTF-8
Python
false
false
2,551
py
import random text = """KENNEDY SPACE CENTER, FL, September 18, 2021 – After three days orbiting Earth, the astronauts of Inspiration4 flying aboard SpaceX’s Dragon spacecraft safely splashed down in the Atlantic Ocean off the coast of Kennedy Space Center, Florida, at 7:06 p.m. EDT. The return marks the completion of...
[ "tomasfernandes98@gmail.com" ]
tomasfernandes98@gmail.com
4558befe3715c4099f17209568f8bcf524098329
042fd30d89d8325b7f91fb01a3476a446d346060
/database_manager/database_strings.py
1f78b383415bb927573fe2a1287e0833661974d3
[]
no_license
LahiruOshara/fyp_flask_server
53a5dbbbf8bcf3e4b1c431973f08f2180405d34b
7f1c6728738a8c0a2f850adcc7bfcd32d43926a6
refs/heads/main
2023-02-16T06:11:17.699867
2021-01-13T06:08:18
2021-01-13T06:08:18
329,208,526
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
# queries INSERT_TEXT = 'INSERT INTO ransomware ({}) values ("{}","{}","{}","{}")' GET_SOLUTON = 'SELECT * FROM ransomware WHERE extension="{}";' # other strings TABLE_COLUMNS = "NAME, EXTENSION, TEXT, SOLUTION"
[ "oshara.16@cse.mrt.ac.lk" ]
oshara.16@cse.mrt.ac.lk
e410e76df32e10370050d18fa120bb913f648d47
8611e45734832ead74d63d10ebe3ade3c095c9e9
/blm_papua.py
7fd1e5a9280b0e11333f49a199e09349f154c040
[]
no_license
faturr/pandas-pamsimas
136dfe7a70778857c798ffe834e567f100c635f4
42e0949d63bc6a69a20ba971f52a157dcbc323a2
refs/heads/master
2021-09-03T13:50:46.704748
2018-01-09T14:43:46
2018-01-09T14:43:46
115,255,958
0
0
null
null
null
null
UTF-8
Python
false
false
1,614
py
import pandas as pd import numpy as np import time pd.set_option('display.width', 1500) # pd.set_option('display.max_columns', 30) pd.set_option('display.max_columns', None) pd.set_option('display.max_rows', None) qs = pd.ExcelFile('QS_BLM_PAPUA_DETAIL.xlsx') dfk = qs.parse('Sheet1', header=None, skiprows=7) dfk...
[ "faturr@gmail.com" ]
faturr@gmail.com
475f673ee4d6de49773617a0d0c1e05f3b2cd454
c1e2777106ab198ad9ebfd2ba18ce95ce9b46ded
/utils.py
efb0bc75a9add14fdaa233ca8be7e906ab0bb676
[]
no_license
paulhenrique/glmtscatt_refactor_web
21c8deaad28dac1fadec74143f4884417357525d
73772c75a0a3b7e69735c61fd4ed6519bfb2567e
refs/heads/master
2020-09-11T04:25:13.279797
2020-08-15T22:56:01
2020-08-15T22:56:01
221,937,555
1
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
# -*- coding: utf-8 -*- """ Created on Sat Nov 9 11:14:14 2019 @author: luizv """ from scipy.special import loggamma, gammasgn, lpmv import scipy.special as special import numpy as np def factorial_quotient(num, den): return gammasgn(num + 1) * gammasgn(den + 1) * np.exp( loggamma(num + 1) - loggam...
[ "luizvotto@gmail.com" ]
luizvotto@gmail.com
3214f2afe63d3e9f99ce4956357f2b9d65d1b56d
f7d971f33d53df598523d1320727c83447fea66d
/dataset/spliter.py
8eb511a8f6d103e24362014fad2e46d5d1e3b74e
[ "Apache-2.0" ]
permissive
mottled233/MRC_FastFrame
6f7cfcf08bf1d932769935a303b2cc6a215ae806
48b63556b2d12526f82f2b307f15cd4d640a6520
refs/heads/master
2022-12-11T16:02:58.816453
2020-10-18T02:56:23
2020-10-18T02:56:23
238,381,677
3
2
Apache-2.0
2022-12-08T10:13:46
2020-02-05T06:17:28
Python
UTF-8
Python
false
false
2,083
py
from dataset.dataset import Dataset import math class Spliter(object): def __split(self, full_list, ratio): """ 私有方法,功能是将一个列表按ration切分成两个子列表 :param full_list: :param ratio: :return: """ n_total = len(full_list) offset = int(n_total * ratio) i...
[ "dyy401453043@163.com" ]
dyy401453043@163.com
9125d415527bc208e8873a37539ab88b66d102d3
52b31552c2047b20072d5b8cea958a6d3fee4013
/invest/migrations/0002_auto_20201202_2342.py
4580cf505af2c9c98830a2685748e4d975f9a5f6
[ "Apache-2.0" ]
permissive
deejay001/fextra
253360496898d6e68ac1577709853d01bec71344
ac29d1823ccc561a7e902dd1efbf2fa2a95ca841
refs/heads/master
2023-02-21T18:46:52.890445
2021-01-17T13:38:59
2021-01-17T13:38:59
319,409,304
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
# Generated by Django 3.0.8 on 2020-12-02 22:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('invest', '0001_initial'), ] operations = [ migrations.AddField( model_name='coupon', name='output', fiel...
[ "osayemiayodeji28@gmail.com" ]
osayemiayodeji28@gmail.com
9c54bc0bc870f88fb5a389ba9daa6ddb1067c9cd
6afeea25ce18f26432cf3afaf85716d19104c845
/Non_Coding_RNAs_Analyses/Pull_noncoding_isoforms.py
33f91d3cc7adff4b183694f3372374c5f6657a7e
[]
no_license
zhuqingquan5510/IsoSeq3_Stickleback
49af3934432437a701f4b45e9dbc0f1606a41463
3a6663d5d499a8335d6f4dc38a1fad121a62c9df
refs/heads/master
2023-03-05T09:04:23.999431
2021-02-15T19:00:41
2021-02-15T19:00:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,911
py
#pulling all non coding sequences from combined sexes files with duplicates removed #need to read in faa headers, fasta file, gtf file, and classification file #to run script: Pull_noncoding_isoforms.py <combined sexes classification file> <faa file> <fasta file> <gtf file> <outout noncoding isoforms classification fil...
[ "alice.shanfelter@gmail.com" ]
alice.shanfelter@gmail.com
f81206cb467b2b8fe61e58a12232515f739096dc
0918c2b9924af1ad5ad022e47968008505ee4e10
/natas/natas17.py
27edc9537ba6cf9d204c0e611c1a58ce448e5373
[]
no_license
AkashKrDutta/wargames
3cd1f2354bef480c9fb033dc7b54844915542aff
57df45e19b59a21b87f020a94b1887fdfc996af3
refs/heads/master
2023-04-23T18:17:54.719196
2021-05-11T05:18:42
2021-05-11T05:18:48
364,640,989
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
#! /usr/bin/env python3 import string import urllib.parse import requests url = "http://natas17.natas.labs.overthewire.org/index.php" payload = {'username' : 'natas18" AND BINARY password LIKE "{flag}%" AND SLEEP(5); #'} #payload = {'username' : 'natas18" AND SLEEP(5); -- Comment'} headers = {'Authorization': 'Basic b...
[ "akdboltzmann@gmail.com" ]
akdboltzmann@gmail.com
ce8ad80e4b3ccdaf38cff0d7c8f5f696f1b0aa0b
89c9fcff8aaa67d986bd78ed73f91ddd7b087f4e
/TicketSearch12306.py
2823f5dc9b5edeecc65f64b1d03f1cf9e50de75f
[]
no_license
lyk109/TicketSearch12306
2a45b24df408f892013061d2a2c1cd815c0e410f
735b2fccf31f5d4be7e7287d012f7657f0b7f0fe
refs/heads/master
2021-05-05T07:35:27.266724
2018-06-10T15:42:07
2018-06-10T15:42:07
118,876,619
0
1
null
null
null
null
UTF-8
Python
false
false
8,752
py
#!/usr/bin/env.python # _*_ coding:utf-8 _*_ from selenium import webdriver from selenium.webdriver.common.keys import Keys import time import re import random from yunpian_python_sdk.model import constant as YC from yunpian_python_sdk.ypclient import YunpianClient # 发送短信 def sendMessage(telephoneNum, TEX...
[ "noreply@github.com" ]
lyk109.noreply@github.com
f8ddf2cb07624eabe3a281e2d346f7452b28d233
80831d77ef6fc3b485be80501b73ccb30ce5e444
/networkapi/api_equipment/tests/sanity/test_equipment_get.py
56e5f87ba6ac8d169743fd61137b14ced95d0430
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
globocom/GloboNetworkAPI
e2fdf5a9e6070359e90801bf3e45c2d499f199c5
eb27e1d977a1c4bb1fee8fb51b8d8050c64696d9
refs/heads/master
2023-06-25T21:34:04.923940
2023-05-29T12:07:20
2023-05-29T12:07:20
22,734,387
86
74
Apache-2.0
2023-05-29T12:07:21
2014-08-07T19:47:43
Python
UTF-8
Python
false
false
1,317
py
# -*- coding: utf-8 -*- import logging from django.test.client import Client from networkapi.test.test_case import NetworkApiTestCase log = logging.getLogger(__name__) class EquipmentGetTestCase(NetworkApiTestCase): fixtures = [ 'networkapi/system/fixtures/initial_variables.json', 'networkapi/...
[ "ederson.brilhante@corp.globo.com" ]
ederson.brilhante@corp.globo.com
b8c4aed032c3eaef27a9c28fcb7bcaec9e5024e6
6226d27a844400989d7320fe8041599839ae9628
/moajo/chapter10/p94.py
b880e5d5a3f35592aeec696445c0d39524ba3abd
[]
no_license
lrlab-nlp100/nlp100
cb73e996b36a439ae279c99e5463e63678188271
65bfb4e5fdc42a655043c9d531e9f7bc10f82ed8
refs/heads/master
2021-01-19T23:33:07.483184
2017-06-29T03:47:46
2017-06-29T03:47:46
88,996,166
0
3
null
null
null
null
UTF-8
Python
false
false
982
py
#!/usr/bin/env python from p90_87 import load_vectors from p90_88 import get_similar_word import numpy as np def get_sim(vec1,vec2,vectors): vec1_normalized = vec1/np.linalg.norm(vec1) vec2_normalized = vec2/np.linalg.norm(vec2) return np.dot(vec1_normalized,vec2_normalized) def main(): vectors = lo...
[ "mimirosiasd@gmail.com" ]
mimirosiasd@gmail.com
ae39eb3246b7856d882aa2c6879b4a3c8b3ba3f5
4b7bc2c8235cf1ff4d03b7856ff89ffad7892921
/test.py
a78829de214a33e94d27d5469f7fca348d84f896
[ "BSD-3-Clause" ]
permissive
nikiibayat/FaceRecognition
c63ee041488972d007c64bfe7f20f6b70bde13fe
feeddbe5335780014d877dddca6fe4f0da7d7476
refs/heads/master
2023-05-12T06:13:53.143300
2023-01-14T18:03:45
2023-01-14T18:03:45
247,573,809
0
0
BSD-3-Clause
2023-05-01T21:21:28
2020-03-16T00:06:33
Python
UTF-8
Python
false
false
4,908
py
from builtins import len import numpy as np import joblib import argparse import sys sys.path.insert(1, '/tmp/pycharm_project_243/face_recognition') import preprocessing from face_features_extractor import FaceFeaturesExtractor from PIL import Image import os import torch import pickle face_recogniser = j...
[ "noreply@github.com" ]
nikiibayat.noreply@github.com
7e98137ff59ad45092492d5017693683fffe0cc2
0e51815b524229c7562572f10d178eb446cb7715
/project18/app18/apps.py
2929b85d78d69c8157c514f030b31065a05443dd
[]
no_license
Eswar0407/Django-10Am
4d38cc795d7233bf5b6d1792755b018584a7c627
c668b96dd69c72daba09bc944134302073827fae
refs/heads/master
2023-07-16T23:52:52.820204
2021-09-05T17:57:14
2021-09-05T17:57:14
374,605,139
0
0
null
2021-06-13T16:20:40
2021-06-07T09:16:52
Python
UTF-8
Python
false
false
142
py
from django.apps import AppConfig class App18Config(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'app18'
[ "eswarbablu@gmail.com" ]
eswarbablu@gmail.com
b396abb0d733fb697eabe78d378cf7f547dc8e4c
4a9a947d000726263f6064b1365a0bca1cac16a4
/stageII/run_exp.py
64cc7b3ce2ca92ddc11b3ae1586b59cd287448f3
[]
no_license
gosonglei/StackGAN_tf_py36
0a858ce09af732363719f5c2429b187b6c2fb7b3
f449674dfcda5e1c4908ca7094133037bf71f8ec
refs/heads/master
2020-05-16T10:16:31.204101
2019-04-24T06:10:00
2019-04-24T06:10:00
182,975,094
0
0
null
null
null
null
UTF-8
Python
false
false
2,450
py
from __future__ import division from __future__ import print_function import sys sys.path.append('./') import tensorflow as tf import dateutil import dateutil.tz import datetime import argparse import pprint from misc.datasets import TextDataset from stageII.model import CondGAN from stageII.trainer import CondGANTr...
[ "leisong01@qq.com" ]
leisong01@qq.com
828ee1b83675de31a77e994662273a32240e2c53
1354cade1ec24a31d74b6ec58f5356a22147fb6c
/power.py
c7f6ade33c359a1025ac87044485cf7ee299086b
[]
no_license
Pranav-Srikumar/sample
e4bccb675245f0fb00a2131ad4708af6b691bb08
62d6855fd7b90aa81e3ee0b68923986de3358223
refs/heads/master
2020-06-03T19:34:52.693879
2019-06-23T05:51:17
2019-06-23T05:51:17
191,704,435
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
a,b=map(int,input().split()) print(a**b)
[ "noreply@github.com" ]
Pranav-Srikumar.noreply@github.com
6227dedebae53498e2bd7b92bb3ca69249b5b59f
8a6eb7996a5a86440e7f3f0a53dab14a226f067a
/preprocessing.py
6c14b637c9f282ad57aba381bc013dfee67e76a7
[ "MIT" ]
permissive
mohiitgupta/adaboost_decisiontree_mnist
a6a5867fce621a7fa59d0dee1b64e1d665e7ca09
b04b9b794287f3c983667fe80483794ae9016d2a
refs/heads/master
2020-04-11T19:08:47.513093
2019-03-11T03:05:11
2019-03-11T03:05:11
162,024,371
0
0
null
null
null
null
UTF-8
Python
false
false
2,534
py
from random import shuffle import pickle import csv def shuffle_data(): with open('winequality-white.csv', 'rb') as csvfile: csvreader = csv.reader(csvfile, delimiter = ';') # print type(csvreader) data = [] for i, row in enumerate(csvreader): if i != 0: ...
[ "mohit.gupta.cse11@iitbhu.ac.in" ]
mohit.gupta.cse11@iitbhu.ac.in
53aa879f095b39f36320336ad01e799973484d25
2d0bada349646b801a69c542407279cc7bc25013
/docsrc/source/doxygen/pydoc/execute_async.py
782a192a068fbb6bb04256d4ec4f587d475fa660
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-other-permissive...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
Python
false
false
472
py
"""! @brief Executes the runner. This is a blocking function. @param inputs : List[vart.TensorBuffer], A list of vart.TensorBuffer containing the input data for inference. @param outputs : List[vart.TensorBuffer], A list of vart.TensorBuffer which will be filled with output data. @return ...
[ "do-not-reply@gitenterprise.xilinx.com" ]
do-not-reply@gitenterprise.xilinx.com
891121b9606027367e79edf296778c24e1863184
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Difference/trend_ConstantTrend/cycle_12/ar_12/test_artificial_1024_Difference_ConstantTrend_12_12_20.py
255ad8d8fc80ccb9aa8b7a9077af1162adb8c95e
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
272
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 12, transform = "Difference", sigma = 0.0, exog_count = 20, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
da2f7567d883a0e079eb27993aba1d2ffeb0a45f
c5648de7fddca3fd804e1632c13a0f0544be0a61
/blood_line/models.py
c57b9d297507f11dcfd167fa0f2f0bc95894824f
[]
no_license
FerroCaelum/Ferro_Caelum
15c67dd180449a655cc4a845f3aa6f9333401835
8fc1406b0ab1f298c789913c653f56d7b8339be8
refs/heads/master
2021-01-22T05:15:12.590865
2012-11-03T12:32:43
2012-11-03T12:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
# coding: utf-8 from django.db import models class BloodLine(models.Model): name = models.CharField(max_length=50) #blood line name power = models.PositiveIntegerField(default=8) #moc resistance = models.PositiveIntegerField(default=8) #wytrzymałość dexterity = models.PositiveIntegerField(default=8) ...
[ "kcomrp@gmail.com" ]
kcomrp@gmail.com
8daa70319b495b419dab842bfa7dbcfe893e501b
2dc02f8618f7ad080ff36af1be8714339b78a02b
/users/migrations/0005_auto_20190402_2143.py
d5a35decc0ef636b2e538b0d747a6c4703a28419
[]
no_license
ankush953/django-blog
809c1a20553ae3cc6c86228fecf6e253f8cdf9a5
169cf17b2a637ab91d0c794fee05e0d327b93893
refs/heads/master
2022-12-01T23:32:42.555729
2021-12-29T05:58:50
2021-12-29T05:58:50
180,637,573
1
0
null
2022-11-22T08:49:16
2019-04-10T18:09:44
JavaScript
UTF-8
Python
false
false
546
py
# Generated by Django 2.1.7 on 2019-04-02 16:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20190402_2142'), ] operations = [ migrations.AlterField( model_name='siteuser', name='firstname',...
[ "ankushraghuvanshi07@gmail.com" ]
ankushraghuvanshi07@gmail.com
8fd7c7fbc4db895dd99bf109747f0a5520c29529
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/toolkit/model/get_operation_record_request_wrapper.py
f0b1b8bbae25a9c946d4538a75ea6047957018a8
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
11,608
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
45deff61b69cf642b58f2166fca15995b03cd457
e777547f9c9f690991fea4b4d2fd54384445e143
/sensor_umidade.py
3d8150efa55636c9c1d68916df23b697cf7539f8
[]
no_license
dhannyell/mqtt-example
fb219ddfc26b2be143d91bb27c30928c784c2210
4ac23fde26bb6f7eb4f7c5ef56c72f1e78a1470f
refs/heads/master
2020-07-31T18:49:48.807747
2019-09-25T00:12:15
2019-09-25T00:12:15
210,716,962
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
import time import paho.mqtt.client as paho import random import decimal broker="m2m.eclipse.org" broker="localhost" client= paho.Client("humidity-001") print("Conectando ao broker ",broker) client.connect(broker)#connect client.loop_start() #start loop to process received messages print("Enviando umidade") try: ...
[ "lukas@lukass-iMac-Pro.local" ]
lukas@lukass-iMac-Pro.local
92fe29bd65d85293cb9c7694811735e4986367cb
112316869b0b7472cf29b3e2073c15fbdfe56a34
/frankfurt_vegan/settings.py
f93c0856d3deb7dccbee496269e8cfea53a0a64e
[]
no_license
BastiLejon/frankfurt-vegan-api
11d258ed8041e26b596ddfb314d5fd16b0840a00
918af4ce188af0b1f56ae5a6396da0280fc2e0bf
refs/heads/master
2016-09-05T10:21:54.985377
2014-08-19T20:57:44
2014-08-19T20:57:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,022
py
""" Django settings for frankfurt_vegan project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR,...
[ "sebastian@Sebastians-MacBook-Air.local" ]
sebastian@Sebastians-MacBook-Air.local
1b5799302793165e5afd017633f7bf5c9276f0dc
d823a70b13068c400cd464bbffa6afd83960bc63
/Unit4/unit4-demo7.py
8f6d2d1fe6f39f3adcd13482f3400e7b43276a32
[]
no_license
shoroogAlghamdi/test
4ca4c6b68ea5b0f56750a42d88206c3555d23578
a065e8da1fb8bcf2f2f2319f708cd8a13e44671f
refs/heads/master
2023-03-12T15:54:57.068519
2021-02-27T17:40:06
2021-02-27T17:40:06
342,911,409
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
# Slide 36 var1 = True var2 = False print(var1 or var2)
[ "shoroogalghamdi@gmail.com" ]
shoroogalghamdi@gmail.com
2c1961133a934de0d829d9a1d53226e6b2c7a79f
b6261add3b816f3c68a70d6da196b79722100bc1
/A.py
3a2a29c0f20de6f5b991b2e96ece8b86c13f672f
[ "MIT" ]
permissive
arajajyothibabu/codevita-v6
878015c70fa9200148b56ecfeb45dcbd208e6419
5d011535527f10adb716d4ab330dbe9f9b565240
refs/heads/master
2021-01-01T17:15:09.278825
2017-07-22T14:05:15
2017-07-22T14:05:15
98,035,013
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
class TheGreatPileUp: piles = 0 cards = [] iterations = 0 result = [] def __init__(self): self.read_input() print(self.process_piles(self.cards)) def read_input(self): self.piles = input() self.cards = [int(i) for i in raw_input().split(' ')] def process_p...
[ "arajajyothibabu@apxor.com" ]
arajajyothibabu@apxor.com
415c3875cb6a2163668939769ad388fa598e170e
ac1325a87af290ae0f083bbfe79e5f2a33c04e1e
/yacht/yacht.py
13d3899de91d994315958cfcdcfd5b4de01c2285
[]
no_license
Lguerrer31/python
9323160c30d061a95d7decbeae5d7451c7786004
fe15295dc26c2a8dd5f9424c0007db755b63d7e1
refs/heads/master
2021-03-17T11:50:25.051445
2020-03-13T04:16:42
2020-03-13T04:16:42
246,987,328
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
from collections import Counter def count_func(num): return lambda dice: num * Counter(dice)[num] def four_of_a_kind(dice): for k, v in Counter(dice).items(): if 4 <= v: return k * 4 return 0 def straight(dice): min_dice = min(dice) length = 1 while min_dice + length in di...
[ "lauraguerrero3199@hotmail.com" ]
lauraguerrero3199@hotmail.com
9ccc924ae56e77e53e2443483702509d3f40cb0d
a29c48fd9b379c64226ce66cf1399478e6ce2ef6
/test5.py
3a461b69479825062826a7b24c44ce8681681ba6
[]
no_license
coward33/pythontest
466b94b39488861ebecf8aeac9cc44e05a21f229
21ef7a400cc9363d8b179bf75b186be54d05f43d
refs/heads/master
2020-04-16T18:17:08.677019
2019-01-19T03:59:27
2019-01-19T03:59:27
165,812,524
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# 水仙花数 ''' r=[i for i in range(100,1000) if (i==(i%10)**3+((i//10%10)**3)+((i//100%10)**3))] print(f"{r[0]}是100-1000内最小的水仙花数") ''' # 100内的质数 ''' l=[] for i in range(2,100): a=True for j in range(2,i-1): if i%j == 0: a=False break if a: l.append(i) print(l) ''' # 九九乘法表...
[ "loushanshan@beisen.com" ]
loushanshan@beisen.com
c78d2ed46674503748746f8fccd651bd554ba4b4
438b91be24735fd8b03eeaffe441e0c8935aacd5
/app.py
a6246aad225dc04c3998fc26a40a746f92c4052f
[]
no_license
Paul199199/THU-transfer-data
c21686d13b9ea6746ebc6016e717ca2b4e6876de
be6c155083e40d5c47db42309671737dea563847
refs/heads/main
2023-04-30T00:59:10.218972
2021-05-03T08:47:16
2021-05-03T08:47:16
350,589,800
0
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
from flask import Flask, request, abort from linebot import ( LineBotApi, WebhookHandler ) from linebot.exceptions import ( InvalidSignatureError ) from linebot.models import ( MessageEvent, TextMessage, TextSendMessage, ImageSendMessage ) app = Flask(__name__) # Channel Access Token line_bot_api = LineB...
[ "noreply@github.com" ]
Paul199199.noreply@github.com
1d6a9b56c1ece32372db146f66572e0473380f2e
15daa6a38ce995d71ff686297bd036b9bdb14bf4
/DiasDaSemana.py
2a785ac4de286948e3d5e241b85e382e5e744b88
[]
no_license
MichelPinho/exerc-cios
ac40476fa89217c30c429ee146431f38f3909811
394f115ca015aaf35d6399366805a4ec6fb5b455
refs/heads/master
2023-02-06T19:13:28.667687
2021-01-01T14:26:26
2021-01-01T14:26:26
290,302,516
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
#Faça um Programa que leia um número e exiba o dia correspondente da semana. # (1-Domingo, 2- Segunda, etc.), se digitar outro valor deve aparecer valor inválido. x = int(input('Digite um número de 1 à 7 , referente aos dias da semana: ')) if x == 1: print('Domingo') elif x == 2: print('Segunda') ...
[ "noreply@github.com" ]
MichelPinho.noreply@github.com
d690476d5c1f08c02cc4bbdc52aee63f034af167
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/airflow/providers/vertica/operators/vertica.py
50463a7771ececc01a00331495f8974e4a7ac3e7
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
2,050
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...
[ "noreply@github.com" ]
cfei18.noreply@github.com
fdcdbe317c85225310be6bd0c07da1f41136b2c5
38ef9ab9a0df90c59685595f15b8b96ad854b28d
/steve-bot/myjabberbot.py
6f2616ded0b8f2b31e248d10af582ae129686d37
[]
no_license
crazedpsyc/crazedpsyc
9242544088fe74482b0b27b23d720f64944ddace
d698a7cd0fdd7f926243a338f19152b8442da183
refs/heads/master
2020-04-06T04:30:07.630379
2011-05-24T20:13:57
2011-05-24T20:13:57
1,619,552
2
1
null
null
null
null
UTF-8
Python
false
false
14,953
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from jabberbot import JabberBot, botcmd import datetime from infobits import infobits import duckduckgo as ddg import urllib import random import explosions version = '0.4' admins = ['bazaar', 'crazedpsyc'] class SteveBot(JabberBot): saidhito = [] mefeelings = 'I\...
[ "crazedpsyc@live.com" ]
crazedpsyc@live.com
afecff6a717c42f5c6dfb485d0a1630241b428e0
d090932410414631f9c2fc4ef43c0226f7a7ddcb
/Taller de python/ejercicio_7.py
1006520eab77517883272aefbb6b74638cc7b57b
[ "MIT" ]
permissive
Ivan-Daniel/Algortimo-y-Programacion-Talleres
0c39f34298a8f36ffb2bfccf8071fba57d1e11bd
b90f79d3a920dd9b6494309172cdea2319bfddc0
refs/heads/main
2023-07-28T19:09:12.444630
2021-09-18T22:44:04
2021-09-18T22:44:04
392,033,048
1
0
null
null
null
null
UTF-8
Python
false
false
242
py
""" Entrada Metros-->float-->mtrs Salida Pulgafas-->float-->pul Pie-->float-->pie """ mtrs=float(input("Digite los metros que quiera convertir: ")) pul=mtrs*39.37 pie=mtrs*3.281 print("Este valor en pies seria:", pie, "y en pulgadas es:",pul)
[ "87994678+Ivan-Daniel@users.noreply.github.com" ]
87994678+Ivan-Daniel@users.noreply.github.com
7a88d8fa4488ba5fa2c2b4c39da14e4c4686d172
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2796/60692/251559.py
a8bf87a7e07b8477d2a22079daf8e9c61c1ab118
[]
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
458
py
nums = int(input()) list1 = input().split(" ") list1 = [int(i) for i in list1] def isPower(num): low = -num high = num while low < high: mid = (low + high) // 2 if mid ** 2 < num: low = mid + 1 elif mid ** 2 > num: high = mid - 1 else: r...
[ "1069583789@qq.com" ]
1069583789@qq.com
db714f52c96f009c7d1d663efbcc3d785e5437d1
9445109f4a08dcd9c04878c077f7df50695ecc4f
/src/test.py
ba637675e053cf79cfbd8d5d0885151b8b7af4cc
[]
no_license
juanmaMacGyverCode/notasPython
61e60ace8d1193573d4d927b3b9cb1f18a9fdc5e
c946fc7ec308e004b8b94f583fca888fb3bb2c9f
refs/heads/master
2022-11-18T03:10:42.570352
2020-07-05T15:06:55
2020-07-05T15:06:55
263,331,623
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
import metodosComunes def test_verificadorNumero(): assert metodosComunes.verificadorNumero("5") == True assert metodosComunes.verificadorNumero("4") == True assert metodosComunes.verificadorNumero("3") == True assert metodosComunes.verificadorNumero("2") == True assert metodosComunes.verificadorNu...
[ "jmlpdr.93@gmail.com" ]
jmlpdr.93@gmail.com
d2e724651959af6b3b9bbfed7c6ca532e920040d
c9d5ca04f42226d3c6b10f2318aebacfb43cfda7
/tests/test_algebra/test_vector.py
3ff9a7d064ee6f944d468e6db8a6a538ef3349e5
[ "MIT" ]
permissive
ioztelli/ezdxf
cfb81deb7b666fa4e0ed32f1b0753fbe5faa57ee
59605dc34c44fe4ad3a8162d6520a3b4776582b4
refs/heads/master
2020-04-21T18:37:37.022364
2018-11-28T12:56:19
2018-11-28T12:56:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,141
py
import sys import pytest import math from ezdxf.algebra.vector import Vector, is_close PY3 = sys.version_info.major > 2 def test_init_no_params(): v = Vector() assert v == (0, 0, 0) assert v == Vector() def test_init_one_param(): v = Vector((2, 3)) assert v == (2, 3) # z is 0. v = Vector((...
[ "mozman@gmx.at" ]
mozman@gmx.at
f18170664bb923e52ef6b4254573a0b2b160df16
21977a2544a1e40c64bc5509bbfa9bb3575d0b07
/python/PyQt/status_bar.py
71c871aedbc5378fd86c038cf80a98dbf28b6462
[]
no_license
HankPym/PymTool
6cdece89c2975c4907218bdaeaedbc759fcfe1f7
cbd3427b0a8ee789412f9467d62efb60ca535c1a
refs/heads/master
2022-11-18T06:46:48.434088
2022-11-08T03:58:40
2022-11-08T03:58:40
79,072,513
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
#!/usr/bin/python """ ZetCode PyQt6 tutorial This program creates a statusbar. Author: Jan Bodnar Website: zetcode.com """ import sys from PyQt6.QtWidgets import QMainWindow, QApplication class Example(QMainWindow): def __init__(self): super().__init__() self.initUI() def initUI(self):...
[ "lesfister@live.com" ]
lesfister@live.com
d5045a0105886866a84b8dc9fa6f7683d3dd690c
7cd85c478b6e0b9952e32071f327f5acadef9ea6
/apps/foxes_app/migrations/0001_initial.py
5177404b726c018b09dbf6b100ab9003a53c8304
[]
no_license
thecrimsonvixen/python_belt
35bc0515837436e6b16e3dcfa0247668f560f4b2
4c122793f9b7184db2fc7f19ee83462014071ca1
refs/heads/master
2020-03-07T10:39:36.364107
2018-03-30T14:36:31
2018-03-30T14:36:31
127,436,058
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-03-29 22:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', ...
[ "ashmateja@gmail.com" ]
ashmateja@gmail.com
1aed50a756130852dbb4f991e89da11b70f19dda
4c907a4a6db3a74bdac93f144f82fc3206c0b0d4
/tutorial/spiders/dmoz_spider.py
45ca25b535a13c194dd1f81f1705d72f235b832a
[]
no_license
Mangosteen-Yang/itjuzi
b87b29badbc9ca1c665069d37cc486d41443bcd2
2288b3151d2ec8934c981a453bfce1cf00aea2c5
refs/heads/master
2021-01-11T05:51:12.337419
2016-10-03T01:11:50
2016-10-03T01:11:50
69,646,132
0
0
null
null
null
null
UTF-8
Python
false
false
1,465
py
import scrapy from tutorial.items import DmozItem class DmozSpider(scrapy.Spider): name = "dmoz" # allowed_domains = ["itjuzi.com"] start_urls = ["http://itjuzi.com/company/{}".format(n) for n in range(1000, 2000)] #get the range of company def parse(self, response): #get informations about...
[ "yangshuo225@gmail.com" ]
yangshuo225@gmail.com
b7c7f9f6589f694943de2468910efde387edfdd0
1bd0b0ead1e7fdf26b0d9b0601d337dcb2eb952f
/obligatory1/exercise2_3.py
5c091f5062189f65e23e2bacc63d17c8852f87e6
[]
no_license
ageriksen/fys2160
ea94ce39d438be4ef4a1792b33977c69a935c5df
c26a70a1e84609e4246ef0fe0374434c0a6c18e1
refs/heads/master
2021-09-26T14:40:20.110577
2018-10-30T22:33:25
2018-10-30T22:33:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
""" generate 10**4 microstates of N=60 paramagnets with spin s = +1 or -1 for spin up or down respectively. P(s) = 0.5. Therfore, make random int 0 or 1 for spin ups, while total spin S = 2N_up - N """ import numpy as np import matplotlib.pyplot as plt from scipy.stats import norm #\\\\\\\declaring variables\\\\\\ M ...
[ "andersge92@gmail.com" ]
andersge92@gmail.com
de3b3985b91ab8d8cb84e71adab17d15d8e71030
236a394042d1f976fdca7dcbde7d22478b491b58
/mymoney/apps/banktransactionschedulers/urls.py
38b5fd94d4e52d000f828ea21eb72ce47dc667e1
[ "BSD-3-Clause" ]
permissive
talvinder/mymoney
afeafaafdabdc70ef8f6fd138df994e4dd1586d7
8ac20cc0cbfc74706e07bf725a80870f73b83270
refs/heads/master
2020-04-05T18:33:25.252218
2016-07-28T12:50:06
2016-07-28T12:50:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
from django.conf.urls import url from . import views urlpatterns = [ url( r'^list/(?P<bankaccount_pk>\d+)/$', views.BankTransactionSchedulerListView.as_view(), name='list' ), url( r'^create/(?P<bankaccount_pk>\d+)/$', views.BankTransactionSchedulerCreateView.as_view...
[ "yannick.chabbert@makina-corpus.com" ]
yannick.chabbert@makina-corpus.com
91580e3fcdf53ad4a79fc63061c55aa28e38116c
affbb55639dd189a1d8cb98255dd4e97dc21befa
/les3/003-watershed.py
b604f7b19751c2413654ab546067c0987326593d
[]
no_license
jkDina/computer_vision
8c51eb7770213358a3e49ecd02325ff4c02d9def
135354c5796e6058658a89c35f5ccaa8537047d7
refs/heads/master
2020-05-13T23:45:35.299976
2019-05-18T19:22:43
2019-05-18T19:22:43
181,675,317
0
0
null
null
null
null
UTF-8
Python
false
false
2,665
py
#!/usr/bin/env python # coding: utf-8 # # Водораздел # http://cmm.ensmp.fr/~beucher/wtshed.html # In[38]: get_ipython().run_line_magic('matplotlib', 'inline') import cv2 import numpy as np import matplotlib.pyplot as plt # In[39]: img = cv2.imread('../data/coins.jpg') # In[40]: plt.imshow(cv2.cvtColor(img, ...
[ "jkrhj@mail.ru" ]
jkrhj@mail.ru
a111d6668265a5b441e1c1cef192578655aa1dc5
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_999.py
c6ccb75a3445f789e1b54569ddab2f820db51ace
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
# How to bind a TextField to an IBOutlet()? setStringValue_
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
7bb26aa80818a9ed70dcae325f932f5178923f9a
2a4ad073755ff447926e44b7c2e0b56b5ded37d2
/NowCoder/36S_两个链表的第一个公共结点.py
52164b5ccc6a09928f661889ab429d8a262f6a87
[]
no_license
wcb2213/Learning_notes
3a9b3fdb7df5c6844a9031db8dd7e9dd858e093c
d481e1754c15c91557027bee872f4d97da3c0fca
refs/heads/master
2021-07-06T15:54:56.199655
2020-09-04T14:05:50
2020-09-04T14:05:50
174,832,296
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
#!/usr/bin/env/ python # -*- coding:utf-8 -*- # Created by: Vanish # Created on: 2019/3/22 # 24ms # 输入两个链表,找出它们的第一个公共结点。 # 公共节点具有相同的地址 # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def FindFirstCommonNode(self, pHead1, pHead2): # write cod...
[ "wcb2213@163.com" ]
wcb2213@163.com
7a090d44aa627baf5017b8174068214fd713d8a7
2d6aafcb0926b386243fa2de14745e88984af745
/mirgecom/utils.py
5c5cb3f3ad26df18f7891af4e6cba4ee0ca71b42
[ "X11", "MIT" ]
permissive
kaushikcfd/mirgecom
750007dfd918f9c1600eb2e81c7666d6ee4c15af
47f144782258eae2b1fb39520e96f414ae176ff4
refs/heads/main
2023-09-05T23:39:27.929740
2021-10-21T00:23:39
2021-10-21T00:23:39
353,848,748
0
0
NOASSERTION
2021-04-01T23:10:52
2021-04-01T23:10:52
null
UTF-8
Python
false
false
3,552
py
"""Useful bits and bobs. .. autofunction:: asdict_shallow """ __copyright__ = """ Copyright (C) 2020 University of Illinois Board of Trustees """ __license__ = """ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to dea...
[ "noreply@github.com" ]
kaushikcfd.noreply@github.com
f23f1f92ebec803ab3cfd711f847c4a7e60f5e61
cf652cb90f9d6b22b5943e7d025af631214a904d
/contrib/build-wine/deterministic.spec
01dff8d60d15b6e08d3e971bbaa7ad2890eb9531
[ "MIT" ]
permissive
ddude1/TestLite
02919c68013d2ede9195d618d94260b842a5e292
3f3c00e4ef03dd9b23b99b02f9a8895da8d65aef
refs/heads/master
2022-12-11T12:22:25.029101
2018-06-13T14:11:51
2018-06-13T14:11:51
136,489,568
0
0
MIT
2022-09-23T21:47:03
2018-06-07T14:31:31
Python
UTF-8
Python
false
false
3,262
spec
# -*- mode: python -*- import sys for i, x in enumerate(sys.argv): if x == '--name': cmdline_name = sys.argv[i+1] break else: raise BaseException('no name') hiddenimports = [ 'lib', 'lib.base_wizard', 'lib.plot', 'lib.qrscanner', 'lib.websockets', 'gui.qt', 'mnemo...
[ "32743542+ddude1@users.noreply.github.com" ]
32743542+ddude1@users.noreply.github.com
26d60373ba20e7c396d6b3c3eb3d41e21eca9b0c
284f4f56aed56573eb5516aa67c99bf41e595522
/Leetcode/Queue & Stack/p1337.py
d64c819ab7d4db49c53ed975f32e633aa2a8b4c6
[]
no_license
rohangoli/PythonAdvanced
537a05eff9ec305a6ec32fa2d0962a64976cd097
6448a5f0d82c7e951b5e476638e15a3c34966cd9
refs/heads/develop
2023-07-20T04:33:50.764104
2023-07-14T04:04:18
2023-07-14T04:04:18
126,811,520
0
0
null
2022-06-10T23:07:10
2018-03-26T10:20:16
Jupyter Notebook
UTF-8
Python
false
false
4,649
py
## Design Circular Queue # Example 1: # Input # ["MyCircularQueue", "enQueue", "enQueue", "enQueue", "enQueue", "Rear", "isFull", "deQueue", "enQueue", "Rear"] # [[3], [1], [2], [3], [4], [], [], [], [4], []] # Output # [null, true, true, true, false, 3, true, true, true, 4] # Explanation # MyCircularQueue myCircular...
[ "rohanr27@gmail.com" ]
rohanr27@gmail.com
5d31fe8c1ff2ce7e114fb3a1a8d1b47bf514d9f5
666c6eeb6ac477bf4ac93917f33d9bdc2e0c9337
/scn/src/centroidtracker.py
1ec9092059639d8877520800354bbbfb927c0d58
[ "MIT" ]
permissive
LucReveyron/SCN
1a844d75ed7958610bb12043062c77b1069246b3
3eec425975e093edfa86a96d11607e199446e76e
refs/heads/main
2023-06-04T12:09:38.897269
2021-06-20T08:55:05
2021-06-20T08:55:05
358,511,143
0
0
null
null
null
null
UTF-8
Python
false
false
5,026
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Tracking based on centroid distances evolution mostly inspire from : https://github.com/Neoanarika/object-tracking-detection/blob/master/centroidtracker.py """ from scipy.spatial import distance as dist from collections import OrderedDict import numpy as np class...
[ "lucreveyron@MacBook-Pro-de-Luc.local" ]
lucreveyron@MacBook-Pro-de-Luc.local
3fc3f7f404b492b77d4f393b04e2709741707ba0
3bf368cc80ef75c031b6f392ddac7fe4f1190e76
/hood/apps.py
0cd4ff1198765a2426fce2420acff4a391b00918
[]
no_license
mwiha/Hood-App
3ee196795d42603f5c88d47c7c2c78f7e3d1191d
69f4b15e178a7c7ae50b3fb597e3bb95b0b3ac2f
refs/heads/master
2021-09-10T07:22:31.974088
2020-02-27T08:18:00
2020-02-27T08:18:00
242,147,026
0
0
null
2021-09-08T01:43:10
2020-02-21T13:36:37
Python
UTF-8
Python
false
false
82
py
from django.apps import AppConfig class HoodConfig(AppConfig): name = 'hood'
[ "alicemwihaki99@gmail.com" ]
alicemwihaki99@gmail.com
0551b3619713216024433be5479332a373b4d700
3a082751e9f53913979d8a0102a57c515ed181bf
/face detection in video.py
cdb9a7f2591201c613b7113aa4c0f20d8322b7fe
[ "MIT" ]
permissive
Omkar-Atugade/Face-Detection-with-OpenCV
fabdcf721975aff00aac5433a852d0e1931c6fe8
55387b7aabea3e5c8697aa9f51a5f4e3bdfa883f
refs/heads/master
2022-12-09T13:57:51.838253
2020-08-22T07:05:49
2020-08-22T07:05:49
289,171,411
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
import cv2 face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') cap = cv2.VideoCapture(0) while True : _, img = cap.read() gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) faces = face_cascade.detectMultiScale(gray, 1.1, 4) for (x, y, w, h) in faces: cv2....
[ "noreply@github.com" ]
Omkar-Atugade.noreply@github.com
8f142f162efc358061fc7988e08d09bbfb9f83bd
88bafb7a554956e6386eeffc6f346db8f0effe8f
/myCode/train_seq.py
19840eb71c01fe8190a4bfe1d09f52ca307840e2
[]
no_license
Rain-Y/QGExp
74eb4d9888c83022ed19eb7de1ea3e31b2241a9e
f7f4efb35e167dd813d806054ab2e777c92c8dce
refs/heads/master
2020-03-28T17:03:13.326070
2018-09-14T08:14:49
2018-09-14T08:14:49
148,754,052
0
0
null
null
null
null
UTF-8
Python
false
false
6,238
py
# -*- coding: utf-8 -*- from __future__ import print_function, division """ Script for training the autoencoder. """ import tensorflow as tf import logging import numpy as np import argparse import utils import seq def show_parameter_count(variables): """ Count and print how many parameters there are. ...
[ "yyl277078178@163.com" ]
yyl277078178@163.com
c4f2197218adccf1a70cb6f49fb40b76ba9ba488
081b54b77d99869ddd483847fe511db201e6b8f9
/p141/p141a_1s.py
a9677fb2d9824425b0ebfa149b3b0c5612a8f47e
[]
no_license
guigui2993/Euler
6e43eb7a6d810b861187d5d87f9142998e9c1e4c
3e594a23ef5cec93372037c772d675cb5a6618c7
refs/heads/master
2022-11-06T14:51:38.101296
2022-10-24T06:50:15
2022-10-24T06:50:15
72,674,719
0
0
null
null
null
null
UTF-8
Python
false
false
1,922
py
import Euler import math lim = 10000 """ sq = {} for i in range(lim2*lim2): sq[i*i] = i """ print("Square loaded") """ print("p,r,d,a,Euler.factorization(r),Euler.factorization(a*a)") for p in [2,3,5,7,11,13,17,19,23,29,31,37,43]: for rr in range(1,lim): r = rr*p for d in range(r+1,lim): ...
[ "guigui2993@gmail.com" ]
guigui2993@gmail.com
54a387c790984df183cb85b9bcb5b79d3f3a2050
cf0ebf5cc48849bc30936a0d09aa0d5f9be57c61
/colors_copy.py
53cc7a3a8b4fd47e35fef6ec30a23796c02662d2
[]
no_license
roman7khavrona/module7
c89f9d3c85f9d2e8951861f98b20f21ab93043c9
3be7c5af78991561e7560c27e647813a4e9708b9
refs/heads/master
2023-03-17T04:21:18.385690
2021-03-05T16:15:48
2021-03-05T16:15:48
343,238,448
0
0
null
null
null
null
UTF-8
Python
false
false
2,882
py
from graph import * from graph_io import load_graph, save_graph, write_dot from collections import Counter def color_graph(graph, D, I): for v in graph.vertices: v.colornum = 0 current_color_predefined = 1 for j in range(len(D)): D[j].colornum = current_color_predefined I[j].color...
[ "roman.khavrona@gmail.com" ]
roman.khavrona@gmail.com
fbb8c00202fa4ff0094ed26fa723f47ebe2ba950
913a2afce0fe97bd62687d0cbe320f97ad42e571
/ZeeDAnalysis/share/ZeeDAnalysis_jobOptions.py
1bee8ac2050fe250f35e41724b74999f01577a11
[]
no_license
kgasniko/ZeeD2p76
028f5d4be09f0928c71c4972a877ef90be6af80a
0bafb5767078bce5bfca31409d77d5491012417a
refs/heads/master
2020-04-06T03:31:55.595961
2017-11-22T10:16:35
2017-11-22T10:16:35
61,799,124
0
0
null
null
null
null
UTF-8
Python
false
false
7,517
py
# Helper------------------------------------------------------------------------ include("ZeeDAnalysis/ZeeDAnalysis_Helper.py") ZeeDOutputLevel=ERROR ZeeDEvtMax=-1 ZeeDCalcJets=False ZeeDTruthJets=False ZeeDUseTrigger=True ZeeDDoTriggerMatching=True ZeeDreadType=2 #ZeeDOneBinMuonSF = False #ZeeDChargedMuonSD= True #Zee...
[ "ksugasnikova@gmail.com" ]
ksugasnikova@gmail.com
2d74971b02860138baad3393d31c73349ad8ba12
a0aa38bde0f6cb0d5d6e689e1cbd00a0d063b135
/ext_libs/geopy-1.23.0/test/geocoders/openmapquest.py
375fb05aa60a9384a8946d6a0b2e402a306bc8b3
[ "MIT" ]
permissive
Inncee81/oam_qgis3_express
3bfe215283debe3f06bbf90679e87363371f4276
b32e6020f6e6c4790456a3fb7748aa518d193590
refs/heads/master
2023-04-19T12:47:33.685880
2021-05-07T10:00:48
2021-05-07T10:00:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import unittest import pytest from geopy.exc import ConfigurationError from geopy.geocoders import OpenMapQuest from test.geocoders.nominatim import BaseNominatimTestCase from test.geocoders.util import GeocoderTestBase, env class OpenMapQuestNoNetTestCase(GeocoderTestBase): def test_user_agent_custom(self): ...
[ "yoji.salut@gmail.com" ]
yoji.salut@gmail.com
98cc624a2e6bdc9d9d6d58c0a765b40d3322919a
ac7cf85bac72188f5f37575b2263765af246de81
/sinteagro/financeiro/classes.py
f0e3daa9344eee48f3f5db4b0a73e983bc929923
[]
no_license
DarkTiengo/sinteagro
41484495f3b3baf7db31bdb9cf381b6081490347
8456df9346a1dc9285e9ae2020c39bac54370f06
refs/heads/master
2020-03-30T18:26:05.184746
2019-12-05T13:44:40
2019-12-05T13:44:40
151,499,921
0
0
null
2019-02-09T20:52:36
2018-10-04T00:45:51
Python
UTF-8
Python
false
false
4,534
py
from ofxparse import OfxParser from .models import Conta,Extrato,Saldo_Inicial def get_first_cc(user): cc = Conta.objects.filter(user=user) return cc[0] def class_extrato(mes,ano,user,conta): cc = Conta.objects.get(conta=conta,user=user) ex = Extrato.objects.filter(conta=cc,date__month=mes,date__year...
[ "ogneit@hotmail.com" ]
ogneit@hotmail.com
6f1a830bc220f8c88cdf036061c5262e8c24d3b7
491ff9f022ad923be3702b9dc54f3dd223e2c418
/angel/angel/urls.py
458c4fe426929bdd26cd762168499eb2fbc1e355
[]
no_license
AS005204/angel
7e64fbec7834b09504c65e7da269814dfe90fa2a
bbb3e6a03dadaec78f19fa902bc2066c8eb44176
refs/heads/master
2023-06-06T13:17:29.086370
2021-06-22T13:48:33
2021-06-22T13:48:33
299,588,879
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
from django.contrib import admin from django.urls import path from django.conf.urls import include, url from django.urls import include from django.views.generic import RedirectView from django.conf import settings from django.conf.urls.static import static from django.views.generic import RedirectView from managment...
[ "ksusha1234578@gmail.com" ]
ksusha1234578@gmail.com
997ba9f4cbb150c724ffa9ede9abcafe264fc874
fe22f594742a6bbba6c2f2ca6d0615662b3fdb3b
/AppLanding/populate_AppLanding.py
50aa5438c1d25deaa12b9043bd78f45143573663
[]
no_license
Reeshoon/Construction-and-Raw-Materials-Solutions-Full-Website
46a965f9b5f2b52899366ebdb959709c0d0d2c38
5658a5940a97724350cb2a68bb331fcad36281c1
refs/heads/master
2022-12-21T00:18:26.075087
2020-09-17T08:25:36
2020-09-17T08:25:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,264
py
import os # Configure settings for project # Need to run this before calling models from application! from django.db import connection import cx_Oracle import re os.environ.setdefault('DJANGO_SETTINGS_MODULE','AppLanding.settings') import django # Import settings django.setup() import random from basic_app.models imp...
[ "reeshoon@gmail.com" ]
reeshoon@gmail.com
15cac5b8ff1d059ffcea8b8a345f57ef9bfe4714
3a8d6082d0a24bcfd567f961883bdab799cec5a1
/processors.py
566d793bc95ed7ac1ee903ed3bc5b39108f32459
[]
no_license
rothos/chebsite
b5d2ae3fc427d4e755634153e8965ebe8a27c83f
17501ca64fc81562868cfd2154d79b284b737b9b
refs/heads/master
2022-01-19T17:07:28.310495
2015-06-05T15:31:34
2015-06-05T15:31:39
20,063,703
0
0
null
2019-07-10T19:28:35
2014-05-22T14:18:04
Matlab
UTF-8
Python
false
false
5,161
py
from __future__ import unicode_literals from io import open from textwrap import dedent import os, yaml, jinja2, markdown, re #----------------------------------------------------------------------------- def get_yaml_frontmatter(fn): """Return the YAML frontmatter of a Markdown document.""" with open(fn, 'r',...
[ "hrothgar@maths.ox.ac.uk" ]
hrothgar@maths.ox.ac.uk
d33b3037fde836e894042e37c0f8e0e6ac05213c
8696f5e3bfa35dc158cf484934fb355c88995eab
/plot_HadISST_CMIP5_sea_ice_extent.py
ba1fe4308514416829088202229ea415c8b23598
[]
no_license
SMR3/CREDIBLE_SIC
f68ce15f35e3f0efbb4ea3ea4baf176218640fa2
963fd95988428fb2157925437ce27b9d6d7a796a
refs/heads/master
2021-01-12T18:20:31.374796
2016-09-27T13:01:09
2016-09-27T13:01:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,128
py
#! /usr/bin/env python ############################################################################# # # Program : plot_HadISST_CMIP5_sea_ice_extent.py # Author : Neil Massey # Purpose : # Inputs : # Output : in the output directory: # # # Date : 11/06/15 # #############################...
[ "nrmassey@yahoo.co.uk" ]
nrmassey@yahoo.co.uk
085642486ae150a68e0906d01e852d22de44f6a2
ac5663ea8561477d97957c7d851e05bf0d9afa2f
/venv/bin/pdf2txt.py
33303c3f9bddf6f4a0c6aabd96193797f29b104d
[ "Apache-2.0" ]
permissive
xiayufeilucy/deloitte-digital-competition
5a8cd46eb2874dfd5eccd2ba4fd702a7002b2c4f
af4fc18cbf713c9c7f0e3ec175ef50b6ef211d6c
refs/heads/master
2022-12-10T20:51:46.191386
2019-07-31T13:56:16
2019-07-31T13:56:16
199,681,877
0
1
null
2022-11-29T21:36:18
2019-07-30T15:44:54
Python
UTF-8
Python
false
false
6,067
py
#!/Users/xiayufeilucy/Desktop/deloitte-digital-competition/venv/bin/python """ Converts PDF text content (though not images containing text) to plain text, html, xml or "tags". """ import argparse import logging import six import sys import pdfminer.settings pdfminer.settings.STRICT = False import pdfminer.high_level ...
[ "yufeix@wharton.upenn.edu" ]
yufeix@wharton.upenn.edu
e5bf2c4d60588cfbf3b0c1a633455874473c44ef
24861b20c960f67198d865f8798523d76b1b864d
/solutions/217. Contains Duplicate.py
3351cdabefaf33f81098afdaba8808f86d47b174
[]
no_license
Abhigujamagdi/Leetcoderecord
37c15b0253f27ac7d573c9078aa4ab9f7ff684d0
89f0ebdd5711916b4e1d9d1b9e5aa8231c25bfd2
refs/heads/main
2023-05-29T09:47:57.915480
2021-06-09T22:18:37
2021-06-09T22:18:37
339,869,138
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
class Solution:    def containsDuplicate(self, nums: List[int]) -> bool:        dict = Counter(nums)        for value in dict.values():            if value > 1:                return True                    return False        
[ "61365651+Abhigujamagdi@users.noreply.github.com" ]
61365651+Abhigujamagdi@users.noreply.github.com
1bb53ab09c450a0c0714ed9d09f43cabce573f0b
50adb49fed426f53e98143b05e67f06b0f02a6f4
/models/submodules/sampling.py
8dbe96f75549cbf577c0644923c3696192045a03
[]
no_license
ryokan0123/image_captioning
accdcd62d2a6091d09cb68f80886cf77c66f24ab
ccbce08e77b0fe4426426b0186e276ba8c29eda1
refs/heads/master
2023-07-20T07:42:05.946905
2020-07-29T04:09:50
2020-07-29T04:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,714
py
import torch import torch.nn.functional as F def sampling_from_logits(logits: torch.Tensor, temperature: float = 1.0, top_k: int = None, top_p: float = None): """ Parameters ---------- logits : torch.Tensor (batch_size, num_cl...
[ "ryou0634@gmail.com" ]
ryou0634@gmail.com
55033d323fb8ad7c545fa8fe99e0349542e1ccc9
5c57f08c430b981a7bd5f7d896accee54c5ba1d9
/Auditorium.py
46f4c1d5037f76f668da6840bbd9d86362e87900
[]
no_license
shahin-shuvo/Booking_System
cfc74697d8100eed77bbb95a7512f2b8f24e3b86
630f4f510696f68999d37adcb2fca48f9d8b36cd
refs/heads/master
2020-03-06T18:38:55.293003
2018-05-04T19:39:33
2018-05-04T19:39:33
127,011,255
0
1
null
2018-03-27T16:56:33
2018-03-27T15:52:41
Python
UTF-8
Python
false
false
3,032
py
import base64 import time from datetime import datetime, date from json import dumps from flask import Flask, render_template, request, session, make_response username = "Guest" class auditorium_book_class: def __init__(self, mysql): self.mysql = mysql def auditorium_final(self): date_curre...
[ "shahinshuvo96@gmail.com" ]
shahinshuvo96@gmail.com
880b50410677bb12241d40fc857e40af2031a198
e7268197a7940c35ba9fa2146234fd5811b42196
/fake_csv/main/migrations/0014_auto_20210905_1836.py
00561c990fd7f2a8040528cfcc06e56f3ab78ac7
[]
no_license
Sergeynonnisnon/fake_csv_site
4ba485040d597c7311167d7b537ed7e6df04d0f2
47dbe51da3ad0d0d1e68cf663ee01577ab1b32d0
refs/heads/master
2023-07-18T15:22:43.429560
2021-09-06T16:35:40
2021-09-06T16:35:40
403,601,800
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
# Generated by Django 3.2.6 on 2021-09-05 18:36 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('main', '0013...
[ "nonnisnon@gmail.com" ]
nonnisnon@gmail.com
813d9e7eb3e70db2105ade643565e501ba212086
9424fe99abdb012b9b3212ee89591da0afa711f6
/fpga_ssd_backup/tools/op_tools/ssd_get_free_blocks.py
653e3242e1c8b9029f979d5c65a5feb378d34241
[]
no_license
zweiustc/python_tools
8663a90a6137112c8f856dd27856b8d00c405bbd
84093e9ea6a5789e4b7925f233a6ea7b38b15d8e
refs/heads/master
2021-01-13T17:32:45.938338
2017-02-17T12:46:13
2017-02-17T12:46:13
29,893,331
1
1
null
null
null
null
UTF-8
Python
false
false
840
py
import os, sys import math ssd_phy_blocks_per_channel = 8192 ssd_channel = 44 def ssd_free_blocks(): channel = 0 free_blocks = [None] * ssd_channel while channel < ssd_channel: res = [] command = 'ssd_read_table -c ' + str(channel) + ' -t 1 | grep \'invalid physical block\'' result...
[ "zweiustc@gmail.com" ]
zweiustc@gmail.com
dbcf95b0d080fee2d361e96609f6ccd1e049734e
bf2e239a5082c8837b4347c2edc17c7f0ba0b12e
/Topics/Class instances/Movie night/main.py
6d9dc629c2e100956d2772d20eed79ead8ecc22a
[]
no_license
lymanreed/Coffee_Machine
fc97672479e2d7a0898f3f566de8f36d50c2bb2c
e307447faf9c788008ed97cc36e9d59a3c135555
refs/heads/master
2023-07-24T11:26:35.367575
2021-09-05T11:59:26
2021-09-05T11:59:26
403,296,533
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
class Movie: def __init__(self, title, director, year): self.title = title self.director = director self.year = year # objects of the class Movie titanic = Movie("Titanic", "James Cameron", "1997") star_wars = Movie("Star Wars", "George Lucas", "1977") fight_club = Movie("Fight Club", "Da...
[ "lymanreed@gmail.com" ]
lymanreed@gmail.com
67f75373baf9b9c5e9920da1ae7dfbb350ad42f7
349f5bfac9b147c62ff38217e72dd6614ec70f87
/ribopy/cli/info.py
1f3678a36b38ea12136d8c6c041987170a197a30
[ "MIT" ]
permissive
ribosomeprofiling/ribopy
0c76a2f588b08b954ae462f81d018f9e26fe07f1
380421e202f25a9829b36c1c1d5a8bf333d9188f
refs/heads/master
2022-10-26T12:35:02.596001
2022-10-18T20:08:01
2022-10-18T20:08:01
203,284,628
4
3
MIT
2022-01-13T19:23:31
2019-08-20T02:28:27
Python
UTF-8
Python
false
false
402
py
from .main import * import click from ..info import ribo_file_info ########################################################### @cli.command() @click.argument('ribofile', type=click.Path(exists=True )) def info(ribofile): """ Displays a summary information about the given ribo file """ ...
[ "hakan.ozadam@utexas.edu" ]
hakan.ozadam@utexas.edu
cbf50825c142fbfee7d7ed9f0cf3425065de1eee
b95b57348e4f33bc96769f5e30662c163a8e5d70
/examples/empty_project/setting.py
b847c155ca06ec690493c2cff0548c8ea1f1fd22
[ "MIT" ]
permissive
ladder1984/globefish
18dd6e54e3706f029b90ff9ef5a251a0ebf47927
923cbf3f67584406a3095237c873efa52296345a
refs/heads/master
2021-01-17T16:46:15.755120
2018-06-05T06:09:51
2018-06-05T06:09:51
46,862,842
10
3
null
null
null
null
UTF-8
Python
false
false
164
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) STATIC_URL = '/static/' TEMPLATE_DIRS = 'templates'
[ "ladder1984@gmail.com" ]
ladder1984@gmail.com
c61cf247eba9ce1336dc710157a88f1dfd273321
0c083ada4d8017de273a2aa81ff067adbbbf8e72
/torchtoolbox/tools/utils.py
fee47637e5075c4f8c48c2a488dfdbb25970dcee
[ "BSD-3-Clause" ]
permissive
zhjpqq/torch-toolbox
aa14e62e19405154ba19adfdf18e77046630ba58
cae8f2ec162f9893df0dad9788fde2c20cf89e5c
refs/heads/master
2020-07-29T05:24:45.386328
2019-09-19T10:31:53
2019-09-19T10:31:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
# -*- coding: utf-8 -*- # @Author : DevinYang(pistonyang@gmail.com) __all__ = [] import os def check_dir(*path): """Check dir(s) exist or not, if not make one(them). Args: path: full path(s) to check. """ for p in path: if not os.path.exists(p): os.mkdir(p)
[ "pistonyang@gmail.com" ]
pistonyang@gmail.com
7fb02313ef3c764eb8ef18097575342a6eb7585a
9cb9eecda1f49289fef35cb3710580006b066ddc
/Python/mark_occurrences/markup.py
28546724e847b96060ebcf01321f9891c2c84bc6
[]
no_license
nealgavin/Learing-experience
6caed4600e2d859a3a8c00703c69276d6d33f428
b0c2c8b8631409eefcec64046ae1af6a3db7ee7a
refs/heads/master
2021-01-25T05:21:59.562069
2014-10-08T11:28:23
2014-10-08T11:28:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
#coding=utf-8 import sys,re from handlers import * from util import * from rules import * class Parser: """ 语法分析器读取文本文档,规则,并且控制 """ def __init__(self,handler): self.handler = handler self.rules = [] self.filters = [] def addRule(self,rule): self.rules.append(rule) def addFilter(self,pattern,name): def ...
[ "nealgavin@126.com" ]
nealgavin@126.com
92efc8c5c47bc50740070bd64a9cbe610be09fc5
5b6b7eae9cf75803b4e855d75eec42638ac2d9c3
/myKNearestAlgoClassifier.py
35d83f0b4478cfb124c9aaaf89f418380938009b
[]
no_license
shaybanerjee/MachineLearning
973e412b9a00cbbe7a165009b48c06603b80406e
df1800f748bf444542e9c319866f6bb519410786
refs/heads/master
2020-03-07T18:28:56.405966
2018-05-27T16:42:18
2018-05-27T16:42:18
127,639,921
0
0
null
null
null
null
UTF-8
Python
false
false
1,137
py
import numpy as np from math import sqrt import matplotlib.pyplot as plt from matplotlib import style from collections import Counter import warnings dataset = {'k':[[1,2],[2,3],[3,1]], 'r':[[6,5],[7,7],[8,6]]} new_features = [5,7] # for i in dataset: # for ii in dataset[i]: # plt.scatter(ii[0], ii[1], s=...
[ "shayon.banerjee@ibm.com" ]
shayon.banerjee@ibm.com
7e9bc3874f0bd008a5af693521cc9665ca59c5c6
b81e134d6f884ab8ec0d22fcdf6fc98bb71a1830
/week_5/even_indexes.py
40eb0bf35fe2be492e6b7c2c5f2286c6f7c8d502
[]
no_license
babzan/python_course
c2b16309e3bd718000f135109ec1e4aa7daa6085
9faf14f7570ead2c1af7d14e68123fbee941e515
refs/heads/main
2023-04-19T11:20:42.087437
2021-05-08T17:56:05
2021-05-08T17:56:05
343,699,127
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
################################# # # # BABAK HUSEYNOV # # # ################################# a = input().split()[::2] print(' '.join(a))
[ "babekius@gmail.com" ]
babekius@gmail.com
656b194e471f9282be8dd625c206c14516ceaa91
104c5febd5300511b148716f91b21459bbb42977
/main_app/migrations/0009_auto_20210208_0114.py
531d0af30e4e41a14429a7fd557c67e362d66ab8
[]
no_license
cassjacques/TatShop
75a22ddf0a1f9604b2e8cc37ca2c09dea01eaddf
150ae10a394bc0917fd5ed76be705ae63c5f6e97
refs/heads/master
2023-07-23T09:47:46.967674
2023-07-10T19:26:42
2023-07-10T19:26:42
347,862,338
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
# Generated by Django 3.1.6 on 2021-02-08 01:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main_app', '0008_auto_20210208_0039'), ] operations = [ migrations.RenameField( model_name='artist', old_name='flash', ...
[ "75631685+cassjacques@users.noreply.github.com" ]
75631685+cassjacques@users.noreply.github.com
559915567c4d11e68c5b74458e4abfc13f435a18
865d3a83d03bf785b919ee319314fea1dc123e40
/delete_0.py
0897a49ec83a64af4c51b8af94570c5f0e545795
[]
no_license
hustzxd/bmp_crop
2e6a90bbb5e625172ebe665cb2eecef71a04bd15
e5087c911f98937489dc47d515dda61d58b0d352
refs/heads/master
2021-01-22T03:30:09.526436
2017-06-26T14:15:36
2017-06-26T14:15:36
92,379,986
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
import sys import os def delete_bmp(dir0): files = os.listdir(dir0) count = 0 for f in files: if count % 2 != 0: os.remove(os.path.join(dir0, f)) count += 1 count %= 2 else: count += 1 count %= 2 if __name__ == '__main__': i...
[ "2227820226@qq.com" ]
2227820226@qq.com
bdc46c801ff7e6fbad8a9e2280696fd33081ec01
795aaf4cb7a2c3bdaf1034c45b3e8072a9082214
/actions/insert.py
abcdb6488ca88e7c3d3f8ac9c3db96d5d1c39674
[]
no_license
phdkiran/zendesk
0abff67e94a7862242fd3cfba7e5c96e3f0a727d
644ad8bc0262b0c05c818ad593fdb22930b81d5b
refs/heads/master
2021-01-11T02:59:10.320921
2016-10-14T03:32:45
2016-10-14T03:32:45
70,870,428
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
from lib.actions import BaseAction from zenpy.lib.api_objects import Ticket from zenpy.lib.exception import APIException class AddTicket(BaseAction): def run(self, subject, description): try: newTicket = Ticket(subject=subject, description=description) response = self.client.ticket...
[ "phxkiran@gmail.com" ]
phxkiran@gmail.com
501c240ac633175bc8de39a407a2749cf7447154
8c509776f07a16d7bb3faa551d59e1e0d22dc198
/myportfolio/blog/urls.py
0f64a60c475d6427761a30d3df3cb9b7b3ab7da0
[]
no_license
NumbShell/Python-Django
bfba6b6042b8c7f69bb4df8aa79148eb1ff2eb04
fb62cce4550b1af04349a213bb3b3f99cea7d8c7
refs/heads/master
2020-12-24T10:32:01.584571
2016-11-09T13:39:43
2016-11-09T13:39:43
73,156,701
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from django.conf.urls import url, include from django.views.generic import ListView, DetailView from blog.models import Post urlpatterns = [ url(r'^$', ListView.as_view(queryset=Post.objects.all().order_by("-date")[:25], template_name="blog/blog.html")), url(r'^(?P<pk>\d+)$', De...
[ "noreply@github.com" ]
NumbShell.noreply@github.com
354f84a91bfa9fb50948ba4a5b0b9fca0a5a2e8d
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/784.py
c996bf19a378d7bdffef6baad4ca8a6bd272cf74
[]
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
660
py
f = file('cipher') string_mapping = [] char_mapping = {} x = int(f.readline()) for i in range(x): string_mapping.append([f.readline()]) for i in range(x): string_mapping[i].append(f.readline()) for i in range(x): for j in range(len(string_mapping[i][0])): x1 = string_mapping[i][0][j] x2 ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
55e705dfe0e11bc045a55ecd85bc6dc9f54a1d2b
455cab19b8c1b7fa43d97e93137834431ab479b1
/hw0/1a.py
d88e062b989e94269b9eb3674a8829010c0dbae4
[]
no_license
janeon/hsieh-stat339
f5c731503d17798be4bd18e33601e9060c7d5b88
8927e45da48b2a867e10cd94ac138b76c0767843
refs/heads/master
2021-01-03T04:30:39.101070
2020-02-12T04:04:58
2020-02-12T04:04:58
239,923,085
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
import numpy as np import matplotlib.pyplot as plt x = np.arange(10) y = np.floor(x) plt.xlabel('x axis') plt.ylabel('y axis') print(type(plt.step(x, y))) plt.show()
[ "jhsieh@oberlin.edu" ]
jhsieh@oberlin.edu
765f9e9adbec063cf4de449b97c0a40bc24bbb3d
12700a4c95feb0755e3bf4bb7f532f4684c62e77
/graph.py
cabe56e219323dead2fdbaf45aaff248a6985536
[]
no_license
NolanCarbin/Pathfinding-Builder
754b1804ffd43f30271f28ecece08317b31767b4
b6ac9a1109d919b139ed8ea7d5ebb5ccc95852d4
refs/heads/main
2023-07-16T14:46:17.774254
2021-08-27T19:05:30
2021-08-27T19:05:30
377,263,941
0
0
null
null
null
null
UTF-8
Python
false
false
1,940
py
def initNodeList(app): nodeList = [] for row in range(app.rows): for col in range(app.cols): if (row, col) not in app.wallNodes: nodeList.append((row,col)) return nodeList #interval for using cells is 1 def createAdjacencyList(L, interval): def isEdge(row1, col1, ro...
[ "nolan2556@gmail.com" ]
nolan2556@gmail.com
b84c667b302b4e28e6ce26b80a0f1100b53915e8
8666443cad9dca0893ff9eb79b08136b767402e1
/Hogeschool Utrecht/Programming/Python Scripts/Week 3/Les 2/pe 6_4.py
7d0c25936137d9c8b85f928fbc327d639cd2dde6
[]
no_license
dylanrozendom/Programming
31f747e9226f2e028cea8ddd8757c2fcdd157804
39a40e676bf717c1e8519f3d5c2ec623257cf7ba
refs/heads/master
2021-05-16T05:49:02.921291
2017-10-09T13:07:45
2017-10-09T13:07:45
103,263,180
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
studentencijfers = [ [95, 92, 86 ], [66, 75, 54], [89, 72, 100],[34, 0, 0] ] def gemiddelde_per_student(studentencijfers): for student in studentencijfers: antw = (sum(int(i) for i in student) / 3) print(antw) def gemiddelde_van_alle_studenten(studentencijfers): for student in studentencijfers...
[ "dylan.rozendom@student.hu.nl" ]
dylan.rozendom@student.hu.nl
142ccc3476b5fe4d85457ed9a3a7efabeb4b1b2c
2aa8e56c8001f5ab7476b2159bad284666b54df8
/setup.py
f2b328edae5a0e5f0b140fea332c45e07cb5041b
[]
no_license
ssh0/12-4_history-dependent_rw
d1f5fd3e1fe09e3ffc351e7fb6d8d50b8e10c3bf
ab1d59cdb51182e95e472e9eb834ee65c2aab5a8
refs/heads/master
2020-05-19T14:44:48.673794
2015-05-29T12:21:26
2015-05-29T12:21:26
24,186,628
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
#! /usr/bin/env python # -*- coding:utf-8 -*- # # written by Shotaro Fujimoto, June 2014. from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext ext_modules = [Extension("HistoryDependentRWc", ["HistoryDependentRWc.pyx"])] setup( name='HistoryDependentRW...
[ "shotaro@shotaro-Fujitsu@fuji.waseda.jp" ]
shotaro@shotaro-Fujitsu@fuji.waseda.jp
352a4229534a72aefe03888b1936f51cf27ea3c6
fb3f7ff5fed57d6485270fc964635fc6bf179888
/recruitingAPI/APIrest/serializers.py
184e4cb7eb26d0a5afef72be44fa3d3b6bc6b790
[]
no_license
saad-ahmed98/DjangoAPIRest
884bcccb2f580360cde63e1f9ecfb1e78cbc8f2b
8e9c13eff5a9681eac3cf652abc8820c35b0750c
refs/heads/main
2023-02-24T04:42:43.752535
2021-01-28T16:09:08
2021-01-28T16:09:08
333,502,004
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
'''serializers pour manipuler du json sur l'api''' from rest_framework import serializers from .models import Participant,Activity,Attendance,Event class ParticipantAttendanceSerializer(serializers.ModelSerializer): '''serializer utilisé pour afficher le participant d'une attendance''' class Meta: mod...
[ "saad-el-din.ahmed@etu.unice.fr" ]
saad-el-din.ahmed@etu.unice.fr
251ae683107d8f644605095904a75c115421879d
8985a13232fc5ca9e0da954c9002d79ffa2b2c65
/src/mtchain/beast/site_scons/site_tools/Protoc.py
a36ee812fee98e7a3da52404881d9382908f0a50
[]
no_license
finpal/finpal-basic
429b5871da8167c7adb38af43c64f4f8012901aa
3675542b1c95982321d03cb7bb3d4d204d6f71c9
refs/heads/main
2023-02-04T13:13:35.198917
2020-12-21T16:18:01
2020-12-21T16:18:01
323,375,890
0
1
null
null
null
null
UTF-8
Python
false
false
3,468
py
# # Copyright (c) 2009 Scott Stafford # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publ...
[ "finpal6@outlook.com" ]
finpal6@outlook.com
0742552a226a6f4d790b072a1d538cdf860cafcf
dbcfc6fd7070cb8a8520ffe4596d780d424f1899
/background.py
f9d44d40efa8a411964831f903b2682775890b71
[]
no_license
JaySi98/Python_Space_Invaders
b4f9a315feebfc41aa8c04da79b1d59e3b69e031
6a27dc824a0bb8708df7adcd8c7df26c7a673e67
refs/heads/master
2020-08-08T04:54:52.747403
2019-10-08T18:27:42
2019-10-08T18:27:42
213,716,992
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
import pygame from pygame.sprite import Sprite class Background(Sprite): def __init__(self, settings): pygame.sprite.Sprite.__init__(self) self.image = pygame.image.load(settings.screen_path) self.rect = self.image.get_rect()
[ "jakub.szkiladz@wp.pl" ]
jakub.szkiladz@wp.pl
8fb4a24b711bcdae4fa0519ce8c042f6ac491c4b
cc9ad8c32cc4da9d7e26cb7624ad7757d09c18d5
/mainapp/admin.py
5c943858cdb5fc2818ae919829d32077439e4768
[]
no_license
farxodjan1999/E-commerce
222277c1f6c52ea200c7ca002e1b919a396854a1
92eff71aa37259daae967c3a7c57d10d659d8683
refs/heads/master
2023-07-10T12:44:52.881622
2021-08-08T09:16:34
2021-08-08T09:16:34
393,778,418
2
0
null
null
null
null
UTF-8
Python
false
false
2,733
py
from django.forms import ModelChoiceField, ModelForm from django.contrib import admin from .models import * class SmartphoneAdminForm(ModelForm): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) instance = kwargs.get('instance') if not instance.sd: self.f...
[ "farxodjan1999@gmail.com" ]
farxodjan1999@gmail.com
b31c0573601ee8fe2cd94345a09c2c12c1848384
933d4507652e777eb537b8e034247df7870fbcc7
/test/config/test_filter.py
a23bf8d17f08bb8fcea1659ce3644f2e95069e61
[ "MIT" ]
permissive
GrafeasGroup/tor_worker
bedbfee44216d0b1d1648f948f592fa047fc95a1
b17981f45323c182c2526749250018450d034ef7
refs/heads/master
2021-05-09T11:49:32.327761
2018-06-05T03:16:47
2018-06-05T03:18:47
118,999,710
1
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
from tor_worker.config import PostConstraintSet import unittest class FilterTest(unittest.TestCase): """ """ def setUp(self): pass def test_no_domains_in_settings(self): settings = { 'bypass_domain_filter': False, 'filters': { 'domains': { ...
[ "opensource@thelonelyghost.com" ]
opensource@thelonelyghost.com
67478ebc3d95f581efd04b7e8f9785e8c7356d45
7afcf3cf0f55ecc255aabdda3b90c44528f53b50
/Crawler/ai/ai/ai/items.py
ed1681a61ab48cf04819544016e5a09308405564
[]
no_license
entscheidsuche/scraper
368c6ac8fd14e15116c26f936f32d2ed0acac2ae
b9fafd3f1c2600a78471d4e4c466250ab11a8f33
refs/heads/master
2023-04-05T22:09:20.270314
2021-04-18T19:29:24
2021-04-18T19:29:24
264,894,732
0
1
null
null
null
null
UTF-8
Python
false
false
390
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class AiItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() name = scrapy.Field() link = scrapy.Fiel...
[ "joern@erbguth.net" ]
joern@erbguth.net
da6f6d588376de5606ba2018f9528a1a07aefa85
411de938a876524179f60d23ba0364d2b0e99997
/myapp/migrations/0001_initial.py
d0b1b2efbba6e43d79f50d0a623ea00d36788a99
[]
no_license
ruku786/Demo
5b43e0f4bdff6d32df4c53eb4d26bc9c8175b5dd
7668be9869386414bb2f78c5e24bcfdd15900047
refs/heads/master
2023-01-23T23:33:06.604688
2020-11-23T10:34:56
2020-11-23T10:34:56
315,278,977
0
0
null
null
null
null
UTF-8
Python
false
false
166,954
py
# Generated by Django 3.0.6 on 2020-11-20 14:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='AssetsAssetgroup', fields=[ ('id', models.A...
[ "ruksharparveen527@gmail.com" ]
ruksharparveen527@gmail.com
bebd389e3c0c7607cfbd19130241ff6b59d97f43
95ddb60a08e8039cacd277db0b5c712c66492056
/ml-book-abhishek/chap-categorical-variables/src/ohe_logreg_us_adult_dataset.py
daefd81160e215eb4bd8371f2bbe919453d25215
[]
no_license
rameshjes/machine-learning-study
4f1c231e107719548fa2b52a1528d2e46cdeb72c
f0959b001e296c0dc80deb6ba830dced5b454bcb
refs/heads/master
2023-01-31T19:59:26.377214
2020-12-17T11:49:15
2020-12-17T11:49:15
122,756,653
0
0
null
null
null
null
UTF-8
Python
false
false
2,830
py
# Apply Logisitc Regression on One-Hot Encoded features # Note that, features has to normalized/converted to standard form e.g one hot encoding # dataset used: us_adult_dataset import pandas as pd from sklearn import linear_model from sklearn import metrics from sklearn import preprocessing def run(fold): df =...
[ "rameshkjes@gmail.com" ]
rameshkjes@gmail.com