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
b5078b9854c91fa4f913d8e9cf8b08dc1713fe7f
5307cf8599fe63025c98ca3a6fb3d8a8b96f2c1e
/learning/urls.py
7a2b29c048e51617cf70d47fa0b2742c476762ec
[]
no_license
lidayan/soundwave
5bf4382071938b55f9fe2dfd9c709d2c4cb96aeb
082852465ff263ece5a3301768c905f7c8d6f53b
refs/heads/master
2020-01-27T09:58:19.726921
2016-09-11T14:38:33
2016-09-11T14:38:33
67,899,466
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
from django.conf.urls import patterns, url, include from rest_framework.routers import DefaultRouter import views # Create a router and register our viewsets with it. router = DefaultRouter() router.register(r'snippet', views.SnippetViewSet) urlpatterns = patterns('', url(r'^api/', include(router.urls)), ur...
[ "dayan.li@datayes.com" ]
dayan.li@datayes.com
aefc218d9c057a504d5c617cb6fd9a67156ff7d7
486abb27f63d89704c0c8df30adc1250610881d1
/7 - Modèle proie-prédateur.py
7d02fb088c0fbd6cc366b9f808fa4c6dabe22f6f
[]
no_license
Julien-COCCO/Mini-Projet
8fb595fcd1f421ddbe1641a88798c09b610c7450
e881f28b7d136837b9ccd0307bfd464cf0d17881
refs/heads/main
2023-04-20T23:55:17.347591
2021-05-10T09:53:22
2021-05-10T09:53:22
365,993,895
0
0
null
null
null
null
UTF-8
Python
false
false
2,589
py
import numpy as np import matplotlib.pyplot as plt import scipy.integrate as sc tfin = 4 # En années n = round(365*tfin) # Intauration d'une d'une étude jour par jour h = tfin/n t = np.linspace(0,tfin,n) Y0 = np.array([5,3]) ## 1 et 2 a1 = 3 b1 = 1 a2 = 2 b2 = 1 y1 = np.zeros(n) for i in range(...
[ "noreply@github.com" ]
Julien-COCCO.noreply@github.com
54cbac2ab3251f212b32ce8738bf0a161e2bf3b3
8d20be639f9cbdccb12426c7c75782c32a36dd95
/mastermind/mastermind_api/apps.py
a01aa6c29c1d27a5a88696ba5c894cfbffd708a6
[]
no_license
pkmishra47/DjangoRestAPI
40f80db68fafbce3df5be6d2f40701b2a8070102
6b7c22738cf17983094afc2010798c78c0797516
refs/heads/master
2022-12-21T06:48:51.326545
2020-05-23T04:25:11
2020-05-23T04:25:11
211,448,263
0
0
null
2022-12-08T07:28:36
2019-09-28T05:19:39
Python
UTF-8
Python
false
false
102
py
from django.apps import AppConfig class MastermindApiConfig(AppConfig): name = 'mastermind_api'
[ "pkmishra.pradeep@gmail.com" ]
pkmishra.pradeep@gmail.com
d4fcd6722bf3e2aa3b7c4a69ef1f326cba652e5d
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_9354.py
a2f63ab382168c4f95a27c8efd89815462e8eb59
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
# Packaging pyOpenSSL into a windows executable using PyInstaller BINARY
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
1cedfbd0e683c883671587ad562589837e9e10b8
2c574b863fd85124b630c528e1ddd3a387ae0157
/8.largestProductInASeries.py
f6416ade31961a4fd0681328eaa817e57678bd86
[]
no_license
omiroshn/projecteuler
93acc12f4667ea88eb5b47c13cdddb00d5fe12a9
3720e300e6f5a6e1983df7fdac280a6793e1ae23
refs/heads/master
2021-10-10T20:04:06.343317
2019-01-16T14:58:14
2019-01-16T14:58:14
163,091,809
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
str = "7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629...
[ "omiroshn@e3r7p7.unit.ua" ]
omiroshn@e3r7p7.unit.ua
12444cb7e47305bf4db4235d9626ee2b73e2079a
ded10c2f2f5f91c44ec950237a59225e8486abd8
/.history/2/path_integral_naive_sampling_20200423233542.py
b970e8822162b2391f5669c343fb95a05a7aecf9
[]
no_license
jearistiz/Statistical-Physics-Projects
276a86407b32ded4e06b32efb2fadbd8eff8daed
d9c5b16a50856e148dc8604d92b6de3ea21fc552
refs/heads/master
2022-11-05T03:41:23.623050
2020-06-28T06:36:05
2020-06-28T06:36:05
254,909,897
1
0
null
null
null
null
UTF-8
Python
false
false
6,845
py
# -*- coding: utf-8 -*- from __future__ import division import os from time import time import numpy as np import matplotlib.pyplot as plt import pandas as pd from matrix_squaring import (rho_free, harmonic_potential, anharmonic_potential, QHO_canonical_ensemble, save_csv) # Author: ...
[ "jeaz.git@gmail.com" ]
jeaz.git@gmail.com
0e6e2846874fba66be0bcd6076ebea11c2ad25da
8d785cd8214d268e2245d91308c0e95328f21839
/Q7.py
4498f1acc957fe3f7536aae20b23d5609e89d8b4
[ "MIT" ]
permissive
Naro-Usmany/CP19_38
9761f1b95dfc4e65cbb0a9099763f436872bc768
7a20cd2b8998552c7598f58b936375602158bc9c
refs/heads/master
2020-05-16T00:03:22.932324
2019-04-21T16:39:45
2019-04-21T16:39:45
182,570,201
0
0
MIT
2019-04-21T18:46:01
2019-04-21T18:46:01
null
UTF-8
Python
false
false
667
py
# Question No 7 test1=int(input("Enter Your Score For Test 1: ")) test2=int(input("Enter Your Score For Test 2: ")) Mainexam=int(input("Enter Your Score For The Main Exam: ")) Total_score=test1+test2+Mainexam if test1>25 or test1<0: print("Invalid Score") elif test2>25 or test2<0: print("Inval...
[ "noreply@github.com" ]
Naro-Usmany.noreply@github.com
c72a814645268eb02bfe3a429f935c65c23e5dae
ab124df80f241ee4634041a5110553c603a7c168
/flask_app/Env2/Interface.py
3dd543a46f3334479417a6053e0517c404669800
[]
no_license
thibaultdalmon/RecommenderSystem
8a07b2f5a0ffff53a421d7a7b06c1837b2bd4417
9f2bad06ceb2451977873d77aa50e33b2f2fc518
refs/heads/master
2020-04-20T01:11:25.572272
2019-02-27T21:49:04
2019-02-27T21:49:04
168,538,659
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
import requests class Interface: def __init__(self, args): self.base_url = 'http://{}'.format(args.ip_address_env_2) self.user_id = args.user_id self.url_reset = '{}/reset'.format(self.base_url) self.url_predict = '{}/predict'.format(self.base_url) r = requests.get(url=se...
[ "emmanuel.goutierre@mac.com" ]
emmanuel.goutierre@mac.com
6ae1e56592fc2dca20e0176f1a5fd7319474f14d
fd105ff97d48b09c2624f21c350881e3879abb5c
/dj_oydiv/admin/vidyoadmin.py
a5342b6b2c97730ffb6edd29a8eeba156a8775cd
[ "BSD-3-Clause" ]
permissive
lowks/dj-oydiv
e3406a13de6a46ff0e0e987826719b49039792fa
b8cca24462745d5ac5ec7ad05e06dbab73a05e66
refs/heads/master
2020-12-01T02:58:07.482114
2015-11-28T16:54:36
2015-11-28T16:54:36
47,873,863
0
0
null
2015-12-12T10:27:33
2015-12-12T10:27:33
null
UTF-8
Python
false
false
8,749
py
from __future__ import absolute_import, unicode_literals from django.contrib.admin import ModelAdmin, TabularInline from django.core.exceptions import ValidationError, PermissionDenied, SuspiciousOperation from django.core.validators import URLValidator, validate_ipv46_address, RegexValidator from django import forms...
[ "ilias@debian" ]
ilias@debian
0928bd0efa78ee2cfad0e764ddb3cfd8979eb0b4
83fa4c66b49c4915115c88c4f78d1141dc47a54c
/dcosdev/oper/tests/init_py.py
47c89d0afdd600298a69bf12356ea749f3a70fc3
[ "Apache-2.0" ]
permissive
mesosphere/dcosdev
65a40e0b5f9ee63dc0af67474166652132ac51c3
7281d7d26b22bd500ae4ac5d0fc6550cb1098c1d
refs/heads/master
2023-06-07T09:44:23.937857
2019-01-24T03:14:38
2019-01-24T03:14:38
137,130,989
10
7
Apache-2.0
2021-08-10T18:40:52
2018-06-12T21:42:55
Python
UTF-8
Python
false
false
216
py
template = """ import sys import os.path # Add /testing/ to PYTHONPATH: this_file_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.normpath(os.path.join(this_file_dir, '..', 'testing'))) """
[ "michael.beisiegel@gmail.com" ]
michael.beisiegel@gmail.com
65401664b06a93b095a28cc96b9e0bfc736e4c62
61c5150c9c11c013460ec8386b3fd1c4196e632c
/src/generate_config.py
9a2fdeac22f9fe3b76843d2e9e2bd83c99fff43d
[ "MIT" ]
permissive
mbailleu/avocado
73e10151204e8ccdff202f914de55c721f5d624a
6b835f580671412be975fea70b8d1890cdd8e399
refs/heads/main
2023-07-30T23:27:59.498506
2021-09-20T14:19:56
2021-09-20T14:19:56
363,992,538
16
2
null
null
null
null
UTF-8
Python
false
false
2,736
py
#! /usr/bin/env python3 import sys import socket import argparse from typing import List config_str = "-n {threads}\n" \ "-u {ip}:{port}\n" \ "-p {phys}\n" \ "-k {n_keys}\n" \ "-v {max_vsz}\n" replica_str = "\n-a {ip}:{port}:{threads}" known_svr = { "rose...
[ "M.Bailleu@web.de" ]
M.Bailleu@web.de
6b00f9aecb7845cf2e63a7bf2f43e65bb2b96572
f78572ce42d800147396308943e346d32c011601
/sss_object_detection/scripts/sim_sss_detection_publisher_old.py
2e8a3ab682af1d31cf1a1427b97ed939ed053cc5
[ "BSD-3-Clause" ]
permissive
ShounakCy/smarc_perception
83f579bb4fe1aa4b6b19f261f8f547ec81d4c2dd
37de967be6246dbfd588608d7cbf77112c785ed3
refs/heads/noetic-devel
2023-08-18T19:41:46.019355
2021-10-14T12:15:21
2021-10-14T12:15:21
408,851,791
0
0
BSD-3-Clause
2021-09-21T14:25:51
2021-09-21T14:25:48
null
UTF-8
Python
false
false
10,434
py
#!/usr/bin/env python import rospy import numpy as np import tf from nav_msgs.msg import Odometry from vision_msgs.msg import ObjectHypothesisWithPose, Detection2DArray, Detection2D from visualization_msgs.msg import Marker, MarkerArray from std_msgs.msg import ColorRGBA from geometry_msgs.msg import PoseStamped, Poin...
[ "shounakcy@gmail.com" ]
shounakcy@gmail.com
644bdf18c3278dfbb6513ced1fa8d8f9ea13799d
dd1c8bfb7def81e356832d117d69d818d07570c0
/assignment1/cs231n/classifiers/test.py
fa87d17598fce3c629b56dd9cf0ed7793875e0eb
[]
no_license
Wafaaismail/Cs231n
a6e70161819da6d545239480589991c066036663
e8f416cfb7c596f0e089a0dfa54378da9f06ee51
refs/heads/master
2020-06-24T08:31:47.520922
2019-07-29T21:16:58
2019-07-29T21:16:58
198,914,990
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
print("hello") from cs231n.data_utils import load_CIFAR10 #---------------------read data----------------------------------------------# xtr,ytr,xte,yte = load_CIFAR10('datasets/cifar-10/')
[ "wafaaismail595@gmail.com" ]
wafaaismail595@gmail.com
e08abba05c648cd743d8e27e42efb77e4e23b760
a2058795324905f3c44e0f78bad6d61b19b7242b
/whatsappReader/whatsappReader/wsgi.py
8f68b44dadb367c112c8d4d60ac5fb1704071a3f
[]
no_license
tanvi-surana/whatsapp-reader
5564470d8e4c25079810c08a7782dcb0a9313b7a
5f21691f95b200105f719a4319fff0c926233f94
refs/heads/master
2021-07-11T20:40:30.235462
2016-10-15T10:40:23
2016-10-15T10:40:23
56,430,296
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for whatsappReader project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANG...
[ "tanvisurana20@gmail.com" ]
tanvisurana20@gmail.com
6a49b8bc19060826a3fe80ad6adef0f097d97029
e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67
/azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/batch/operations/job_schedule_operations.py
36694469bf92effa151f16897e33916ae7600f2c
[]
no_license
EnjoyLifeFund/macHighSierra-cellars
59051e496ed0e68d14e0d5d91367a2c92c95e1fb
49a477d42f081e52f4c5bdd39535156a2df52d09
refs/heads/master
2022-12-25T19:28:29.992466
2017-10-10T13:00:08
2017-10-10T13:00:08
96,081,471
3
1
null
2022-12-17T02:26:21
2017-07-03T07:17:34
null
UTF-8
Python
false
false
54,625
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
a08383826ef8a4aa9b8dafec2a1557b638f65b68
0b03b18954fcacc64ec63b211423603e6c6c07e4
/test/wsdl2py/test_DerivedTypes.py
909f12baf20f8e51c63539b02402a71d60a155fa
[]
no_license
chevah/ZSI
c1463e30828cd24b2f68033ab269a49fd9c8dd63
91335df5b25cd007847a8dca30de2fc53a8ad60b
refs/heads/master
2021-01-19T13:03:58.999380
2017-08-19T20:03:41
2017-08-19T20:03:41
100,818,295
0
1
null
null
null
null
UTF-8
Python
false
false
9,526
py
#!/usr/bin/env python ############################################################################ # Joshua R. Boverhof, LBNL # See LBNLCopyright for copyright notice! ########################################################################### import os, sys, unittest from ServiceTest import main, ServiceTestCase, Serv...
[ "adi.roiban@chevah.com" ]
adi.roiban@chevah.com
1eb5a1b07e2952ebaab6dfabb39ac5e9eb4580b5
60d3f970a1dd44820838c96afe5f73dd3bd2783e
/chapter4Lists.py
f8df678c1fba628098b7e24f7a49f56c3caa1638
[]
no_license
Ayoyiinka/Automate-the-Boring-Stuff-with-Python
bdd6533db5dcb61ae93338f5c5a2f88aeeb9a50c
6034795d0a029e9e960346b7be39a714286aa3be
refs/heads/master
2020-04-17T13:59:58.686538
2019-07-04T16:48:10
2019-07-04T16:48:10
155,059,238
0
0
null
null
null
null
UTF-8
Python
false
false
1,505
py
#Commma Code '''Write a function that takes a list value as an argument and returns a string with all the items separated by a comma and a space, with and inserted before the last item. But your function should be able to work with any list value passed to it.''' def listToText(listt): text = '' for i in rang...
[ "noreply@github.com" ]
Ayoyiinka.noreply@github.com
d543770293d847a8bf9393c2475a126cb14fc13f
741e0c840dba83676ec6fdd9a3ef968935173be3
/lucky_club/__init__.py
b632938e91d3c8d170e6e4eb7725d4215ec14763
[]
no_license
avandriets/LuckyClub
058f484bd4b4f1e425e211b65730cb3c1919e88e
a4dac32bed9242b4ee35f0d0e9b8fc0300dbf565
refs/heads/master
2021-03-30T18:08:20.189413
2018-04-22T06:21:16
2018-04-22T06:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
from .lucky_club import app
[ "avandriets@gmail.com" ]
avandriets@gmail.com
20e67fdfe0bb01c82519e17dea4e003f9b7f0e94
a760487505a435d4e0bbbe7a2b4a5f892b36056a
/activity/migrations/0010_auto_20210718_1447.py
b77ad1e65e35c93cf04de1370bc8908e577caddd
[]
no_license
feliciawnn/hobbybuddy
9e67c3847826c1fa2adbb07df74978a7ac265da1
5f7f0a5232c4ae0500852b07592bf1d1d4e728b2
refs/heads/main
2023-06-19T15:29:32.134051
2021-07-18T15:43:14
2021-07-18T15:43:14
386,869,351
2
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
# Generated by Django 3.2.5 on 2021-07-18 07:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('activity', '0009_auto_20210718_1427'), ] operations = [ migrations.AlterField( model_name='activity', name='descript...
[ "ebag0003@student.monash.edu" ]
ebag0003@student.monash.edu
9531e2229c027b7d6eaac6c388925b9cdd044dbb
5962a371a48ca77dfc1a8f0251da9124bbf3286f
/CommonTools/python/Sources/CMG/V5_10_0/Summer12/cmgTuple_TTbarMcatnlo_cff.py
f715018498eed3f786baa4fe60456c3d53fabb48
[]
no_license
kuyoun/KoPFA
6533339ec6dbd31ba91e5e419e11ff04cc2aaae8
8e45717a432f00704a1b71bcdf0d5a22b55e1a9b
refs/heads/master
2020-12-25T02:11:46.442898
2013-11-07T12:15:19
2013-11-07T12:15:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
450,118
py
import FWCore.ParameterSet.Config as cms source = cms.Source( "PoolSource", noEventSort = cms.untracked.bool(True), duplicateCheckMode = cms.untracked.string("noDuplicateCheck"), fileNames = cms.untracked.vstring() ) source.fileNames.extend([ '/store/cmst3/user/cmgtools/CMG/TT_8TeV-mcatnlo/Summer12_DR53X-PU_S10...
[ "" ]
72e23f1c3fbb1ae2f8bb1b6e13bf13519fd8c181
4dc63579783f743006a22a03905adc060b742cbe
/LinkedList/convert_sorted_list_to_binary_search_tree.py
1d54db6e6031c193caab0ad353f85e1a550c59b6
[]
no_license
doguhanyeke/leetcode-sol
37aaad9ea2e4b2870ba10c3ad51bda19cca1e300
dcf22bb4ff3cb0d04536e9a446dd299d3a1ce734
refs/heads/master
2022-04-07T00:39:40.914138
2020-01-07T14:21:16
2020-01-07T14:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: de...
[ "doguyeke@gmail.com" ]
doguyeke@gmail.com
329b1920c6969f7b5dc1b5a6eda1e8bcbda1fb91
d79f645fb7b306cb6d4e842907623c88537d3163
/examples/linregPolyVsN.py
2bc955f7c538d866e1dd9e0582372b5eef151371
[ "MIT" ]
permissive
krkeane/pyprobml
1f21099b03e78f1f8f0be226a1b7942421ef2212
6647192136703cec639b57bbf892b40caadc2e0a
refs/heads/master
2021-05-10T19:56:21.507104
2018-02-17T15:05:01
2018-02-17T15:05:01
118,170,285
0
0
null
2018-01-19T19:43:08
2018-01-19T19:43:06
null
UTF-8
Python
false
false
2,030
py
import os os.chdir("..") from utils.util import poly_data_make from sklearn.linear_model import Ridge from sklearn.preprocessing import MinMaxScaler import matplotlib.pyplot as plt import numpy as np TrueDeg = 2 #The true degree of the model degrees = [1, 2, 14, 20] #The degrees of our design matrices #Function ...
[ "noreply@github.com" ]
krkeane.noreply@github.com
208f610fcc7a5d61a4e865a2904adb780b593f7e
192bd70c616232c7054173069d5354e4d6d52c62
/util/emu.py
03d1ec3a068a0f9d390bec4556ccd5064cdf91ef
[ "MIT" ]
permissive
zh-explorer/patchkit
a37254aa674e6057142d7aecf8a172ae9bd84bfc
832575645e340503623d558ad97df92594bfd93a
refs/heads/master
2021-01-19T17:36:19.112581
2020-06-01T05:24:34
2020-06-01T05:24:34
88,334,238
1
1
NOASSERTION
2020-06-01T05:24:36
2017-04-15T08:24:23
C
UTF-8
Python
false
false
11,106
py
import os import struct import time import traceback from contextlib import contextmanager from collections import defaultdict, OrderedDict from unicorn import * from unicorn.x86_const import * from capstone import * from capstone.x86_const import * def align(addr, size): start = addr end = addr + size end...
[ "lunixbochs@gmail.com" ]
lunixbochs@gmail.com
08c2776efb8e7e7482488fbd3702cd0eff550aae
72fd2b0a9c7db91b40b163ffa569c16281bf2dac
/cifar10_cnn_test7.py
7d69d162a6f751480d70f2bb273bcfa7408c4de9
[]
no_license
brunokovac/ZavrsniRad
a512b6d200bc89b0c421cd596c75de914d5711d5
278bf6639aa65d91d5e13559a1e68986dcc1d314
refs/heads/master
2020-03-19T03:04:07.625650
2018-07-01T13:25:02
2018-07-01T13:25:02
135,691,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,940
py
import tensorflow as tf import numpy as np import cifar10_cnn_model as cnn_model def get_eval_metrics(matrix): accuracy = np.trace(matrix) / np.sum(matrix) precision = np.diagonal(matrix) / np.sum(matrix, axis=0) recall = np.diagonal(matrix) / np.sum(matrix, axis=1) return accuracy, precision, recall ...
[ "noreply@github.com" ]
brunokovac.noreply@github.com
422a7cbbdb7c5caf6dde6adaee7e9ac91caac2ff
bce3dfcb2ab801087b663c56f590a8affa7495d0
/qa/pull-tester/rpc-tests.py
2a7f2b1a2326b7e5101d6c2cdeff7d67521d0cb3
[ "MIT" ]
permissive
botslim/botslim_03.githab.io
cc9c61a1b51cc3ab7bd359ca9b95922ada6b033d
3bd14fb80553e20aaa7a76ef2d8e84658e69fabb
refs/heads/master
2021-04-18T22:38:39.456638
2018-02-24T15:54:16
2018-02-24T15:54:16
126,571,147
2
0
MIT
2018-03-24T06:08:18
2018-03-24T06:06:18
C++
UTF-8
Python
false
false
8,819
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ Run Regression Test Suite This module calls down into individual test cases via subprocess. It will ...
[ "rapturecoredev@gmail.com" ]
rapturecoredev@gmail.com
a16961f9751a339bef799e2a4a94f5a1f003b5d2
6fbc2ef109add7f322c34d9d4940aac2298fabc1
/lib/universal_html/lists.py
b01fe5a5df48a1ddb6a0b937b6851d8cb6025e90
[]
no_license
edison23/fml4
db9c1b3225ff652de41844e94f2d1006d5142d39
10782892f3f0b046cde4c4098885380c68e9d5a0
refs/heads/master
2020-04-06T07:11:57.905737
2014-05-23T09:56:11
2014-05-23T09:56:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,271
py
# -*- coding: utf-8 -*- # Lists conversion import json, re, os, sys # Open dictionary with list keywords # with open( "../../tagsets/itemize.json", "rb" ) as fp: # bullet_keys = json.load(fp) # print os.path.abspath(os.path.join("tagsets", "itemize.json")) script_path = os.path.dirname(os.path.abspath(sys.argv[0]))...
[ "klementdavid@gmail.com" ]
klementdavid@gmail.com
c75870ceba35b59bf03e9adec9a1acf7bbc8b7a7
5db0fab37c2b8a618d85d3b60fab9f806c416474
/src/python/pants/backend/scala/lint/scalafmt/rules.py
05d448bc13f60bd711e94212ae524a7bc354c65f
[ "Apache-2.0" ]
permissive
pantsbuild/pants
4988d1ac5474ec95f94ce2218aeb759401e4b011
98cbda8545f0d58c586ed2daa76fefd729d5e0d5
refs/heads/main
2023-09-05T03:44:17.646899
2023-09-01T19:52:09
2023-09-01T19:52:09
7,209,075
2,708
593
Apache-2.0
2023-09-14T19:33:33
2012-12-17T17:39:04
Python
UTF-8
Python
false
false
7,643
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations import os.path from collections import defaultdict from dataclasses import dataclass from typing import cast from pants.backend.scala.lint.scalafmt.skip...
[ "noreply@github.com" ]
pantsbuild.noreply@github.com
1bf6c19fd5f175c303e867e22ae2a38de7eb637d
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/django/2015/4/test_uuid.py
7ce98a085272c97a5ab3044f7a48697fd16860a0
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
5,632
py
import json import uuid from django.core import exceptions, serializers from django.db import models from django.test import TestCase from .models import ( NullableUUIDModel, PrimaryKeyUUIDModel, RelatedToUUIDModel, UUIDModel, ) class TestSaveLoad(TestCase): def test_uuid_instance(self): instance = ...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
dfe5d53f68e2eb3bdd1ddc125e337e11bdf6a65c
310acdc816471356063121a966f6243eb5ee4bc3
/tests/test_preprocessing/test_pandas_array_utils.py
cb8bff9e375ebebcfbbd656b3f9c8e8b2a787acd
[ "MIT" ]
permissive
octoenergy/timeserio
e3d1b79d7425448346bc52ef2ae8c6daf625d368
fbf99a05e420e684a941dd8223d07183644ced2d
refs/heads/master
2023-04-06T22:19:29.835755
2022-10-10T08:33:55
2022-10-10T08:33:55
196,452,519
69
12
MIT
2023-03-25T02:06:46
2019-07-11T19:18:04
Python
UTF-8
Python
false
false
1,391
py
import pytest import numpy as np import numpy.testing as npt import timeserio.ini as ini from timeserio.preprocessing.pandas import array_to_dataframe from timeserio.data.mock import mock_fit_data N_TIMES = 3 N_IDS = 2 N_ROWS = N_IDS * N_TIMES N_DIMS = 2 @pytest.fixture def df(): return mock_fit_data(periods=...
[ "igor.gotlibovych@gmail.com" ]
igor.gotlibovych@gmail.com
60f78b5003d5bffe777c03021b48f46106dcd905
eed20283ee98a6d782e9e347eb2470edf4e52c94
/advanceagro/home/migrations/0009_document.py
43409c1ad9ff4b1fe5039fae37f2aa7d18b3764d
[]
no_license
Yeasincse/AdvanceAgro
3d4d087345c67abb9c544d3b8523144930aa7c63
45c2e4c87b48809e11959c985efe207cb4286674
refs/heads/master
2020-03-08T07:54:16.349487
2018-03-21T16:27:30
2018-03-21T16:27:30
128,006,751
1
0
null
2018-04-04T04:26:39
2018-04-04T04:26:38
null
UTF-8
Python
false
false
522
py
# Generated by Django 2.0.3 on 2018-03-14 17:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0008_dailyroutine'), ] operations = [ migrations.CreateModel( name='Document', fields=[ ('id...
[ "rayhancse08@gmail.com" ]
rayhancse08@gmail.com
a740dfdfc1c6e8b2ea785e9d98d6ec7bf5fb31b5
bee070783a9318e69bc8624a69832a690b89943f
/day1.py
02dabe4f73e1b86d887eeb88578166a6f6bd8c45
[]
no_license
fredrikljung93/advent-of-code-2020
ecf46b414968d8bc10837dcc4662237785e0a5e3
72723c5db0d2fa52b8e4a0fbcae034bd347d3b3a
refs/heads/master
2023-01-28T05:04:20.353451
2020-12-07T18:26:32
2020-12-07T18:26:32
318,645,837
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
#!/usr/bin/python3 path = 'puzzleinputs/day1.txt' numbers = list(map(int, open(path, 'r').read().splitlines())) numbersCount = range(len(numbers)) def part_one(): for x in numbersCount: for y in numbersCount: xn = numbers[x] xy = numbers[y] if xn + xy == 2020: ...
[ "fredrik.ljung@tellox.se" ]
fredrik.ljung@tellox.se
bd1e29f61ac532abaf00b760de61ed4c126e3c7e
2ea38499ba0d3f249b7b8cb14b460af13ebe13e1
/sum of quare of N no.py
4a9c3bb96c55d8b186f021339e50e36a5df391d0
[]
no_license
amantyagi95/python-beginner-projects
03e209f8c4ef5cf0883d9affe6500b5f6178a27f
b6ff594f6cda2d92d7b9849da58e2f1628efc323
refs/heads/master
2022-10-12T16:16:16.891821
2020-06-08T09:39:12
2020-06-08T09:39:12
269,071,736
3
0
null
2020-06-03T11:37:22
2020-06-03T11:37:22
null
UTF-8
Python
false
false
161
py
def sum(n): if n==1: return 1 return n**2 + sum(n-1) print(sum(5)) #2nd method sum = lambda n: 1 if n==1 else n**2+sum(n-1) print(sum(12))
[ "noreply@github.com" ]
amantyagi95.noreply@github.com
7559e1db5479677878ffe230531c5b0aeb163a3a
2b48fd923dbf9bd6fda9905f345e7fd8455df737
/deeplearning.py
af5e3a3de671d1ddd806d8715c60aa5af43b371d
[]
no_license
medo/Telco
53ea17bb76d49b178b8e986cfe64fe6ed1c62eb0
602dd4ac48998e1c05c7a90556a3ac5faf1e3aa7
refs/heads/master
2021-01-18T11:42:52.066838
2016-06-02T20:20:32
2016-06-02T20:20:32
59,232,529
0
0
null
null
null
null
UTF-8
Python
false
false
7,147
py
import pandas as pd import numpy as np from sklearn import cross_validation from sklearn.cross_validation import StratifiedKFold from sklearn.cross_validation import train_test_split from sklearn.metrics import * from sklearn.preprocessing import OneHotEncoder from sklearn.feature_extraction import DictVectorizer from ...
[ "mohamed@farghal.com" ]
mohamed@farghal.com
8415f662fb71412f3e2c7ded733a8de6fe78f748
ac00b21cc9921e1ab3d76c4a12fbcd2e5c9164b1
/app.py
7e785d5456a8a0adfea2284baaafd7393e0b5a4c
[]
no_license
seanwayland/web-scraping-challenge
3c6a0bf4cab0f661d021fecb5c8b5d0244b1cfeb
b5ea8016b72b9397793799fed2ac1e9ecb75f5ec
refs/heads/master
2022-04-21T17:11:42.938066
2020-04-22T23:19:47
2020-04-22T23:19:47
257,058,135
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
from flask import Flask, render_template, jsonify from scape_mars import scrape from database import getLatest, update # Import our pymongo library, which lets us connect our Flask app to our Mongo database. import pymongo # Create an instance of our Flask app. app = Flask(__name__) #update() #index @app.route('/...
[ "seanwayland@gmail.com" ]
seanwayland@gmail.com
233be026059d2cd589600f4613b11fc8d698b63b
d2cf0946da1ebcc8d64b1aa21d9824a15e84dbb6
/fast_randint.py
e916a3856ec814b7a8ddbf084fb16c9cb1eb47b8
[]
no_license
danrouse/hsbg-sim
dcc93fc6a0bbcd6739713a74e7da3e2f2524debf
cd121ac948f794e278481303fd208cd37b55b7b1
refs/heads/master
2021-03-30T08:09:53.706240
2020-03-17T13:10:38
2020-03-17T13:10:38
248,031,175
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from random import random def randint(min, max): """ Generate a random integer between min and max (inclusive) See https://eli.thegreenplace.net/2018/slow-and-fast-methods-for-generating-random-integers-in-python/ """ return min + int(random() * (max - min))
[ "dan@squarefoot.com" ]
dan@squarefoot.com
0f39dc3f9ac1bb11a387e97f43343e6be4edf91d
161c61743a29e05e9f50415addebd7b8beab929c
/Nova Fase/recipe__oauth_login.py
6d6a49f061f8f5f04f97390776bf935ac1249826
[]
no_license
julianaibiapina/Data_Science
f4d1ad53f6136aa199b429cd18bec23a74d5fe7d
febfc95f2ec4d31cfba3b437f1cf183d736cd940
refs/heads/master
2020-04-27T15:18:55.455630
2019-08-17T04:26:25
2019-08-17T04:26:25
174,441,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,287
py
import os import sys import twitter from twitter.oauth import write_token_file, read_token_file from twitter.oauth_dance import oauth_dance # Go to http://twitter.com/apps/new to create an app and get these items # See also http://dev.twitter.com/pages/oauth_single_token APP_NAME = 'Análise de Bolhas Sociais' CONSUM...
[ "julianibiapina@alu.ufc.br" ]
julianibiapina@alu.ufc.br
759e898eb926ca254d2bcdcf6b8888a75bf98097
e52dd265d3cbb5bdd0300c8dcad6e3329507e573
/main.py
b97bcc5d7c30ce9698df43058fcdeb471f059ab8
[]
no_license
fchimasanchez/centered-difference-approximation
32b42e225373360c2fc69a038604fdbd3b240abe
eee0d960970811aa6131a9b2acdae5a7cbeacbc3
refs/heads/master
2021-01-11T13:51:20.974690
2017-04-06T04:34:37
2017-04-06T04:34:37
86,633,616
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
## Author: Francisco Chima Sanchez ## Created: 2016-03-10 ## Last Modified: 2017-04-05 # This script demonstrates the centered-difference approximation to the derivative of a function. Specifically, while # test $f(x) = sin^2 x$ at the point $x = 1$. The step size is set at $h = 1$ and with each iteration, reduced by ...
[ "noreply@github.com" ]
fchimasanchez.noreply@github.com
d9cf1e72ca0d73b2db6e9d7b9fa7918eaa9b90b7
20cee9c08b1d61a17e6dd44315e2854f80d7a86a
/mit_ocw/pipelines.py
418d3affcd4bb4622dd961fe61fea91bee00ba36
[]
no_license
hamedwaezi01-zz/mit-crawler
81ad3878422e4c25beae0d4d5031ecc0b2049dfc
f5fb122771d09bf70a65a10c922e3249af585655
refs/heads/main
2023-06-04T12:58:26.856823
2021-06-30T17:57:38
2021-06-30T17:57:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
# Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html # useful for handling different item types with a single interface from itemadapter import ItemAdapter class MitOcwPipeline: def process_item(s...
[ "arya.araban21@gmail.com" ]
arya.araban21@gmail.com
ca4803bce63684d0a7204f2fb29547b672a2a7da
b985f1abc806f7cf4962374140668aa65e330a71
/controllers/__init__.py
c6a46ef47a1ecee34cd2712acced245b070428ef
[]
no_license
Decentorage/User-Node
2665862706130c1bc14f2a7248a3ed0c0603088a
30afa71ac68a4bea73d28796186be390d00dd8c5
refs/heads/main
2023-06-26T11:21:00.136614
2021-07-27T13:44:13
2021-07-27T13:44:13
357,921,279
0
0
null
2021-07-27T13:44:14
2021-04-14T13:48:13
Python
UTF-8
Python
false
false
88
py
from .page_controller import PageController from .progress_bar import init_progress_bar
[ "amr.ahmed.abdelbaqi@gmail.com" ]
amr.ahmed.abdelbaqi@gmail.com
e578c71d2381a32ba6ecfb4b8fa005fdcfdde462
39d4504ec1da8975fac526d6801b94f4348b6b61
/research/real_nvp/celeba_formatting.py
8718df2a9e0d7003fa3e844002629fbe0f611aef
[ "Apache-2.0" ]
permissive
vincentcheny/models
fe0ff5888e6ee00a0d4fa5ee14154acdbeebe7ad
afb1a59fc1bc792ac72d1a3e22e2469020529788
refs/heads/master
2020-07-23T21:38:24.559521
2019-11-15T07:50:11
2019-11-15T07:50:11
207,712,649
1
0
Apache-2.0
2019-09-11T03:12:31
2019-09-11T03:12:31
null
UTF-8
Python
false
false
3,242
py
# Copyright 2016 Google Inc. All Rights Reserved. # # 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 ...
[ "1155107977@link.cuhk.edu.hk" ]
1155107977@link.cuhk.edu.hk
da5469f3023d10572bb8efd19e36506011a01ed8
fdde0c634bb6f38bdb0a632a25fd769e2c68c211
/contrib/spendfrom/spendfrom.py
45b564e186a1b2709d3178f4bc3749ed39a4884a
[ "MIT" ]
permissive
BulldogCrew/bulldog
a29bc4edfff4ab4e274a52dc4274395a548a11dc
833ac01aa7b8a7d12dc410ce6bb21a1ac01b2bb3
refs/heads/master
2020-06-24T06:02:15.605980
2019-08-14T23:29:54
2019-08-14T23:29:54
198,871,261
2
0
null
null
null
null
UTF-8
Python
false
false
10,035
py
#!/usr/bin/env python # # Use the raw transactions API to spend BULLs received on particular addresses, # and send any change back to that same address. # # Example usage: # spendfrom.py # Lists available funds # spendfrom.py --from=ADDRESS --to=ADDRESS --amount=11.00 # # Assumes it will talk to a bulldogd or bulldo...
[ "kyzer@traebit.ca" ]
kyzer@traebit.ca
07a88df8f6b8bca555d695eae713ffc1d79908d6
16dd0999755a7dcc5e0d98eecae7c63c7ca6073e
/03 代码/unsupervised_learning_example.py
74d3de6731b8e8e45b8d1c482f04809d89a88e48
[]
no_license
kexiaojiu/Machine-learning-applications
36f21c5ddac884ed3bd28c515fa84fde9debcfb6
dddd9873a21e84212148a41b77855fdeef519626
refs/heads/master
2021-05-18T00:25:33.486088
2020-04-04T12:36:03
2020-04-04T12:36:03
251,022,476
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
# -*- coding: utf-8 -*- """ Created on Mon Mar 30 22:17:53 2020 @author: kejie 功能: 无监督学习导入数据集示例 """ # 导入函数库 from sklearn.datasets import load_boston boston = load_boston() print(boston.data.shape) data,target = load_boston(return_X_y=True) print(data.shape) print(target.shape) from sklearn.datasets import load_i...
[ "kexiaojiu@163.com" ]
kexiaojiu@163.com
75b84a2c990c4e00c6ae5874568cefe5e671a85a
c26ca09a29953222a5cc1aa609226d1f38e66f99
/upload_form/admin.py
8503c93d02c828e463b5bc88e13595c389686d8d
[]
no_license
hypnopompicindex/django_upload_form
bbea046b27d854799317b53cd60fe99442ba9532
0e0bd29a507c8cdf40e75e3f8dbb353afc77fe49
refs/heads/master
2020-06-05T04:57:48.872773
2014-03-23T19:53:12
2014-03-23T19:53:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from django.contrib import admin from upload_form.models import Upload admin.site.register(Upload)
[ "hypnopompicindex@gmail.com" ]
hypnopompicindex@gmail.com
a46d9d5489514896ac01a40a28661c31dfef3055
005b1534c4bd8fe68d97082f88991919a6afc317
/gsextract/parsers/ipv6_packet.py
4d917f8786408a1fa9520684aaa917713b5a69d0
[ "MIT" ]
permissive
newspaperman/gsextract-b8
5b4f9245f5318ba16050d3077e7cd2fcda927e9f
84935984648f82dd4d78aaa7abae8892788fe4f7
refs/heads/master
2023-06-17T08:04:51.546924
2021-07-08T20:48:32
2021-07-08T20:48:32
314,383,527
1
1
null
2021-07-08T20:48:33
2020-11-19T22:20:24
Python
UTF-8
Python
false
false
2,778
py
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version from kaitaistruct import __version__ as ks_version, KaitaiStruct, KaitaiStream, BytesIO if parse_version(ks_version) < parse_version('0.7'): raise Exception("Incompatible Kai...
[ "james.pavur@cs.ox.ac.uk" ]
james.pavur@cs.ox.ac.uk
ee6194b50dfb87cae108e46a8d2f2971dbdce6d6
81649d5ac2927a09df229c1429e9091da262a88e
/app/offer_microservice_integration/__init__.py
f79e6d2d23d4247b7381ef9d5686a3bfd12519eb
[]
no_license
ondrejkajinek/applifting_exercise
5d10506751f0bbe5eccf9af5f2e5160aa5ec57c6
ffec6f29c77e3748217ddb3ce6d89f014cac4791
refs/heads/master
2022-11-18T00:31:10.177877
2020-07-20T06:57:40
2020-07-20T06:57:40
276,981,211
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
"""App for Offer microservice integration."""
[ "ondrej.kajinek@gmail.com" ]
ondrej.kajinek@gmail.com
46029c9b20532b50eb20a134440c95ad4d113ec4
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/vns/mparam.py
bb2c32853fc54a279615f07087237d812c9f09e1
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
8,482
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
a8974bac990ff3b3045311d1748f27ce8408247f
be39b38dddcdc98cab0c29189f5fb74f8c709f16
/fast-news/amp.py
fa81c385bdab960408b09d477512bba4b15e1195
[]
no_license
nate-parrott/fast-news
80bd371a56188475a0bb647fc630ee54f388bf96
45ed735744bd138e65e643fd1713fd8e2d107b1e
refs/heads/master
2020-04-06T05:53:44.724331
2017-01-02T09:05:44
2017-01-02T09:05:44
50,979,865
0
1
null
2016-09-19T05:03:22
2016-02-03T06:41:10
Python
UTF-8
Python
false
false
982
py
import urllib2 import json KEY = 'AIzaSyD2SfIR_qen6zRn0nIJIg9fmgwk-AE4Xr0' URL = 'https://acceleratedmobilepageurl.googleapis.com/v1/ampUrls:batchGet' def amp_fetch(urls): body = json.dumps({"urls": urls}) request = urllib2.Request(URL, body, headers={"X-Goog-Api-Key": KEY, "Content-Type": "application/json"}...
[ "nateparro2t@gmail.com" ]
nateparro2t@gmail.com
4b281940f3a6e5b80f317bb1235da88d5aa9db7c
71876da1f508d596b256ad86e24c4e58aef5e8c9
/venues/urls.py
893a53f010542f7e01d52ed6bfe4337ec97c7e5d
[ "Apache-2.0" ]
permissive
kmedlen/hsvdotbeer
d447103293e21360d7c79f45667e8a5f446c2d41
99a8e31dcbe3b4acfe5f082b6593ae6367bd62fb
refs/heads/master
2020-05-02T15:53:25.328458
2019-03-12T19:55:22
2019-03-12T19:55:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
from rest_framework.routers import DefaultRouter from django.urls import path, include from . import views router = DefaultRouter() router.register(r'', views.VenueViewSet) router.register(r'apiconfiguration/', views.VenueAPIConfigurationViewSet) urlpatterns = [ path('', include(router.urls)), ]
[ "michael@openrobotics.org" ]
michael@openrobotics.org
ff2a0f4841a30a2bfc554cea07c8dc73955573d9
863e50a08950c2405b93f7a3e5e7a3a28f477b54
/tests/test_select.py
a7e4f025beacec1f9ac01ce27761cd8c320b068e
[]
no_license
dillontsmith/SQLBuilder
9f7c9a324d5d4a1e739d6c4b39009107f0ea18e2
8272a8835a64c4b6b50a301fe5404c99b3b50e4c
refs/heads/master
2022-01-09T00:34:46.134441
2019-05-27T04:59:45
2019-05-27T04:59:45
188,762,302
0
0
null
null
null
null
UTF-8
Python
false
false
2,302
py
import os import pathlib import pickle import pytest import shutil import sqlite3 import sys testPath = pathlib.Path(os.path.dirname(os.path.realpath(__file__))) genPath = pathlib.Path(os.path.join(testPath,'..','gen','mods')) sys.path.insert(0,genPath) import sqlbuilder.builders as builder depPath = os.path.join(test...
[ "Dillon.th.smith@gmail.com" ]
Dillon.th.smith@gmail.com
1398d8476e518a243605ff0b583a64d29064c22d
f2fc344b95a3f0b98c34ba5fe1a8c3e08b176c2b
/Global/detection_util/util.py
be10881fc4077015d12a28f5ae5b0a04021ad627
[ "MIT" ]
permissive
microsoft/Bringing-Old-Photos-Back-to-Life
bc6ca6b84ac0f20e50fb9f7ebc45297d3ec10b1f
33875eccf4ebcd3665cf38cc56f3a0ce563d3a9c
refs/heads/master
2023-08-20T06:50:51.131642
2022-07-23T06:52:29
2022-07-23T06:52:29
274,594,200
14,159
1,863
MIT
2023-06-07T04:43:29
2020-06-24T06:37:58
Python
UTF-8
Python
false
false
7,981
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import os import sys import time import shutil import platform import numpy as np from datetime import datetime import torch import torchvision as tv import torch.backends.cudnn as cudnn # from torch.utils.tensorboard import SummaryWriter impo...
[ "zhangboknight@gmail.com" ]
zhangboknight@gmail.com
530b3a7222b01695ca779ac0f0eaa4bfb62655ba
4a18f9ec04aeb04903acde9368f21bac8999b631
/boot.py
fd668946295a3f633f6f0231e65a1ffb80071c08
[]
no_license
xWasp97x/BulbsControl
4de80eaa285989329ec7751a3c4ccdeb21cc8d8c
fcef5cb472face34dc2f5525583f6f23bfc8345f
refs/heads/master
2020-12-27T05:24:08.045212
2020-02-02T13:53:19
2020-02-02T13:53:19
237,778,519
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
import esp import wifi_manager from updater import Updater from machine import Timer from time import sleep esp.osdebug(None) wifi = wifi_manager.WifiManager('/config/wifi.txt', '/config/networks.txt') wifi_timer = Timer(-1) wifi_timer.init(period=wifi.check_delay*1000, mode=Timer.PERIODIC, callback=lambda t: wifi.ch...
[ "wasp97@pop-os.localdomain" ]
wasp97@pop-os.localdomain
560fdbb3b9dbc94953558372448e693322e3762f
eae9ed5acf06090336de50d5eef1dcb447ea03ca
/2020_NOV-2021_JAN/bj_20040_사이클게임.py
0133ed4754e06837d57bc1cacb5da4ec641d5782
[]
no_license
SSAFY-3rd/algorithm-yongjoonseo
fec0ae86d52c71858a8b76c6eb71102f623b6990
60ce73ed81c0f9f44f219e5c52005cb1b812bc4b
refs/heads/master
2023-03-28T16:51:58.949458
2021-02-28T14:08:03
2021-02-28T14:08:03
316,280,484
0
0
null
2021-04-03T15:21:18
2020-11-26T16:12:45
Python
UTF-8
Python
false
false
1,583
py
# 평면상의 점 n개 # 어느 세 점도 일직선 위에 놓이지 않는다. # 사이클: 한 끝점에서 모든 선분을 한 번씩만 지나 출발점으로 되돌아온다 # 사이클이 완성되었는지 판단하는 프로그램 # 출력: # m번째 차례까지 하는 동안 이미 게임이 종료되었으면: 처음 번호 # m번째 차례까지도 종료되지 않았으면 0출력 # 체크할 조건 # 0 <= n <= 500000 // 3 <= m <= 1000000 # 입력이 많다 (m개) # n개의 점은 0부터 n-1의 번호 # union-find 자료구조를 사용해본다. # 새로 들어오는 a, b 둘다 이미...
[ "koreakkrea12@naver.com" ]
koreakkrea12@naver.com
d2cae9d38d253e67ffb4bb8cc451c3ac92e53a89
ab30883ca1feff7665af7e6acf90248ce9ac2cea
/tests_next.py
1b9890d4f836fddbcaaa0e24e9c49cbdc872e3ac
[]
no_license
WilliamJCole/IS211_Assignment6
8adfa17e96b340a6e84fe230434d9ab44d3cd741
37014c53adc33e488c61b68a1b3e1832e8a1fae6
refs/heads/master
2021-01-13T09:19:40.753829
2016-10-04T01:43:31
2016-10-04T01:43:31
69,926,023
0
0
null
null
null
null
UTF-8
Python
false
false
9,430
py
import conversions_refactored as con #TEMPERATURE CONVERSION TESTS-------------------------------------------------------------------------------------- #TEST FOR convert Celsius To Kelvin print "TEST FOR convert Celsius To Kelvin" tests = [(500.00, 773.15), (490.00, 763.15), (450.00, 723.15), (410.00, 683.15), (...
[ "billy.cole@gmail.com" ]
billy.cole@gmail.com
2a19d4bf77510a4d0cf772966204361c28dc3097
3f9d28984403cdd84b984d7a82eb6136018966a4
/purchase_vendor_item/models/product.py
371ddeaeae63a508ebb32dd5164ef5302c1728f5
[]
no_license
joevm018/temasq
bee1c69aee4c87de415e66e236b40c28201e2951
74f003c6a009716bf26a6438f5ee48e7dfcbb030
refs/heads/master
2023-03-18T23:42:13.598853
2021-03-11T11:35:16
2021-03-11T11:35:16
346,671,390
0
1
null
null
null
null
UTF-8
Python
false
false
632
py
# -*- coding: utf-8 -*- from odoo import models, fields class SupplierCost(models.Model): _name = 'supplier.cost' product_id = fields.Many2one('product.product', 'Product') name = fields.Many2one('res.partner', 'Supplier', domain=[('supplier', '=', True)], required=True) cost = fields.Float('Cost') ...
[ "esreejishnu@gmail.com" ]
esreejishnu@gmail.com
f692d3a8ff4895709985c2f94e273f318a32ad90
80c8d422abaa734b88189f6d9cc960292c40f5b8
/src/detect_mouth.py
6ff0240d66439e5cd23f0bb9b403632d3a9d9658
[]
no_license
pqzlol/Drowsy_Detection
08a1bf019657441f242560a3dd00cf5286770eae
f1a94348db9a45f27097854c54447c081257d8e4
refs/heads/master
2020-09-23T14:05:46.931559
2019-12-04T12:21:40
2019-12-04T12:21:40
225,506,426
0
0
null
null
null
null
UTF-8
Python
false
false
4,011
py
#coding=utf-8 #导入需要的包 from scipy.spatial import distance as dist #算法库和数学工具包 from imutils.video import FileVideoStream from imutils.video import VideoStream from imutils import face_utils import numpy as np #数学库,主要用于数组计算 import argparse #命令行解析包 import imutils #图像处理包 import time #时间包 import dlib #特征点标记库 import cv2 #open...
[ "pqz234748@qq.com" ]
pqz234748@qq.com
9dc6437ca72a9fa7a7a8cac21da3b4df79ddc2ea
f367eb55bb28e68ae34a0a9b7b6d15338c04f041
/unit_test.py
d4980b341a2c9bac74899b224369a09a7f2b1d7d
[]
no_license
dandan611/proto_bear_in_medal_forest
b3616a2ee051f21de1f24db2b8740af25793d326
53163e534bdcea306422df3d261eecc61f3d6ab9
refs/heads/master
2022-11-21T14:13:27.371346
2020-07-24T17:40:08
2020-07-24T17:40:08
281,138,639
0
0
null
null
null
null
UTF-8
Python
false
false
2,989
py
import time import game_rule from collections import deque def testPrepareGame(field, bearPosition): stage1Medals = deque([1,2,3,4,5,2]) stage1FieldMedals = deque([[1,1,2],[2,1,2],[3,1,3],[5,1,5],[3,2,2]]) # deque([[1,1,2],[2,1,2],[3,1,3],[4,1,4],[5,1,5],[3,2,2]]) stage1FieldBear = [3,2] ...
[ "kohonen_rnn@hotmail.co.jp" ]
kohonen_rnn@hotmail.co.jp
19d71c985e26b7c38fca5d3ab6a6213bc89b6e32
7188b0e24e4e307561c6aaac133a49a9ea84f22e
/probing/dataset.py
a59c604ba8474f26ec7f45650556cfa49eaba6bd
[ "BSD-3-Clause" ]
permissive
niceRAM/bert-ranking-analysis
bc8dd4f8a2229cc7a17a6c4cce1fd05c06e4b3e1
c17000abf4fb27ce631d403407522ff49586187e
refs/heads/master
2022-11-21T03:00:36.815118
2020-07-27T11:13:42
2020-07-27T11:13:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,016
py
import os import math import json import torch import logging import numpy as np from tqdm import tqdm from torch.utils.data import Dataset from collections import namedtuple, defaultdict from torch.utils.data import DataLoader from transformers import BertTokenizer from dataset import pack_tensor_3D, load_qrels log...
[ "zhanjt16@mails.tsinghua.edu.cn" ]
zhanjt16@mails.tsinghua.edu.cn
5b525fd04d4dd26b45f12a96ed9732c0992411fe
e541b4d6ca20126ff480f8e3ae8cfbba2387bf54
/Program05.py
7edf0426d4137dba520c6d8cbcdff8023071f2c8
[]
no_license
girishsj11/Python_Programs_Storehouse
ec3e310371eb48ea14780c243c1e65bdfcccf1aa
f6f151758497848eb59ec000f9ec1aa74e7de06d
refs/heads/master
2023-06-12T03:00:29.038531
2021-06-22T05:01:09
2021-06-22T05:01:09
289,525,839
0
0
null
2021-02-19T07:16:19
2020-08-22T16:32:38
Python
UTF-8
Python
false
false
626
py
""" Created on Mon Sep 7 21:38:35 2020 @author: giri """ ''' printing the least number which is generated by system randomly & tracking those numbers too. ''' import random if __name__ == "__main__" : user_list = list() final_range = int(input("Enter the count of elements to be generated by stsem randoml...
[ "noreply@github.com" ]
girishsj11.noreply@github.com
05e4053e016407a2c416ec7336ed05d6af42be1c
1c51e1489c00d2652a86c02b5205f57ca228729e
/main.py
f79ee4b3b7eb70ecd7d853082a08d2cad1ee4f79
[]
no_license
SanderScheijvens/NIC-info
bb4fd59295af50c4239ea063f646fc371bc149d0
1f63084d9a69295d28c66982b21a1a2d92dd20ff
refs/heads/main
2023-01-10T13:26:28.379642
2020-11-10T09:13:56
2020-11-10T09:13:56
311,501,808
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
import socket import fcntl import struct def get_ip_address(ifname): s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) return socket.inet_ntoa(fcntl.ioctl( s.fileno(), 0x8915, # SIOCGIFADDR struct.pack('256s', ifname[:15]) )[20:24]) get_ip_address('eth0')
[ "50071969+SanderScheijvens@users.noreply.github.com" ]
50071969+SanderScheijvens@users.noreply.github.com
04c3e52a7eac55ac2e6c255425b15b1a4b7e11f0
4ce9508dabf15164f68bce1c9a9feb3a14f2132c
/Department/admin.py
c0aaf28955bc2812145fab221b6271cdf6ee020f
[]
no_license
mnprtpsingh/ElectiveManagement
1a3ea06e84a1c4d3dc10afa7353f645df5dcb8d2
2e65709d86b5f7a8862d0edd92319806b03e25cd
refs/heads/master
2022-01-05T16:18:57.657155
2019-06-18T13:06:57
2019-06-18T13:06:57
192,529,458
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
from django.contrib import admin from .models import Department, Batch @admin.register(Department) class DepartmentAdmin(admin.ModelAdmin): def has_change_permission(self, request, object=None): if not (request.user.is_authenticated and request.user.is_staff): return False if not object: return re...
[ "mnprtpsingh@gmail.com" ]
mnprtpsingh@gmail.com
cf340d295f7a4683102ebe237f43a08843f918b1
169e5e87584f6f9ceee0844ade37fc53de5ee08e
/Reely App/reely_app/users/routes.py
df671eb072d162f7796cb06a4a336fb102fecb17
[]
no_license
jcopacetic/mouse
f77bc18c65ee49d1c58e4b9308cb3a2a27926ef3
800cf25be8149244d81f793050f8a52d299202b1
refs/heads/master
2022-12-05T00:53:36.956499
2019-05-01T17:39:24
2019-05-01T17:39:24
184,454,405
0
1
null
2022-11-28T04:11:42
2019-05-01T17:30:15
Python
UTF-8
Python
false
false
1,806
py
from flask import Blueprint, render_template, redirect, url_for, flash, request from flask_login import login_user, current_user, logout_user, login_required from reely_app import db, bcrypt from reely_app.models import User from reely_app.users.forms import RegistrationForm, LoginForm users = Blueprint('users', __nam...
[ "Jonathan@khaoticdigital.com" ]
Jonathan@khaoticdigital.com
45ec3800a3a24111a850fdc4d8b84fdde497e8bc
0ae6fbecbef0a71e28e93e6f4aed7da16f3fe038
/mainapp/main.py
d3f8dc660ccc37c6d6f50d27166c556b6714e776
[]
no_license
maconrad/ConfigDiffer
c2ab47bb07f359f4aa35f275ecc5ef1574fcf7a5
80a926dd07329c6a6ea1d47894d2f4da492bef87
refs/heads/master
2020-04-02T22:59:55.350423
2019-01-10T15:01:26
2019-01-10T15:01:26
154,852,034
1
0
null
null
null
null
UTF-8
Python
false
false
3,862
py
from ciscoconfparse import CiscoConfParse from colorama import Fore, Style import config import json def load_template(template): json1_file = open(template) json1_str = json1_file.read() json1_data = json.loads(json1_str) return json1_data def main(): confparse = CiscoConfParse(config.USER_CONFI...
[ "mario.conrad@gmail.com" ]
mario.conrad@gmail.com
da841d156b8b1c413a0a2705b633f82daf52e038
baa8b8869876845b217943b46ebeba3805c2b187
/manage.py
05ed9597d4e9993ce0521c2d2b509a98b9f29038
[]
no_license
Tinemar/CallCars_bk
3f0831ab06c2f5b7754d1236a7f95e8d6ed49f07
df572c9509fb27c7ed2796a45ae8969aaa8f304f
refs/heads/master
2021-09-28T13:33:16.604356
2019-12-26T09:20:12
2019-12-26T09:20:12
230,194,431
0
0
null
2021-09-22T18:18:42
2019-12-26T04:25:40
Python
UTF-8
Python
false
false
628
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'CallCars.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impor...
[ "tinemar@bupt.edu.cn" ]
tinemar@bupt.edu.cn
b2b90f394a999db66d989e0f4df9dd0b0a808dd1
1867b94c01b08fb15c499e3e222a9656f0043efa
/Orgmail.py
c2b3ce649dea0aa0bb68bc509e315b1e7bddd154
[]
no_license
adeayo-py/DBMS-Using-sqlite3
53a82c1ed1fc9600c2d6a108743599ed8ec0365f
930405287f4bd75836073de39118bc718367be61
refs/heads/master
2022-06-29T13:19:02.166543
2020-05-12T11:20:01
2020-05-12T11:20:01
263,311,019
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
import sqlite3 #creating an sqlite file named orgdb and initializing the cursor con=sqlite3.connect('orgdb.sqlite') cur=con.cursor() #Delete predefined table named Counts and create new one cur.execute('DROP TABLE IF EXISTS Counts') cur.execute('CREATE TABLE Counts (org TEXT, count INTEGER)') #file you to work with....
[ "noreply@github.com" ]
adeayo-py.noreply@github.com
2bbb0f42374dd77623e527f9358b74d2f020446a
bbf9d848948a446299d9e2aa016249ce327d22bc
/pymoo/interface.py
be168c153563925b54e7bd9e6826c9154ce7caa3
[ "Apache-2.0" ]
permissive
temaurer/pymoo
07dfc84b390b014d00ec062a75f3aae3a86ae006
1a2f3e0944ef7094df7518623e3ce23f94a39a39
refs/heads/master
2020-06-12T06:15:49.823082
2019-07-18T07:16:24
2019-07-18T07:16:24
194,217,929
0
0
null
null
null
null
UTF-8
Python
false
false
2,480
py
""" This class provide an interface for other libraries to specific modules. For example, the evolutionary operations can be used easily just by calling a function and providing the lower and upper bounds of the problem. """ import numpy as np from pymoo.model.population import Population from pymop import Problem ...
[ "jules89@arcor.de" ]
jules89@arcor.de
de71fbbdc0b56da1b03948af677104c123c688ca
df3bdc4943f19f3378add5d242b619484071fef3
/gerador_de_tensão.py/GERADOR_TENSAO_CA.py
4d121de30caf937cb08a9bd62ce1104d1c1b2e02
[]
no_license
cleitoncmf/Simulador_FPGA_UERJ
39c45d0780855738ab07db76e4007cfa2f505d3b
d53acc7ce563e87236ac14409589cd3b3820942b
refs/heads/master
2022-12-06T18:58:44.329785
2020-08-31T18:57:36
2020-08-31T18:57:36
274,196,689
0
0
null
null
null
null
UTF-8
Python
false
false
2,476
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 17 23:59:51 2020 @author: Renan """ import os import math import matplotlib.pyplot as plt import matplotlib.ticker as tck import scipy.interpolate import numpy as np f=60 vp=5 t=0 #------ w=2*np.pi*f exp=18 bits=2**exp tempo=[] n=1 dt=(n/bits) #phi=-w*t fonte_tensao=...
[ "renanlarrieu@gmail.com" ]
renanlarrieu@gmail.com
1da37480f873ed0656e0116ad98f6b8023524ad1
bd9d9c1846e4c277e65c63785f0eb62aee7e5754
/gret_notes/asgi.py
1e5f8c0ee3fa67368b764d8af920283b751668b7
[]
no_license
gretkierewicz/gret_notes
bc96f453afade8e3f40e376989f57d2a50a12b9f
5e4f8ef79443d9c78fc0cb9b26c5ee3c9dd0ca33
refs/heads/master
2023-04-01T01:51:09.783305
2020-10-12T10:14:05
2020-10-12T10:14:05
268,258,938
2
0
null
2021-04-08T20:49:09
2020-05-31T10:42:06
Python
UTF-8
Python
false
false
397
py
""" ASGI config for gret_notes project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "piotr.gretkierewicz@gmail.com" ]
piotr.gretkierewicz@gmail.com
5cc54cdc2762a5e1c2b8009c715097089c46dfce
d61d5962b2806a26319d39985f0ee453f320b965
/venv/FOO/lib/python3.3/copy.py
2e46f5775f510cf25a364241241044f7f5c4b8bb
[]
no_license
darthlukan/pysys
35c97c616bb45536775da74c66bcb74e8238af6a
e8d2dc1572e7f509b676972202e4d5dc0c3a962a
refs/heads/master
2020-04-16T10:43:52.871834
2015-06-17T19:17:34
2015-06-17T19:17:34
2,656,017
3
1
null
null
null
null
UTF-8
Python
false
false
26
py
/usr/lib/python3.3/copy.py
[ "darthlukan@gmail.com" ]
darthlukan@gmail.com
755296ae02bf6a0bc22f8654cec0179a953d7051
726c2e900e54ad268922bee2779b13b200911de8
/forsta_auth/tests/test_checks.py
3e64c1500e8a71a683d3c30cdd1605531a2e84ac
[ "MIT" ]
permissive
forsta-iam/forsta-auth
0c59ea8f48d0019af65c9dcafaf665ac86aab673
9bc8c7c1033d95404c46fa351c7b689cc546a4d4
refs/heads/master
2022-12-10T16:36:09.384458
2019-10-22T09:04:31
2019-10-22T09:41:01
187,878,763
0
0
MIT
2022-12-08T06:41:20
2019-05-21T16:50:33
Python
UTF-8
Python
false
false
3,670
py
import smtplib from unittest import TestCase from unittest.mock import patch import requests from django.core.mail.backends.smtp import EmailBackend from django.test import override_settings from forsta_auth import checks as forsta_auth_checks from forsta_auth.onboarding import checks as onboarding_checks class Onb...
[ "adutton@oni.bio" ]
adutton@oni.bio
bc0a422f900b3bdba40349940dd3e7f804d5dd31
80fb758c1b3f04de4a19a953a1f54d9ac06aff4d
/tasks/migrations/0002_task_isfinish.py
34f46aec17addd6612fa802b47efb3afd096ad66
[]
no_license
leewch/TodoList
81cb2a79a55d14276a8ee95991b97b2dae5d11ea
923d20a4b5ce7dbbafbbff6656ca011e743d7a56
refs/heads/master
2021-09-28T16:41:29.793613
2018-11-18T13:04:42
2018-11-18T13:04:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0001_initial'), ] operations = [ migrations.AddField( model_name='task', name='isFinish', ...
[ "lzkmylz@163.com" ]
lzkmylz@163.com
d2a036678cca000857ec1e8849bf2cb517938848
e27119cbd78f257bb60ed36b4c59f8922231316e
/findex/fs.py
77686069973013b8b8d86eec4baf0beaf7327329
[]
no_license
moltob/findex
93f9e48ab19aee01bd7f1395e30fc2a8adacf148
be34f7058f89ddf9759a5379292705600146959f
refs/heads/master
2022-12-04T14:38:11.195463
2020-08-17T08:42:24
2020-08-17T08:45:06
257,330,094
0
0
null
null
null
null
UTF-8
Python
false
false
2,325
py
"""File system utilities.""" import collections import datetime import hashlib import logging import mmap import os import pathlib import typing as t # fake hash values to identify non-hashable files: FILEHASH_EMPTY = "_empty" FILEHASH_INACCESSIBLE_FILE = "_inaccessible_file" FILEHASH_WALK_ERROR = "_error: {message}" ...
[ "mike@mpagel.de" ]
mike@mpagel.de
f2d30dfc8f12aa0a14b7ca171d349c949a5061eb
1511782b2cc3dcf1f7e058e5046ec67a5561ba51
/2020/0310/006c.py
a84a8e71f82fc4defd40e1d6f9a6635515b72677
[]
no_license
keiouok/atcoder
7d8a053b0cf5b42e71e265450121d1ad686fee6d
9af301c6d63b0c2db60ac8af5bbe1431e14bb289
refs/heads/master
2021-09-07T11:48:55.953252
2021-07-31T15:29:50
2021-07-31T15:29:50
186,214,079
4
0
null
null
null
null
UTF-8
Python
false
false
999
py
import sys, re, os from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import permutations, combinations, product, accumulate from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii...
[ "hu.youjia.hx2@is.naist.jp" ]
hu.youjia.hx2@is.naist.jp
dbb11b92812c440d7ec5e968bb5061cac4d5119f
e4b2d88589a28e29338ef0f9a4309f775a876d53
/rainfall/create_label.py
8d70d9de0eb2aff3f0672649dbeb83c3b6b131b5
[]
no_license
Hyomin-Choi/preprocessing-for-weather
79a7e8f9c32373c565cffefbc45231d91b0744a5
3cec44b7ed899f76c6442ab78eb57b1870ed1ed1
refs/heads/master
2023-02-18T00:06:28.581563
2021-01-22T06:05:56
2021-01-22T06:05:56
331,852,078
0
0
null
null
null
null
UTF-8
Python
false
false
3,314
py
import pandas as pd import numpy as np import os def rainfall_label(save_drive): region_all = ['Sokcho', 'Gangneung', 'Donghae', 'Taebaek', 'Uljin', 'Pohang', 'Ulsan','Daegwallyeong'] #강원5개지역, 경상 3개지역 year_list = ['2008', '2009', '2010', '2011', '2012', '2013', '2014', '2015', '2016', '2017'] path ...
[ "gyals8500@gmail.com" ]
gyals8500@gmail.com
8f8c8301fee3ba78566c3ac5baee814627d0462d
b0d017d7b3812f205c3c39f482363742b5a9e873
/networking_nec/plugins/openflow/ofc_manager.py
5e869d96ecf3d46c6c4b3bd62cdb9a9eb6d7472a
[ "Apache-2.0" ]
permissive
nec-openstack/networking-nec-nwa
32781afaafb1a797b85a8bfa874c7f800a282867
0c5a4a9fb74b6dc78b773d78755c758ed67ed777
refs/heads/master
2021-01-17T17:19:30.924958
2016-06-29T04:14:12
2016-06-29T08:31:01
62,189,574
0
0
null
null
null
null
UTF-8
Python
false
false
8,499
py
# Copyright 2012 NEC Corporation. All rights reserved. # # 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 ...
[ "s-yanagida@pb.jp.nec.com" ]
s-yanagida@pb.jp.nec.com
95055b980541fab6cadc1c258692a2473002c5f7
76db17558b7aca8854e0c4f9137eac37f8a0970a
/pybo/urls.py
094da1fff934c27699aee1584f5e97618c84c128
[]
no_license
gitgitWi/Jon_Jung_Talk_Django
f9de804aec1fd66e2f9f7d33f4fd14af2001b357
6b85135c12574c23ed69edcf7ed14a6855566509
refs/heads/master
2022-11-05T10:16:08.086771
2020-06-15T03:30:50
2020-06-15T03:30:50
272,219,551
0
0
null
null
null
null
UTF-8
Python
false
false
2,028
py
from django.urls import path from .views import base_views, question_views, answer_views, comment_views, vote_views, about app_name ='pybo' urlpatterns = [ # base_views.py path('', base_views.index, name='index'), path('<int:question_id>/', base_views.detail, name='detail'), # question_...
[ "57997672+ezerwi@users.noreply.github.com" ]
57997672+ezerwi@users.noreply.github.com
33e88483f8d75acaf848ab218de9617e833c318c
d5c7798d1753ab7a76e33747de4964f06c439a21
/events/serializers.py
dd6db1e13fc17978496f5092da94248ba9697371
[]
no_license
bellomusodiq/sogo
56fd93b90678e32b663221132bf7825196434ff4
a72fe00e5dacee57d15c303e3e4e500b56ae6e53
refs/heads/master
2023-03-23T14:16:17.436524
2021-03-18T16:15:24
2021-03-18T16:15:24
296,038,420
0
0
null
null
null
null
UTF-8
Python
false
false
2,124
py
from rest_framework import serializers from .models import Event, EventArtist, Category, \ Notification, MyTicket, EventImage class CategorySerializer(serializers.ModelSerializer): class Meta: fields = '__all__' model = Category class EventImageSerializer(serializers.ModelSerializer): cl...
[ "bmayowa25@gmail.com" ]
bmayowa25@gmail.com
eb80fb50b4d9acd30cbf24e6f24aa9e11ea4fc01
c616bfd8cf4d32e7f0f97a8465acbfbb9d0f1fbe
/myclasses/views.py
cf6b66b54a4429acc9678022dfcf2d9c722beedb
[]
no_license
Code-Institute-Submissions/AwsSG-educadia_AugResub
971d6abc8e953a1495a66062be032e278b24aaf8
5f7084c154fd0c97fec68c62f4183a8c901a0df5
refs/heads/master
2023-07-05T10:31:15.031721
2021-08-18T21:51:20
2021-08-18T21:51:20
398,003,481
0
0
null
null
null
null
UTF-8
Python
false
false
7,010
py
from django.shortcuts import render, redirect, reverse, get_object_or_404 from .models import AllClasses, AllMaterials, ClassRegister from myaccount.models import UserAccount from .forms import AllClassesForm, AllMaterialsForm, ClassRegisterForm from django.contrib import messages # Create your views here. def mycla...
[ "aws.sabah.gheni@gmail.com" ]
aws.sabah.gheni@gmail.com
77f21156798c5bae31be3f5fd590ebc03fcc5dee
15a031f15b66d89ca3251d906deafbb1fda93199
/CompuCell3D/player/UI/LatticeDataModelTable.py
85dc117cccc90e5a2a207745b6f04f7d32e447df
[]
no_license
odellus/CompuCell3D
52c4f0dae6d1b133bc906f95ca35ae1e73e46eff
690b0effc4a495e500397c1917f577123d501731
refs/heads/master
2020-02-26T15:12:21.207376
2013-11-26T17:47:36
2013-11-26T17:47:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,715
py
from PyQt4.QtCore import * from PyQt4.QtGui import * MODULENAME = '---- UI/LatticeDataModelTable.py: ' class LatticeDataModelTable(QTableView): def __init__(self, parent, vm): QTableView.__init__(self, parent) self.setFrameStyle(QFrame.NoFrame) self.setSelectionBehavior(QAbstractItem...
[ "acosmane@indiana.edu" ]
acosmane@indiana.edu
ab3b11dca774cf20b07066a5e9528066a6586354
b29934cacb6eeac08f576cddd37eda2293043f4c
/sources/Crea_link.py
56ec03856672b79abae1ae8e007ac96c4f0b49f7
[]
no_license
Ashurawrun/Sources_Axwayautomator
11fd365da9944b5da6d77c9cb3655191a24798c6
44bd6c63a8852805d12e3b8a47fdf8a935efa3c7
refs/heads/master
2016-09-14T08:42:06.414667
2016-04-29T13:19:52
2016-04-29T13:19:52
57,381,563
0
0
null
null
null
null
UTF-8
Python
false
false
15,354
py
#VERIFIER LES CAS OU ON A PLUSIEURS DOUBLONS DE MOINS DE 16 CHAR import os, sys, MySQLdb from myTools import * import ConfigParser from subprocess import Popen # Paths & database infos config = ConfigParser.ConfigParser() config.read('../migrationautomator.cfg') server_name = config.get('DATABASE', 'db_server') ...
[ "zachary.aich@gmail.com" ]
zachary.aich@gmail.com
105c24e05a3f4259c2c7cc41340ced4dd8179fad
1d3d5e57ee65dc4b8ed2fcd52d3815b8b55263ab
/services/hostAdvisor.py
18c429d198f773bcc7755e7a1d55a6cd8a06d875
[]
no_license
sandeepgoyalsoftmine/consumerchoice
d01ede459c1f6ab7afcc065c698af68d467a9cb7
afc23f3e5e37b8e8feb94339ae53bcc6c13ba34f
refs/heads/master
2021-10-25T09:01:50.651740
2018-06-04T05:07:53
2018-06-04T05:07:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,946
py
from model.Servicemodel import ServiceRecord class hostAdvisor(): def __init__(self): pass def parsing(self, response): return self.crawl(response, self.category, self.servicename) def crawl(self, response, category, servicename): reviews = [] self.category = category ...
[ "meetmadhvi@gmail.com" ]
meetmadhvi@gmail.com
758947346f258dfaa370e9ebc934f7ca3c4cde97
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/hexBinary/Schema+Instance/NISTXML-SV-IV-list-hexBinary-enumeration-4-1.py
d5cb297ea60881e24f20f7d83f0236fae53a4e85
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
912
py
from output.models.nist_data.list_pkg.hex_binary.schema_instance.nistschema_sv_iv_list_hex_binary_enumeration_4_xsd.nistschema_sv_iv_list_hex_binary_enumeration_4 import NistschemaSvIvListHexBinaryEnumeration4 from output.models.nist_data.list_pkg.hex_binary.schema_instance.nistschema_sv_iv_list_hex_binary_enumeration_...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
9a659bef0e747acd3d04556d2e0de0f01168fcfe
69c40bae92ff05816aa01971a5f942c5351b01c9
/Student.py
5988a1d4ccdcab53a2f14eafebc5cf3f3e843bd3
[]
no_license
SultanovDastan/task4_1
95114db3e6d66eac8ffb647b909f762dd0c41945
90db06b97b1ed6fa51a3ec25bb92a42989014254
refs/heads/master
2022-04-08T14:17:28.726592
2020-01-27T14:38:36
2020-01-27T14:38:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
class Student(): def __init__(self, name, last_name, department, year_of_entrance): self.name = name self.last_name = last_name self.department = department self. year_of_entrance = year_of_entrance def get_student_info(self): print(f"{self.name} {self.last_name} поступи...
[ "dastsultan@gmail.com" ]
dastsultan@gmail.com
9a387d7c54e519d975c1c599af012510ed2a1d8e
f809842aa3bba5b7c6d9de9fee75ef288e49f34c
/housing/scrapingapi/main.py
8ba227536312d7c5fc558fd6a38bbc17b8bd53c8
[]
no_license
sumit12dec/housinghack
a386bf7418d27d62e65ab07569f9e0974e4d6f4b
5a6ad5b2906ea11d7a1cce9cb784522a003c6dfa
refs/heads/master
2020-05-19T10:22:51.616876
2015-04-26T06:36:46
2015-04-26T06:36:46
34,600,214
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
#appcfg.py -A enduring-grid-600 update appengine-try-python from flask import Flask, render_template, request, jsonify import summarize import summ import flask app = Flask(__name__) # main index @app.route("/") def index(): return render_template("index.html") # cobrand session token @app.route("/Add", methods=["GE...
[ "sumit786raj@gmail.com" ]
sumit786raj@gmail.com
56d0d89e3d61a18f5e0a3f77063771e2406feec9
db9e36884af2902aff100796e535f8069c72e17b
/happyquota/apps.py
223ead8c8770b9fb59e7a73ab3fef5415a94da53
[]
no_license
ninathestrange/Sunday_fun
3e026be9b498acfdc82c6d5d67f1efbd12f686c1
f72aeb7f4adb9685e6fb42031c896d021941ffb6
refs/heads/master
2021-04-15T13:22:52.041898
2018-03-25T08:15:00
2018-03-25T08:15:00
126,676,808
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from django.apps import AppConfig class HappyquotaConfig(AppConfig): name = 'happyquota'
[ "noreply@github.com" ]
ninathestrange.noreply@github.com
0a28e84ffa257856133d168603d7f59b87306709
67866535afa1db9aa28b62971f78a04db9d3b488
/advanced_deep_learning/10_supervised_unsupervised_pretrained/02_mlp_supervised_pretrain.py
e3f9a57b4508eee0e6f4b475921e1ad6fb1e68f5
[]
no_license
deeplearningcomplete/deeplearning
d9cf13f7f6952203c4525865e1e41044889093b7
d35dcb3dca13fbf18ad903e5b64bddac660d5f92
refs/heads/main
2023-02-04T06:47:27.464357
2020-12-19T05:19:35
2020-12-19T05:19:35
322,517,818
0
0
null
null
null
null
UTF-8
Python
false
false
2,915
py
# supervised greedy layer-wise pretraining for blobs classification problem from sklearn.datasets.samples_generator import make_blobs from keras.layers import Dense from keras.models import Sequential from keras.optimizers import SGD from keras.utils import to_categorical from matplotlib import pyplot # prepare the da...
[ "karthikkannan@gmail.com" ]
karthikkannan@gmail.com
d15f01d03cea200079bdcce17fb8b29dec89b94a
b92adbd59161b701be466b3dbeab34e2b2aaf488
/.c9/metadata/environment/clean_architecture/clean_architecture_resources/fb_post_clean_arch/views/create_post/validator_class.py
ff140690df2ce0debcfbaf3c621b61368854230c
[]
no_license
R151865/cloud_9_files
7486fede7af4db4572f1b8033990a0f07f8749e8
a468c44e9aee4a37dea3c8c9188c6c06e91cc0c4
refs/heads/master
2022-11-22T10:45:39.439033
2020-07-23T09:31:52
2020-07-23T09:31:52
281,904,416
0
1
null
2022-11-20T00:47:10
2020-07-23T09:08:48
Python
UTF-8
Python
false
false
516
py
{"filter":false,"title":"validator_class.py","tooltip":"/clean_architecture/clean_architecture_resources/fb_post_clean_arch/views/create_post/validator_class.py","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":0,"column":0},"end":{"row":0,"co...
[ "r151865@rguktrkv.ac.in" ]
r151865@rguktrkv.ac.in
cdbf21fc1057921b1678bb10ae2cae545d83127b
25d641a55eb868cc74fd4e3e4daea43f6deb5853
/3 - Web UI & API/virtual/Lib/site-packages/pip/_vendor/chardet/_vti_cnf/hebrewprober.py
47b2605ae0226c7927c2f4f47d044f756cd8ea68
[]
no_license
greens1/Final-Year-Project
370b7ef9979049cfc75e6776da24c7a286848b71
2e72f43893595deef6aa5323773a6161f2cd873a
refs/heads/master
2022-11-13T19:55:17.884414
2018-05-17T22:15:14
2018-05-17T22:15:14
133,852,365
1
0
null
2022-11-01T20:11:11
2018-05-17T18:21:16
Python
UTF-8
Python
false
false
194
py
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|15 Apr 2018 11:07:36 -0000 vti_extenderversion:SR|12.0.0.0 vti_cacheddtm:TX|15 Apr 2018 11:07:36 -0000 vti_filesize:IR|14130 vti_backlinkinfo:VX|
[ "greens1@tcd.ie" ]
greens1@tcd.ie
27aa9ed9aecdc11eac33e56b0b2375bf6cb56d24
dc74b8903b3bf675cd4085d4e13535591fee8696
/server/paramiko/client.py
94f7d49be725a3cda790db8a2c177c25cac492e0
[ "MIT" ]
permissive
ludojmj/treelud
1f1ccbe50c218e541e688b8d7b41dbf0826f6fdd
37dda35000786f359c8ddb3674572f49b8d78c48
refs/heads/master
2021-01-10T19:28:21.667660
2020-04-18T11:30:54
2020-04-18T11:30:54
32,236,293
3
0
null
null
null
null
UTF-8
Python
false
false
24,745
py
# Copyright (C) 2006-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License,...
[ "ludovic.villejarno@gmail.com" ]
ludovic.villejarno@gmail.com
e1f53dd5ad847aa7e775fada07a7ed10e5226e31
1ea6a7cd966258f2d0fda05b2be5050cea3a4839
/reminders/migrations/0006_auto_20161110_1950.py
70ef7ddf491bd5bca6c19e38c31b6ea2f797a1e4
[]
no_license
AntycSolutions/PerfectArchOrthotics
7696cc86960d8d573f2d4f6496fb602ebd48010d
489d691c8a43d087f8c5e1f689bd5b224313ed31
refs/heads/master
2022-11-07T17:55:45.806247
2022-11-03T22:03:20
2022-11-03T22:03:20
26,507,909
0
1
null
2022-04-06T21:55:23
2014-11-11T22:30:13
HTML
UTF-8
Python
false
false
596
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.11 on 2016-11-11 02:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reminders', '0005_auto_20161110_1610'), ] operations = [ migrations.AlterFi...
[ "and_555@hotmail.com" ]
and_555@hotmail.com
584071fc69a3056c37f3694115546bd1436cfeec
13b0e4c9152f75be05e764167fbe7274bb58f7fe
/idlebook/account/management/commands/set_trade_expired.py
6f0f0193cfba26d0abf39680a3edef258abd75c7
[ "MIT" ]
permissive
shawiz/idlebook
eebc7ba1d3e1e739e3b85f67598a68a64b4aba6a
407846f6cc6b5a2ec0c3cc60202e7a474c15f3f2
refs/heads/master
2020-12-04T05:43:43.161118
2014-08-08T22:44:34
2014-08-08T22:44:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
from django.core.management.base import BaseCommand, CommandError from django.conf import settings from idlebook.account.models import Trade from time import localtime, strftime import logging logger = logging.getLogger("django") class Command(BaseCommand): args = '<None>' help = 'Make all the expired (in da...
[ "shawiz@gmail.com" ]
shawiz@gmail.com
0b76ba1353231f4978baf5a1bcbf82fe9c8b7ec5
1a33806484c9839eb191eef84aca25214bbc248a
/Klavesnice2.py
4d59aea76dc762631f0cc4d10465dd4a8305c8d1
[]
no_license
PetrPatera/Raspberry
71be6335dc50fa67e014d64a1c4b2654948065a3
7af68c5e3cd8bc865a0f278c2e16ceb7a4314ff8
refs/heads/master
2023-05-25T11:12:02.908818
2021-06-13T21:20:15
2021-06-13T21:20:15
376,491,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
import RPi.GPIO as GPIO from time import sleep #from Teplomer import Teplomer from SBW import Conditions from PWM import Servo from RGB import RGBLED from Bzucak import Noise GPIO.setmode(GPIO.BCM) Nr1Pin = 13 Nr2Pin = 6 Nr3Pin = 26 Nr4Pin = 19 "Klávesnice tlačítko 1" GPIO.setup(Nr1Pin, GPIO.IN, pull_up_down=GPIO.PU...
[ "lamkost666@gmail.com" ]
lamkost666@gmail.com
f22ae0fda0c604745410fb3286cc8b0d54789f0c
740ee815346c01ef9a758a759cc5761e45d12a16
/ExcelApi/settings.py
67d798ceb0e693f0951e691d965ae14c4357b6d5
[]
no_license
Parsepec/excel-microapi
f1c4230b23b1b9f1e9b45695688ba9d9ca4c5c15
b46e076efa33d9a26fe9fca4fd9e3eb21b8a60aa
refs/heads/master
2022-11-09T19:30:04.758945
2020-06-20T10:51:23
2020-06-20T10:51:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,269
py
""" Django settings for ExcelApi project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "oluwanifemi.bamgbose@stu.cu.edu.ng" ]
oluwanifemi.bamgbose@stu.cu.edu.ng
9d9082951863af4772160aa2e637862081e3ffc7
879a7814faaf31643436b1ba6013bacae05105c8
/app/views.py
25835253a02322ecb785e4aa4918333a303fb0b1
[]
no_license
DanilaMIPT/Batman
39d50e601fa10648d3c10cb99be7334302b4a3a5
305ed24739b4a8b5a00c12e68f333fd7680b43c5
refs/heads/master
2022-12-11T17:50:04.260212
2018-11-05T16:20:13
2018-11-05T16:20:13
150,150,717
0
0
null
2022-12-08T02:56:07
2018-09-24T18:36:54
Python
UTF-8
Python
false
false
785
py
from flask import request, abort, jsonify import json from app import app, jsonrpc @jsonrpc.method('hello') @app.route('/<string:name>/') @app.route('/') def index(name="world"): return "Hello, {}!".format( name ) @app.route('/favicon.ico') def icon(): return @app.route('/form/', methods=['GET', 'POST']) def...
[ "doronin1303@bk.ru" ]
doronin1303@bk.ru
1070ab53df4c62e33fc5bd2b8c3c96f318a2d3f1
528def9844f2ce13e6a358938b0b560945ab2248
/sa/profiles/Eltex/LTE/get_mac_address_table.py
866acae1ff242df63d6b434ef71e077c22fa5394
[ "BSD-3-Clause" ]
permissive
skripkar/noc
055afbd42ab4c447d05d2cde0a822916f9e0844e
df193b99e478fe39157c8d27ff4098262d9cb734
refs/heads/master
2020-04-10T12:53:09.602779
2018-12-08T07:50:30
2018-12-08T07:50:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,021
py
# -*- coding: utf-8 -*- # --------------------------------------------------------------------- # Eltex.LTE.get_mac_address_table # --------------------------------------------------------------------- # Copyright (C) 2007-2017 The NOC Project # See LICENSE for details # ------------------------------------------------...
[ "dmitryluhtionov@gmail.com" ]
dmitryluhtionov@gmail.com
5f6ac69f835d445a78e68743e16a9231dcebf520
f3af143bada7f79db1e15b4386e5107bc99eb212
/ProjectBaseTest1/python核心编程/02-高级3-元类/04-內建属性.py
d7c424dc46d1bbd6a571beecc80758b70bc8bde8
[]
no_license
xxxfly/PythonStudy
a5ceae1d2b16cfdba19871507458154fc292bca0
478d89ccefc91a84f935aebdca796c9d4c23ef61
refs/heads/master
2022-04-08T13:45:03.405768
2020-03-09T03:47:50
2020-03-09T03:47:50
45,187,749
4
2
null
null
null
null
UTF-8
Python
false
false
2,778
py
#-*- coding:utf-8 -*- from functools import reduce # 常用专有属性 说明 触发方式 # __init__ 构造初始化函数 创建实例后,赋值时使用,在 __new__ 后 # __new__ 生成实例所需属性 创建实例时 # __class__ 实例所在的类 实例. __class__ # __str__ 实例字符串表 # 示,可读性 print(类实例),如没实现, # 使用repr结果 # __repr__ 实例字符串表 # 示,准确性 类实例 回⻋ 或者 # print(repr(类实例)) # __del__ 析构 del删...
[ "970832396@qq.com" ]
970832396@qq.com
f5ea0365a6cb17eff75b02ce5028a751ec4224fa
3f1497cc7b294289601068785950b209fa3e695b
/_scripts/objecteditor/view/__init__.py
913119bc9b1fd621b80a0dc2b8ba6f49a508b1c4
[ "MIT" ]
permissive
Son-Guhun/Titan-Land-Lands-of-Plenty
69f62e9ff7c6b720a47371fde08f69f1ffd0bda0
edeca1d5437a7397195799ebf4b9585ee4609fed
refs/heads/master
2021-06-22T16:41:16.950057
2021-01-07T14:44:17
2021-01-07T14:44:17
179,722,671
12
1
MIT
2019-08-15T01:58:28
2019-04-05T17:04:16
Objective-J
UTF-8
Python
false
false
65
py
RACES = ('Human', 'Orc', 'Undead', 'Night Elf', 'Naga', 'Creep')
[ "22954418+Son-Guhun@users.noreply.github.com" ]
22954418+Son-Guhun@users.noreply.github.com
e20da54fdf1d8408491d34635c359bdd6df6431e
3775850825a82b5712c8f7a36dfe782379ed0bf1
/setup.py
feb82bd05761ae448b1a425bf2f4c6c0f0103c5f
[ "Apache-2.0" ]
permissive
0xinsanity/fhub
c10f429e81c7fbcdefbafa1a902a3fe8f7f54652
6a140400f7209528da5bc067a37881904a048ff8
refs/heads/master
2023-03-04T17:57:41.100282
2021-02-21T18:35:28
2021-02-21T18:35:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # # A pythonic way to use the Finnanhub data API. # https://github.com/paduel/fhub from os import path from setuptools import setup this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f: long_...
[ "paduel@gmail.com" ]
paduel@gmail.com
5fdf9b35f046c61bc175c29a404a23ad70c8d07a
d5b3e54985f50400f1ebd82e0a76b33e37028ffc
/nbdler/struct/dump.py
0094da8460e6387f0db6f3d33396368fc88f0039
[ "Apache-2.0" ]
permissive
lightfold/Nbdler
98bc85a9b1b417e176de25507838e71833eae65a
898d323e786079743b8df5a909f20e2fd432c445
refs/heads/master
2022-07-06T10:50:59.007254
2019-09-18T13:33:04
2019-09-18T13:33:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
from collections import namedtuple BlockDumpedData = namedtuple('_BlockDumpedData', 'rel_grid url_id progress') ProgressDumpedData = namedtuple('_ProgressDumpedData', 'range go_inc done_inc') HandlerDumpedData = namedtuple('_HandlerDumpedData', 'console url file maxthread buffsize blocksize') FileDumpedData = namedtup...
[ "405935987@163.com" ]
405935987@163.com
f138b3c05b9d0714d8efe9ca088a780a369ab21b
f1d01d9074ace289e7e43530079b0c34ccdde4c4
/ontology/maturity/collect_usage_data.py
2c65b7aff8a76f144ad71edfb0a69aabf186a8c2
[]
no_license
techknowledgist/techknowledgist
4889300a92aad8fa940d1246ddd75036d90a6563
7d422ac38a9212670d0ce6e26e1446fb46740837
refs/heads/master
2021-04-26T22:35:50.390037
2015-11-23T19:52:26
2015-11-23T19:52:26
124,117,298
0
0
null
null
null
null
UTF-8
Python
false
false
10,271
py
""" Creates a file with usage information for terms in a corpus, using a set of matches over the corpus and a classification over the corpus. What it basically does is to combine information from the classifier output and the matcher output for the usage/maturity patterns and prepare it for further processing down the...
[ "marc@cs.brandeis.edu" ]
marc@cs.brandeis.edu
11460bff8c454943c7beb84bfd649cfaeda823ed
b04cb69d509427d359c35ce2699e4bad519120d1
/groupdocstranslationcloud/models/file_versions.py
c3db08927bc8357543038ec7a0f468c211ab8de4
[ "MIT", "Python-2.0" ]
permissive
rsinda/groupdocs-translation-cloud-python
f8c7d34d4a3eee38279a41baba655cc8a5ef6b3d
7974d2bcf992df4f556b3df44703dd78c97c257a
refs/heads/master
2023-02-28T06:31:32.191840
2021-02-04T15:50:58
2021-02-04T15:50:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,585
py
# coding: utf-8 # """Copyright # -------------------------------------------------------------------------------------------------------------------- # <copyright company="Aspose" file="file_versions.py"> # Copyright (c) 2020 GroupDocs.Translation for Cloud # </copyright> # <summary> # Permission is hereby granted, fre...
[ "anton.perhunov@aspose.com" ]
anton.perhunov@aspose.com