blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
c888173f3d93ababea558cd4c89a25e95250acb2
1415c307eb6e3d0208a8179eda453f35b2597f7b
/Activity_09.py
a85a0cded98eaf6430aa4df445d451e66abd32ce
[]
no_license
TheGriffalo/PiBeg
4d718f223cc3bb2f3e8f98e3c7def6ad0be349b3
0821f4c9018d137491d04ddbb48e3f59feec3541
refs/heads/master
2023-03-02T13:58:37.731634
2021-01-23T15:09:31
2021-01-23T15:09:31
332,238,024
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
import RPi.GPIO as GPIO import time PIR_PIN = 4 BLUE_LED_PIN = 27 GPIO.setmode(GPIO.BCM) GPIO.setup(PIR_PIN, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) GPIO.setup(BLUE_LED_PIN, GPIO.OUT) GPIO.output(BLUE_LED_PIN, GPIO.LOW) try: while True: time.sleep(0.1) if (GPIO.input(PIR_PIN)) == GPIO.HIGH: ...
[ "paul@griffin.me.uk" ]
paul@griffin.me.uk
52b4492f841e057e6970e487e2fd4ca1de28bc1c
1332451ecccb9711cad0d516add3d11071a38b80
/TraningDay5_Barchart.py
8508608642b1bc502d90ce3eb372b2f8bd6dbbd5
[]
no_license
roselinetuly/Python
b5d17cec7e382396bed0b5f8460211146ea3fdf8
f548a1117ed9e0497c5a238038407e0eccee0480
refs/heads/master
2022-11-19T06:12:46.088452
2020-07-16T10:17:32
2020-07-16T10:17:32
277,737,325
0
0
null
null
null
null
UTF-8
Python
false
false
2,584
py
import numpy as np import matplotlib.pyplot as plt # # # sales_person = ['Apple', 'Orange', 'Watermelon', 'Mango', 'Lichi', 'Grapes'] # sales = [10000, 8000, 9000, 4000, 5000, 20000] # # # total_bar = np.arange(len(sales_person)) # # # color = ['red', 'green', 'yellow', 'blue', 'orange', 'black'] # plt.barh(total_bar, ...
[ "roseline.tuly@gmail.com" ]
roseline.tuly@gmail.com
17c0559b0457907a1e73225e13128fc0575b7451
53164813be4f539d65ef985da732d1890eb91693
/company/serializers.py
c7f078274e8118c7d9a997dd41d14a109aaeade3
[]
no_license
surajmondal1003/erp_tribeni
8ea3e19d3afcdeed6e0114de61ba086043d98303
1972e7a18853a30ac85c6fa0487fed9dbcef4381
refs/heads/master
2020-03-19T09:51:34.780672
2018-06-29T09:04:25
2018-06-29T09:04:25
136,322,677
0
0
null
null
null
null
UTF-8
Python
false
false
2,474
py
from company.models import Company,TermsandConditon from states.models import State from rest_framework import serializers from rest_framework.serializers import ModelSerializer from rest_framework.validators import UniqueValidator class ChildrenSerializer(serializers.Serializer): def to_representation(self, val...
[ "surajmondal1003@gmail.com" ]
surajmondal1003@gmail.com
8264f890fee989ce22cf1d6934ed4406a630babc
9de625873e7b48d1af90c9a7e4fb1011683d83a8
/covid/views.py
80ac7bcaa2fd230b6b6185b582abbb304e47032b
[]
no_license
Themichaelreimer/mortality_visualized
01e52fb2164093dc77e7db312ba6419cab033f33
3cd3d081fef643638a9918131c8d8dc9c72ace89
refs/heads/master
2023-06-15T08:00:50.337096
2021-07-12T04:11:25
2021-07-12T04:11:25
326,056,878
1
0
null
null
null
null
UTF-8
Python
false
false
960
py
from django.shortcuts import render from django.http import JsonResponse import covid.business as business def get_cases(request) -> JsonResponse: body = request.POST region_name = body.get('region') parent = body.get('country') if parent and not region_name: region_name = parent pa...
[ "themichaelreimer" ]
themichaelreimer
2466c615d857f35515e0a3076f6ba722fcb3a92a
ccc659771716f20233289d80970787875d031fb1
/kiem_nghiem/models.py
6ee8a1bdc223f6c9dd12b77511e28062da3727c8
[ "MIT" ]
permissive
alibaba1233456789/hieu_nguyen123
766113877db0333ed70f0c380e698b4c036ff053
19728f33eae02cfdaa4d9190d9d3053d4267b992
refs/heads/main
2023-04-16T15:58:17.215149
2021-05-02T10:14:34
2021-05-02T10:14:34
351,770,917
0
0
null
null
null
null
UTF-8
Python
false
false
5,651
py
from django.db import models from django.urls import reverse from datetime import date, datetime from django.utils import timezone from django.contrib.auth.models import User from django.template.defaultfilters import slugify #------------------------ class Level0(models.Model): tieu_de_chinh = models.CharField(max...
[ "hieunguyen@MacBook-Air-cua-HieuNguyen.local" ]
hieunguyen@MacBook-Air-cua-HieuNguyen.local
483528479b1eb2f3864cc5044c74917a19c92d29
4400bf20e72238b8c66bee4c4429d79dddad821f
/bucketlist_application/wsgi.py
09fad0b35529efe831d158ab7a2f84b67ba1e04b
[]
no_license
malikwahab/bucketlist-django-application
4ffc8d92a2c7e347304fc66cd3364a4b89825c22
f287b9f1b8cb6987578edcb13894bcaddbad6c64
refs/heads/master
2021-06-06T06:37:26.597087
2016-09-13T07:32:22
2016-09-13T07:32:22
63,883,107
1
1
null
null
null
null
UTF-8
Python
false
false
419
py
""" WSGI config for bucketlist_application 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.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bucketlist_application....
[ "abdulmalik.abdulwahab@andela.com" ]
abdulmalik.abdulwahab@andela.com
a6abacfc9321ad09afffc9432695b4d237820cb0
f95d2646f8428cceed98681f8ed2407d4f044941
/AI/day03/ai01.py
63d018d7e9fa8009a76ae0d7321bc2a6daf4214c
[]
no_license
q2806060/python-note
014e1458dcfa896f2749c7ebce68b2bbe31a3bf8
fbe107d668b44b78ae0094dbcc7e8ff8a4f8c983
refs/heads/master
2020-08-18T01:12:31.227654
2019-10-17T07:40:40
2019-10-17T07:40:40
215,731,114
1
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
import sklearn.tree as st import sklearn.ensemble as se import numpy as np import sklearn.utils as su import sklearn.metrics as sm import matplotlib.pyplot as mp data = np.loadtxt('C:\\Users\\Administrator\\Desktop\\sucai\\ml_data\\bike_day.csv', delimiter=',', unpack=False, dtype='U20') # 获取输入集与输出集 header ...
[ "C8916BA958F57D5A740E38E94644A3F8@i-search.com.cn" ]
C8916BA958F57D5A740E38E94644A3F8@i-search.com.cn
0a084443447da74284265f86de19b672f8de931b
e919108a795f1e366b8f204b606fda80fa19bf24
/core/utils/time_helpers.py
28768f08841b99f15346cee52a0b2448a2a18b8f
[]
no_license
hello/hello-admin
b903356be2460c5d7d9951beeb3cab9bffbbb3ea
44a274372d72416d7f7f95d76b6882ca3b4baff7
refs/heads/master
2021-03-24T13:20:33.055620
2017-03-02T21:54:08
2017-03-02T21:54:08
20,493,003
2
0
null
null
null
null
UTF-8
Python
false
false
1,512
py
import calendar from datetime import datetime import time from core.utils.common import utc_timezone, pacific_timezone def iso_to_utc_timestamp(iso_time): """ :param iso_time: a time string in ISO8601 format, e.g.: '2007-03-04T21:08:12' :type iso_time: str :return utc time in milliseconds """ ...
[ "izzy3ds@gmail.com" ]
izzy3ds@gmail.com
f7376b094c1871a95636b452916966ac3c5f64f7
d5c75217d17162b720c58834f73b18558101b4db
/bbox_evaluation.py
05c4d794d39cded4d2359bcba5bcdc8e52bc8be5
[]
no_license
sulabh-shr/self-supervised
2393b5ed409a0f38f6902a056fd52c9aeeccb41a
2ba630ffe0f651eef4f680df4ef375f4f3d2586c
refs/heads/master
2020-08-11T03:55:21.155820
2019-12-05T05:36:48
2019-12-05T05:36:48
214,485,960
0
0
null
null
null
null
UTF-8
Python
false
false
5,680
py
import os import json import torch from collections import defaultdict from tqdm import tqdm import pickle class BboxEvaluator: SCENES = ['Home_001_1', 'Home_001_2', 'Home_002_1', 'Home_003_1', 'Home_003_2', 'Home_004_1', 'Home_004_2', 'Home_005_1', 'Home_005_2', 'Home_006_1', 'Home_007...
[ "sulabh.shr@gmail.com" ]
sulabh.shr@gmail.com
be36d91869d7f47867f3e6f0cfe905023b539680
451323d4ce7ce2c8b3961d34b3fba73de7fee70f
/BinarySequenceGenerate.py
c0af6c9e25514eacc5c16ac6b4e3d20cae817724
[]
no_license
ahorjia/MiscPython
225a6b71b0377987d767dd95c1f704a4edd0397a
0718c1572636bf4f139c813e797a3dbc096d1a47
refs/heads/master
2020-12-24T16:06:39.671519
2016-03-12T09:31:50
2016-03-12T09:31:50
22,001,811
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
import sys def BinarySequenceGenerate(lst, maxCount) : if len(lst) >= maxCount : for item in lst : sys.stdout.write(str(item)) print else : lst0 = lst[:] lst0.insert(0, 0) BinarySequenceGenerate(lst0, maxCount) lst1 = lst[:] lst1.insert(0, 1) BinarySequenceGenerat...
[ "ali.ghorbani@gmail.com" ]
ali.ghorbani@gmail.com
e88204a6e188cc3a305635de27d183145bfc4181
ff8f4cc2e7194d771bb48756a46042771c0f320f
/levelupapi/views/event.py
bc492442ace52509133a90795ce604a6e33d7ca1
[]
no_license
jshearon/level-up-server
0ada93ffa203aebca031542da118b514519625e1
a73030f88a466e743afb5ab4535faf1f4ca29e81
refs/heads/main
2023-02-28T16:20:53.647195
2021-02-06T19:01:20
2021-02-06T19:01:20
314,851,317
0
0
null
2021-01-30T18:56:03
2020-11-21T16:12:32
Python
UTF-8
Python
false
false
6,575
py
"""View module for handling requests about events""" from django.contrib.auth.models import User from django.core.exceptions import ValidationError from django.http import HttpResponseServerError from rest_framework import status from rest_framework.decorators import action from rest_framework.viewsets import ViewSet f...
[ "jonathan.shearon@gmail.com" ]
jonathan.shearon@gmail.com
42b12cbc80e2d000ac3ad60e911e8bf6e056e8eb
6fa2b842a8c78d86e75bbe17e7a1b649efb986c0
/FINN/arm.py
b308239ba627c418bd89379b045117310baf5563
[]
no_license
samridhprasad/Design-Project
606e1b684842c2bbd4ea26845be01ad6c2077ff7
1c7b77e06915489573cd947db8f099dde9978937
refs/heads/master
2021-01-19T09:36:51.772188
2017-02-16T02:31:48
2017-02-16T02:31:48
82,129,434
0
0
null
null
null
null
UTF-8
Python
false
false
6,621
py
#!/usr/bin/env python # coding: Latin-1 # Loading the library functions required import time import os import sys import pygame import PicoBorgRev import usb.core import usb.util import cwiid print 'Make sure the arm is ready to go.' print '' Armc = 1750 Arm = None # Establishing connection with the arm while (Arm ...
[ "sp3253@drexel.edu" ]
sp3253@drexel.edu
1483beca4170e7551b76cfd355519b567c1522fb
7971b4b74fc71045674455bb8161b9a9de31d1ef
/.history/py_20191101145305.py
57ad12815b24c2df58e1540d99e86afbbf8259aa
[]
no_license
TDysart1/python-practice
5a8acb0d91b1dc419049f6087e09cf6005aefde9
e9418dc22e0ffd94a86d78060595aa5dfd7851b2
refs/heads/master
2020-09-02T12:51:12.260390
2019-11-02T23:16:26
2019-11-02T23:16:26
219,225,753
0
0
null
null
null
null
UTF-8
Python
false
false
7,082
py
# simple Pig latin transformer # pyg = 'ay' # original = input('Enter a word: ') # if(len(original) > 0 and original.isalpha()): # word = original # first = word[0] # newWord = word + first + pyg # newWord = newWord[1:len(newWord)] # print(newWord) # else: # print('empty') # Guess the number # ...
[ "tierandysart@gmail.com" ]
tierandysart@gmail.com
ed34f5a1992dc92768d5c72071118192afc81a60
58f095f52d58afa9e8041c69fa903c5a9e4fa424
/examples/test_dejong3.py
7278675f06b5173756538e602b0627bca01a6010
[ "BSD-3-Clause" ]
permissive
cdeil/mystic
e41b397e9113aee1843bc78b5b4ca30bd0168114
bb30994987f36168b8f09431cb9c3823afd892cd
refs/heads/master
2020-12-25T23:18:52.086894
2014-08-13T14:36:09
2014-08-13T14:36:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,742
py
#!/usr/bin/env python # # Author: Patrick Hung (patrickh @caltech) # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 1997-2014 California Institute of Technology. # License: 3-clause BSD. The full license text is available at: # - http://trac.mystic.cacr.caltech.edu/project/mystic/browser/m...
[ "mmckerns@968178ea-60bd-409e-af13-df8a517b6005" ]
mmckerns@968178ea-60bd-409e-af13-df8a517b6005
ff26f0fd621db9f8fffb377c3769c7f0e6d6ab4e
50144ef18e5e4a6b71e9cd119e133c5a81b90fd3
/ros2/src/jarvis_core/setup.py
c8c4fcde4bf9c80f3eb292e3a617329b9dbf6f92
[ "MIT" ]
permissive
lxsang/jarvis
2deafd340632b97fd48e41ebd53c259bafa31c4b
3d3045bf218afffeda7abd995f197ff7d0d5ac12
refs/heads/master
2023-02-27T13:12:09.919142
2021-02-03T17:18:30
2021-02-03T17:18:30
303,754,999
2
0
null
2020-12-12T17:13:30
2020-10-13T15:55:53
null
UTF-8
Python
false
false
1,186
py
from setuptools import setup package_name = 'jarvis_core' setup( name=package_name, version='0.0.0', packages=[package_name], data_files=[ ('share/ament_index/resource_index/packages', ['resource/' + package_name]), ('share/' + package_name, ['package.xml']), ('shar...
[ "xsang.le@gmail.com" ]
xsang.le@gmail.com
d7fd85dcb22795bc5b355d57accac43d35b1e6b2
290dfba092f9f88eb62e1b37ea290f01f836acd7
/methylation/bicluster_analysis/run_hmf_mtf_store_matrices.py
5760d111f9af9bad3f5077e6aed7ebc95ebff383
[]
no_license
rintukutum/HMF
fb1ce6f76064bef6b9a6fd5cfeaccd16cf624cd6
87c1bc73ddc375c56ab101185d7fc1b98df1c1ba
refs/heads/master
2020-04-04T10:17:11.722275
2018-06-10T10:21:36
2018-06-10T10:21:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,482
py
""" Run the HMF D-MTF method on the methylation datasets, and store the expectation of the factor matrices F, Sn. """ import sys, os project_location = os.path.dirname(__file__)+"/../../../" sys.path.append(project_location) from HMF.code.models.hmf_Gibbs import HMF_Gibbs from HMF.methylation.load_methylation import ...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
e9598693992af1faa3712ec786ac81ed54708616
e145666eb6534a61843ff6d64532e3017c477b3c
/setup.py
53a95ab41b72fbb1ee036d2c8127ca4a5c1b7ebe
[]
no_license
xzased/pyomapi
bea0f9928a7e4ed55129ba18e1d2b11d929eb4e7
f63ee51230b570e8900288f368ab6d248e8c631e
refs/heads/master
2021-04-27T10:04:04.352101
2018-03-05T16:58:03
2018-03-05T16:59:19
122,529,099
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
# Copyright 2018 Ruben Quinones (ruben.quinones@rackspace.com) # 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-...
[ "ruben.quinones@rackspace.com" ]
ruben.quinones@rackspace.com
7675a9bb5288196b09f6def3f4bf95953af151c1
c2a892b2ab87897e648d141500d04d4024a89252
/mlpipe/dsl/processors.py
c486edcd695ed1b6dd7f34c7a69869f779c255b0
[]
no_license
robie2011/mlpipe
52e01002ecdb8553e83dc54d582df2bdefd42892
d6b0c803535c07afc389749c5833e43f58e9deeb
refs/heads/master
2021-07-13T04:19:42.618649
2020-03-30T16:09:14
2020-03-30T16:09:14
247,807,021
1
0
null
2021-06-02T01:13:03
2020-03-16T20:09:12
Python
UTF-8
Python
false
false
1,310
py
# noinspection PyUnresolvedReferences from mlpipe.processors.column_dropper import ColumnDropper # noinspection PyUnresolvedReferences from mlpipe.processors.column_selector import ColumnSelector # noinspection PyUnresolvedReferences from mlpipe.processors.freezed_value_remover import FreezedValueRemover # noinspection...
[ "robert.rajakone@fhnw.ch" ]
robert.rajakone@fhnw.ch
4c5be56a7e8f0a641ad4156c7ece582b641304e6
1100b13f76c75b489aad6de73ccd1f031c783330
/Problems/Visual poetry/task.py
81235f09a6534616656404b8f8a6e547d78766fd
[]
no_license
jbelo-pro/Tic-Tac-Toe
12250c0b228b2757eab3a4718e708e1185c410ca
825000f9b50748000bf21638e70d03dda70f44e8
refs/heads/master
2022-12-20T03:32:04.166600
2020-09-30T14:20:19
2020-09-30T14:20:19
263,976,455
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
print(" * * * ") print(" * * ") print(" * Which * ") print(" * came first: * ") print("* the chicken *") print(" * or the * ") print(" * egg? * ") print(" * * * ")
[ "javier.belo@outlook.com" ]
javier.belo@outlook.com
000398710d9ad062a89ac4676159781559ab22c9
86166dd9d037f7aaaae4fbf7f15bd3f2c9b73800
/Tools/search/src.py
5acf3dab86c958d53eae0a2fc5d16d293f2e0803
[]
no_license
OSC-Project/OSC-Code
add683fce8c4a67c71392ef8047ceeb326cb3ff1
9bfd7f4a67e37e2055ed9a68cb8234c98a929e5a
refs/heads/master
2021-08-26T05:54:02.091739
2020-06-01T00:15:52
2020-06-01T00:15:52
253,565,562
0
0
null
2021-08-12T08:44:30
2020-04-06T17:13:09
JavaScript
UTF-8
Python
false
false
2,161
py
from package_downloader import TarDownloader OSCs = ["depot" ,"angular-resource" ,"backbone-localstorage" ,"angular-mocks" ,"prototype" ,"require.js" ,"jsdiff" ,"ember-data" ,"flot" ,"twitter-bootstrap" , "jquery-ui-bootstrap" ,"Director" ,"history.js" ,"jade" ,"alt" ,"simple-peer" ,"aws-sign2" ,"es5-shim" ,"d...
[ "alex.o'neill@uconn.edu" ]
alex.o'neill@uconn.edu
8aae5c8f4befb2bb8529e163477927c4688a393a
d2dff59e6f42ad60e84edd40e4fd940bf1e0127f
/trypython/stdlib/functools_/functools02.py
3d53ebb170f09b42ffddfbaa866a389afa0c2c28
[ "MIT" ]
permissive
devlights/try-python
fb4b49b70872c782da6cffc6ed9625f577fc9530
8f0e9997012c7ef5a4f71c15c98ea2832424136d
refs/heads/master
2022-11-20T16:21:11.001413
2022-11-09T02:41:49
2022-11-09T02:41:49
78,821,417
6
1
MIT
2022-02-15T07:31:48
2017-01-13T06:19:46
Python
UTF-8
Python
false
false
1,931
py
# coding: utf-8 """ functools モジュールのサンプルです。 functools.lru_cache() について。 """ import functools from trypython.common.commoncls import SampleBase from trypython.common.commonfunc import pr class Sample(SampleBase): def exec(self): # -------------------------------------------------- # lru_cache() ...
[ "gsf.zero1@devlights.onmicrosoft.com" ]
gsf.zero1@devlights.onmicrosoft.com
4f28c22df25b9c11e7a9ef92a9d890a47015bf29
8fa0b13ac0e4037d1518784e66db74c117e784f0
/2011/20110915_python_conta_segundos/conta_segundos.py
6f4b25b14fe655465f9608c2d3763dbe8149a2f3
[]
no_license
dojorio/dojo_niteroi
a130a3a1f336cee86d2397d85411d695d21b8e72
b8a77ece6475713a60f77201501ca25d6eafb817
refs/heads/master
2021-01-17T10:34:20.237745
2017-10-23T21:25:09
2017-10-23T21:25:09
799,795
4
2
null
null
null
null
UTF-8
Python
false
false
2,989
py
import unittest2 from datetime import datetime minutos_para_segundos = lambda x: x * 60 horas_para_segundos = lambda x: x * 3600 class DataTempo(datetime): def segundos_desde_1990(self): tempo = self.second tempo += minutos_para_segundos(self.minute) tempo += horas_para_segundos(self.hou...
[ "falecomigo@bernardofontes.net" ]
falecomigo@bernardofontes.net
d658f83c563492bbf0dece65503f6219f33c6fdc
ffba4c0c644e53a295bf3402e48722556f8d5275
/assesment.py
1808d7417f5a5dcd6dd4da8295ec93f7b33333e0
[]
no_license
Ramalingam5g/Assesment1
d3605e7d6ae14349ffc74641301b59e50d10748f
640664f8b729b48cc493771d4528cec21bb62292
refs/heads/master
2023-04-08T03:46:37.334712
2021-04-08T10:35:22
2021-04-08T10:35:22
355,862,530
0
0
null
null
null
null
UTF-8
Python
false
false
3,314
py
import time start=5 end=0 vehicle_in_list=[] vehicle_list=[] class Parkingslot: def __init__(self,two_wheeler,three_wheeler,four_wheeler,others_vehicle): self.two_space=two_wheeler self.three_space=three_wheeler self.four_space=four_wheeler self.others=others_vehicle def parking...
[ "ramalingam@5gindia.net" ]
ramalingam@5gindia.net
48b77183ab92da5b0e91b0ba7325547f83f7e5fe
43067fc53de24e4c8e16e73cb5761b010240973d
/tests/transform_functional_tests.py
c6c910bb34867ed48f275639373ef6b7fd62b80f
[ "MIT" ]
permissive
yfletberliac/jicbioimage.transform
9a0b661ff38ea2616b29720fc7f02318303191ca
494c282d964c3a9b54c2a1b3730f5625ea2a494b
refs/heads/master
2020-03-19T03:30:02.304877
2016-11-01T16:05:23
2016-11-01T16:05:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,376
py
"""Transform functional tests.""" import unittest import os import os.path import shutil import numpy as np HERE = os.path.dirname(__file__) DATA_DIR = os.path.join(HERE, 'data') TMP_DIR = os.path.join(HERE, 'tmp') class GeneralPurposeTransoformTests(unittest.TestCase): def setUp(self): from jicbioimag...
[ "tjelvar.olsson@jic.ac.uk" ]
tjelvar.olsson@jic.ac.uk
f3088ab123925154695a1b2f0f4af254a76f6bdd
1e028ddbd4504e34d6f1f975a20f29297d92a02c
/wsgi.py
dbf1a34253fb4aa213a276353176642a92333b89
[]
no_license
nbel113/CS235-A3
c6ca7119c329b8145da771914674ab2b75d37162
05b71b2ed73e6e4db51a53b8e5b9e0d7d82f1470
refs/heads/main
2023-01-03T03:44:54.409106
2020-10-30T10:24:02
2020-10-30T10:24:02
303,553,519
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
"""App entry point.""" from movie_web_app import create_app app = create_app() if __name__ == "__main__": app.run(host='localhost', port=5000, threaded=False)
[ "nbel113@aucklanduni.ac.nz" ]
nbel113@aucklanduni.ac.nz
bffd8f4a50731672574fa8ad2fd5d12b21e6b2ef
35f9def6e6d327d3a4a4f2959024eab96f199f09
/developer/lab/tools/NVIDIA/FasterTransformer/sample/tensorflow/unit_test/squad_unit_test.py
a938652cd196387dd17c4e11a6540fd972e6272f
[ "Apache-2.0", "CAL-1.0-Combined-Work-Exception", "CAL-1.0", "MIT", "CC-BY-SA-4.0", "LicenseRef-scancode-free-unknown" ]
permissive
arXiv-research/DevLab-III-1
ec10aef27e1ca75f206fea11014da8784752e454
c50cd2b9154c83c3db5e4a11b9e8874f7fb8afa2
refs/heads/main
2023-04-16T19:24:58.758519
2021-04-28T20:21:23
2021-04-28T20:21:23
362,599,929
2
0
MIT
2021-04-28T20:36:11
2021-04-28T20:36:11
null
UTF-8
Python
false
false
6,779
py
# Copyright (c) 2020, NVIDIA 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 by appli...
[ "noreply@github.com" ]
noreply@github.com
9523382c0078780880ba822b5d6ea36fe940bc68
3b2a94c6e70138c17e6cd76e86777bc5002c0c9e
/nextman/controleproducao/apps.py
e36cfdd6eb9c8760ab83278b85c0add5234a9a76
[]
no_license
ErmirioABonfim/DjangoHeroku
abe244d8f891db87b41933014f00efb3e2f9dbfd
19728c7b71d6df3571bf4bca0437838e9c684335
refs/heads/master
2023-05-27T20:31:32.355686
2021-06-16T00:39:33
2021-06-16T00:39:33
354,674,641
0
0
null
2021-06-15T18:27:37
2021-04-05T00:21:19
Python
UTF-8
Python
false
false
107
py
from django.apps import AppConfig class ControleproducaoConfig(AppConfig): name = 'controleproducao'
[ "ermirio.contato@gmail.com" ]
ermirio.contato@gmail.com
f42351e14bac03751d881c3db4f2f6a003fc4b46
8a9b39d2130064b311b2b855240582b384d109a1
/Experiment/Attack/Testbed/simulator.py
b62465f57202cc4b9fd76ac1f86bf14ddbbe2fff
[]
no_license
rewhy/said
114a19787a4ebfb6387e08e7748b43c7d844fd24
ca02430b664b9103702771be603e411bb412d947
refs/heads/main
2023-08-18T19:04:44.765134
2021-09-20T03:35:28
2021-09-20T03:35:28
408,067,347
30
3
null
null
null
null
UTF-8
Python
false
false
6,738
py
#!/usr/bin/env python # coding=utf-8 import os import cv2 import re import socket import time from datetime import datetime import numpy as np import thread np.set_printoptions(suppress=True) # IP = '158.132.146.24' IP = '10.13.233.73' PORT = 9999 def onTrackbarSlide(emp): pass def adbForward(a, b): os.sy...
[ "qqxuelei@gmail.com" ]
qqxuelei@gmail.com
730a9c6e51da734e55f5cdc28965cccfe52ca062
b3bf5f8dd6c51233f35ad6c9d71004a48c05ed5b
/Senegal/degree_matrix.py
a92f22ea04c56d0388fe8f8ba19f9e56624d273e
[]
no_license
ShipJ/GCRF-Project
5ba8b186cc8a9ae714dd47d9a5ae6cd28dcb2f17
f27f31ff39e18f7f4109e3bf839a1e7a60bad5c2
refs/heads/master
2021-01-18T22:24:23.531098
2017-02-03T12:03:18
2017-02-03T12:03:18
72,522,639
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
import pandas as pd import numpy as np if __name__ == "__main__": adj_matrix = pd.DataFrame(pd.read_csv("adj_matrix_2.csv")) print adj_matrix
[ "jack.shipway@breakthemold.co.uk" ]
jack.shipway@breakthemold.co.uk
981dd048a149f12b014c99e4d7981ba31dcab26f
6452e23e8688c736a996c4c005c6e07c140e12d3
/collect_app/security/bundle.py
5a659d34485fa7efb4d866aae9352240cb813281
[]
no_license
oswaldoneto/collectapp
02a891f8f98aa371adea68abef9a59df33ebe339
5d70b154e20cdbc634cc4c493ae844ac7a06f935
refs/heads/master
2021-01-13T10:46:11.271844
2016-10-31T20:13:48
2016-10-31T20:13:48
72,387,955
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
PERMISSION_BUNDLE = { 'classify_bundle':( 'add_category', 'change_category', 'delete_category', 'add_tag', 'change_tag', 'delete_tag', ), 'manageacc_bundle':( 'add_permission', 'change_permission', 'delete_permission', 'add_grou...
[ "oswaldo.neto@gmail.com" ]
oswaldo.neto@gmail.com
ce56b78abf0cc2cb05f499977ec9b1a753f082ba
391010006247e6a5133d37631e94935e2d193dd2
/mask.py
783804df4f20964c9eef23a539d3ab170c52e43d
[]
no_license
roganovich/OpenCVCourse
65569756f935fbdd0a6f86adbccbe14bdacbf476
f4297eb69a47df5b31b1616750f0274076c9c958
refs/heads/master
2023-03-26T02:01:37.111475
2021-03-23T14:36:28
2021-03-23T14:36:28
349,361,377
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
import cv2 as cv import numpy as np file = 'images/1.jpg' img = cv.imread(file) cv.imshow('Test Image', img) #ValueError: could not broadcast input array from shape (3,) into shape (300,300,1) window = np.zeros(img.shape[:2], dtype='uint8') #mask = cv.circle(window, (420,100), 50, 255, thickness=-1) mask = cv.rectan...
[ "roman.roganovich@mail.ru" ]
roman.roganovich@mail.ru
6bada32e456c251b91a0d28e117d3aca206621b0
cefab48dff8fc40786f0a45f3df272646365e9f5
/python/pyMARS_old/python_mars_scripts2a/delete_files.py
88f6d9bb47f4e0691b88aa8e27a717a6af9434ba
[]
no_license
shaunhaskey/pyMARS
d40265bd2d445f0429ae7177f2e75d83f0ba8b30
e2424088492a8ab2f34acf62db42a77e44d5bc3b
refs/heads/master
2020-12-25T17:24:28.392539
2016-08-01T22:14:27
2016-08-01T22:14:27
17,684,575
0
0
null
2014-03-13T03:41:59
2014-03-12T21:21:08
Python
UTF-8
Python
false
false
1,194
py
import numpy as num import time, os, sys, string, re, csv, pickle import scipy.interpolate as interpolate from matplotlib.mlab import griddata ################ SET THESE BEFORE RUNNING!!!!######## project_dir = '/scratch/haskeysr/mars/project1_new_eq/' pickle_file_name = '9_project1_new_eq_COIL_upper_post_setup_new_lo...
[ "shaunhaskey@gmail.com" ]
shaunhaskey@gmail.com
ede44f248e9f54c2131ee4c710eb4f40834b73f7
2ec0ad55bc11a8abb88cba14c3860936d4d8f259
/research/slim/datasets/download_and_convert_FNF.py
2f30a0427380aa857d27904a64666528ac3dc739
[ "Apache-2.0" ]
permissive
wangkaihong/models
6689e9e9e2d942b01314e4dba24adea3958dc03a
98f83f5ef3937a1140256665886aa6273f5ea557
refs/heads/master
2020-05-01T05:15:18.633946
2019-03-31T04:36:38
2019-03-31T04:36:38
177,296,839
0
0
Apache-2.0
2019-03-23T14:10:39
2019-03-23T14:10:38
null
UTF-8
Python
false
false
6,557
py
# Copyright 2016 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...
[ "kaiwkh@scc1.bu.edu" ]
kaiwkh@scc1.bu.edu
51a1abf9fd107c333c976c0a480d81e34a0f624b
6d92e9d9ad00718be502b0ca24dab658824ed88f
/sweep.py
f383c3625f85fc760d9c52482e8c4035bd2c596a
[]
no_license
AdithyaVenkateshMohan/DAQ-Sensor_AWS-python
0d7c2f46802c723f6d0abbfc4a2ca73d34493c13
86884f8ddf07277c40ac4f85597a507d837bf264
refs/heads/master
2020-04-26T15:40:28.548183
2019-03-04T01:52:25
2019-03-04T01:52:25
173,653,906
1
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
import re def process_scans(scans): scans = str(scans) result = re.findall('\d+', scans) result = [int(x) for x in result] converted = [] while len(result)>0: angle = result.pop(0) distance = result.pop(0) strength = result.pop(0) converted.append([angle, distance, s...
[ "dieter.vanderelst@fastmail.net" ]
dieter.vanderelst@fastmail.net
7b8c0edbaa932699dcff4f639e8d071a09368607
cf411da23eb0c5745b30c7092915c82e3f05369a
/distribuicao_gama_exponencial.py
2860c8d5bcd1d201318b2eeb2e7e7d388456f622
[]
no_license
JosimarRachetti/curso-estatistica
e65131d78441b41c6a8b95858c2506d3666d5750
2b998d512759f2013b83ef5e09b1cd00aced5037
refs/heads/master
2023-04-16T21:36:20.872685
2021-04-25T20:25:02
2021-04-25T20:25:02
328,196,081
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
import numpy as np import seaborn as sns import matplotlib.pyplot as plt import pandas as pd from scipy import stats from scipy.stats import skewnorm from scipy.stats import gamma, expon dados_gama = gamma.rvs(a=4, size=1000) sns.displot(dados_gama) plt.show() dados_expon = expon.rvs(size=1000) sns.displot(dados_exp...
[ "josimarrachetti@gmail.com" ]
josimarrachetti@gmail.com
6f54a90bf7c0105aff8db08399146661dbb4ee27
cbf77f8db758c2f23fc0d10307357cb0c7381d41
/Lab1OP_Martakov.py
06486a9e961af70244bd0ea5edf904ff760b63ea
[]
no_license
Zloysvin/LabOP_01PY
0eaadba202dbe54bbdeb1b3d950f0b00d784f2c7
6dfe37efb7f0e8f1c06f98e043ca93bdb6770070
refs/heads/main
2022-12-30T04:59:55.423474
2020-10-21T12:40:11
2020-10-21T12:40:11
306,020,156
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
grad = int(input()) minutes = grad % 30 * 2 hours = grad // 30 print(hours, "h ", minutes, "m")
[ "noreply@github.com" ]
noreply@github.com
1defa08cad2feb8f0a409a161b01ac1c0c65ac80
bf6329ef922505a5c8c4797d6011e81295b753ad
/extensions/ban_my_self.py
0b5f77f80215955f3d893588af9b7870b1d9bb37
[]
no_license
Xi-Plus/Ethics-Committee
b4ed9077bc4113a8d42caf55198b78e3bb18c8bf
cd79dfc5b936b80ac8250f61261d45ad95a4fc55
refs/heads/master
2023-08-30T21:29:21.782947
2023-08-20T09:20:47
2023-08-20T09:20:47
134,817,641
7
2
null
null
null
null
UTF-8
Python
false
false
1,642
py
import re import time import telegram from Kamisu66 import EthicsCommitteeExtension class BanMySelf(EthicsCommitteeExtension): # pylint: disable=W0223 MODULE_NAME = 'ban_my_self' COMMAND = r'^/banmyself@Kamisu66EthicsCommitteeBot$' DURATION = 60 def __init__(self, enabled_chat_id): self.en...
[ "huangxuanyuxiplus@gmail.com" ]
huangxuanyuxiplus@gmail.com
747569879a5162b761715793b64f1247b8e624ca
e65fd394400d4a21228373efdd5f5847be2fe658
/app/models/animals.py
0444a81bddd1c60f3a34ce5b5c5be9175c139a06
[]
no_license
Grandiferr/YouTubeKeywordsData
2031d08f4e4813eff59bdf86b673bc9d53012f7b
a8f0b6f83cf278ad4026cb2fbfe98a733c4393e2
refs/heads/master
2020-05-02T17:11:22.384938
2018-12-20T04:10:17
2018-12-20T04:10:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from db import Document, StringField class Animal(Document): name = StringField()
[ "Oliver.barbeau@gmail.com" ]
Oliver.barbeau@gmail.com
794c9325e56ccce600f7fa7f14cb5ed1719e8d46
ab7bf0e2c7edb6d847f66e18d9492a443576c256
/w1/zad2.py
092fff71c513dcf1b062efc9226350b02b6b1401
[]
no_license
piotrsnella/Python---Zaliczenie
72b1b10d574359ef1d6ba1991e830b9fdc6dc244
9e495a262c41dfdbf4ef0d972108b88acd3bdd6a
refs/heads/master
2021-07-24T07:52:45.901410
2021-01-11T14:01:26
2021-01-11T14:01:26
236,830,301
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
print("Wprowadz liczbe: ") a = float(input()) for i in range (10): c = float(a) * (i+1) print("{0} * {1} = {2}".format(float(a), i+1, float(c)))
[ "noreply@github.com" ]
noreply@github.com
b8d02d7784e40d91bf50e6278a10d5e7193ac72c
21b1f938f419e0a8c49ccf023e05a40a9cdb00d4
/networking/daytimeclient/src/daytimeclient.py
6dd060476ef87dddce854bbe903feaee0bd2f619
[]
no_license
dibsonmuad/acad
a667769035a5eb2b688f3bcc2f78f00b899ba445
32bb273c665350ecc50809f922495ea05c496bc3
refs/heads/master
2020-04-08T00:52:15.690496
2018-08-17T16:57:00
2018-08-17T16:57:00
30,289,815
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
#!/usr/bin/python import socket if __name__=='__main__': import sys s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) if 2 != len(sys.argv): print("usage: {} <hostname>".format(sys.argv[0])) sys.exit(-1) host = sys.argv[1] port = 13 s.connect((host,port)) data = bytearray...
[ "sriram.sundararajan@gmail.com" ]
sriram.sundararajan@gmail.com
390ec28b8252fb487a090e60524c5466894268ed
984a797d9f81dd8d60a4d9f0861d1e8a88581026
/PY/Week 5/compare.py
adc6a6a691b012bad290d3581526d81f723f1cf2
[]
no_license
Yazurai/ELTE-IK-19-20
69e6c39b609886cce66155aaaadd0aaeb0415440
46fe1699885577d7fd7ffe06b3969ef34dd7e6d5
refs/heads/master
2020-07-23T02:19:08.724761
2019-12-17T10:23:10
2019-12-17T10:23:10
207,415,313
1
1
null
null
null
null
UTF-8
Python
false
false
94
py
s1 = [1,2,3,4,5] s2 = [1,2,3,4,5] if s1 == s2: print("equal") else: print("not equal")
[ "tbkhoa98@gmail.com" ]
tbkhoa98@gmail.com
3d9373caf45336053cfed503d400f1f05f30e509
1e58803adbbe1f26621fdce8f34e505d25bd437b
/ex2-005/costFunction.py
0ca1a1041049c1628bfdc6e0049c89f5506f4ba4
[]
no_license
billwiliams/pythonml
12440ffea36d92abc2150a9a2cf800b732e6a330
13a5a186f2d9fd7d5771e604a8b15f9036c90866
refs/heads/master
2021-01-01T16:00:19.865013
2015-01-21T05:43:52
2015-01-21T05:43:52
20,223,766
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
""" [J, grad] = costFunction(theta, X, y) %COSTFUNCTION Compute cost and gradient for logistic regression % J = COSTFUNCTION(theta, X, y) computes the cost of using theta as the % parameter for logistic regression and the gradient of the cost % w.r.t. to the parameters. """ def costFunction(theta,X,y): ...
[ "wnwillyndirangu@gmail.com" ]
wnwillyndirangu@gmail.com
3227d0444c8e269c7a4c93dd6a9209005345f469
f67b772f58bf153f76dab5521f982d01dc57c12b
/permission.py
4d8840f6aae8bab09699845a5b79ed461fa3b87a
[]
no_license
culibraries/ark-django-app
5eddb5f2bd5057a81d100eddb549a15e86852f28
355527ce36770c0d27dcf6c524154ac45b9d6e83
refs/heads/main
2023-02-24T05:08:12.421615
2020-09-21T20:34:41
2020-09-21T20:34:41
287,331,709
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
from rest_framework import permissions from django.contrib.contenttypes.models import ContentType from django.contrib.auth.models import Permission class arkPermission(permissions.BasePermission): def has_permission(self, request, view): if request.method in permissions.SAFE_METHODS: return Tr...
[ "mbstacy@gmail.com" ]
mbstacy@gmail.com
e5241bb23745e600ff33e76f2c2cacd0d8a3fa7f
2ea49bfaa6bc1b9301b025c5b2ca6fde7e5bb9df
/contributions/I-question-this/Python/Data Structures/2016-11-09.py
e79997882f82c6f4fc59793397eb5f78cff89ba0
[]
no_license
0x8801/commit
18f25a9449f162ee92945b42b93700e12fd4fd77
e7692808585bc7e9726f61f7f6baf43dc83e28ac
refs/heads/master
2021-10-13T08:04:48.200662
2016-12-20T01:59:47
2016-12-20T01:59:47
76,935,980
1
0
null
null
null
null
UTF-8
Python
false
false
105
py
Your own Python `calendar` `Module`s everywhere! Get the most of `int`s How to count `weakref` callbacks
[ "tylerofthewest@gmail.com" ]
tylerofthewest@gmail.com
3ab426b1277a1e6d5b14fdfc92fee15c279cfa4c
c81f7f172687d78b83e488e610488d197f68c562
/app/main/migrations/0021_auto_20201109_1718.py
be12609650282976be711ada87d0344ecca4f592
[]
no_license
d051a/compo_qa
08b2ffff74a5e3f3e6d1e5a5676eac7fdee95877
dff6e6dcf2518b9c3bb0be6785209798bbef79ac
refs/heads/master
2023-02-02T09:30:03.787566
2020-12-21T13:34:17
2020-12-21T13:34:17
298,217,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
# Generated by Django 3.1 on 2020-11-09 14:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0020_auto_20201031_1328'), ] operations = [ migrations.AddField( model_name='drawimgsreport', name='voltage_av...
[ "akargavin@gmail.com" ]
akargavin@gmail.com
5bb531534ff6b73e05d9ec12eaae21cb5d5af609
fbb1e1c9e8351d8d29c231dc5a202fedf756b028
/exhibia/apps/payments/migrations/0002_auto__add_field_card_holder_name.py
56f4cb18c5bd699aed0ca3d8b20fa00b78369360
[]
no_license
sulmanpucit/Competitive-Social-Shopping-Django
0dbcade6c608f89edf0cd8ae6241a32346bd1792
6043a0315138f4684098ad57bdbeda0e5a75f0f9
refs/heads/master
2021-01-24T15:22:46.994051
2013-02-21T21:25:35
2013-02-21T21:25:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,689
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Card.holder_name' db.add_column('payments_card', 'holder_name', self.g...
[ "sinedone@gmail.com" ]
sinedone@gmail.com
95cbb322b4c128fd85b0dea4a1c8fa81018049c2
09c461d51875a6b02e8e106e50507db5ae0dde09
/ship.py
4b0f5945b2dd3450a52347f9a0b5cd6724dbf8d0
[]
no_license
code4happylife/Python-100-Days
fbd24566b59ac76a17326ca9b80bce65cff01a5a
d415d17c0c42f762f9062eec81cc636a4612be28
refs/heads/master
2023-08-10T00:07:02.207874
2020-09-22T12:46:15
2020-09-22T12:46:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# encoding: utf-8 ''' @author: developer @software: python @file: ship.py @time: 2020/1/10 23:12 @desc: ''' import pygame class Ship(): def __init__(self, screen): self.screen = screen self.image = pygame.image.load('images/ship.bmp') self.rect = self.image.get_rect() self.screen_...
[ "1559273720@qq.com" ]
1559273720@qq.com
6f075f0d609222d893ebc629340f91b54f7732f3
d77f8eae3977828ec097fb2b26728e5723ec59fe
/choutiDemo/middlewares.py
15c1c4e407d327a6d92db093456f4fab8cf4bdbf
[]
no_license
IsaacNewLee/ChoutiDemo
809b2941535efaae1c97a59394336877f251cc35
159f4119d1e359ee580a0a691e2ad1921fdf8221
refs/heads/master
2022-01-08T05:33:37.728711
2019-05-15T13:27:39
2019-05-15T13:27:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,605
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class ChoutidemoSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scra...
[ "your_email|@youremail.com" ]
your_email|@youremail.com
ec7cc50798c4aeb6842c5b58e0b4291753437cd3
1725811e1715fe1ab118bd278f905714844c2681
/test_p3d.py
3a3de96e4d7b551d35e070c1c7dbf7d46602ddc0
[]
no_license
wangg12/pytorch3d_opengl_real_camera
9242312ec456f676e6cb5a81dee2fa8ce149498d
99b127062796a5e015a305e8d8761563b29b3057
refs/heads/master
2022-11-22T00:37:38.073080
2020-07-30T21:46:55
2020-07-30T21:46:55
283,882,814
7
0
null
null
null
null
UTF-8
Python
false
false
6,394
py
# test pytorch 3d renderer # render multi objects in batch, one in one image import errno import os import os.path as osp import sys import time import struct import mmcv import matplotlib.pyplot as plt import numpy as np import torch from tqdm import tqdm from transforms3d.axangles import axangle2mat from transforms3d...
[ "guwang12@foxmail.com" ]
guwang12@foxmail.com
591625010b059b7a1ee63a7bc597dfa5a0166c26
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02733/s001901229.py
aba6fbc1ebc1dcab87ce5d60ec89617753016b1a
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
import math #import numpy as np import queue from collections import deque,defaultdict import heapq as hpq import itertools from sys import stdin,setrecursionlimit #from scipy.sparse.csgraph import dijkstra #from scipy.sparse import csr_matrix ipt = stdin.readline setrecursionlimit(10**7) def main(): h,w,k = map(i...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6ccb307c6f958e1b691a0d3452181324950f3053
32903bfb24f6ff2058413132adf5599cdcfdd8da
/src/system/disinfo_net/pipe/domain_pipe.py
fab16ea7c627fe6a15fa3c38b3e1380332a2c45d
[]
no_license
solongs/disinfo-infra-public
629d5b7f4cd35bf47756f252aa08210634c3f7d9
3dbc81519c59cbd2354c85cde4122c948f6023ba
refs/heads/master
2023-01-23T03:10:24.999847
2020-12-07T21:13:06
2020-12-07T21:13:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
from abc import ABC, abstractmethod from disinfo_net.util.domain_util.url_parser import UrlParser from multiprocessing import Process class DomainPipe(ABC, Process): def __init__(self): super().__init__() self.url_parser = UrlParser() self.queue = None @abstractmethod def run(self...
[ "austin.hounsel@gmail.com" ]
austin.hounsel@gmail.com
ef4bbe7859e50ab42e918a90e2dea1b51a4882b3
83a7033aaf07689cdbd4fa7464ba6013a0c531ef
/courses/api/serializers.py
b98b8d5630576131f082c3c633050305edb31cae
[]
no_license
shuu01/educa
0c05ad6023187094b270e6955d4535c643a642fe
e43f4ec271c72acad20903aa68ed6d64a7290be2
refs/heads/master
2020-06-02T17:19:32.112713
2019-06-19T20:29:27
2019-06-19T20:29:27
191,245,347
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
from rest_framework import serializers from ..models import Subject, Course, Module, User class SubjectSerializer(serializers.ModelSerializer): class Meta: model = Subject fields = ('id', 'title', 'slug') class ModuleSerializer(serializers.ModelSerializer): class Meta: model = Module ...
[ "shuu01@gmail.com" ]
shuu01@gmail.com
85a6f0dce317685ae612e2bca918b99ee3ef6b1d
3a4549470cb0e6e55c98522ba08ce629d60960ea
/froide/team/admin.py
bd9346dc479e03302643ee0b3e01d265517a39e5
[ "MIT" ]
permissive
lanmarc77/froide
4e28d3e33017b3e776a7eb13d63c7b71bdb3bc68
bddc8bb27c8a7c2a959003dda724194948bc381a
refs/heads/main
2023-03-17T03:02:01.277465
2021-03-06T16:37:26
2021-03-06T16:37:26
345,137,125
0
0
MIT
2021-03-06T16:13:09
2021-03-06T16:13:09
null
UTF-8
Python
false
false
359
py
from django.contrib import admin from .models import Team, TeamMembership class TeamMembershipInline(admin.StackedInline): model = TeamMembership raw_id_fields = ('user', 'team',) class TeamAdmin(admin.ModelAdmin): list_display = ('name', 'created', 'member_count') inlines = [TeamMembershipInline] ...
[ "mail@stefanwehrmeyer.com" ]
mail@stefanwehrmeyer.com
4450c9e63147eef26ddad97af09b212090a7a78f
46224332185d4d0a1a56ba12ca0fad68e0090693
/main.py
ea6fe8fcf3a2f2104be8faa4f8b4442114aad9ed
[]
no_license
n1k0din/bitly
131ccc2d56e60b994a7eb04a1809744c27f7092c
a6a4735105e09fcc7134783ad2748239f2e92127
refs/heads/main
2023-04-03T11:27:25.676797
2021-04-14T00:03:27
2021-04-14T00:03:27
356,873,736
0
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
import argparse import os from urllib.parse import urlparse import requests from dotenv import load_dotenv BITLY_API_URL = 'https://api-ssl.bitly.com/v4' def create_argument_parser(): parser = argparse.ArgumentParser(description='Сокращает ссылку или выдает \ количество кликов по битлинку') parser....
[ "nik726@gmail.com" ]
nik726@gmail.com
d95c6a72d162c022ff13a6a9180b38d6dc4d03f7
26f8a8782a03693905a2d1eef69a5b9f37a07cce
/test/test_destiny_definitions_destiny_item_stat_block_definition.py
fd1caacbe42ae8f19d925e97ff45e137b5b68be2
[]
no_license
roscroft/openapi3-swagger
60975db806095fe9eba6d9d800b96f2feee99a5b
d1c659c7f301dcfee97ab30ba9db0f2506f4e95d
refs/heads/master
2021-06-27T13:20:53.767130
2017-08-31T17:09:40
2017-08-31T17:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
# coding: utf-8 """ Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. OpenAPI spec version: 2.0.0 Contact: support@bungie.com Generated by: ...
[ "adherrling@gmail.com" ]
adherrling@gmail.com
016c2124a86821c015a56c70460990d39129c536
384fc08ee847e186a6f2e555a930d6d175728ee2
/scripts/disp_client.py
6f77e04f574be90f725dcbe9556b503a7957f313
[]
no_license
mrmh2/scaleca
ae2d1ada7b8ea423d2c1e1b44787d31347d5bfbd
4374dc5e6d09eeb4ce3ceea51a0a9e7b50dabbfe
refs/heads/master
2021-03-12T22:48:26.945721
2013-08-27T14:24:19
2013-08-27T14:24:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
#!/usr/bin/env python """disp_client.py - simple text display client. Connects to server, then constructs simple update loop which sends a command to the server to run a simulation timestep, then displays the results.""" import os import sys import zmq import numpy as np def setup(): parent, cdir = os.path.spl...
[ "mhartley@cantab.net" ]
mhartley@cantab.net
82e09cd429f02f9889f8434a1ee7562cd4627b73
cdd327b3b72941c6141ef12128aa1680b37c580b
/lianjia/Start1.py
f8e89d3906bff7f0a3134da0829f3bbec4a9ce69
[]
no_license
Jcuke/python-scrapy-liangjiaScrapy
ea6f8410d93e98d2b0ed84fd7cfbfab776d72506
d8bf477d19cbecda70bed1b211935a2d41e71b90
refs/heads/master
2020-06-29T13:19:31.286513
2016-11-22T02:43:39
2016-11-22T02:43:39
74,424,847
0
1
null
null
null
null
UTF-8
Python
false
false
649
py
# -*- coding: utf-8 -*- from twisted.internet import reactor from scrapy.crawler import CrawlerProcess from scrapy import log, signals from scrapy.utils.project import get_project_settings from spiders.LianjiaSpider import LianjiaSpider spider = LianjiaSpider() # 这里改为你的爬虫类名 # settings = get_project_settings() # crawl...
[ "wangjinwen@netfinworks.com" ]
wangjinwen@netfinworks.com
6a9363584d59d71e86e0a9c543fd7ae4c893b6e1
971fdaa870f4faa26780f56c715284012352b906
/Problems 21 - 30/Problem25.py
ee93344becf1dfc32bed09c0d67b227afc1c548f
[]
no_license
cnguyen-uk/Project-Euler
cf850ad7b1a71b0c01d6de1620c964f94c970e36
44039f12cf57b003f23ac3e2ca4f59e64f8a1b38
refs/heads/master
2021-08-28T20:57:53.758201
2021-08-12T16:03:16
2021-08-12T16:03:16
245,628,664
0
0
null
2021-08-10T19:11:22
2020-03-07T12:27:37
Python
UTF-8
Python
false
false
822
py
# -*- coding: utf-8 -*- """Problem 25: 1000-digit Fibonacci number https://projecteuler.net/problem=25 The Fibonacci sequence is defined by the recurrence relation: Fn = Fn−1 + Fn−2, where F1 = 1 and F2 = 1. Hence the first 12 terms will be: F1 = 1 F2 = 1 F3 = 2 F4 = 3 F5 = 5 F6 = 8 F7 = 13 F8 = 21 F9 = 34 F10 = 55 ...
[ "noreply@github.com" ]
noreply@github.com
fc480d3fb845aa49253a77454d9e82676ab60f5b
62c14de6eea9419701f8bb07b4ff6db807c74ccb
/scripts/checkTowns.py
40e0b5876c6a28f7126b0be95f7baa52695fca6e
[]
no_license
AdamBOD/spinz
0acd109bdff1069cb451cff2708552230f960cad
f72877f1444d09dc23dfaf281fbeba07a7b3de06
refs/heads/master
2020-03-08T12:29:49.258672
2018-04-05T08:17:33
2018-04-05T08:17:33
128,127,634
1
0
null
null
null
null
UTF-8
Python
false
false
794
py
#!/usr/local/bin/python3 from cgitb import enable enable() from cgi import FieldStorage, escape import pymysql as db print('Content-Type: text/plain') print() form_data = FieldStorage() town = form_data.getfirst('town') try : connection = db.connect('lhcp1078.webapps.net', 'sa', 'f?E[Hcd;KH7r', 'xd26hahk_Loca...
[ "adambarryodonovan@gmail.com" ]
adambarryodonovan@gmail.com
152da7626c58df46cb9af0380a53e612238af936
ea7dda480d5e792f6b6e38e1e26ae43d60b578d0
/Feature1_1.py
d9d3dbcc234246d6a4d6a2fff8af8f9b04c180ce
[]
no_license
araihC/MachineLearning_1
f10a65ff1f535ea7d056bc9abc3fa6b6b6a3ed62
70eeadb9fc788d6e8cbaec34e5d37da39d159ea6
refs/heads/master
2022-10-22T10:14:35.178178
2022-10-01T22:25:57
2022-10-01T22:25:57
152,552,354
1
1
null
2022-10-01T22:25:58
2018-10-11T07:49:39
Python
UTF-8
Python
false
false
14,232
py
#Versione 1.0, aggiornata il 28/12/18 - python3.6 - Chiara De Luca #Questo programma acquisisce in input i file raw e crea un nuovo file xcel con la corretta forma/pulizia #in particolare: # Loading dei dataset a disposizione # Normalizzazione del voto di diploma (se mancante, sostituito con la moda) # Eliminazio...
[ "noreply@github.com" ]
noreply@github.com
0e48c383b0282d037d3dbaf8c0227eba463a8978
e0cd95636c305ca14523ff1d8405cd6d3253e34b
/Programming/CS324E/group_22_assignment_5/timer.py
95971f06cab7cff352edde05a245a14703b42ed5
[]
no_license
stOracle/Migrate
f9563b49b275ade35bb8055b140ab85179c94c1e
4e5a8ecab5141ba42dece8741381912d63e635bb
refs/heads/master
2020-03-28T17:50:28.818475
2018-09-14T18:48:22
2018-09-14T18:48:22
148,827,694
1
0
null
null
null
null
UTF-8
Python
false
false
811
py
# Provides a class of stopwatch objects. import time ''' Stopwatch object. Measures the duration between a .tic() call and a .toc() call in units of seconds.''' class Timer(object): # Constructor. Initializes startTime to # the time of construction. def __init__(self): self.startTime = time.time() ...
[ "srauner@srauner-T470.us.oracle.com" ]
srauner@srauner-T470.us.oracle.com
6c80326ad417282ade09d447c9f146d58b34db51
66f69b5ab0b3941e7cb9bbf0ac57145c7a8dbe27
/linked_list.py
964634ab0abcf4115551406cbdd24b78dbcccfe2
[]
no_license
suvarna0318/python_datastructure
89b4ecfabed7dd110c9045c12077523e5b9dec7a
86543feaa6e1cc9c9f627888ab4d42a2e50d48e4
refs/heads/master
2021-03-17T12:49:07.102876
2020-03-13T06:00:31
2020-03-13T06:00:31
246,992,049
0
0
null
null
null
null
UTF-8
Python
false
false
1,644
py
class Node: def __init__(self,data): self.data=data self.next=None class LinkedList: def __init__(self): self.head=None def print_linkedlist(self): if self.head is None: print("no data") return cur=self.head while cur: print(cur.data) cur=cur.next def append(self,data...
[ "suvrana0318@gmail.com" ]
suvrana0318@gmail.com
7af3d393b2ab28233d6337137cf6f36f1ad5421a
a12c090eb57da4c8e1f543a1a9d497abad763ccd
/django-stubs/conf/urls/i18n.pyi
92bedee797dfd45df0608d28ec4edc703e475012
[ "BSD-3-Clause" ]
permissive
debuggerpk/django-stubs
be12eb6b43354a18675de3f70c491e534d065b78
bbdaebb244bd82544553f4547157e4f694f7ae99
refs/heads/master
2020-04-04T08:33:52.358704
2018-09-26T19:32:19
2018-09-26T19:32:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
pyi
from typing import Any, List, Optional, Tuple, Union from django.urls.resolvers import URLPattern, URLResolver def i18n_patterns( *urls: Any, prefix_default_language: bool = ... ) -> Union[List[List[Any]], List[URLPattern], List[URLResolver]]: ... def is_language_prefix_patterns_used(urlconf: str) -> Tuple[bool,...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
aedaaedc64e2989456215ff1624958495ca5a0b9
f332f7e83997b94b50ef13fcd3e3c4b1d6b672a2
/model/sales_page_scraper.py
0d07446fc125e2d4f6498f115f1dc2b38e6f31fd
[ "CC0-1.0" ]
permissive
aniket-deole/WholeFoodsFrugality
1800666f830383ebd3a85b367b06d90df23a6012
bde727c8ff7e5dcdf04cc1b1196b4f1940186340
refs/heads/main
2023-05-06T23:46:21.048797
2021-06-05T02:52:27
2021-06-05T02:52:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
import requests import bs4 import pandas as pd from bs4 import BeautifulSoup def items_on_sale(page_url,name): page_sourced = requests.get(page_url).content html_content = BeautifulSoup(page_sourced, "html.parser") sale_items = html_content.findAll('h4', class_="w-sales-tile__product") sale_item_titles...
[ "william.shamma2@gmail.com" ]
william.shamma2@gmail.com
21ad2af3d915bd4f9eafc1802dd8686a677b657e
2a91dfb5a11f9865d5a9c6a620f01bf15850d83b
/bin/django-admin
853fd6c29aa717e81e7e58a1fe85c63df7f63892
[]
no_license
shyouganai/fashion-week
b96b0426bf828672958c6a12d2ebcdcc6c008b8e
9125b32bc6d30905c3edb45d3f03d5de73345caa
refs/heads/master
2020-05-16T13:25:10.116851
2019-04-25T07:37:33
2019-04-25T07:37:33
183,071,811
0
0
null
null
null
null
UTF-8
Python
false
false
297
#!/home/shgn/projects/py3/django/fw/fw/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "amiravkhadiev@gmail.com" ]
amiravkhadiev@gmail.com
da715d70607b45a4b6225f162482dd1ef2943ae5
1af49694004c6fbc31deada5618dae37255ce978
/chrome/browser/chromeos/exo/DEPS
1ff90b7330527bd26d73215c1179e91ca9fc6fb5
[ "BSD-3-Clause" ]
permissive
sadrulhc/chromium
59682b173a00269ed036eee5ebfa317ba3a770cc
a4b950c23db47a0fdd63549cccf9ac8acd8e2c41
refs/heads/master
2023-02-02T07:59:20.295144
2020-12-01T21:32:32
2020-12-01T21:32:32
317,678,056
3
0
BSD-3-Clause
2020-12-01T21:56:26
2020-12-01T21:56:25
null
UTF-8
Python
false
false
166
specific_include_rules = { "chrome_file_helper\.cc": [ "+ash/wm/window_util.h", ], "chrome_file_helper_unittest\.cc": [ "+ash/wm/window_util.h", ], }
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
1688f88c3929469ce6d3c600feb0d17460eea449
83f7702acd6c313220889b450ea87a62392d8a21
/utils/model_utils.py
3c9a65c833425e92b857a01f8a2578a364b4c74e
[]
no_license
jiangxubin/hand_pose
6d8876cd643bbaf4c0ceeaa9aac239c4abb9eb99
e587f851261e8813cdda79bde91abd84cb55048a
refs/heads/master
2020-03-31T20:53:48.090074
2018-10-11T08:48:10
2018-10-11T08:48:10
152,559,747
0
0
null
null
null
null
UTF-8
Python
false
false
10,394
py
#coding=utf-8 ''' @author LiangYu @email liangyufz@gmail.com @create date 2018-07-13 18:55:11 @modify date 2018-08-15 11:00:43 @desc [description] ''' import math import time import numpy as np import tensorflow as tf from tensorflow.python import pywrap_tensorflow timeformat2 = "[%m%d_%H%M]" class NetworkOps(...
[ "21612149@zju.edu.cn" ]
21612149@zju.edu.cn
9ff71bddb8cae3dc3f683ab51bb947b12a642153
18d7ca49d81007d6c49d8e90720ecec19711ec25
/aula7_televisao.py
3879edb9877cc8516d3fa6c4e25f2d2585050f1f
[]
no_license
antoniocarlosdeoliveira/python_basico
2893ced92c134648d1b967dc5b1989d96d62643c
28197643831bbb98a8568509b3634ca176d4947b
refs/heads/master
2022-10-21T20:13:44.997664
2020-06-08T18:31:37
2020-06-08T18:31:37
270,734,956
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
class Televisao: def __init__(self): self.ligada = False self.canal = 5 def power(self): if self.ligada: self.ligada = False else: self.ligada = True def aumenta_canal(self): if self.ligada: self.canal += 1 def diminui_canal(s...
[ "livegames2011@hotmail.com" ]
livegames2011@hotmail.com
7ff446abab86764c91765bd0cb1939d5c7d97daa
6da0ded69dde46394dc00f6cebd2541938920dff
/lite/tests/unittest_py/op/test_reduce_mean_op.py
17349af14ca5bb7ec03c6ee39edb95d7a67eb33e
[ "Apache-2.0" ]
permissive
ishine/paddle-mobile
e346f1fb537485d60c6e8f7eb5cba102de0fe6c2
42dbfe288dc49625649dc9499258d2bcf79c9dcd
refs/heads/develop
2023-05-30T10:17:52.866644
2023-05-16T11:40:33
2023-05-16T11:40:33
201,366,144
0
0
Apache-2.0
2020-01-14T07:23:03
2019-08-09T01:35:22
C++
UTF-8
Python
false
false
4,949
py
# Copyright (c) 2021 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
noreply@github.com
db375e0a1a8770874e67cc3c2d8aed6978658aca
f44ac63fc957798e794065d6c98562b78c383fa8
/src/profiles-nlp/main.py
2498a8ae255c03220efc90aab5bf33446a0cc1a4
[]
no_license
StevenShiells/nlp-experimenting
ab365414e45adaa4d9f30b0ac0ac6e42cb231da3
7bbf52ebe7348e012a2a58a86ded8238edc6d40a
refs/heads/master
2021-03-12T07:50:40.286936
2020-03-17T13:30:49
2020-03-17T13:30:49
246,602,770
0
0
null
2020-03-17T08:40:40
2020-03-11T15:05:29
Python
UTF-8
Python
false
false
1,616
py
import spacy import training import os import shutil def run(n_models): test_files = get_working_files() nlp = spacy.load("models/") print("Preparing Output Folder") if os.path.exists("profiles/output"): shutil.rmtree("profiles/output") os.mkdir("profiles/output") for file in test_fi...
[ "steven.shiells@met.com" ]
steven.shiells@met.com
11bd8362ddbf95c163542e12d9dfcaac134008d5
41ecfebec45468b08b7be6c3ca6331b53464bfdd
/accounts/admin.py
41feb6f5ef534019aa9cc17a91c3fcbed1965c99
[]
no_license
PratyushAdhi/OpportunitiesSimple
b4c475dfa2ba1ee2ff5aa7dd8295eb354f26d507
0d946757fd4b75d477985b75f36617485769bb4c
refs/heads/main
2023-01-24T22:54:40.628321
2020-12-02T12:48:39
2020-12-02T12:48:39
309,477,452
0
0
null
null
null
null
UTF-8
Python
false
false
5,265
py
from django.contrib import admin # from django.contrib.auth.admin import UserAdmin as BaseUserAdmin # from .models import User # from django import forms # from django.contrib.auth.forms import ReadOnlyPasswordHashField # class RegisterForm(forms.ModelForm): # password = forms.CharField(widget=forms.PasswordInput...
[ "pratyushadhikary@hotmail.com" ]
pratyushadhikary@hotmail.com
12ec27ee38a295c807ef136d37284fb086c69ad8
9be3d865e4d3f141f6b03fd5daaf09adaed03038
/src/controller/python/chip/discovery/library_handle.py
bf6ddb39b165b2cbc22d3e31a3c26714aae84398
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
winnieli1129/connectedhomeip
17ffc14d3bb4b94da35cad7b074a46e430f4888d
5cb5d880e2be1427798c767aaf8c67f696046df8
refs/heads/master
2023-06-30T23:16:50.506830
2021-07-23T09:57:05
2021-07-23T09:57:05
388,645,941
0
0
Apache-2.0
2021-07-23T09:57:06
2021-07-23T01:37:25
null
UTF-8
Python
false
false
1,480
py
# # Copyright (c) 2021 Project CHIP 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 applica...
[ "noreply@github.com" ]
noreply@github.com
dbc38824605ba20ad7dd6526d5365665743b0103
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano3487.py
f097da7b74e2ca09b1b318c6763228fab0a33cb3
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
aee53c4d005d553b86fb96470e36946114349be3
ad4a6420969b2e625391a28f18840081269d84f2
/main.py
c305f93a766f9a1b7dbf935b8f70ad1674d7bc10
[]
no_license
jeanahn-github/blog
7a6667cbf65ba2fcdaf9398eb4459972e44a491b
0234579fa5db7b4d94818dab8c5edcdde109d6e4
refs/heads/master
2023-06-05T23:22:52.575833
2021-06-16T08:59:37
2021-06-16T08:59:37
377,172,765
0
0
null
null
null
null
UTF-8
Python
false
false
7,086
py
from flask import Flask, render_template, redirect, url_for, flash, abort from flask_bootstrap import Bootstrap from flask_ckeditor import CKEditor from datetime import date from werkzeug.security import generate_password_hash, check_password_hash from flask_sqlalchemy import SQLAlchemy from sqlalchemy.orm import relat...
[ "jeanahn@naver.com" ]
jeanahn@naver.com
0606e6062f3381696f7a7d9c201d4a0bb6283488
6b1e89d486515d40722cf780a2925c7269f68c5f
/05Month/pandas/extra/stock.py
d16f6b661d65d232a678f127998c4a1869ee33c5
[]
no_license
LiuJingGitLJ/PythonAnalysis
c2c7d96a1dde81a911a828a9dcb4e3fc868ca83e
ddee4a026b3313aa43583311a1b73b22d5f13678
refs/heads/master
2020-03-14T22:58:48.329637
2018-05-02T12:22:30
2018-05-02T12:22:30
131,833,542
1
0
null
null
null
null
UTF-8
Python
false
false
2,988
py
# -*- coding: utf-8 -*- import numpy as np import pandas as pd names = ['date', 'time', 'opening_price', 'ceiling_price', 'floor_price', 'closing_price', 'volume', 'amount'] raw = pd.read_csv('SH600690.csv', names = names, header = None, inde...
[ "15201078137@163.com" ]
15201078137@163.com
b855d1d0a1c30604a871bfa5f1d20bd2ea3d0de0
198ff7cfdb03f8f0da53786c86a7e3e80aba42b5
/exc2/assign2/task7/mapper.py
23faf09414640d59dfc14fffcb0f5bef13078be3
[]
no_license
yangdiangzb/exc
7c15d0c783e7769ef3ac4d6cc2eb7c227d5eb55f
ee858f46ed03a483e21ec09486c3bfbabc447e67
refs/heads/master
2020-05-25T11:31:53.436781
2017-03-01T22:23:31
2017-03-01T22:23:31
83,607,679
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
#!/usr/bin/python import sys import math from bitarray import bitarray error = 0.01 a = bitarray() def bloom_filter(stream, n): array_size = int(math.ceil(-int(n)*math.log(error)/float(pow(math.log(2),2)))) hash_num = int(round(array_size*math.log(2)/float(n))) res = [] a = bitarray(array_size) ...
[ "yangdianwork@gmail.com" ]
yangdianwork@gmail.com
b4d0f42a1bdeba636cbd036db438e838af40cca6
e3964f89a1416b76d430e57beac5f2e2097f6310
/a5/testq6.py
29efde4ff91cfc377fe1f6eecdd228e781e88c45
[]
no_license
anand-prashar/Natural_language_processing
f0cac0be2a3c55091bf11a959596991c0b862466
252907ae8c6d817d68c22ce69fa41f3bf2628e50
refs/heads/master
2021-08-31T02:13:52.144527
2017-12-20T06:31:38
2017-12-20T06:31:38
114,850,473
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
#!/usr/bin/env python import distsim word_to_vec_dict = distsim.load_word2vec("nyt_word2vec.4k") #=============================================================================== # king = word_to_vec_dict['king'] # man = word_to_vec_dict['man'] # woman = word_to_vec_dict['woman'] # ret = distsim.show_nearest(word_to_vec...
[ "9823261+anand-prashar@users.noreply.github.com" ]
9823261+anand-prashar@users.noreply.github.com
dcd1665c6f5a3a7bb97c5246c3a1719f294ffc18
6889622a53812f9d3f5381ab67de99dcc5322784
/rage-quit/bot.py
4fa13b76b74a3958e5b8c9bd038db55e4722caa4
[ "MIT" ]
permissive
ademarrohregger/fun-bots
9914666bd2e60b4d9715e23dcb573ec57d058dbf
908a12f1240f72dd9ee5151e0bb46be2818cee40
refs/heads/master
2021-01-09T18:23:00.329406
2017-06-01T01:50:19
2017-06-01T01:50:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
from telegram.ext import Updater, MessageHandler, Filters import logging import handler logging.basicConfig(format='[%(asctime)s] %(name)s: %(message)s') def error_callback(bot, update, error): logging.error(error) message_handler = MessageHandler(Filters.status_update, handle...
[ "cauebaasch@gmail.com" ]
cauebaasch@gmail.com
5fa37299859f8faa1bbaa30dd11b34553ec77c55
7bc201562c3180a26438cccdb6d36c80361b848d
/IUM/services/models/model_type.py
6eb09c4d7161fdabb3e2835847f3af8309b79918
[]
no_license
steciuk/IUM-recommendation-system
6615aa3bcdd6b367ab9ef4b85319ad4e95d68e57
528649ed5d1ee1b9ab1ace4980ff09d8234ef6e6
refs/heads/main
2023-03-22T13:03:33.505086
2021-03-18T17:33:43
2021-03-18T17:33:43
314,654,026
1
0
null
null
null
null
UTF-8
Python
false
false
94
py
from enum import Enum class Model_type(Enum): POPULARITY = 1 CONTENT_BASE = 2
[ "wojciech.moczydlowski@leancode.pl" ]
wojciech.moczydlowski@leancode.pl
47301cc2aa01e0160336ecf5ead641a2c57fea24
515bac5262e3b61cce85fd0127445c118f12a745
/src/tackle/skin/contents/item.py
41eaa13e54a93a2d19c068c77a12b5747b42b62b
[]
no_license
ilshad/tackle
a17f7b23d60ccf569e05e3a95717db6d9ae1f3dc
6b106935cb31c1b28581486fc7dd1ff157826a16
refs/heads/master
2021-01-13T02:26:55.059898
2013-07-05T10:41:40
2013-07-05T10:41:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
# 2010 Ilshad Khabibullin, <astoon@spacta.com> from zope.component import adapts from zope.interface import Interface, implements from zope.traversing.browser.absoluteurl import absoluteURL from zope.dublincore.interfaces import IZopeDublinCore from tackle.skin.interfaces import ILayer from interfaces import IContentM...
[ "astoon@spacta.com" ]
astoon@spacta.com
6a5ac93365d23158d55ff419fb906b69d5d886af
2ced571b1385d194e8a92078aa03cf1608d8f6c8
/myvenv/Scripts/django-admin.py
3c827e2708caabaf547966ac74ed648fad8ad5bb
[]
no_license
be350/project
ebf65bfaae48c79b2b4aef0d7ee6484d134636bf
f4ed5f7fcfaa4cc00e7aec8d985d6312dc5a9014
refs/heads/master
2020-05-30T16:41:04.761766
2019-06-02T14:00:05
2019-06-02T14:00:05
189,850,091
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
#!c:\users\jin\desktop\project\myvenv\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "be350@gmail.com" ]
be350@gmail.com
cfdf87aac33f9a72de4845549f3090985010f9f4
77f5734efd8e16797aee2e48d5c104c47632b43d
/store/widgets.py
11868ddfa5a93d5397fed06a43672048abe7b1e1
[]
no_license
Code-Institute-Submissions/milestone_project_4-3
b56155033fb5b5710f8a8607f68c7172e24eb653
3248a1a0045a3cc5fe60dbf22173ac2515f3d095
refs/heads/master
2023-05-30T21:30:47.245719
2021-06-30T10:03:54
2021-06-30T10:03:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from django.forms.widgets import ClearableFileInput from django.utils.translation import gettext_lazy as _ class CustomClearableFileInput(ClearableFileInput): clear_checkbox_label = _('Remove') initial_text = _('Current Image') input_text = _('') template_name = 'store/custom_widget_templates/custom_c...
[ "johngc1510@gmail.com" ]
johngc1510@gmail.com
e1f0e5d00a2ac00fd29fe1510687dbba7b48f35e
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/ABC/D/154_d.py
43055970fa71c8d1fc0e279b10cfca40369c0986
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,613
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): n, k = map(int, input().split()) dat = list(map(int, input().split())) dat2 = [] m = -1 #print(dat[:k]) n = sum(dat[:k]) dat2.append(n) m = n mind = 0 for i...
[ "glenda.kanai@gmail.com" ]
glenda.kanai@gmail.com
01dd184374b0b82db5104e26148e92a0b14e6031
d83fde3c891f44014f5339572dc72ebf62c38663
/_bin/google-cloud-sdk/lib/surface/compute/interconnects/attachments/create.py
36182101c61039ba02985a4cafd3b3b5d13f0b6c
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
gyaresu/dotfiles
047cc3ca70f4b405ba272856c69ee491a79d2ebe
e5e533b3a081b42e9492b228f308f6833b670cfe
refs/heads/master
2022-11-24T01:12:49.435037
2022-11-01T16:58:13
2022-11-01T16:58:13
17,139,657
1
1
null
2020-07-25T14:11:43
2014-02-24T14:59:59
Python
UTF-8
Python
false
false
3,990
py
# Copyright 2017 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 law or ag...
[ "me@gareth.codes" ]
me@gareth.codes
c901c352d59c3fdf81e492c184b2a45cfa2bb28d
43ff15a7989576712d0e51f0ed32e3a4510273c0
/tools/pocs/bugscan/exp_1284.py
1429903641e7e8e932e605922ac8a2efe0393840
[]
no_license
v1cker/kekescan
f2b51d91a9d6496e2cdc767eb6a600171f513449
3daa1775648439ba9e0003a376f90b601820290e
refs/heads/master
2020-09-19T16:26:56.522453
2017-06-15T02:55:24
2017-06-15T02:55:24
94,495,007
6
3
null
null
null
null
UTF-8
Python
false
false
1,294
py
# -*- coding: utf-8 -*- from dummy import * from miniCurl import Curl curl = Curl() #!/usr/bin/env python # -*- coding: utf-8 -*- #author:小光 #refer:http://www.wooyun.org/bugs/wooyun-2010-0107850 def assign(service, arg): if service == "es-cloud": return True, arg ...
[ "liyueke@huobi.com" ]
liyueke@huobi.com
8ab7dff45d69393de7c70aedebe150563e1b17ff
7942342d457276bb266228d0236af647b3d55477
/django/contrib/sites/managers.pyi
465f1dc86cf24c0cc822bb976a68d2719d74eb2b
[ "MIT" ]
permissive
AsymmetricVentures/mypy-django
847c4e521ce4dec9a10a1574f9c32b234dafd00b
f6e489f5cf5672ecede323132665ccc6306f50b8
refs/heads/master
2020-06-30T01:53:44.434394
2016-12-22T22:45:50
2016-12-22T22:45:50
74,397,884
0
0
null
null
null
null
UTF-8
Python
false
false
417
pyi
# Stubs for django.contrib.sites.managers (Python 3.6) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any, Optional from django.db import models class CurrentSiteManager(models.Manager): use_in_migrations = ... # type: bool def __init__(self, field_name: Opti...
[ "reames@asymmetricventures.com" ]
reames@asymmetricventures.com
d116a09dcf6d7996bcb7b25f781024b754c6b36c
ef183ae8d84fcc7a68bf7fb5e67b6fd7b22f9698
/DeleteDict.py
7e02c43d282af2b4e6c1b45f3dc85d5abfe2c5ec
[]
no_license
Aakash-Raman/MyCap
d597769eb35eb64531d0cea34547f782cd8f3880
c8d7981caa63b5942def945a287b00291c27376e
refs/heads/master
2021-05-23T11:30:22.502268
2020-04-27T16:33:03
2020-04-27T16:33:03
253,266,711
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
d1={1:"Python",2:"C++",3:"C",4:"JAVA",5:"MySql"} print(d1) n = int(input("Enter the no of terms you want to delete: ")) print("Enter the values one by one") while(n!=0): ch = int(input()) del d1[ch] n = n-1 print("After Deletion") print(d1)
[ "noreply@github.com" ]
noreply@github.com
678bbf0f3acbb639e8f26ad0eda2be449d96f08b
29e4d393351c87741f069092eb8d0ab6f1221d6f
/venv/lib/python3.6/site-packages/Crypto/Cipher/_mode_openpgp.pyi
14b810588d15c2c693b6b6580803aee05847cfe4
[ "MIT" ]
permissive
masora1030/eigoyurusan
f0eb7d9761aa150379b558c13fc2477daf504417
fa82044a2dc2f0f1f7454f5394e6d68fa923c289
refs/heads/master
2022-12-01T09:31:17.330620
2020-07-22T14:51:59
2020-07-22T14:51:59
279,682,018
11
2
MIT
2020-07-22T22:02:57
2020-07-14T20:03:45
Python
UTF-8
Python
false
false
556
pyi
from types import ModuleType from typing import Union, Dict Buffer = Union[bytes, bytearray, memoryview] __all__ = ['OpenPgpMode'] class OpenPgpMode(object): block_size: int iv: Union[bytes, bytearray, memoryview] IV: Union[bytes, bytearray, memoryview] def __init__(self, factor...
[ "soraemonpockt@icloud.com" ]
soraemonpockt@icloud.com
e5d6b84e27513bb4e132431f6861b46788fe0cb5
6e26b72ac6774bdb25f71d0e6f428bd84effb73f
/tts/tts_test.py
cf747ea1a05c38443613cc6c25a6a1ed260c4edd
[]
no_license
SamuelEllertson/various-projects
17dc80a09de0d895da14f69eb0bf98ff55f6667e
dcd89cb2500e32a08afb8665ff096562d4d66f2c
refs/heads/master
2021-08-04T07:05:01.729624
2020-07-25T22:55:42
2020-07-25T22:55:42
201,556,239
1
0
null
null
null
null
UTF-8
Python
false
false
2,066
py
#!/usr/bin/env python import time import speech_recognition as sr from playsound import playsound import os from gtts import gTTS from random import random import sys import threading exit_flag = threading.Event() def respond(text): text = text.replace("'","").lower() command, _, args = text.partition(" ")...
[ "samuelEllertson@hotmail.com" ]
samuelEllertson@hotmail.com
f9d1b1d94284348c99187c29166134746d461bcc
960ca4512880cdfdc6daccde8d9271b611824ddb
/exps/vis/test.py
17ccb9517f47b95b538e761d0c39a60b2036f54b
[ "MIT" ]
permissive
xiaoye77/NAS-Projects
f0b66207814fd1ee9e656678230eed5a491d7deb
db44e56fb6b756e03b3d04228fccb6b0fd1060c2
refs/heads/master
2020-12-04T03:53:36.442866
2020-01-02T05:49:16
2020-01-02T05:49:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,118
py
# python ./exps/vis/test.py import os, sys, random from pathlib import Path import torch import numpy as np from collections import OrderedDict lib_dir = (Path(__file__).parent / '..' / '..' / 'lib').resolve() if str(lib_dir) not in sys.path: sys.path.insert(0, str(lib_dir)) from graphviz import Digraph def test_nas_...
[ "280835372@qq.com" ]
280835372@qq.com
3291bf244ff09f9ba1fca61bbde6a755949b14a2
ad1ab617337305e57b7d817545f87fd715b94445
/trains/views.py
daf18ca20ec8605a7099b09d6938dbf14986aae4
[]
no_license
abr-ya/django_trains_routes
c5f5054ebd7ae90689c8b873548839d7c2258a68
2483048f293ef0a17ee62de5ec02a70d6180735b
refs/heads/master
2023-05-02T08:57:18.821611
2019-09-27T08:51:56
2019-09-27T08:51:56
211,053,402
0
0
null
2023-04-21T20:38:10
2019-09-26T09:38:20
Python
UTF-8
Python
false
false
1,811
py
from django.shortcuts import render from django.views.generic.detail import DetailView from django.views.generic.edit import CreateView, UpdateView, DeleteView from django.urls import reverse_lazy from django.core.paginator import Paginator from django.contrib.messages.views import SuccessMessageMixin from django.contr...
[ "gamer05@list.ru" ]
gamer05@list.ru
1220ca9448bfb849dd34483c850bc5f2d5ba6069
0f3411225b51d13fd418814c02d153493b06c1b9
/app/admin/forms.py
4202c752dcb6839eed82ea82954fec18498e84fd
[]
no_license
ChenxiiCheng/flask-movie
9220decb79171281aa1348bd482f24fe1f2a3097
623ce5ba6c6379bed6b71adf321680e9cb5e6df3
refs/heads/master
2020-04-30T03:44:26.172855
2019-03-19T20:37:57
2019-03-19T20:37:57
176,594,138
1
0
null
null
null
null
UTF-8
Python
false
false
9,029
py
# coding:utf8 from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, FileField, TextAreaField, SelectField, SelectMultipleField from wtforms.validators import DataRequired, ValidationError, EqualTo from app.models import Admin, Tag, Auth, Role tags = Tag.query.all() auth_list = Au...
[ "chenxic1011@gmail.com" ]
chenxic1011@gmail.com
0eca627f4c45be939639e635e212db1bbd32098a
08ea30a1b532a749ef7c13838ac1bcec4949f184
/scripts/user_type/AVATAR_INFOS.py
c755f13c5dba7f116e3179671b85cdcdd9c342b7
[]
no_license
sjb8100/SailingWorldServer
b23053fbb4e52fc91794b0ade0da87907e03b5e5
783cbefebad2c65374fc86ecf5e9923e390c7d95
refs/heads/master
2020-04-05T05:13:54.804877
2018-05-15T09:48:48
2018-05-15T09:48:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
# -*- coding: utf-8 -*- import KBEngine import GlobalConst from KBEDebug import * class TAvatarInfos(list): """ """ def __init__(self): """ """ list.__init__(self) def asDict(self): data = { "dbid" : self[0], "Name" : self[1], "RoleType" : self[2], "Country" : self[3], "Sex" : se...
[ "86610076@qq.com" ]
86610076@qq.com
4cd21e735decb89c8f8517e5a9d9ad37539c3fcb
c33afad644823bff35e616de90713ba0db50c152
/xia2-attic/Applications/get_ccp4_commands.py
efef79c10fdb753c96a78144c97a0ca908db641a
[]
no_license
xia2/trashcan
fe58cc189cb167be6fdda131b8af04b6a126f114
05b2423823297b89e7dc1c5fb68285d1bfc8d48f
refs/heads/master
2021-01-01T19:02:19.523868
2015-07-21T11:41:19
2015-07-21T11:41:19
39,441,400
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
#!/usr/bin/env python import sys def get_ccp4_commands(lines_of_input): '''Get the commands which were sent to a CCP4 program.''' # first look through for hklin / hklout logicals = { } for line in lines_of_input: if 'Logical Name:' in line: token = line.split(':')[1].split()[0] ...
[ "graeme.winter@gmail.com" ]
graeme.winter@gmail.com
155a2bb409db4fa9ac633012bbf6998558d077c1
f2f186d8dcec0eff980708174a2b9c832fae6f0c
/modes/auth_shadow.py
39feafc7ba9c435acfe97f6182edecb13750deb5
[]
no_license
kriskowal/planes
9ebbd88d2390dbd6b2466292e5d242638c0bb361
42e47f81daf4f9b22016aff7aececb445ddfc089
refs/heads/master
2023-08-22T11:44:04.985531
2010-01-06T06:54:42
2010-01-06T06:54:42
460,408
1
0
null
null
null
null
UTF-8
Python
false
false
116
py
from planes.auth.shadow import validate from session import Mode class AuthShadow(Mode): validate = validate
[ "kris.kowal@cixar.com" ]
kris.kowal@cixar.com
69b4ff2c45e17a29ae22db730d223b467270eb6c
80bed44e9940d9e735579d8b55879b5e0246f3a5
/shop/admin.py
2eabee84aa967e59c34adac02089d9cacc46df02
[]
no_license
Cooleekova/DJANGO_exam_2021
4f770b6f521838c7e2a6d159393852c2766f16d4
7619ec3b8c968d949cc246d93ec9c5044b085c38
refs/heads/master
2023-08-18T14:28:53.333944
2021-10-09T16:43:39
2021-10-09T16:43:39
370,128,444
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
from django.contrib import admin from .models import Product, Review, Order, Collection, ProductsInOrder class ProductsInOrderInline(admin.TabularInline): model = ProductsInOrder extra = 1 class ProductInline(admin.TabularInline): model = Collection.products.through extra = 1 @admin.register(Produ...
[ "nushnushka@gmail.com" ]
nushnushka@gmail.com
0dec0523b91af91cdae6b33f9e261e0e5b9d01e8
4566c0be19b3897c5b5ab244f31683e44130f8aa
/Week 13/todo_project/todo_project/_auth/models.py
e5191416276d9f6f0a8c731d1af83e6b2078f55f
[]
no_license
Mynzhassar/BFDjango
0816947b4c78517eb7c6198d330676e1edaa737a
b5d9e6e2ccfbd368909490d1d3864115c5c350ee
refs/heads/master
2021-09-27T23:01:56.826400
2020-04-20T03:47:42
2020-04-20T03:47:42
234,598,977
0
0
null
2021-09-22T19:42:36
2020-01-17T17:19:00
Python
UTF-8
Python
false
false
2,625
py
from django.contrib.auth.base_user import AbstractBaseUser from django.contrib.auth.models import PermissionsMixin, UserManager from django.contrib.auth.validators import UnicodeUsernameValidator from django.core.mail import send_mail from django.db import models from django.utils import timezone from django.util...
[ "mynzhassar.forever5@gmail.com" ]
mynzhassar.forever5@gmail.com
a11a2391cc6d779cfd9290924d7825fc051b170f
b78054b77b6f839d131d60e229302a1cc4c085f7
/desktop_app/main.py
1f5f1b0c83792701ae4e9c8122db8b21a569c426
[]
no_license
red-lexinus/steganography_progect
af188c14594b57308d6a3d4e225fbfa17c293c61
49856c46c5a79badfd319e5340defd9cc58e822e
refs/heads/main
2023-05-03T21:28:27.444845
2021-05-26T04:43:14
2021-05-26T04:43:14
367,697,258
0
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
import sys from PyQt5 import uic from PyQt5.QtWidgets import QApplication, QMainWindow from steganography_in_text import Crypter, Decrypter import pyperclip crypt = Crypter() decrypt = Decrypter() class MyWidget(QMainWindow): def __init__(self): super().__init__() uic.loadUi('app.ui', self) # З...
[ "starshenkov3@gmail.com" ]
starshenkov3@gmail.com
def52a116bf376dedf74998548dae68b8f3264bb
b57d5954098b567f47b5f07763bc596221ca010b
/Project5/Draft/word2vec.py
f25c46126c8de5abbf8ce09db3cc7deec12d3e6e
[]
no_license
dhruvjoshi1998/CS343
415c7b4c4863c7e1141132202cd7d565e0a1f3a9
9e0577b7d735508bc5e45183cab0053a7ebfeae7
refs/heads/master
2020-08-10T10:56:11.422587
2019-12-15T22:35:07
2019-12-15T22:35:07
214,328,871
0
0
null
null
null
null
UTF-8
Python
false
false
13,018
py
'''word2vec.py Implements the Skip-gram Word2vec neural network CS343: Neural Networks YOUR NAMES HERE Project 5: Word Embeddings and SOMs ''' import re import numpy as np import network import layer from scipy._lib.six import xrange def tokenize_words(text): '''Transforms a string sentence into words. Parameters:...
[ "dhruvjoshi1998@gmail.com" ]
dhruvjoshi1998@gmail.com
823ed37769a12e58be255dd98388ccd5faf61277
58f2d10a3793399eef47ccb67190295c3f6a16f5
/W2/PAU2/t_area.py
e38c191aa0ea50cdd72b51f17a04a1dabcb1797b
[]
no_license
patrickdolloso/CS1101
eae54f3bf420c416ae71d434bbc54034ab20d09a
b968f1a4bd2a6b12d23c2a1623c8b2b3893b6dc2
refs/heads/master
2020-03-28T17:41:08.442683
2018-09-19T06:37:27
2018-09-19T06:37:27
148,813,462
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
# Patrick Dolloso s136699 CS1101 Programming Assignment Unit 2 # Assign the value 12 to the base variable: base = 12 # Assign the value 16 to the height value: height = 16 # compute area based on formula area = 1/2*base*height area = 0.5*base*height print('the area of the triangle is: ' + str(area))
[ "patrick.dolloso@gmail.com" ]
patrick.dolloso@gmail.com