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
807aa555d76826932aa6a8c5bf2a3109e5e03a70
0e7f6295ef6891a493e626165736867fe3a6b866
/Audio-Recognition-main/forms.py
2a21d028fea3085016a6f30b0aaba9931e0e6eb7
[]
no_license
AkshayScrKiddie/Voice-Pattern-Recognition
7fe608c4cfa76e3679db0c0a7e78159704661f27
c39332f63cc063f1266f2a56cd7d8b756379e933
refs/heads/main
2023-04-26T02:50:07.187604
2021-05-23T15:31:48
2021-05-23T15:31:48
328,376,256
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField from wtforms.validators import DataRequired, Length, Email, EqualTo class RegistrationForm(FlaskForm): username = StringField('Username',validators=[DataRequired(), Length(min=2, max=20)]) email = ...
[ "noreply@github.com" ]
AkshayScrKiddie.noreply@github.com
e630f3b9a59c07a97fc92050d4902ad66e58ee47
50f00c6555556593a45b94c6923169191db7a853
/pset6/readability/readability.py
ee30e635056b645b0c3dc64bd21e261c7aa44248
[]
no_license
DeagaDH/CS50_Homework
9e239ceaa186de027019a7b5b93ec377d95414ac
91e42ba0c1f8aeca692acf508fb49f53c588abb6
refs/heads/main
2023-03-16T11:45:54.603364
2021-03-02T17:29:27
2021-03-02T17:29:27
342,089,864
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
from cs50 import get_string def main(): #Get text input from user text = get_string("Text: ") #Compute grade level grade = get_grade(text) #Print grade if (grade < 1): print("Before Grade 1") elif (grade >= 16): print("Grade 16+") else: print(f'Grade {grade}'...
[ "dhdeaga@gmail.com" ]
dhdeaga@gmail.com
8e2b8dac9d80efc639d7ff1b9b7e28e2ed734662
235dc977904c11b4ad6137490df814dd3e9f14e6
/zhihu/Zhihu/settings.py
b146d53e8b1a8e90f3cbff4c3ebca5d310df06df
[]
no_license
zjian1425/EasySpider
8252c2ae51102a5598145689c82c4b96a537da7c
00e302e7e18cddedd91d44b06e5555870c41dcde
refs/heads/master
2021-08-08T07:16:29.622357
2018-11-12T06:58:59
2018-11-12T06:58:59
145,305,099
0
0
null
null
null
null
UTF-8
Python
false
false
3,558
py
# -*- coding: utf-8 -*- # Scrapy settings for Zhihu project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics/...
[ "zjian1425@gmail.com" ]
zjian1425@gmail.com
fb25365b262d24734e244e6b507d22053818cc6b
728430915e7ff081fb0ad33568424f3625ebd6aa
/djangotutorial/urls.py
0a0f48c0b18056461e826ae01dbe0126cc1e9445
[]
no_license
sztojfen/Djangotutorial
df7625c215d631567483d781f8376e6349c6e183
dfa834d15588a39fd12d01151bf619756590f0f6
refs/heads/master
2022-12-19T10:38:43.248505
2020-09-28T14:03:08
2020-09-28T14:03:08
270,974,722
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
"""djangotutorial URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') C...
[ "stefan.stankiewicz@skriware.com" ]
stefan.stankiewicz@skriware.com
abbfeca2267f27ed0e751e283602130681c8780d
f0544e7936db475062472ec99f1bdbd28a41d522
/conversiones.py
930c95bf512dc26113d5bd753bc5026b2744b301
[]
no_license
victorhvivasc/helpers
9db896b03cd7b55412e1f7d8cc793090e250574b
b01beb503e3d2c69afce5dccd22bfefa925c7e75
refs/heads/master
2022-12-11T05:08:04.162081
2020-09-12T01:08:51
2020-09-12T01:08:51
287,869,597
1
0
null
null
null
null
UTF-8
Python
false
false
2,322
py
# -*- coding: utf-8 -*- from herramientas.unidades import Unidades from herramientas.valores import * def convert_live(u_s: str): """Decorador que convierte las unidades de una funcion en tiempo de ejecución, siempre que la relación de conversión haya sido incluida en el archivo valores.py. Cuidado, la co...
[ "victorhvivasc@gmail.com" ]
victorhvivasc@gmail.com
553135781c95acaf931f856468805e4f9ba93845
7d74195bd00cbe8516670c8fe718e983106c9830
/src/python_language_services/pyclbr_readmodule.py
d8fc7fa857bc6081e3591d82fe9099068ac750a6
[]
no_license
masa4u/example_python
7ab3d48020855ad493336afcd8d0c02eb3104b2b
7bdee4cb8e90255b20353f7f95d3e879f6462638
refs/heads/master
2021-01-18T14:10:56.539659
2017-03-28T12:52:08
2017-03-28T12:52:08
30,511,470
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
import pyclbr import os from operator import itemgetter def show_class(name, class_data): print 'Class:', name print '\tFile: {0} [{1}]'.format(os.path.basename(class_data.file), class_data.lineno) show_super_classes(name, class_data) show_methods(name, class_data) print return def show_method...
[ "masa4u@gmail.com" ]
masa4u@gmail.com
f35555d539781fa04732a6e2e84059cd9fd9237b
6166ade942c4616afe8a09fba13a3c8c8aab7fa2
/day00/ex09/guess.py
b2df11c33439311b7f75668cc302a7ee360f590e
[]
no_license
Nnevalti/Bootcamp_python_42
955f5405be7fe794cb9c2af0d83e39368897809f
dd872d77d3015d905d672b447787b4b8c8c9ba79
refs/heads/master
2022-04-09T08:14:53.497531
2020-03-12T17:14:29
2020-03-12T17:14:29
245,995,952
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
import random print("This is an interactive game!") print("You have to enter a number between 1 and 99 to find out the secret number.") print("Type 'exit' to end the game.") print("Good luck!\n") number = random.randint(1,99) ntry = 0 while 1 : guess = input("What's your guess between 1 and 99?\n") ntry += 1 if (...
[ "vdescham@e1r10p12.42.fr" ]
vdescham@e1r10p12.42.fr
aa98e70fd853df42feb919f23d0fab847f7065e7
0a11a15cf64e25585d28f484bb2118e8f858cfeb
/programmers/1019_기둥과 보.py
eb212b61c8124f1180f1ede8f04d42782beb6d19
[]
no_license
seoul-ssafy-class-2-studyclub/GaYoung_SSAFY
7d9a44afd0dff13fe2ba21f76d0d99c082972116
23e0b491d95ffd9c7a74b7f3f74436fe71ed987d
refs/heads/master
2021-06-30T09:09:00.646827
2020-11-30T14:09:03
2020-11-30T14:09:03
197,476,649
2
1
null
null
null
null
UTF-8
Python
false
false
1,967
py
# n = 5 # build_frame = [[1,0,0,1],[1,1,1,1],[2,1,0,1],[2,2,1,1],[5,0,0,1],[5,1,0,1],[4,2,1,1],[3,2,1,1]] n = 5 build_frame = [[0,0,0,1],[2,0,0,1],[4,0,0,1],[0,1,1,1],[1,1,1,1],[2,1,1,1],[3,1,1,1],[2,0,0,0],[1,1,1,0],[2,2,0,1]] def make(x, y, type, total): if type == 0: # 0: 기둥 if y == 0: # 기둥은 바닥 위에 있거...
[ "gyyoon4u@naver.com" ]
gyyoon4u@naver.com
c5b1ed3395e45b3b46aa86ce4d3ba2c3a470e6af
e13091c137650cd31c8d9778087b369033d0cf96
/src/main/python/algo_expert/tree/Boj2056.py
125c1327fea1235b995c000f138fea631a91b14d
[]
no_license
jwoojun/CodingTest
634e2cfe707b74c080ddbe5f32f58c1e6d849968
d62479d168085f13e73dfc1697c5438a97632d29
refs/heads/master
2023-08-22T09:03:32.392293
2021-10-31T01:00:33
2021-10-31T01:00:33
300,534,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
import copy import sys from collections import deque input = sys.stdin.readline N = int(input()) graph = [[] for _ in range(N+1)] indegree = [0] * (N + 1) time = [0] * (N + 1) for i in range(1, N+1) : data = list(map(int, input().split())) time[i] = data[0] indegree[i] = data[1] for j in range(1, N+1...
[ "jjwjun10@gmail.com" ]
jjwjun10@gmail.com
3be13245d033e578bcbae630b6214bae42cf89ca
677db16b507cecbbbe7363c3e42a5a6782ec9d2b
/234. Palindrome Linked List.py
5df00b9c09914d3dca6e9ef5ff394802f39611a6
[]
no_license
yunfengzhou-hub/leetcode
b3eece98d923ce6629c57bd219deb768e7d9bdc4
918f2eec458007cac01c009ba666b0ed9af97506
refs/heads/master
2022-06-10T06:49:04.252233
2019-05-21T12:10:41
2019-05-21T12:10:41
262,413,401
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def isPalindrome(self, head: ListNode) -> bool: if head==None: return True x=[] while head!=None: x.append(head.val) ...
[ "zhouyf@bu.edu" ]
zhouyf@bu.edu
b1c15983423fa6712c0a120bd1e47ddf84236846
c36d21353df9c5f6a3a3df4545a29c2b306c3ede
/myproject/DataShow/tests.py
43f7a197acfa6382665710acaa555db4e5303e82
[]
no_license
moteily/DjangoSystemMonitor
73289ac8fbc60e0f30be631d10f9f3ea5fc1c021
f671f3ac226d1add5cc659bc3b2c6bf5ccc9abb5
refs/heads/master
2022-12-16T06:45:39.719312
2020-09-11T09:37:59
2020-09-11T09:37:59
286,942,296
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from django.test import TestCase # Create your tests here. import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) print(BASE_DIR)
[ "994283977@qq.com" ]
994283977@qq.com
a2cb63b2254cbda2b926dc9d46d1ad5ec0c7cfa0
013266cf292f36101ff4dc979779332bbc708146
/linked_list/linked_list.py
3622547a9cae8641d658c2125b3c0d1c64434023
[]
no_license
jels-code/python-ds-algo
1c71ec302c105eb5cd70007fd67b7e3e7c03c0dc
e76b1d1f7986afe15e86fe10dcc7322f1fe7dc4b
refs/heads/master
2023-04-24T01:57:31.928247
2021-05-14T03:44:36
2021-05-14T03:44:36
338,950,308
0
0
null
null
null
null
UTF-8
Python
false
false
6,572
py
class Node: def __init__(self, data): self.data = data self.next = None def __repr__(self): return self.data class LinkedList: def __init__(self): self.head = None def __repr__(self): node = self.head nodeList = [] while node is not None: ...
[ "jelscode@gmail.com" ]
jelscode@gmail.com
1bd88b66d8410d876e30a0c83d4391d4fdb0d072
92e3a6424326bf0b83e4823c3abc2c9d1190cf5e
/scripts/icehouse/opt/stack/tempest/tempest/api/network/test_metering_extensions.py
2cfb841ba0d9494a75d69a2e0a7513f37ffcfd08
[ "Apache-2.0" ]
permissive
AnthonyEzeigbo/OpenStackInAction
d6c21cf972ce2b1f58a93a29973534ded965d1ea
ff28cc4ee3c1a8d3bbe477d9d6104d2c6e71bf2e
refs/heads/master
2023-07-28T05:38:06.120723
2020-07-25T15:19:21
2020-07-25T15:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,486
py
# Copyright (C) 2014 eNovance SAS <licensing@enovance.com> # # Author: Emilien Macchi <emilien.macchi@enovance.com> # # 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....
[ "cody@uky.edu" ]
cody@uky.edu
7c30a64e642f3a2a0685bf0080c767c724ad7129
8ce633e7089ae39dfd3fa2495e03d2a658427fc6
/mongo/readmongo.py
856ca0ac5b271643db4bc594efb8d3b8413978d1
[]
no_license
junlongzhao/lenovo
c713d674d5d2be1458aaa82528c6f7e604129d1c
eb8aa414383834c147b2a9f5b08deb3844e80607
refs/heads/master
2020-05-31T07:31:44.730545
2020-01-05T15:16:40
2020-01-05T15:16:40
190,166,538
0
1
null
null
null
null
UTF-8
Python
false
false
1,520
py
import pymongo import json def connect(): client=pymongo.MongoClient('localhost',27017) #建立数据库连接,指定ip和端口号 mydb = client.mydb #指定mydb数据库 collection = mydb.user #指定mydb数据库里user集合 data3={"age":12,"name":"laozhao","school":"UESTC","label":"null"} data4={"_id":1,"age": 23, "userName": "laozhao"} data...
[ "4538241132qq.com" ]
4538241132qq.com
3c999b4143eb281d967c5b6e77f444df4fe4cb11
199823d0d74250904c51e1738651cbb0a70e53e1
/DjangoModelAuditTesting/urls.py
2c58b7ce1e5598e215951ee9ee83f7f4e661d3a0
[]
no_license
joshiparthin/DjangoModelAuditTesting
ee6480cdde21dcb6240138ea3f9e8325e822ec43
9ec1ce32fb8afbb69a7d9fe5bab565e21213ca4d
refs/heads/master
2020-07-25T09:45:45.849633
2019-09-13T11:20:11
2019-09-13T11:20:11
208,249,863
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
"""DjangoModelAuditTesting 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='ho...
[ "parthjoshi@Parths-MacBook-Pro.local" ]
parthjoshi@Parths-MacBook-Pro.local
4f6ab4e80bac7ed94b51c35c39161a3acbb36326
8cd5325ff394f3ca92032b586297308c0e865e64
/welcome/migrations/0002_auto_20171004_1822.py
1d9fdfe7c7e4281ef3aa5ff2d92f49d79cf8eb69
[]
no_license
rushi725/DressMeUp
1e32c61a0d83d9d5b5b9a3161a182466c5e482d2
6af8824f1fe843804fe7be185d224f6f9743347c
refs/heads/master
2020-03-26T18:35:31.487785
2018-08-18T13:23:51
2018-08-18T13:23:51
104,162,907
1
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-10-04 12:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('welcome', '0001_initial'), ] operations = [ ...
[ "rushabh725@gmail.com" ]
rushabh725@gmail.com
88670173a2b5e655a8023f5ea1d810f9cc995f37
aa4024b6a846d2f6032a9b79a89d2e29b67d0e49
/UMLRT2Kiltera_MM/Properties/from_thesis/HMM3_then1_IsolatedLHS.py
5eff41bffa18239a03e748e0c9693e83fac49dd5
[ "MIT" ]
permissive
levilucio/SyVOLT
41311743d23fdb0b569300df464709c4954b8300
0f88827a653f2e9d3bb7b839a5253e74d48379dc
refs/heads/master
2023-08-11T22:14:01.998341
2023-07-21T13:33:36
2023-07-21T13:33:36
36,246,850
3
2
MIT
2023-07-21T13:33:39
2015-05-25T18:15:26
Python
UTF-8
Python
false
false
2,493
py
from core.himesis import Himesis, HimesisPreConditionPatternLHS import uuid class HMM3_then1_IsolatedLHS(HimesisPreConditionPatternLHS): def __init__(self): """ Creates the himesis graph representing the AToM3 model HMM3_then1_IsolatedLHS. """ # Flag this instanc...
[ "bentleyjoakes@gmail.com" ]
bentleyjoakes@gmail.com
fb614aa302084b95ddf6cd05eb504c28c248c5db
844501294ca37f1859b9aa0a258e6dd6b1bf2349
/snipe/imbroglio/tools.py
4c62c6e3e8e00524730b7218034e57b76c714190
[ "MIT", "BSD-2-Clause" ]
permissive
1ts-org/snipe
2ac1719bc8f6b3b158c04536464f866c34051253
ad84a629e9084f161e0fcf811dc86ba54aaf9e2b
refs/heads/master
2021-06-04T22:32:36.038607
2020-03-27T05:18:36
2020-04-05T21:50:42
18,642,653
6
3
NOASSERTION
2019-10-08T02:02:50
2014-04-10T16:01:32
Python
UTF-8
Python
false
false
7,436
py
#!/usr/bin/python3 # -*- encoding: utf-8 -*- # Copyright © 2018 the Snipe contributors # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above...
[ "kcr@1ts.org" ]
kcr@1ts.org
18c2fd857274534368105c975eee76dcd11120b7
64585a5d9a21dc3690c81209ec4d773795bec458
/GombeNatPark.py
cd90af3e6c769c2c9e27dee97b1629d6e7c9e600
[]
no_license
vasiach/PracticalDataScience
6b5fbc889a7a07a58a8a81dc6c0696dc680970ae
601601871dbd363f9498c7766b69b3bf93db84a8
refs/heads/master
2021-09-04T02:13:44.412670
2018-01-14T13:53:17
2018-01-14T13:53:17
110,718,442
0
1
null
null
null
null
UTF-8
Python
false
false
793
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt summary_filename = 'data/gombe_128.csv' ratings_filename = 'data/gombe_460.csv' sumdf = pd.read_csv(summary_filename) ratingsdf = pd.read_csv(ratings_filename) impl = sumdf.impl print('a)The median impulsiveness score is {:.2f}'.format(impl.media...
[ "vasiliki.chira@gmail.com" ]
vasiliki.chira@gmail.com
c804fd279819b292e4ec08953204746649ce4b86
4e01416394a229e2afeede99493d282f4259b1a1
/examples/optimal_transport/euler/gravity_sav.py
501c29064bb59a4bc4bb2e272908fd6c60284151
[]
no_license
sd-ot/pysdot
b2b2abb53e4e87d53e0bb3734c1624b1fc5e5f3b
8d16000c36deb9ab1aa98b819179741b7b65409d
refs/heads/master
2023-07-20T07:15:58.469620
2023-07-14T13:42:48
2023-07-14T13:42:48
176,300,757
4
2
null
2020-08-02T06:19:26
2019-03-18T14:13:33
Jupyter Notebook
UTF-8
Python
false
false
5,855
py
from pysdot.domain_types import ConvexPolyhedraAssembly from pysdot.radial_funcs import RadialFuncInBall from pysdot import OptimalTransport from scipy.sparse.linalg import spsolve from scipy.sparse import csr_matrix from scipy.linalg import eigvals from scipy.linalg import eig import matplotlib.pyplot as plt import s...
[ "hugal.leclerc@gmail.com" ]
hugal.leclerc@gmail.com
1acd293f957c797320d84f470625ab159b51ec48
07a2689b0cce09f76f2a7e39c0d4492985e0c774
/project/api/auth.py
d4e89f67a6c97ce21a49fcccd6fdfeb3d6d7d8f1
[]
no_license
ganeshnegi/flask_rest
5d6266c7a1aedef1d36f7cfeaa0798ecc3c73476
49fdcef4f3258fd8d236bd1760e0eea0c4e4a4ca
refs/heads/master
2020-03-19T14:12:15.420417
2018-06-22T07:29:25
2018-06-22T07:29:25
136,613,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,594
py
from flask_jwt_extended import ( create_access_token, create_refresh_token, get_raw_jwt, jwt_required, jwt_refresh_token_required ) from flask_restful import Resource, Api from flask import request, jsonify from project import app from project.models.user import User, BlacklistedToken @app.route('/login', methods...
[ "ganeshnegi@outlook.com" ]
ganeshnegi@outlook.com
e6bdf3876b48f172a914ed46a62869e62397fa4c
ae217f7980802ab62c57eb5468064052a7674648
/visualisation/Heatmap.py
b01a189377d8cf32b3215fba133b37151e2c7333
[]
no_license
olegs/Biohack2018
13f0e54ea9681de10d570c7ce9bda848909b337c
21dae38beb7830e6a5d3d2e55f1db28b15025f99
refs/heads/master
2021-01-25T14:21:57.147560
2018-03-04T11:57:01
2018-03-04T11:57:01
123,683,237
0
1
null
null
null
null
UTF-8
Python
false
false
306
py
import numpy as np import matplotlib.pyplot as plt import seaborn as sb import pandas as pd import sys # get and create data print('Hello username:',sys.argv[]) data = pd.read_csv(sys.argv[1]) # print and save heatmap sb.heatmap(df, annot=True) plt.savefig('Heatmap.png', dpi=100) plt.show()
[ "noreply@github.com" ]
olegs.noreply@github.com
4366358c531bace14bf52a2fa83c286264bb80d3
66bc55c7c794bf9056c5574b1af8371e05758fd0
/abcd.py
76adbca25c19467c24e16ada81dd907f603a3594
[]
no_license
BeautyDalia/-
73cd52ced193730a6d07e27c7b1e3d4bc7b27147
1b91ae55e4738a40bd990f143983f6d60b0afb09
refs/heads/master
2020-04-27T04:36:21.480376
2019-03-13T09:44:38
2019-03-13T09:44:38
174,060,180
0
0
null
null
null
null
UTF-8
Python
false
false
10,455
py
# coding:utf-8 from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as ec from selenium.webdriver.common.by import By import time from selenium.webdriver.chrome.options import Options from lxml import etree import pym...
[ "noreply@github.com" ]
BeautyDalia.noreply@github.com
d5a63ff33fc1a8856b4ee87dea50e80cf57550c6
52b5773617a1b972a905de4d692540d26ff74926
/.history/valid_20200616210647.py
193197e9b2d92cf59f2508550fb9700467f12317
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
# Ipv4 --> 4 decimal numbers,between 0 to 255 # leading zero's is invalid # check whethere its a digit between 0 to 255 import string def valid(str): address = str.split(".") numbers = range(0,256) for a in address: if len(address) == 4: if int(a) in numbers: if ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
d35311b1ddcb74743d899d64cd956f338388ec85
9cef2791e309bc3acc8989c8e48daa1cbda0e649
/mapclientplugins/parametricfittingstep/scene/scaffold.py
6507d619221940f4a8b69761e72211ac0c1626de
[ "Apache-2.0" ]
permissive
mahyar-osn/mapclientplugins.parametricfittingstep
9fb492766707a9ab3d46505b596fbe797b8dae8d
3b78be6a3cbd99f970f0b28c65350304e446c19e
refs/heads/master
2020-04-11T05:55:03.209766
2018-12-13T01:02:41
2018-12-13T01:02:41
161,564,049
0
0
Apache-2.0
2018-12-13T00:57:23
2018-12-13T00:57:23
null
UTF-8
Python
false
false
2,227
py
from opencmiss.zinc.field import Field from opencmiss.zinc.graphics import Graphics class Scaffold(object): def __init__(self, master_model): self._master_model = master_model def _get_scene(self): scaffold_model = self._master_model.get_scaffold_model() region = scaffold_model.get_r...
[ "h.sorby@auckland.ac.nz" ]
h.sorby@auckland.ac.nz
baf4291c62a4291a20ae2e32fe2cd4704eb384c3
d4a9554840e6f83bf82515a84541408a7828d1fc
/todolist/todoapp/urls.py
d8386dd1531ea71a2e570ec86bebf31d1bb64b3b
[]
no_license
coder-kiran/Todo
79d98c84080dcf739563b05af033232ddafbd046
aa130b2429287f3a8579b4d5b1ddd53ac0c2e77d
refs/heads/master
2023-04-08T09:19:29.181087
2021-04-13T17:42:06
2021-04-13T17:42:06
357,634,751
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from django.urls import path from todoapp import views urlpatterns = [ path('',views.index,name='home'), path('delete/<int:commonid>',views.deletelist,name='delete'), path('update/<int:commonid>/',views.update,name='update') ]
[ "kirankalak4@gmail.com" ]
kirankalak4@gmail.com
2a75511cc7fb86d20c42589fc29f14ccee4b0cef
e5df6f614800210137a18312a248cf55d6c14c63
/hw4/nlg/nlg_postprocessing.py
ff69cff30a46d18308f1bd5028e2af864a31fca3
[]
no_license
gdoggg2032/ADL2016
ae402ea88f61a1c76a08164dc45ad3dac1281025
fb40f83ae201ce12350c7ec965dc37c94a931628
refs/heads/master
2022-11-04T16:46:08.824116
2016-12-28T11:42:14
2016-12-28T11:42:14
70,919,131
0
1
null
2022-10-20T13:52:55
2016-10-14T14:44:53
Python
UTF-8
Python
false
false
1,477
py
import sys import os import argparse import time import json import re def arg_parse(): parser = argparse.ArgumentParser() parser.add_argument('--test_data', default='./NLG_data/test.txt', type=str) parser.add_argument('--predict_data', default='./predict.txt', type=str) parser.add_argument('--output', defaul...
[ "gdoggg2032@gmail.com" ]
gdoggg2032@gmail.com
4419eeb011ca1a3d483fd6e07002cdc8efca4c87
39c1242ae3d3043f64a6604b1641bf1ac990aed9
/languages/ar.py
8bf11f847cd869c1dc583e6b7ebf81a59a77ff6d
[ "LicenseRef-scancode-public-domain" ]
permissive
csantiestebantoca/solarplan
9ceae6c3f096a55207ebb47c4cb261748da7fceb
c2c14b93ceb7e7a3a9f722baa2d920bd6f043677
refs/heads/master
2022-11-28T16:37:08.558974
2020-08-05T21:30:49
2020-08-05T21:30:49
285,184,795
0
0
null
null
null
null
UTF-8
Python
false
false
15,483
py
# -*- coding: utf-8 -*- { '!langcode!': 'ar', '!langname!': 'Arabic', '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN', '%s %%{row} d...
[ "noreply@github.com" ]
csantiestebantoca.noreply@github.com
4fcaa09e33ba139fb4e87c2ecc64d676ede91e58
332e906bbc2d391b50093e5d2146fe7c2ab666b6
/POM/Pages/homePage.py
d3fd75dc944b2a71a315b11622919be251e00c5a
[]
no_license
guilhermelemke/Selenium
46de6e462924ddf0b5fb4befd07457e5c00b66d7
ad74f62f5d9536847b72219c54453f686f4da630
refs/heads/main
2023-02-11T04:15:03.797139
2021-01-07T20:59:51
2021-01-07T20:59:51
326,188,028
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
class HomePage(): def __init__(self, driver): self.driver = driver self.welcome_link_id = 'welcome' self.logout_link_linkText = 'Logout' def click_welcome(self): self.driver.find_element_by_id(self.welcome_link_id).click() def click_logout(self): self....
[ "guilherme.lemke@philips.com" ]
guilherme.lemke@philips.com
23b1084ab056307b4bb2914859e7852e1b5c0c92
5a89114faaac7bd79a867e2283718612b04b6077
/common/layers.py
c2bd1ed2d7f0cffc489e9c93310032fbcc469462
[]
no_license
rnakamura-sky/DeepLearning2
163e991b926b3efc04e10bece82f0e91572eae3a
19670cb685dead79d7036c8237ff610e25ca2602
refs/heads/master
2023-03-19T21:57:35.998422
2021-03-11T08:37:25
2021-03-11T08:37:25
332,815,047
0
0
null
null
null
null
UTF-8
Python
false
false
3,731
py
import numpy as np from common.functions import softmax, cross_entropy_error class MatMul: def __init__(self, W): self.params = [W] self.grads = [np.zeros_like(W)] self.x = None def forward(self, x): W, = self.params out = np.dot(x, W) self.x = x return...
[ "rnakamura1234sky@gmail.com" ]
rnakamura1234sky@gmail.com
31a05db7838d4d33629743005e121a3330199d89
eb5c7da64d7b2def4060dc52cf9a4b6e397aefd0
/day07/mysite/urls.py
b08461406ea1724472143c00f764505610c6992e
[]
no_license
leeyj341/django
a77e0828df0318e3fb527c9b0f3ecaa9d3f66455
4e4a1e7c907b61d718130269bccb3d0768d4a3b9
refs/heads/master
2022-11-13T04:28:21.109114
2020-06-29T09:18:03
2020-06-29T09:18:03
270,921,868
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "leeyj3794@gmail.com" ]
leeyj3794@gmail.com
44a889c50958580d26f6837358f91371e02c1903
8a1200f2bd0bf25a264c065da896d1806e45155a
/packages/postgresql-9.1.3.py
ac7ed54add17150e2aa1e04acc81df806c74723f
[]
no_license
mhulsman/enhance
fac908eca561749ab99ea708f19f37eaceabf6c5
761234a263e4962a8e10026ce143c1ea0e7e8728
refs/heads/master
2021-01-18T23:40:56.252953
2016-09-29T13:04:48
2016-09-29T13:04:48
1,520,086
3
4
null
null
null
null
UTF-8
Python
false
false
180
py
from package import * class postgresql(MakePackage): dependencies = ["readline"] fetch="http://ftp.postgresql.org/pub/source/v%(version)s/postgresql-%(version)s.tar.gz"
[ "m.hulsman@tudelft.nl" ]
m.hulsman@tudelft.nl
615e915ae7695c6459a347d7de6b31510dc0b268
769cc94f2d87b97a0c0cb54ae2a4b10a43594f57
/src/models/model_both.py
e454067cb2bbf8a5d3c9324193cd75f758790dde
[]
no_license
mdrgona/nsiete_project
106096d0d959c8e228f84a9a1cb4134f7f675b00
e7993f209c496b19ea70cbf1c728a05273ee0633
refs/heads/master
2020-07-30T19:13:47.187073
2019-12-09T08:25:57
2019-12-09T08:25:57
210,327,481
2
0
null
null
null
null
UTF-8
Python
false
false
2,787
py
import tensorflow as tf import tensorflow.keras as keras from tensorflow.keras import initializers from tensorflow.keras.layers import Embedding, Input, Dense, Flatten, concatenate, Dropout, dot, Lambda, Reshape, Dot from tensorflow.keras.backend import transpose import numpy as np class JokeRecommender(keras.Model): ...
[ "xdrgonam@stuba.sk" ]
xdrgonam@stuba.sk
36d2d97f098581fcaf52b4c5e20fb4b92772c732
89faa4f7bd62956119484ec7b858ff8102ad6ad0
/Three_dimention_rendering.py
d14675f8af25d0326ec028b7ae63d6aaa4f368dd
[]
no_license
naseer2426/Three-Dimention-Rendering-Tk
0066cdef5fb85d841b5858e512e71d1fb742cb9d
176ac860faed6c55846987df6d93710275ccf898
refs/heads/master
2020-04-15T22:26:12.193656
2019-01-31T16:57:27
2019-01-31T16:57:27
165,072,614
16
1
null
null
null
null
UTF-8
Python
false
false
19,828
py
import tkinter as tk import math as m import time as t from tkinter import colorchooser as c_chooser class ThreeD(): def __init__(self, canvas, coords, alpha = 0, beeta = 0, gaama = 0, frame_rate = 30, unit_pixels = 200): self.canvas = canvas self.coords = self.set_coords(coords) self.alpha...
[ "35726629+naseer2426@users.noreply.github.com" ]
35726629+naseer2426@users.noreply.github.com
77ebe723a966d681a96463a872a4909952361fc8
dfc0d7851f0df172b8cbf06021f92e864bcaec0e
/pahap/scripts/RRT_server1.py
fc6a95d2e6f944633241396d612f188d4316cfd6
[ "BSD-2-Clause" ]
permissive
aralab-unr/ara_navigation
1d022e72a42e0b523d11782f9c297ebf96443a4a
a83d12df1f6b85023c84a2d6835648f7ae12e8be
refs/heads/main
2023-01-03T17:02:41.521632
2020-10-31T18:15:18
2020-10-31T18:15:18
308,933,232
1
2
null
null
null
null
UTF-8
Python
false
false
13,440
py
""" Path planning Sample Code with Randomized Rapidly-Exploring Random Trees (RRT) author: AtsushiSakai(@Atsushi_twi) """ import math import random import matplotlib.pyplot as plt import numpy as np show_animation = True class RRT: """ Class for RRT planning """ class Node: """ ...
[ "bui.hoangdungtn@gmail.com" ]
bui.hoangdungtn@gmail.com
9665f5262400aa5e8492c915f9433a794eb3fa9f
36d9b0bf8da6403a233cb1a5d93a97fd5dac38d9
/fundraising/migrations/0002_djangohero_approved_booleanfield.py
e86571ef1be70336c5dea12ccba6017475b7da91
[ "BSD-3-Clause" ]
permissive
cossacklabs/djangoproject.com
da4123046514693edaaffd726a84587a5f91ae66
621e18f928db903d73b84788b3e3c9df9e83dd4c
refs/heads/master
2021-12-14T17:41:54.270535
2021-12-02T15:55:41
2021-12-02T15:55:41
76,054,463
1
0
NOASSERTION
2021-12-02T15:55:42
2016-12-09T17:04:43
JavaScript
UTF-8
Python
false
false
398
py
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fundraising', '0001_squashed_0007_inkinddonor'), ] operations = [ migrations.AlterField( model_name='djangohero', name='approved', field=models.BooleanFie...
[ "felisiak.mariusz@gmail.com" ]
felisiak.mariusz@gmail.com
d2036e2ad31daaa4615ba8e2b100b0650b8f4e7f
f11671737fa347b00725d8f1c75167e8cbf1ac9a
/tests/unit/filesys/concrete_test.py
4856658ecc00f1660de0c703a3b6885411507621
[ "Apache-2.0" ]
permissive
sirosen/SALVE
12d89e9ddd172ba3a7b81839fc4bb8687ecd1cdd
5711b5c71e39b958bc8185c6b893358de7598ae2
refs/heads/stable
2021-01-13T02:23:21.002718
2015-11-14T21:28:25
2015-11-14T21:28:25
11,790,762
0
0
null
2015-11-14T21:24:49
2013-07-31T12:51:16
Python
UTF-8
Python
false
false
14,161
py
#!/usr/bin/python import os import hashlib import mock from nose.tools import istest from tests.util import ensure_except, scratch from salve.filesys import ConcreteFilesys class TestWithScratchdir(scratch.ScratchContainer): @istest def missing_file_lookup(self): """ Unit: Filesys Concrete...
[ "sirosen@uchicago.edu" ]
sirosen@uchicago.edu
da28883c4aa66cf33b380f37e89608dd0689e5b2
c6f4498db87c98cb6cbc28b6528b847aa15ad842
/Entree_atmospherique/script.py
97885710afe315718e604a9e3607f10d923241c0
[]
no_license
nuyte/CentreDeControle
7a4797f9e62ae4644807152b219e0acd19521cb5
0fed9d9add665c2ee22c478262de5214ea9b94d9
refs/heads/master
2022-07-11T00:03:18.527217
2019-08-08T09:08:14
2019-08-08T09:08:14
192,314,771
0
0
null
2022-06-21T22:19:54
2019-06-17T09:18:22
Python
UTF-8
Python
false
false
6,675
py
import os import sys import pdb import time import numpy as np import shutil as sh import unicodedata import argparse import signal import subprocess as sp import random as rand from termcolor import colored def strip_accents(s): # to remove accent from a string return ''.join(c for c in unicodedata.norma...
[ "gdelavieuvil@irap.omp.eu" ]
gdelavieuvil@irap.omp.eu
29a4580f5cd11a8eb6127e55ae286b1281ed1a42
19c1fe95876314e134d2d5a0c1be7fa9fa010552
/datastore.py
3132ad0b10b670a406be4fc11c303a08350b4552
[]
no_license
svcastaneda/tack-it
2ee52cfec2b9122f9d067f3163221a6da08396c3
a3e9fc33111e685421a326c76ca8ed7b152257e7
refs/heads/master
2021-01-10T18:25:00.493618
2015-08-08T03:08:26
2015-08-08T03:08:26
40,389,213
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
from google.appengine.ext import ndb from google.appengine.ext import blobstore # we need to link emails to Account kind in order to save data class Account(ndb.Model): username = ndb.StringProperty() class Tacs(ndb.Model): title = ndb.StringProperty() def delete(self): return '/delete?id=%s' % self.key....
[ "svcastaneda@gmail.com" ]
svcastaneda@gmail.com
a7a988e423187bc106cf26e91ded0c5078180e75
743d1918178e08d4557abed3a375c583130a0e06
/src/util/SetMinus.py
0bea8840a11e3084b35940e0154a7834b34b3345
[]
no_license
aquablue1/dns_probe
2a027c04e0928ec818a82c5bf04f485a883cfcb3
edd4dff9bea04092ac76c17c6e77fab63f9f188f
refs/heads/master
2020-03-25T19:40:07.346354
2018-11-17T05:31:43
2018-11-17T05:31:43
144,094,014
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
""" " Get rid of all elements appeared in list A out of list B " Accept two non-empty lists " return the minus result of the lists. " By Zhengping on 2018-08-15 """ def setMinus(listA, listB): resultList = [] for elem in listA: if elem in listB: continue resultList.append(elem) ...
[ "94apieceofcake@gmail.com" ]
94apieceofcake@gmail.com
37da748cdd06fa9c7aefb7290dde8c0e7a587774
1bcd1933321f161810c615c7c003d688cefb38f2
/tests/test_example.py
491022e97f601a29142778a04fe2b982f8601d5d
[]
no_license
herczy/piano
4eef453cf1ac4277e8de9a9f92daee35e7d5b408
e27d699f9afa9f95453e7c82122b619ab948b082
refs/heads/master
2020-06-09T07:26:57.179253
2013-07-27T17:09:30
2013-07-27T17:09:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from unittest import TestCase from piano import call_validate, CallValidator, array_of @CallValidator.decorate def sum(values : array_of(int)) -> int: res = 0 for i in values: res += i return res @call_validate class TestSomething(TestCase): def test_something(self): self.assertEqua...
[ "herczy@balabit.hu" ]
herczy@balabit.hu
8e212e6f65b5bc088cdf555b3982eb19fa64ff4e
e0df2bc703d0d02423ea68cf0b8c8f8d22d5c163
/ScientificComputing/ch15/spectrum_full_period.py
7892f2bb5fca7b8c3f6f47de6050e5c4c371b3d1
[]
no_license
socrates77-sh/learn
a5d459cb9847ba3b1bc4f9284ce35d4207d8aa8b
ae50978023f6b098b168b8cca82fba263af444aa
refs/heads/master
2022-12-16T16:53:50.231577
2019-07-13T13:52:42
2019-07-13T13:52:42
168,442,963
0
0
null
2022-12-08T05:18:37
2019-01-31T01:30:06
HTML
UTF-8
Python
false
false
550
py
# -*- coding: utf-8 -*- import numpy as np import pylab as pl sampling_rate, fft_size = 8000, 512 t = np.arange(0, 1.0, 1.0/sampling_rate) x = np.sin(2*np.pi*156.25*t) + 2*np.sin(2*np.pi*234.375*t) xs = x[:fft_size] xf = np.fft.rfft(xs)/fft_size freqs = np.linspace(0, sampling_rate/2, fft_size/2+1) xfp = 20*np.log10(n...
[ "zhwenrong@sina.com" ]
zhwenrong@sina.com
d813c0f26aa8fba371e52282603d485a903e5a63
211dee24f530e387f9c72ab13c9ae37ca059f1da
/scripts/encode_aruco_tag.py
fe12afc55f9c74db3ac08f7871a51d7253b6cbc1
[]
no_license
haganelego/aruco_detect
d63bdfe22128a1686a2e1297bc0ab2f540aea407
305091880fe42984036e2e89a688fd3a4409d9b2
refs/heads/master
2023-03-23T23:10:11.879902
2021-03-17T14:55:26
2021-03-17T14:55:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,086
py
#! /usr/bin/env python from __future__ import print_function import csv import sys import os import numpy as np # This encoding file only works for 5x5 tags. GRID_SIZE = (5, 5) def main(): tag_defs, file_names = parse_input() print('Processing {} tag definitions'.format(len(tag_defs))) encodings = [cre...
[ "larsnathanson@gmail.com" ]
larsnathanson@gmail.com
29227c14aecf5733c34cba93849bdcbe50701885
6aa2f437f93ee065226188e94fc3d0017948e281
/DataGenerator.py
1e171a7e5343baf3a7f4cd4cfa8af3d91ac87fda
[]
no_license
MaverickMeerkat/TomFonts
3925f9b8af6be8a73d415a0f5f69713633dea524
8bc7035d835349d036cee8012f45db43714e7d10
refs/heads/master
2020-12-11T09:48:49.185347
2020-01-18T11:34:43
2020-01-18T11:34:43
233,812,231
0
0
null
null
null
null
UTF-8
Python
false
false
1,613
py
import keras import numpy as np # from keras.utils import HDF5Matrix, to_categorical class DataGenerator(keras.utils.Sequence): # Generates data for Keras def __init__(self, hf, batch_size=62, shuffle=True): self.hf = hf self.data_size = len(self.hf) * len(self.hf[0]) self.indexes = np...
[ "davidrefaeli@gmail.com" ]
davidrefaeli@gmail.com
f3c3e7a8b03b2c7c32486230529d5599c1bd2ffc
7e3184ad9c5d964715c4f69fe6e3b19de1cc86be
/modnotes/__init__.py
ae8e555019b283b4fd1f76d684cfd95ce5371d65
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
entchen66/sinbad3.1
acfa053388eacb97defc72ee68f9a11f64d1ecbd
3353118b8693c84d5572ab2a7a2278a32be2a76c
refs/heads/master
2020-12-23T02:31:43.438280
2020-02-13T16:56:04
2020-02-13T16:56:04
237,006,830
0
1
null
null
null
null
UTF-8
Python
false
false
373
py
from redbot.core.errors import CogLoadError try: import apsw except ImportError: HAS_APSW = False apsw = None else: HAS_APSW = True def setup(bot): if not HAS_APSW: raise CogLoadError("This cog requires `apsw-wheels`.") else: from .modnotes import ModNotes cog = ModNo...
[ "tiegerchris1@web.de" ]
tiegerchris1@web.de
dd403228a5fd0387c765dce75485d51cd467c723
904e8e1e59f0354cefd4968e1a88b85882d7e49f
/zhcx/nxr_app/utils/nxr_frame.py
641678d3c6a71b220547c1e3ad42819141ac6966
[]
no_license
cschan279/canbus_comm
c17eab4aa677ff161522eb0fdf0e4d554e8ae352
c3910a47506aa54f21e357365c981c8c2d4a279e
refs/heads/master
2022-12-28T07:31:30.314503
2020-10-16T02:47:12
2020-10-16T02:47:12
275,784,623
0
0
null
null
null
null
UTF-8
Python
false
false
3,966
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import struct #[int(i) for i in struct.pack('f',1.2)].reverse() #struct.unpack('f', bytearray(x.reverse())) lockflag = False def assert_var(var, typ, len_limit): wn = "Wrong type: {}/{}".format(str(type(var)), str(typ)) assert isinstance(var, typ), wn wn = "Ou...
[ "troychan279@gmail.com" ]
troychan279@gmail.com
7a829ca1f6bcdb2e495c9c3a84d113ea5c92bd97
e9538b7ad6d0ce0ccfbb8e10c458f9e0b73926f6
/tests/unit/modules/network/onyx/test_onyx_syslog_files.py
a9d955e69c98729bde2ec5ab4428524de95bb30a
[]
no_license
ansible-collection-migration/misc.not_a_real_collection
b3ef8090c59de9ac30aca083c746ec3595d7f5f5
7ab1af924a3db4ada2f714b09bb392614344cb1e
refs/heads/master
2020-12-18T13:48:51.849567
2020-01-22T17:39:18
2020-01-22T17:39:18
235,400,821
0
0
null
null
null
null
UTF-8
Python
false
false
4,825
py
# # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible_collections.misc.not_a_real_collection.tests.unit.compat.mock ...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
1f075e007a70cd47c887fbcc9b097a7c1b9bdbb3
465fd14b3dd1974fa6ef40294217fb14381ab39f
/interface/favorites_interface.py
943fc8c6153f46751dd890573afe731266e31377
[]
no_license
vit-001/fget3
0d4c6d30d8d0f73d7b84feea94b456f0b667ac19
dc737ac1c42d825d1511f0a264eb83bec20f1b9e
refs/heads/master
2021-11-07T07:25:49.666172
2021-10-05T06:31:50
2021-10-05T06:31:50
83,305,656
1
0
null
2021-10-05T06:33:45
2017-02-27T12:01:40
Python
UTF-8
Python
false
false
402
py
# -*- coding: utf-8 -*- __author__ = 'Vit' from data_format.url import URL from interface.site_interface import SiteInterface class FavoritesInterface: def on_exit(self): pass def add(self, label:str, url: URL): pass def remove(self, url:URL): pass def get_favorite_items(sel...
[ "vitaliy@inbox.ru" ]
vitaliy@inbox.ru
06077c7edc997754e851741d749ba56ba2be69a9
911d824f9f3cd70553b40b2263df45f65242f545
/awshelper/cfinstance.py
93a5404279f036f43b6212c9bf1b355dadd18e84
[]
no_license
fariqizwan/aws-boto-example
354c13931aad4f392aac1622b56a10fc9dfb4ea6
100309e3888cb2a3dc10911fb8f62e174c3df9e5
refs/heads/master
2021-01-10T12:09:31.551569
2017-09-24T07:34:53
2017-09-24T07:34:53
45,172,322
1
0
null
null
null
null
UTF-8
Python
false
false
2,130
py
import boto.ec2 from datetime import datetime from awsconfigs import awsregion,awsaccesskey,awssecretkey class cmCloudFormInstance(object): def __init__(self): self.conn = boto.ec2.connect_to_region(awsregion,aws_access_key_id=awsaccesskey,aws_secret_access_key=awssecretkey) def convertAWSTimeString(self,awstim...
[ "fariqizwani@EAP34E6D757DA9F.apac.experian.local" ]
fariqizwani@EAP34E6D757DA9F.apac.experian.local
50c9f6a1226bfd1410c4cd10e3f8f6d7eea1d53c
3515f7da144963a811efbff9874d31e2e6639d2a
/backend/chat/models.py
3ce5452f1c2293726fb897433ba99f43418d360f
[]
no_license
crowdbotics-apps/rn-ui-22326
1974e4c778583e0eb1e202c0e470ba94154dabed
09cc1d8e1cd284a32a0477a13f89d985f554908c
refs/heads/master
2023-01-08T04:57:56.020399
2020-11-05T12:47:25
2020-11-05T12:47:25
310,293,418
0
0
null
null
null
null
UTF-8
Python
false
false
3,152
py
from django.conf import settings from django.db import models class Message(models.Model): "Generated Model" message = models.TextField() thread = models.ForeignKey( "chat.Thread", on_delete=models.CASCADE, related_name="message_thread", ) sent_by = models.ForeignKey( ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
30d14a92e0de00f34b836e65ba17682093fbc79b
06c06465ef0b7c3e080859bf9c161155349a4d0c
/oldscript/base_encoded.py
75d80d3c17cd1737e1a76004a5e75154a6d13e38
[]
no_license
Flecart/Olicyber2021
e296ea54566c7912c939e4e1119b669cd6f37a32
3fb161a0ce8ce1c4269aae3290c5588ce621f638
refs/heads/main
2023-06-22T12:05:25.184420
2021-07-21T09:23:05
2021-07-21T09:23:05
388,059,404
3
0
null
null
null
null
UTF-8
Python
false
false
5,872
py
#! /bin/python3 # nc based.challs.olicyber.it 10600 from pwn import * import json import base64 # 65-90quit # 97-122 # 146330605473666206330630144146575643203056327630156276630603445756314275063276665622766106033462175 # Prende la risposta, la trasforma in JSON e la manda al server def trimAndSend(line): dict= {"...
[ "huangelo02@gmail.com" ]
huangelo02@gmail.com
9546f02424ed3520814abf573f853d29013498da
c9cceb72e8d076b75a266efa89cd315f81c7f890
/code/grid_kmedoids_destination.py
d974e700ccc077857d13b212c569679ca8f20bbb
[]
no_license
qyn0729/Food-delivery-data-analysis
35259b4dce8811e7b94f2fa0da7a05354d630fa5
4e19eb92061c9f0ac2b7ba0209e1cb2054551608
refs/heads/master
2023-04-20T15:39:47.613813
2021-05-05T04:11:32
2021-05-05T04:11:32
364,457,417
0
0
null
null
null
null
UTF-8
Python
false
false
8,451
py
import numpy as np import csv from sklearn_extra.cluster import KMedoids import tslearn.metrics as metrics from tslearn.clustering import silhouette_score from tslearn.preprocessing import TimeSeriesScalerMeanVariance from tslearn.generators import random_walks from sklearn.preprocessing import StandardScaler import ma...
[ "674217529@qq.com" ]
674217529@qq.com
7d4898d1d6a66301d4a9eba76a7f075b6447387b
4420a643a79d0166b9637e80f496f414c1dbb76a
/p01/osc_quest.py
f0b85a62220ce4c0f5e21ac8bcbf32990dcb5baa
[]
no_license
raghuramos1987/solexa_pipeline
aa34379cc538d8bdcccb1ef0749c008ea815b12e
f87b82088c1a8f66b26916f2e7b43fc7fe99348f
refs/heads/master
2016-09-06T16:22:30.214204
2012-08-28T18:07:17
2012-08-28T18:07:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
#!/usr/bin/env python ###################################################################### # File Name : # Purpose : # Author : Raghuram Onti Srinivasan # Email : onti@cse.ohio-state.edu ###################################################################### import config import sys conf_obj = config.Parameters(sys...
[ "ros@ros.(none)" ]
ros@ros.(none)
35ce73700006367e65389cd8b8a919bb33359d33
53f35cc7910a7d505d46dc7b6ac3c06b2e2e2a37
/network_morphogenesis/src/evo/community.py
924e3a8f09427142ef52a3c85c79a8304dd8654c
[]
no_license
paulrt/morphogenesis_network
77374caef20a432a501016342d235d061dcb6d50
9f196c6a6255e884a3d205d2e268dc30a6df426d
refs/heads/master
2020-09-19T22:35:43.372209
2015-05-04T15:29:14
2015-05-04T15:29:14
224,313,765
1
0
null
2019-11-27T00:51:24
2019-11-27T00:51:24
null
UTF-8
Python
false
false
17,584
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ This module implements community detection. """ __all__ = ["partition_at_level", "modularity", "best_partition", "generate_dendogram", "induced_graph"] __author__ = """Thomas Aynaud (thomas.aynaud@lip6.fr)""" # Copyright (C) 2009 by # Thomas Aynaud <thomas.aynaud@lip6...
[ "titanjdemoniak@hotmail.com" ]
titanjdemoniak@hotmail.com
337746a94e224bc10c4f73315b23aab5796f0e52
9629dfc1d0ead0a6595b01c39c24fd86acc63f68
/venv/Scripts/easy_install-3.7-script.py
ddc0045e2e815089f6e83870213ca9b09d9f1985
[]
no_license
zeriky/Olofofo
9d7e785e4e4f747681c979b022562d2b333cefb5
effd2e97e7e990e602b346b04cc480397720b9e4
refs/heads/master
2022-11-19T16:55:59.299725
2020-07-22T11:30:32
2020-07-22T11:30:32
281,662,901
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
#!C:\Users\seriki\PycharmProjects\ranti\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?...
[ "tanniseriki1@gmail.com" ]
tanniseriki1@gmail.com
2a2d14293dcce2075af26c7c590b753bf7f2e182
9a278766d210b92d06a46321303481e86fa5811d
/test_single_csv.py
6494dd93499a53baf3877964921283ddfbb8b1de
[]
no_license
fvmassoli/deep-acoustic-modeling
64662b9299bb71b549b4a90e8090a147f24387dc
2de174642d634743dc2a32bb2518808f3fec469e
refs/heads/master
2020-12-20T18:57:01.763017
2020-02-15T15:55:52
2020-02-15T15:55:52
236,178,953
0
0
null
null
null
null
UTF-8
Python
false
false
3,380
py
import argparse import numpy as np import pandas as pd from model_manager import ModelManager from utils import get_model_info_from_fname import torch import torch.nn as nn idx_to_class = {0: 'di', 1: 'dje', 2: 'do', 3: 'due', 4: 'dze', ...
[ "fabiovaleriomassoli@gmail.com" ]
fabiovaleriomassoli@gmail.com
2ecbd8f9a85ba36e7cb4307928d5d576e57ebf5e
3aa36cd8efa0b5aca6111db28d7197266fdc8506
/roman_to_decimal.py
1147e64ba2a9f398d223935f07ca2acf6946a3d7
[]
no_license
AyresJonas/RomanConverter
f387eae81c7c257e459344821bb5ee8905a1a7b9
0c9b94ddcd9066f173cc1d9495b56f9de35465c0
refs/heads/master
2020-05-30T18:14:17.561696
2019-06-02T20:54:11
2019-07-25T18:01:46
189,892,330
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
import sys from validations import is_invalid_roman_number _ROMAN_TO_DECIMAL_DICT = { 'M': 1000, 'D': 500, 'C': 100, 'L': 50, 'X': 10, 'V': 5, 'I': 1 } def roman_to_decimal(roman_number): try: if len(roman_number) == 1: return _ROMAN_TO_DECIMAL_DICT[roman_number] decimals = [_ROMAN_TO_...
[ "jonas.ayres@southsystem.com.br" ]
jonas.ayres@southsystem.com.br
57e22578fbcd05532daf06696ed64a58b5b37649
6802fee77c53ba92ba2bdd8065dc3732921ad7f7
/user_app/admin.py
ab72bbcbd0ea87af5ca65edeee760af1f5d9713a
[]
no_license
Aashishparajuli/tasbir
925292ee507db9b28cf565d6e233caa6d069681d
a0fbc4a6120565cfa4ee55616d1c188a1a3221aa
refs/heads/master
2023-04-26T07:18:25.865455
2019-12-25T09:01:17
2019-12-25T09:01:17
229,171,015
0
0
null
2023-04-21T20:43:17
2019-12-20T01:59:43
HTML
UTF-8
Python
false
false
125
py
from django.contrib import admin from .models import usermodel # Register your models here. admin.site.register(usermodel)
[ "aashishparajuli018@gmail.com" ]
aashishparajuli018@gmail.com
edda37c0d808f51c3ce33ec5cbadcfba08ffc3f0
16024097e5283c1194f6d076cb321969c1d45317
/space/management/commands/space_update.py
fd716da5cb9e7c7090d5fceaa2a7ef4093e4cf03
[]
no_license
ShinjiroMoriya/React-Django-GraphQL-Sample
1677c1c29cec348b62df50c7104faf27bb387dd7
3c4c36ec67b8fe4b69824f2305032116411b0e9e
refs/heads/master
2020-03-21T18:16:43.326461
2018-11-09T07:29:19
2018-11-09T07:29:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
from django.core.management.base import BaseCommand from space.models import Space import string import random class Command(BaseCommand): def handle(self, *args, **options): try: count = 1 for s in Space.objects.all(): random_str = ''.join( [ra...
[ "" ]
39e37960d94378ff7cdd7f3dbc16d7c764ebdfaf
551dabfe10ea6778546f380d3ee9f0500f352b0f
/2.6 K-Means/2.6.1.5.py
7b9e48d4c270aaff583d5deaee70f884d44e328e
[]
no_license
mohamedalemam/sklearn
c32843b6a04fe4b2a326870ba3658e8c1fc3b424
387c21357b165a1bc3593f8303ac5f9a672bd62a
refs/heads/main
2022-12-29T15:38:06.534505
2020-10-17T21:26:59
2020-10-17T21:26:59
301,839,374
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
from sklearn.datasets import load_iris from sklearn.cluster import KMeans from sklearn.metrics import silhouette_score import matplotlib.pyplot as plt iris = load_iris() X = iris.data kmean = KMeans(n_clusters= 3 ) kmean.fit(X) result = kmean.labels_ print(silhouette_score(X , result)) score =...
[ "noreply@github.com" ]
mohamedalemam.noreply@github.com
d325b49fa0fcb6ede20cfa6d8734d6d65a19f18e
40638f7594848ea851648f5dd83208ea244f5fa3
/Python/HelloWorld/HelloWorld.py
384cb676fb76881d8d63028bc2a956d755758bc6
[]
no_license
roshanlouhar/SelfLearning
3c67920b01149866adf39687fc1959bb43d3d7ac
21140d128565b0c536b32c3fceaea469f1f6f0a4
refs/heads/master
2021-01-03T18:10:18.409652
2020-11-30T13:01:10
2020-11-30T13:01:10
240,185,637
1
0
null
null
null
null
UTF-8
Python
false
false
152
py
# def GCD(a,b): # while(b!= 0): # t =a # a = b # b = t % b # return a #print(("GCD is :") + str(GCD(20,8)))
[ "22392219+roshanlouhar@users.noreply.github.com" ]
22392219+roshanlouhar@users.noreply.github.com
878808f98d0845d8e9e22ed632973acc9053833b
c49fa285a24d1d6e673fff5a439c682fb872cbf0
/TP2Bis_Cartpole_Qdeep/cartpole.py
b4c654a8bd8a357fa6fdc1c12548a818574d4d83
[]
no_license
HadarakDev/LabESGI-IA-ML
a229e1f7ca676ddeb4225014f9ecf77ea2ecc23b
2727048622f0857beb15d088c2b8e641395cb412
refs/heads/master
2020-09-21T15:53:59.433526
2020-01-17T14:23:10
2020-01-17T14:23:10
224,838,109
1
6
null
2020-01-09T18:15:31
2019-11-29T11:08:07
Jupyter Notebook
UTF-8
Python
false
false
2,849
py
import random import gym import numpy as np import tensorflow as tf from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from tensorflow.keras.optimizers import Adam BATCH_SIZE = 10 GAMMA = 0.80 def create_model(nb_input, nb_output): model = Sequential() model.add(Dense(...
[ "nico_roche@hotmail.fr" ]
nico_roche@hotmail.fr
24768d2f93aa88b46dad55e4ea6aa5d3b008fa2f
05628092235f402452d5d25bbc2e005cf7b67045
/Product/serializers.py
f3d5cd00e9abe9259686e756b158832ca09b302b
[]
no_license
prahladtripathi19/django-mongo-elasticsearch
41e3066047e0ce2576b9dd925b95228164323fc0
13249d49e3b92673ef01fa0f40618cc46b2d8509
refs/heads/main
2023-02-06T02:57:27.734925
2020-12-13T15:30:33
2020-12-13T15:30:33
321,093,965
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
from rest_framework import serializers from .models import Product, Category, Mostviewed class CategorySerializer(serializers.ModelSerializer): class Meta: model = Category fields = ["id","name","slug","published","created_at","updated_at"] class ProductSerializer(serializers.ModelSerializer): class Meta: mod...
[ "prahlad.tripathi@timesinternet.in" ]
prahlad.tripathi@timesinternet.in
186bd95b0db222551e33365655e533c01afc348d
bb16070b9fe39894bdea67020eb7e41f93f3cef1
/src/utils.py
cf4d1346833931f47112f782333e7f5b18b732dd
[]
no_license
toshi835/t5-generation
a782927c2bae62e272423947701c93f6fe4b8dac
1343ea0d5895b4a0fc72147f555676c118a6fd13
refs/heads/main
2023-06-02T19:09:14.996191
2021-06-17T06:43:22
2021-06-17T06:43:22
377,701,947
3
1
null
null
null
null
UTF-8
Python
false
false
7,411
py
import os import random import numpy as np import torch import pytorch_lightning as pl from torch.utils.data import Dataset, DataLoader from transformers import AdamW, T5ForConditionalGeneration, T5Tokenizer, get_linear_schedule_with_warmup # 乱数シードの設定 def set_seed(seed): random.seed(seed) np.random.seed(seed...
[ "toshi@Mac-ptt.local" ]
toshi@Mac-ptt.local
d3ccd807f7b8490745b957d2c89790b672f754c5
38ea5e22afbd1b3a353c2bafbddd1b2659c64209
/Python/calc.py
ce6ac18590c3ad9b9549f9c30aeff7e2f228cb2d
[]
no_license
Raysjc/python
200242a3ec8c7c30a5af14a12e6902c2ec474a93
93863ceb7e75b0037a8de73aa5b4b5617391dbd2
refs/heads/master
2020-12-01T06:49:20.016406
2019-12-28T07:55:40
2019-12-28T07:55:40
230,578,195
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
print ("Hello World!") def sum(op1, op2): return op1 + op2 def minus(op1, op2): return op1 - op2 def mult(op1, op2): return op1 * op2 def divide(op1, op2): return op1 / op2 def menu(): print(" Menu") print("[1] - Add") print("[2] - Subtract") print("[3] - Multiply"...
[ "noreply@github.com" ]
Raysjc.noreply@github.com
b30e1f00a7c498e849ea02cac85faa9435afc5cb
6bbdaf14c23d23702e1fc27cc40349b6c54c4709
/accounts/views.py
84c3bbdee18bd4f12c1b022df5aa989649a00712
[]
no_license
UsamaNawaz1/FreelanceJobMarket
9b810cc0552733aeab0c6b0554410b6538607810
d126714dcc06f91f11dce8e7206b730e1a625483
refs/heads/master
2023-05-25T23:35:58.058320
2021-06-05T12:11:51
2021-06-05T12:11:51
374,104,231
1
0
null
null
null
null
UTF-8
Python
false
false
16,943
py
from django.shortcuts import render, redirect from django.contrib.auth.forms import UserCreationForm from django.http import JsonResponse, HttpResponse from django.contrib.auth import login, logout from django.contrib.auth.decorators import login_required from django.contrib.auth import authenticate from django.contri...
[ "usamanawaz1994@gmail.com" ]
usamanawaz1994@gmail.com
ead4250fa9612d4baad9c9740790c4ad8c2b510d
a3785b6ff7734d98af1417000cd619a59bd5a268
/part_1_illustration/ga.py
b2ee2731865273695da7b558d2e297854a93b084
[]
no_license
SuryodayBasak/mst-final-run
bd9800744ab4fb6f0947c258ebc1be1151bc9ff2
2cde94af03d63f66cc3753843e4e60c92c313466
refs/heads/master
2022-07-01T22:40:39.003096
2020-05-09T04:25:18
2020-05-09T04:25:18
260,341,230
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
import numpy as np import random class GeneticAlgorithm: def __init__(self, n_dims, N_init, mu = 0.001): self.n_dims = n_dims self.mu = mu #Initialize population self.population = np.random.rand(N_init, self.n_dims) self.fitness = None def crossover(self, N_cross): ...
[ "suryodaybasak@gmail.com" ]
suryodaybasak@gmail.com
555b322a5669fc5bd21c772037c09b21974363db
c2ee9d6d84e2270ba4c9d6062460a2be0ff5f19c
/708. Insert into a Sorted Circular Linked List.py
bc945a6e28aeb948bfa2169748de9206d81682c7
[]
no_license
Peiyu-Rang/LeetCode
0dd915638e8c41c560952d86b4047c85b599d630
f79886ed3022664c3291e4e78129bd8d855cf929
refs/heads/master
2021-11-27T23:48:39.946840
2021-11-09T12:47:48
2021-11-09T12:47:48
157,296,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
# -*- coding: utf-8 -*- """ Created on Wed May 12 23:22:09 2021 @author: Caven """ """ # Definition for a Node. class Node: def __init__(self, val=None, next=None): self.val = val self.next = next """ class Solution: def insert(self, head: 'Node', insertVal: int) -> 'Node': if head i...
[ "prang3@gatech.edu" ]
prang3@gatech.edu
571b5cab5e89333a2fe9a05f143579374f1e7336
16cbb6cfa2201934db9011e7eba18bdebd9357d0
/optiloops.py
eb4415a9c8cdb62494d6dc9d89e5117a1152165b
[]
no_license
Dreadchild/-Blender-
9da0e067bf47b55599086b60d8bcc489a86f6e5d
baa2945d72379f2cf4b6da5ae20a7453dfdb0856
refs/heads/master
2022-12-16T20:14:52.026188
2020-09-01T16:22:57
2020-09-01T16:22:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,460
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "noreply@github.com" ]
Dreadchild.noreply@github.com
20fd02d08428f5b26d7cd204290cbcefb30b0d46
144c150fe5b4e3df33d36b550f2e0d0d694e4154
/hw1.py
29c7f14ac9fa563812e060c842c03388e7e0a91c
[]
no_license
pyang4/msan698-hw1
4ce412d8594f910d620102eef54e7f48e76f5dae
55467b7d6de11849f797cc1fb257e555eee2a042
refs/heads/master
2021-04-15T10:21:05.558427
2018-03-23T19:16:37
2018-03-23T19:16:37
126,527,162
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
""" Created on March, 2018 @author: Diane Woodbridge """ import sys import os def function_with_many_many_argunemts(variable_1, variable_2, variable_3, variable_4): print("wow") def another_function(): print("wow") def insert(data): preprocessed_data = [1, 2] ...
[ "phyang3@dons.usfca.edu" ]
phyang3@dons.usfca.edu
6a50f4e7ffe144e16194fc0e6f5295d2f9d0a997
96311d4ad2d3d620853ed538e9631f7de8f86944
/lefffExtractor/LefffExtractor.py
709948c01da1da2fe5bc53a9ed09751b3dc43523
[ "Apache-2.0" ]
permissive
Krolov18/Languages
1b37faf1ab825d0db7663f7dcc7b6d7a4e0ce385
549952886f73f0b8e1b9e6393875f5473b591407
refs/heads/master
2021-05-04T10:12:23.446838
2017-01-03T20:20:18
2017-01-03T20:20:18
49,289,124
1
0
null
null
null
null
UTF-8
Python
false
false
4,919
py
__author__ = 'korantin' from DecoupeurRecursif import DecoupeurRecursif import re, sys from yaml import load, dump from codecs import open import pickle with open("../RESSOURCES/lefff-2.1.txt",'r','latin-1') as lexique: lexicon = [] for ligne in lexique: if not ligne.startswith('#'): lexi...
[ "korantin.leveque@gmail.com" ]
korantin.leveque@gmail.com
dbaba92b4d25cfbf94c508d9c250c7ee484e5962
7655e5f4e2692093ad49970ef52a6adc1974dbed
/config/settings/production.py
b5b73f4c83f9f6c8d1cf716c38987118d1484d1c
[ "BSD-3-Clause" ]
permissive
addys888/metaci
4c4e739b8e35230a26c366f04a9fafab14e3f363
87fe4ff144b7a0295e94806f4abe699fc606988d
refs/heads/master
2020-04-08T18:39:40.439583
2018-12-27T06:14:04
2018-12-27T06:14:04
159,618,556
0
1
BSD-3-Clause
2018-12-07T09:55:28
2018-11-29T06:28:54
Python
UTF-8
Python
false
false
9,890
py
# -*- coding: utf-8 -*- """ Production Configurations - Use Amazon's S3 for storing static files and uploaded media - Use mailgun to send emails - Use Redis for cache - Use sentry for error logging """ from __future__ import absolute_import, unicode_literals from django.utils import six import logging from .com...
[ "adarshsngh73@gmail.com" ]
adarshsngh73@gmail.com
fe59fe346826a8d30f5af1322e259da2683205ec
0db7b8c009a2db07a35c099ea54870ff9ddfaa41
/ss.py
b986be34a27cbf91d524ead778fbfe00c4c53c52
[]
no_license
ubstart707/TelegramBot
2f0f8a517b77ba6dfeab9e556e64d5aac8fb866f
2ff4e3929e3d6aae273d3e4e53b0d53ad6ccd544
refs/heads/master
2020-04-01T05:57:48.867211
2018-11-18T15:24:12
2018-11-18T15:24:12
152,927,232
0
0
null
null
null
null
UTF-8
Python
false
false
2,215
py
import time from bs4 import BeautifulSoup import requests import os url = 'https://www.islom.uz/' r = requests.get(url) soup = BeautifulSoup(r.text, 'html.parser') path = '' namaazNames = soup.select('div.p_v') namaazNames = [namaazName.text for namaazName in namaazNames] namaazTimes = soup.select('div.p_clock') na...
[ "ubstart707@gmail.com" ]
ubstart707@gmail.com
5941bda4adcbcc72eb0969d934b98f492b8328a6
b05fd557048a2e3e2eaf0aaaac1d415f88dbc408
/cruisin_classics_scrape.py
a2d96ef3f451f09b8e5acc0eef316b3a4c6dc72d
[]
no_license
goodwordalchemy/cruisin_classics_scrape
bafd4a02f40f15c93453c7f73d577b84595f0329
941d856daf00975895e62703dbfa3188cddb4559
refs/heads/master
2021-08-14T21:50:12.260827
2017-11-16T21:19:27
2017-11-16T21:19:27
111,023,506
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
from bs4 import BeautifulSoup import pickle import requests url = 'https://www.discogs.com/label/801577-Cruisin-Classics' headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0' } r = requests.get(url, headers=headers) soup = BeautifulSoup(r.content) table = soup.find(id='...
[ "goodwordachemy@gmail.com" ]
goodwordachemy@gmail.com
f5a62167ad7f9a3a7374cc3eddf00f05490b5456
039cbe06a624a5feb77264fde9a922029bf0920e
/proyecto1/tienda/admin.py
dbcf3693e9c9339c5cbaf5a399206f81eed51c9c
[]
no_license
cmr451/proyecto1
c429661c606353ca00cbf18b7f2f6ea13e7bc12d
51c0409a5b8f6b5918d82a176907b0366d9006e7
refs/heads/master
2020-09-20T23:38:34.768159
2019-11-28T09:40:13
2019-11-28T09:40:13
224,618,473
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
from django.contrib import admin from tienda.models import Cliente, Producto # Register your models here. admin.site.register(Cliente) admin.site.register(Producto)
[ "noreply@github.com" ]
cmr451.noreply@github.com
3dba926fc4272e0315d39d96a284468daa9015f8
0797cc84f8783d8b615aa3ea42aeff91b29e18ed
/main.py
ac54dc68720205f6a95cf5475bfab29ba44d34ba
[]
no_license
hryniej2/CW_WD_NUMPY
379700af9a8bbdc313fa26c981eac14e2774aedd
4316dea859cd5a4485aa5ee2d7c4025fe33e9eab
refs/heads/master
2023-04-17T22:50:46.452685
2021-04-14T16:53:41
2021-04-14T16:53:41
357,978,532
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
import numpy as num # ZAD 1 # krotnosc = num.arange(4,20*4+4,4) # print(krotnosc) # ZAD 2 # polecenie = num.arange(0, 0.2, 0.01) # print(polecenie) # ewolucja = polecenie.astype('int32') # print((ewolucja)) # print(ewolucja.dtype) # Zad 3 # def funkcja(n): # a = num.empty((n,n)) # a = a.astype('int') # b ...
[ "jakubhryniewicki21@gmail.com" ]
jakubhryniewicki21@gmail.com
4925f99e653223883fd57896ff5423adeca34184
e0390d987cf00c766641c9ab346cf7dcb59d320b
/ver/final.py
d3f2e5b5501a8b103cd1d4b2b6f18026133bb5ef
[ "MIT" ]
permissive
khyatichandak/EyeTrackingSystem
4efa3226086cc673d7c8a0bbe6370637039f6134
45a884c8b64bd2035ab820da44bf38ef6131a9c3
refs/heads/master
2020-07-12T06:37:18.121937
2019-09-09T19:52:01
2019-09-09T19:52:01
204,745,418
0
0
null
null
null
null
UTF-8
Python
false
false
12,172
py
import cv2 import numpy as np import dlib from gaze_tracking import GazeTracking import pyautogui as pag from math import hypot from numpy import array import win32com.client import winsound # Load sound speaker = win32com.client.Dispatch("SAPI.SpVoice") gaze = GazeTracking() webcam = cv2.VideoCapture(0) board = np....
[ "khyati.agola@gmail.com" ]
khyati.agola@gmail.com
ad71308e70690de58c8bb93c0a7493aa18aace2e
a2a99278deab6edd8ac4800781978610d01bb779
/temp.py
57658bca22b497f6d5deb6a5750c96aa36333c1e
[]
no_license
hjh6230/CRF_KeywordExtraction
467d14b73a4a8c3be45503fe66b86612ec975a5e
daa203644bc7d6ae220df4792b36d90c274e7be6
refs/heads/master
2021-04-15T17:17:41.175210
2018-11-13T15:02:30
2018-11-13T15:02:30
126,869,204
1
0
null
null
null
null
UTF-8
Python
false
false
8,853
py
import keras import matplotlib.pyplot as plt from keras.models import Sequential,load_model from keras.layers import Dense, Dropout, Activation,Input from keras.layers import LSTM,TimeDistributed,Bidirectional from keras.utils import to_categorical from word2vec2 import word2vec,loadWordVecs,vec2word,featureExtra...
[ "noreply@github.com" ]
hjh6230.noreply@github.com
2a021b30743ab086c068e49e57e334bca10dd1c4
8dcf32559f7579a81fecfa0ba5a28dd146f6a5b8
/core/models.py
4b9c1d14c1c3d2950eea3753e7038654b54dcc55
[]
no_license
soyArturo/POS
3c1d8a48d7a555ebcc84188da04aaeb8b4e41f4a
d3ca70f2627050ac06fdecbf3b21802e6cc33d1a
refs/heads/master
2022-05-25T18:23:37.971077
2020-04-25T23:28:44
2020-04-25T23:28:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
from django.db import models from django.contrib.auth.models import User from POS import settings class ClaseModelo(models.Model): estado = models.BooleanField(default=True) fc = models.DateTimeField(auto_now_add=True) fm = models.DateTimeField(auto_now=True) uc = models.ForeignKey(settings.AUTH_USER_...
[ "prz.arturo@gmail" ]
prz.arturo@gmail
99daa699063f65bf07cfbc8e504d64a6a1988f15
38372fcc2ca58798176267360ff07f886400bc7b
/core/migrations/0031_auto_20191025_1440.py
a36d5cc6cf669825b0123f70fe5f3de65fe299fc
[]
no_license
portman-asset-finance/_GO_PAF
4eb22c980aae01e0ad45095eb5e55e4cb4eb5189
ee93c49d55bb5717ff1ce73b5d2df6c8daf7678f
refs/heads/master
2020-09-21T05:22:10.555710
2019-11-28T16:44:17
2019-11-28T16:44:17
224,691,377
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
# Generated by Django 2.1.12 on 2019-10-25 14:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0030_ncf_bacs_file_signatures_processed'), ] operations = [ migrations.AlterField( model_name='ncf_bacs_file_signatures...
[ "portman-asset-finance@outlook.com" ]
portman-asset-finance@outlook.com
03e41cee3ee82d288b1d3986d77486dc0ab81671
f2af6a5d41bbc08bc7b3291bbdc9d28020bf4c78
/Practica_5/test_polynomial_curve_fitting.py
d2219118fc96c64d238a5632019547a8cf459702
[]
no_license
alejandroag/gcom
6925db1a803492188f234692d1e40a5542a4fc1f
0421a33bd78be32cf3eeb24cc9c7f3c9b2833dce
refs/heads/master
2021-03-12T19:33:21.572270
2015-04-20T13:45:00
2015-04-20T13:45:00
34,068,914
0
0
null
null
null
null
UTF-8
Python
false
false
5,132
py
import numpy as np import matplotlib.pyplot as plt import timeit from polynomial_curve_fitting import polynomial_curve_fitting def test_least_squares_fitting(): n = 10 x = np.random.randint(-10, 10, size=(n, 2)) knots = np.linspace(0, 1, n) num_points = 200 poly_0 = polynomial_curve_fitting(x, ...
[ "aleagui1992@gmail.com" ]
aleagui1992@gmail.com
271ae5ca4139a9b9302f09300148038a65288bf4
901ce1a7e6ebb051a8f87062a0e9f4c5c45d970f
/main.py
749100c38b55e24037e17186d1a2ef71a56720ac
[]
no_license
Supremist/PrimeSearcher
2ac50cf9459771a9fa42a7015aa88b7fde6d9708
836035414b4bc3167bbdd406e86d2af634da7d10
refs/heads/master
2021-01-19T05:01:47.551542
2016-06-14T20:58:09
2016-06-14T20:58:09
61,155,402
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
# coding=utf-8 import math from timing import timing @timing def get_primes_with_remember(max_number): primes = [2] for number in range(3, max_number): square_root = math.sqrt(number) for divider in primes: if divider > square_root: primes.append(number) ...
[ "sergkarv@gmail.com" ]
sergkarv@gmail.com
b9779a67e9106a265b2663e3a9f8e6b5cf4606bb
bdb1a312d8600c6cbf531ac86d1ec770e4a06d70
/conftest.py
2e7bd19523ab21a611cf55ec9d92bd679f486e42
[ "Apache-2.0" ]
permissive
dcramer/kollect
9977c1433a25e549bd19096b7c437a5439f93bbb
a8586ec07f671e01e80df2336ad1fa5dfe4804e5
refs/heads/master
2020-05-16T07:59:05.019094
2019-04-23T02:15:40
2019-04-27T19:19:45
182,894,090
1
0
null
null
null
null
UTF-8
Python
false
false
1,334
py
from uuid import UUID import graphene.test import pytest from django.contrib.auth.models import AnonymousUser from kollect import factories from kollect.root_schema import schema class Context(object): user = AnonymousUser() class GqlClient(graphene.test.Client): def execute(self, query, user=None): ...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
d6d3ce3448268ec9fb1c6f812130ef47550b2050
bd8532378ad2a61240faaa7be8ef44c60c055a2a
/rabona/data/leagues/Major League Soccer/New York Red Bulls/New York Red Bulls.py
885e5775e7b3d9f6d86b50041a7d6059bcdf4f20
[]
no_license
nosoyyo/rabona
278a9dfe158e342261343b211fb39b911e993803
b0af3ab5806675fbf81b038633a74943118a67bb
refs/heads/master
2020-03-16T06:56:55.277293
2018-05-30T11:45:51
2018-05-30T11:45:51
132,565,989
2
1
null
2018-05-30T11:45:52
2018-05-08T06:44:11
Python
UTF-8
Python
false
false
11,087
py
club_info = {'club_url': 'https://www.futbin.com///18/leagues/Major%20League%20Soccer?page=1&club=689', 'club_logo': 'https://cdn.futbin.com/content/fifa18/img/clubs/689.png', 'club_name': 'New York Red Bulls'} players = {} players['Wright-Phillips'] = {'player_url': 'https://www.futbin.com//18/player/18664/Wright-Phil...
[ "oyyoson@gmail.com" ]
oyyoson@gmail.com
7ae0bb18328addbd924019da293a8f575931758d
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/bwobsolete_helpers/PyGUI/Console.py
5192451643ffdf6abcc8a58fe7a39d63cf12f32a
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
6,546
py
# 2016.11.19 19:47:46 Střední Evropa (běžný čas) # Embedded file name: scripts/client/bwobsolete_helpers/PyGUI/Console.py import BigWorld, GUI import Keys import math from Listeners import registerDeviceListener from PyGUIBase import PyGUIBase MAX_HISTORY_ENTRIES = 50 class Console(PyGUIBase): factoryString = 'PyG...
[ "info@webium.sk" ]
info@webium.sk
f21631c03270cf938b92455a67e113db9b7c7471
1b9ffc6033c810959d739e0389f490f1573bab2a
/py_functions/tensorflow_tf/tf_train_Saver.py
3a7620d51f3af371511326518f43a73dc1236ba8
[]
no_license
VicnentX/MachineLearning_PorjectsAndNotes
7867142fee044d49ca03d6177fa50e199316ea5f
9eb29e47a67d499da0cd880664ae660ff31cbcad
refs/heads/master
2020-05-15T07:42:54.748552
2019-12-13T05:31:15
2019-12-13T05:31:15
182,145,261
0
0
null
null
null
null
UTF-8
Python
false
false
3,551
py
# https://blog.csdn.net/mzpmzk/article/details/78647699 import tensorflow as tf import os import numpy as np def myregression(): """ 自实现一个线性回归预测 :return: """ # 1. 准备数据, 1 个特征 【100, 1】 y【100】 100个sample x = tf.random_normal([100, 1], mean=1.75, stddev=0.5, name="x_data") # 矩阵相乘必须是二维的 y...
[ "chunqiu1xia@gmail.com" ]
chunqiu1xia@gmail.com
a33717cf057c1911e2532a76d8657afcd2dd6faa
e96651ad687a4290686d9f50b531fc13b9f0edd5
/glove_test.py
0bf80f0b9923d867d79d049e80c732e1b2f26418
[]
no_license
KevinFang97/ano
50dc74b79e7956d5a224266b6ea43ed1ca80d276
125db6881ff267edc0ceee13cdd3bef697e97ebe
refs/heads/master
2021-09-01T14:34:22.020179
2017-12-27T13:42:38
2017-12-27T13:42:38
112,478,602
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
import numpy as np def loadGloveModel(gloveFile): print("Loading Glove Model") f = open(gloveFile,'r') model = {} line_count = 0; max_line = 10000 #for test for line in f: splitLine = line.split() word = splitLine[0] embedding = np.array([float(val) for val in splitLine[1...
[ "noreply@github.com" ]
KevinFang97.noreply@github.com
031fb5c39a5ed811e9c30aa59fc0a84838d218f8
39f0edc7aa402da0dba9ccf5663a6d13e8dfefc1
/controller.py
492fd51e9ba9162c46e49910598d7c0d7e3133b6
[]
no_license
lljuniorll/desafio-tv-globo
9718eee01c99b196d2c27829ac307a2281cc7147
2836f4998bd47bb05f6ec395d6709f14e7c88cbd
refs/heads/master
2020-04-24T00:14:58.128604
2019-02-20T01:23:41
2019-02-20T01:23:41
171,560,659
0
0
null
null
null
null
UTF-8
Python
false
false
7,365
py
from model import CutInstruction, CutInstructionSchema, CutJob, CutJobSchema, CutFile, CutFileSchema, session import datetime import requests import os import re import constants as cons cut_instruction_schema = CutInstructionSchema() cut_file_schema = CutFileSchema() cut_job_schema = CutJobSchema() class File: ...
[ "sergiotoledo@bconn.com.br" ]
sergiotoledo@bconn.com.br
41a14c0e31f59ee7256eda5a6ce03b147a61303d
7dbe0daf56af3752498c0b70ebbad2e2fc9b11e4
/targetshare/models/relational/proximity_model.py
d4d055131e12c0252134f85bb76028772a633909
[]
no_license
edgeflip/edgeflip
db737518ff9a6f377f3dfab16f27572a5e68c1aa
bebd10d910c87dabc0680692684a3e551e92dd2a
refs/heads/master
2020-04-09T16:41:15.815531
2015-05-17T22:14:42
2015-05-17T22:14:42
7,248,450
1
0
null
null
null
null
UTF-8
Python
false
false
560
py
from django.db import models class ProximityModel(models.Model): proximity_model_id = models.AutoField(primary_key=True) name = models.CharField(max_length=256, null=True) description = models.CharField(max_length=1024, null=True) is_deleted = models.BooleanField(default=False) create_dt = models...
[ "jesse@edgeflip.com" ]
jesse@edgeflip.com
42af8f467697b652ec040251c1e83cae85438dae
df8404f67042f8f27251d3d43804867408ec756d
/qps-analyse.py
dfef433175174e14bed7a977a074846f3f3cc7bd
[ "Apache-2.0" ]
permissive
fcelda/dns-tcp-stats
97b4d7e28e0aa118bf81db50139a1c1d5faf2bb8
6b38596fed480b535aa569a319952c589a3c5a23
refs/heads/master
2020-12-30T13:28:49.069171
2017-05-14T09:59:15
2017-05-14T09:59:15
91,223,356
3
0
null
null
null
null
UTF-8
Python
false
false
2,749
py
#!/usr/bin/env python from __future__ import print_function import sys import csv import json import collections import ipaddress def split_value(row, name, map_cb=None): value = row.get(name, "") values = value.split(",") if value != "" else [] if map_cb is None: return values else: r...
[ "jv@fcelda.cz" ]
jv@fcelda.cz
7e28279feb938861c7db7ba7ea03dc38206b752f
47b38cc1fc3a032f60d772e0ffcbe556e2986b8f
/svn_connector/svn_conn.py
cbcff5b3ce4903efdbb8000954d71badbdfe8fca
[ "Apache-2.0" ]
permissive
kant/svn-connector-for-storediq
64ad0f5a2f5f79b6e76e577c23406c00075ad7d9
7c0f24258b2fe06e2c41e7cb62c8c8e812b5d30a
refs/heads/master
2020-03-19T12:22:55.447100
2018-06-07T12:51:42
2018-06-07T12:51:42
136,513,873
0
0
Apache-2.0
2018-06-07T18:05:29
2018-06-07T18:05:28
null
UTF-8
Python
false
false
32,027
py
''' #------------------------------------------------------------------------------------------ # DISCLAIMER OF WARRANTIES. # The following code is sample code created by IBM Corporation. IBM grants you a # nonexclusive copyright license to use this sample code example to generate similar # function tailored to y...
[ "noreply@github.com" ]
kant.noreply@github.com
87869714674d944bfea5f6967ca78d445d95c22a
dc09f42afada25b536895df232531fb38d11a008
/log_settings.py
c5acfd737266dd9c3c0dde50bd4c3064cbe0a30f
[]
no_license
zaharay/json_parser
626241fed019968fda467f3fb5ba416f6e508fbe
1f55364c9eff1dcd3190807c0c90c50a31fb93c3
refs/heads/master
2023-07-11T04:47:20.449364
2021-08-16T11:51:42
2021-08-16T11:51:42
360,473,977
0
0
null
null
null
null
UTF-8
Python
false
false
2,611
py
""" log_settings.py Модуль настроек логгеров: simple_logger - логгер для сообщений 'Старт' и 'Стоп' app_logger - логгер для сообщений с приоритетом от DEBUG и выше """ import logging class MegaHandler(logging.Handler): def __init__(self, filename): logging.Handler.__init__(self) self.filename = f...
[ "zaharay@yandex.ru" ]
zaharay@yandex.ru
8aa19fd0bc578107d06a18b7f710f976051a7684
cc9b8184c53529d763759a50d5830c0b7f6c6782
/future_value.py
a3032b8a5b0d4d3ced023633f356b294c588ae67
[]
no_license
22zagiva/1.2-exercises
5de028bae6d21f19ff42e00366bef845399d1058
b3cc9ca3d759fa82533d3bfaf1c32e3527c6e7e0
refs/heads/master
2020-09-06T03:16:20.116589
2019-11-08T14:26:27
2019-11-08T14:26:27
220,302,728
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
#!/usr/bin/env python3 # display a welcome message print("Welcome to the Future Value Calculator") print() choice = "y" while choice.lower() == "y": # initialize variables monthly_investment = 0 yearly_interest_rate = 0 years = 0 monthly_interest_amount = 0 while monthly_inves...
[ "noreply@github.com" ]
22zagiva.noreply@github.com
4fab92a80e440d9e1e6feb7bec374aa34a15ccd9
be965d02e9fd84e2e94e36551a2751f85c2d82ef
/Chapter1/First_Last.py
d9168c1f9effff24bdcfdb631df554fffd4cb87d
[]
no_license
Anshomyous/Python-practise
6fc76c7cf279dccb9a20ee6d994bf6148d30d854
a36f39a7f891e0249fc0013dc5e8187ccbf568d3
refs/heads/main
2023-06-21T14:42:51.794667
2021-07-31T15:03:45
2021-07-31T15:03:45
390,832,596
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
sum = int(input("Enter the number: ")) a = int(sum % 10)+int(sum/1000) print("The sum of first & last no. are : ", a)
[ "sohamr@infinite.com" ]
sohamr@infinite.com
a992d1152c5be474e340cc5c29cf8b8f7842aed3
758bf41e46a3093f4923af603f1f7f8063408b9c
/website/testFromRemoteRepo/_bsch3398/museum/python/django/utils/simplejson/decoder.py
e41a1159557db57daa3113426ba5391664e79a9e
[ "MIT" ]
permissive
mpetyx/mpetyx.com
4033d97b21c9227a6ba505980fd0c1b57254e8fb
d50c379b4fe09e0135656573f7049225fc90ae36
refs/heads/master
2021-01-10T19:50:15.488371
2014-01-22T09:04:14
2014-01-22T09:04:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,984
py
"""Implementation of JSONDecoder """ import re import sys import struct from django.utils.simplejson.scanner import make_scanner c_scanstring = None __all__ = ['JSONDecoder'] FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL def _floatconstants(): _BYTES = '7FF80000000000007FF0000000000000'.decode('hex') if s...
[ "mpetyx@gmail.com" ]
mpetyx@gmail.com
b7aaf762c480e33d6ce227b84721007c6b47a082
106e6ad652abb5e45a1a7d63886e46928f0a7fdd
/010/python/010.py
69838f55215c64db3479da5a61861a8b609f50c2
[]
no_license
Chippers255/ProjectEuler
fe99a12dc82e9e0930725aabbe7bec3b112398f3
8e75eb80b6ab34c725f9fe16fefaed2bc97490bf
refs/heads/master
2021-11-25T06:19:21.220832
2021-10-28T01:47:47
2021-10-28T01:47:47
18,447,336
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
# Project Euler Problem # 10 def isPrime(n): # 0 and 1 are not prime numbers if n < 2: return False # Mark 2 as a prime number if n == 2: return True # Check for any even number and return false, bitwise and if not n & 1: return False # Range starts with 3 and only needs to go up the...
[ "tn90ca@gmail.com" ]
tn90ca@gmail.com
ad2c9b7e94c237c5df1869e5634d637eae5bcada
469b3a91a3afabd1ac8bd135af2c3839a2298e27
/blogcrawler/blogspider/spiders/bspider_gamma.py
35a80ddefc9841e73d42826c5eda113aa40545c9
[]
no_license
jezeelmohd/blogcrawler
49fac92d559b858e78746567b5ff8d151e842448
2d3c481c13fd1a788348e0d2731503436fa313c3
refs/heads/master
2020-12-24T17:08:44.470498
2014-01-26T01:19:47
2014-01-26T01:19:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,245
py
import re import csv import time from items import BlogItem from fuzzywuzzy import fuzz from nltk import clean_html from scrapy.item import Item from urlparse import urlparse from scrapy.http import Request from scrapy.selector import Selector from collections import OrderedDict, Counter from scrapy.contrib.spiders imp...
[ "jezeel@quadloops.com" ]
jezeel@quadloops.com
5a668a78310a29db11e8c2f968fa104e08adb74f
cd84b46ee2bf6c9a8c3c4c4a592f4d5110f3fe71
/test_calculator.py
e97073edd9479b7e8d8179ebd96cedf04b892d27
[]
no_license
songx2-xy/CalculatorAppCI
7e16588e0d758144af60851e1729ced0f1b8c380
d31b8a9774247645275edec9ce4b8ebb6299d3b3
refs/heads/main
2023-03-14T14:19:05.431301
2021-03-14T06:57:14
2021-03-14T06:57:14
346,766,369
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
#! /usr/bin/env python3 # coding=utf-8 """ Unit testing the calculator app """ import calculator class TestCalculator: def test_add(self): assert 5 == calculator.add(1, 4) def test_subtract(self): assert 2 == calculator.subtract(5, 3) def test_multiply(self): assert 2 == ca...
[ "songx2@oregonstate.edu" ]
songx2@oregonstate.edu
94c4a64ddb64bd10e62b9900c4645a5862443b76
9ca2f63f855906695b4b587f137257a7793a75bb
/Hlt/Hlt/Hlt2Lines/python/Hlt2Lines/CaloTest/Lines.py
e5c5f37c661d828deed77db615fe081bd491c2f3
[]
no_license
kidaak/lhcbsoft
a59ffb6c884e5b6e2d28740551d3c49f8338ec3d
b22a1dfea5d4d572e318d1e5d05dfb7484da5f3d
refs/heads/master
2021-01-22T16:53:18.266147
2015-12-10T14:40:48
2015-12-10T14:40:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================= # @file Hlt2CaloTest.py # @author Albert Puig (albert.puig@cern.ch) # @date 19.12.2014 # ============================================================================= """Test for Calo recons...
[ "raaij@4525493e-7705-40b1-a816-d608a930855b" ]
raaij@4525493e-7705-40b1-a816-d608a930855b
27c0fe609b593d75a9d9c00780603d84a1d71159
f252214c417a1d0d7735125c09d5651f6fca0880
/scrapper/core.py
538bd9d83539d8e89a5b3da9efd675d4848a8cb3
[ "MIT" ]
permissive
jakubmatyszewski/nofluffscrapper
ac039ff0bb3e46529014dcf28fe19de569ca8c82
f7dc1b426bccf035eef6637d5621c235834b62ef
refs/heads/master
2021-07-14T15:21:57.159010
2020-09-17T22:00:09
2020-09-17T22:00:09
247,995,505
0
0
MIT
2021-06-02T02:51:30
2020-03-17T14:47:32
Python
UTF-8
Python
false
false
7,207
py
import time import json import redis from datetime import datetime from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities MAX_WAIT = 60 URL = 'https://nofluffjobs.com/' redis_client = redis.Redis(host='redis', charset="utf-8", ...
[ "jakubmatyszewski1@gmail.com" ]
jakubmatyszewski1@gmail.com