blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
9a361f6a29904367c1778a30cee084b9bef68ac5
7738f409d5b77f3e5b5c05c99161f8c32fa282df
/inksculpt/src/accounts/tests.py
9829fd90fd1dd247514ff8a032fd78fc796ef7c7
[]
no_license
rishivamshi/inksculpt
f5384816d4a87bd1e0f46d82f14839f54cc53b36
1df6afe40d13e9db0fb3c096fd7364013990441a
refs/heads/master
2020-03-12T11:05:07.083412
2018-08-04T17:10:49
2018-08-04T17:10:49
130,588,228
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
from django.contrib.auth import get_user_model from django.test import TestCase # Create your tests here. from .models import UserProfile User = get_user_model() class UserProfileTestCase(TestCase): def setUp(self): self.username = "Some_USer" new_user = User.objects.create(username = self.username) def tes...
[ "rishivamshi0079@gmail.com" ]
rishivamshi0079@gmail.com
0acfaee2a19dd42351019acacada350f2ece6f31
fbe2c3b1feb69a5ce019c805594a49dc11c7e463
/astrality/tests/module/module_manager/test_persisting_created_files.py
c7cf4305b01e387d33b1c69a69fdc1345d8fd310
[ "MIT" ]
permissive
JakobGM/astrality
50630a26ef6428a0c1376269d71ddaa52912f374
72935b616f9a6a2e9254e9cd9319b525c596e8f0
refs/heads/master
2023-01-07T20:26:05.925893
2019-11-19T10:15:36
2019-11-19T10:15:36
117,895,437
114
7
MIT
2022-12-26T20:49:19
2018-01-17T21:34:33
Python
UTF-8
Python
false
false
2,518
py
"""Tests for ensuring that all files that are created are persisted.""" import pytest from astrality.module import ModuleManager from astrality.persistence import CreatedFiles @pytest.mark.parametrize('method', ['compile', 'copy', 'symlink']) def test_that_created_files_are_persisted(method, create_temp_files): ...
[ "jakobgm@gmail.com" ]
jakobgm@gmail.com
39222f55b34c02a94b87c3e7b29aed733706e2e9
2e3161076fd51d2e6a566653dbbd2058a8deda9c
/tests/conftest.py
5f333366b3b9f33007be9c6dc721a408527242a9
[ "MIT" ]
permissive
stainbank/simulocloud
c2053d7a22b00bcf31e4455d9ec883cc9af396ea
9667be8d2eef3500ad6bfdc76199d432bbcd0286
refs/heads/master
2021-01-14T08:24:18.664656
2017-07-24T18:29:45
2017-07-24T18:29:45
81,957,253
2
2
null
2017-06-13T16:41:36
2017-02-14T15:06:51
Python
UTF-8
Python
false
false
509
py
import pytest import simulocloud.pointcloud import simulocloud.tiles import os def abspath(fname, fdir='data'): """Return the absolute filepath of filename in (relative) directory.""" return os.path.join(os.path.dirname(__file__), fdir, fname) @pytest.fixture(params=[simulocloud.pointcloud.PointCloud, ...
[ "chad.stainbank@gmail.com" ]
chad.stainbank@gmail.com
7aab2e3a7a8b6e480f08228eebb6b13b48a4c092
66d92dcbe29dcbed7e159ee981828f272bfd5fe3
/Full Stack/day60Django/函数版根据不同的路径返回不同的内容.py
2d6bd40b329af9a60f59d0bacee245a335146c4a
[]
no_license
bagaki/Python
0f8e292aec3c33b8db94d75453f3a801712536be
cb7655ec58a997bbacf0480cffd9e72de26228ae
refs/heads/master
2021-05-16T16:40:27.083456
2018-10-13T03:08:40
2018-10-13T03:08:40
119,954,736
0
0
null
2018-02-03T02:32:43
2018-02-02T08:30:19
Python
UTF-8
Python
false
false
1,113
py
""" 完善的web服务端示例 函数版根据不同的路径返回不同的内容 进阶函数版,不写if判断了,用url名字去找对应的函数名 """ import socket sk = socket.socket() sk.bind(("127.0.0.1", 8080)) sk.listen(4) # 定义一个处理/bagaki/的函数 def bagaki(url): ret = 'Hello, {}'.format(url) return bytes(ret, encoding="utf-8") def tomoya(url): ret = 'Hello, {}...
[ "noreply@github.com" ]
bagaki.noreply@github.com
27175455b13f7f9029aeb649eab51391f2080bbf
6be8aa517e679b33b47d35f100e6590902a8a1db
/Math/Problem05.py
bd5e99bc0820fd1c4d6b55798e43ebf0508f2baa
[]
no_license
LeeJuhae/Algorithm-Python
7ca4762712e5e84d1e277abecb3bf39c9cbd4e56
729947b4428205adfbac194a5527b0eeafe1c525
refs/heads/master
2023-04-24T01:02:36.430970
2021-05-23T07:17:25
2021-05-23T07:17:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# https://www.acmicpc.net/problem/1722 import sys read = sys.stdin.readline n = int(read().strip()) cmd = list(map(int, read().strip().split())) cmd[0] -= 1 fact = [-1 for _ in range(21)] fact[0] = 1 for i in range(1, 21): fact[i] = fact[i - 1] * i def go(d, ans): global k, arr, fact if d == n: ...
[ "gusdn0657@gmail.com" ]
gusdn0657@gmail.com
b1774b3c31bf555336b3c8a6b628d33cc2e48183
b1bbfe2fa31d761d6a4658b022d344b5a0cb7dd8
/75-sort_colors.py
39f61b067e0807986b4de21cc9e0a9d6910a26bb
[]
no_license
stevestar888/leetcode-problems
f5917efc3516f8e40d5143b4dc10583c1e22dabd
844f502da4d6fb9cd69cf0a1ef71da3385a4d2b4
refs/heads/master
2022-11-12T05:01:02.794246
2022-10-28T16:45:48
2022-10-28T16:45:48
248,663,356
2
2
null
null
null
null
UTF-8
Python
false
false
1,384
py
class Solution(object): """ Two-pass algorithm using counting sort. First, iterate the array counting number of 0's, 1's, and 2's, then overwrite array with total number of 0's, then 1's and followed by 2's. TODO: can be done in place Runtime: 12 ms, faster than 99.10% of Python online submis...
[ "weareallhalfminotaur@gmail.com" ]
weareallhalfminotaur@gmail.com
c65381eabc7b6d43ed0b44838ef96d25e0eb2cd4
0c5b9ebee22450c214576f18929436527b26a1b0
/starfish/core/morphology/Merge/test/test_simple.py
f5e8ab5623aa77a99afea463b53830f01dce2371
[ "MIT" ]
permissive
spacetx/starfish
962b4e4a8c0c193acaa84c016a6edaef76c14769
853f56c7c02b15397adb921db5e3bde02fdadb63
refs/heads/master
2023-03-09T13:51:30.772904
2022-09-06T22:16:25
2022-09-06T22:16:25
92,539,237
211
75
MIT
2023-02-11T01:52:25
2017-05-26T18:45:11
Python
UTF-8
Python
false
false
3,186
py
import numpy as np import pytest from starfish.core.morphology.binary_mask import BinaryMaskCollection from starfish.core.morphology.binary_mask.test.factories import ( binary_arrays_2d, binary_mask_collection_2d, binary_mask_collection_3d, ) from starfish.core.morphology.util import _ticks_equal from star...
[ "noreply@github.com" ]
spacetx.noreply@github.com
1617621ce2482392b966b388185db6166724db0b
010be098dbda518d2f687a1f7ec96ea8b92d6676
/skiliobackup_13012021/skiliobackup_13012021/skilio.py
7f9f7b0ed4b29078408a87afcf4ea114c64b0d9d
[]
no_license
chunyikam/python-getting-started
20afb5b82ee264fc1a925e737656f33b17cd59b1
fc34769f1bbe4d640aa77894acd4ad4bd5832145
refs/heads/main
2023-02-14T13:27:53.161752
2021-01-15T17:10:49
2021-01-15T17:10:49
330,313,095
0
0
null
null
null
null
UTF-8
Python
false
false
53,673
py
# -*- coding: utf-8 -*- """ Created on Sat Jul 11 23:41:50 2020 this is the main codes for production @author: chuny """ import enchant import pandas as pd import nltk import os import re import numpy as np import datetime import json from nltk.corpus import wordnet, words #from dateutil.parser import parse from ...
[ "chunyikam@hotmail.com" ]
chunyikam@hotmail.com
97010012d18266225ed355f66a4e4daa96d085fb
49c715a71da32472e078be32c46ffe2c7315d253
/kontrollrommet_website/core_database/apps.py
1642077eebf1bab6106dfd521c635f2e7b2a951a
[]
no_license
janicheen/KontrollrommetBETA
aaddc92a3b58ecb2bbed5e0e79f7d3b461fe79e4
00a78e5ca8079beb327ceacd7fb4a02a9011ca06
refs/heads/master
2020-06-24T13:57:57.848532
2017-07-07T23:47:47
2017-07-07T23:47:47
96,937,738
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class CoreDatabaseConfig(AppConfig): name = 'core_database'
[ "janic@online.no" ]
janic@online.no
c3c7fee96a70c240b082b8855cb2a984acada6b2
3f845a1df057d5112fa1ebb0670011893bc303ea
/source/graphs.py
217aa12cfa0be77f781df1dce9429e94006bf1d5
[]
no_license
vashukovdanil/csv-analyzer
87a71333c31ab48525ad26a90fcc2c6fa8d1a768
c4329d49e9eb7d2b7b7b410ca34737e47c430195
refs/heads/main
2023-04-07T17:48:40.283494
2021-04-15T08:35:01
2021-04-15T08:35:01
328,407,831
1
0
null
null
null
null
UTF-8
Python
false
false
5,588
py
import matplotlib.pyplot as plt import pandas as pd from PyQt5.QtCore import Qt from PyQt5.QtWidgets import * from notifications import NotificationWindow class Graph(QWidget): def __init__(self, df): super().__init__() self.counter = 0 df = df.reset_index() df = df.i...
[ "noreply@github.com" ]
vashukovdanil.noreply@github.com
ffb833c28c34a881a69690609dc871509ab860cb
d508d639b8fb9e2983fba5b92751f1e3fa0242c2
/testing/preprocessing.py
a8c76159db3bdb97c70d8e61c4f466bd94568f04
[]
no_license
dawoodaijaz97/house_price
07fcbdeff0ad9c76c06b22fbb86d0df1c7108f09
8f4c463df47af4f44d232c33f4fa8e6ce350e555
refs/heads/master
2022-12-25T14:33:52.840515
2020-10-06T13:31:03
2020-10-06T13:31:03
297,949,934
0
0
null
null
null
null
UTF-8
Python
false
false
20,283
py
import pandas as pd import numpy as np from sklearn.impute import SimpleImputer from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.feature_selection import VarianceThreshold,chi2,mutual_info_regression,f_regression from sklearn.ensemble import RandomFor...
[ "dawood.aijaz97@gmail.com" ]
dawood.aijaz97@gmail.com
a200e9d36c10f3ee3b9f548db4f30482082df07a
54052141808b99326f2f727af290fb8f4b75ab50
/standbylist/api/migrations/0001_initial.py
40d60598a16840deacc8feacb2cb784aa623e1d9
[]
no_license
dina-shoham/vaccine-standby-list
6174589454d9e57d78ebe10644cc2fd1dd6af132
bdffe0ba801e537f1885dde511f1c14b4f28d0ce
refs/heads/main
2023-02-27T14:48:37.459843
2021-01-31T09:21:47
2021-01-31T09:21:47
334,307,634
2
0
null
2021-01-30T02:18:31
2021-01-30T02:04:48
Python
UTF-8
Python
false
false
4,105
py
# Generated by Django 3.1.5 on 2021-01-30 15:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Address', fields=[ ...
[ "alena.midgen@gmail.com" ]
alena.midgen@gmail.com
1a6e9a08eff0dc4e0a359428d496bdc5132b8c65
a7928a1e28c217db4e8c9f803b4b506fa3ab6f7d
/4.py
0e9db9d0b1894f5e2d285bee7dd14624b08f1816
[]
no_license
Dunaev-Al/2homework
54b01eed100d7b5a20463a88908c83ceb86a2b90
20ec1d301555c0cb8381b888c5c7409b5caa8f3f
refs/heads/dev
2022-12-13T22:44:04.789222
2020-09-01T00:31:32
2020-09-01T00:31:32
291,854,261
0
0
null
2020-09-01T00:33:15
2020-09-01T00:21:53
Python
UTF-8
Python
false
false
312
py
user_string = input('Введите строку: ') words_list = user_string.split() for index in range(0, len(words_list)): if len(words_list[index]) >= 10: print((int(index) + 1), 'слово: ', words_list[index][:10]) else: print((int(index) + 1), 'слово: ', words_list[index])
[ "dunaev1999@gmail.com" ]
dunaev1999@gmail.com
029ba25a2e27f6afb94c50f982c6f3a1657fc19f
852dac5a9531fffe6b532a1f3e40ce7f61e114b9
/main/utilities.py
91cc832dc7f3210e093329db6094eaa3f9335ffc
[]
no_license
Banananick19/CompGeek_product
8b074f9d02fe27d5498556a9a7367904d1dad9a2
f046987aa8f93f0e9fb2cc0b22e041d5b96e9461
refs/heads/main
2023-02-06T04:54:43.654431
2020-12-26T07:24:45
2020-12-26T07:24:45
310,645,678
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger def transliterate(string): # Слоаврь с заменами slovar = {'а': 'a', 'б': 'b', 'в': 'v', 'г': 'g', 'д': 'd', 'е': 'e', 'ё': 'e', 'ж': 'zh', 'з': 'z', 'и': 'i', 'й': 'i', 'к': 'k', 'л': 'l', 'м': 'm', 'н': 'n', '...
[ "banananick19@mail.ru" ]
banananick19@mail.ru
ae35e52e9c23e00a1c10ee7737736ae3d9e9d719
aef7ea4afcd417fec8b861df5865bf93c4b9fcde
/startFundraiser/apps.py
bfa3b068bb2993f8a9b17c0ddcb6def33e8a0153
[]
no_license
shiva-01/icebreaker--ASE-pro
9ee1c7c6d7559345491da5e12b875d08b07c007b
746f4a8a248738a851fafe96378bb0d55321ce15
refs/heads/master
2022-12-09T08:45:08.131927
2019-01-22T13:42:26
2019-01-22T13:42:26
166,686,914
1
0
null
2022-12-08T01:21:08
2019-01-20T17:06:47
CSS
UTF-8
Python
false
false
110
py
from django.apps import AppConfig class StartfundraiserConfig(AppConfig): name = 'startFundraiser'
[ "ruthala.charan512@gmail.com" ]
ruthala.charan512@gmail.com
ec51a2c268481d48cc82a004658d99ace07708a4
6610e8b7d715d28df179217b0222b6a74d7b01f3
/Contents/Libraries/Shared/omdb/api.py
e7c5f60a9f295f608c0cf9f27a8d959315e9eca3
[]
no_license
BigmIkeX/FMoviesPlus.bundle
f479b96dabbda8a70944a7c44717a9b7a6abc5c0
7789e6137df8a86f6c9f9a78fc478ab89696e3d0
refs/heads/master
2020-05-22T09:39:12.049063
2019-05-09T20:54:25
2019-05-09T20:54:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
"""Public interface for omdb module Accessible via: import omdb """ from .client import Client # Internal client instance used for our requests. _client = Client() def set_default(key, default): """Proxy method to internal client instance that sets default params values. """ _client.set_defaul...
[ "coderalphaakv@gmail.com" ]
coderalphaakv@gmail.com
476ccba49a18e2d3356d794c26547cdac706b13b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2344/60581/246336.py
5e8a23f13ab4797d8c3277856fd1dc425e03eb8f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,584
py
import sys lst = [] for line in sys.stdin: if line.strip()=="": break lst.append(line) input = [] #读入处理 for i in range(0,len(lst)): theLine = [] j = 0 while j < len(lst[i]): str = '' judgeWord = False judgeNumber = False if lst[i][j]>='A' and lst[i][j]<='Z':...
[ "1069583789@qq.com" ]
1069583789@qq.com
5fa09d85ca3a76dd3177ccf4c3898666849740b5
a595f0f6db3fff200eb22942032afc666720dac5
/utils.py
f49aa1fe8464418c3f5cc65c105f988246638f20
[ "Apache-2.0" ]
permissive
gouthamgopal/Boggins
e4d46a9c578c76b827350a65544e36290392fabf
f539be0081b34e579b35379484a1ac44c0936224
refs/heads/master
2020-12-05T03:23:28.807233
2020-01-06T00:51:18
2020-01-06T00:51:18
231,996,528
1
0
null
null
null
null
UTF-8
Python
false
false
2,609
py
import matplotlib.pyplot as plt import numpy as np from scipy.misc import imread, imresize import tensorflow as tf from config import * def sample_images(batch_size, high_resolution_shape, low_resolution_shape): """ :param data_dir: :param batch_size: :param high_resolution_shape: :param low_reso...
[ "goutham.gopal94@gmail.com" ]
goutham.gopal94@gmail.com
4a91e102ba4c2afba9483d90b46fba0026049ae4
734f75346781f85d6194dca1ecabef167a5b2492
/hello_world.py
cc7ffb8f558527a3e09de281d09d2dcf61b6dbc2
[]
no_license
Kaduki/test
2db7b63c1972cba28bf1ccc841fa22c2ec82f529
1fd4aad4a20aa1d86fd5a8cb329017e8a36f80c5
refs/heads/master
2016-09-05T11:47:44.419403
2015-07-01T06:50:20
2015-07-01T06:50:20
30,430,637
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
print "hello world!!! from GIT"
[ "kkaito@ncsu.edu" ]
kkaito@ncsu.edu
4a4a23e8b49a1a9d7382bc7f3f23df345aef6af1
2d5cc685fd861c16a44e6578dff659bc197d44f8
/ioflo/aid/__init__.py
bc7963f4557e7b278b7b88d81bcbd4bb25ffcb27
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dreamerparadise/ioflo
b642e3325760d124c8c608cefd3fb23c408785ff
177ac656d7c4ff801aebb0d8b401db365a5248ce
refs/heads/master
2023-04-03T04:05:24.934544
2020-11-19T22:07:49
2020-11-19T22:07:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
""" aid package helper and utility modules """ # frequent imports from .odicting import odict, lodict, modict from .osetting import oset from .consoling import getConsole
[ "smith.samuel.m@gmail.com" ]
smith.samuel.m@gmail.com
2c38e8e0d9f2d53815bc0ffa9317b1fc3ddc5c28
422dd5d3c48a608b093cbfa92085e95a105a5752
/students/mayc4t/lesson07_part1/main.py
d4c9f40e78e3c5ebff1ac85e856174740bc336f5
[]
no_license
UWPCE-PythonCert-ClassRepos/SP_Online_Course2_2018
a2052fdecd187d7dd6dbe6f1387b4f7341623e93
b1fea0309b3495b3e1dc167d7029bc9e4b6f00f1
refs/heads/master
2021-06-07T09:06:21.100330
2019-11-08T23:42:42
2019-11-08T23:42:42
130,731,872
4
70
null
2021-06-01T22:29:19
2018-04-23T17:24:22
Python
UTF-8
Python
false
false
5,389
py
""" Learning persistence with Peewee and sqlite delete the database to start over (but running this program does not require it) """ import logging from model import * def add_people(database, logger): logger.info('Working with Person class') logger.info('Note how I use constants and a list of ...
[ "lily12A@gmail.com" ]
lily12A@gmail.com
2b33833a0acfaa0271ed33e0c5d3d81912b5fdc9
7c17817f898ef8e3d111adaf862cbaf73f40deee
/cleansing/relevant_bids_reviews_clean.py
c8dec2d9f0474d4c44849c5387c5da64718100ce
[]
no_license
navitgaur/Yelp-Restaurant-Classification-Using-Customer-Reviews
5dbe8d8d4aa68ed52f4cd312830efa9534b0f8ed
db5b50f6c90e6cbed19d72e83b9e6f87b6e0537b
refs/heads/master
2021-01-17T17:39:15.061956
2017-02-24T06:49:55
2017-02-24T06:49:55
83,010,254
0
1
null
null
null
null
UTF-8
Python
false
false
1,462
py
import json from nltk.corpus import stopwords import re source_dir = '/home/svadhera/Documents/yelp_dataset_challenge_academic_dataset/original_data/' target_dir = source_dir + 'processed/' filename = 'relevant_business_ids_and_reviews.json' # stop words taken from nltk library stop_words = set(stopwords.words("engli...
[ "navit.gaur@sjsu.edu" ]
navit.gaur@sjsu.edu
ffe97045bece4d6418b1a094edc6c0a0c614dc18
184bb71da393efca8d5d3d5098eeca9ae00496ba
/VDAO_Access/Annotation.py
379a3984161b84d6f0e23ec9cc33890eaee68f9e
[]
no_license
wesleylp/DeepLearning-VDAO
c2120ed1c754d02fd26dff84ad72b4f352064674
872acab600aec6d53db3977da0d14229a8d8ee3c
refs/heads/master
2020-03-19T08:33:25.598005
2018-08-20T18:06:08
2018-08-20T18:06:08
136,214,152
2
0
null
2018-06-05T17:48:22
2018-06-05T17:48:22
null
UTF-8
Python
false
false
5,678
py
import os import utils import sys class Annotation: """ This class represents a .txt file containing the labels and bounding boxes of objects in a given video. Developed by: Rafael Padilla SMT - Signal Multimedia and Telecommunications Lab COPPE - Universidade Federal do Rio de Janei...
[ "rafael.padilla@smt.ufrj.br" ]
rafael.padilla@smt.ufrj.br
eb86106a321ead443d3fef7263cc6bf014b7c342
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/shared/utils/requesters/IntSettingsRequester.py
5167f471034e02e31839cd698900e678c4a0e863
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
4,446
py
# 2017.08.29 21:50:18 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/shared/utils/requesters/IntSettingsRequester.py import BigWorld import copy import constants from adisp import async, process from debug_utils import LOG_ERROR, LOG_WARNING from gui.shared.utils import code2str class IntSettingsR...
[ "info@webium.sk" ]
info@webium.sk
00485d0224f2843e121b4aa05f91f530a9de10b8
f995f9822dc59181626a1e592e3b9a8cf9d7b453
/myvenv/bin/pip3.6
33f7303eb7af2de1705e41e9b0eb05a965e3e37b
[]
no_license
hlorofilka/my-first-blog
4e0d155d0b4451c897d877714610378e55a58c15
ebfc02a518686c160046d1f0758ed621a0c59b07
refs/heads/master
2020-05-16T10:25:52.322963
2019-04-24T14:17:47
2019-04-24T14:17:47
166,085,479
0
0
null
null
null
null
UTF-8
Python
false
false
251
6
#!/Users/dashaskalkina/djangogirls/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "hlorofilk@mail.ru" ]
hlorofilk@mail.ru
a0f66b7d8db03e702fc214f4eb1f4601311e09c6
d4684738cb322ddd5c47feb8657ed0550edb2f40
/tools/protodoc/protodoc.py
876a84ba346310ca5180b2c2136dba0a0c5e08bf
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
keith/envoy
a80ec224eb1589230fa79e22826472901e5380cc
6e5a79b06f121e0abda544a6124712faf9034ff4
refs/heads/adaptive-concurrency-framework
2023-08-08T21:53:34.806151
2018-08-14T02:41:18
2018-08-14T02:41:18
174,034,459
3
2
Apache-2.0
2023-05-23T16:37:20
2019-03-05T23:09:27
C++
UTF-8
Python
false
false
25,195
py
# protoc plugin to map from FileDescriptorProtos to Envoy doc style RST. # See https://github.com/google/protobuf/blob/master/src/google/protobuf/descriptor.proto # for the underlying protos mentioned in this file. See # http://www.sphinx-doc.org/en/stable/rest.html for Sphinx RST syntax. from collections import defau...
[ "noreply@github.com" ]
keith.noreply@github.com
a16bd241bd21dd97d1b8a5a7a1517e3416efbaf7
6310c834caf9f775d1ddeb0328a41d5648a733fa
/source/news_client/apps.py
d6b5afd22eed6a596ea215f66abe4ab00017b054
[]
no_license
big-arturka/test_task
54205245d26c966dd4c3982dc6809d8c989f2cad
8dc37994754f7ef04c5c697b5090be65f7058ebd
refs/heads/master
2023-06-06T19:36:38.291673
2021-07-08T05:55:32
2021-07-08T05:55:32
321,126,387
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class NewsClientConfig(AppConfig): name = 'news_client'
[ "arturkrmnlv10@gmail.com" ]
arturkrmnlv10@gmail.com
25db776581e2d9ad3ba30c7a8b084805b99d7a72
7742b635b174ab22077e7895c38f3719daf70daf
/common/schedulers.py
a7f17339eb70b24ad32351048512b30f8377cb25
[]
no_license
ashigirl96/rl_snippets
1d94306c25e2920fdf27d248a1a34879bfa78d52
7ff35b726053e96ab2106d5d297d8b074d807229
refs/heads/master
2020-03-07T23:18:58.261657
2018-06-23T11:55:04
2018-06-23T11:55:04
127,777,955
0
1
null
2018-06-14T10:55:03
2018-04-02T15:52:48
Python
UTF-8
Python
false
false
1,941
py
"""Schedulers.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function def linear_interpolation(l, r, alpha): return l + alpha * (r - l) class PiecewiseSchedule(object): def __init__(self, endpoints, interpolation=linear_interpolation, outside_value=None)...
[ "reon@mma.cs.tsukuba.ac.jp" ]
reon@mma.cs.tsukuba.ac.jp
22636a5133762f5113ca9300f370c9e3c8a64fc3
4e2370745d7c6fba99e0a6b7722be2d8e5d56c27
/模板模式/bfs-dfs.py
d7e7f7699e07e2fa144f11e79bb24a2888c85c21
[]
no_license
wangjifei121/python-design-mode
4f27eac93446530acf93fc3c0406d7999fd0ef69
8c7d9e3c23623388fe7b57c750568c9538c13ff8
refs/heads/master
2020-04-02T12:07:03.202465
2018-10-24T01:27:03
2018-10-24T01:27:03
154,419,909
0
0
null
null
null
null
UTF-8
Python
false
false
2,907
py
""" sorted()这样的函数属于理想的案例。现实中,我们没法始终写出100%通用的代码。许多算法都有一些(但并非全部)通用步骤。 广度优先搜索(Breadth-First Search,BFS)和深度优先 搜索(Depth-First Search,DFS)是其中不错的例子. """ def bfs(graph, start, end): """ 广度优先搜索(Breadth-First Search,BFS) :param graph: 城市列表 :param start: 出发地 Frankfurt :param end: 目的地 Nurnberg """ path...
[ "18500327026@163.com" ]
18500327026@163.com
afcfa24ce0a6237a0b2d184057852ff9988ac998
742fceefd39dae981fc528a2a58a0ac735b4beb4
/books/accounts/tests.py
9f6cdb6e0a7f0a2c2cddc05914726f583cf2082c
[]
no_license
kzkaneoka/django-for-professionals
cf6a973d117b9f48e10ec1128385a9914d724d8f
fa40f18205cde3ff40936af67b2cc8691a59e0c6
refs/heads/main
2023-03-23T00:12:14.905860
2021-03-16T04:48:36
2021-03-16T04:48:36
345,225,953
0
0
null
null
null
null
UTF-8
Python
false
false
1,904
py
from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse, resolve class CustomUserTests(TestCase): def test_create_user(self): User = get_user_model() user = User.objects.create_user( username="will", email="will@email.com", passwo...
[ "kzkaneoka@gmail.com" ]
kzkaneoka@gmail.com
338acf90df73ddc089b851238d6d54e2b1879218
026ee4a8bcbd438ec14de04c7b3516c462fa35c0
/rosbuild_ws/src/behavior_manager/src/behavior_manager/srv/_DeactivateBehavior.py
fb12dcfc6b1929a5f0c68306c22b694ba6478611
[ "BSD-3-Clause" ]
permissive
Boberito25/ButlerBot
147fee6763863a8988d1969d7144cc8a17c7510b
959f961bbc8c43be0ccb533dd2e2af5c55b0cc2a
refs/heads/master
2021-01-23T00:10:01.907481
2014-05-05T18:03:34
2014-05-05T18:03:34
11,519,861
0
0
null
null
null
null
UTF-8
Python
false
false
6,738
py
"""autogenerated by genpy from behavior_manager/DeactivateBehaviorRequest.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class DeactivateBehaviorRequest(genpy.Message): _md5sum = "03729983c4b9be7a4f2b56846a7ccbdc" _type = "behavior_manager/Deact...
[ "vsunder@Jeeves.(none)" ]
vsunder@Jeeves.(none)
72386b6d59178eab9a5507814a194401f40745ce
3f3125fe0e296ed33cdad755b086aa7cfcf6d6b4
/astute-dashboard/astutedashboard/dashboards/billing/config/views.py
20b836a4438f3388483a47652d3d5929cedfd48f
[ "Apache-2.0" ]
permissive
sreenathmenon/astute-project
9065923226be6eb9e309a97ba41c5ba3ec5b188d
00590f769742c44460ef892a803c601a5403e165
refs/heads/master
2021-04-30T02:05:25.890023
2018-07-19T06:28:53
2018-07-19T06:28:53
121,495,094
0
1
Apache-2.0
2018-02-24T10:35:14
2018-02-14T09:56:46
Python
UTF-8
Python
false
false
7,033
py
# # Copyright 2017 NephoScale # from django.core.urlresolvers import reverse from django.core.urlresolvers import reverse_lazy from django.utils.translation import ugettext_lazy as _ from horizon import exceptions from horizon import forms from horizon import tables from horizon import tabs ''' from astutedashboard....
[ "sreenath.mm@poornam.com" ]
sreenath.mm@poornam.com
6ab39153de2ed16fddaf2d99c832cbb8a87e5de8
aa333ebda23f8aba6d6499799d362a0aa7964632
/ml3/sine_task_sampler.py
18696aa89eecd40b2c83947d401e3a75a22e8583
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Srivignesh99/LearningToLearn
ef333394a82b24a1fe1497104455d49553729230
ab6c412fe3a36cbfaec28f16d66f17c5b430e62a
refs/heads/main
2023-02-26T03:18:36.541954
2021-02-02T00:06:57
2021-02-02T00:06:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,514
py
import numpy as np import torch class SineTaskSampler(object): def __init__(self, num_tasks_total, num_tasks_per_batch, num_data_points, input_range=[-5.0, 5.0], amp_range=[1.0, 1.0], freq_range=[1.0, 1.0], phase_range=[np.pi, np.pi], ...
[ "noreply@github.com" ]
Srivignesh99.noreply@github.com
0d5612b10b9d4ae1e7f93123afb238011de5556e
f25ffa3370e9fef64d22c1d639051b1dfea249fa
/crypto/test/SConstruct
fdf7840c9447955b9b1d2b2e644bad970526f938
[]
no_license
sjkingo-archive/comp3301-a2-spec
d809a836ffbea155284c5314e3cb5261483de29b
754a9cf23e7395961237df6b19303fce49bafdf5
refs/heads/master
2016-08-06T19:05:10.194681
2015-06-20T00:00:58
2015-06-20T00:00:58
37,751,102
0
0
null
null
null
null
UTF-8
Python
false
false
106
env = Environment( CFLAGS=['-Wall', '-Wextra', '-g', '-std=gnu99'], ) env.Program('smode', 'smode.c')
[ "sam@sjkwi.com.au" ]
sam@sjkwi.com.au
43d9d5839c1f40e7e162a5febf3a56661ec3ce41
816606d0f9d1c342b9995b948fc8c65d283cf3bd
/model/ner_model.py
19e76003f8e9d574139769117aca21f790eeadd2
[ "Apache-2.0" ]
permissive
LiangsLi/seq_tagging_extra
1beaf63dc109792809179361cb3137ace37c673a
bfad97b36e6c00c0e66ca8995fa30d7f60cf27de
refs/heads/master
2020-03-23T17:44:25.121060
2018-07-23T06:49:33
2018-07-23T06:49:33
141,872,973
0
0
Apache-2.0
2018-07-23T06:49:34
2018-07-22T06:52:19
Python
UTF-8
Python
false
false
16,542
py
import numpy as np import os import tensorflow as tf from itertools import chain from .data_utils import minibatches, pad_sequences, get_chunks from .general_utils import Progbar from .base_model import BaseModel class NERModel(BaseModel): """Specialized class of Model for NER""" def __init__(self, conf...
[ "poales@sina.com" ]
poales@sina.com
4bff152fa8ed6f0e3d38debf95906289794e5f18
7ca69b055210451b41fa4ab7619b318f31bfd191
/LGA/manage.py
f4b3e00a844261d8c80fac7602c455e971760f9a
[]
no_license
helius-team/projectForLAG
d34ca5fb0cd52b4c47d87fdf22b25ca44b9586b1
54dd68f04baa1c964868e9d3240aeadf4765937f
refs/heads/master
2020-04-11T08:08:22.493939
2018-12-13T12:47:50
2018-12-13T12:47:50
161,633,187
0
1
null
null
null
null
UTF-8
Python
false
false
535
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'LGA.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you ...
[ "32494347+Medezee@users.noreply.github.com" ]
32494347+Medezee@users.noreply.github.com
c699bc32127b8584ebb9ae1852fe8baa996cea26
0f7d186164cafdd90b3e0baae0b5573fead049b4
/多任务/线程/07-线程共享全局变量.py
5b263873df2b9925669df27515c6809dbc31f50f
[]
no_license
DominicRen/Python-learning
603b31ff173cbc0782b3cf3da12d5e0834a74402
a9e7ded5fc0e2a760cee9887d87700769a3b9b6d
refs/heads/master
2022-12-03T07:43:01.052201
2019-04-05T04:10:42
2019-04-05T04:10:42
179,615,987
1
2
null
2022-11-28T19:13:32
2019-04-05T03:54:26
HTML
UTF-8
Python
false
false
490
py
import threading import time # 定义一个全局变量 g_num = 100 def test1(): global g_num g_num += 1 print("-----in test1 g_num = %d-----" % g_num) def test2(): print("-----in test2 g_num = %d-----" % g_num) def main(): t1 = threading.Thread(target=test1) t2 = threading.Thread(target=test2) t1.st...
[ "ren_9510@163.com" ]
ren_9510@163.com
a797ad4aa0901df584d197d3311931220a7fa063
b38c1d72d7c5d688a5f0942895a5f762880196b6
/blog/migrations/0001_initial.py
c589b4b16fa74505689fe1d50d1e5effa764d2fc
[]
no_license
zdimon/angular
c8a9874b427ca5bb4899c51c0dc0ba0d96191039
ea625523761d6b3300c9d9fb3c0aa7070fb634da
refs/heads/master
2020-05-17T01:28:35.187898
2015-07-17T15:29:16
2015-07-17T15:29:16
38,496,687
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(verbose...
[ "zdimon77@gmail.com" ]
zdimon77@gmail.com
67b2a52ec7eb04fbc8eb8dce6312fd2b614f37a3
ef2018f6e2c8ccabf89cc5f0780cd8ded8db50c0
/textreuse/fine_tuning/original_skipthought.py
f9dc21db43a4e8a69e8f8ba58f37585b6f07d8f2
[]
no_license
emanjavacas/text-reuse
a8d14bfb105b30a3f7cf732f999027186ea899bd
96e39a2e6982677f7d1f6b0f8397977155481b33
refs/heads/master
2022-01-05T22:13:54.800591
2019-06-04T19:51:12
2019-06-04T19:51:12
115,821,869
1
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
import os import numpy as np import skipthoughts from textreuse.datasets import default_pairs, opusparcus_pairs from textreuse.datasets import PATHS, OPUSPARCUS_PATH if __name__ == '__main__': model = skipthoughts.load_model() for dataset in PATHS: for split in PATHS[dataset]: print(da...
[ "enrique.manjavacas@gmail.com" ]
enrique.manjavacas@gmail.com
e80b2c632811677af15c91426fdb116e3238f867
1b082458d2815b7671a5d77e809834184e0dabfa
/vcr/request.py
bbe950b3edd673d60637aff3f6c8f797cf48f426
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
afthill/vcrpy
6e4cc1cb842ddec75b73e579a12cf4ae7fb7ca8a
5aa2fb017f8aad3455ff3291f2f749a5a45664fe
refs/heads/master
2022-05-01T04:32:57.896556
2014-04-27T22:05:19
2014-04-27T22:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
class Request(object): def __init__(self, protocol, host, port, method, path, body, headers): self.protocol = protocol self.host = host self.port = port self.method = method self.path = path self.body = body # make headers a frozenset so it will be hashable ...
[ "me@kevinmccarthy.org" ]
me@kevinmccarthy.org
6a602ac63ceff3c935f7505cec4e8ce3632c4a66
0d6b7553627d9108f822477ed8d794df153579cd
/scripts/generate_reId_dir.py
deae483fc06cc19e6260a2aab1ba65ad1e4e0c9b
[]
no_license
WW2401/caffe_train
3fac962a9762d1cfc9910af57630e7164adb9050
fafd616ed96b88f627a25107fed9655d08cc8007
refs/heads/master
2020-09-17T10:08:54.755050
2019-11-25T12:38:02
2019-11-25T12:38:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
import shutil import os market_1501_dir = '../../dataset/reId_data/Market-1501-v15.09.15/gt_bbox' mark_1501_align_dir = '../../dataset/reId_data/Market-1501_align' def generate_name_dir(srcDir, disDir): if not os.path.isdir(disDir): os.makedirs(disDir) for imgfile in os.listdir(srcDir): srcimg...
[ "yuqj@deepano.com" ]
yuqj@deepano.com
2b784f48a7d1e789e0051df31ca63854262985b6
88f46e6c381dbfacdf701eae84c0b187cae0747a
/methods/shared.py
80a1cf936b591db8d91c880fd1b7f005af5ea7c0
[]
no_license
EduardoVernier/landmark-based-dynamic-projections
549cd5ae1e65ea24d53a2d60d9ab14be8eaefcfd
c5420eea850a06b5d19b0b311fe0ee25a0757f35
refs/heads/master
2023-05-08T15:28:32.664766
2021-05-28T08:47:12
2021-05-28T08:47:12
234,282,575
0
0
null
null
null
null
UTF-8
Python
false
false
3,942
py
import numpy as np import pandas as pd import cv2 import re import glob import natsort from sklearn.utils import shuffle # Load drawings from the quickdraw/fashion dataset def load_drawings(base_path): categories = list(set([img.split('/')[-1].split('-')[0] for img in glob.glob(base_path + '*')])) X = [] C...
[ "efvernier@gmail.com" ]
efvernier@gmail.com
b8c63e2a9ff5b3b420514c6b6366cbaa77806197
00b669412e2e875ffe0686e3806d91a317000f2a
/exercicios-python/ex089.py
ac0e9b94157e974f3a65efe7ebd1a35d07cca686
[]
no_license
quintasluiz/devaria-python
3923e4cb4caa4e01d75a4f73bcc2d9e3388e5e11
932e0a54483193c90011b4fcc1edc023335ef59b
refs/heads/main
2023-06-09T21:02:00.731941
2021-06-28T17:42:11
2021-06-28T17:42:11
376,903,539
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
ficha = list() while True: nome = str(input('Nome: ')) nota1 = float(input('Nota 1: ')) nota2 = float(input('Nota 2: ')) media = (nota1 + nota2) / 2 ficha.append([nome, [nota1, nota2], media]) resp = str(input('Quer continuar? [S/N]')) if resp in 'Nn': break print('-='*30) print(f'{"...
[ "79282765+quintasluiz@users.noreply.github.com" ]
79282765+quintasluiz@users.noreply.github.com
d6cac20aa12d749297a858a8968dcdd59024491d
ad846a63f010b808a72568c00de016fbe86d6c35
/algotradingenv/lib/python3.8/site-packages/IPython/sphinxext/ipython_console_highlighting.py
e07bcc007d0673032ff83deee60ef9272ebd015b
[]
no_license
krishansinghal29/algotrade
74ee8b1c9113812b1c7c00ded95d966791cf76f5
756bc2e3909558e9ae8b2243bb4dabc530f12dde
refs/heads/master
2023-06-02T01:53:24.924672
2021-06-10T09:17:55
2021-06-10T09:17:55
375,641,074
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
""" reST directive for syntax-highlighting ipython interactive sessions. """ from sphinx import highlighting from IPython.lib.lexers import IPyLexer def setup(app): """Setup as a sphinx extension.""" # This is only a lexer, so adding it below to pygments appears sufficient. # But if somebody knows what...
[ "krishansinghal29@gmail.com" ]
krishansinghal29@gmail.com
2df52fb16d7d48c296b17e5db4333179d3dcaf3a
dff2b1b20601168aecccc454764faa3d6fa54318
/visualdns/handlers/AlertPageHandler.py
c2f560d73c93623d88e2f55abe0e6ab41d9ef984
[]
no_license
whisp1830/dns_anomaly_detect
7effffa3b4df34069c9020e14d7f3660173a3a3a
c97478eeaa020914667fcf6772f3e103f1eec9f7
refs/heads/master
2022-05-07T23:37:26.525038
2020-04-24T13:01:16
2020-04-24T13:01:16
228,736,680
2
3
null
null
null
null
UTF-8
Python
false
false
283
py
import sys,os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR) import math import json import random import datetime from BaseHandler import BaseHandler class AlertPageHandler(BaseHandler): def get(self): self.render("alert_detail.html")
[ "whisp@whispdeMacBook-Pro.local" ]
whisp@whispdeMacBook-Pro.local
0ef48c404fe6b7fa55da65dc7a87037e018860a4
998991df6a2afe0b8c6868cc81382d092a9ca165
/spark/pyspark_sql/pyspark_sql.py
aeafeadade225a151d8e977f6547c2561ae3028e
[]
no_license
big-roc/Python3Projects
797d255f96993f583a1d87debc05edabcd6f0e02
8cb8b3882219bdfe5fa65d16abf5d4ffb3185994
refs/heads/master
2023-01-22T21:43:08.359316
2020-12-08T07:00:34
2020-12-08T07:00:34
309,912,537
0
0
null
null
null
null
UTF-8
Python
false
false
6,140
py
# coding:utf8 import os import json import requests import datetime from os.path import abspath from pyspark.sql import SparkSession from pyspark.sql.types import StructType, StructField, StringType, ArrayType os.environ["SPARK_HOME"] = "D:/software/spark-2.4.2-bin-hadoop2.7" warehouse_location = abspath('/user/hive/...
[ "18666297422@163.com" ]
18666297422@163.com
595c01bd43d08b6b8b738334caae83010da66da1
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayMarketingDataDashboardApplyModel.py
25bfe04a2359d1e8304fbfc2eb32f13f51baf790
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,390
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayMarketingDataDashboardApplyModel(object): def __init__(self): self._dashboard_ids = None @property def dashboard_ids(self): return self._dashboard_ids @dashboa...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
bf77e59520837cbd065542476fdad5c4d1c0a67f
d3e723fe5eb20b868ed6bc7e3d228eba368f22ef
/feedly/feeds/redis.py
03755ba7a7ced91466e476809ae1a508fc9d880f
[ "BSD-3-Clause" ]
permissive
intellisense/Feedly
f33fa42a0f41b73e8e728813ed311d06bd8fb668
4c5fb74aee56e5ff382417301a4825b151c474b0
refs/heads/master
2020-05-29T11:36:24.157740
2014-02-24T16:27:33
2014-02-24T16:27:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
from feedly.feeds.base import BaseFeed from feedly.storage.redis.activity_storage import RedisActivityStorage from feedly.storage.redis.timeline_storage import RedisTimelineStorage from feedly.serializers.activity_serializer import ActivitySerializer class RedisFeed(BaseFeed): timeline_storage_class = RedisTimeli...
[ "thierryschellenbach@gmail.com" ]
thierryschellenbach@gmail.com
d24441e40e800b1176311fbd8cd4288f21d16f97
db0af5141f449ee25de125da810587428c7617d7
/enquiries/migrations/0001_initial.py
067db8b89250a9ed465fca1406a3fa6375d0f3fd
[]
no_license
sunguru98/btre_project
4ad68e1996c36a1a9f500709c1087abe16f6a1ee
e9773038386aceba48d244176da9590a947b557a
refs/heads/master
2020-04-09T12:28:20.854963
2018-12-12T13:21:47
2018-12-12T13:21:47
160,351,451
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
# Generated by Django 2.1.4 on 2018-12-12 03:59 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Enquiry', fields=[ ('id', m...
[ "sunguru98@yahoo.co.in" ]
sunguru98@yahoo.co.in
82c2aa4d0eaae1c30b6b3a4280b8c5fe077a097d
0855c62efcf587975451e94db920d2323402d673
/vonage/__init__.py
d12f6df8150d5416972ac84ff20cd79bd8e6cbaf
[]
no_license
Psycadelik/Vonage-QnA-app
f18b5765c1e08fc1ebefac9dca14123a939a17ae
6044e2e98d341667959c4a9a9de024c4f389ffef
refs/heads/master
2022-11-11T08:17:05.897483
2020-07-07T13:19:13
2020-07-07T13:19:13
270,303,959
1
1
null
null
null
null
UTF-8
Python
false
false
2,499
py
import os import subprocess from flask import Flask, request, jsonify from vonage.config import configs from vonage.nexmo import nexmo_sms from vonage.fetch_phone_number import phone_number from dialogflowapi.intent_texts import detect_intent_texts from two_way_sms_api.send_sms import send_sms def create_app(environ...
[ "francisadrian9@hotmail.com" ]
francisadrian9@hotmail.com
767473019fa471753c9655d05af2834a9282b2e0
e8d4c03c33e0721a26e56a0c0a1a83cbf4685e4c
/abc118/c_3.py
865ea3841c709c790ba9de89f5886a7c8da87de4
[]
no_license
satackey/atcoder
b08dec621dbd98132076b96e0bb3fa093025dfa1
1239f107d3b241f71ae8bfe3a52d0d8b2f3847ed
refs/heads/master
2020-08-28T06:21:20.327249
2020-05-31T12:14:46
2020-05-31T12:14:46
217,619,592
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
n = int(input()) a = list(map(int, input().split())) a = sorted(a) zero_monster_indexes = [] while True: for monster_i in range(1, len(a)): if a[monster_i] == 0: zero_monster_indexes.append(monster_i) else: a[monster_i] %= a[0] if a[monster_i] == 0: ...
[ "21271711+satackey@users.noreply.github.com" ]
21271711+satackey@users.noreply.github.com
7cbfc835d5ee7dd706a39b957c365a77352048c5
f64069f0dc90aa41947d1deca317aa37ad9c9080
/CounterCode2015/Campers.py
1be7dba22916115142a5cf672826cd46dc065798
[]
no_license
raunaklakhwani/Algorithms
9fdd7c3f5234b4682690ce3bededa365e75df1e5
a0b36f4f068c100b17fd27b3ed28816e4f3b4e4f
refs/heads/master
2021-01-10T19:39:24.120026
2015-12-20T14:14:48
2015-12-20T14:14:48
27,044,549
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
# URL : https://www.hackerrank.com/contests/countercode/challenges/campers from math import ceil N,K = 8,2 snipers = [2,6] snipers.sort() def getBetween(a,b): #print a,b n = b-a+1 return int(ceil(n/2.0)) pre = 1 s = 0 for i in snipers: s += getBetween(pre, i - 2) #print s pre = i + 2 ...
[ "rlakhwan@cisco.com" ]
rlakhwan@cisco.com
ada79e26a6b79c29b6c0b4644c97ddd305921f36
a38c60d1e36c02d4e237c786f25ed2733d284e06
/kafka/kafka_ProducingAvroData_RESTProxy.py
e38de3b24f30f3afe4e9e2b6f85c8a9c941c9f01
[]
no_license
kitushenoy/mywork
f0edc8f1be4b7918a0b64e505e7074d9256011df
2bfbeaa4b9e35e742a232f5b19e89cdbb354a9b0
refs/heads/master
2021-07-18T22:43:06.306183
2021-03-29T18:14:27
2021-03-29T18:14:27
89,013,367
1
0
null
null
null
null
UTF-8
Python
false
false
2,026
py
# This script will send avro data to kafka using REST PROXY from dataclasses import asdict, dataclass, field import json import time import random import requests from confluent_kafka import avro, Consumer, Producer from confluent_kafka.avro import AvroConsumer, AvroProducer, CachedSchemaRegistryClient from faker impo...
[ "Kirthi.Shanbhag@wdc.com" ]
Kirthi.Shanbhag@wdc.com
a8966330525ca3601a2eb751b17b6bad44bba10d
1eb8eef3a83ed545984df54f08749887dcb415e8
/common/states/default.py
26233274e1826e1ef29316499cc6c11489f9c9d5
[ "MIT" ]
permissive
sk364/prosfair
e414a2b3efa411205f9a0e4e2d1d1bdae1e782ae
bb16dd19aee9804b0a1b239b00ff99e285d7fd96
refs/heads/master
2021-06-03T01:47:07.748799
2021-04-04T10:13:27
2021-04-04T10:13:27
45,759,836
0
0
null
2015-12-15T11:18:59
2015-11-07T23:54:26
Python
UTF-8
Python
false
false
1,572
py
STATE = { "white": [{ "type": "b", "position": [7, 2], }, { "type": "b", "position": [7, 5], }, { "type": "k", "position": [7, 4], }, { "type": "n", "position": [7, 1], }, { "type": "n", "position": [7, 6], }, { "type": "q", "position": [7, 3], }, { "typ...
[ "skad5455@gmail.com" ]
skad5455@gmail.com
385f0d7c40d44dfd57c026bd40470aaa4471c8a1
23e7f6c8b69be285f89e02e3517aa4381b8ba785
/detect_failed_test_in_build.py
13c6218068d9237b6183fdb9be2c0ba0feb148fa
[]
no_license
scality/test-result-management
0705df09eeba5e3dde55689a17b484306a3207c2
23b0fed1ad9aafca471973b206cfdc31d98d60d8
refs/heads/main
2023-07-26T19:00:44.651623
2021-08-06T13:11:39
2021-08-06T13:11:39
381,741,755
0
0
null
2021-08-06T08:54:25
2021-06-30T15:06:12
Python
UTF-8
Python
false
false
8,425
py
from ES_query.visitor.interprete_response import ReadData from api_manager.ES_manager import ESManager from ES_query.AST import * from ES_query.visitor.ast_to_query import CreateDictionnary def create_aggregation_from(base_aggregation, aggregation_list): for agg in aggregation_list[::-1]: base_aggregation...
[ "alievre@laposte.net" ]
alievre@laposte.net
1e27272a6df616fd8ab1ea720081875c1a06bca0
8b280840def0f170a16ea8e0668799e63759e9fc
/react_django/settings.py
1998a01b5810359170d4c639a48fdfc9254837c0
[]
no_license
panu2306/React-Django-REST
0a40830048903a0be8a5d5661ec36e20f8d02656
e0e5976e2b81a91661fed674fa7e1d8177e093f6
refs/heads/master
2021-04-02T01:44:17.179283
2020-03-18T12:55:26
2020-03-18T12:55:26
248,230,980
0
0
null
null
null
null
UTF-8
Python
false
false
3,141
py
""" Django settings for react_django project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import ...
[ "pranavbhendawade@gmail.com" ]
pranavbhendawade@gmail.com
ef0331985cab09f63d6cb638d9717f4a48d79858
7240b8cec438c4d1e9ec023599f91a361cd7c97c
/python-scripts/summing_smalls_numbers.py
1cf2e2497b41742699a2490af8e2dcbe1a24f862
[]
no_license
isacmoura/deep_learning_udacity
8499729030d7bfeb1e51225c5528aee41cabd067
0ec52b5bfb74afc10c4c998382e48449481d356f
refs/heads/master
2020-04-04T09:06:40.972366
2018-11-02T16:54:47
2018-11-02T16:54:47
155,807,363
0
1
null
null
null
null
UTF-8
Python
false
false
186
py
# Somando pequenos números a um número de 1 bilhão big = 10 ** 9 for i in range (10 ** 6): big += 10 ** -6 big -= 10 ** 9 print("{0:.3f}".format(big)) # O resultado não é 1
[ "contatoisacmoura@outlook.com" ]
contatoisacmoura@outlook.com
d714be42a3d964458378d2bf219800317028de44
95255c09d3487c1b102f7c87d98298f98187f0fd
/2021-projects/team-2/preprocessing/shuffler.py
f02a4cde9b74bcc98b12be8059ac11e8b1344e34
[ "Apache-2.0" ]
permissive
AmericanEnglish/big-data-reu
e9492c3537e34f82662ec34cc3bcd98f60bae781
bb582821f7a78a57d9bdb1accaa59383f3d09028
refs/heads/main
2023-08-15T19:54:51.072317
2021-10-13T14:33:25
2021-10-13T14:33:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,194
py
trip = { "123": 0, "132":1, "213":2, "231":3, "312":4, "321":5} doubles = { "12 ":6, "21 ":7} dtot = { "124":8, "214":9, "134":10, "314":11, "234":12, "324":13} f = {"444":14} trip_r = {} dtot_r = {} for k in trip.keys(): trip_r[trip[k]] = k for k in dtot.keys(): dtot_r[dtot[k]] = k # Infile from sys import ar...
[ "barajasc@umbc.edu" ]
barajasc@umbc.edu
aa3b12bb2e51e85ab4cd8244e92c90386462942e
11f77e8b254ea5c0514251228c7b9538a7f0cf19
/lookup.py
581c16bcabce28965614df069b4e2f4e682b4c6c
[]
no_license
fiesta0211/korean-cnn-text-classifier
ef9a8e8333900d894c086a21450e31f71f5cd119
a679518e6ac2ec97a4c8151170930a576a35dc68
refs/heads/master
2020-11-29T18:49:37.046905
2018-12-17T14:16:31
2018-12-17T14:16:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
import tensorflow as tf W = tf.Variable(tf.random_uniform([4, 6], -1.0, 1.0)) x = tf.constant( [[0, 1, 2], [0, 3, 2]]) embedded_chars = tf.nn.embedding_lookup(W, x) embedded_chars_expanded = tf.expand_dims(embedded_chars, -1) sess = tf.Session() sess.run(tf.global_variables_initializer()) print(sess.run(embedded_...
[ "a4gkyum@naver.com" ]
a4gkyum@naver.com
1f33bb44befdd86e21f7bb8f3928a6216e1bf117
d3de80b12759325777cc2f25f53f7aca2d355bdb
/models.py
b54a065219c872cdc13432311028daf90b7419a4
[]
no_license
Jzz1943/YOLOv3-quadrangle
c41dfc35694e1f807371b2f822e8bdf00f2c1956
44d6b0d140f6062fcf48223bdac516f654162ab7
refs/heads/master
2020-04-08T15:01:46.204166
2018-11-28T07:31:24
2018-11-28T07:31:24
159,462,466
2
0
null
2018-11-28T07:36:28
2018-11-28T07:36:27
null
UTF-8
Python
false
false
11,971
py
from collections import defaultdict import torch.nn as nn from utils.parse_config import * from utils.utils import * def create_modules(module_defs): """ Constructs module list of layer blocks from module configuration in module_defs """ hyperparams = module_defs.pop(0) output_filters = [int(hyperpa...
[ "noreply@github.com" ]
Jzz1943.noreply@github.com
f20a451ab0151f2c808520c4bd869d1418272c3b
b2438cda1dfae3a5677c2a75c88a0b6ec98f0f9a
/ex/generator.py
6e7b31cbf5d6ca3465806721df9b7b5effd80612
[]
no_license
SimonXu1992/lxf_study
b2f4e22d91b33688f4a0435fef9410da051a8a37
2b6db0cb6bddfb5e1a81e0f237a9657949c65540
refs/heads/master
2020-08-18T15:24:06.015470
2019-10-20T12:50:26
2019-10-20T12:50:26
215,806,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,670
py
# python3 # 非常重要的一点列表是引用类型 # import copy # def triangles(): # """ # 使用copy库 # :return: # """ # L = [] # while True: # if (len(L) < 2): # L.append(1) # # else: # length = len(L) # for i in range(length - 1): # L[i] = L[i] + L[i +...
[ "xsc19920226@163.com" ]
xsc19920226@163.com
ccf0391edc7b4cf3a0f5c98a4e48021a6c5e0901
63745d097fa60ae7b3edf4f5d6a87678c273bbe8
/kind/master/MstTrainCompanyKind.py
de8d11c546358b49faca4971feab52c31f1b5749
[]
no_license
ekchuah-aoki/miralServer
48d7ad42c282ccede4a96f0ba2266617448111a8
6942e2c5aa5c3c52cee85359d7f4381689f33c67
refs/heads/master
2021-01-21T04:40:38.878158
2016-06-07T04:53:35
2016-06-07T04:53:35
55,469,708
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
# coding: UTF-8 from google.appengine.ext import ndb from kind.BaseKind import BaseKind class MstTrainCampanyKind(BaseKind): u"""路線マスタ""" campanyCd = ndb.IntegerProperty(indexed=True) #路線事業者コード companyNama = ndb.StringProperty() #路線事業者名コード company...
[ "y.aoki@192.168.1.54" ]
y.aoki@192.168.1.54
5931a554ba7c93eb81d54d08cc04c2f9183d8c95
9e0136e424c7dfa90fba5672ec3f5dc2de002257
/13: Using Databases/Exception Handling/migration.py
207f68001892acb2752ab333f2b3a410ec8ad8eb
[]
no_license
ntkawasaki/complete-python-masterclass
591a0f936fab0e2df2abcbe447f32adda5b26675
a5eb6ead483da2fc895d169e5ed8ba1e79c2d061
refs/heads/master
2020-03-21T23:35:09.526180
2018-06-29T21:07:18
2018-06-29T21:07:18
139,195,833
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
import ducks flock = ducks.Flock() donald = ducks.Duck() daisy = ducks.Duck() duck_3 = ducks.Duck() duck_4 = ducks.Duck() duck_5 = ducks.Duck() duck_6 = ducks.Duck() duck_7 = ducks.Duck() percy = ducks.Penguin() flock.add_duck(donald) flock.add_duck(daisy) flock.add_duck(duck_3) flock.add_duck(duck_4) flock.add_duc...
[ "ntkawasaki@gmail.com" ]
ntkawasaki@gmail.com
46d15fda29e9d529e3b0e67d43c1e56866529bed
d2219febb4727a24856578c4c3963b8c081835cb
/usr/lib/enigma2/python/Plugins/Extensions/BBC-iPlayer-Recorder/__init__.py
abf38987968a5e8ea489beb842b10923f7d25362
[]
no_license
linuxbox10/BBC-iPlayer-Recorder
3c465cd6fcc237ba384c8c9b89488d86e3ad3f3b
069e731b134fa6a08152a90cb122caa1d2800b66
refs/heads/master
2021-07-07T08:22:39.817143
2017-10-04T15:41:42
2017-10-04T15:41:42
105,785,840
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
# Embedded file name: /usr/lib/enigma2/python/Plugins/Extensions/BBC_iPlayer_Recorder/__init__.py pass
[ "jaysmith940@hotmail.co.uk" ]
jaysmith940@hotmail.co.uk
9e7acde28006fbc25aeaf668e155b7fe5f187304
c674f639e356053d0fc4d728c7094424c56c8f07
/akb48/member/inoue_naru.py
ccc305be258feb60a0462632ca7fa96abd99946d
[ "MIT" ]
permissive
moriyoshi/pyakb48
f09c27f53fe76f92ac8be773542330fe2da633f7
754666c428f27250d44419a498e61d32c0efa38e
refs/heads/master
2021-01-02T09:38:16.047927
2011-10-17T03:40:57
2011-10-17T03:40:57
2,581,021
4
0
null
null
null
null
UTF-8
Python
false
false
662
py
# encoding: utf-8 import datetime __all__ = [ 'info', ] def info(): return { 'birthday': datetime.date(1991, 12, 18), 'class': 3, 'family_name_en': u'inoue', 'family_name_kana': u'いのうえ', 'first_name_en': u'naru', 'first_name_kana': u...
[ "mozo@mozo.jp" ]
mozo@mozo.jp
c040a11a91612d901166299c6fb7ff05d5c3161c
cfba700693b3fe1590a86f817da94f92457da254
/170401007_hw_2.py
708bb4e15fab53f9ad52a6fa723bcecac1458f36
[]
no_license
ArdaCemBilecan/Programlama-Lab
79cda580901f5a1da7d97e78e8da647b74fa78d2
66f3f15b783308760b30df68c4a2af4f3ec369fd
refs/heads/master
2021-01-07T11:11:40.719509
2020-05-22T18:06:43
2020-05-22T18:06:43
241,673,681
0
2
null
null
null
null
UTF-8
Python
false
false
1,873
py
import sys outputs=[] Days=[] def bubbleSort(list_1): for i in range(len(list_1)-1): for j in range(len(list_1)-1): if list_1[j]>list_1[j+1]: temp = list_1[j] list_1[j]=list_1[j+1] list_1[j+1]=temp def read_File_And_Separation(): f...
[ "noreply@github.com" ]
ArdaCemBilecan.noreply@github.com
2ea33ffcd0cae4ec18e5222c11a9c44aa4035f04
ea3799fc5a6a7109c1c8089dc43993ce24a3fa2a
/FCN.py
368956152f8a4125ed2d103dc0e50a1d8d6a8a28
[]
no_license
gepu0221/FCN
92edfc4bddd2ace1e10d2236a2f9a4ed672705c8
df03409d5974cbec60d3d18853149c838d2f091b
refs/heads/master
2020-03-16T18:14:40.414050
2019-03-11T12:40:44
2019-03-11T12:40:44
132,865,380
0
0
null
null
null
null
UTF-8
Python
false
false
12,367
py
from __future__ import print_function import tensorflow as tf import numpy as np import time import TensorflowUtils as utils import read_MITSceneParsingData as scene_parsing import datetime import BatchDatsetReader as dataset from six.moves import xrange from label_pred import label_visualize,fit_ellipse FLAGS = tf.fl...
[ "cauc_gp@163.com" ]
cauc_gp@163.com
9fcfda872969a04db6c4892cc52345f61d0a5a36
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/homeassistant/components/overkiz/climate_entities/atlantic_pass_apc_heating_zone.py
b6835d93ebb01978f226f745fb84a212a4de8ecd
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
7,956
py
"""Support for Atlantic Pass APC Heating Control.""" from __future__ import annotations from typing import Any, cast from pyoverkiz.enums import OverkizCommand, OverkizCommandParam, OverkizState from homeassistant.components.climate import ( PRESET_AWAY, PRESET_COMFORT, PRESET_ECO, PRESET_HOME, P...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
864eb8aa4218cdc43a380472ef2c3f567f009d1b
b1c2050aab4aeea16e23f0074f3c8989656fd4ce
/UAS/Kivy Sudah Modifikasi/FlappyBird Modifikasi.py
bd32096f86aec2c02243315b0727570931e1dd21
[ "MIT" ]
permissive
musfirotum/Object-Oriented-Programming
3fd2ce0e03e270ca8725ec3736268ff864f8d0f3
81ebd91066007b70e979665eaa2a131d5d85de7b
refs/heads/master
2020-04-01T19:40:44.463984
2018-12-22T14:13:46
2018-12-22T14:13:46
153,566,151
0
0
null
2018-10-21T10:01:54
2018-10-18T05:03:51
Python
UTF-8
Python
false
false
6,416
py
import kivy kivy.require("1.8.0") from random import randint import sys from kivy.properties import NumericProperty, ReferenceListProperty, BooleanProperty, ObjectProperty, ListProperty from kivy.uix.image import Image from kivy.vector import Vector from kivy.app import App from kivy.clock import Clock from kivy.conf...
[ "noreply@github.com" ]
musfirotum.noreply@github.com
241ee1d4fb08eab48847636ac8aa19413cffb686
846b11ccf549aba144c1824a24292a4850860ca7
/2-EstruturaDeDecisao/5.py
ecaf59269d84595e978da0a147427a07e1c37567
[]
no_license
paulocesarcsdev/ExerciciosPython
6d1feff293e7efc4cd3fbc62eee0add93f76db99
25bfaa6dc5cb294242e478a2b253a8ca5d9c7078
refs/heads/master
2023-05-15T00:53:22.151884
2021-06-10T03:04:04
2021-06-10T03:04:04
337,847,875
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
''' Faça um programa para a leitura de duas notas parciais de um aluno. O programa deve calcular a média alcançada por aluno e apresentar: A mensagem "Aprovado", se a média alcançada for maior ou igual a sete; A mensagem "Reprovado", se a média for menor do que sete; A mensagem "Aprovado com Distinção", se ...
[ "paulocesarcs.dev@gmail.com" ]
paulocesarcs.dev@gmail.com
dd618eda0c41743443401f194db4990de20d0395
882f29fb4e8dde1a80b67de71aadbcc8f5f3cddc
/checkout/webhook_handler.py
8294e9102ee6425a383bcc534068bd1b68185e66
[]
no_license
GTretiakov/boutique_django
af14dc1d7ea7dbc98b42c1ca55293e0e6b876304
a4dce85ee21c9fe1a831e0516d0e642b2502e8d4
refs/heads/master
2023-04-14T10:01:42.695558
2021-04-29T00:42:13
2021-04-29T00:42:13
349,506,830
0
0
null
null
null
null
UTF-8
Python
false
false
6,003
py
from django.http import HttpResponse from django.core.mail import send_mail from django.template.loader import render_to_string from django.conf import settings from .models import Order, OrderLineItem from products.models import Product from profiles.models import UserProfile import json import time class StripeWH...
[ "g.tret1990@gmail.com" ]
g.tret1990@gmail.com
5b8904fa1f4944088bfa67fd47c8959d3ab4ffb4
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/resources/types/bidding_data_exclusion.py
9fc75f0ae1869a171b9aa89c12199bed820c8544
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
4,930
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
918fead55de0ee535f3693901f65ecbea534c81b
58ea2e69333d44e073ccbc31077b4268d1dc28f1
/manage.py
79cedce0c7fe8649b38b4f69cf54ef7707db1b1e
[]
no_license
beruangsakti/Peweb
8e2dae370c05d08957a7aade9eda2817838bf553
e83bf948c8d3aba8b0c6f4340e41cc62ee7953b0
refs/heads/main
2023-02-16T14:30:39.227697
2021-01-18T17:48:26
2021-01-18T17:48:26
330,742,867
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'maddi.settings') try: from django.core.management import execute_from_command_line ex...
[ "noreply@github.com" ]
beruangsakti.noreply@github.com
f3704e6ffdfc299ccbe48106a9f84b3607dfd38d
a0b7d64efae7804d82aac288f1ab36a98339c32a
/all_repos/manual.py
d8d1cad94614b5206dd88c6a14ebceb5fabfaa03
[ "MIT" ]
permissive
asottile/all-repos
a4e71e2deabd4f82af8d8dda43289a22e9d22b28
54d272b276e391828b74efad9445f5eafc96c998
refs/heads/main
2023-09-01T14:39:35.708565
2023-08-29T15:13:51
2023-08-29T15:13:51
99,260,344
481
81
MIT
2023-09-05T11:38:16
2017-08-03T17:51:41
Python
UTF-8
Python
false
false
1,302
py
from __future__ import annotations import argparse from typing import Sequence from all_repos import autofix_lib from all_repos.config import Config def find_repos(_: Config) -> list[str]: raise AssertionError('--repos is required') def main(argv: Sequence[str] | None = None) -> int: parser = argparse.Arg...
[ "asottile@umich.edu" ]
asottile@umich.edu
0c926511d6608be8a6ffadd86323b3b573462578
55ed0f382be1003415af11031169af01b8242607
/main.py
3ac6bfe484f7b328ebb75757dc83a33e3caa42bc
[]
no_license
DevoidLabs/static-boilerplate
aa541dcb99f7b06b66f1fe941261e7c29b6e5bf0
50b3d310e7ecb7f9a2c7be5b7e186e9c3d39ac9f
refs/heads/master
2020-04-19T01:17:53.556839
2019-01-28T01:26:20
2019-01-28T01:26:20
167,868,371
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from sanic import Sanic from sanic.response import text app = Sanic() app.static('/pages', './pages') # Blueprints from blueprints.home.main import home_module app.blueprint(home_module) if __name__ == "__main__": app.run(host="0.0.0.0", port=5000)
[ "josuedr11@gmail.com" ]
josuedr11@gmail.com
1f6b0223ae64b698f778132e92aa7961497b2301
2cd0c89e4002871dddd6d0872c8105b92f730a11
/Publishing/_old/AssetPublish_v01.py
fbfdff88c9d339803ead8ba1e0e6c2f8535a364f
[]
no_license
zethwillie/froggerPipeline
d130d5d13a30aa085061e5af918f59f1c4184517
0ab3a5462b8a3e1f36e21c77df88e1039a7b3e4d
refs/heads/master
2021-04-29T14:40:13.402162
2018-03-14T16:03:34
2018-03-14T16:03:34
121,779,043
0
1
null
null
null
null
UTF-8
Python
false
false
13,037
py
import os from shutil import copy2 as copy2 import fnmatch import maya.cmds as cmds import maya.mel as mel import Utilities.utilityFunctions as uf reload(uf) # the fbx presets preset="X:/Production/Code/Maya/Tools/PipelineTools/Python/Publishing/Cali_Scale_Cm.fbxexportpreset" def publish_maya_scene(versionUp=True, ...
[ "zethwillie@gmail.com" ]
zethwillie@gmail.com
8729474e8b2422a1e50214878c35fd5195d111dc
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/communication/azure-communication-chat/tests/test_chat_thread_client_e2e_async.py
69f1236074986d93928e4b4bce029ea46665aab2
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
10,433
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import pyt...
[ "noreply@github.com" ]
yunhaoling.noreply@github.com
53d89cc1f1796b277ee380a6a9c9f66fd6838149
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/139/usersdata/247/61611/submittedfiles/diagonaldominante.py
4c46b3db468eb5120f665f18eaa6860ff491cb18
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
# -*- coding: utf-8 -*- i=1 n=int(input('d')) cont=0 while i<n: if i%2==1: cont=cont+i print(cont)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f5adb7580c35fab602f541d4ce123c7b11f7f72e
e8486731cced94056574e92f8d7fb11b36d49518
/zzh/zzh/spiders/spiderbase.py
5be799e750055e5fdef78b85a08641bea235d740
[]
no_license
jinuoA/spider_zzh
3bef91350b0794ef22dc60a261e890b82c08e99b
3db097b28679b520d2abedac05e544f98b0b89e2
refs/heads/master
2022-12-11T10:01:12.685038
2019-05-06T03:05:45
2019-05-06T03:05:45
185,114,452
0
0
null
2022-12-08T01:45:15
2019-05-06T03:04:27
Python
UTF-8
Python
false
false
4,952
py
# coding=utf-8 from scrapy import log, Request from ..scrapy_redis.spiders import RedisCrawlSpider import traceback from selenium import webdriver import time from selenium.webdriver.common.desired_capabilities import DesiredCapabilities import json import copy import importlib import hashlib from HTMLParser import HT...
[ "wangjun@zhengzihui.com" ]
wangjun@zhengzihui.com
d46b43e86a84e08abbee21355406b53589c0d6b4
4b7324621542b007c4379efc3e6e3fa28ef61bdf
/insertion_sort.py
405746d03fd765d5cff8680de4868c41694c4c9d
[]
no_license
dbuscaglia/hackerrank_practice
9ce6290c74e3115174d732e61f5ec9b53332785f
3e360225adcac08bec2858d7392ccc6bacf24704
refs/heads/master
2021-01-13T02:32:33.638657
2015-08-24T20:23:18
2015-08-24T20:23:18
41,325,199
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
def sort_numbers(s): count = 0 for i in range(1, len(s)): val = s[i] j = i - 1 while (j >= 0) and (s[j] > val): count += 1 s[j+1] = s[j] j = j - 1 s[j+1] = val return count n = input() for iterate in range( n ): x = input() a = [ ...
[ "daniel@mylively.com" ]
daniel@mylively.com
4d068327d644e12ccaf00e9cc933c0fc2aa829f0
ac5808a7d70cb457e2585ad369aff013d4eaaed6
/s2-061.py
d2d5b41b20c620862085678a1f652d3d0de1bcca
[]
no_license
w9w/CVE-2020-17530
ca73e1d9042a3d4243efb9bba520c1bf06a2bcb0
6ca6298e420a2ad974ea164c19703b1400351da4
refs/heads/main
2023-01-27T18:22:28.534988
2020-12-11T17:21:10
2020-12-11T17:21:10
320,619,487
0
0
null
2020-12-11T16:00:12
2020-12-11T16:00:11
null
UTF-8
Python
false
false
1,142
py
# 2.0.0 ~ 2.5.25 import requests import args parser = argparse.ArgumentParser() parser.add_argument("-u", "--url", help="url to check", action="append") args = parser.parse_args() args.url = str(args.url).replace("['", "") args.url = str(args.url).replace("']", "") url = "%s/struts2_showcase_war/hello.action" %args.ur...
[ "noreply@github.com" ]
w9w.noreply@github.com
a22a427fb6779742735f03a5727f7fa1e25dee6d
34c2aaf784356c3445edabbe83acfa7b71b3fa6c
/Batch2/webapp/app.py
7dcb6947d6953a4f0bd583979bec58f298ae758d
[]
no_license
ccw7/BootUP_maxis_data_science_level_2
1d7bf888ecd957d3c79804e33bc7e8e65dce351b
3cbd01e663021a6858d18054bee7c28ea2e4a5f5
refs/heads/master
2023-06-09T15:06:36.495618
2021-06-19T03:13:26
2021-06-19T03:13:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
from flask import Flask app = Flask(__name__) @app.route("/",methods=['GET','POST']) def main(): return "Hello from Flask" @app.route("/predict",methods=['GET','POST']) def main2(): return "Hello from ML model - telecom churn prediction" if __name__=="__main__": app.run(debug=True)
[ "anshuspandey@gmail.com" ]
anshuspandey@gmail.com
a8dd093e465a4f7450799f4fda9aa351634db949
7508a50ee82a59bde3b2e443b6ef4813b8738c9e
/stuck1.py
8292164be61e9e950f0add6dc54bfe43535f2ac4
[]
no_license
joinalahmed/ttgen
b2c7fc39621768b8d34f0518457de997cc02f233
c19d30b805ab4718f9b7395cbb7cb19dfb7ed035
refs/heads/master
2021-01-10T23:28:14.761892
2017-04-30T15:25:31
2017-04-30T15:25:31
70,583,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
import sys import subprocess from PyQt4 import QtGui, uic qtCreatorFile = "/home/joy/Desktop/test/stuckat1.ui" # Enter file here. Ui_MainWindow, QtBaseClass = uic.loadUiType(qtCreatorFile) class MyApp(QtGui.QMainWindow, Ui_MainWindow): def __init__(self): QtGui.QMainWindow.__init__(self) Ui_Ma...
[ "joinalahmed@gmail.com" ]
joinalahmed@gmail.com
62738953f7c275cdaa4763d7f206d6520e01fb56
082e6342ca6872420b2960c64cba484f3852351b
/stocktracker/urls.py
2cf81d9c7f0d98b2ffee32ec3efde485c6fa0a7c
[ "MIT" ]
permissive
reihtw/stocktracker
54c7c1dc066d73b9b57836d1ac3ea259d8715632
fd83862ce47dae1615c445a1bed1a39d3a769e80
refs/heads/master
2022-11-23T12:25:56.876883
2020-07-25T19:17:55
2020-07-25T19:17:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
"""stocktracker URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "rodrigolins@protonmail.com" ]
rodrigolins@protonmail.com
4a45b3e33893d6c5227a5305e5e04c43a235d96e
ae250bde55856d7de248fc117dd72a9869f37b8b
/code/dataset/split.py
f07c663196e914bc3e7e13579d0fd4c7d6e0556c
[]
no_license
littlepig2013/HIN-Similarity-Survey
3a5738c1b4e786a4c500b5de08f59a2b6fa7838a
9179e636aa5280acb7e85dcfee2165300fed5c86
refs/heads/master
2021-11-13T06:58:51.608242
2017-11-30T08:51:03
2017-11-30T08:51:03
111,684,812
4
4
null
null
null
null
UTF-8
Python
false
false
863
py
import random fin = open("users_rate.txt",'r') data = fin.readlines() userDict = dict() for record in data: [userStr, movieStr, ratingStr] = record.split(' ') if userStr not in userDict: userDict[userStr] = [(movieStr, ratingStr)] else: userDict[userStr].append([movieStr, ratingStr]) TRAINING_RATE = 0.5 fout1 ...
[ "zhuzichen19960417@gmail.com" ]
zhuzichen19960417@gmail.com
aab29b9633a7d3decbbc59f57fbd3402c63ef5a3
65875c8b063e6b154d396f388a2a59425cce6da0
/Lista_06/Felipe Victor e Pedro Lucas/Questão_1/produto.py
2c608053389a2aeee20088f536b4e33561ed25bc
[]
no_license
limapedro2002/PEOO_Python
fbcf3af1003a56e64eac9f95e0fedc8d2e2c923b
a099fd45ac189415a493b0183e900514c602915b
refs/heads/main
2023-04-27T07:39:37.636631
2021-05-10T19:17:15
2021-05-10T19:17:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
class Produto: def __init__(self, nome, cod, preço): self.nome = nome self.cod = cod self.preço = preço self.item = None class ItemPedido: def __init__(self): self.item = None self.nome = None self.cod = None self.preço = None def adicionar(...
[ "80356903+limapedro2002@users.noreply.github.com" ]
80356903+limapedro2002@users.noreply.github.com
87060dbac8e6dc69ba2a1fda481d7c8736a91514
9a3b88343c740020e676907b87d1f6bfde44cbaa
/DUPMP/Database, User, and Process Management with Python/Section 1/psutil_discspace.py
2cda48df235ebeb651d238b9eab1b25194f46a63
[]
no_license
ramksharma1674/pyprojold
2239f29d06764b53c3f6da89599b3e4560a71190
8db6aa2f587c95ffaba9ce3e54975894a702760a
refs/heads/master
2020-08-17T14:20:27.974040
2019-10-17T06:01:43
2019-10-17T06:01:43
215,677,583
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
import psutil print("disc partitions:") print(psutil.disk_partitions()) print("disc usage:") print(psutil.disk_usage('/')) print("disc io_counter:") print(psutil.disk_io_counters(perdisk=False))
[ "ramksharma@yahoo.com" ]
ramksharma@yahoo.com
3ccdf6ed209887f9451c1262c2dd845d9316aa30
d14651ed2fa6b2f7fb32e224a2cb15c32c75c2b0
/chapter1/p129.py
5097608dfdf9c57785c8b4a90387261c04c85dcd
[]
no_license
gabolecointere/algorithms-and-data-structures
5895405f786e1343581b3ae31436cb7b36ab06a7
56c1bc9a9d56c40e163ba69cd04c09b68d6860ee
refs/heads/master
2020-04-16T22:55:47.705333
2019-01-29T05:19:59
2019-01-29T05:19:59
165,990,443
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
# Write a Python program that outputs all possible strings formed by using #the characters c , a , t , d , o , and g exactly once. def permutation(str): lst = list(str) # If lst is empty then there are no permutations if len(lst) == 0: return [] # If there is only one element in lst ...
[ "gabolecointere21gmail.com" ]
gabolecointere21gmail.com
45d1c23674f5675682b55aca4e6ed974fc6630c2
6f1fee4c59fd3548368dc9c54380abaff759678c
/package_a/src/example_project/application_a/dependency_a.py
0308f4c11f2b91ef71e83b02b2102f17333498d9
[]
no_license
cerna/python_pdm_example
f5f0e117b1daea84e0fcb34363019d99be0bfb0c
67c95b92e8a5aeadf5881b81335345d8dbc4802a
refs/heads/master
2023-04-13T16:00:28.930236
2021-04-20T22:49:13
2021-04-20T22:52:09
359,969,848
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
dependency_for_b = "Some dependency 5"
[ "jakub.fiser@eryaf.com" ]
jakub.fiser@eryaf.com
bded93a7a75b4d88c8572e95d498b5a474c0df35
4b43b97f5188cdb910f7db612dccb5f944a3de9b
/NYC_Training.py
cd6eb8b9712501648d83f15a299ba094f3b93fa8
[]
no_license
kiranikram/NYC-Traffic-Jams-RL
89de6e0d78feb5f91c123cc4f225ea48fc4bef1a
b9c08646a6662390b3323e6e07f3c67e06906077
refs/heads/master
2022-09-03T18:45:08.275515
2020-05-26T15:22:29
2020-05-26T15:22:29
256,841,377
1
0
null
null
null
null
UTF-8
Python
false
false
7,657
py
# ================================== TRAINING ================================== import time start_time = time.time() from IPython.display import clear_output import random import pandas as pd print( 20 * "#" + " Attention resetting Q matrix " + 20 * "#") Q = np.zeros([env.observation_space.n, env.action_space.n]) pri...
[ "noreply@github.com" ]
kiranikram.noreply@github.com
94dcf60cb414f3bbaf1ec9c048cb9ef470d5f0c7
caca669828d6d2cd4819b2411e3487c74c4dde3f
/NaDesigner_2021_v.08-07/build/testuserdir/config/nbPython/debug/nbpythondebug/jpydaemon.py.bak
a5ea6b6c54d5c777a378e4f985973779ae38e35a
[]
no_license
Hitbee-dev/NaDesigner
475552126b92c8c12ca9f0af8bf742a5f61b433c
fd6c1fc6c903168d4e42f8adf8d55b7c24c2eb69
refs/heads/master
2023-08-13T20:01:54.263905
2021-10-05T14:30:12
2021-10-05T14:30:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
61,673
bak
#! /usr/bin/env python """ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this ...
[ "jhjeong.esw@gmail.com" ]
jhjeong.esw@gmail.com
67f6a2cd184f9c608c5cc151e68f08f81eb3c1b2
9c4225a9d7c7c1a8ba452856c3192f572c136491
/FLAlgorithms/trainmodel/models.py
5141932c9a31fa37af34e32092d917948119dce6
[]
no_license
Noploop/FedGen
58e28b1879550adb2eb84159e30558d3549e8ba1
7c6441b95b8e49443e7a4c597bd8982d1e3ee233
refs/heads/main
2023-09-03T12:51:31.802025
2021-11-11T16:51:01
2021-11-11T16:51:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,892
py
import torch.nn as nn import torch.nn.functional as F from utils.model_config import CONFIGS_ import collections ################################# ##### Neural Network model ##### ################################# class Net(nn.Module): def __init__(self, dataset='mnist', model='cnn'): super(Net, self).__i...
[ "zhuangdizhu@yahoo.com" ]
zhuangdizhu@yahoo.com
299979bbe9b2eb8b65b2921f4bd2f9e42a541143
a66f75ac69e3494099886b14aa8c2abad11be89c
/partition_for_transaction.py
e999312058657c109630b1521a90f401ca395b3e
[ "MIT" ]
permissive
ryokugyu/1M_Generalization
fb54b30d5a870f8d8a8c81e96d260cc66aa4f781
679ca565e7390af2f2b2d7d85400b339a32a782d
refs/heads/master
2020-09-29T18:55:56.529124
2016-11-18T07:16:05
2016-11-18T07:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,522
py
""" main module of partition """ #!/usr/bin/env python # coding=utf-8 import pdb from models.bucket import Bucket from itertools import combinations from utils.utility import list_to_str _DEBUG = False PARENT_LIST = {} ATT_TREES = {} LEAF_NUM = 0 ELEMENT_NUM = 0 RESULT = [] DATA = [] # compare fuction for sort tre...
[ "qiyuangong@gmail.com" ]
qiyuangong@gmail.com
a7164741d8765f85189f6b65ca4e7eb3f582d20b
baf503ae0a331b3a71d1692b37b6c7ef96f337f8
/knn_movie.py
9e8cca0d151728da1947d867282e108c82dd532d
[]
no_license
mitanachien/Netflix-Movie-Rating-Prediction
3d34ebf46de67348c6f6d8a9ee973e416c9f4aca
72e6687c5d76f23f7567c2c7004b407c7e8f781a
refs/heads/master
2023-05-29T01:27:18.040998
2021-06-08T03:04:19
2021-06-08T03:04:19
351,943,923
0
0
null
null
null
null
UTF-8
Python
false
false
4,020
py
# Note: run avg_movie_rating.py first import pandas as pd import numpy as np from sklearn.metrics import confusion_matrix import time from scipy import stats from statistics import mean from sklearn.metrics import accuracy_score print("Loading dataframe") training = pd.read_pickle('training.pkl') test = pd.read_pickl...
[ "daniellenicolehancock@gmail.com" ]
daniellenicolehancock@gmail.com
ec2eb4274f2ab5c547553a43a9e89cf4b30551d7
ad357cfbec64afb8f4cc4043b212996768f9755c
/api/barriers/serializers/mixins.py
0bf4ea3db58f439746d9c561c10c87ca5eb2913b
[ "MIT" ]
permissive
uktrade/market-access-api
6b4680e6455eb5c25480ccd3e3d9445654269f36
4da26d1be53843d22411577409d9489010bdda09
refs/heads/master
2023-08-30T14:47:10.373148
2023-08-29T13:58:08
2023-08-29T13:58:08
131,856,014
2
3
MIT
2023-09-14T08:04:42
2018-05-02T13:38:37
Python
UTF-8
Python
false
false
3,729
py
from rest_framework import serializers class LocationFieldMixin(metaclass=serializers.SerializerMetaclass): # Use metaclass to get the fields registered at the serializer where the mixin is used # The field will need to be listed on the serializer using this mixin location = serializers.SerializerMethodFi...
[ "noreply@github.com" ]
uktrade.noreply@github.com
9cf7cec01238c998b248e87e2b9351a252bbf803
ee8a3bd3504aca8dd90f66681a3debd54bd3b0d3
/mvurruti/processors/svm/svm2.py
78385362b15a6ec3b6d33ba9293e2f8f5928cf5f
[]
no_license
scipp-ilcadmin/scipp_processors
8927994ba8f206323054f5ce2c0f9d8f7d7da780
24a183d3b1251d6d37a19f8d7eebcc75a9a858a5
refs/heads/master
2020-03-11T16:44:40.106096
2019-12-12T08:00:06
2019-12-12T08:00:06
130,126,202
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
import time import argparse import ROOT #list of root files as input #loop through input files and plot based of the types (S,V,M) #Start w/ vector true alone. #plot all true vectors of diff root files in same plot roots = ["bbsignal.root","bwsignal.root","wbsignal.root","wwsignal.root"] files=[] for file_name in ro...
[ "ilcadmin@atlas04.ucsc.edu" ]
ilcadmin@atlas04.ucsc.edu
028cc16ce14161cfa50a6f6a3ec2903c72b388fc
0f46f4229c763f6908905d41f2dee7d420bad3d0
/Slave/slave-douban/douban/spiders/douban.py
4b45e119a814d2af8ea2ddcfc025c4614b8196af
[]
no_license
csrgxtu/Sauron
c572f20be7eeff1955b77f266f068611a8b0010c
43a9918342f5dc2582f13a6fc254c67fd43752dd
refs/heads/master
2021-01-10T13:16:25.129341
2015-12-07T06:02:43
2015-12-07T06:02:43
46,249,450
2
4
null
null
null
null
UTF-8
Python
false
false
12,553
py
#!/usr/local/bin/python #-*- encoding:utf-8 -*- import json, unirest from scrapy.spiders import Spider,Rule from scrapy.selector import Selector from scrapy.linkextractors import LinkExtractor as sle from collections import OrderedDict import logging from scrapy import signals from scrapy.xlib.pydispatch import dispa...
[ "tianzhaixing@126.com" ]
tianzhaixing@126.com
d10439b40f3387f1947cdc3cc6db7738ca628790
59537ab04a54e0b8a00c5de06f99b755851d4932
/src/algorithm/data_structures/queue.py
300cf75b3a31ce421b533c47b8db49baf4f301df
[]
no_license
xqhu2008/Larva
c360af0fb0d4b91e3d12bd7abe6fb3f09e638b9a
cc5850cd8d8e2ed844b39d06998c43356f53a284
refs/heads/master
2021-01-13T21:50:30.970956
2020-03-07T03:08:44
2020-03-07T03:08:44
242,505,732
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
#!/usr/bin/env python # -*- encoding:utf-8 -*- ''' queue.py: queue data structure implementation used python ''' import random class Queue: def __init__(self): self._queue = [] def enqueue(self, item): self._queue.insert(0, item) def dequeue(self): return self._queu...
[ "xqhu2008@hotmail.com" ]
xqhu2008@hotmail.com
0345e3681a7ffcb47a73df6e4b2513cd6b8aba8a
0c99bbbcd3845a26cb1e0c67f7ae3efbf02ff7bf
/src/app/env_vars.py
0b8cf91cb00c62baf40ab2c6b91ef73bf603d72b
[ "MIT" ]
permissive
DigitalGeographyLab/hope-aqi-archiver
20f1774b85ec743fb220a0555765e0d76e742983
13a42c0def97d69870ed3a04f11d21e673d9404d
refs/heads/master
2020-12-13T02:15:08.168600
2020-02-13T10:58:42
2020-02-13T12:44:15
234,285,597
0
1
MIT
2020-02-09T18:28:46
2020-01-16T09:40:23
Python
UTF-8
Python
false
false
881
py
import os from glob import glob import csv import traceback from app.logger import Logger def set_env_vars(log: Logger): try: found_secrets = False for var in glob('/run/secrets/*'): k=var.split('/')[-1] v=open(var).read().rstrip('\n') os.environ[k] = v ...
[ "joose.helle@gmail.com" ]
joose.helle@gmail.com
0a3c8dbe5801337e199918aea0ad1750be687380
224459455cda5cc97511c200ee6200038e2d415b
/meshdynamic/meshDynamic-Density.py
51cda0fd7015ab6166cc279518c001e6dcd14ae9
[ "MIT" ]
permissive
deepkashiwa20/DeepUrbanEvent
d252a659a875030c300f1ce10127dc3158e0cd97
69292578d2a2d5d47ae50f0ea2f3810f5199a1c5
refs/heads/main
2023-07-18T09:58:26.442342
2021-08-24T02:43:13
2021-08-24T02:43:13
383,077,914
1
0
null
null
null
null
UTF-8
Python
false
false
25,307
py
import csv import numpy as np import os import sys import time import jismesh.utils as ju import pandas as pd curPath = os.path.abspath(os.path.dirname(__file__)) rootPath = os.path.split(curPath)[0] sys.path.append(rootPath) from common.datastructure.Point import Point from common.datastructure.Mesh import Mesh # m...
[ "jiangrh@csis.u-tokyo.ac.jp" ]
jiangrh@csis.u-tokyo.ac.jp