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
5593ce842b79c29877bb25941b0b6530c4ce8540
66767138fb776ed9d91dc22bc4796f625824275a
/rss_fetcher_test.py
a22a0c31a1879f8475d85a74b80c0d887c7d727a
[]
no_license
jamalzkhan/Twitter-News
f4441957a238e3230e49c5df31b6544bcf69f8c0
d7c053e12cd74cc459b80af8177f8d8ad1f604a1
refs/heads/master
2020-04-06T06:39:49.273043
2012-01-14T19:40:55
2012-01-14T19:40:55
3,179,810
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
import rss_fetcher import loggers.log as log import loggers.logger as logger import unittest class RssFetcherTest(unittest.TestCase): def setUp (self, rss_file="dummy_rss.rss", rss_url=None): self.rss_file = rss_file self.main_logger = logger.Logger() self.r_log = log.Log("RSS Test Fetcher", sel...
[ "me@jamalkhan.com" ]
me@jamalkhan.com
3802578c4bdb8ff686f1ca7901c16d4bf7ab1688
7a784eb73f13c1df4bb60cad26774a76abceb475
/day7.py
a85150ceb77b3f1fa0a60c98a5f135374d64e4a5
[]
no_license
albarralnunez/advent-of-code-16
8e98e3d08643a53208e66b770eb7cf877bf283f6
776616ec82325126259324c9edfc0d5e0596bcb7
refs/heads/master
2021-06-08T17:12:21.540471
2016-12-19T23:43:37
2016-12-19T23:43:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
#!/usr/local/bin/python import logging from collections import Counter from libs import commons from libs7.ipv7 import IPv7 logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) def get_ips(input_file): return (IPv7(x[:-1]) for x in open(input_file, 'r').xreadlines()) @commons.speed_test...
[ "danielalbarral@gmail.com" ]
danielalbarral@gmail.com
48075fcc4afeaf9cb88f2c15f4919d29e15f5a03
e8a6fcaf493d4a03691e949993d3e26989b4e742
/code/lmfit_PseudoVoigt_CP_D_RT.py
dfe244a5aece902d850fc87a400a300c70e69ce6
[]
no_license
andrewkim47/local_pithy
93183235425a2ee8681e960c1f18f1e2c4b1d65a
259acd8d2b48ac29d1d9328a1744402c111834d5
refs/heads/master
2020-03-29T22:39:18.600081
2018-10-22T18:48:33
2018-10-22T18:48:33
150,433,215
0
0
null
null
null
null
UTF-8
Python
false
false
4,936
py
from Histogram_Band import * from lmfit.models import PseudoVoigtModel bins = range(256) fdir = '/Users/andrewkim/Documents/AA_Discharge/TIFFS/' x = arange(256) #Grab Data key = 'CP_D_RT' code = datas[key]['code'] folder = fdir + code + '/Histogram/' endp = datas[key]['endpoint'] ndata,adata,bands = getBandHist(fo...
[ "noreply@github.com" ]
andrewkim47.noreply@github.com
4f54a215ed076c56c7ce649c75f4e4cb4637d034
302ef0325c80692957d389a28e06a683b55858e8
/UX/auth/views.py
11af3883855be4212aaf98ad1ad5533038ac1afc
[]
no_license
souhagaa/markov_link_prediction
6cf4534c4bea7d8fa1a815c9fd65d98f6ad3fc5f
3f9997ef757d640814b480b7b330bd55b5aa2114
refs/heads/master
2020-07-02T18:55:01.218815
2019-12-03T21:42:17
2019-12-03T21:42:17
201,630,178
1
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
from flask import request, jsonify, Blueprint, current_app as app from flask_jwt_extended import ( create_access_token, create_refresh_token, jwt_required, jwt_refresh_token_required, get_jwt_identity, get_raw_jwt ) from UX.models import User from UX.extensions import pwd_context, jwt from UX.a...
[ "souha.echelon20@gmail.com" ]
souha.echelon20@gmail.com
9481547229af17b8ed0134a977c9a946bdf8de00
24a15591f9ff280d030cd9f966b3977dc11fd027
/ImarketBD/Departments/apps.py
cfc5d3de8de21eda26f01447d389e65418751744
[]
no_license
Arfin99/Integrated-Market-Platform
54ae1d67226b24c0d259af129e96f090ccb598b4
8a3340edbe8a9629f2d41f7e063a657e8d710db4
refs/heads/master
2023-09-03T20:57:48.188204
2021-02-10T10:37:04
2021-02-10T10:37:04
337,688,153
2
0
null
null
null
null
UTF-8
Python
false
false
97
py
from django.apps import AppConfig class DepartmentsConfig(AppConfig): name = 'Departments'
[ "jobyerarfin1997@gmail.com" ]
jobyerarfin1997@gmail.com
475e321d312d173b6927057ffe431fb59be085fb
d4795c386ba45a884ff125736ca70a0813531f9b
/Carrier_Assign1.py
225ba602b3a9beea6fec903fdab0cf66a809f95f
[]
no_license
AhamadHussainD/TakeHomeAssign_Carrier
4399e9d758978f71ec19fbdf14d160e459b11621
77b8735131851515b5337609e4736e8ea51d2f8e
refs/heads/main
2023-03-18T22:38:22.311000
2021-03-11T18:16:37
2021-03-11T18:16:37
343,303,113
0
0
null
null
null
null
UTF-8
Python
false
false
18,572
py
# -*- coding: utf-8 -*- """ Created on Sat Feb 27 19:05:49 2021 @author: Ahamad Husssain, D Carrier Inc. Data Science & Innovation Take Home Challenge THE CHALLENGE: Zeta Disease Predictio Note: the Code is Confidential, needs author prior approval """ import os import pandas as pd import numpy as np i...
[ "noreply@github.com" ]
AhamadHussainD.noreply@github.com
63fee9bed9fb25aa6626ce7ec9c02f43b7d2bfbe
cb751afc18cde24e3974adbe60f55534a0b6e0cf
/gdgsite/settings.py
86605eddaec2afeebe0d52e2a06297aa9b5501b6
[]
no_license
HargovindArora/website
6d7f5c9571615f23c39c1ebde0d866f37de12b21
f9024048f37cccdaa3ffa504d05efce92020a464
refs/heads/master
2021-01-21T02:10:38.613307
2017-08-30T16:50:26
2017-08-30T16:50:26
101,881,662
0
0
null
2017-08-30T12:59:30
2017-08-30T12:59:30
null
UTF-8
Python
false
false
3,099
py
""" Django settings for gdgsite project. Generated by 'django-admin startproject' using Django 1.11.3. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "himanshuagrawal1998@gmail.com" ]
himanshuagrawal1998@gmail.com
60cd8b2aebcdbe232e347a8235a5b108d9419628
28729bdabcb1c83429752bc15b14f2ac1950028f
/firmware/python_modules/shared/dashboard/terminal/launcher.py
4d84887ce0cca0ac96378c72ae7a94d700de5ff0
[]
no_license
badgeteam/ESP32-platform-firmware
434020769b36df164fd1719b3bcf996851d55294
04282f7fe84ddd0f0c3887fa948da68a9ade8126
refs/heads/master
2023-08-17T07:07:51.048777
2023-08-14T20:53:37
2023-08-14T20:53:37
194,534,857
31
49
null
2023-08-15T21:00:09
2019-06-30T15:59:30
C
UTF-8
Python
false
false
2,103
py
import term, system, sys, uos as os, ujson system.serialWarning() apps = [] def add_app(app,information): global apps try: title = information["name"] except: title = app try: category = information["category"] except: category = "" info = {"file":app,"title":title,"category":category} apps.append(inf...
[ "renze@rnplus.nl" ]
renze@rnplus.nl
2f018fb4a4dcd300694252c10fb0a589577d9c18
62b0c608a4f3839f3443903b666b19632c13cac2
/ComicEnv/lib/python3.2/sre_constants.py
b766b82e7f13ed1382fa318a9df1c120c5d9b238
[ "MIT" ]
permissive
Silight/ComicEnv
a26e77c390e997de456e0e3ef7ce513dd8a908bd
2909f5405923f8767969aae7a6b36eda26571002
refs/heads/master
2020-04-01T08:19:17.463999
2015-04-21T15:05:11
2015-04-21T15:05:11
33,143,359
1
1
null
null
null
null
UTF-8
Python
false
false
35
py
/usr/lib/python3.2/sre_constants.py
[ "silight@silight-Virtual-Machine.(none)" ]
silight@silight-Virtual-Machine.(none)
ab4056f63a320739dcf5b284af25ffb7e8e5cc4b
6ee24ed025a3dce06716c60180e8acb7ea382074
/Data_Manipulation/data_processing/nodeJson_import_mongo.py
4a6a2ad0858287aa35111d7123f0d55bf9e3b4f8
[]
no_license
wxy000/MHKG
54ebaa6bde115981a734557c0595eb62e053ca23
b0f70bc2e185154f651958499a1632ce879075c8
refs/heads/master
2021-10-28T10:31:49.401982
2019-04-23T15:18:06
2019-04-23T15:18:06
175,953,209
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
# -*- coding:utf-8 -*- import os from pymongo import * import json class JsonToMongo(object): def __init__(self): self.local_url = os.path.abspath(os.path.join(os.getcwd(), "../data")) self.host = 'localhost' self.port = 27017 # 读取json文件 def __open_file(self): self.file =...
[ "396310583@qq.com" ]
396310583@qq.com
226a7bcfbe6f2eb263aab65dbe5beeebf1b5d173
237162607427106ae9564670d47427a62356861f
/core/migrations/0101_merge_20180116_1453.py
06162ec4e37501aaf9fff70de7035df75ad94e97
[]
no_license
pitipund/basecore
8648c1f4fa37b6e6075fd710ca422fe159ba930e
a0c20cec1e17dd0eb6abcaaa7d2623e38b60318b
refs/heads/master
2020-09-13T20:16:02.622903
2019-11-20T09:07:15
2019-11-20T09:07:15
221,885,342
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-01-16 14:53 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0099_procedure_active'), ('core', '0100_auto_20180112_1623'), ] operations ...
[ "longman_694@hotmail.com" ]
longman_694@hotmail.com
d0843099546bd3768c362e42f6bb8f28d9fe269f
68bfa9d7a6b267f52354415fc72fada1ddfdc9ab
/src/lamplib/src/genny/cmd_runner.py
9839bdab7da4894de4a389ec42df53c64eb8f86f
[ "Apache-2.0" ]
permissive
mongodb/genny
5aa3c3be01d8bd8e5b7c9a9d019c5b206d7e97fb
788eaf26e3b8b08d76c71d54fb0013befee9b032
refs/heads/master
2023-09-06T09:25:21.933670
2023-09-05T15:59:07
2023-09-05T15:59:07
121,291,048
44
76
Apache-2.0
2023-09-14T16:50:21
2018-02-12T19:23:44
C++
UTF-8
Python
false
false
1,971
py
import subprocess import os import shlex from uuid import uuid4 import structlog from typing import List, NamedTuple SLOG = structlog.get_logger(__name__) class RunCommandOutput(NamedTuple): returncode: int stdout: List[str] stderr: List[str] def run_command( cmd: List[str], check: bool, c...
[ "noreply@github.com" ]
mongodb.noreply@github.com
0eb00156414dc60670691a31f453d8a8e2fdc0bb
4c77c3f68ddd280ad26ed78a9f4927ff9eb5e1f1
/src/ledger/lib/python2.7/site-packages/pip/_internal/cmdoptions.py
58854e34f9b269a44463a8de48e2a181f83bbc36
[ "MIT" ]
permissive
neoscoin/neos-core
5f4a4e9fcdf13a21d1dbedfc7c01a8a8ba454a98
22cecda54875e3554e7c2a4569551c042fa6c0a2
refs/heads/master
2020-03-23T18:54:58.602764
2019-08-04T16:44:27
2019-08-04T16:44:27
141,940,658
4
4
MIT
2018-07-28T21:39:26
2018-07-23T00:05:03
C++
UTF-8
Python
false
false
16,679
py
""" shared options and groups The principle here is to define options once, but *not* instantiate them globally. One reason being that options with action='append' can carry state between parses. pip parses general options twice internally, and shouldn't pass on state. To be consistent, all options will follow t...
[ "kris@blockchaindatasystems.com" ]
kris@blockchaindatasystems.com
20e145131223914cc0e519e20273c104a72d4688
4ccf02e5712d742daf524b70b6ebc77c7f64a502
/extras/annotation_pipeline/quality_assurance/check_jigs_up_annotations.py
2679fadc2929b330112e0c3bd3ed0e23fe837b4c
[ "MIT" ]
permissive
rajammanabrolu/jiminy-cricket
e77ebae6e02ad68dfd13c8e564b5f7203c59d564
35a0d979d8ddc77371ead991f04230495279fa99
refs/heads/main
2023-08-21T01:28:16.814615
2021-09-23T03:28:33
2021-09-23T03:28:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,629
py
import argparse import os import re import csv import pprint pp = pprint.PrettyPrinter() # This script is for finding annotations of JIGS-UP functions where the line # noted in the spreadsheet is not the line where the JIGS-UP function starts. # We print out these instances and the line that they should be corrected...
[ "mrmazeika@gmail.com" ]
mrmazeika@gmail.com
de6682fbf0a6b2307883950d8adbb07e38918215
134c79f0d526dc3f48bd352cdff1d4e55a919d5e
/TextRendering/src/doc/lowlevel.py
0e493533ea451cfc556fa8f20646fb5d40c78978
[]
no_license
KrbAlmryde/cs524-Journal
ff4a85c0021da49b39fa12376d87856fb2a316fe
1db769c81825eaad12dc4c7326daebebebe24371
refs/heads/master
2021-01-25T05:27:50.549574
2015-04-10T16:49:18
2015-04-10T16:49:18
29,946,150
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
#! /usr/bin/env python from pyevtk.vtk import VtkFile, VtkRectilinearGrid import numpy as np # ************************************************************** # * Example of how to use the low level VtkFile class. * # ************************************************************** nx, ny, nz = 6, 6, 2 lx, ly, ...
[ "kyle.almryde@gmail.com" ]
kyle.almryde@gmail.com
7608751f89cc4ada8d4a85a974c37bb44e7dc50b
29cabe70d48a3ba9493ad8d4b7d3973b4782c7ab
/src/Baseline.py
004c6eeeb23fc020bf4d47403389239909c0b958
[]
no_license
drawdoowmij/salaryprediction
8d1e7321b7d06da3f9edcd3ab3fea0931a3a017c
ae6156ecc47322067f33d6503ae3c88e3a9d154c
refs/heads/master
2020-05-31T17:33:27.390380
2019-06-30T22:52:30
2019-06-30T22:52:30
190,411,791
1
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
class Baseline: """ Runs a basline linear regression model with limited features just to get a basline measure of the mean squared errorr. Future models will be compared to this one for validity. Parameters ---------- df: feature DataFrame est: estimator to use for baseline measur...
[ "noreply@github.com" ]
drawdoowmij.noreply@github.com
1660fc1e774c3881a875f18ebffd5dfe52106f81
fe300a07894111acaf1f9eb38d8d2e4d57ce470a
/Function/2-1.py
10791ea323cf2109991f375a740bcea49b200c3b
[]
no_license
lienero/-2019
d26c73e506b41deb383ca0a9e5dcfb406e6c52b1
a53cc3e4e05224070c24f0afb005415fd55fec4f
refs/heads/master
2020-05-24T11:05:40.700815
2019-09-16T10:23:58
2019-09-16T10:23:58
187,240,839
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
def times_tables(num): n=1 while n <= 9: print(num, " x ", n, " = ", n*num) n = n+1
[ "lienero@naver.com" ]
lienero@naver.com
d7949c88d9a7edbfea31dbd0ba7ab967b033b518
8dca64dd11b23a7d59413ac8e28e92a0ab80c49c
/804. Unique Morse Code Words/solution.py
8dcc8c84f34f57b973a8d917edf02c942dffc095
[]
no_license
huangruihaocst/leetcode-python
f854498c0a1d257698e10889531c526299d47e39
8f88cae7cc982ab8495e185914b1baeceb294060
refs/heads/master
2020-03-21T20:52:17.668477
2018-10-08T20:29:35
2018-10-08T20:29:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
class Solution: def uniqueMorseRepresentations(self, words): """ :type words: List[str] :rtype: int """ morse = ['.-', '-...', '-.-.', '-..', '.', '..-.', '--.', '....', '..', '.---', '-.-', '.-..', '--', '-.', '---', '.--.', '--.-', '.-.', '...', '-', '..-', '...-',...
[ "huangruihaocst@126.com" ]
huangruihaocst@126.com
c6bb44a4b00a0210af19a85c3a485a6a6a5a3c72
f0e2643cf8a015b581f509a4f87f92136424b0c9
/Cryptage_Decryptage_Polybe.py
86535ba889fab89bb609e8c31e1c795aad1bcdbb
[]
no_license
MrVyM/Cypher
0ddbf0b1205e87718f8d9d96c0435c1797c0af93
b28be87f17f5a6439a852477bb1f2352d6d71799
refs/heads/main
2023-04-01T22:56:50.276107
2021-04-03T10:20:39
2021-04-03T10:20:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,309
py
import Enlever_Caractere as EC import Open_Write_Fichier as OpenWrite carre_polybe_codage=[('', '11'), ('', '21'), ('', '31'), ('', '41'), ('', '51'), ('', '12'), ('', '22'), ('', '32'), ('', '42'), ('', '52'), ('', '13'), ('', '23'), ('', '33'), ('', '43'), ('', '53'), ('', '14'), ('', '24'), ('', '34'), ('', '44...
[ "noreply@github.com" ]
MrVyM.noreply@github.com
b1e22bf9ed41b1f3607a1bad07394668a0b1f99f
2e6c379a22e87ad15f6d9c0356e615f42609e0eb
/Codility/4CountingElements/MissingInteger.py
46a95f94c673ed01a4975c312cbd7e077517f1c1
[]
no_license
opethe1st/CompetitiveProgramming
49f24b1b0c6bf737c5698a15edfdf5009a308a52
84ab62144f6b389ef74b7e8956b7e02e0f2ab108
refs/heads/master
2021-01-13T10:35:08.339291
2020-09-14T21:23:34
2020-09-14T21:23:34
69,969,077
7
2
null
2019-02-17T18:36:34
2016-10-04T13:46:21
Python
UTF-8
Python
false
false
206
py
def solution(A): arr = [False]*100001 for a in A: if 0 < a <= 100000: arr[a] = True for i in range(1, 100001): if not arr[i]: return i return 100001
[ "ogunks@live.com" ]
ogunks@live.com
46d0d21c4da3de754acdc3335de44520de01be80
53a21ab982c8bf6695c2c103fcef7e2d9b535269
/youtube_dl.py
b382272741de9b7771816d56945c3defdfbfccfe
[ "MIT" ]
permissive
Naaatan/PyTube
f3cf87548d845b86f4be64b0e3b2f845a09719dc
87d0f210ccb880b4b4593379441f98da92e5fcf4
refs/heads/main
2023-05-11T21:46:12.506210
2021-06-07T01:48:36
2021-06-07T01:48:36
374,491,115
0
0
null
null
null
null
UTF-8
Python
false
false
3,843
py
#!/usr/bin/env python # coding: utf-8 import glob import time import os import re import subprocess from pytube import Playlist, YouTube from tqdm import tqdm # consts MUSIC_DIR = os.path.join(os.getcwd(), "music") VIDEO_DIR = os.path.join(os.getcwd(), "videos") pbar = None def download_video(url): """ Down...
[ "nagura@avancesys.co.jp" ]
nagura@avancesys.co.jp
a5d8335443fdf0a6e06452af44b450abf01e00c8
f72c9f33046fa17b19dbb0c5f91b7fee64888f81
/blue_custom_branding/helpers/less.py
dc89119db20b02a0e848659d13f49efe685fcb79
[]
no_license
eisaferreterias/newcode
7c6922a21459b0d2ddc7027d75df66c2d9747463
bf5df7e50acd116992c1da1498dd27d0f4b553f0
refs/heads/master
2020-04-14T09:59:46.831636
2019-01-02T06:11:25
2019-01-02T06:11:25
163,774,755
1
0
null
null
null
null
UTF-8
Python
false
false
14,763
py
# -*- coding: utf-8 -*- import os import re import logging _logger = logging.getLogger(__name__) def write_less(env): """ Write the company theme details as less variables in a database-specific less file. :raise Exception: if there is an error opening or writing to files :return: None """ d...
[ "noreply@github.com" ]
eisaferreterias.noreply@github.com
d5db198ca07bdb534c74600e5996092ed4d583d8
8e8a961a7b4e9ee012bd7e8e18de6abce9c189fb
/playground.py
99a1af554249edb32f33190c86854e6abd0a393f
[]
no_license
youkaede77/LeetCode_Python
628eb74b835463b86f129eed37cbf4515b5eccc0
1e43fdac9d9baec899e10e1983a916a95fa59e84
refs/heads/master
2022-01-23T04:54:55.414576
2019-05-17T13:08:45
2019-05-17T13:08:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
class Solution(object): def getRow(self, rowIndex): """ :type rowIndex: int :rtype: List[int] """ ans = [1]+[0]*rowIndex for i in range(rowIndex): for j in range(i+1, 0, -1): ans[j] = ans[j] + ans[j-1] print(i,j,ans) ...
[ "weidafeng.edu@gmail.com" ]
weidafeng.edu@gmail.com
deb02443f9433006c687b7c6430df80bc872c14c
1dd2bdcee28f17011401da44882534d0db441031
/exceptions.py
dfe2fc16cf94d709f395a6d3d58d34241db21d27
[]
no_license
DjDeMi/bq78412
dc89adc97becd25bac4db3db1d44f036d6f4a87b
4c771b12de4812fb2ab6157d8c2a3c5df1cce345
refs/heads/master
2020-06-08T09:59:52.464844
2013-11-24T22:38:18
2013-11-24T22:38:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
class CRCError(Exception): def __init__(self, value): self.value = value def __str__(self): return "Error " + str(self.value) class timeoutError(Exception): def __init__(self, value): self.value = value def __str__(self): return "Error " + str(self.value) clas...
[ "djdemi@gmail.com" ]
djdemi@gmail.com
dac582a4280341b6432f8c1dde055370905ef637
67fff1dfe06865b78a159efec9c7a3416a1170d3
/Snakefile
b87ac8edff111e3390cf9c6aadac2ea925ba9baa
[]
no_license
marcoralab/SumHer_pipeline
32cece59926bd11eec42913b47778155166b18d5
4901b0bbacf3ad3d79f4164f57429583456909c7
refs/heads/master
2021-05-20T08:47:20.290634
2020-04-01T19:14:02
2020-04-01T19:14:02
252,205,780
0
0
null
null
null
null
UTF-8
Python
false
false
9,735
'''Snakefile for sex stratified GWAS Version 0.2''' from scripts.parse_config import parser, getcom, getloads, subs from scripts.parse_config import proc_cohorts, proc_covars from getpass import getuser import glob import os import socket isMinerva = "hpc.mssm.edu" in socket.getfqdn() configfile: "config.yaml" sh...
[ "fultonh1@gmail.com" ]
fultonh1@gmail.com
01bdaa76d7b26697d8497b9ccf1047896d67e5cb
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/ui/base/ui_base_tests_bundle.gypi
2eeabe88a68f15af2e9b303ac363da4d95b3f8e7
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
1,793
gypi
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # This file contains resources for the ui_base_unittests test bundle. # See chrome_dll_bundle.gypi for a description of the techniques here. { 'product_nam...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
6f1d0db25e6a71e4e3a0e6767b8cec85b3d52da2
395f7556c69c15ef97377842a104233624dcc30f
/votes/models.py
2a87657a1fdfe843d6b9cdb3e4e6b590b71bf860
[]
no_license
Morelromain/rocket_vote
6441b7be2ed9da7fc17cae0c44f081456c0f396e
b575b39344bdf8bf37cb8b5f5c7581b0d9eebe11
refs/heads/main
2023-06-27T07:42:13.219112
2021-07-28T14:10:31
2021-07-28T14:10:31
385,236,126
0
0
null
null
null
null
UTF-8
Python
false
false
1,367
py
from django.db import models from django.contrib.auth.models import AbstractUser from django.conf import settings class Voter(models.Model): name = models.CharField(max_length=15) def __str__(self): return self.name class Vote(models.Model): title = models.CharField(max_length=50) result = ...
[ "morelromain86@gmail.com" ]
morelromain86@gmail.com
97cd3a49ac81326732594597d2ce787fb3fdc961
34c5467042b9f1f4dd83be6f56519fb93b82951e
/dataset/BSD500.py
c7c7387f75e6af83e554e70000a2fb835e35f9e4
[ "MIT" ]
permissive
mmmuuuuua/pytorch-HED
34c5057c13707a0dc5d38ea49125b42968a41032
0a614537dd8aa0d5f7ae5812b235351d89832540
refs/heads/master
2022-03-03T10:30:20.750807
2019-10-20T10:10:21
2019-10-20T10:10:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,251
py
import os import torchvision.transforms as transforms import torchvision.transforms.functional as F from PIL import Image import numpy as np import random import pdb class BSD500Dataset(): def __init__(self, cfg): self.cfg = cfg self.rootdir = cfg.DATA.root self.train_list = cfg.DATA.t...
[ "chongruo@gmail.com" ]
chongruo@gmail.com
1f305d103ada09c4e3c1dadf0a5b42070d953e56
3ead5aedee381cd264c268220fbb3f7e4545f7c6
/keyboard.py
82868ea33b6bf18d77d99a2b0e6a2db697ac5b85
[ "MIT" ]
permissive
AmineSoukara/OneSecMailBot
e48866b0b5e8ece9095da97cde2797c5ba3ba5eb
45a046890dac7ca8a10f3c48a4969aedf34cd04b
refs/heads/main
2023-07-16T15:07:07.872438
2021-09-04T16:03:55
2021-09-04T16:03:55
403,098,692
2
2
null
null
null
null
UTF-8
Python
false
false
150
py
from aiogram import types menu = types.ReplyKeyboardMarkup(resize_keyboard=True) menu.add( types.KeyboardButton('استلام البريد') )
[ "noreply@github.com" ]
AmineSoukara.noreply@github.com
9f664c31e97af59857c6cdf03b82180d5f75e483
24b3352991931cbc68a9f5f3a84354bf3a561e07
/review/restviews.py
f7fad7f4972ca6d5a8d930fed79f676059445776
[]
no_license
kangsm0903/bongtoo_restapi
ac883dea82c77e1038564321b9c9b65272797825
ee7aaa9346892bec8a80383dcf8f961c14acb44a
refs/heads/master
2020-07-02T07:39:08.864468
2019-08-09T11:19:43
2019-08-09T11:19:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,434
py
# django from django.shortcuts import get_object_or_404 # rest framework from rest_framework import status from rest_framework.views import APIView from rest_framework.response import Response from rest_framework.generics import GenericAPIView, RetrieveUpdateDestroyAPIView, ListAPIView from rest_framework.permis...
[ "gtah2yk@gmail.com" ]
gtah2yk@gmail.com
8b5d3ec3cfaa50228532f727bea9f0114cbb6040
fd2965d30b61567052738888079f174937d31fd8
/tests/test_application.py
f1ecab8593d3d11f649d4b410a8451168db8aa60
[ "MIT" ]
permissive
AlexMathew/vial
16d39220cbacc2a0ecfab0d041e410acff6259ab
2d8bb09915a3ccd84549ed68e365ea843bcc1865
refs/heads/master
2023-01-08T01:50:18.885588
2021-03-19T05:55:16
2021-03-19T05:55:16
161,334,656
4
3
MIT
2022-12-23T19:35:11
2018-12-11T13:02:39
Python
UTF-8
Python
false
false
622
py
from nose import with_setup from nose.tools import (assert_equal, assert_in, assert_is_none, assert_is_not_none) from vial.server.application import Application app = Application('test_runner') def setup(): @app.route(methods=['GET'], path='/$') def route1(): return '1' @wit...
[ "alexmathew003@gmail.com" ]
alexmathew003@gmail.com
d2e62ae7d228a189efbf53aa40a08bced02d5fef
cf40d5061b6459f984651f92a5ec1ad442886ec0
/node_modules/watchpack-chokidar2/node_modules/fsevents/build/config.gypi
7435f3d786baf8fe6bd368baea139d464a8e0776
[ "MIT" ]
permissive
MathGL92/react-intro-portals-and-refs
2db988ab3050c9ccf498498195a9c03bdc58fb04
033271009c52e9fc744505c5eb7a3aadfbf848c3
refs/heads/master
2023-07-15T06:13:27.920968
2021-08-29T04:46:29
2021-08-29T04:46:29
400,952,224
0
0
null
null
null
null
UTF-8
Python
false
false
2,846
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "dcheck_always_on": 0, "debug_nghttp2":...
[ "mathieu.longe@orange.fr" ]
mathieu.longe@orange.fr
2dfddc1e33cbd66f5b0d212c97211597b790b360
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/BillRepayResult.py
fb5b8f38c9de1fe638c540d2a34f43874b6375cf
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,810
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class BillRepayResult(object): def __init__(self): self._error_code = None self._error_msg = None self._result = None @property def error_code(self): return sel...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
f6ed7d2d772b2c228ddc3e8665375c38ea5fbc00
64e918d603f3673160019bc1fd339359f774181d
/Encapsulation project.py
9769b5b803a1500f96b0849213d425a122a19d11
[]
no_license
wbennett84/Python-Projects
becacf14d2f7041853a68a33979c79aeda3ee30e
e99d6bfce8718341138f13a8d7c9ec47a18730d3
refs/heads/master
2023-06-07T03:41:40.304549
2021-07-01T02:06:57
2021-07-01T02:06:57
374,774,733
0
0
null
null
null
null
UTF-8
Python
false
false
1,137
py
#here we are defining our class and setting up some variables with initial values. # These are private and protected variables, respectively. #Next we are setting up some print and value-setting functions for use # later on when we call them. class Private: def __init__(self): self.__private = 30 ...
[ "81777304+wbennett84@users.noreply.github.com" ]
81777304+wbennett84@users.noreply.github.com
dd2828173e9ba99516e67147bc939f0500f6c8b9
9b20161b91400238b0c6e6ee3282a328d42935e2
/tensorflow_datasets/core/utils/generic_path.py
19967f951b9471036227c762a4c899090a58d51d
[ "Apache-2.0" ]
permissive
okyanusoz/datasets
61c0ced07c420d7e900080e851890def74a37d94
8997c4140cd4fc145f0693787b1da78691930459
refs/heads/master
2023-05-31T23:19:30.153499
2021-05-06T19:56:49
2021-05-06T19:58:56
365,308,067
1
1
Apache-2.0
2021-07-04T11:15:13
2021-05-07T17:32:53
null
UTF-8
Python
false
false
3,599
py
# coding=utf-8 # Copyright 2021 The TensorFlow Datasets 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 appl...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
e213eed102c19e72cfea1fd9024c877c0704034c
649fb5b641c54db3f6cd89ee5d288519e5b6a3f9
/Tutorial_4_PyTest_TDD/ejercicio2/fibo.py
e9e0a069c3132f919f6ad044c4207df00fdcc6b9
[]
no_license
Hindegarth/Arqui-Software
8b722dec78da4531d985f3a6566ff67282c87a29
4250543b4238598aa98a7222339489856307735b
refs/heads/main
2023-02-14T16:42:20.396550
2021-01-11T01:59:59
2021-01-11T01:59:59
302,714,901
0
1
null
null
null
null
UTF-8
Python
false
false
116
py
def fibonacci(num): if num < 2: return num else: return fibonacci(num-1) + fibonacci(num-2)
[ "noreply@github.com" ]
Hindegarth.noreply@github.com
e6d3086c573f068856b707acf22ffd8a23dd140a
d026fc378de67067eaa06dbf3b401ff49b0c94fe
/TestScripts/BeatTracking/TestBpmDetect.py
ce17baa7d6889b7c255f0218efbb9f0c65d6ac4e
[]
no_license
lenvdv/auto-dj
7544ff674b6b0430954dbf5efe4a284cfb30544c
a34ac0e0fd0869d2e3f2c020c12e1c4545ba7eba
refs/heads/master
2021-01-23T10:21:30.263480
2017-09-08T09:19:01
2017-09-08T09:19:01
93,055,455
8
6
null
null
null
null
UTF-8
Python
false
false
5,166
py
import numpy as np import sys # Also see the default python example! # Load a file using the command line try: filename = sys.argv[1] if len(sys.argv) > 2: MIN_VALID_BPM = int(sys.argv[2]) MAX_VALID_BPM = int(sys.argv[3]) else: MIN_VALID_BPM = 100.0 MAX_VALID_BPM = 190.0 except: print "usage:", sys.argv...
[ "len.vandeveire@gmail.com" ]
len.vandeveire@gmail.com
f0f429078d396f0952b7c19b9802bc35cb48f9ef
0341cf21094e3d5bdf11cbfffe5928e3d43392d2
/JudgingSystem/apps.py
d6e040837246b05bd06cc812236c690b50473f24
[]
no_license
ciuti/Judging-System
70890c1882e07f0223b26146096a7a7245b18519
c70321d11d4888f489f32d5a80975fd68a292b00
refs/heads/master
2020-12-28T15:45:27.515587
2020-02-05T07:29:08
2020-02-05T07:29:08
238,392,563
0
1
null
2020-10-01T00:40:55
2020-02-05T07:28:38
Python
UTF-8
Python
false
false
101
py
from django.apps import AppConfig class JudgingsystemConfig(AppConfig): name = 'JudgingSystem'
[ "hosecuter@gmail.com" ]
hosecuter@gmail.com
e1647fc3691542a65b2764f02867a1fb4c023cd8
6bb1634996f9fa2521cbc6814b6f0976890aee39
/M3Sewver/web/validators/scanning.py
cfb8e36ee114af0efbda9719c0b37c2abcb23e94
[]
no_license
SmallPotY/m3Allocation
bca66475df95edf8b875feed5c51a85ca10a7606
ba9147d00603bc540e58511095b6355b5a8ca892
refs/heads/master
2023-02-12T13:17:53.765358
2019-09-24T16:05:31
2019-09-24T16:05:31
210,164,793
0
0
null
2023-02-02T06:39:44
2019-09-22T14:55:02
Python
UTF-8
Python
false
false
663
py
# -*- coding:utf-8 -*- from wtforms.validators import DataRequired from web.validators import BaseForm from wtforms import StringField, IntegerField, DateField class InScanning(BaseForm): location_id = StringField(validators=[DataRequired(message='请输入货位号')]) order_number = StringField(validators=[DataRequire...
[ "1041132457@qq.com" ]
1041132457@qq.com
25b8ef20f1d3fd2994351333dea03eefff95513e
21a5d36b32ddf277be891fd1f0e93d458c4f0c2f
/official/nlp/modeling/models/bert_span_labeler.py
2dd9ab13f518373b6bf82800256d75df9d553750
[ "Apache-2.0" ]
permissive
pkulzc/models
7cf3b718bc4edba53accd14b692712f6c1883578
2ec6572e1b79127a7cf905c1e67ec6568e364f10
refs/heads/master
2021-06-28T08:04:36.609825
2020-06-18T17:54:53
2020-06-18T22:00:50
126,526,822
8
9
Apache-2.0
2018-03-23T18:50:30
2018-03-23T18:50:29
null
UTF-8
Python
false
false
3,874
py
# Copyright 2019 The TensorFlow Authors. 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
28931249c5359ad6622ac5438cca8906a12cbfd6
bd5d1a05789e8c1dd181ca8108a1a2a52e41c3df
/assignment-1-liuyingjiacfa-master/assignment-1-liuyingjiacfa-master/assignment_1.py
3276258c744f2bc1b9257f3181b5a87df40aa81c
[]
no_license
liuyingjiacfa1/homework
22566207bc0078ae3b6d2c422bf11bb867e48a3b
5a1e48364479a75742515f8dc42d918f624a03af
refs/heads/master
2020-05-16T02:09:44.373542
2019-10-14T02:01:21
2019-10-14T02:01:21
182,621,863
0
0
null
null
null
null
UTF-8
Python
false
false
3,354
py
import os import pandas as pd import requests from bs4 import BeautifulSoup from pylab import mpl,plt plt.style.use('ggplot') mpl.rcParams['font.family']='serif' data={ 'url1':"https://www.ncdc.noaa.gov/cag/statewide/time-series/", 'url2':"-tavg-1-", 'url3':"-1895-2019.csv?base_prd=true&begbaseyear=1901&endbaseyear=20...
[ "yingjia.liu.eric@gmail.com" ]
yingjia.liu.eric@gmail.com
5e11043ba615aac76aab5db918ba366a7498ee5f
367d2571f2ad5a141ca2ec7bb9d1a9999e3c300b
/player.py
c1e8bdf51d8a1f8981b6e03ce1f4c28661415d8b
[]
no_license
advaitparulekar/The-Skateboard-Game
0c606d592fd8e383e30da0150cb410d96261d2f9
c4ab8d7c97de75b140cceeb90e055b99c43f142e
refs/heads/master
2020-06-25T06:01:37.231588
2019-07-27T23:59:01
2019-07-27T23:59:01
199,223,993
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
import arcade import numpy as np from brain import * PLAYER_SCALING = 60/3016 MOVEMENT = 100 INPUTS = 9 OUTPUTS = 3 NEURON_COUNT = 5 class Player(arcade.Sprite): def __init__(self, neuron_count, num_inputs, file_name): super().__init__("character.png", PLAYER_SCALING) weights = np.loadtxt(file_na...
[ "adutheparulekar@tamu.edu" ]
adutheparulekar@tamu.edu
d9286fa7b073260972f731dea2fe668184dee7c1
85f52de727f72db30a4fc4161fc2414cd72035d8
/18day/8-从列表中选择符合条件的元素组成新列表.py
9e71f8fbabd6ba6d841b0afff5914b8a76b644ea
[]
no_license
ittoyou/-2-
ff7ca3bfd9428ac6f3ba5332a4c62825c5d30dcd
2c988c2f996221e86e1bbbeb9b3e96da25fe8f92
refs/heads/master
2020-03-24T16:57:05.220482
2018-07-30T08:08:59
2018-07-30T08:08:59
142,844,024
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
price = [1100,5270,2965,6400,1996,8874] sale = [x for x in price if x > 5000] print('原列表: ',price) print('价格高于5000的: ',sale)
[ "429013601@qq.com" ]
429013601@qq.com
b0d3521a3d9a58cbc400d108fed0a5d0a2a5c801
59c9cb7f5aaa19124de3cc66f8bef1553084f043
/venv/bin/easy_install
a05162334a8283afbafb2ab8a47317616fd9202b
[]
no_license
izaldal/Muslimbook
92726dd91f74598b5be3c11781e05d3bbba7ff0f
54964b4a231b8c31b8fc297dfa5281de02d69b80
refs/heads/master
2021-03-18T09:51:53.085423
2020-03-22T07:34:36
2020-03-22T07:34:36
247,064,547
1
0
null
null
null
null
UTF-8
Python
false
false
444
#!/Users/izadeenalkoran/Desktop/Muslimbook/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$...
[ "58135379+izaldal@users.noreply.github.com" ]
58135379+izaldal@users.noreply.github.com
784aaa14232009b5b096f93fbc7d7847d67c9d86
ad37c4fac9daf27d24ee518aace00ed234982f67
/PIDvsRL/compare.py
2f5fef8bc690689bbd8bd98772441e6d5701d8ca
[]
no_license
BaiLiping/Coaching
81025abf1dadf54069939e51e1ad49d6280efa9a
5388cb42a59f834c8258fae8f2d4ae01ee2bfe56
refs/heads/master
2023-04-10T13:33:18.202175
2021-04-18T02:11:34
2021-04-18T02:11:34
325,438,279
1
0
null
null
null
null
UTF-8
Python
false
false
6,811
py
from tensorforce import Agent, Environment import matplotlib.pyplot as plt import numpy as np import math import pickle from tqdm import tqdm import gym import statistics rl=[] pid=[] rl_average=[] pid_average=[] ip_without=pickle.load(open( "ip_without_record.p", "rb")) ip_record=pickle.load(open( "ip_record.p", ...
[ "blp_engineer@outlook.com" ]
blp_engineer@outlook.com
7b8b23fe9207efbed061a777795142ee72cfdbd0
3cf552ace92dbdb911bbf4a9a02f7fc350546d6f
/rock_paper_scissors.py
7cfde922e7fc393720fc4894d23b950aa3ad2069
[]
no_license
oshlern/ObjectOriented
99d16593a22682fe14b5c4494072df2eab9d7d9b
bb7374628f70cd89739c3b94a8c9992994d48e07
refs/heads/master
2021-01-21T12:11:06.867484
2018-06-07T01:36:57
2018-06-07T01:36:57
102,046,323
0
0
null
null
null
null
UTF-8
Python
false
false
2,033
py
import random CHOICES = ['rock', 'paper', 'scissors'] class Action: def __init__(self, prompt): '''Create an action instance, either by randomly choosing the action or prompting the user.''' # if an action hasn't been named, choose it randomly if prompt is False: self.name = r...
[ "osherler@gmail.com" ]
osherler@gmail.com
de284ecc38f6d4920a0aa4ffd069fbb1cff69f8d
b8b3847c527fc1655244056e0869ced82ce6a937
/Big Data/Assignment 1/Code/Data_Mining.py
b317ac45f976762dc011e1e86f9dc80146cc6bcb
[]
no_license
anirudh-11/code
b87256b15f154f772b10b278be8a717f93eb519e
e0b3acdc14b9b83f61e7450198e289053d60d19d
refs/heads/master
2022-12-13T21:43:47.364323
2020-08-11T14:26:28
2020-08-11T14:26:28
245,441,331
0
0
null
null
null
null
UTF-8
Python
false
false
2,360
py
import pandas as pd import numpy as np import fim # from mlxtend.preprocessing import TransactionEncoder # from mlxtend.frequent_patterns import apriori, association_rules data = pd.read_csv(r'cleaned_data.csv') print(data.head()) print(data.shape) data_list = data.values print(data.values) def mfi(data...
[ "noreply@github.com" ]
anirudh-11.noreply@github.com
b42a9b1f9a54ad056c572604eccca2d115889414
99436974b0750bc0cef6999804160bd4a746f9a2
/activity/blindDrive.py
dc867e876d62352713c5f79c3c61b36a0d8647f3
[]
no_license
disperate/haley
3d1bd87c26737e1346ef8d0f50b648ac22f0bdd1
513eee702f43742eaac54c2557914c0baacf9be2
refs/heads/master
2021-03-19T15:23:30.911772
2017-07-05T07:26:21
2017-07-05T07:26:21
85,970,195
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
import time from threading import Thread import config class blindDriveActivity(Thread): def __init__(self, fsm, motor): super().__init__() self._running = True self._motorController = motor def terminate(self): self._running = False def run(self): while (self._r...
[ "julian.bigler@hotmail.com" ]
julian.bigler@hotmail.com
b4145cea71900436372b71f6647a8f2fa6e6c415
26ec3f123ba0ff8339ac23f63e22bbca11d59d21
/client_1.py
2abf970c463edef19380f3151eb4512c122d0c51
[]
no_license
wangbiao0327/nihao
e1319e9e8bc6c4a102a9e07820fa01faf666bacb
b66dcf7d502cdeb6383589ec758ae8256ab6dcd5
refs/heads/master
2020-03-30T00:51:22.975186
2018-09-27T02:34:51
2018-09-27T02:34:51
150,547,351
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
from socket import * import sys,os #发送消息 def send_msg(s,name,addr): while True: text = input('发言:') #如果输入quit表示退出 if text.strip() == 'quit': msg = 'Q ' + name s.sendto(msg.encode(),addr) sys.exit('退出聊天室') break msg = 'C %s %s'%(name,t...
[ "Wangbiao@qq.com" ]
Wangbiao@qq.com
768867aafb99ad6a6fd6c264bad58cd081cf5097
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/MT5_ID4146_for_PyTorch/transformers/src/transformers/tokenization_utils.py
dcf1b110430d308ef7ad31536fc79240fa171a6d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
39,892
py
# coding=utf-8 # Copyright 2020 Huawei Technologies Co., Ltd # # 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 applicab...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
38e4a8deed62e3575fce47fec504b754d64bf0a4
f659aab67a15b96f383cfcd37255349a416f40b7
/TataDjango/wsgi.py
95f1e1d28394cc8b27d4110a8614811c7e5cd44f
[]
no_license
talitalopes/django-learning
10006de27d4e3c804a5975b1451a13f10b723203
02e844db21b6d167b7abac8c8b41d69dd2f87ba5
refs/heads/master
2020-07-11T17:16:02.367795
2017-06-17T02:03:08
2017-06-17T02:03:11
94,273,848
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
""" WSGI config for TataDjango project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
[ "talitalopes@gmail.com" ]
talitalopes@gmail.com
7630eba99b49fec3058efa02c252e3607ba0c0dc
e53373d072d15da1316a61043747ba5544da9a09
/website/auth/forms.py
88c08b3ec44879793977ba9161e1e635a19f54fb
[]
no_license
OWF/owf2014
3de4b2c825dd74a68c20036d0108eb0af1e3208d
3d64302bb43c43fa1bd332490da62739e70aa126
refs/heads/master
2020-04-05T22:48:34.143204
2014-12-05T15:19:59
2014-12-05T15:19:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
# coding=utf-8 from flask.ext.wtf import Form, TextField, TextAreaField, required from flask.ext.babel import lazy_gettext as _l from wtforms import SelectField __all__ = ['RegistrationForm', 'BaseRegistrationForm'] org_types = [ u"", u"Auto-entrepreneur", u"PME", u"ETI", u"Grand Groupe", u"Investisseur"...
[ "sf@fermigier.com" ]
sf@fermigier.com
d9668b913095a52b51c777087c7b0cdbcf0f0923
a1c08f74e2faf093d395eacf1d8145bbf22b0774
/adventofcode/adv_6.py
f69977068e1fafd4f45820d50cdf6800a502e9e8
[]
no_license
prusinskiPiotr/algorithms
fe4e8ec46166370b16a92321f1b1f43df38a4b27
7a6c9bf167d162b765b6cce31317e864fba14ccd
refs/heads/master
2021-06-07T21:31:05.549872
2019-12-16T16:05:38
2019-12-16T16:05:38
137,759,149
0
0
null
null
null
null
UTF-8
Python
false
false
913
py
from collections import defaultdict with open('data_6.txt') as file: data = file.readlines() a = [data[i].rstrip().split(')') for i, num in enumerate(data)] def DFS(G,v,seen=None,path=None): if seen is None: seen = [] if path is None: path = [v] seen.append(v) paths = [] for t in G[v]: ...
[ "prusinski.pio@gmail.com" ]
prusinski.pio@gmail.com
c12bcb3649544f920ec15252f9c474f129c7e660
0cf29d08fb67b9472867998884737d8d4487ddee
/wdqms/context_processors.py
ae46e0f1bc3de94a85537eee346199c88e8fb2eb
[]
no_license
kurt-hectic/wdqms
8971f2b2cecd97680a308f663a6f7bfe01b2587b
fbc40c958492bff4c9a489e6aee819993ef57b00
refs/heads/master
2020-04-08T19:15:12.107424
2018-09-14T10:02:36
2018-09-14T10:02:36
159,646,669
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
from django.conf import settings def global_settings(request): # return any necessary values return { 'OSCAR_STATION_REPORT': 'https://oscar.wmo.int/surface/index.html#/search/station/stationReportDetails/', 'GEOSERVER_URL' : 'http://128.65.196.37:80/geoserver/wdqms/wms' }
[ "timo@proescholdt.de" ]
timo@proescholdt.de
b16c733060a86bcf7bce7aaf30a362827d156232
cf8ff9bb2b09dd9be080954120aa1977ec1945e8
/week3/test_fixture1.py
1ca08a3c357aab9d2f81176096f1fd4d0394c2c8
[]
no_license
SaleevaMariia/stepik---auto-tests-course-python
aa34e2eedce8ec178391355c7dd17b52b3a48c4a
a751cc88320752d6a0ae426f4c3b9d6871423d35
refs/heads/master
2022-06-10T10:01:59.487936
2020-05-06T17:44:03
2020-05-06T17:44:03
260,880,673
0
0
null
null
null
null
UTF-8
Python
false
false
1,255
py
from selenium import webdriver link = "http://selenium1py.pythonanywhere.com/" class TestMainPage1(): @classmethod def setup_class(self): print("\nstart browser for test suite1..") self.browser = webdriver.Chrome() @classmethod def teardown_class(self): print("quit browser f...
[ "sunlimen13@gmail.com" ]
sunlimen13@gmail.com
732f0768302d0ef7fc24343b319572ce36afe58b
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/digress.py
88c39e0e78e7f37ca3dfbb2e1dbdb99c4c79e106
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
624
py
ii = [('GodwWSL2.py', 3), ('SadlMLP.py', 3), ('ProuWCM.py', 1), ('WilbRLW5.py', 1), ('FitzRNS3.py', 1), ('GrimSLE.py', 1), ('KiddJAE.py', 2), ('AdamHMM.py', 1), ('RoscTTI2.py', 1), ('CoolWHM.py', 1), ('CrokTPS.py', 1), ('ClarGE.py', 1), ('DibdTRL2.py', 1), ('MedwTAI.py', 5), ('WadeJEB.py', 2), ('CoopJBT.py', 3), ('Kirb...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
e1d1982c72f41e76af6ee2e389c30e70c274561b
a7dba1fb8adf8ccbb4a58fd15fff55686e22fd17
/programLicenceReader.py
41e9e84da0c4ae7df0139faadb79d771c0dc0bc6
[]
no_license
aniket1418/NumberPlateDetection
25e3e8db46f19f6f98f26b3e3e5ea92a82dc0184
f8f8c04eb79093d11c2e45acca0c0e6843a326d5
refs/heads/master
2023-04-10T23:07:55.716495
2021-04-23T08:37:14
2021-04-23T08:37:14
360,817,637
0
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
import cv2 import pytesseract # Read the image file image = cv2.imread('26.jpg') # your path may be different pytesseract.pytesseract.tesseract_cmd = 'C:/OCR/Tesseract-OCR/tesseract.exe' # Convert to Grayscale Image gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) # Canny Edge Detection canny_edge = cv2.Canny(gra...
[ "17btrcs029@jainuniversity.ac.in" ]
17btrcs029@jainuniversity.ac.in
fb40df8b8bb3763c19d5f1e061fe5d6df51e162a
73c5a80b8ef2de609737a57c48b4190196bd4d20
/shell/database/LinuxMIPS/chmod.py
ba78fc467c6b66508d4b1f7f89c19243244c81dd
[ "MIT" ]
permissive
raildex1/shellsploit-framework
1674a2a0215ce0c87b0ad7f284e9b7c42834546b
a16d22fdffa5d9369cd55c8768d327e5abf8e648
refs/heads/master
2021-01-20T01:27:25.919068
2016-12-08T08:57:51
2016-12-08T08:57:51
89,279,926
2
1
null
2017-04-24T19:37:04
2017-04-24T19:37:04
null
UTF-8
Python
false
false
767
py
from lib.payloads.shellcode import Shellcode class Payload(Shellcode): Shellcode.info["author"] = "Sang-Min LEE" Shellcode.info["name"] = "LinuxMIPS - chmod shellcode" Shellcode.info["references"] = [ "https://www.exploit-db.com/exploits/36276/" ] def __init__(self, **kwargs): S...
[ "b3mb4m@tuta.io" ]
b3mb4m@tuta.io
ec2aabe61cdf4a348deb2d0d6b01450aff7dffa8
4fb67bbf06a2ebe1213aea66b4ab97031dbf04b2
/PyGames/Sanke.py
d8d9c067c397c086981c85de6c8db506161e83fc
[]
no_license
ArunCSK/MachineLearningAlgorithms
72110dec8c61e358da0c6d51753fb81142673812
81278433a51d1f9fe60faf877a00b5aa5a8c6c7d
refs/heads/master
2021-06-11T17:35:43.098620
2021-05-22T09:11:22
2021-05-22T09:11:22
191,166,762
0
0
null
null
null
null
UTF-8
Python
false
false
3,806
py
#py -m pip install -U pygame --user #py -m pygame.examples.aliens #pip install pygame import pygame import time import random pygame.init() dis_width = 600 dis_height = 500 dis = pygame.display.set_mode((dis_width,dis_height)) #play_area = pygame.display.set_mode((dis_width-20,dis_height-50)) pygame.display.set_capt...
[ "arunsubburaj@gmail.com" ]
arunsubburaj@gmail.com
4bfe8c3ab1a24ab6ee9a54399f9e9409deeff0bd
75b3b691f9520434212e7caec4e4a0eacfa268e0
/stacks.py
7c6eed6d0fa0089d0d25a673f6f72a200d622dec
[]
no_license
rohunvora/stacks_and_queues
64c510f4de13bc7283dff6bc06eeda0a6a441f8e
62fcd8e531fff61b7e52f54ec7535e2a24ee188b
refs/heads/master
2022-12-15T21:33:09.614322
2020-09-15T23:42:53
2020-09-15T23:42:53
295,867,212
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
class Node: def __init__(self, data): self.data = data self.next = None # A class to represent a queue # The queue, front stores the front node # of LL and rear stores the last node of LL class Queue: def __init__(self): self.front = self.rear = None def isEmpty(self): r...
[ "emailrohun@gmail.com" ]
emailrohun@gmail.com
9c5b71d7d9cb2e80ea971a626edf0ebc3538a0b6
63da7169cc5896a13bb0adb9cae8214f429ab377
/模块/datetime模块.py
ad8675597c6424cdf68507060c84d874436dc906
[]
no_license
StarvWd/Python
37ec676cfd9ba1338463e91125c62c6640d8e049
8c8c82ed956a8b6375a98453d361f9f0dfb32b9d
refs/heads/master
2020-12-01T16:19:19.614658
2020-02-25T04:25:17
2020-02-25T04:25:17
230,695,274
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
import datetime import time import calendar a = datetime.datetime.now() print(a) # 日期转星期函数 trans_weekday = lambda datastring:calendar.day_name[datetime.datetime.strptime(datastring, '%Y/%m/%d').weekday()] str = '2019/12/22' b = trans_weekday(str) print(b)
[ "l785655536@163.com" ]
l785655536@163.com
b9df64ecf6c998a4751b231993484ce5b837f39d
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2018/09/gender-turnout-20180921/graphic_config.py
cac7c7afe0eff34c3c389d01a7317c13de7e1ad1
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1TSfm6BAGeGcN6-clhig9CKt0hW0jVvyxehX9Ard05dg' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
fa3332729e6800356f03317bd11286ce0dc48d0d
4b69e2310e2147a302d99f8485b01f11702759ad
/ScrapingTwitter2.py
91a6582682d4b6d8e8109de030393807f2d759de
[]
no_license
guilhermealfred/EstudosPython
9d3c8697a43f08ae4f9ddc9a89d6a284d6f89aaf
55832d0fe157a337aa65661a7822d1a51a5d5223
refs/heads/master
2020-03-17T15:15:47.308914
2018-07-06T21:39:01
2018-07-06T21:39:01
133,703,877
0
0
null
null
null
null
UTF-8
Python
false
false
4,200
py
# -*- coding: utf-8 -*- from bs4 import BeautifulSoup as bs from tkinter import * from PIL import Image import urllib.request import os class scraping(object): def __init__(self): self.tela = Tk() self.tela.title('Scraping Twitter') self.tela.geometry('400x400+400+200') self.tela.resizable(False,False) self....
[ "noreply@github.com" ]
guilhermealfred.noreply@github.com
e6f786e878bd5df9b166ba7e66963ce750bd25de
738fa77629258bb81a1048fd595cc6937e1e1231
/screenshot_sampling.py
d44202a2627f44f58d852636adf7e37b311a4a3f
[ "MIT" ]
permissive
ahmedshingaly/sketch2shape
a24ac126202cd8ce9d5527ee3cdc84d1bfaf8bf3
128f83d760d215ec7fae35aeb1430512552f2b92
refs/heads/master
2022-12-17T11:25:30.983537
2020-09-18T02:03:18
2020-09-18T02:03:18
296,487,395
0
0
MIT
2020-09-18T01:58:47
2020-09-18T01:58:46
null
UTF-8
Python
false
false
2,871
py
from pyDOE import lhs import torch import numpy as np from utils.util_vtk import * from utils.util import * from utils.sketchify import sketchify from time import time #from sklearn.cluster import DBSCAN # def filter(voxels, threshold=0.5, distance=10, min_voxels=10): # filter_size = voxels > threshold # voxe...
[ "38009983+danhaive@users.noreply.github.com" ]
38009983+danhaive@users.noreply.github.com
05ad2df497ac7fab5459b1b1b3f38d06c6a3c071
d488007fd29194535f8f57359c9c398eab99e9c8
/src/python/fem/data/plot/__init__.py
f5439f2e7090a33926c1e615e19c1be410b636f1
[]
no_license
kvendingoldo/diploma
0df711455968ce0ffa4ceb948c4442acc5b34f65
f98455b53a003cbe878855ed80eff88fb8952c61
refs/heads/master
2018-09-17T04:26:27.860389
2018-06-13T20:53:08
2018-06-13T20:53:08
109,409,623
1
0
null
2018-02-13T19:10:27
2017-11-03T15:07:42
Python
UTF-8
Python
false
false
109
py
# -*- coding: utf-8 -*- # @Author: Alexander Sharov __all__ = ['poly_contour', 'contour_lines', 'tri_plot']
[ "kvendingoldo@yandex.ru" ]
kvendingoldo@yandex.ru
dda517535d004caebe20b1ae918bcb69b4d9bdee
b348a7931799a5ad689f5e49c76bd36f7243fddf
/mconfig/views.py
fa4fa0a4fe9306324388d8e1a6cefd6a5b529013
[]
no_license
pavel-lihanov/danfoss-mconfig
360968630e569c277d71cc288134ebcbe14ce5ca
be4a20ac50f2ad09e065f1afc504af314001925f
refs/heads/master
2021-01-11T12:36:28.110038
2017-08-21T07:58:22
2017-08-21T07:58:22
79,431,816
0
0
null
2017-02-10T06:29:59
2017-01-19T08:22:22
Python
UTF-8
Python
false
false
25,087
py
from django.shortcuts import render # Create your views here. from django.http import HttpResponse, HttpResponseNotFound, HttpResponseForbidden, HttpResponseRedirect, HttpResponseServerError from django.template import loader from django.utils.translation import activate, check_for_language, get_language from django...
[ "lihanov.pavel@danfoss.com" ]
lihanov.pavel@danfoss.com
816679062ae9e3989915f6117764fc65c743f6d4
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Introduction_to_finite_element_methods_Langtangen/src/Bernstein_vs_Lagrange.py
6b47a69e3aaed18a2ae693248c856d34f124e6fd
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
3,793
py
import sympy as sym import mpmath import numpy import pylab import time def lagrange_series(N): psi = [] # h = Rational(1, N) h = 1.0/N points = [i*h for i in range(N+1)] for i in range(len(points)): p = 1 for k in range(len(points)): if k != i: p *= (x - points[k])/(points[i] - poi...
[ "me@yomama.com" ]
me@yomama.com
272c6c339b4b5a793f6deff7f5757934c92d3bcf
d0758e0ca004226cec8ad8b26c9565c98534a8b8
/11-videogames/Julio/6 - Platformer/sprites.py
719d783fe930fcd1946f478b7914a188fa19f79e
[]
no_license
pythoncanarias/eoi
334d64a96afc76ac1fa10282378f291b6d8c94b3
349367254f85e3e4273cede067ca950913a1332c
refs/heads/master
2023-07-06T08:00:11.366345
2023-06-30T15:19:33
2023-06-30T15:19:33
222,742,870
26
19
null
2023-06-25T16:03:46
2019-11-19T16:41:25
Jupyter Notebook
UTF-8
Python
false
false
3,393
py
import pygame from settings import * from pygame import Vector2 import math class Wall(pygame.sprite.Sprite): def __init__(self, game, x, y): self.groups = game.all_sprites, game.walls pygame.sprite.Sprite.__init__(self, self.groups) self.game = game self.image = pygame....
[ "euribates@gmail.com" ]
euribates@gmail.com
da66a758dcca094777bc5f050eb1ed976073b47f
8bffdb34468cb49eeaf0445f990cc0b255569c54
/eco/reward/migrations/0002_delete_user.py
1078ce6d00040f34493b1642709046608e94a315
[]
no_license
newcountwhy/LP2T2X
e3ee2c997f0accec53aa64b9ad6a22368c2a400d
240bdafd3363c3d6e043f31af314c63b1d68dacc
refs/heads/main
2023-08-21T07:30:52.039978
2021-10-17T10:13:36
2021-10-17T10:13:36
417,551,820
2
0
null
2021-10-16T13:56:44
2021-10-15T15:38:32
null
UTF-8
Python
false
false
281
py
# Generated by Django 3.2.5 on 2021-09-29 08:55 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('reward', '0001_initial'), ] operations = [ migrations.DeleteModel( name='User', ), ]
[ "43769362+languede@users.noreply.github.com" ]
43769362+languede@users.noreply.github.com
7d63c73ee096cb4e3f0f87738cd039809681dc5c
a34ec07c3464369a88e68c9006fa1115f5b61e5f
/E_SlidingWindow/DynamicWindow/L0_340_Longest_Substring_With_At_Most_K_Distinct_Characters.py
510d6f33695a970c599943078378927e4fd0932a
[]
no_license
824zzy/Leetcode
9220f2fb13e03d601d2b471b5cfa0c2364dbdf41
93b7f4448a366a709214c271a570c3399f5fc4d3
refs/heads/master
2023-06-27T02:53:51.812177
2023-06-16T16:25:39
2023-06-16T16:25:39
69,733,624
14
3
null
2022-05-25T06:48:38
2016-10-01T10:56:07
Python
UTF-8
Python
false
false
625
py
""" https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters/ sliding window with hash table, the same as 159_Longest_Substring_with_At_Most_Two_Distinct_Characters_L0.py """ from header import * class Solution: def lengthOfLongestSubstringKDistinct(self, A: str, k: int) -> int: ...
[ "zhengyuan.zhu@mavs.uta.edu" ]
zhengyuan.zhu@mavs.uta.edu
f8a4dddf72723381900a15ec875ec3a622a4f17c
7b0942229eae38a52d2f5859743b56b99b056e87
/robotiq_2f_gripper/robotiq_2f_driver/bin/robotiq_2f_test
21bedfbd5245762a7a7c2315ab1ae4b0fc512a08
[ "BSD-3-Clause" ]
permissive
LasseNojgaard/rovi2
4b4a497ec37c741a235f1b330b410fcf488743aa
8e465d332c4226d0d764bab180508f57e26f36ba
refs/heads/master
2020-05-18T23:36:32.206489
2019-05-17T19:55:50
2019-05-17T19:55:50
184,712,439
0
0
null
null
null
null
UTF-8
Python
false
false
2,642
#!/usr/bin/env python """-------------------------------------------------------------------- COPYRIGHT 2014 Stanley Innovation Inc. Software License Agreement: The software supplied herewith by Stanley Innovation Inc. (the "Company") for its licensed Segway RMP Robotic Platforms is intended and supplied to you, th...
[ "emsee14@student.sdu.dk" ]
emsee14@student.sdu.dk
29a74d3341e4f6786e159bd446f6158eb9c58e09
1c91439673c898c2219ee63750ea05ff847faee1
/configs/hornet/hornet-base_8xb64_in1k.py
969d8b95b6ee1a06ecf257d162050982d4d5d698
[ "Apache-2.0" ]
permissive
ChenhongyiYang/GPViT
d7ba7f00d5139a989a999664ab0874c5c9d53d4d
2b8882b2da41d4e175fe49a33fcefad1423216f4
refs/heads/main
2023-06-08T00:10:07.319078
2023-05-26T15:52:54
2023-05-26T15:52:54
577,075,781
78
2
null
null
null
null
UTF-8
Python
false
false
412
py
_base_ = [ '../_base_/models/hornet/hornet-base.py', '../_base_/datasets/imagenet_bs64_swin_224.py', '../_base_/schedules/imagenet_bs1024_adamw_swin.py', '../_base_/default_runtime.py', ] data = dict(samples_per_gpu=64) optimizer = dict(lr=4e-3) optimizer_config = dict(grad_clip=dict(max_norm=5.0), _d...
[ "chenhongyiyang@Chenhongyis-MacBook-Pro.local" ]
chenhongyiyang@Chenhongyis-MacBook-Pro.local
fb016885c98e31f743de384920194f7cba194416
fe3fd4e56a30c1a3e0a6016d9597fbb1a47a5b37
/tests/test_silo.py
8bdba94a4c8fe43f60ba4d3b845e4bf04e62a105
[ "MIT" ]
permissive
digitalmensch/silo
dd9aaa53c2e03780ee258a560e5c0a390ce78947
69340d437c4663e09bd670f3d2e68f25d79ee538
refs/heads/master
2021-05-13T21:11:59.895074
2018-01-28T22:05:26
2018-01-28T22:05:26
116,457,041
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
import silo def test_functions_return_none(): assert silo.emergency('silo test message') == None assert silo.alert('silo test message') == None assert silo.critical('silo test message') == None assert silo.error('silo test message') == None assert silo.warning('silo test message') == None asser...
[ "tag@adnm.ch" ]
tag@adnm.ch
9fe712fa7614c5cc60c9c70ebeab89b54141cd00
b81668a2cc43654cf6a3ed952d781310876838f9
/venv/Lib/site-packages/spacy/tests/pipeline/test_senter.py
197fdca6e33cb73a580e8d4f491a3f5fc4fc1e4f
[]
no_license
gowthamr1999/docbot-1
6a8b873407f15035fb8b30b69ed66ded343bd1e4
3119958d68e95673b4c9187d58d8cad5c18a6b2c
refs/heads/master
2023-04-07T02:16:55.574750
2021-04-16T02:52:38
2021-04-16T02:52:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,598
py
import pytest from spacy import util from spacy.lang.en import English from spacy.language import Language from spacy.tests.util import make_tempdir def test_label_types(): nlp = Language() nlp.add_pipe(nlp.create_pipe("senter")) with pytest.raises(NotImplementedError): nlp.get_pipe("senter").add...
[ "42891786+kiranm211@users.noreply.github.com" ]
42891786+kiranm211@users.noreply.github.com
45cd2e6d141ba535bcd44646200fce9ddbbb7c68
c42738bac7b50bd17b6340ac7205cbb1a89a3466
/ft/ft/test_command.py
a765b480469bafabe11e1e2e36c9d52e150e2744
[ "MIT" ]
permissive
CristianCantoro/shell-functools
1f3a3ce41d367f3857773c06650510e62ccd5c72
e66dfc3c4c6c0fd236645dc79607279cb3a8bdca
refs/heads/master
2020-04-05T16:06:25.285179
2018-11-10T16:03:40
2018-11-12T17:42:57
156,997,043
0
0
MIT
2018-11-10T16:03:51
2018-11-10T16:03:51
null
UTF-8
Python
false
false
867
py
from ft.types import T_BOOL, T_INT, T_ARRAY, T_STRING from ft.internal import add_dynamic_type def test_add_dynamic_type_bool(): assert add_dynamic_type("True").fttype == T_BOOL assert add_dynamic_type("False").fttype == T_BOOL def test_add_dynamic_type_int(): assert add_dynamic_type("0").fttype == T_IN...
[ "davidpeter@web.de" ]
davidpeter@web.de
27c72d0ddebbeb2d39c09a34cf14adc3636ba2e7
286b6dc56323f982092ffafbfac8a32dbbaeb7ef
/training_assignments/Day_01/Nitesh_Mahajan/data_types_1.py
5b5bf6b902e1d78d86b94edd8e9c1c203423d387
[]
no_license
learndevops19/pythonTraining-CalsoftInc
ccee0d90aadc00bfdb17f9578620f6bf92f80a4c
c5f61516b835339b394876edd1c6f62e7cc6f0c3
refs/heads/master
2021-02-05T04:27:17.590913
2019-11-20T17:27:06
2019-11-20T17:27:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
#!usr/bin/env python def remove_odd_index(in_str): """ This function removes odd index values from a given string Args: in_str Returns: out_str """ out_str = in_str[::2] return out_str sample_input = "abcdef" output = remove_odd_index(sample_input) print(output)
[ "rajpratik71@gmail.com" ]
rajpratik71@gmail.com
9ec3cbeec5cb79876c7d51f3d726443586b0572e
ffb76b4ad5e73944a66c92f5409579463d254731
/kaplanmeier.py
44c268e54e332034caab299bcc6315ae7766f610
[]
no_license
RigautAntoine/pysurv
7323111fd1c84e0d951437580618969da65c9978
ab52372dcd35fc7b4238481d5bca95d4d5c20781
refs/heads/master
2020-04-05T16:44:27.108392
2018-12-01T22:29:06
2018-12-01T22:29:06
157,026,548
0
0
null
null
null
null
UTF-8
Python
false
false
5,156
py
import numpy as np import pandas as pd from matplotlib import pyplot as plt from .stats import inv_normal_cdf class KaplanMeier(): def __init__(self, events, durations, alpha=0.95, strata=None): self.kms = [] if strata is None: self.kms.append(KaplanMeierFitter(e...
[ "rigautantoine@hotmail.com" ]
rigautantoine@hotmail.com
d9c50d73fc5faceeff86d5196fd7fd518d312ee2
4b744cd2db31bb5f20149fcae11db0cb32e3205e
/BaconProd/Ntupler/python/myJetExtras_cff.py
8f9ed9cc802faecc05270a32b5d2be1e61480953
[]
no_license
violatingcp/Bacon
8efec5cda60fa47e224bcbd863ce834db4500d21
5438faf241823324c5bbb82fde48476d00b0bf48
refs/heads/master
2021-01-19T19:39:53.067166
2014-04-16T12:39:31
2014-04-16T12:39:31
17,031,122
0
1
null
2014-03-16T17:50:21
2014-02-20T18:39:24
C++
UTF-8
Python
false
false
5,467
py
import FWCore.ParameterSet.Config as cms #from RecoJets.Configuration.GenJetParticles_cff import * from RecoJets.Configuration.RecoGenJets_cff import ak5GenJets from RecoJets.JetProducers.ak5PFJetsPruned_cfi import ak5PFJetsPruned genParticlesForJets = cms.EDProducer("InputGenJetsParticleSelector", src = cms....
[ "violatingcp@gmail.com" ]
violatingcp@gmail.com
5e3e80a52bb9f2c8c05cdc9bbf0b88641f9f12d4
5d3fd5c0fa4ef35f008980ffb9741fddf1d5f9e4
/eqmgmt/equipment_management/doctype/equipment_type/equipment_type.py
b3628d88e47798e77d134ac67d528390d2bcb6b8
[ "MIT" ]
permissive
dgsol/eqmgmt
f911d027a60f1629d0898519f353a678869e8820
20074cfbfe1141a9fd0c016b4dcd60f090118abf
refs/heads/master
2020-03-17T21:07:02.607741
2018-05-18T11:16:35
2018-05-18T11:16:35
133,943,811
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
# -*- coding: utf-8 -*- # Copyright (c) 2018, DGSOL InfoTech and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class EquipmentType(Document): pass
[ "solankeejk@gmail.com" ]
solankeejk@gmail.com
37af63203540dfe11d36fe05d74694f05c6505f2
4ecf14e0bbe105958d83e5fad014a1cd014e669d
/testing/web-platform/tests/webdriver/tests/element_click/stale.py
d39e3a3ecb730d77e422d14c0b48fd931b9225cd
[ "W3C", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-w3c-03-bsd-license", "BSD-3-Clause" ]
permissive
fx-dev-playground/gecko
2c1a13a51f00645f8bfc35c9ec71a4d40b8c8dc2
889acebc871804214ab2579e434d7633e271e5cb
refs/heads/central_default
2023-01-27T11:13:44.498662
2018-01-16T21:43:19
2018-01-16T21:43:19
64,968,340
8
13
NOASSERTION
2023-01-11T07:47:54
2016-08-04T21:24:19
null
UTF-8
Python
false
false
647
py
import pytest import webdriver from tests.support.asserts import assert_error from tests.support.inline import inline def click_element(session, element): return session.transport.send( "POST", "/session/{session_id}/element/{element_id}/click".format(**{ "session_id": session.session_id, ...
[ "ato@sny.no" ]
ato@sny.no
f64cdc1ca92ae41695d57226a52b6a8cf4b72928
81016a0c04ccf7e0b112736b397d858cf5c3c6a9
/CA2/model_training.py
61eafd552b982faddb9d19ea281e488eea5287af
[]
no_license
nazaninsbr/NLP-UT
b22591bccc8f95c6d25e858874f9ea062f4404db
f73beb06906e82ce0602a73ed2723e91342041f5
refs/heads/master
2021-02-16T08:51:33.675516
2020-06-26T20:51:28
2020-06-26T20:51:28
244,982,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,449
py
from sklearn.model_selection import KFold import numpy as np from sklearn.naive_bayes import GaussianNB from sklearn.naive_bayes import MultinomialNB from sklearn.metrics import accuracy_score from sklearn.metrics import recall_score from sklearn.metrics import precision_score from sklearn.metrics import f1_score def ...
[ "nazanin.sabrii@gmail.com" ]
nazanin.sabrii@gmail.com
0c3cc9b7205ee130759da6020073ddcd46370b81
63eda25d7584f788a7ab1baaa37cd44b65cb2898
/7g.py
dfa6290737fea6125d5b24cc42274cffcf8ef602
[]
no_license
fox016/bioinformatics
c8e89af8466b4453f0fa8bff1adfd20e8db2dce3
2842ad8e59ab7e2d1d0aee96b4e75e113cf32e67
refs/heads/master
2021-06-01T13:28:19.695752
2019-10-28T15:59:15
2019-10-28T15:59:15
23,671,723
0
1
null
null
null
null
UTF-8
Python
false
false
2,406
py
#!/usr/bin/python """ This is a linear-time implementation developed by Karkkainen, Sanders, and Burkhardt. See http://www.cs.helsinki.fi/u/tpkarkka/publications/jacm05-revised.pdf The paper provides C++ code. The following Python source code is entirely my own. Author - Nathan Fox """ text = [line[:-2] for line in ...
[ "nfox@byu.edu" ]
nfox@byu.edu
3d31399de0ecd29befc8598347e3e856fceae0ec
34fafe0ce4a28a0b2ace024858868ed030d5e432
/CalibNtuplizer/test/prod/crabConfig_stop2000.py
fdd4440ab11bd5d36a6aa01fd136944e72dbd8f3
[ "CC-BY-4.0" ]
permissive
CMS-HSCP/SUSYBSMAnalysis-HSCP
d40fe64ece600fc0909a2c32eb07b4204784948c
809271e1dacc98d34992561b5fcb502c01cc1172
refs/heads/master
2023-07-25T00:46:38.870643
2023-07-11T20:25:12
2023-07-11T20:25:12
164,119,298
3
16
null
2023-07-11T20:25:14
2019-01-04T14:47:05
Python
UTF-8
Python
false
false
1,897
py
from WMCore.Configuration import Configuration # More details here: https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookCRAB3Tutorial config = Configuration() config.section_('General') config.General.requestName = 'stop2000' #config.General.workArea = '.' #config.General.instance = 'private' config.General.transf...
[ "Tamas.Almos.Vami@cern.ch" ]
Tamas.Almos.Vami@cern.ch
d1ed5ee506bd7388368e8adade60db60845253f4
ca97bfb2a22c6197cab8f304ef82f6e5a326afdb
/dask/bytes/hdfs.py
d46a86fe63f2c08e7362289eca23eefac548f5e5
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
josephlin55555/dask
0aca36287ed1d190c25b3ee486ded797be266064
8c6f4792105d7f31cdf62553828e57df94c102f3
refs/heads/master
2021-09-06T05:02:12.972728
2018-02-01T22:04:41
2018-02-01T22:04:41
119,901,242
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
from __future__ import print_function, division, absolute_import from ..base import tokenize from .core import _filesystems from hdfs3.core import HDFileSystem class DaskHDFS3FileSystem(HDFileSystem): sep = '/' def mkdirs(self, path): return super(DaskHDFS3FileSystem, self).makedirs(path) def ...
[ "noreply@github.com" ]
josephlin55555.noreply@github.com
4b542cd32cc70bf3f5ff5416537b6f3b31024d43
b2f8e6b48ed4f6b83a4ac46a2d2697ef1c780ae3
/apps/scenicspots/urls.py
5c56773f35bdfe35f8154f6f9d97032bada4923c
[]
no_license
duanlei123/WorldTravel
2355694bd49b0e53d0f521a75de7a9467172343c
abf10ee41fb6c116c17fc1d0c8380282676f566e
refs/heads/master
2020-08-30T21:49:54.033596
2019-10-30T10:05:20
2019-10-30T10:05:20
218,496,168
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from django.urls import path, re_path,include from .views import * urlpatterns = [ path('all', ScenicListView.as_view(), name='all'), # 景点详情 path('scenic_detail/<int:scenic_id>/', ScenicDetails.as_view(), name='scenic_detail'), # 旅游订单详情 # path('order_detail/<slug:order_num>/', OrderDetailsView.as_v...
[ "wb-dl321273@autonavi.com" ]
wb-dl321273@autonavi.com
4e8e226de3b8718e680e59f54b9b3d2413ba4aa9
bc1abe026115cf84bdf5bdd5f60bb6cf3fb409ee
/BettingSheets/admin.py
04552b6e819b039a59ebb8242ce357c1a2044552
[]
no_license
um-eece-4081/2019-sports-pool
c434c6c0baf972f5d4c94f86caa4dceaf6a98944
2a9d2a8ea02066c79e96d086dff2ebf2aa4ff99f
refs/heads/master
2020-08-03T11:13:09.688434
2019-11-24T10:50:07
2019-11-24T10:50:07
211,731,030
1
5
null
2019-11-09T21:29:29
2019-09-29T21:52:56
Python
UTF-8
Python
false
false
2,558
py
from django.contrib import admin from django.http import HttpResponse, HttpResponseRedirect from .models import MasterBettingSheet, Game # Register your models here. admin.site.site_header = 'Manage Betting Sheets' class GameAdmin(admin.TabularInline): ... change_form_template = 'admin/game_change_form.html...
[ "tbwllace@memphis.edu" ]
tbwllace@memphis.edu
3a95eb348b32c464d004d4156754aa7ab5e6a689
6aa8de83a51532b978c87e46b800acdab652d633
/src/python/review/inspectors/parsers/checkstyle_parser.py
9cf75acbd5b74cd2586497a50b18c4d9a9fca531
[ "Apache-2.0", "LGPL-2.0-only", "LGPL-2.1-only" ]
permissive
nihalshetty-boop/hyperstyle
ea2e791ee00ab904a19b9cc6a233f06afaaa9bc0
9a6d53cd1ca220d97d296c0087056b5885b26281
refs/heads/main
2023-07-01T06:00:26.355034
2021-07-26T13:02:17
2021-07-26T13:02:17
391,957,024
0
0
Apache-2.0
2021-08-02T13:20:21
2021-08-02T13:20:21
null
UTF-8
Python
false
false
4,680
py
import logging import re from pathlib import Path from typing import Callable, Dict, List, Any, Optional from xml.etree import ElementTree from src.python.review.common.file_system import get_content_from_file from src.python.review.inspectors.inspector_type import InspectorType from src.python.review.inspectors.issue...
[ "noreply@github.com" ]
nihalshetty-boop.noreply@github.com
b53242e5e42a9427edde8d26c9ad3d4f95f7cafa
e550562e543637a774d484d450471a16361cab28
/3_scripts/python/p8_zonacensal.py
5e94d46e07fbe2d0ef957940fd17efb1c88c5039
[]
no_license
jdaniel14/GRPIAA-LOAD-OSM
cc1d18345f7745e4312e88de7ba9759803ccfe0f
64b01c0224620cbb626b5d9094d73a248234480c
refs/heads/master
2021-01-10T08:59:49.618147
2015-12-22T18:08:42
2015-12-22T18:08:42
48,446,651
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
import csv import sys from bs4 import BeautifulSoup import urllib2 from itertools import izip path_file_job1 = "3_scripts/input/i9_zonascensales.csv" path_file_out = "3_scripts/output/o9_zonascensales.csv" file_out = open(path_file_out, "wb") file_out.write("id|dpto|prov|dist|nombre|length|area|geom\n") with op...
[ "jkliose14@gmail.com" ]
jkliose14@gmail.com
9a577a33d19a23deb0ff0126e7dcbc7223c2a860
a882591ff55815e9e18ea9cdc2de99d3b232e520
/html.py
12ef46ab94483458a0ef81bfd05f5e4dc665a078
[ "MIT" ]
permissive
Real-Currents/d3MapRenderer
8cfa35da1be8fc11b9f9f7548399c37dfeb1e747
aa3733f2cc0e52ca70b93bc55d5f8f7059b73e31
refs/heads/master
2020-04-08T17:04:17.983769
2017-11-26T20:32:39
2017-11-26T20:32:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,102
py
import codecs import os from models import model from logger import log class index(object): """Class for formatting the index html file for the map""" def __init__(self): """Format the index file with scripts for the viz""" self.__logger = log(self.__class__.__name__) self.model ...
[ "swbenten@gmail.com" ]
swbenten@gmail.com
d055365495c81ad395fddc53315ffaa1d0e69a04
6e2932f49fd0be248c6c57f17921389d123722d9
/image_processing_package/setup.py
c05e3b35867fd9e8b9e50c3a24ba81cbb6a1432f
[]
no_license
jonlegarda/robotics
594b1c992f5aa2bc263b6db38d6a2093b0b2ae3f
0784d22cd03ec752d05de0f348eafde4419d3724
refs/heads/master
2020-03-28T09:14:48.845716
2018-12-01T10:37:12
2018-12-01T10:37:12
148,021,613
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup setup_args = generate_distutils_setup( packages=['image_processing_package'], package_dir={'': 'src'}) setup(**setup_args)
[ "jonlegarda002@gmail.com" ]
jonlegarda002@gmail.com
2bf4d548eaef38895b555f1cf41959aece16c16a
ed187b7f3773ebdab2d9a1ce2db7691741a179e4
/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/data_preprocessing_template.py
6926ff6f8ac8aaff8ae878192f2435b78368e558
[]
no_license
harveen54/Machine-Learning-A-Z
31595e76daf27501d11e615f1c1bad37e84014a2
39efe55a643479d23e049d1437e2496721650961
refs/heads/master
2020-03-07T18:41:08.367590
2018-04-09T20:54:42
2018-04-09T20:54:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
# Data Preprocessing Template # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Data.csv') #import all the features in X matrix X = dataset.iloc[:, :-1].values #import the final to be predicted in Y vector y = dataset.iloc[:...
[ "harveensinghchadha@infosys.com" ]
harveensinghchadha@infosys.com
9c20a4fbafe875127b240f8b78fc0fd722d7556c
c6f93a9f7537cb25485973bb7c1ee0994b27f58a
/application.py
91f19a6476bc946635d717995d2469fd344b44dc
[]
no_license
dataviztools/Tableau-Parameter-Comments
8e2324ef9975261b2eeb72f2a205de498f0f34f3
90c8a6b21cb435ae804f86a72f16f15d395d9a05
refs/heads/master
2020-03-09T08:34:13.863813
2018-04-09T00:21:06
2018-04-09T00:21:06
128,692,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,322
py
import psycopg2 from flask import Flask, request application = Flask(__name__) application.secret_key = 'badpassword123' class Database(object): @staticmethod def update(state, comment): client = psycopg2.connect(database='databasename', user='userid', ...
[ "samuel.n.plant@gmail.com" ]
samuel.n.plant@gmail.com
1570e1e45340851da56b2053bd79fd78927ca257
31a766fcae3779b05796534c354286083502f74a
/python/onshape_client/models/bt_export_model_body.py
c6e2da616f27a337f903764c80b53d790952c065
[]
no_license
nychang/onshape-clients
5ea21e73a05948f5e232d4851eb8ae8a6b8c75c8
9c97baae57f80e3922726443584e4cc50b99623f
refs/heads/master
2020-05-06T20:35:28.212953
2019-04-05T20:38:19
2019-04-05T20:38:19
180,243,972
0
0
null
2019-04-08T22:43:59
2019-04-08T22:43:59
null
UTF-8
Python
false
false
9,014
py
# coding: utf-8 """ Onshape REST API The Onshape REST API consumed by all clients. # noqa: E501 OpenAPI spec version: 1.96 Contact: api-support@onshape.zendesk.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class BTExportModelBody(objec...
[ "ethan.keller@gmail.com" ]
ethan.keller@gmail.com
7cca72ca665a108a610764e33fd1235916e847bf
68e9222d83acbccb9badbf7d962b11630106a835
/cfg/synthesize.py
5eaf8e66ad7ab85658fda027120310c329852b65
[]
no_license
luwi1993/dctts_docker
288511800f0e9cfe9e81bb57836e8164d2f38819
042f1ca6c17b156f48d43d31796c8a2763b4e177
refs/heads/master
2023-02-13T05:24:48.818567
2021-01-07T07:56:57
2021-01-07T07:56:57
296,009,615
0
0
null
2020-10-03T10:13:27
2020-09-16T11:15:30
Python
UTF-8
Python
false
false
3,887
py
# -*- coding: utf-8 -*- # /usr/bin/python2 ''' By kyubyong park. kbpark.linguist@gmail.com. https://www.github.com/kyubyong/dc_tts ''' from __future__ import print_function import os from hyperparams import Hyperparams as hp import numpy as np import tensorflow as tf from train import Graph from utils import * from ...
[ "luwid102@uni-duesseldorf.de" ]
luwid102@uni-duesseldorf.de
f78b783c30c351d99042c713cc51e3bb302a4d3c
6fac29fba9c10f4ac3fad19a95c2bacae72892d6
/request/sync_request.py
b8c841e3f14c4d403342f6d0094e3ae8ba5b373c
[]
no_license
TauWu/common-py
2496472e82f3517c1eb96dce56b5a8fff64445fa
b595c3abf33585810af76b33ce718cdc636532d6
refs/heads/master
2020-05-07T08:55:57.236297
2019-09-01T09:19:58
2019-09-01T09:19:58
180,353,371
2
0
null
null
null
null
UTF-8
Python
false
false
500
py
# -*- coding: utf-8 -*- from requests import get class SyncRequestBase(object): def __init__(self, url_list, headers=None): self._url_dict = {url:None for url in url_list} self._url_list = url_list self._headers = headers @property def result(self): [self.get_content(url) ...
[ "tauwoo@seuxw.cc" ]
tauwoo@seuxw.cc
0ad541f519c3c3caec0c532915c566ffb73ac107
71ed4eabc319e5fd6102a26c13e6a3970dd32ed0
/frontpage/models.py
bd3354a2ca5834786708b2e49b082ce75b122058
[ "MIT" ]
permissive
SkyVault/WorkingOn
ad972371a480f439be3c26f4c8ca858ad638c2f7
1ea37bd482dc2ef571bcc67ef563d13799dd8ccb
refs/heads/master
2020-06-06T15:06:53.271912
2019-09-23T19:13:12
2019-09-23T19:13:12
165,898,680
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
from django.db import models from django.utils import timezone # User authors posts and projects from django.contrib.auth.models import User """ NOTE: to access all projects for a certain user user = User.objects.get(username='<username>') user.project_set NOTE: to get the User model from django.contrib.auth.models...
[ "dustinneumann42@gmail.com" ]
dustinneumann42@gmail.com
53358d6f4012535641bd36471e0cd2762cd983e7
76dfe9dc71ef2f807ee8b360e73a1455d91346cc
/hw2/Code/hw2_ex21.py
694a1c4e2922c3ff86b359f2d6e7b27bab7566c2
[]
no_license
akswart/phys416code
8231b0722eb98c0716aa3af69b7eb513234abed3
49383c578c4b18a7e0832e1056be47b1c28ca978
refs/heads/master
2020-12-22T12:35:07.115403
2020-05-06T19:37:43
2020-05-06T19:37:43
236,782,252
0
0
null
null
null
null
UTF-8
Python
false
false
3,943
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 5 11:55:57 2020 @author: akswa """ # Program to compute the motion of a Kapitza’s pendulum # using the Verlet method import numpy as np import matplotlib.pyplot as plt from scipy.special import ellipk def period_pend(theta0,g_over_L): # function to return the exact...
[ "akswart@gmail.com" ]
akswart@gmail.com
3e0b2d2e7e8bc8656ec8dff9559ff4dd1bdb5ebb
c08b5edb5075e7840e716b0a09006dae0a4d05ac
/.history/Missions_to_Mars/scrape_mars_20200809232616.py
948f62b0d1894d482d3efeeb8cf7fb3180ac81b3
[]
no_license
OlgaDlzk/web-scraping-challenge-1
06f915eb76c55c9bc37889017dd9af81122dc1a5
f99c3436dfb0169595c46dae7733d90e21385cc6
refs/heads/master
2023-03-18T00:58:37.928024
2020-09-22T20:32:47
2020-09-22T20:32:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,704
py
from splinter import Browser from bs4 import BeautifulSoup as bs import pandas as pd import time import re # This is for debugging def savetofile(contents): file = open('_temporary.txt',"w",encoding="utf-8") file.write(contents) file.close() def scrape(): executable_path = {"executable_path": "chrom...
[ "ermiasgelaye@gmail.com" ]
ermiasgelaye@gmail.com
d819ff360d32372dfa26529212cc11c5b24fa935
5ea32a391b79a326ba6f0165f86d8b274856f4df
/scripts/TouchinBuild/CommandBuilders/PatchCsprojCommandBuilder.py
5c04b90629f392fa302c2c4c964d34ce21e3bee3
[]
no_license
TouchInstinct/BuildScript
b9a78afdebce45e508204b8ad1c7a57bd356c23d
5da1a6efa0f10c242dfee61335cdf38466e24dd4
refs/heads/master
2021-01-23T11:19:58.591859
2014-06-02T16:11:19
2014-06-02T16:11:19
12,847,134
1
0
null
null
null
null
UTF-8
Python
false
false
699
py
from commands.PatchCsprojCommand import PatchCsprojCommand from parsers.InsideParser.InsideCsprojSetParser import InsideCsprojSetParser class PatchCsprojCommandBuilder: def __init__(self): pass def getCommandFor(self, line): assert line is not None parser = self.getParser() result = parser.parseLine(line)...
[ "r-zaitov@yandex.ru" ]
r-zaitov@yandex.ru
3b9bdcdb0022cef882418f1278022da511ee8e02
c6735c5825991f6421b09e8997dac0397ea581c9
/unittests/Reflection/RemoteMirrorInterop/test.py
6bda70ddc35bfdffe9fe4a69a1c8ab070a1311a3
[ "Apache-2.0", "Swift-exception" ]
permissive
TAIPANBOX/swift
6b5ff6a9e8032bef746579914c4999c8ff31540c
48e48f22fe59b0aa7a782b01d8df4e4414e12a52
refs/heads/master
2020-04-20T22:08:36.980111
2019-02-04T18:32:55
2019-02-04T18:32:55
169,129,762
3
0
Apache-2.0
2019-02-04T18:49:44
2019-02-04T18:49:43
null
UTF-8
Python
false
false
2,283
py
#!/usr/bin/env python # Exercise the SwiftRemoteMirrorLegacyInterop API. This works with # multiple versions of Swift. It builds Swift code using all versions, # and exercises the Interop API using various combinations of those # versions' Remote Mirror libraries. # # Invoke by passing the various Swift build director...
[ "mikeash@apple.com" ]
mikeash@apple.com