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
57eedbf7a736140f82bbccd1f1a51547fd2a73bc
1e0591a547e4e7f06b48a536870ceaf630f7afc5
/coding/optimization/alphabet.py
d3cc42aa621427cf5a1dc9c215804beb42adfd74
[ "MIT" ]
permissive
Tom83B/rate-code-eff-2019
c02140d90093f6950639dc35b738ea838727562e
d494d20334fcbbf94865eafef2ec54a4d12557f2
refs/heads/master
2020-05-26T12:05:23.395382
2019-08-06T09:03:35
2019-08-06T09:03:35
188,226,457
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
from optimization.blahut_arimoto import optimize def kostal_method()
[ "tomas.barta@datatree.sk" ]
tomas.barta@datatree.sk
dce5217f537b1368245960c5d19597735d145b4a
b6fc54cff7037f5e4ef26cb4a645d5ea5a6fecdf
/001146StepikPyBegin/Stepik001146PyBeginсh07p01st01T01_for_20200420.py
e9b62e163ccebe48ce59797d086fef7a96ccb3fa
[ "Apache-2.0" ]
permissive
SafonovMikhail/python_000577
5483eaf2f7c73bc619ce1f5de67d8d689d2e7dd4
f2dccac82a37df430c4eb7425b5d084d83520409
refs/heads/master
2022-12-08T10:53:57.202746
2022-12-07T09:09:51
2022-12-07T09:09:51
204,713,341
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
# реализация множественного ввода for i in range(5): num1 = int(input()) print("Квадрат числа равен:", num1 ** 2) print("Цикл завершен")
[ "ms33@inbox.ru" ]
ms33@inbox.ru
66da1530c50a7d57b3b4bba88cea4b8709782045
43f40e66ad46c85f95898716a0a3a21c0e620da1
/pinpoint/utils.py
f9c20de46f4b565dec8a57043a3f5020ffebd396
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
vivekhsridhar/pinpoint
67c7068bf76abcc912c4650bcb0b2b93249f1049
30821b0fb60445d29cbb629c1092292285d23e45
refs/heads/master
2021-08-24T06:53:25.049930
2017-10-12T10:17:30
2017-10-12T10:17:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,861
py
""" Copyright 2015-2017 Jacob M. Graving <jgraving@gmail.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.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
[ "jgraving@gmail.com" ]
jgraving@gmail.com
51f2a233d7c7f128e26895bc6586de808969a6a7
013f02062c47524548a35706fc20f2918beb2a58
/src/Core/Common/EagerModuleLoadingPython/Code.py
30cc367919d872e2332f9a12990183bbc7572034
[ "Apache-2.0" ]
permissive
InsightSoftwareConsortium/ITKSphinxExamples
c7190dd9ad07e6e627206740f3b97afb42a2b2be
112e57e6fad57c9a9d153f924a6db73ddc91eb5e
refs/heads/master
2023-08-17T14:27:13.046115
2023-07-26T21:07:20
2023-07-26T21:07:20
6,192,147
14
22
Apache-2.0
2023-07-26T21:07:21
2012-10-12T15:23:09
Jupyter Notebook
UTF-8
Python
false
false
1,043
py
#!/usr/bin/env python # Copyright NumFOCUS # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0.txt # # Unless required by applicable law or...
[ "tom.birdsong@kitware.com" ]
tom.birdsong@kitware.com
8de653c5cecc04ca28cbe359cd3176b93ee02584
2e2ec1c6c97e81f37b5e7db5e9b32adf2b873a47
/migrations/versions/5a7bbc9cb7a3_event_table.py
6d2a030358d158196f32f687ac4ac74fc934ac8f
[]
no_license
Ximin-Chen/Event_Searcher
a0fc15a2c68515e10d5c2c0c165af558baf51c43
6fb991296223b56ecfaa231383c926121fb94bcf
refs/heads/master
2020-07-27T06:52:37.109524
2019-12-09T08:45:05
2019-12-09T08:45:05
208,909,275
1
1
null
2019-12-11T04:15:47
2019-09-16T22:27:37
Python
UTF-8
Python
false
false
1,914
py
"""event table Revision ID: 5a7bbc9cb7a3 Revises: 94f6b4d83de1 Create Date: 2019-10-15 00:06:01.927665 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '5a7bbc9cb7a3' down_revision = '94f6b4d83de1' branch_labels = None depends_on = None def upgrade(): # ##...
[ "h4nn11113@gmail.com" ]
h4nn11113@gmail.com
41da1c69fa548b1097c3f610c247edc4b7263fb2
c770be697b646705031f48c128cfe25c5df14680
/infoworks/modify_idle_instances.py
2c320a8f3cc9307293e9e3d42ea2e9bc5f547274
[]
no_license
abhr1994/Python-Challenges
5fd09b9f3b330d969b515bdd39b8a9c3b159c3e4
3b1d7faa862ef341c9da833124925acc69b049ca
refs/heads/master
2023-06-02T03:02:32.627297
2021-06-09T15:27:02
2021-06-09T15:27:02
111,506,696
0
0
null
null
null
null
UTF-8
Python
false
false
4,717
py
import argparse import requests import sys class Databricks(object): def __init__(self, **kwargs): self.host = kwargs['host'] if 'host' in kwargs else None self.token = kwargs['token'] if 'token' in kwargs else None self.instance_pool_id = kwargs['instance_pool_id'] if 'instance_pool_id' i...
[ "abhr1994@gmail.com" ]
abhr1994@gmail.com
884a0b600ab0d1c224f04dbc9a3f59c3b47ca4f1
fcd965c9333ee328ec51bc41f5bc0300cc06dc33
/Coding Patterns/Fast & Slow Pointers/Palindrome LinkedList.py
8e1dc912eb07d240edfe2d100acd686917699403
[]
no_license
henrylin2008/Coding_Problems
699bb345481c14dc3faa8bab439776c7070a1cb0
281067e872f73a27f76ae10ab0f1564916bddd28
refs/heads/master
2023-01-11T11:55:47.936163
2022-12-24T07:50:17
2022-12-24T07:50:17
170,151,972
2
0
null
null
null
null
UTF-8
Python
false
false
3,389
py
# Problem Challenge 1: Palindrome LinkedList (medium) # https://designgurus.org/path-player?courseid=grokking-the-coding-interview&unit=grokking-the-coding-interview_1628743582805_17Unit # Problem Statement # # Given the head of a Singly LinkedList, write a method to check if the LinkedList is a palindrome or not. # #...
[ "henrylin2008@yahoo.com" ]
henrylin2008@yahoo.com
625966c2593a5ddd165c1684f4d98a3750669162
9e176aa27a717ae9fc398394fcb1948d39b6bd5e
/posthog/models/cohort.py
6b5c1dbb10aaa417bba93b6e74c76964fece1fa1
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
itsjwala/posthog
59c8e215fdd562a151b5aa4ce7ea65a3d7955757
56de9e9226446790b1c72f0ae602c1fe8904c919
refs/heads/master
2023-02-22T07:47:23.593337
2021-01-22T13:47:06
2021-01-22T13:47:06
277,621,685
0
0
MIT
2021-01-22T12:26:39
2020-07-06T18:42:33
null
UTF-8
Python
false
false
8,024
py
import json from typing import Any, Dict, List, Optional from dateutil.relativedelta import relativedelta from django.contrib.postgres.fields import JSONField from django.core.exceptions import EmptyResultSet from django.db import connection, models, transaction from django.db.models import Q from django.db.models.exp...
[ "noreply@github.com" ]
itsjwala.noreply@github.com
81c64e4a0e8ebf5bf7adac9b58f82099ede172ec
30f11f19b39287ec6e6cd5784a2f74dbf75cd803
/mysite/settings.py
5e72e93bc0d20be2c004293f5b402bec20880203
[]
no_license
jhjl023/my-first-blog
26af6176828a0c86abe46bafc2a0622f9cbee654
f3617ebb4af4e11c7d69d77af96359baae19a1eb
refs/heads/master
2021-01-20T18:34:26.442632
2016-07-30T15:58:32
2016-07-30T15:58:32
64,532,771
0
0
null
null
null
null
UTF-8
Python
false
false
2,702
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.8. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths i...
[ "jhjl023@naver.com" ]
jhjl023@naver.com
4df98b423cb6c082c08b54fdbf134f6143af4b37
cb6f314d0c8f1a943718caa46b47bbe5ef9908f5
/test/drawings/draw_hmab.py
21c985c2897367265b4cd012a1bfb34b55a9bbce
[ "MIT" ]
permissive
yunx-z/soln-ml
d702d5afef7d9204c89bdcba44e26f89a68b8923
f97c991c2ad287e8d295d3058b4a9b1fd50d847b
refs/heads/master
2022-12-26T18:00:51.457311
2020-09-13T08:31:58
2020-09-13T08:31:58
296,199,472
0
0
MIT
2020-09-17T02:37:20
2020-09-17T02:37:20
null
UTF-8
Python
false
false
1,574
py
import os import sys import time import pickle import argparse import numpy as np import autosklearn.classification sys.path.append(os.getcwd()) parser = argparse.ArgumentParser() dataset_set = 'diabetes,spectf,credit,ionosphere,lymphography,pc4,' \ 'messidor_features,winequality_red,winequality_white,sp...
[ "1225646303@qq.com" ]
1225646303@qq.com
0fd285f65a8894b2d2861cee670844635b17189c
6540dd798e84e8adffa90030c1d7e5ddc605786c
/AM-Python/Tune_SVM.py
ad268271733ab54672c6ed716b05f2beb67c2468
[]
no_license
iamduyang/Argument-Mining
b6051f781f835217dc979ff1b3b76a0948bfdd19
e5e4e3ea5e5c252cf79919eacfc9725095637467
refs/heads/main
2023-07-15T19:15:11.096408
2021-08-26T07:45:38
2021-08-26T07:45:38
396,830,589
1
0
null
null
null
null
UTF-8
Python
false
false
2,687
py
# -*- coding:utf-8 -*- """ # Author: Yang Du # Email: duyang2015 (-A-T-) iscas dot ac dot cn # Date: 2018-05-09 # Purpose: #------------------------------------------------------------# # Copyright (C) 2018 Yang DU # This code is freely available for non-commercial purposes #--------------------------...
[ "noreply@github.com" ]
iamduyang.noreply@github.com
1849bac316628694ea87ff00774d2816a84a04ce
6e4e395988c641856aa13aa3b68db838f0d47cc0
/Trying out DB-API.py
7a7c01c86e3f781089783e9aaf81459aec431027
[ "MIT" ]
permissive
fatih-iver/Intro-to-Relational-Databases
2669d060fd2f9c8884e936e541373eecfbe8634e
28528132378436d6dd1f1bdec96d1e7e285b4e4d
refs/heads/master
2020-03-16T11:26:54.090473
2018-05-09T21:32:38
2018-05-09T21:32:38
132,648,541
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
# To see how the various functions in the DB-API work, take a look at this code, # then the results that it prints when you press "Test Run". # # Then modify this code so that the student records are fetched in sorted order # by student's name. # import sqlite3 # Fetch some student records from the database....
[ "noreply@github.com" ]
fatih-iver.noreply@github.com
fcddfa609249023b06bb68a1609a0d3ccc5d73c1
18ec89aa906fde8afa7d01d82e013ddb482d3171
/python/autoscheduler/plateDBtools/database/connections/MyLocalConnection.py
4f5ce76bb393e72600d5bc5dcffead6103cc8bd3
[]
no_license
sdss/autoscheduler
e4293e1a2f4c38d10e46eeac5f72591830092b5b
e43a63997c499687bcc72f8b8978c5ecfa960d9e
refs/heads/master
2021-06-24T17:06:53.567140
2020-11-12T20:15:50
2020-11-12T20:15:50
149,633,762
1
1
null
null
null
null
UTF-8
Python
false
false
2,001
py
#!/usr/bin/python import os import sys import sqlalchemy from sqlalchemy.orm import sessionmaker, scoped_session from sqlalchemy.ext.declarative import declarative_base from autoscheduler.plateDBtools.database.DatabaseConnection import DatabaseConnection '''APO database configuration parameters''' db_config = { '...
[ "jdonor@D-108-179-167-200.dhcp4.washington.edu" ]
jdonor@D-108-179-167-200.dhcp4.washington.edu
6d21ad219bf506cf889bd6aa26475a4654dafd06
cb349cde86be783a154b984c05c288f04aee7aa7
/madt_ui/lab2graph.py
9474c44fe2d552d6a30fc5ce7dd2c681eab521b4
[]
no_license
ananassta/madt
531cdb72163061ead9f42ce7280ca936fb311797
ca7df8460448ae515f17bfb3a594b30ef9503415
refs/heads/master
2023-01-29T14:18:22.537742
2020-10-15T21:07:10
2020-10-15T21:07:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,127
py
import json def from_config_old(config_file_name): with open(config_file_name) as config_file: lab_config = json.load(config_file) nodes = lab_config['nodes'] edges = [] networks = {} for name in nodes.keys(): for network in nodes[name]['networks'].keys(): if not ne...
[ "rukmarr@gmail.com" ]
rukmarr@gmail.com
3b6061558fc7ecf7db895efd9893b58676d64b5a
e503363752205c9de4973a3f93083678fe6d0698
/object_detdction/Object Detection.py
1c448826a13e51f3f75c223d07b26c0c23e82fa0
[]
no_license
gingkg/object_detdction_water
fbe9321a1bf9a6cf342ce2e9e302d5c9f1b58c38
4a744f3c4fd9cf6b581480a5e2f441e21181f40a
refs/heads/master
2020-03-27T21:31:42.223386
2018-09-03T10:59:07
2018-09-03T10:59:07
147,152,628
1
0
null
null
null
null
UTF-8
Python
false
false
5,620
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 5 18:23:44 2018 @author: a123 """ import numpy as np import os import six.moves.urllib as urllib import sys import tarfile import tensorflow as tf import zipfile from collections import defaultdict from io import StringIO from matplotlib import pyplot as plt from PIL i...
[ "sby2015666@163.com" ]
sby2015666@163.com
8996b8adf82aca7a5986fb782de82dc021193aff
9515f8c7d690756de8032c3cd8e8374e6f5ad624
/serverless/functions/coupons/app.py
8c5fcd362ce515e540fc13ed2dd76be07421c8f7
[ "MIT" ]
permissive
webclinic017/broker-account-analist
c02baa28b1830093e92b4962c1fd06a4412e4173
cd5d95f0072c9d5985f72217556ec4adff486c4e
refs/heads/master
2023-08-26T01:17:15.167039
2021-11-12T11:48:35
2021-11-12T13:11:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
import json from service import Moex import asyncio def lambda_handler(event, context): """ Parameters ---------- event: dict, required API Gateway Lambda Proxy Input Format Event doc: https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api...
[ "rkorytoff@gmail.com" ]
rkorytoff@gmail.com
fa1d83149490bbaaf6e2373771de847c30a4191b
10326daa458342fd992f4bd2f9c63c9469ae5a11
/.graal-git-repo
419b5f2ded2ecc3adce67832c5ddb0e5577ca1db
[ "MIT", "CC-BY-SA-4.0" ]
permissive
charig/black-diamonds
b08c1d9dab528a9c9c935414e6af4faf2d5773fb
0fd46caeec41f57b621143be1e4bd22d5a9a7348
refs/heads/master
2020-04-12T20:04:36.490970
2018-09-22T13:39:03
2018-09-22T13:39:03
162,725,323
0
0
MIT
2018-12-21T14:47:34
2018-12-21T14:47:34
null
UTF-8
Python
false
false
2,522
#!/usr/bin/python # This is a self-updating script encoding the Graal+Truffle and mx repos and # revision used for testing on CI. We don't use submodules to avoid a hard # dependency that might bloat the repository of users of BlackDiamonds # # To checkout the repos, at the specified version for this version of the cod...
[ "git@stefan-marr.de" ]
git@stefan-marr.de
c8c468ad0d431e2dd1492941f8f148a3bdf6eeb6
5ad17b6457e738985ee061a3d8a7967540006c21
/difference-of-squares.py
f7eaaa94ecda577d63a4eeb6c86b577c318a42af
[]
no_license
abiramikawaii/Python
a1bb01a0746ba733c2abb3a46ba85daf8cee5669
b8469dc472340a799c5481c81bd8e3eed2234950
refs/heads/master
2022-12-13T21:11:28.486986
2020-08-19T15:25:51
2020-08-19T15:25:51
288,767,365
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
def dos(n): print("The number is "+str(n)) square_of_sum = sum(range(1,n+1))**2 sum_of_squares = sum(i*i for i in range(1,n+1)) difference_of_squares = square_of_sum - sum_of_squares print("The difference between the square of the sum and the sum of the squares is "+str(difference_of_squares)) dos(10)
[ "noreply@github.com" ]
abiramikawaii.noreply@github.com
dcb3980fb3389f1967bc679b30b0ca7aa6b476c9
08d316151302f7ba4ae841c15b7adfe4e348ddf1
/reviewboard/hostingsvcs/tests/test_fogbugz.py
97cccab17520fd5b84e7a49e97c38afd16cd410c
[ "MIT" ]
permissive
LloydFinch/reviewboard
aa8cd21fac359d49b3dfc5a68c42b857c0c04bd8
563c1e8d4dfd860f372281dc0f380a0809f6ae15
refs/heads/master
2020-08-10T20:02:32.204351
2019-10-02T20:46:08
2019-10-02T20:46:08
214,411,166
2
0
MIT
2019-10-11T10:44:55
2019-10-11T10:44:54
null
UTF-8
Python
false
false
952
py
"""Unit tests for the FogBugz hosting service.""" from __future__ import unicode_literals from reviewboard.hostingsvcs.testing import HostingServiceTestCase class FogBugzTests(HostingServiceTestCase): """Unit tests for the FogBugz hosting service.""" service_name = 'fogbugz' fixtures = ['test_scmtools'...
[ "christian@beanbaginc.com" ]
christian@beanbaginc.com
dbf3ee12750b85972d84a46800ebc813cf1eebc1
9b4aae68393ed420eee14c86bb5be2ac06e509be
/read dht sensor custom code.py
b52050f1459e0a53443a5a4c315e12544eedbbca
[]
no_license
VarSriv/rpisense
4709c47acf6968554192ef47c36421278adebb04
f04e519d8967f3c299df58f5dd723ceacc208182
refs/heads/master
2021-01-21T05:10:37.502465
2017-02-25T16:17:46
2017-02-25T16:17:46
83,143,974
0
0
null
null
null
null
UTF-8
Python
false
false
2,167
py
import RPi.GPIO as GPIO import time def bin2dec(string_num): return str(int(string_num, 2)) data = [] GPIO.setmode(GPIO.BCM) GPIO.setup(14,GPIO.OUT) GPIO.output(14,GPIO.HIGH) time.sleep(0.025) GPIO.output(14,GPIO.LOW) time.sleep(0.02) GPIO.setup(14, GPIO.IN, pull_up_down=GPIO.PUD_UP) for i in range(0,500): dat...
[ "varnika.srivastava@gmail.com" ]
varnika.srivastava@gmail.com
a3ed4c22c27ef24b07b4ce76b60d632ea251f1f0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/212/usersdata/265/87081/submittedfiles/av1_3.py
1d4a47463f8274d69023d764799f71ec143c55a0
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# -*- coding: utf-8 -*- import math a = int(input('digite o valor de a: ')) b = int(input('digite o valor de b: ')) c = int(input('digite o valor de c: ')) i=2 j=2 k=2 while i<=a: if a%i==0: divisor_a=i i=1+i print(i) while j<=b: if b%j==0: divisor_b=j j=1+j print(j) while k<=c: if c...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ce2e15d0a70e370a0bff53d1470422ca31723bcb
25bcf095a803470b4be9bba394569cb218b997ed
/hot100/148-排序链表.py
a1d4e1cac9f80aa815abe0bbfd2598153f41d204
[]
no_license
lcqbit11/algorithms
c8a3da6d3a9d387d54639c0a08d14ca6b9118bb3
ca4dacda39dc12d53ed8d4448b3356a3f2936603
refs/heads/master
2023-06-22T06:36:22.106780
2023-06-11T07:10:40
2023-06-11T07:10:40
245,633,883
0
0
null
2023-06-11T07:10:41
2020-03-07T13:02:24
Python
UTF-8
Python
false
false
2,656
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ## # 给你链表的头结点 head ,请将其按 升序 排列并返回 排序后的链表 。# from utils.listNode import ListNode def sortList(head): def merge(l1, l2): dumpy = ListNode(-1) temp = dumpy while l1 and l2: if l1.val <= l2.val: temp.next = l1 ...
[ "lcqbit11@163.com" ]
lcqbit11@163.com
02ec24fbcd3ec7fb51b2910e4d7827a28d97806d
c6ec5e205cce6c5525875e75b258ccbe62d16bdd
/page/controllers/alumnos/insert.py
cb2e7cfe508822641cf18cc6e6ff33fa42dcb861
[]
no_license
FernandoPZ/Week10
5492e699612437712260b04788a1eb1dbb1abc4b
0b1fd0959d9882f9745c7c671680f02d566a33ad
refs/heads/master
2022-11-18T05:58:47.219762
2020-07-19T04:47:20
2020-07-19T04:47:20
280,793,367
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
import web render=web.template.render('page/views/alumnos/') class Insert(): def GET(self): try: return render.insert() except Exception as e: return "--E-R-R-O-R--" + str(e.args) def POST(self): try: form = web.input() print(form) print(form...
[ "noreply@github.com" ]
FernandoPZ.noreply@github.com
a117105122d316f39f1c0c8abb8c225c0f8a5dee
cf70fa1ff36ce00581f6987d3d9895ceb13eb1b4
/Assets/Scripts/Old Python Scripts/Voice_Rec_threading.py
e15156d4218830ba9045f4ecd242b33e786edefe
[ "MIT" ]
permissive
Zevora/Chemistry-Learning-Aid
c66339533fd36f7e329c689ff589c32d8575fd72
958d83c3070477c6c8b4ee89ef58d1752fd42e61
refs/heads/main
2023-08-24T12:39:00.459704
2021-10-07T03:20:29
2021-10-07T03:20:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,710
py
############################################################################ # Purpose: # The purpose of this class is to more easily bring together the Voice Recognition # Libraries Seamlessly. Just need to Specify which model to use, provide the needed key(s) # # Extra Info: # The user can determine which model...
[ "34713514+Zevora@users.noreply.github.com" ]
34713514+Zevora@users.noreply.github.com
76934d606b698ef76801e2af1e3b1e968b5e2587
fb24234fc4fb06fa9c68b8b9900dddb27826c879
/2018/Advent2018/Day3/Day3_Part1.py
2d3440cf8cb6bb1e4c2d383b7d475fdec1cb512d
[]
no_license
killercatfish/AdventCode
9a2be360dffd6b03b8473a915db5676151ff9916
80e40727a1513a167cbc44a381b19db6c4733e44
refs/heads/master
2020-04-09T08:54:34.531487
2019-12-09T23:43:17
2019-12-09T23:43:17
160,213,055
0
0
null
null
null
null
UTF-8
Python
false
false
1,617
py
''' a list with lists of the integer values of the inputs [claim ID, left edge, top edge, width, height] ''' input_list = [] with open("../input/inputday3.txt") as f:#../input/inputday3.txt for line in f: l = line.strip() j = l[1:] j = j.replace(' @ ',',') j = j.replace(': ', ',') ...
[ "killercatfish@gmail.com" ]
killercatfish@gmail.com
71e1d262625acedb2ddc4fc66d2d6858218d4128
0451550657cdd3cad37dc2060af0ff15ecfd96a9
/avs.py
9d44797f9a490afa61a54274e0256ac0602d26e8
[]
no_license
elasticaqanet/qanet2.76
cc8882addde0a42d57a9ffc71fdb6d1782327c22
076a9758dc03cc373dc3dcd2bce3df9e5796ffc4
refs/heads/master
2023-04-27T14:45:27.035801
2023-04-20T01:03:22
2023-04-20T01:03:22
72,026,749
0
0
null
2023-04-20T01:03:23
2016-10-26T17:21:35
C++
UTF-8
Python
false
false
35
py
sdhfvx7c6z8zgiybckhvytdzfuygkuhjnc
[ "sajjad.kernel@elasticaqa.net" ]
sajjad.kernel@elasticaqa.net
6165a9db38ac3d61a6065c8285ecab28a80dd53e
65a95f2b7d73346ba56d1e4f39deca3b83ea679a
/searchResult.py
008e75a83db2184f0c049838b00843e4263f1c5f
[]
no_license
StewSchrieff/midtownCrawler
21b9de097b732e5082d84b35569a3c4209117cf0
b8cf8569df0c24548bec0ffb73f7ce326abd60ed
refs/heads/master
2022-12-15T14:57:51.343039
2018-11-21T18:11:45
2018-11-21T18:11:45
158,588,438
0
0
null
2022-12-08T01:18:36
2018-11-21T18:09:36
Python
UTF-8
Python
false
false
2,179
py
class SearchResult: def __init__(self): self.title="" self.lastmod="" self.resourceType="" self.church="" self.resourceURL="" self.thumbnailURL="" self.tags="" self.isPinned=0 def __repr__(self): lines = '---------------------------------...
[ "schriefs@email.sc.edu" ]
schriefs@email.sc.edu
d124351375a93180972b17769d061483af5600b9
e1b88dbe8c63114c08a828c10a242aecfe95ce08
/235.lowest-common-ancestor-of-a-binary-search-tree.py
a7b1dbf62dfe816b7bf582cce6b67f688d384761
[]
no_license
sljeff/leetcode
e5fe10430755aa36f7ff8c066fe6e7b470f74266
1fc2222b437c903881978c16b01187e2a1f22bff
refs/heads/master
2020-04-19T08:44:11.858858
2019-01-29T09:50:51
2019-01-29T09:50:51
168,087,211
0
0
null
2019-11-23T10:10:17
2019-01-29T04:10:21
Python
UTF-8
Python
false
false
701
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def lowestCommonAncestor(self, root, p, q): """ :type root: TreeNode :type p: TreeNode :type q: TreeNode ...
[ "shanliangjeff@qq.com" ]
shanliangjeff@qq.com
558fb1d02606402c5ede816e8e5e75042e6f7d08
dbd3c0f8888271512d140a6c4ccc01ce3bdedf43
/plot1.py
5139a41628f36ecf627d900186f486dc69f5eaa9
[]
no_license
aleeshajaganath/Python_ML_Codes
41d8ad4ea441ec03830acc70673f0a96d575f56a
79f7d4f950faa478becad70b9995050a222f50af
refs/heads/master
2020-05-29T08:28:20.672527
2019-05-29T10:57:11
2019-05-29T10:57:11
189,041,794
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 15 00:25:16 2019 @author: user """ from IPython import get_ipython #get_ipython().run_line_magic('matplotlib', 'inline') get_ipython().run_line_magic('matplotlib', 'qt') import numpy as np import matplotlib.pyplot as plt import matplotlib matplotlib.rc('xtick', labelsi...
[ "aleeshasj@gmail.com" ]
aleeshasj@gmail.com
2f193951c17bfd1bb4b47c921d8770b37dd1ddde
1bd05efc4635834febffbefbf6ed0c7a3a3bfbea
/hw2/SEMAFOR_stuff/xml_output_script.py
132758359ca47c127c13ed8daa0895d38ccc931d
[]
no_license
junekihong/sp2015.11-731
df1e3459aad49aa9cc59b7f020f7a729b0b74d16
17aa1c63bb0e1458d2baf4c54e4080a55f7b7fde
refs/heads/master
2021-05-28T18:22:31.287724
2015-04-23T19:59:31
2015-04-23T19:59:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,642
py
#!/usr/bin/python # coding=utf-8 import xml.etree.ElementTree as ET import sys, string, codecs from pprint import pprint def printall(sentence_xml): SEARCH = [sentence_xml] while SEARCH: node = SEARCH.pop() print node.tag, node.attrib, if node.text: print node.text.strip()...
[ "junkih@linux6.gp.cs.cmu.edu" ]
junkih@linux6.gp.cs.cmu.edu
967c4163dd3b2b4b3fccef187338d4d020e0e693
7c63a96fad4257f4959ffeba0868059fc96566fb
/py/m_lutz-programming_python-4_ed/code/ch_01/step_06/01-cgi_basics/cgi-bin/cgi101.py
73cd3dab161b31965720666610c168715c174345
[ "MIT" ]
permissive
ordinary-developer/education
b426148f5690f48e0ed4853adfc3740bd038b72c
526e5cf86f90eab68063bb7c75744226f2c54b8d
refs/heads/master
2023-08-31T14:42:37.237690
2023-08-30T18:15:18
2023-08-30T18:15:18
91,232,306
8
0
null
null
null
null
UTF-8
Python
false
false
270
py
#!/usr/local/bin/python3 import cgi form = cgi.FieldStorage() print('Content-type: text/html\n') print('<title>Reply Page</title>') if not 'user' in form: print('<h1>Who are you?</h1>') else: print('<h1>Hello <i>%s</i>!</h1>' % cgi.escape(form['user'].value))
[ "merely.ordinary.developer@gmail.com" ]
merely.ordinary.developer@gmail.com
4ecdd815247e0dbbce62aa31588d52a247fcfca9
71f882ee5ba6d0c5b3196299d0bb5d9e383b9006
/variational-continual-learning-master/ddm/alg/cla_gauss_mixture_not_mnist.py
482f9c85a745364b73b72b8c5f96485e2d83882b
[ "Apache-2.0" ]
permissive
anhpt1997/variational-continual-learning
cd0952baf701817f14567128ba665befc1496bd0
8e6f5987a848a326d040e78dd83409d4a2d66004
refs/heads/main
2023-03-12T18:15:30.896974
2021-02-28T08:27:33
2021-02-28T08:27:33
343,054,892
0
0
null
null
null
null
UTF-8
Python
false
false
26,215
py
import tensorflow as tf import numpy as np from copy import deepcopy import sample_gumbel_trick import kl_gauss_mixture #chi co phan share la mixture, head van la gauss np.random.seed(0) tf.set_random_seed(0) # variable initialization functions def weight_variable(shape, init_weights=None): if init_weig...
[ "phantuananhkt2204k60@gmail.com" ]
phantuananhkt2204k60@gmail.com
825528a3c96c7ce66590520993630962f1d39920
8a47396e06855713d54ad49664fc95aadf4dcad4
/bfiao/bfiao_simple_examples.py
f04e2ab1e6cbfdb5d20b757b5f59569f8b201c5a
[ "MIT" ]
permissive
msicilia/bfiao
819270c72dd6e4518232b4d700682bd717d67bc4
61febf1552b08d353d8fbeae0d450e98200d1b93
refs/heads/master
2023-02-06T05:33:28.654893
2020-12-30T17:29:49
2020-12-30T17:29:49
311,750,193
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
from owlready2 import * bfiao = get_ontology("bfiao").load() ogc_gml_location = "gml_32_geometries.rdf.xml" ogc_gml_ont = get_ontology(ogc_gml_location).load() gml = ogc_gml_ont.get_namespace("http://www.opengis.net/ont/gml") cco_ont = get_ontology("cco.nt").load() cco = cco_ont.get_namespace("http://www.ontologyrepo...
[ "msicilia@gmail.com" ]
msicilia@gmail.com
856de5518de640f4f395b6363f68d8c506f28ba6
a59a8dc79da14a38c9693c8411a75d8fc7973345
/lesson5/2c.py
0f7e895f494e40cb3863e134c5aa034ac3637b1c
[]
no_license
treyfleming/pynetlab2020
f55497fb65df7dbfc39fddfe4eee82c67bd88039
92a5267c996518d6bd47088d4f4ad4fe2cfc314f
refs/heads/master
2022-12-26T07:20:54.826231
2020-09-23T02:02:06
2020-09-23T02:02:06
274,007,697
0
0
null
null
null
null
UTF-8
Python
false
false
3,590
py
##Set up J2 Environment import time import re from jinja2 import Template, FileSystemLoader, StrictUndefined from jinja2.environment import Environment from getpass import getpass from netmiko import ConnectHandler ##Import variables file from variables import nxos1, nxos2 ##Set up Main function if __...
[ "trey@treyfleming.com" ]
trey@treyfleming.com
fcbbd1b4605b6a182c8c94961c94bb5bcc76828a
ebbfaf1e0bd40396a12a09df02c2bfc5f8ae40e0
/blogapp/migrations/0001_initial.py
1dd819da6328f2db5bf6de4dc88f791bad6ace74
[]
no_license
xueerhuan/register-login
0dae2e8d30ac9c932c1d887e51ab866753ace717
c5009f58268d4bf03a77b5bbb26e99f6f43fd6e3
refs/heads/master
2020-03-16T18:13:19.330506
2018-05-10T09:37:15
2018-05-10T09:37:15
132,864,641
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
# Generated by Django 2.0 on 2018-05-10 07:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ...
[ "792375705@qq.com" ]
792375705@qq.com
0bdfb4376b55ddc10ba3e51db3e780dba6971c08
db53c46cb8abb44fb9d545883ed1c70095f7c0fe
/板载资源/Python/01.example/04.开源硬件/pyfirmata_blink.py
50f884a57f036673711e4a4b56596f99bde70547
[ "MIT" ]
permissive
kurtjie/vvBoard-docs
c28f6b5041f9f6790aa0055d01e2ab407cacac12
4e13b4a6699cc937f2c61b60c8a6523b1f3557c6
refs/heads/master
2023-05-06T10:16:26.638540
2021-05-28T12:16:09
2021-05-28T12:16:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from pyfirmata import Arduino, util from time import sleep board = Arduino('/dev/ttyS1') while True: board.digital[9].write(1) sleep(1) board.digital[9].write(0) sleep(1)
[ "xiezuoru@vip.qq.com" ]
xiezuoru@vip.qq.com
ec4e8efe3153d90315b75a2da4d9456c06775281
29a765fb3ce843ab6406bc2a326ea8c2fc108c11
/train.py
163a50f5dfc70f98866b09ea19376935faa1930b
[]
no_license
kailaisun/fire-detection-without-lamp
3cf76adf8c5d281474115ec74db50e4cb22afa1e
22bad9f315be2c5d44ee47d6fbbd1315b522d106
refs/heads/master
2023-07-17T02:32:14.970296
2021-09-07T07:34:24
2021-09-07T07:34:24
299,152,851
4
2
null
null
null
null
UTF-8
Python
false
false
24,757
py
import argparse import torch.distributed as dist import torch.optim as optim import torch.optim.lr_scheduler as lr_scheduler from torch.utils.tensorboard import SummaryWriter import test # import test.py to get mAP after each epoch from models import * from project.datasets import * from project.utils import * mixe...
[ "40592892+kailaisun@users.noreply.github.com" ]
40592892+kailaisun@users.noreply.github.com
a592e785a0387981c24fc4b02fbd476b65126597
2a4aced6789a09b64caead20fd231ed104f4583b
/util/i2c/shutter_demo.py
cf20df0a90ebaad6e38e402e41633e35b8c5fd63
[ "MIT" ]
permissive
ruedijc/jetson-cam-utils
8dd2a8fa48b390b940b938c9a0519df5599ef63d
29fb26892cc150f9679ad7d5c3220e38f733ab04
refs/heads/main
2023-04-27T12:22:09.079527
2021-05-06T16:54:33
2021-05-06T16:54:33
329,092,484
3
0
null
null
null
null
UTF-8
Python
false
false
2,775
py
#!/bin/env python3 ''' shutter testing program pin assignments Ain 1 = P13-1 Ain 2 = P13-2 Sleep = P13-6 Bin 1 = P13-3 Bin 2 = P13-4 ''' import os import time, sched import subprocess ''' turn Ain_1 on os.system('/home/labuser/development/jetson-cam-utils/util/p13-1_on.sh') turn Ain_1 off os.system('/home...
[ "ruedijc" ]
ruedijc
1773433480c17f06c09757f6251e684035134844
75dff087b6bec301193b2c145579d38b28249d22
/Leetcode_Algorithm/Python3/280_Wiggle_Sort.py
2735d66046a732cbb77e5f70e0db75a365eae4b8
[]
no_license
ChihYunPai/Data-Structure-and-Algorithms
2d3d930d8374b62287f7cc8c3741a1d7b3d227b6
27a85e20605393a5eca3f8bd7d42c389612493d5
refs/heads/master
2023-06-07T04:04:57.186920
2021-07-03T03:28:29
2021-07-03T03:28:29
119,465,269
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
""" Given an unsorted array nums, reorder it in-place such that nums[0] <= nums[1] >= nums[2] <= nums[3].... For example, given nums = [3, 5, 2, 1, 6, 4], one possible answer is [1, 6, 2, 5, 3, 4]. """ class Solution(object): def wiggleSort(self, nums): """ :type nums: List[int] :rtype: vo...
[ "tonypaiwhite@gmail.com" ]
tonypaiwhite@gmail.com
36e43e74b08447cf2f05b2dcf61b029bfb9d1375
fa384103a190f03e54e32400298dfd66a881fbb1
/ya_tasks_1_single.py
86475bb2ed7b2a32347c7a05138e31848bc8adbf
[]
no_license
duker33/some_test_task
c579d8bf66f911aceee5effb0d5c921e7ab4f0b3
3e968b75cdc840ab983a2f87e9d246e35aef1afb
refs/heads/master
2020-08-29T11:06:20.664884
2019-10-28T09:55:15
2019-10-28T09:55:15
218,014,298
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
import random from hypothesis import given, strategies as st def foobar(*args, **kwargs): ... return random.choice(TEST_RESULTS) def foobar_single(*args, **kwargs): if not hasattr(foobar, 'single_result'): foobar.single_result = foobar(*args, **kwargs) return foobar.single_result TEST_RESU...
[ "duker33@gmail.com" ]
duker33@gmail.com
5f3d1d59dddfd4fbccd0763620228091d57a6323
eb2668b93899637f04e4c93e01063d0c8175ccde
/Irises_classification/iris_KNN_GridSearch_2_parameters.py
a8ae8beebc2f04cb715db123dca90df089536532
[]
no_license
D-Katt/AI-Machine-Learning
aad1fe1c8f3f901cb7829919d1b69a106f0ddfab
1868c92366dccabf8c86c559eee640645b51bb51
refs/heads/master
2021-12-19T21:59:04.403188
2021-12-07T13:07:46
2021-12-07T13:07:46
235,104,866
3
2
null
null
null
null
UTF-8
Python
false
false
2,161
py
# Пример классификации объектов 'iris dataset' с использованием модели KNN. # Инструмент GridSearchCV используется для настройки 2 гиперпараметров - # количества "соседей" и весов. import pandas as pd from sklearn.datasets import load_iris from sklearn.neighbors import KNeighborsClassifier from sklearn.model_...
[ "noreply@github.com" ]
D-Katt.noreply@github.com
433f2c6606bbac3199c7d836f0a808135f4b512b
7d4be1a7c75fb6904c191922fb66f60e3ec1360e
/deploy/create-qcloud-scf-func.py
bf30e021c3b2cea5db2e217bff5cbb132145bcfe
[]
no_license
peixin/airport-freedom-checkin
1c7418d88757bcb9a4f408647734743a02553470
0d626bc30d0a71740ae967a4ebdf5342885b6825
refs/heads/master
2023-06-07T02:24:19.082491
2021-07-03T09:15:48
2021-07-03T09:15:48
297,869,884
1
0
null
null
null
null
UTF-8
Python
false
false
2,340
py
import sys from os import path from typing import Dict import json from tencentcloud.common.exception.tencent_cloud_sdk_exception import ( TencentCloudSDKException, ) from tencentcloud.scf.v20180416 import models sys.path.append(path.dirname(path.dirname(__file__))) import config from deploy.qcloud_scf_common impo...
[ "fengyi.mail@gmail.com" ]
fengyi.mail@gmail.com
70828c6320f684927f40d62075ade54537a2271f
cfd900c82d2bd18113603663972e29517789d729
/keys.py
21f2d68822f9686aadd99b7a69be552c5b22dadc
[]
no_license
harryboulton1/Keyboard-Trainer
18b1aacfcd29130fba10f3070d3ff5465fb29e80
57162586c40f986c4c7854447d6771b595464dee
refs/heads/master
2021-01-24T09:35:03.942102
2018-03-05T01:12:48
2018-03-05T01:12:48
123,021,525
0
0
null
null
null
null
UTF-8
Python
false
false
2,361
py
import os frequencies = {"C3":131, "C#3":140, "D3":148, "D#3":156, "E3":165, "F3":175, "F#3":185, "G3":196, "G#3":208, "A3":220, "A#3":233, "B3":245, "C4":261, "C#4":277, "D4":294, "D#4":311, "E4":330, "F4":349, "F#4":370, "G4":392, "G#4":415, "A4":440, "A#4":466, "B4":494,...
[ "harryboulton10@gmail.com" ]
harryboulton10@gmail.com
cf198967e5721ff051b551643c1902e36c065adf
d66818f4b951943553826a5f64413e90120e1fae
/hackerrank/Python/Validating Roman Numerals/solution.py
4d3307da4a8b34976111672247c145435592a77a
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
169
py
import re regex_pattern = r'(?<=^)M{0,3}(C[MD]|D?C{0,3})(X[CL]|L?X{0,3})(I[VX]|V?I{0,3})(?=$)' # Do not delete 'r'. print(str(bool(re.match(regex_pattern, input()))))
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
e97b22133de8154a10a062cd7a9804c4b2e0ce3c
d9257c051591b63533fe53d5e6996689d3a93c50
/ocean_lib/ocean/ocean_auth.py
d6dfa779bcfb2334876b5d6a83cd12e1f3183c70
[ "Apache-2.0" ]
permissive
PosthumanMarket/Posthuman.py
87e79fa826d50584b9cb2d722afa359aa6026e46
66538c29bfeb1c31199629b68bc10cc36caa3376
refs/heads/master
2023-08-26T06:35:47.866562
2021-06-06T18:51:34
2021-06-06T18:51:34
346,468,458
6
1
Apache-2.0
2021-06-05T02:03:27
2021-03-10T19:27:37
Python
UTF-8
Python
false
false
4,131
py
"""Ocean module.""" # Copyright 2018 Ocean Protocol Foundation # SPDX-License-Identifier: Apache-2.0 import logging from datetime import datetime from ocean_lib.config_provider import ConfigProvider from ocean_lib.web3_internal.utils import add_ethereum_prefix_and_hash_msg from ocean_lib.web3_internal.web3_provider...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
2f5d50aa374a21f93f5594a1485922e1760a08ff
e33e4fd0a750376125957ecab3f10ed0f3ee889b
/ACT/packaged_apps/farewells/app.py
4952840b6b07a930ba01f55e1481d292f50e3b5b
[]
no_license
neerajms1/MMLUpdates
7d95a43cb4bf1e7183e5d887c1c78b6d904d9327
7485b79066d53af82b43bea91f7a917aac083373
refs/heads/master
2022-04-06T03:08:57.282153
2020-02-28T00:09:11
2020-02-28T00:09:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,028
py
#!/usr/bin/python3 import rospy import geometry_msgs import time import sys import os import numpy as np import curses import cv2 import miro2 as miro import mml import random from datetime import datetime from cv_bridge import CvBridge, CvBridgeError from sensor_msgs.msg import CompressedImage ######################...
[ "all00132@gmail.com" ]
all00132@gmail.com
45db51e7b815934ce09e02643904239397422470
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/sklearn/externals/joblib/disk.py
56b6fcc6e11c358e17de25c0a80e8b29c5e5b103
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:3d0a5346f8b6ea081d787ef43f9520d3be4604ea7341ac86e5950a80c51c19d4 size 3938
[ "Nqk180998!" ]
Nqk180998!
d5778be7d85fc4bd898845b67be6e04539e54fd0
a5af73a980c08eef311cda1a27645f57dc07e0eb
/formApp/templatetags/my_extras.py
01796028288dc2c86b336e3dfbfc5c09aab23b48
[]
no_license
pritamSarkar123/django2020-pracTwo
c38ef08537cd48d884a6d75eef67277c38ad49d0
84e32249bc5c7d0ba89cd0e1070fee05e2523183
refs/heads/master
2022-07-08T21:02:21.124866
2020-05-15T04:39:23
2020-05-15T04:39:23
264,003,427
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
from django import template register = template.Library() @register.filter(name='cut') def cut(value, arg): """ cuts all the values same as args """ return value.replace(arg, '')
[ "pritamsarkar84208220@gmail.com" ]
pritamsarkar84208220@gmail.com
05dc4025703b1ff120f0a850d4c51bd88ee1166c
ca7c4ab687fed6d4e3e5f911d726e50aec95ebab
/venv/Scripts/pip-script.py
9170ab616f549cdd7cf43dc3c6e7089d0a996415
[]
no_license
Raghavanakhil/emailjenkins
6a85b00cd6ed30b0c62de8fd09c4343333899865
2fb639b254ca0dc8856717bd0e3cc23e1aa02ea3
refs/heads/master
2021-04-19T21:28:29.901280
2020-03-25T07:35:20
2020-03-25T07:35:20
249,634,383
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
#!C:\Users\ssrivathsan\AppData\Local\Programs\Python\Hdfc_Bank\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.e...
[ "raghavan8007@gmail.com" ]
raghavan8007@gmail.com
d121c64d1fa8ef682e458a4e8d3720c682562491
2797512fe45ef277b02516971aef75883353a667
/ETL.py
518d85d03ffc93934974ca6f873476c8086bf3cb
[]
no_license
tariq452/Project-Data-Lake
e6143b9de9b59a44bb4ac42d10ce93393edeff70
daa1960dd57fcf9ab26576d39e45dd7d653d4633
refs/heads/master
2020-05-30T09:03:59.866665
2019-06-08T21:35:19
2019-06-08T21:35:19
189,633,029
0
0
null
null
null
null
UTF-8
Python
false
false
5,784
py
import configparser from datetime import datetime import os from pyspark.sql import SparkSession from pyspark.sql.functions import udf, col from pyspark.sql.functions import year, month, dayofmonth, hour, weekofyear, date_format, to_date, monotonically_increasing_id from pyspark.sql.types import TimestampType im...
[ "noreply@github.com" ]
tariq452.noreply@github.com
9ac7bebd5d84e6883afbcafe11cab88b74024d70
4dfc5222d3ebfd68fc6712f14ab90a302086c625
/src/weatherpy/main.py
1ba8d0c903b824c2cf37b8fe54c39fca2b409739
[ "MIT" ]
permissive
gle-bellier/weather-spotify
52ab537ab3edd4d8858fd928802afbab2950fc63
681146a4d0116a696c80e86d48a5b95a2f06ebc6
refs/heads/master
2023-08-12T22:22:05.831839
2021-10-17T23:02:17
2021-10-17T23:02:17
416,787,277
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
import os from pprint import pprint import pandas as pd import numpy as np import seaborn as sns import spotipy from spotipy.oauth2 import SpotifyOAuth from weatherpy.infos import SPOTIPY_REDIRECT_URL, SPOTIPY_CLIENT_SECRET, SPOTIPY_CLIENT_ID, WEATHER_API_KEY from weatherpy.weather import Weather from weatherpy.play...
[ "glebellier@protonmail.com" ]
glebellier@protonmail.com
d0fc14fbec55dd1b1228445716ac3f914c23cd1f
8d375652e44b67d73102fee7abc1abaab4cb4329
/m-old-versions-2/m6/compiler/m6c.py
ab63561b6f0615eda6cd3412281e8f697c1403cd
[ "MIT" ]
permissive
paulscottrobson/old-m-versions
6d2061e36f2a5aaef388a4786406f876f0a06e0b
c2edb4200d32e066223ace4fd05837a485302645
refs/heads/master
2020-04-04T03:09:25.399283
2018-11-01T12:14:57
2018-11-01T12:14:57
155,709,691
0
0
null
null
null
null
UTF-8
Python
false
false
14,854
py
# **************************************************************************************** # **************************************************************************************** # # Name: m6c.py # Purpose: Simple M6 Compiler. # Date: 15th August 2018 # Author: Paul Robson (paul@robsons.org.uk) # # **********...
[ "paul@robsons.org.uk" ]
paul@robsons.org.uk
8ba11d0f4d9294f4849d5470db9555912b5c403d
f3775672588487e895fc083ed538546495a80ecf
/todo/todoapi/urls.py
820dcd5e71dfd86c30f701c235877bcfbf26268e
[]
no_license
Fctvzm/web-labs
3298c6f808e26b65fa8e1a9ca0068baae83e2b0d
484ef6b182e921ca2d8731f45a0e3e1a0807e74f
refs/heads/master
2020-03-12T20:58:45.480135
2018-04-24T06:59:48
2018-04-24T06:59:48
130,818,098
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from django.urls import path from . import views urlpatterns = [ path('todos/', views.todo_list, name="todo_list"), path('todos/<int:todo_id>', views.todo_detail, name="todo_detail"), path('contacts/', views.contact_list, name="contact_list"), path('contacts/<int:contact_id>', views.contact_detail, n...
[ "zaytkalieva739@gmail.com" ]
zaytkalieva739@gmail.com
3d0e68dbc8652344c39ff3dd0237b94abcd633b8
1bbc57f2823f035a28179ac10d3d2a2414c57129
/main.py
de219bcca0b538c721140683f35871315714f6a2
[]
no_license
shashank2043/zoomautologin
2b44dd902c1c829f252a9ce130d749bcefa35a90
55ffe06c1a3445365e447f9d02a72c174fc40b4c
refs/heads/main
2023-05-12T12:00:29.933607
2021-05-06T17:11:29
2021-05-06T17:11:29
364,951,733
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import schedule #pip install schedule import time import webbrowser #pip install pywhatkit def open_link(link): webbrowser.open(link) def classone(): open_link('Zoom link') print('Opening...') def classtwo(): open_link('Another zoom link') print('Opening...') def classthree(): ...
[ "noreply@github.com" ]
shashank2043.noreply@github.com
47057d9275b82dbfea7d0349e2bd1350c848700a
25404f4cfb9be3e6f1b3fe31a1554459eb200813
/my_redis/why_use_redis/count_realtime_users.py
fa7fa21aaed3c6586f1802c58a13f2b7ef57700f
[]
no_license
nightimero/annal_report_test
1c6eb4b71482f870c753f5084212afd071929f57
7bbc76ba703527ba8f4b84fbdb94fd57b37b9887
refs/heads/master
2021-09-06T21:18:59.534963
2018-02-11T15:31:21
2018-02-11T15:31:21
103,259,391
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
# -*- coding:utf-8 -*- # todo: http://www.cnblogs.com/clover-siyecao/p/5600078.html # todo: http://debugo.com/python-redis/ # todo: http://flask.pocoo.org/snippets/71/ # todo: https://www.google.com/search?q=python+redis+应用 以后需要搜索加上 应用 2字,更实例。 import time from redis import Redis from datetime import datetime ONLINE_LA...
[ "chenxiang@aiknown.com" ]
chenxiang@aiknown.com
920161499a4cf4c446d45b18fcb6db08eade2df5
2fca7c23946b99e254b657c634d554a976b422d5
/picamera_docs.py
254ea7ff2c87b6551abcc0cabeeb323fca28c193
[]
no_license
Anik-Patel/PiCam-Server
15585b0f40a21926189a58f5e1a5dbe865d8fd37
9a3e88d3722445ce5ab439266f2dfff8d43e58d5
refs/heads/master
2021-01-03T09:04:40.517791
2020-02-12T12:52:07
2020-02-12T12:52:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,073
py
# See it here at: # https://picamera.readthedocs.io/en/release-1.13/recipes2.html#web-streaming import io import picamera import logging import socketserver from threading import Condition from http import server PAGE="""\ <html> <head> <title>picamera MJPEG streaming demo</title> </head> <body> <h1>PiCamera MJPEG St...
[ "noreply@github.com" ]
Anik-Patel.noreply@github.com
d258891162c9d1b814d812e57bf432c8819117b9
6e4805ad47f8ce244bff23b83fd6e679b200935f
/Session Based Nearest Neighbour/dump_ranking.py
f54a769b472fec4263b4ff82c7e0e7e202d60f3d
[]
no_license
Dwijesh522/Million-Playlist-Dataset-Challenge
1b286e143a06fef1879af22f4498a96a1dd30460
c94a8cb03558474604d6dc4f05fd923b0ca3f874
refs/heads/master
2023-04-22T02:56:41.371388
2021-05-12T13:03:20
2021-05-12T13:03:20
321,734,483
0
0
null
null
null
null
UTF-8
Python
false
false
3,882
py
""" This file dumps <=top500 tracks for each qpid. command line arguments: 1) pairwise_similarity.json : {qpid : {pid : sim(qpid, pid)}} 2) challenge_set_filtered.npy : {qpid : numpy.ndarray(track_uri)} 3) pid_vectors : directory path to {pid : {track_uri : tfidf}} outfile: 1) recommendati...
[ "iddwijesh@gmail.com" ]
iddwijesh@gmail.com
aa296a7a8ab3059807f546aa0c042322cf253980
cf419462680f4a891b8d040de870832bf7e81fb1
/PhotoGallery/settings/components/database.py
f59778826f06fc14d54cfffb95598c359a3f8401
[]
no_license
tupyy/photogallery
04f6a32489f2ecbe008546f7dd5207a2f7e0d62c
52c13608f6f15429bf103226e9c64aea08afbcd6
refs/heads/master
2022-11-24T08:50:17.403543
2019-07-18T14:10:36
2019-07-18T14:10:36
152,573,015
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
# Database # https://docs.djangoproject.com/en/2.1/ref/settings/#databases DATABASES_DEV = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'photos', 'USER': 'postgres', 'PASSWORD': 'postgres', 'HOST': 'localhost', 'PORT': '5432', } }
[ "cosmin@home.net" ]
cosmin@home.net
760e321ec7910024275f26a915d068b8be302954
c4d3ef434d1449294ba8b83a94a121253a2cfb48
/venv/bin/pyi-makespec
e2a8680ba7a9843507073b31ddcff95feb4d3149
[ "Apache-2.0" ]
permissive
RITCHIEHuang/qt-process
d7b6e2ecff220b3bb0e27b2a24b9c52981ae5b25
e701a2992aa4690d1a5d79d741bf2339ca890ac4
refs/heads/master
2020-05-03T20:40:10.050494
2019-04-01T15:37:54
2019-04-01T15:37:54
178,807,657
0
1
null
2019-04-01T15:37:55
2019-04-01T07:20:48
Python
UTF-8
Python
false
false
444
#!/Users/ritchiehuang/PycharmProjects/qt-process/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'PyInstaller==3.4','console_scripts','pyi-makespec' __requires__ = 'PyInstaller==3.4' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)...
[ "ritchiehuang@promote.cache-dns.local" ]
ritchiehuang@promote.cache-dns.local
988d6ea26da9922fa02984746738cf65a1c6117f
c8767efdaa4554c21b644e75a838488dd705670f
/generate.py
d7d8bde9bb6de5da41783842beea4467d69e95a9
[]
no_license
garlontas/buttons
36451489b01dbf775d688b1c9b86d7966c5195e7
5490ab433a62a67b3b8bfe1af76a7a7a4ded507f
refs/heads/main
2023-06-24T08:43:45.315946
2021-05-19T13:58:21
2021-05-19T13:58:21
368,829,395
1
0
null
2021-07-23T14:18:05
2021-05-19T10:25:42
Python
UTF-8
Python
false
false
595
py
import os if __name__ == "__main__": with open("README.md", "a") as readme: for i in os.listdir("buttons/150x44/"): mdline = "[![Button](https://raw.githubusercontent.com/garlontas/buttons/main/buttons/150x44/{0})](https://github.com/garlontas/buttons#svg-buttons)".format(i) readme....
[ "stefan.garlonta@gmail.com" ]
stefan.garlonta@gmail.com
3118ab8ac531211cda0b14cde8ae8f6880225d37
a8ad6a79fbc558f2fd7546ed1b42adc010b2ccd2
/day7/part2.py
6b4d45c520524b9fa02fa0c25c7430a90164f917
[]
no_license
ChrisWilliamson123/advent-of-code-2018
a9c85c7b4a370fff9d03c9d3a21c9990e5870784
37c820075accaef33544ad405bfa47bb181b0393
refs/heads/master
2020-04-09T07:40:42.794307
2018-12-24T16:29:01
2018-12-24T16:29:01
160,165,817
0
0
null
null
null
null
UTF-8
Python
false
false
2,922
py
import re class Instruction: def __init__(self, id): self.id = id self.complete = False self.next = [] self.previous = [] def __repr__(self): return 'Node {0}'.format(self.id) get_steps = lambda i: re.findall('step ([a-z])', i, re.IGNORECASE) def parse_instructions(instructions): return l...
[ "chris.williamson@bbc.co.uk" ]
chris.williamson@bbc.co.uk
45a3de2385c5bb0e77f6e3f913a5e766c392cf7a
7b15c40c00ba2008024979d0e520a922bc2f8229
/1st_try/144_Binary_Tree_Preorder_Traversal_1st_try.py
ac7a9b6c27275d70ef87a3427e2ff0de3860a3c6
[]
no_license
axd8911/Leetcode
aa9875a5b55c7d5e961d9a3ea55823d06eb08a88
1c6cab14f4dac4f3f29f1b5ce13bb5289724fdb4
refs/heads/master
2022-07-07T12:59:38.251218
2021-06-22T06:27:05
2021-06-22T06:27:05
173,857,144
0
1
null
2022-06-22T01:22:30
2019-03-05T02:23:42
Python
UTF-8
Python
false
false
1,143
py
''' 98.6% ''' #Iteration # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def preorderTraversal(self, root: TreeNode) -> List[int]: output = [] node = [root] ...
[ "noreply@github.com" ]
axd8911.noreply@github.com
eb71f9fda07238edeb7f9e6079adae8d1fec019d
fbd9230e027f4f873dbd1f2f92fc2c20dd92f57e
/pemilu19_2/pemilu19/read.py
3d1a638271055392f76c7db65193370716be8878
[]
no_license
siwictyas/Sentiment-Analysis-Presidential-Ellection
6f92635342d1394a3115045fa8e430b29492c34d
e8b11b400f1a6f28f9e5da492db828d7197ea94b
refs/heads/master
2023-05-01T00:36:55.331871
2021-05-17T04:19:56
2021-05-17T04:19:56
225,304,525
0
0
null
null
null
null
UTF-8
Python
false
false
17,090
py
import pandas data_01 = pandas.read_csv("sentimen_j.csv") data_02 = pandas.read_csv("sentimen_p.csv") #01------------------------------------------------------------------------------------- jumlah_01 = len(data_01); positif_01 = len(data_01[data_01.sentimen=="positif"]); negatif_01 = len(data_01[data_01.sentimen=="n...
[ "siwictyas@gmail.com" ]
siwictyas@gmail.com
f5d861f17bcb5ad989d97762d7c44d64dbf6d866
64d7e9256111696a6a76e101e5208b5263737375
/SwissKnife/datasets/mouse.py
1d9bd65682add7099457ce0ae80c16f654fd2479
[ "MIT" ]
permissive
nachonacho2/SIPEC
790d15ca9985e1af66307ad53e1ca9146ea4cbae
0bfb4cb23840610f69f2bf2c8dddcfb8643eeedc
refs/heads/main
2023-01-14T03:51:07.842256
2020-11-11T18:12:09
2020-11-11T18:12:09
316,876,055
1
0
MIT
2020-11-29T04:33:03
2020-11-29T04:33:02
null
UTF-8
Python
false
false
4,741
py
### preprocessing ### keypoint extraction ### mask extraction ### identification import pandas as pd import numpy as np from tqdm import tqdm from glob import glob from SwissKnife.utils import extractCOM, maskedImg, loadVideo def path_for_file(paths, filename): for path in paths: if filename in path: ...
[ "markusm2342@gmail.com" ]
markusm2342@gmail.com
c31fafcfa861f77c9537ff1f1e3933137c3f86ef
fd93bcad4d40e92389e504a5eee6a4cb685ad403
/arg_pars.py
d55962047ed0246d7272e7b47e351de629341b89
[]
no_license
jrkoval/python_class
3da121a55522817115d20852e59a073fa28c14a2
d3ae1901783e6b5e13ca66ab0fa032a5305b755e
refs/heads/master
2021-01-13T15:44:50.706420
2016-12-20T00:49:31
2016-12-20T00:49:31
76,908,539
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
import argparse parser = argparse.ArgumentParser() parser.add_argument('-p', '-principal', type=int, dest='principal', default=120, help="principal amount") parser.add_argument('-r', '-rate', type=int, dest='rate', default=2, help="rate amount") parser.add_argument('-t', '-time', type=int, dest='time', default=3, hel...
[ "jrkoval@verizon.net" ]
jrkoval@verizon.net
9696d02ad73428f82038093538bcf4a2c818d6af
36941e5b312af8371f89c34ee53ff5b4d2853452
/coinwars/ai.py
9d7cba2ef6346d03a9687dec1c799fb1d2b87add
[]
no_license
geluso/ascii_coinwars
edcb856ea22cec37b2f65231d7402d9213bfb57b
8eeb9d79577ac5065aa5883de28b31057e33161f
refs/heads/master
2021-10-27T15:25:09.867277
2019-04-18T00:22:31
2019-04-18T00:22:31
108,067,392
0
0
null
2019-03-27T18:21:33
2017-10-24T02:33:43
Python
UTF-8
Python
false
false
3,811
py
import math import random import time from player import Player from coin import Coin from penny import Penny from nickel import Nickel from dime import Dime from dollar import Dollar class AIPlayer(Player): # ai_difficulty represents an index in a list # the list is moves the AI has simulated and scored. ...
[ "stevegeluso@gmail.com" ]
stevegeluso@gmail.com
82a0f27f65a9a64367ad0cf1f0a812f67fac0806
c729ae114468205172c38d4d1f59e5f0aeae7392
/mysite/settings.py
e8b8b7d7db37bf4c81f9a257ec3fa78c2856c3a7
[]
no_license
dixinL/project-django2.0.2
01ee88c53ca9d89ddc5305ec54a83d7b88e86775
04a4c5c9b94bcf2728e94efa9a5207e8a3f12a67
refs/heads/master
2020-03-12T05:26:45.074293
2018-05-10T04:26:27
2018-05-10T04:26:27
130,463,393
0
0
null
2018-04-21T10:29:15
2018-04-21T10:29:14
null
UTF-8
Python
false
false
3,316
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # ...
[ "hankwang.whc@gmail.com" ]
hankwang.whc@gmail.com
711cefb769cd45c7c7eeb1f3fd16261e874de724
39061868a71b4a650afe42a38011225b32a9f375
/petl_join.py
2d5cbd267287710578b3961e83e1d81a04cf8f23
[]
no_license
pcalg/petl_examples
ad16f9c0d2d899e51081ac4e24eb0a399cfe857d
2c41b398198e8582245be911aee231bb1217f5c5
refs/heads/main
2023-07-10T21:06:40.861814
2021-08-17T18:10:44
2021-08-17T18:10:44
389,159,669
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
import petl as etl def conv_game_type(game_type): mapping = {"A": "Action", "R": "RPG", "S": "Simulation"} return mapping[game_type] def convert_date(dt): dt_parts = dt.split('-') return f"{dt_parts[2]}{dt_parts[1]}{dt_parts[0]}" # read in the data files table_scores = etl.fromcsv('inputfiles\playe...
[ "pcalgra@hotmail.com" ]
pcalgra@hotmail.com
48168d4ee1ba9c5390d4058ed3fbe9b827386801
c6431cdf572dd10f0f4d45839e6081124b246f90
/code/lc297.py
1bf7215362b793eb944544a277e85f8c3b4e766e
[]
no_license
bendanwwww/myleetcode
1ec0285ea19a213bc629e0e12fb8748146e26d3d
427846d2ad1578135ef92fd6549235f104f68998
refs/heads/master
2021-09-27T19:36:40.111456
2021-09-24T03:11:32
2021-09-24T03:11:32
232,493,899
2
0
null
null
null
null
UTF-8
Python
false
false
3,916
py
""" 序列化是将一个数据结构或者对象转换为连续的比特位的操作,进而可以将转换后的数据存储在一个文件或者内存中,同时也可以通过网络传输到另一个计算机环境,采取相反方式重构得到原数据。 请设计一个算法来实现二叉树的序列化与反序列化。这里不限定你的序列 / 反序列化算法执行逻辑,你只需要保证一个二叉树可以被序列化为一个字符串并且将这个字符串反序列化为原始的树结构。 示例:  你可以将以下二叉树: 1 / \ 2 3 / \ 4 5 序列化为 "[1,2,3,null,null,4,5]" 提示: 这与 LeetCode 目前使用的方式一致,详情请参阅 LeetCode 序列化二叉树的格式。...
[ "461806307@qq.com" ]
461806307@qq.com
79ba2577fcaceca179c1a325377f6431a58f4b35
c21faf85627b1cfd96494aac73cc40e5f11ebb46
/results/test_493.py
99c59e55336937519e7b0be46fe1bf943072d26a
[]
no_license
ekkya/Cyclomatic-Complexity
d02c61e009087e7d51738e60605875741532b878
172db2efdd974f5abad964e335552aec974b47cb
refs/heads/master
2021-08-28T17:13:14.718314
2017-12-12T22:04:13
2017-12-12T22:04:13
112,042,202
0
1
null
null
null
null
UTF-8
Python
false
false
26,546
py
# Script Name : osinfo.py # Author : Craig Richards # Created : 5th April 2012 # Last Modified : # Version : 1.0 # Modifications : # Description : Displays some information about the OS you are running this script on import platform profile = [ platform.architecture(), platform.dist(), platform.libc...
[ "ekkya@tcd.ie" ]
ekkya@tcd.ie
83fc7c2c499a2ed500e6c82fc0357b2679f43877
0f7ba4d823a9189289234c9f3fbf74949ad872d1
/lab12-13/sqs_application/server.py
a9ede2af1a986313c4ca49fdacf723c7e68578fc
[ "MIT" ]
permissive
seanjennings/Cloud-Computing
a8009a41ab3f77599f1d5320d7bcda5f4bfdbc3b
b65ab26a6cd0fb6abbf6cf9d28c804f09bab9323
refs/heads/master
2021-01-10T04:55:06.919735
2016-02-20T20:53:41
2016-02-20T20:53:41
52,174,537
0
0
null
null
null
null
UTF-8
Python
false
false
3,966
py
import json from subprocess import Popen, PIPE from tempfile import mkdtemp from werkzeug import secure_filename import urllib2 import os import boto.sqs import boto.sqs.queue from boto.sqs.message import Message from boto.sqs.connection import SQSConnection from boto.exception import SQSError import sys from flask imp...
[ "Seán Jennings" ]
Seán Jennings
dde1d864729d8a7a7ee994af187a0e7f107f71c0
3e67c4bae98b79bf63af31426c26a0fa7009d6db
/RoboAdvisor/lambda_function.py
7c1d1c3f7081fad41467837506b92aeca5ee13cf
[]
no_license
jaimebunay/unit13-challenge
b626e53e6238018eedfaf2715f483553ebe56a5e
f586f76509e0f9a68651fcb97d0050eda0a2bcc5
refs/heads/master
2021-05-17T17:14:10.410841
2020-03-29T01:46:44
2020-03-29T01:46:44
250,890,444
0
0
null
null
null
null
UTF-8
Python
false
false
6,996
py
### Required Libraries ### from datetime import datetime from dateutil.relativedelta import relativedelta ### Functionality Helper Functions ### def parse_int(n): """ Securely converts a non-integer value to integer. """ try: return int(n) except ValueError: return float("nan") de...
[ "jaimebunay@live.com" ]
jaimebunay@live.com
f436f502fb70879b18f8c8fbe6b87cdcf5e97054
598d9669ddf43e380ae306d120d0b20cf14f1f46
/pyHomeEnv/bin/rst2xetex.py
ff537f3f43da02e0053ff7e0e235f60fea9f3176
[]
no_license
piotrek204/pyHome
4737fcab20fe4041595e76873e66e9dfb4a40128
7e3160466210bae9f436cb476c5850c3d0b044e2
refs/heads/master
2022-12-13T14:28:17.332597
2019-01-28T16:20:02
2019-01-28T16:20:02
165,508,628
0
0
null
2021-06-01T23:20:48
2019-01-13T13:29:50
Python
UTF-8
Python
false
false
904
py
#!/home/piotrek/piotro/pyHome/pyHomeEnv/bin/python3 # $Id: rst2xetex.py 7847 2015-03-17 17:30:47Z milde $ # Author: Guenter Milde # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Lua/XeLaTeX code. """ try: import locale locale.setloca...
[ "piotr@sznapka.pl" ]
piotr@sznapka.pl
7098496e694caf7e0ba7d12cfbbffcdaa27deaf1
1cc868f3beebd9b875f2d5a1c533a06875800db7
/Python/Cisco_pyATS/pyats_env/lib/python3.6/site-packages/genie/tests/conf/base/test_api.py
4d06d61e16034e32f22cac629a67e2a2092630af
[]
no_license
Saby2002/arinsnetwork_Automation
4dc2b933deefe9317f73143e5998aa3749f518d7
f77ab7f2e849a6ca5247f7b3eb171a4362a7423b
refs/heads/master
2023-06-25T21:44:18.783505
2021-07-26T19:09:56
2021-07-26T19:09:56
389,741,652
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
import os import unittest from genie.conf.base.device import Device from genie.conf.base.api import ExtendApis from genie.tests.conf.base.dummy_api import package_path class TestApi(unittest.TestCase): def setUp(self): self.device = Device(name='aDevice', os='iosxe', custom={...
[ "arin@arinsnetwork.com" ]
arin@arinsnetwork.com
241dbe000202aeb9a0334f9897c4c0523a1eeff4
39cb03c6ac27876a2e60720f552617a8ab91a653
/WindowDriver.py
321048d1e447d5a7279e3452936d56d34787b3a2
[]
no_license
thomas1400/spending-app
136d9d93ff31fcd3e7e3d6a23ea8e3c36dd444a1
2c7c7d7c00c495b2912d2b959362dd66ee70ab39
refs/heads/master
2020-08-08T10:52:02.274629
2019-10-24T15:15:25
2019-10-24T15:15:25
213,815,518
0
0
null
null
null
null
UTF-8
Python
false
false
3,469
py
import sys from PyQt5.QtWidgets import (QMainWindow, QApplication, QAction, qApp, QMessageBox, QTabWidget, QWidget, QVBoxLayout, QHBoxLayout, QPushButton, QSizePolicy, QInputDialog, QFileDialog, QLineEdit, QLabel) from PyQt5.QtGui import QIcon from PyQt5.QtGui i...
[ "thomasowens2000@gmail.com" ]
thomasowens2000@gmail.com
7935933f35aaf7e7a319161b183a63d533874cd1
40ee6afef285f9d4f564897a5efccec499b30c06
/src/ClubKitApi/clubkit/clubs/migrations/0003_auto_20190130_1624.py
60523136eca8e71dd5be261dd0fb00839e9262f3
[]
no_license
wardc96/ClubKit
3df86016b7182b9bf31cbb4f73826ab6d7c1bc4b
e7dfdeff59e71fa8f676141eb0e25dc1f9467e4d
refs/heads/master
2022-12-12T08:32:07.066243
2019-08-25T21:17:54
2019-08-25T21:17:54
168,528,992
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
# Generated by Django 2.1 on 2019-01-30 16:24 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('clubs', '0002_clubpackages_clubposts'), ] operations = [ migrations.AddField( ...
[ "“gavin.boyle8@mail.dcu.ie”" ]
“gavin.boyle8@mail.dcu.ie”
1a87098b5778693118cd1fceb949f83280ad6522
86cd22354f2431087c9b3ff06188f071afb3eb72
/303. Range Sum Query - Immutable.py
9e03003960005a1405337679ed4909cbb8a57337
[]
no_license
tlxxzj/leetcode
0c072a74d7e61ef4700388122f2270e46c4ac22e
06dbf4f5b505a6a41e0d93367eedd231b611a84b
refs/heads/master
2023-08-31T11:04:34.585532
2023-08-31T08:25:51
2023-08-31T08:25:51
94,386,828
2
0
null
null
null
null
UTF-8
Python
false
false
459
py
class NumArray: def __init__(self, nums: List[int]): n = len(nums) self._sum = [0] * (n+1) self._sum[0] = nums[0] for i in range(1, n): self._sum[i] = self._sum[i-1] + nums[i] def sumRange(self, left: int, right: int) -> int: return self._sum[right] - self._...
[ "noreply@github.com" ]
tlxxzj.noreply@github.com
0a650ceeb275d12744cd1f6e1f34c15f6c3dc912
28143f320b905997b48dca079a1b226be087756d
/interface/ui-tkinter-geometry/geometry-pack.py
36938eefbd86e52ac74d8ff0dda4458deb853336
[]
no_license
linuxfor/Python3Learning
0d0ca37d97987252af31d4937647dc5204a97005
a97a84d1f6feca54fd552458e169f60e3e2aa33a
refs/heads/master
2021-01-20T11:19:07.227235
2016-12-05T17:21:15
2016-12-05T17:21:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
#!/usr/bin/python # -*- coding: utf-8 -*- from tkinter import * root = Tk() frame = Frame(root) # demo of side and fill options Label(frame, text='Pack Demo of side and fill').pack() Button(frame, text='A').pack(side=LEFT, fill=Y) Button(frame, text='B').pack(side=TOP, fill=X) Button(frame, text='C').pack(side=RIG...
[ "shellever@163.com" ]
shellever@163.com
790c8001438612cf828ff06a77f816b85679c454
cc3183762d9f7a7c27c0e2e0f9b1263990402e22
/setup.py
0a85b20623d9919c688990075d5747efd26a0948
[]
no_license
kichiSu/dct-coefficient-decoder
45c8dbbc1ea6a6000908c607e01067ac00eef068
fb3f211e76206f15eb99bcf818ae3ee8ddfa0f6c
refs/heads/master
2023-01-18T22:01:53.527894
2020-11-23T15:57:56
2020-11-23T15:57:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
from distutils.core import setup, Extension from distutils.sysconfig import get_config_vars from Cython.Distutils import build_ext from Cython.Build import cythonize import numpy as np import os # Remove the -Wstrict-prototypes flag from the OPT environment variable as it does not make sense when compiling C++ sources...
[ "benedikt.lorch@fau.de" ]
benedikt.lorch@fau.de
a9653bac25a130ba5bde2ab89a8ffe8020aef001
9246bd87b89a6efe8d8db903dcd55c83b5a764c7
/Python-for-Everybody-Learn-Python-3/Section 3: Introduction to Python debugger/debbuging.py
c5093d0a444247b722da272ea944fdd64b02db32
[]
no_license
rahulsingh50/Machine-Learning-Deep-Learning-Notes-And-Practice
b870351d9227c1c4da4d48c378fe015015861357
ca982953a864b1cad08cc8bcfe9930775b1f6bd0
refs/heads/master
2023-01-05T06:34:48.870303
2020-11-03T16:37:22
2020-11-03T16:37:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
def add_numbers(number1, number2): return number1 + number2 def main(): first_number = int(input("Enter the first Number:")) second_number = int(input("Enter the second Number:")) sum_of_numbers = add_numbers(first_number, second_number) print("Sum of two number is :", sum_of_numbers) if __name_...
[ "rsembedded@gmail.com" ]
rsembedded@gmail.com
0d8826680ffaece42ba1b49fbf16f2383ee54d82
4dd937497e056b75cb8cf06d5fa7677d2591a665
/project/src/apps/staticpages/models.py
ca22823086bfaa89d9927549148f2dca32f39bf9
[]
no_license
IceTegliaf/DeloTvoe
9c1cefe5dcd6c86065211d388d9e1f071fd6efac
a8a000f01424dd36e811e60dc91985f713d88ca8
refs/heads/master
2021-01-22T03:29:36.226473
2012-07-25T07:02:28
2012-07-25T07:02:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,534
py
# -*- coding: utf-8 -*- from django.db import models from django.utils.translation import ugettext_lazy as _ from pytils import translit #from apps.staticpages.ping import ping from django.template.loader import render_to_string __all__ = ('Page', ) # Create your models here. class Page(models.Model): t...
[ "pavel@bitrain.ru" ]
pavel@bitrain.ru
dcd336548a0441e2da97d87c3d7fe4acf89333ba
b5e4c4e3abb7f87bfd70ecd912810e2562cecdc5
/section6/venv/Lib/encodings/cp856.py
82a2816233075e676cbdfa68ce0b10b47978a778
[]
no_license
chandshilpa/flaskapi
a89822707dc02f9c588af04f1f33f82a55b627b3
5f229d59d155e68e026566919d292c831ea00ed4
refs/heads/master
2022-12-09T10:59:14.563256
2019-01-08T17:33:46
2019-01-08T17:33:46
164,698,842
0
1
null
2022-12-07T16:24:53
2019-01-08T17:21:32
Python
UTF-8
Python
false
false
11,586
py
""" Python Character Mapping Codec cp856 generated from 'MAPPINGS/VENDORS/MISC/CP856.TXT' with gencodec.py. """ # " import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self, input, errors="strict"): return codecs.charmap_encode(input, errors, encoding_table) def decode(self, input,...
[ "chandsandeep700@gmail.com" ]
chandsandeep700@gmail.com
bb453aac45d7eb13daf5a663deb490b08f3eb81f
3c74f8403bcda4f23b52ddc7cccc9b513668f387
/pagerank_mapper.py
e4e42e61742fc3853a5b4c07f706a225ca173f64
[]
no_license
Antszz/SearchEngine
0aa9bfff3df9141b30a3e3bd4dbd9c205adfb2ce
66da7456c7e5c529a8fc83a920adae5e69767b73
refs/heads/master
2023-08-15T23:12:43.476568
2021-10-18T16:15:08
2021-10-18T16:15:08
416,904,287
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
#!/usr/bin/env python from sys import stdin index = {} for line in stdin: row = line.rstrip('\n').split() if row[0] in index: index[row[0]].append(row[1]) else: index[row[0]] = [row[1]] for word in index: postings_list = ["%s" % (doc_id) ...
[ "esanchez.h25@gmail.com" ]
esanchez.h25@gmail.com
b173f68c5c45adaaeffd0c75d7eebf3022350c31
d177addc1830153404c71fa115a5584f94a392c3
/N1539_KthMissingPositiveNumber.py
ec2a85adf987c4c2c541611169e916af013faa56
[]
no_license
zerghua/leetcode-python
38a84452f60a360e991edf90c8156de03a949000
02726da394971ef02616a038dadc126c6ff260de
refs/heads/master
2022-10-25T11:36:22.712564
2022-10-02T19:56:52
2022-10-02T19:56:52
61,502,010
2
1
null
null
null
null
UTF-8
Python
false
false
1,298
py
# # Create by Hua on 4/3/22. # """ Given an array arr of positive integers sorted in a strictly increasing order, and an integer k. Find the kth positive integer that is missing from this array. Example 1: Input: arr = [2,3,4,7,11], k = 5 Output: 9 Explanation: The missing positive integers are [1,5,6,8,9,10,12,1...
[ "zerghua@gmail.com" ]
zerghua@gmail.com
85f5812869de84dbd6f57201893027cc63538c68
98c0629c0b48a9264f2685e7d4c6dea88e29d79d
/tst/test/rdklib_evaluator_test.py
100cdbcbacece7ee92885b621b1a34d45011ff86
[ "Apache-2.0" ]
permissive
VijayaD/aws-config-rdklib
3bed742b8c05bab91c3b621d7cbc4d96852db923
ff454ba6e2874c5b44f04d12f309133ead5c05cc
refs/heads/master
2021-03-06T18:54:59.022835
2020-03-09T21:38:58
2020-03-09T21:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,356
py
import json import unittest from mock import patch, MagicMock import botocore from rdklib import InvalidParametersError CODE = __import__('evaluator') CLIENT_FACTORY = MagicMock() CONFIG_CLIENT_MOCK = MagicMock() def mock_get_client(client_name, *args, **kwargs): return CONFIG_CLIENT_MOCK @patch.object(CLIENT_F...
[ "chauyu@38f9d34e87fa.ant.amazon.com" ]
chauyu@38f9d34e87fa.ant.amazon.com
5861757ab60ac91da6924f3128379df729d4bff5
a7ff3b8343e3d1afd76d40399aeca51ad26a00de
/models/synthesis_prior.py
04df30d4788fe960b1c0d2fd5a271f9e9081127e
[ "MIT" ]
permissive
dovedx/iclr_17_compression
268a9460c37c567ef6dd0725dab6c56b18017b4e
bce72bc53f5c5f5da14a54a51eedde5eb8d0c39c
refs/heads/master
2022-07-19T12:58:17.901994
2020-05-20T05:43:13
2020-05-20T05:43:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,760
py
#!/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 from .basics import * import pickle import os import codecs from .analysis import Analysis_net from .analysis_prior import Analysis_prior_net from .synthesis import Synthesis_net class Synthesis_prior_net(nn.Module): ''' Decode synthesis prio...
[ "liujiaheng@buaa.edu.cn" ]
liujiaheng@buaa.edu.cn
f3767eaf83ee7afc2f14b3755b237dcea3de3fcb
bf9d6b1ce9b034df2a034ff93f526638720d359f
/accounts/migrations/0004_auto_20170808_0547.py
c1f288ce918585ca8463578033cdb7e088121853
[]
no_license
toluwanicareer/lms
fc2b1c2c8b728826180f27f461cec5ea95adbd59
41de904043d951843ed748d6bf2cffc98462f99d
refs/heads/master
2021-07-09T13:58:46.986986
2017-09-28T05:59:50
2017-09-28T05:59:50
105,106,347
2
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-08 04:47 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "abiodun.toluwanii@gmail.com" ]
abiodun.toluwanii@gmail.com
1c5a6b732f8b3b71d5f22a5564bcde3bd8ae4ce6
348bd616afd274425ad9737964f37d0b13583310
/docs/source/conf.py
0f22d1d4e0dc4ed7d10c0bfe6756e0cbb8a1d009
[]
no_license
whitews/ReFlow
d2062ab03b62c82e250599557a29e86f61e51957
27bd33ac3824de6234952d56cbb66b0e77f076a1
refs/heads/master
2020-12-25T16:58:41.540154
2019-05-01T16:40:53
2019-05-01T16:40:53
7,260,054
4
2
null
2015-05-15T13:50:24
2012-12-20T15:44:52
JavaScript
UTF-8
Python
false
false
7,898
py
# -*- coding: utf-8 -*- # # ReFlow documentation build configuration file, created by # sphinx-quickstart on Wed Jan 23 19:50:53 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All ...
[ "whitews@gmail.com" ]
whitews@gmail.com
b8ca0406a2730429b5d7b06f99edd44cf4551844
75e3da553fee52a3819a9ebe5b5f475148f19102
/yincotoken/views.py
ae76bc08cf643b93ccf04751ece6a847ea29bcd8
[]
no_license
lichaohero/YinCo
45fcb41b7ef519599b5f62bd45dc6002ca1b8b52
ddb009ed1440c487cab27a1bb1ccc7ea8aeb86f1
refs/heads/master
2021-03-26T08:10:55.066399
2020-03-29T12:14:19
2020-03-29T12:14:19
247,687,476
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
from django.shortcuts import render # Create your views here. def token(request): pass
[ "911077046@qq.com" ]
911077046@qq.com
4ccfa5197371f459165525a71f4c2316f630eb74
ef07fc15870e495e9899e00f6275150b74ed7c35
/venv/Scripts/reverse-script.py
315aab0b4e8b35586f5ecaa5c8b9c058adf817cc
[]
no_license
riyapatel09/CrossMedia
d1def5ec3a6dd10dd7daef89fb712ee9b6003af5
013e5143c03acca2221b77e7430d377abfcecde6
refs/heads/master
2020-07-26T15:55:22.648886
2019-09-16T04:01:14
2019-09-16T04:01:14
195,485,688
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
#!E:\gre1\Project-Internship\Networking_Site\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'reverse==0.1.0','console_scripts','reverse' __requires__ = 'reverse==0.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ...
[ "riyapatel9796@gmail.com" ]
riyapatel9796@gmail.com
0b718f7b6341b76e76c9f34c4f7c235b1aa929a3
9188240fdde1ed8d713c7cd29d85b0872bae9de8
/python/glow/hail/tests/test_from_matrix_table.py
21120c8b35f6a00671c589863dc887ef9cbda7fe
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
permissive
haptixx/glow
2fd706ee89f7986f48f93aa2e009ef4f140974a7
fc749e2ab2c29356b6c9d5073ed751b9e4bd57ae
refs/heads/master
2023-07-16T20:58:35.677050
2021-08-25T02:15:26
2021-08-25T02:15:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,574
py
# Copyright 2019 The Glow Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "noreply@github.com" ]
haptixx.noreply@github.com
1b23fdfefe98cdb16237c9a8fce5c05ba9c22fc7
8975cbc2c7ca707594a54fa72caa15da0260da42
/Python/Mqtt Add Data in Database/mqtt_subscribe_and_send_to_database.py
b40c25e9185b0894425fee48ad98d5f3ba2e64e3
[]
no_license
nikunjramani/SmartFarming
3dda5c31df0bcbecca61a86c9ef59566fdb724f4
a4f169a060c23c586aada58cd7b21f0a455aae22
refs/heads/master
2023-02-14T14:50:34.045826
2021-01-08T10:55:17
2021-01-08T10:55:17
285,259,576
0
0
null
null
null
null
UTF-8
Python
false
false
2,281
py
import paho.mqtt.client as mqtt import mysql.connector from datetime import datetime now = datetime.now() formatted_date = now.strftime('%Y-%m-%d %H:%M:%S') mydb = mysql.connector.connect(host="localhost",user="root",passwd="",database="id4111561_nikkat") i=0 moisture='' humidity='' temprature='' smoke=''...
[ "nikunjramani7624@gmail.com" ]
nikunjramani7624@gmail.com
4f56e6665110bb50afcfad478ddd605eaf21e59c
976efd2cf265ff8e5549edbaeaef4c12233117c5
/reprounzip-vagrant/reprounzip/unpackers/vagrant/__init__.py
604927aeea5fae4552017827640ca323e40a05db
[ "BSD-3-Clause" ]
permissive
koconne8/reprozip
30c0e522012ebfe5d476d8ba32ad90253f99ebb1
c655a7a52670085329dc4fc0f3a8818aaab60196
refs/heads/master
2021-01-09T06:52:19.125710
2016-05-11T03:53:48
2016-05-11T03:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,359
py
# Copyright (C) 2014-2016 New York University # This file is part of ReproZip which is released under the Revised BSD License # See file LICENSE for full license details. """Vagrant plugin for reprounzip. This files contains the 'vagrant' unpacker, which builds a Vagrant template from a reprozip pack. That template c...
[ "remirampin@gmail.com" ]
remirampin@gmail.com
e17f103ae156e872b0a44a08596ea39bfe1862c7
a65b9da47784328a42403d624b053988699142e1
/scripts/utils.py
988526302a8a541f8cf425e76213611004bd7641
[ "MIT" ]
permissive
nessie2013/electricitymap-contrib
23ef566d65073bb33514ceb9e7d762d64171f44c
f9323b8e53f8a4f0e9710c0c6857989d9fec1b1b
refs/heads/patch-1
2023-03-07T04:23:56.636025
2022-10-24T21:52:14
2022-10-24T21:52:14
240,559,373
0
0
MIT
2023-03-01T06:08:38
2020-02-14T17:06:34
Python
UTF-8
Python
false
false
1,506
py
import json import pathlib import subprocess from os import PathLike, listdir, path from typing import Dict, Union ROOT_PATH = pathlib.Path(__file__).parent.parent LOCALES_FOLDER_PATH = ROOT_PATH / "web/public/locales/" LOCALE_FILE_PATHS = [ LOCALES_FOLDER_PATH / f for f in listdir(LOCALES_FOLDER_PATH) if ...
[ "noreply@github.com" ]
nessie2013.noreply@github.com
493325b68e5cee35062e2a15547d5355bb645658
3365e4d4fc67bbefe4e8c755af289c535437c6f4
/.history/src/core/dialogs/swimmer_dialog_20170810151903.py
4281b0f5b05eac3a5ee208c260614a79152a8016
[]
no_license
kiranhegde/OncoPlotter
f3ab9cdf193e87c7be78b16501ad295ac8f7d2f1
b79ac6aa9c6c2ca8173bc8992ba3230aa3880636
refs/heads/master
2021-05-21T16:23:45.087035
2017-09-07T01:13:16
2017-09-07T01:13:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,751
py
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar import matplotlib.pyplot as plt from PyQt5.QtWidgets import (QApplication, QDialog, QWidget, QPushButton, QVBoxLayout, QTreeWidget, QTreeWidgetItem) ...
[ "ngoyal95@terpmail.umd.edu" ]
ngoyal95@terpmail.umd.edu
0bd0e61169f722be50330d7d6c9ae7df23b2ae94
311622b570c1d0c3f9d5ad3be737d5a71a4f54e9
/lesson2_1_step5.py
feeed3dea2c148732db024a4a6db58097047f59b
[]
no_license
JuliaKirillova/stepik_course
dedfe511389e641759ff96d2af67f31495fd14ae
6b297f499271f9c359236778c7462694bd417a9f
refs/heads/main
2023-01-13T03:46:01.764635
2020-11-18T10:39:51
2020-11-18T10:39:51
311,353,030
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
from selenium import webdriver import time import math def calc(x): return str(math.log(abs(12 * math.sin(int(x))))) try: link = "http://suninjuly.github.io/math.html" browser = webdriver.Chrome() browser.get(link) # Ваш код, который заполняет обязательные поля x_element = browser.find_elemen...
[ "panic_motion@mail.ru" ]
panic_motion@mail.ru
822300387b2b7eb7aea27340a79fa9178ab4e601
3611c1dbace4f938b4e5c02b0f94f512828ab061
/webscraping/testConnect_BeautifulSoup.py
75ad90222bd69314f51ea52a667e5f3e87f919e2
[]
no_license
compagnon/py
2b7b1247823f465fa47b18c85d9bb2b7c93a0467
388849dcdd16836fa6909536f9cbd9c7050c488e
refs/heads/master
2022-12-07T01:00:10.365544
2022-11-15T08:26:59
2022-11-15T08:26:59
211,052,463
0
0
null
null
null
null
UTF-8
Python
false
false
1,868
py
import os import csv import requests import re import json import requests from bs4 import BeautifulSoup from urllib.request import Request, urlopen from urllib.parse import urlencode from urllib.error import URLError, HTTPError def getHiddenValue(html,htmlInstruction,valueLen): begin = html.find(htmlInstruction...
[ "gcompagnon@outlook.com" ]
gcompagnon@outlook.com
2522e89c1fe901139ac8e21c52965a3e871b725b
30172cf8c7eca2eb5a825b96ed276ba68c746e9f
/regression/prepare_rf_model_cv.py
2eda2c41ff9d7b70d0963620dcbd9cb7c7d47568
[]
no_license
masseyr/deciduous
272451928b0d0cf76aede4d4889a224e87a49c3d
0d2cbb7381f856a7e720419e661b53e633da39b9
refs/heads/master
2021-05-26T05:16:30.208263
2019-12-11T00:25:40
2020-06-09T00:25:40
127,552,187
0
0
null
null
null
null
UTF-8
Python
false
false
9,517
py
from modules import * import multiprocessing from sys import argv import sys import time """ This script initializes and fits training data to prepare models. The data is pre prepared using analysis_initiate.py. The RF models are then pickled and saved for later use. In addition this script also generates outputs by c...
[ "rm885@nau.edu" ]
rm885@nau.edu
6dda735973843fc024a8df33d34e73f91d69ac52
2c009b88509cc332d10b189ea0e85da4dffa8ae3
/upw/wsgi.py
47a33262c2a44d2d0d8dc7bdb0e756e7d474c409
[]
no_license
EsraelDawit-a/customer-2-customer-ERDiagram
496edd84ab4d913cf3301f7366216b1db9d56e48
2bb0d6029d964bbf57192335dec73af9b0353aa6
refs/heads/main
2023-06-10T08:27:42.782197
2021-07-04T09:47:23
2021-07-04T09:47:23
382,781,643
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for upw project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "34979331+Yohanes-Fikru@users.noreply.github.com" ]
34979331+Yohanes-Fikru@users.noreply.github.com
322a27659e9eecd9f6d9d9c4a8365ae5818f3292
5197a9512f6ef0c95de67e60abbc9d6e11ecc053
/2014/territoriali/trovaparola/gen/generatore.py
6b8d296926cad64d68609263819e76413e3bcbd0
[]
no_license
Carlovan/oii
02865f72f6af9e07f37e65a0472211400acab4d8
c92aeafaf117fa2b7d656d6ade50f2914d0d6084
refs/heads/master
2021-01-21T19:20:17.078391
2015-04-16T16:42:05
2015-04-16T16:42:05
34,003,002
0
0
null
2015-04-15T15:40:50
2015-04-15T15:40:49
null
UTF-8
Python
false
false
1,546
py
#!/usr/bin/env python2 from limiti import * usage="""Generatore per "trovaparola" scritto da Giulio Carlassare. Parametri: * R (numero di righe) * C (numero di colonne) Constraint: * 2 <= R, C <= %d """ % MAX from sys import argv, exit, stderr import os from numpy.random import random, randint, seed as nseed from ...
[ "giulio.carlassare@gmail.com" ]
giulio.carlassare@gmail.com