blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
97a64162010667e3cb465e023fb80eacce45154a
c3a178eeffc969b5981d570f5658f7bcb0207303
/calc/operacoes.py
0500d3fcbc10159134c440b17ebec3c5d2f23bcb
[]
no_license
Maethorin/aula-giovanna
0013e969d3981774e90c318a3556c39882ce15af
c47b0d99a5a0e043c7e67f82276bb043cd62ad62
refs/heads/master
2021-01-20T05:04:38.024849
2014-10-04T01:26:54
2014-10-04T01:26:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
# -*- coding: utf-8 -*- from objetos import Calculadora def executar(): calc = Calculadora("Legal") calc.mostrar_display() calc.mostrar_botoes() if __name__ == "__main__": executar()
[ "maethorin@gmail.com" ]
maethorin@gmail.com
767d24185dab907c55423dc5a23cd2456223b056
1a139ba54f85cb033f1422c33243c838324c701b
/accounts/accounts/tests/test_end_to_end.py
78b49ef817a4be689e4b91a290617ba41c4462d1
[ "MIT" ]
permissive
Tubbz-alt/arxiv-auth
bea533c3fe60a5e69de4f4488a9c35f386e2d52b
d8f092eca4ddce3f53f4e2eb9d2c01e441ad29a1
refs/heads/master
2023-01-07T22:00:34.380934
2020-08-25T14:20:36
2020-08-25T14:20:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,670
py
"""End-to-end tests, via requests to the user interface.""" from unittest import TestCase, mock from datetime import datetime from pytz import timezone, UTC, UTC from dateutil.parser import parse import os import subprocess import time import hashlib from base64 import b64encode from arxiv import status from accounts...
[ "brp53@cornell.edu" ]
brp53@cornell.edu
5edc157a23a1f0818f9757f8251b65bedee70b0e
c5420cee98aae008cb404ace7b8d21dcdf205a69
/backend/app/enums/base_enum.py
857293ce9e6e250693365cc403d90317384f9058
[]
no_license
LyanJin/check-pay
2aeb81f430a26410964e979b63d20c9d5aa7d46e
ff36deb73e667de16a73b1666bbeaf28f993f944
refs/heads/master
2023-01-14T03:38:00.907488
2019-11-04T09:29:27
2019-11-04T09:29:27
219,446,460
0
0
null
2023-01-04T16:14:10
2019-11-04T07:55:33
Python
UTF-8
Python
false
false
1,932
py
from enum import Enum class BaseEnum(Enum): @classmethod def get_all_enums(cls): return [x for x in cls] @classmethod def from_name(cls, name): return getattr(cls, name.upper()) @property def desc(self): """ 中文描述 :return: """ return se...
[ "aken.jin.33@gmail.com" ]
aken.jin.33@gmail.com
f9d45cd2709a248638e9f73a2c3a7c5d6da4032c
eabf02cd9a0197fbdec8399ce88ff78e063a9788
/2021/Lunch Concert S3 CCC 2021.py
fde64f97d11fcb4b16e73a224807a4247aa2be3c
[]
no_license
het1613/CCC-Solutions-2006-to-2021
3b0cf4e247e273193f3696e42438e27fd44ee1d0
9e9c599ff089138a07e1a1d6eadd0db58fc8c936
refs/heads/main
2023-07-21T16:05:32.861368
2021-09-01T20:39:17
2021-09-01T20:39:17
401,526,110
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
#Het Patel #S3 CCC 2021 #17/02/20 def time_finder(pos): global info total_time=0 for friend in info: starting=friend[0] speed=friend[1] hearing=friend[2] move=0 if abs(pos-starting)>hearing: move=abs(pos-starting)-hearing total_t...
[ "noreply@github.com" ]
het1613.noreply@github.com
88d1c090516e23b558ece11a253aa863f3909fb4
234a4d04918792ff29a4de07555c48c1d82ba750
/app/timeline/controller.py
2d8ad0bef98bab30a3d14121132afadcfb5a3aa2
[]
no_license
fodisi/mytwitter
dce1ca4cefd19f57cd829df4aadeaf72aaeb407a
f04101fd6a6c3fa96653960383626d7f1dc43d5e
refs/heads/master
2020-03-23T16:40:28.016221
2018-07-23T18:35:42
2018-07-23T18:35:42
141,626,592
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
# /usr/bin/env python3 from flask import Blueprint, request, render_template, \ session, redirect, url_for from .. import db from ..auth.user_model import User, UserSchema from ..twit.twit_model import Twit, TwitSchema timeline_ctrl = Blueprint('timeline', __name__) @timeline_ctrl.route('/home/', methods=['GET...
[ "fodisi@users.noreply.github.com" ]
fodisi@users.noreply.github.com
61eead0107714a02ba7bc832f9da3eafb0f0d098
0e4dc82a94563dacb0c25d0d43fbcbe3def21f72
/220-Contains-Duplicate-III/solution01.py
445686bf1abb72beecde953b1ca62de0a75e234c
[ "CC-BY-3.0", "MIT" ]
permissive
Eroica-cpp/LeetCode
3ce3b05b3098e8097c1090e2116b813efaadd2a3
07276bd11558f3d0e32bec768b09e886de145f9e
refs/heads/master
2021-06-20T05:41:30.506250
2017-03-16T05:17:39
2017-03-16T05:17:39
35,126,816
7
2
null
null
null
null
UTF-8
Python
false
false
1,137
py
#!/usr/bin/python """ ============================================================================== Author: Tao Li (taoli@ucsd.edu) Date: Jun 20, 2015 Question: 220-Contains-Duplicate-III Link: https://leetcode.com/problems/contains-duplicate-iii/ =============================================================...
[ "eroicacmcs@gmail.com" ]
eroicacmcs@gmail.com
b1ae58e31624a8ee0a964237752927feca1f5cd6
3006e60dd4811dec1b9f4f6b1fcfa4eddb6be44a
/Algorithms/Data_Structure/array_partition.py
5f1978d2003233b53f370fff92adc506e15553db
[]
no_license
duilee/workspace
382e8a2c11bc54e76e829bdd7b98268108e68c49
581c7e65383fe05d57826c7ad1a4d80a1bf0fcc5
refs/heads/master
2023-06-05T15:29:32.363152
2021-06-27T02:10:08
2021-06-27T02:10:08
328,106,426
2
0
null
null
null
null
UTF-8
Python
false
false
304
py
class Solution: def arrayPairSum(self, nums: List[int]) -> int: nums.sort() sums = 0 for i in range(0, len(nums), 2): sums += min(nums[i], nums[i + 1]) return sums """ def arrayPairSum(self, nums: List[int]) -> int: return sum(sorted(nums)[::2]) """
[ "duilee@berkeley.edu" ]
duilee@berkeley.edu
c042e8cb2939410c7a0920e6b0c6d62c6e3ef058
89a90707983bdd1ae253f7c59cd4b7543c9eda7e
/data_structures_and_algorithms_in_python/ch01/sum2.py
d93ad2c679baf32491dcdf2701e412303414a3fe
[]
no_license
timothyshull/python_reference_code
692a7c29608cadfd46a6cc409a000023e95b9458
f3e2205dd070fd3210316f5f470d371950945028
refs/heads/master
2021-01-22T20:44:07.018811
2017-03-17T19:17:22
2017-03-17T19:17:22
85,346,735
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
def compute_sum(values): total = 0 for v in values: total = total + v return total
[ "timothyshull@gmail.com" ]
timothyshull@gmail.com
f9c186bb3c8c872480fe94bed987c2c9425bc702
99ae8d6b9f4e0adfdf6ac148e4003a5fd4b70cc7
/Pico CTF/Pico CTF 2013/xortool.py
b544f44e1c08896d90a501dd15ebedd2021f38be
[]
no_license
Amo10/Computer-Science-2014-2015
80449e38a32d93e0e45bbeadaeb30b9e82437560
c68a49ba350285c01c171385445a06f006a45e18
refs/heads/master
2020-05-17T05:39:26.985455
2015-01-02T03:14:29
2015-01-02T03:14:29
26,147,151
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
#!/usr/bin/env python """ Xor tool to encrypt a file with XOR cypher using a key Inspired from http://www.daniweb.com/software-development/python/code/216632/text-encryptiondecryption-with-xor-python Usage: python xor.py plain_text_file 'secret_key' Will result in a *.xor file """ from sys import argv from StringIO im...
[ "Andrew@Andrews-MacBook-Pro.local" ]
Andrew@Andrews-MacBook-Pro.local
5c8d4b44f6aad9e66b30d70a14d1cb24f77c7ca3
96ea550c0c9cedb5ff2e3390f44303a227a3b040
/docs/conf.py
56864c8461b8bf595c51fd3dd55687d516e971c2
[ "MIT" ]
permissive
mihikasharma/dredd
f72cb6afdae211ac9a5c4d39ffe1a56131d2ea67
831871b63b0074d07cad01db9d934932bcfd74cb
refs/heads/master
2020-04-29T16:04:39.756442
2019-03-18T09:37:55
2019-03-18T09:37:55
176,247,048
0
0
MIT
2019-03-18T09:27:57
2019-03-18T09:27:57
null
UTF-8
Python
false
false
4,581
py
import os import sys import re import json import urllib.request from sphinx.errors import SphinxError from pygments.lexers.data import YamlLexer ########################################################################### # # # Dredd document...
[ "mail@honzajavorek.cz" ]
mail@honzajavorek.cz
341597d919229feef9cfa14d8d88a2e4552269e4
7b59fc2536380c72f291ced2d86a6fe0fbe2cc7a
/test_employee.py
d579f85948f65017a85acfcd67bad2e8ab7b729b
[]
no_license
tebbythomas/Python_Unit_Testing_Demo
e556f76abac9947b54cd3262e39398de308ba94f
7f5207807347a669dc33e0f3872be25f6fab32fc
refs/heads/master
2020-07-29T16:11:50.578022
2019-10-28T20:12:16
2019-10-28T20:12:16
209,875,701
1
0
null
null
null
null
UTF-8
Python
false
false
2,535
py
''' Description: Unit test code for the employee class ''' import unittest from employee import Employee from unittest.mock import patch class TestEmployee(unittest.TestCase): @classmethod def setUpClass(cls): print('setupClass') @classmethod def tearDownClass(cls): print('teardownC...
[ "tebby.thomas@gmail.com" ]
tebby.thomas@gmail.com
5ac158d4b6e43d1a9a18e936cbf7e192515a6e25
be4fc3aac9d41e52e799cc366376e611fe726f90
/reading_comprehension/util/data_util.py
988469595b702c1d4d317ef2314a773e5fe4eb53
[ "Apache-2.0" ]
permissive
Hope247code/reading_comprehension_tf
235fac5eee98183e021d8c315b8193f4a1a33ba3
6cd4ac78c6c93900458ac75c774766b56125891d
refs/heads/master
2023-06-28T14:50:26.802641
2019-07-14T06:30:30
2019-07-14T06:30:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
49,521
py
import codecs import collections import os.path import json import numpy as np import tensorflow as tf from util.default_util import * __all__ = ["DataPipeline", "create_data_pipeline", "create_src_data", "create_trg_data", "create_src_dataset", "create_trg_dataset", "generate_word_feat", "gene...
[ "mizheng@microsoft.com" ]
mizheng@microsoft.com
3ac74d98c5f7c57b58295604ef29863c51f95fea
a56a74b362b9263289aad96098bd0f7d798570a2
/venv/lib/python3.8/site-packages/prompt_toolkit/key_binding/bindings/emacs.py
dceaa73521f8f786b3f89ba4cf39252032b9226a
[ "MIT" ]
permissive
yoonkt200/ml-theory-python
5812d06841d30e1068f6592b5730a40e87801313
7643136230fd4f291b6e3dbf9fa562c3737901a2
refs/heads/master
2022-12-21T14:53:21.624453
2021-02-02T09:33:07
2021-02-02T09:33:07
132,319,537
13
14
MIT
2022-12-19T17:23:57
2018-05-06T08:17:45
Python
UTF-8
Python
false
false
19,648
py
# pylint: disable=function-redefined from typing import Dict, Union from prompt_toolkit.application.current import get_app from prompt_toolkit.buffer import Buffer, SelectionType, indent, unindent from prompt_toolkit.completion import CompleteEvent from prompt_toolkit.filters import ( Condition, emacs_insert_m...
[ "kitae.yoon@deliveryhero.co.kr" ]
kitae.yoon@deliveryhero.co.kr
4e28992860c47d3fb234b616e1f5da16cc2f0aef
cefc1215d274245afb139c4d0070f7246d285f3a
/03-deep_learning/01-tensorflow_examples/04-CV/04-ocr/OCR_repo/ocr_lib/gen_train_val_data.py
39cecd008838008e67d7263d3bd70920ab56a245
[]
no_license
MachineLP/CodeFun
7ddb02dbd3d99885015e3f641dadee124644a4a0
ed6b3190964371797c295346378f79197a9ce05e
refs/heads/master
2022-11-28T01:43:19.778901
2021-07-26T14:26:56
2021-07-26T14:26:56
115,327,621
44
12
null
2022-11-22T03:19:43
2017-12-25T09:57:51
Jupyter Notebook
UTF-8
Python
false
false
5,606
py
#-*- coding:utf-8 -*- """ Created on 2018 08.20 @author: liupeng wechat: lp9628 blog: http://blog.csdn.net/u014365862/article/details/78422372 github:https://github.com/MachineLP """ import numpy as np import random import os from tqdm import tqdm import pandas as pd import cv2 from keras.models import * from keras.la...
[ "MachineLP@163.com" ]
MachineLP@163.com
e337fb2ce228de5ea24a0eadacebd95281a8a778
2dc12207547c3438421905aee1c506d427e0cbf1
/ex01-VBA/oftk/oftk.py
ed761d0463964134fc089e7804df1d6f361784db
[]
no_license
xmduhan/reading_notes__learning_python
8b61ea30be3fb50e1ad49764fcfc8bee8189f48e
3526f6b07cb2be799b2baddd7a2e3afef27e7b81
refs/heads/master
2020-05-17T16:26:23.624423
2014-06-15T04:43:38
2014-06-15T04:43:38
16,638,479
1
0
null
null
null
null
UTF-8
Python
false
false
2,045
py
# -*- coding: utf-8 -*- """ 提供较为复杂office实用方法包,主要为最终脚本封装服务 """ #%% import win32com from pandas.io.excel import ExcelWriter from ppt import FourChartPage,ThreeChartPage from oftkl import forcePowerPointQuit,forceExcelQuit def dfs2Excel(dfs,sheetnames,filename): ''' 将一些列DataFrame保存到Excel中 ''' e...
[ "xmduhan@gmail.com" ]
xmduhan@gmail.com
5e08bea7685fe6298559323afd87539f59943757
b86a9c5672c754d06f2c162171adc7989850391e
/scripts/interesting_times.py
48e23ac9f77ed6b36ed4bf3e405da4040d133deb
[]
no_license
OSUrobotics/map_analysis
3741f9f1ba06024909081578d416ab4ea0b3c7ed
4fd613f2275dcb9495b764ac616fd45f0fdeb7aa
refs/heads/master
2020-06-07T18:25:37.415335
2015-10-23T21:39:58
2015-10-23T21:39:58
36,688,694
0
1
null
null
null
null
UTF-8
Python
false
false
7,055
py
#!/usr/bin/env python from map_analysis.math import ssd_mat as ssd from map_analysis.bag_utils import extract_clusters import rosbag import rospy import numpy as np import os import yaml from sklearn.cluster import MeanShift N_BINS = 100 LOWER_CUTOFF_BIN = 6 ACCEL_THRESH = 0.1 ANG_VEL_THRESH = 0.05 IMU_THRESH = (A...
[ "dan@lazewatsky.com" ]
dan@lazewatsky.com
5785eef3b295c5bcd717d058e1f587ab7b09969c
bc5e3ec2665f795b84671317ce736719ab79dc0f
/maintain_frontend/add_land_charge/additional_info.py
ba1be7ea89ab14fed269cac0314bd9b782028451
[ "MIT" ]
permissive
uk-gov-mirror/LandRegistry.maintain-frontend
9de44a9f42c4c29682276420dcf297d0afb48e5f
d92446a9972ebbcd9a43a7a7444a528aa2f30bf7
refs/heads/master
2021-09-26T16:14:55.686790
2018-10-29T15:37:03
2018-10-31T14:42:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,192
py
from flask import render_template, redirect, url_for, request, current_app, g from maintain_frontend.add_land_charge.validation.additional_info_validator import AddChargeAdditionalInfoValidator from maintain_frontend.decorators import requires_permission from maintain_frontend.constants.permissions import Permissions f...
[ "james.lademann@landregistry.gov.uk" ]
james.lademann@landregistry.gov.uk
47d16875597999f97a3101c84dce17f19918e14b
cfcd117378664e4bea080b3c1011a25a575b3d51
/tests/hawc/apps/epiv2/test_forms.py
baa0d0ef5a99251273da6e02c3ff502478f45612
[ "MIT" ]
permissive
shapiromatron/hawc
9d3a625da54d336334da4576bd5dac6915c18d4f
51177c6fb9354cd028f7099fc10d83b1051fd50d
refs/heads/main
2023-08-03T13:04:23.836537
2023-08-01T18:39:16
2023-08-01T18:39:16
25,273,569
25
15
NOASSERTION
2023-09-14T17:03:48
2014-10-15T21:06:33
Python
UTF-8
Python
false
false
2,669
py
from copy import deepcopy import pytest from hawc.apps.epiv2 import constants, forms, models @pytest.mark.django_db class TestExposureLevelForm: def test_clean(self): instance = models.ExposureLevel.objects.first() form = forms.ExposureLevelForm({}, instance=instance) data = deepcopy(fo...
[ "noreply@github.com" ]
shapiromatron.noreply@github.com
ceb83747658d076352ad31124c7b477bd6483433
045cb1a5638c3575296f83471758dc09a8065725
/addons/sale_margin/__init__.py
faf3ae29a42356d58837f254849bed0b71a93427
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
# -*- coding: utf-8 -*- # Part of Harpiya. See LICENSE file for full copyright and licensing details. from . import models # noqa from . import report # noqa
[ "yasir@harpiya.com" ]
yasir@harpiya.com
01ddc31826c02eb69c81a524e466d50b9aee3012
d13215e2cff8eaeabde1242c9e23c309d7be2036
/backendgroovebug 1.2.7/tests/FeaturedHandlerTests.py
3eaa88098f3d29382cba9c7e33c9d88bf34f80b2
[]
no_license
bbcawodu/groovebug_backend
182bf0ce8a5285c3870bfac6b7f3cd4190ef19bb
4ddf8a2c60747775a01ad1b4f4d6bf50d3e065b6
refs/heads/master
2020-03-29T17:23:03.158385
2018-09-24T19:47:47
2018-09-24T19:47:47
150,159,311
0
0
null
null
null
null
UTF-8
Python
false
false
2,445
py
# -*- coding: utf-8 -*- import unittest, httplib2, CompositeHandlerTests, random from django.utils import simplejson as json class FeaturedTestsCase(unittest.TestCase): def __init__(self, methodName='runTest'): super(FeaturedTestsCase,self).__init__(methodName) self.h = httplib2.Http()...
[ "awodubradley@gmail.com" ]
awodubradley@gmail.com
9c5f90a7a20400bb79bc3f599fd70eecf9bf81d5
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/wikipedia/testcase/interestallcases/testcase5_026_2.py
2222ab5692dc3255e18a7c2d169a6d611dc934bb
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
9,882
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
a0e62324ceb268f819381df866e560d72a14d03d
c7427aeec5599a828209efd3c2805e0b9159d1a3
/src/900_batch/401_download.py
344d4bfcde61aee17d867bc198afc000d2069d3a
[]
no_license
nakamura196/genji_curation
817690098fe6e0ea9f351edd8d21b4cb49a11c53
b7988e2125b68c3014dbeacad7c8ce795014eb7c
refs/heads/master
2023-04-14T01:27:39.322047
2021-04-30T00:04:54
2021-04-30T00:04:54
255,350,404
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
# coding: utf-8 import requests import time import os import shutil def download_img(url, file_name): r = requests.get(url, stream=True) if r.status_code == 200: with open(file_name, 'wb') as f: r.raw.decode_content = True shutil.copyfileobj(r.raw, f) for i in range(1, 55): ...
[ "na.kamura.1263@gmail.com" ]
na.kamura.1263@gmail.com
4cb87df7a2261222718c970129d213f4a4d5a65d
444f065c041ff559ac4d7aa8bbbd54d9bbac9dbb
/small-strain/laminate/non-linear-elasticity.py
26e14533f3429cfca92301139b28c89e0d9372e7
[ "MIT" ]
permissive
shahul31/GooseFFT
358e0369237d709a93ab12e32189ded5effaac23
1e460e6fed750cbaf33139e13cfc27dee5ab291e
refs/heads/master
2023-08-30T06:27:27.276732
2021-11-15T07:37:12
2021-11-15T07:37:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,469
py
import numpy as np import scipy.sparse.linalg as sp import itertools # turn of warning for zero division (occurs due to vectorization) np.seterr(divide='ignore', invalid='ignore') # ----------------------------------- GRID ------------------------------------ Nx = 31 # number of voxels in x-direction...
[ "tom@geus.me" ]
tom@geus.me
c4a305d145cdf8cc8f2ef04f1d012a1e4ebefe8e
480e33f95eec2e471c563d4c0661784c92396368
/DQM/BeamMonitor/python/AlcaBeamMonitor_cff.py
b4945921bdd6052db519a460eef04bd8eed9c528
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
307
py
import FWCore.ParameterSet.Config as cms from DQM.BeamMonitor.AlcaBeamMonitor_cfi import * import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi scalerBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone() alcaBeamMonitor = cms.Sequence( scalerBeamSpot*AlcaBeamMonitor )
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
daafcb01e0017a71f1a66d9832fb171358e18eed
6586ea2308776313d877a429ecebc3385a58896c
/dags-ttpl/testme.py
ff73873c3915e6c71e469e99291323efb026c781
[ "BSD-3-Clause" ]
permissive
vipul-tm/DAG
a36c177670c0d71891fb78dbe18942f108df408e
d0d3edcae0986773977963ddae0375e39bbbde95
refs/heads/master
2020-09-09T19:53:00.877960
2018-02-07T11:34:06
2018-02-07T11:34:06
94,444,933
3
2
null
null
null
null
UTF-8
Python
false
false
1,156
py
from airflow import DAG from airflow.operators import ApiExtractor from datetime import datetime, timedelta from airflow.models import Variable #from airflow.telrad_extractor_operator import TelradExtractor default_args = { 'owner': 'wireless', 'depends_on_past': False, 'start_date': datetime.now() -...
[ "vipul.sharma@teramatrix.in" ]
vipul.sharma@teramatrix.in
edd214088c4c67b4175c0ded5394123fb696a8a0
73543b2e172b5b2fd64cf6903f1fc4251335cb15
/c_example.py
390aadad4898fdaabd2b29c29d9ede5c7214ffe8
[]
no_license
stnava/C
d7f2d035672823551262bd92918040d375d630dc
39c86bb4375eb620465a206b6f9743e7a5602167
refs/heads/master
2021-06-10T17:14:03.625072
2019-05-10T01:22:51
2019-05-10T01:22:51
13,416,716
1
2
null
2019-05-10T01:22:52
2013-10-08T15:01:42
R
UTF-8
Python
false
false
1,091
py
import ants import os # Read in the images dataDirectory = './data/' fixedImageFile = dataDirectory + 'chalf.nii.gz' fixedImage = ants.image_read( fixedImageFile, dimension = 2 ) movingImageFile = dataDirectory + 'c.nii.gz' movingImage = ants.image_read( movingImageFile, dimension = 2 ) # Plot the fixed and moving...
[ "ntustison@gmail.com" ]
ntustison@gmail.com
bb6afd98e83cf160abc8ab4edf4beba1d56d6a1f
2f1bde1788642b637da63471495fb47102dc5b0b
/poleno/invitations/migrations/0004_invitationsupply_data.py
baaa4a4dc70146cc998f10cc3765a9b091415b4b
[]
no_license
martinmacko47/chcemvediet
841c9c8529f1e1a552138ec23c715e9750a127db
945cb89f37272d79dc38370c7fb481380a3d8472
refs/heads/master
2022-07-14T19:31:46.448495
2022-05-31T17:01:53
2022-05-31T17:01:53
13,114,888
6
5
null
2022-05-31T17:01:53
2013-09-26T06:41:40
Python
UTF-8
Python
false
false
852
py
# vim: expandtab # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations # Creates default InvitationSupply objects for all registered users. def forward(apps, schema_editor): InvitationSupply = apps.get_model(u'invitations', u'InvitationSupply') User = apps.g...
[ "martin@github.ksp.sk" ]
martin@github.ksp.sk
0414aafd897a77bba22e825c1b33950597bfbc1a
62b04f9f2cc8ec5c4ccaaf918bbc48c32367a3a3
/spotty/providers/gcp/instance_deployment.py
e4e9ce055cb9dca72cb1b5b09daaf149314f6723
[ "MIT" ]
permissive
spotty-cloud/spotty
80e9bb703df505c9f9c11e9efa0466bda6e419bd
bdbacd4e893bbc5e5372f11cac4658dc683a4904
refs/heads/dev
2023-08-11T00:32:52.906420
2022-06-25T19:46:14
2022-06-25T19:46:14
108,915,261
234
17
MIT
2023-06-18T16:27:56
2017-10-30T22:26:37
Python
UTF-8
Python
false
false
4,802
py
from spotty.commands.writers.abstract_output_writrer import AbstractOutputWriter from spotty.deployment.abstract_cloud_instance.abstract_instance_deployment import AbstractInstanceDeployment from spotty.deployment.container.docker.docker_commands import DockerCommands from spotty.deployment.utils.print_info import rend...
[ "apls777@gmail.com" ]
apls777@gmail.com
72af923f59b373a2b0dacf8039359c62aaf6bdbb
9848a719ddfdd21b5fe1fa2f55da290c0f6952dc
/minimum-deletions-to-make-character-frequencies-unique.py
ce449ea6f477c4188ae8880f90d51a11fffe4efb
[]
no_license
maomao905/algo
725f7fe27bb13e08049693765e4814b98fb0065a
84b35ec9a4e4319b29eb5f0f226543c9f3f47630
refs/heads/master
2023-03-13T12:38:55.401373
2021-03-25T01:55:48
2021-03-25T01:55:48
351,278,248
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
""" allocate the more than 1 freq to free space O(N) """ from collections import Counter class Solution: def minDeletions(self, s: str) -> int: cnt = Counter(s) cnt = Counter(cnt.values()) ans = 0 stack = [] for freq in range(max(cnt.keys())+1): if cnt[f...
[ "maoya.sato@gmail.com" ]
maoya.sato@gmail.com
fdf4d2c335e898efaddb7d3eec93c8754c1e74b8
c113158bf6ce1edeb24298d711fddc56af2d62ee
/heltour/tournament/migrations/0092_leaguemoderator_send_contact_emails.py
07003f4473fa52b9c0e49971416cf10d716630dc
[ "MIT" ]
permissive
elvisaronsp/heltour
44d05b6e195b5fd939304ac776167e85762aec83
f5444552293ee4d51cbc7cf025857ed23d7d03dd
refs/heads/master
2020-06-19T06:16:54.312479
2019-05-26T15:13:33
2019-05-26T15:13:33
196,594,361
1
0
MIT
2019-07-12T14:34:58
2019-07-12T14:34:58
null
UTF-8
Python
false
false
444
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-09-13 22:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tournament', '0091_remove_player_is_moderator'), ] operations = [ migrations.AddField( model_name='leag...
[ "ben.cyanfish@gmail.com" ]
ben.cyanfish@gmail.com
e51bf9525d20d7587f6bce7eee67de3056ca99b7
a99a44aee5cfc5e080f6d83d2bcc1c3d273a3426
/scripts/uscrn/compute_uscrn_pday.py
b106e21ce979d024792f2a8dc3ac4f6d433e8671
[ "MIT" ]
permissive
ragesah/iem
1513929c8bc7f254048271d61b4c4cf27a5731d7
8ed970d426bddeaa3e7ded593665d22f0f9f6e87
refs/heads/main
2023-08-20T20:01:15.480833
2021-10-12T15:44:52
2021-10-12T15:44:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,755
py
"""Compute the daily USCRN precipitation total. Called from `RUN_20_AFTER.sh` for current date. Called from `RUN_12Z.sh` for yesterday and a week ago. """ # pylint: disable=cell-var-from-loop import sys import datetime try: from zoneinfo import ZoneInfo except ImportError: from backports.zoneinfo import ZoneI...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
b92bf6fa22455551f3d1fbab8b547cdbe85ddfc9
cb05d0018dee14f9219dab6d2742a21832a53471
/question.py
41989b84f88bc519f3e3482089e30c3055728c21
[]
no_license
Sindhu983/file
35ae5328426c761290d4f3b6cf0e0123c58f8ef9
002ef18892da17825daf59f34da7278e9b763f5a
refs/heads/main
2023-06-09T20:09:26.205692
2021-06-24T09:15:35
2021-06-24T09:15:35
379,868,009
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
file=open("question.txt","r+") c=file.read() file1=file.write("\nI'm a navgurukul student") print(file1) file.close()
[ "you@example.com" ]
you@example.com
8e92cdef690c177ba9f4312239670f4b7dfb9a9f
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa1/sample/stmt_if_elif_else-70.py
967b2568544607306a632046608726f983f33dff
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
if 1 > 2: print(1) elif 3 == 4: print(2) elif True: print(3) else: print($INT)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
5f242e7c4ce9886aac55e1cdb84c00377d737a0e
b41e0def0792c55ee12a452bf34c1e339487b42c
/extras/arrange_data/compute_plumb_fluxes.py
17034cc1e3499633fc392fe5b7ea76cfb077005b
[]
no_license
marisolosman/assessment_SH_zonal_asymmetries
ba6e0a9c38019313367dbbe5914c45aa4f23b19e
dc400f09be8c6845ce86d28e2ab7bc9bfb37fcc8
refs/heads/master
2022-12-25T00:52:31.678839
2022-12-19T13:34:37
2022-12-19T13:34:37
194,651,414
0
2
null
null
null
null
UTF-8
Python
false
false
2,534
py
#sort el ninio events import numpy as np import xarray as xr import pandas as pd import plumb_flux import os os.environ['HDF5_USE_FILE_LOCKING'] = 'FALSE' RUTA='/storage/shared/glusterfs/acrcc/users/vg140344/data/' #abro el archivo de geopotencial y junto la coordenada year y numbre winds = xr.open_dataset(RUTA + 'win...
[ "marisolosman17@gmail.com" ]
marisolosman17@gmail.com
b4e4991d9a22714a8a59e44604b82039a70cc1b9
a433b785fa19a7d6d72987005120fd94d6d19b36
/manage.py
cc4ef940952a27a787d2b7c866e9a0e1ce1b76a1
[]
no_license
velinovasen/bet_assist
82c2123412e5c7e7578300439f5ecd1b25643ee8
b5f2b4a740ed36ec32d02edf5bea71d207da86c9
refs/heads/main
2022-12-27T03:44:56.791222
2020-10-10T13:14:16
2020-10-10T13:14:16
302,157,681
0
0
null
null
null
null
UTF-8
Python
false
false
666
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', 'bet_assist.settings') try: from django.core.management import execute_from_command_line except I...
[ "velinovasen@users.noreply.github.com" ]
velinovasen@users.noreply.github.com
5e8eb86858fe9fdc808c6e34a37aa5b8bb34e3c6
d9aece850fb295c43c42cb907f200285c33e0087
/aizu/lectures/introduction_to_programming_ii/set/set_delete.py
35e78655f5367c34b32b2fdf649589d2919d95d1
[]
no_license
memicq/ProgrammingContestAnswers
02a8f9ba76819cb04fb9934c6945a5de0735e6d4
b679894cadcbab1b84037db6fb8fd496079cf63a
refs/heads/master
2020-03-30T23:12:10.570349
2019-04-18T06:33:53
2019-04-18T06:33:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
#! python3 # set_delete.py numset = set([]) q = int(input()) for i in range(q): query = list(map(int, input().split(' '))) x = query[1] if query[0] == 0: numset.add(x) print(len(numset)) elif query[0] == 1: if set([x]).issubset(numset): print(1) else: ...
[ "jgr9ey2ug8@gmail.com" ]
jgr9ey2ug8@gmail.com
916601f25ccf69608f06d9edd27a76f957e2647a
75566ef3423c72fe9e73075dfe29df172b65a28c
/src/data/migrations/0017_userprofile_avatar.py
08d13fd6240eb924f6ad2e6bab5a09609cc27ae5
[]
no_license
bicsi/cpaggregator
7020663305eeff8690e92da64fc796926b12fe31
b6459fe33c19dc2020b29470e457f0666b0ff212
refs/heads/master
2022-12-12T10:24:38.756844
2020-11-11T13:53:30
2020-11-11T13:53:30
153,731,264
2
1
null
2022-12-08T01:15:28
2018-10-19T05:33:06
CSS
UTF-8
Python
false
false
446
py
# Generated by Django 2.1.2 on 2018-11-02 19:10 import data.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('data', '0016_auto_20181102_1556'), ] operations = [ migrations.AddField( model_name='userprofile', ...
[ "lucianbicsi@gmail.com" ]
lucianbicsi@gmail.com
b1778295333eeaa56d81c6573de4a8cc3ab42a09
27e890f900bd4bfb2e66f4eab85bc381cf4d5d3f
/tests/unit/modules/network/fortios/test_fortios_firewall_vip64.py
295c0773981cff59352e013e3c226d5fd8f36f65
[]
no_license
coll-test/notstdlib.moveitallout
eb33a560070bbded5032385d0aea2f3cf60e690b
0987f099b783c6cf977db9233e1c3d9efcbcb3c7
refs/heads/master
2020-12-19T22:28:33.369557
2020-01-23T18:51:26
2020-01-23T18:51:26
235,865,139
0
0
null
null
null
null
UTF-8
Python
false
false
12,664
py
# Copyright 2019 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the...
[ "wk@sydorenko.org.ua" ]
wk@sydorenko.org.ua
2b413dc9dd450636c82d29b3933c7c612d7735a5
e4a7a444d0fca8ad9cf135b36258afa53970d0fa
/HashTable.py
1edb17857fcbe1e0d24fa9d59318ddc8849d4612
[]
no_license
vpc20/python-misc
225b0e6a9ee60adc536cbf42155665e55dc93ed6
b0c7be9a6a85818cf873c72c5b5408486457eb8c
refs/heads/master
2021-07-17T09:45:49.376126
2021-05-15T23:07:37
2021-05-15T23:07:37
248,102,508
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
HASH_TABLE_SIZE = 1024 class HashTable: # def __init__(self, key, value): # self.key = key # self.value = value hash_table = [] bucket = [] item = [] def __init__(self): pass def hash_func(self, key): bucket_size = 128 hash_val = 0 for ch in k...
[ "cuevasvp@gmail.com" ]
cuevasvp@gmail.com
8f8722de4e3bedce569f88bd037589a25d5f9678
3a9379132ef3ebb5ab9ae67a3baea146006381e6
/Pc_11_验证码的识别/pc_01_图形验证码的识别.py
d6a29ded6c4607a8b9ac94e75e081c27bbf16928
[]
no_license
ahaoao/PySpider
9c8280affcee27985105a09ea354ac77773d77a6
9c32bd56a8b198050f3b467fe233a3699de73ecf
refs/heads/master
2020-08-09T21:29:37.666947
2019-10-10T12:09:03
2019-10-10T12:09:03
214,172,820
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
import tesserocr from PIL import Image result = tesserocr.file_to_text('Code.jpg') print(result)
[ "18985242014@163.com" ]
18985242014@163.com
2b1cf5b442c1a9a21767110353314f325d8bc153
85147eec46810841bd49918dd3df8d423e9f1a04
/custom_wizard/__manifest__.py
cda182234923f1f6190f32b3b2f1f9afe7a86292
[]
no_license
khyasir/odoo-10
999cade56501d96030399ecc3d525d5647ea5228
f745b6fe70748444b0a70d854d2273d8d24337cf
refs/heads/master
2021-08-16T22:45:01.532494
2017-11-20T12:37:12
2017-11-20T12:37:12
106,803,831
0
3
null
null
null
null
UTF-8
Python
false
false
195
py
# -*- coding: utf-8 -*- { 'name': 'custom_wizard', 'description': 'custom_wizard', 'author': 'yasir rauf', 'depends': ['base','test1'], 'data': ['views/todo_wizard_view.xml'], }
[ "yasirkrauf@yahoo.com" ]
yasirkrauf@yahoo.com
4984daf29117bcb225c6e8549c7d25f317dcd5ef
e7a8abf2e1d6097be94dadad42f12b2d533373ea
/contrib/macdeploy/custom_dsstore.py
1de2511b009d20e430c92a691a0cd7b464e86720
[ "MIT", "GPL-1.0-or-later", "LGPL-2.0-or-later", "GPL-3.0-or-later", "LGPL-2.1-or-later", "LicenseRef-scancode-warranty-disclaimer", "GPL-3.0-only", "AGPL-3.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zero24x/securecloudcoin
314b04fc537099f79007edd8162f1b1317306f56
19700b3c5fd1ec0f4a81c3e5dbe536a626ff2cc0
refs/heads/master
2020-03-24T19:23:21.194986
2018-07-30T20:13:41
2018-07-30T20:13:41
142,923,382
0
0
MIT
2018-07-30T20:11:48
2018-07-30T20:11:47
null
UTF-8
Python
false
false
3,782
py
#!/usr/bin/env python # Copyright (c) 2013-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from __future__ import division,print_function,unicode_literals import biplist from ds_store import DSStore...
[ "you@example.com" ]
you@example.com
5f26a14eb67fc5079bb5472e5b4f58c97c99fd63
5ace97f6bf2aeb661b4c544e1cc183684afe8413
/euler/65.py
904aa6d4f5fab6e0500055eacb863477c9a286a3
[]
no_license
crazymerlyn/code
1aada845b70486ef45408ff67bd722d910c58dd6
3deed9c8a1393c160866f33d5efc6dd3d1a4c469
refs/heads/master
2022-07-26T21:13:23.588366
2022-06-11T15:35:13
2022-06-11T15:35:13
97,077,698
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
from fractions import Fraction res = Fraction(1, 1) for i in range(99, 1, -1): digit = 2*i//3 if i % 3 == 0 else 1 res = digit + 1/res res = 2 + 1/res print(sum(int(d) for d in str(res.numerator)))
[ "crazy.d.merlyn@gmail.com" ]
crazy.d.merlyn@gmail.com
e67295499036ad495931414d22941b182e934f9a
8e7b56e6cef9951c5c9a3593f2a40a301d274bfc
/pfizer.py
bea0b7544279005ac49b15eaf052eae84fd099d2
[]
no_license
soumil0702/VacAvl
40a1d1cadadf3eea33882dcd3724877ddc0890d0
f89158d19b13f36281e668e747aa1bbfeaee19bf
refs/heads/master
2023-06-04T23:20:48.305428
2021-06-18T00:38:26
2021-06-18T00:38:26
377,994,800
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
''' Created on 18 Jun 2021 @author: soumi ''' from selenium.webdriver.chrome.options import Options from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementException from selenium.webdriver import ActionChains import time # example of adding o...
[ "you@example.com" ]
you@example.com
d4313881b0e6087a2e0f3faa32adfcfa331ef676
5a01ebf2479599ea89c1e767e76fabbfbd0271cb
/chainer/functions/math/average.py
e742ec8d7474a7672b56ac0c100dd9055ead8d87
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
ywatanabex/chainer
d3f161848842c1e82d868fcd083c41242ee4e471
a98bace8a52960a2b8a5ba4ab467c3e7052668a7
refs/heads/master
2020-12-25T03:21:29.251523
2017-05-01T05:45:25
2017-05-01T05:45:25
52,711,297
3
0
null
2016-02-28T08:08:59
2016-02-28T08:08:59
null
UTF-8
Python
false
false
1,834
py
from chainer.functions.array import broadcast from chainer.functions.array import reshape from chainer.functions.math import sum as sum_mod def average(x, axis=None, weights=None, keepdims=False): """Calculate weighted average of array elements over a given axis. Args: x (~chainer.Variable): Elements...
[ "unnonouno@gmail.com" ]
unnonouno@gmail.com
1eb7cac4728387a1be1b7bceee3402a7c5c9c313
b685036280331fa50fcd87f269521342ec1b437b
/src/demo/Sina_Data_Collection/collection/comments_crawler.py
1963f73a5a9c9acb0c3586694364b9a45166a14f
[]
no_license
chenqing666/myML_DM_Test
f875cb5b2a92e81bc3de2a0070c0185b7eacac89
5ac38f7872d94ca7cedd4f5057bb93732b5edbad
refs/heads/master
2022-02-26T01:52:06.293025
2019-09-20T06:35:25
2019-09-20T06:35:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,925
py
import requests import random from requests.exceptions import RequestException import time from urllib.parse import urlsplit import urllib.parse from math import ceil import multiprocessing import threading from src.demo.Sina_Data_Collection.common.util import mkdir import logging logging.basicConfig(level=logging.DEB...
[ "hejinrong@news.cn" ]
hejinrong@news.cn
6c28ec206861a7172eae6fb659b04e174c14e411
6dfad15f56e42a60c9cc11ddaf1f4e19569a18bd
/tests/test_basic.py
e1ffb4a58435dbf5a5ed101dbf128cba9e4acb17
[ "BSD-3-Clause" ]
permissive
repejota/fhost
453e3a21f95280d7231ef0f6062b669337ae20c4
211a3eb765b89ff5025e8e5a19befee6c9372a93
refs/heads/master
2020-05-22T14:34:16.060129
2014-02-21T03:32:21
2014-02-21T03:32:21
4,103,099
1
0
null
null
null
null
UTF-8
Python
false
false
1,827
py
# ## BEGIN LICENSE BLOCK # # Copyright (c) <2012-2014>, Raul Perez <repejota@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above...
[ "repejota@gmail.com" ]
repejota@gmail.com
3c1773ecbb73fd5180abac709f6d2e6a44949f6a
22931d5e91db42645510fd2f3ef8617c1e36cfb5
/Task 12: Mayfair.py
4d319e68ad6131af75334ee78036db4838afcb7d
[]
no_license
sasha00123/PillowTutorial
9e1c738eb7723fc105b7a197c4471e6c82a96766
6fbbc98c1f4332b2ca1c6c58b3a76d6124bf8ffe
refs/heads/master
2022-05-30T13:09:39.919304
2020-05-03T16:12:23
2020-05-03T16:12:23
260,966,371
1
0
null
null
null
null
UTF-8
Python
false
false
711
py
from PIL import Image with Image.open("virus.png") as img: img = img.convert("RGBA") pixels = img.load() center_x, center_y = img.width // 2, img.height // 2 radius = img.width // 2 diff_center, diff_border = 2, 0.1 for x in range(img.width): for y in range(img.height): r,...
[ "sasha@bashkort.org" ]
sasha@bashkort.org
95eaca84943445445f9447b9b5b10d39a18cfe0a
d2c229f74a3ca61d6a22f64de51215d9e30c5c11
/qiskit/result/mitigation/base_readout_mitigator.py
fd2abad24d0db134f3a937111d4dfa8916908b3b
[ "Apache-2.0" ]
permissive
1ucian0/qiskit-terra
90e8be8a7b392fbb4b3aa9784c641a818a180e4c
0b51250e219ca303654fc28a318c21366584ccd3
refs/heads/main
2023-08-31T07:50:33.568824
2023-08-22T01:52:53
2023-08-22T01:52:53
140,555,676
6
1
Apache-2.0
2023-09-14T13:21:54
2018-07-11T09:52:28
Python
UTF-8
Python
false
false
3,165
py
# This code is part of Qiskit. # # (C) Copyright IBM 2021 # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wor...
[ "noreply@github.com" ]
1ucian0.noreply@github.com
18227cdac01dc6bddfff355e3ae303c711f6c3d3
87acc9143e21c1e76c83131fd42032d8c8ccaf1d
/r5bandisplaysensor.py
4eb4b9e927bb1ac6d0c115eb11c0645a89530801
[]
no_license
Tubbz-alt/Leakage-Resilient-and-Lightweight-AKE-protocol-for-E-Health
c739035044982ffe2df99e690921680908311957
158d4d66b59d0d35ac2a6f74430f01e22e286348
refs/heads/master
2022-12-02T19:57:08.809874
2020-08-22T08:08:24
2020-08-22T08:08:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,992
py
import errno import socket import time import random import hmac from time import clock from collections import OrderedDict from ecc.Key import Key from hashlib import sha256,md5 from ecc.elliptic import mul,add,neg from time import clock from getCPU import getMemCpu, main DOMAINS = { # Bits : (p...
[ "noreply@github.com" ]
Tubbz-alt.noreply@github.com
6d095cc60ae71c7f58521951b4db94c9c670e087
62d6a37e1fb1b224b53e14a1cf151ef0571aa20f
/orun/core/checks/database.py
a39d6336f5cbbf4695a8d57b9b296fcee32eea01
[]
no_license
katrid/orun
4fa0f291a1ef43f16bc1857a170fc0b2e5e06739
bfc6dae06182124ba75b1f3761d81ba8ca387dea
refs/heads/master
2023-08-30T03:58:34.570527
2023-08-09T04:05:30
2023-08-09T04:05:30
66,562,767
14
4
null
2023-01-06T22:29:37
2016-08-25T14:01:44
Python
UTF-8
Python
false
false
259
py
from orun.db import connections from . import Tags, register @register(Tags.database) def check_database_backends(*args, **kwargs): issues = [] for conn in connections.all(): issues.extend(conn.validation.check(**kwargs)) return issues
[ "alexandre@katrid.com" ]
alexandre@katrid.com
c257a9d3b2d9894b5753be4c9cb30e9511ec3d9d
71f00ed87cd980bb2f92c08b085c5abe40a317fb
/Data/GoogleCloud/google-cloud-sdk/lib/surface/run/services/update.py
99adaebce0ca8857402c578e626f6ebb04c17af5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
factoryofthesun/Rao-NLP
2bd8269a8eed1cb352c14c8fde88e3111ccca088
87f9723f5ee51bd21310d58c3425a2a7271ec3c5
refs/heads/master
2023-04-18T08:54:08.370155
2020-06-09T23:24:07
2020-06-09T23:24:07
248,070,291
0
1
null
2021-04-30T21:13:04
2020-03-17T20:49:03
Python
UTF-8
Python
false
false
6,168
py
# -*- coding: utf-8 -*- # # Copyright 2018 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "guanzhi97@gmail.com" ]
guanzhi97@gmail.com
c0d4d59aa385f17622bfcb39b8c5891637d4cf32
2c59e943a98fe0c25b2f7267324fe850603def57
/leetcode/数组/矩阵里的幻方.py
9ee8e620a13b23df08c81a36ef184672b619c6a9
[]
no_license
xxNB/sword-offer
047dd6b3db7ea24af1a83d5a7a46ab47daa9ab85
e2699a43e9f7aecc475e21a4b2582c6ee3b41a1c
refs/heads/master
2021-07-06T18:44:47.074632
2019-01-16T15:57:27
2019-01-16T15:57:27
125,879,250
0
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
class Solution: def numMagicSquaresInside(self, grid): """ 直接按照河图的规定去做就OK了。用到了一个结论:河图的中心数字是5. 注意一个易忽略的点,就是所有的数字应该在1~9之间。测试用例里面出现了不在这个范围内的数字也能组成河图。 另外,关于河图,其实有很多有用的结论,我并没有使用。 河图记忆方法:偶角奇边坐心五.一线双角相对画. :param grid: :return: """ if len(grid) < 3 ...
[ "zhangxin@juxinli.com" ]
zhangxin@juxinli.com
ed210c26d050c4a6f47cb31df8339d0cac104f1f
483d0589f1efc10af3cbffe44b8abfe8031bf776
/descarteslabs/client/deprecation.py
99eacacf7eee6d7d89d7c3daceb32e2b5ec818fb
[ "Apache-2.0" ]
permissive
grpecunia/descarteslabs-python
3f4129748c8b251c76cf094d34485ea2e563d174
c99c3091f2629c758a27de4d8fd6e4a39a7b3013
refs/heads/master
2020-09-11T14:51:00.390072
2019-11-15T20:41:27
2019-11-15T21:02:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,526
py
# Copyright 2018-2019 Descartes Labs. # # 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 agreed to in ...
[ "support@descarteslabs.com" ]
support@descarteslabs.com
fa3caf91fdfa6eea59b1b13eadf046002ed80126
45de3aa97525713e3a452c18dcabe61ac9cf0877
/src/primaires/salle/editeurs/decedit/__init__.py
8d0d2e9257ddce5b2aad1d56f4b5cb474674a5cf
[ "BSD-3-Clause" ]
permissive
stormi/tsunami
95a6da188eadea3620c70f7028f32806ee2ec0d1
bdc853229834b52b2ee8ed54a3161a1a3133d926
refs/heads/master
2020-12-26T04:27:13.578652
2015-11-17T21:32:38
2015-11-17T21:32:38
25,606,146
0
0
null
null
null
null
UTF-8
Python
false
false
3,271
py
# -*-coding:Utf-8 -* # Copyright (c) 2012 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # l...
[ "kredh@free.fr" ]
kredh@free.fr
02685bdf19cd4101cb743d53dcd382fbc35761c6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_356/ch22_2019_03_15_01_41_05_399028.py
6d6bdfecaacd5b619bdb0d497487b03f0d4a75f5
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
def eh_bissexto(n): if n %4==0 and n %100!=0: return True else: return False a=eh_bissexto(2012) print(a)
[ "you@example.com" ]
you@example.com
0e0f456093bfd5c4f64ec783d12026fea10821d6
3a53cc14b7b4a85feb6f3b7655e82c7cce6f1ee9
/apiapp/views.py
08453be8f0b9cb57f401b53f487b32acb001516f
[]
no_license
codeboy/test-auth
e6bcbc7f24eaf901d6a0b23a040ebb94a2ae967d
7f3cf7b7e1bcceb40fe25cf62d2bb41da40ec5b7
refs/heads/master
2022-12-08T01:37:29.627967
2020-08-30T18:49:12
2020-08-30T18:49:12
291,056,247
0
0
null
null
null
null
UTF-8
Python
false
false
3,155
py
from django.http import HttpResponse from django.views import View from django.views.generic.base import TemplateView from django.conf import settings import requests import json import logging from .api_request import BaseRequest logger = logging.getLogger(__name__) api_url = "https://slb.medv.ru/api/v2/"...
[ "developer.ru@gmail.com" ]
developer.ru@gmail.com
0517e2ec49a26b3338d140caf4054415ec2d559f
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/Cases/2229/.mooctest/answer.py
40aed8482b6387582434f99db13ab92290b908aa
[]
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
369
py
class Solution(object): def isIdealPermutation(self, A): """ :type A: List[int] :rtype: bool """ for i in range(len(A)): if A[i] != i and abs(A[i] - i) > 1: return False return True b = input().split(',') c= [] for i in b: c.append(int(...
[ "382335657@qq.com" ]
382335657@qq.com
1fd30e2ab17421dd10cc1a9c8d2845b840e02bbe
7a4ac773912fa5c3eb3f8d684eb6050e403832b0
/python/machine-learning/mlmpy/run_nbayes1.py
3bb3187e43323ba190b7b361b6ab2defef02d496
[]
no_license
macinjoke/various
8e7de61b7bec28bd4b5e6210243fec1891b77f5e
11ff1d09a94dba41ffd586eb8a56175a94c1674c
refs/heads/master
2022-12-24T15:02:21.726248
2018-12-09T12:58:51
2018-12-09T12:58:51
81,713,017
0
0
null
2022-12-14T03:10:15
2017-02-12T08:31:34
JavaScript
UTF-8
Python
false
false
463
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ NaiveBayes1 test runner Chapter "Naive Bayes: a Primary Course" """ # imports import numpy as np from nbayes1 import NaiveBayes1 # load data data = np.genfromtxt('vote_filled.tsv', dtype=np.int) # split data X = data[:, :-1] y = data[:, -1] # learn model clr = Naiv...
[ "shunji.makino@gmail.com" ]
shunji.makino@gmail.com
650305ea33ececa3eba8983997718956011b3d00
27010a7ad70bf69511858a91d42dc7a64e61b66d
/src/1647_minimum_deletions_to_make_characters_frequencies_unique.py
ec06228335859e01622e3ed34a839a5b9b79484e
[ "Apache-2.0" ]
permissive
hariharanragothaman/leetcode-solutions
fb7d967f2c6e3f4c936e3c7afe369415bc8d2dc6
44e759f80d3c9df382fdf8d694d6378881e3649d
refs/heads/master
2023-09-03T20:31:59.200701
2021-10-18T00:50:56
2021-10-18T00:50:56
267,927,538
1
1
null
null
null
null
UTF-8
Python
false
false
1,576
py
""" A string s is called good if there are no two different characters in s that have the same frequency. Given a string s, return the minimum number of characters you need to delete to make s good. The frequency of a character in a string is the number of times it appears in the string. For example, in the string "aab...
[ "hariharanragothaman@gmail.com" ]
hariharanragothaman@gmail.com
04f2100f729bed3969617ea8c7b98c17960ff1f1
e20d947696ffb2422c5856ca1067c9a068705a82
/day009/hw_002_标志位.py
738d1a1d121d5b0b1656f172e980232b657bf1d7
[]
no_license
lxgzhw520/ZhangBaofu
27aed80446c687890e17c35a2bc5c93a5b75462e
401bae4b2d8e1a284d281cc29b5ed31a4e2039a4
refs/heads/master
2020-05-07T16:14:06.627708
2019-04-21T06:20:26
2019-04-21T06:20:26
180,673,589
4
3
null
null
null
null
UTF-8
Python
false
false
695
py
# _*_ coding:UTF-8 _*_ # 开发人员: 理想国真恵玩-张大鹏 # 开发团队: 理想国真恵玩 # 开发时间: 2019/4/9 17:45 # 文件名称: hw_001_re模块的所有方法.py # 开发工具: PyCharm """ 修饰符 描述 re.I 使匹配对大小写不敏感 re.L 做本地化识别(locale-aware)匹配 re.M 多行匹配,影响 ^ 和 $ re.S 使 . 匹配包括换行在内的所有字符 re.U 根据Unicode字符集解析字符。这个标志影响 \w, \W, \b, \B. re.X 该标志通过给予你更灵活的格式以便你将正则表达式写得更易于理解。 ...
[ "zhangdapeng@zhangdapengdeMacBook-Pro.local" ]
zhangdapeng@zhangdapengdeMacBook-Pro.local
8fe8890f25008209cec2ec6da60b8f033233e4ff
665d9bad46e68f779512640e582d2522867b0dba
/Strings/227. Basic Calculator II.py
340e989f29ed7ad85b48b9596c4eff33b8d37ab5
[]
no_license
RahatIbnRafiq/leetcodeProblems
6fd1e9726b14b7ad3571e5a4af5665b72f7aee0a
2d35590d189938e0705a21be110e75e0b209ea96
refs/heads/master
2021-11-25T11:58:20.498911
2021-11-25T00:43:04
2021-11-25T00:43:04
72,865,562
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
class Solution(object): def calculate(self, s): if not s: return "0" stack, num, sign = [], 0, "+" for i in xrange(len(s)): if s[i].isdigit(): num = num*10+ord(s[i])-ord("0") if (not s[i].isdigit() and not s[i].isspace()) or i == len(s)-1: ...
[ "rahat.rafiq@colorado.edu" ]
rahat.rafiq@colorado.edu
4b3868365dea2e67344d19503e9b90fc795b2f13
566754f63c0d665af01bdad8814873468f8be888
/python/learn/thinkbayes/hockey.py
49843500d3632f6770ddde23f4d86e211cf2d970
[ "MIT" ]
permissive
qrsforever/workspace
7f7b0363649b73e96526745f85a22e70b1c749c9
53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f
refs/heads/master
2022-05-04T18:58:41.562544
2020-05-25T04:07:00
2020-05-25T04:07:00
82,469,335
2
0
MIT
2022-04-12T21:54:15
2017-02-19T15:36:43
Jupyter Notebook
UTF-8
Python
false
false
7,098
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """This file contains code for use with "Think Bayes", by Allen B. Downey, available from greenteapress.com Copyright 2012 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ from __future__ import print_function, division import math # import col...
[ "lidong8@le.com" ]
lidong8@le.com
512c10750c55f7c30c70278bb19be024e8dc2cbe
4ef76ed052bf5b6ecec5886e6c9f7d4a7067942c
/gate_api/models/order.py
f32109e645348fce5f82f1f2d727d5dc64f75753
[]
no_license
a949208/gateapi-python
81711c1a78e76d72d3337c0d48bb7e0c68767f82
f544f73669cdef68225704c2240dc0f48ed3ad84
refs/heads/master
2020-09-12T11:29:05.774371
2019-11-07T05:33:46
2019-11-07T05:33:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,638
py
# coding: utf-8 """ Gate API v4 APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf. # noqa: E501 Contact: support@mail.gate.io Generated by: https://opena...
[ "revilwang@gmail.com" ]
revilwang@gmail.com
d7def9364496afb02d562fbeade61854c9013e05
923f707341f7e6a4c86673c52ca796f40638619c
/753. Cracking the Safe.py
19b43ca2c48670c78dea34f42c36adff3c88c52a
[]
no_license
Huijuan2015/leetcode_Python_2019
bb1e54801faa15ee3ef2a7bd7628b6a16033f7c7
36c584e8f92a0725bab7a567dfd10b918408627b
refs/heads/master
2020-04-22T13:31:55.203162
2020-03-10T00:00:58
2020-03-10T00:00:58
170,412,291
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
class Solution(object): def crackSafe(self, n, k): """ :type n: int :type k: int :rtype: str """ # 共有 pow(k, n)个答案, 从n个0开始, 下一个答案向后移一个 # 然后分别与k个数组合,验证是否在结果set中,不在就加入 passwords = set() res = '0'*(n-1) for i in range(pow(k, n)):# 为什么要循环这...
[ "huijuan1991@hotmail.com" ]
huijuan1991@hotmail.com
e472f7692ead0893aad646a47c79b4878815bd65
8cccdb1ca93d1b7ed690eb096522262523948a72
/tests/unit/libs/prices_tests.py
213bed70a1e6a51d3951808ac64bc3b298d857a0
[ "MIT" ]
permissive
newhub-spec/django-accounting
6b886378219dbed1d4f2ee34e71be198a7b28eb5
12b01a944d368ce717b57957d26d7aa4ecd04285
refs/heads/master
2020-08-21T08:06:41.318805
2019-10-19T06:33:41
2019-10-19T06:33:41
216,116,659
0
0
MIT
2019-10-18T22:35:01
2019-10-18T22:35:01
null
UTF-8
Python
false
false
1,891
py
from decimal import Decimal as D from itertools import product from django.test import TestCase from accounting.libs.prices import Price class TestPriceObject(TestCase): def test_can_be_instantiated_with_tax_amount(self): price = Price('USD', D('10.00'), tax=D('2.00')) self.assertTrue(price.is_t...
[ "dulacpier@gmail.com" ]
dulacpier@gmail.com
ae9518d0eac338a6f9250c7361d91d581b313a4b
f282599a4e08c16ebf873963cdb9fd967bca9f48
/Events/Usuarios/models/__init__.py
bea1f5206b1854557ab35db5115fded20d93b2b7
[]
no_license
EventsAPI/API
1086ae3bf4dc42c9e84f493d1f121ee7ee53f1c2
e3fb66e9a90e8866d5e4d9ebec2bceba287acba8
refs/heads/recu
2021-01-14T02:38:31.995301
2020-06-12T04:39:46
2020-06-12T04:39:46
242,570,820
0
2
null
2020-06-18T01:12:43
2020-02-23T18:41:07
Python
UTF-8
Python
false
false
58
py
from .usuarios import Usuario from .perfiles import Perfil
[ "luisrijhn09@gmail.com" ]
luisrijhn09@gmail.com
ee236cf7f39750c061217715331d916a4e66500c
12828cd0e1c852e8b52bfb71dd1b21ff85ddc09c
/serialization/serialization/snippets/views_cbv.py
09ac804344a9b45f3f6ccb3311392f47f1648343
[]
no_license
Hugekyung/drf-tutorial
9a107bad6cd2abdc78de2ef1e9b5c24d0d986591
0d371ccfa365daef9bd6fd30e32dcf96bc20e641
refs/heads/main
2023-06-29T14:50:03.108915
2021-08-03T08:01:23
2021-08-03T08:01:23
390,978,943
0
0
null
null
null
null
UTF-8
Python
false
false
2,692
py
""" 2. Class-Based Views - 기본적인 구현 내용은 FBV와 동일 - 확장성과 재사용성이 높아 활용성 높음 - 다중상속, Mixin 가능 - (단점)읽기 상속과 Mixin 코드에 대한 이해가 필요하다. 복잠. """ from snippets.serializers import SnippetSerializer from snippets.permissions import IsOwnerOrReadOnly from snippets.models import Snippet from django.http import Http404 from re...
[ "kiki9510@gmail.com" ]
kiki9510@gmail.com
2e511b851b95d0b7b1ed0a46dc4ff1dad4e9a556
ca66a4283c5137f835377c3ed9a37128fcaed037
/Lib/site-packages/sklearn/mixture/tests/test_bayesian_mixture.py
1c2e5101857b0ca6fe6446457c7b89eed36e6948
[]
no_license
NamithaKonda09/majorProject
f377f7a77d40939a659a3e59f5f1b771d88889ad
4eff4ff18fa828c6278b00244ff2e66522e0cd51
refs/heads/master
2023-06-04T20:25:38.450271
2021-06-24T19:03:46
2021-06-24T19:03:46
370,240,034
0
0
null
null
null
null
UTF-8
Python
false
false
20,743
py
# Author: Wei Xue <xuewei4d@gmail.com> # Thierry Guillemot <thierry.guillemot.work@gmail.com> # License: BSD 3 clause import copy import numpy as np from scipy.special import gammaln import pytest from sklearn.utils.testing import assert_raise_message from sklearn.utils.testing import assert_almost_...
[ "namithakonda09@gmail.com" ]
namithakonda09@gmail.com
c9955d416abbab5bdcad77f80bfc575613bcdbab
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2883/58616/317787.py
77427e76c825b5983180944561e7d5d379e67baf
[]
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
286
py
#include<bits/stdc++.h> using namespace std; int main() { int n,m,sum=0,r=0,col=0; char c; cin>>n>>m; for(int i=1;i<=n;i++) for(int j=1;j<=m;j++) { cin>>c; if (c=='B') r+=i,col+=j,sum++; } cout<<r/sum<<" "<<col/sum<<endl; return 0; }
[ "1069583789@qq.com" ]
1069583789@qq.com
6c5b66ca37a29d70dac600dbc40bd5321b18f5b8
76f59c245744e468577a293a0b9b078f064acf07
/865.smallest-subtree-with-all-the-deepest-nodes.py
2af95dd14cd99f69a7e929a5abf8bc8d4de2cf91
[]
no_license
satoshun-algorithm-example/leetcode
c3774f07e653cf58640a6e7239705e58c5abde82
16b39e903755dea86f9a4f16df187bb8bbf835c5
refs/heads/master
2020-07-01T10:24:05.343283
2020-01-13T03:27:27
2020-01-13T03:27:27
201,144,558
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
# # @lc app=leetcode id=865 lang=python3 # # [865] Smallest Subtree with all the Deepest Nodes # # @lc code=start # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def subtreeWithAllDeep...
[ "shun.sato1@gmail.com" ]
shun.sato1@gmail.com
c0f7e73fe93dcf887f31037ef9eae8569a2e507b
6f0cd8652c02b83da63993ad3b9640eb176c84f9
/scoring/urls.py
4c99edb7c27c481843f651a09d5c93c577c71359
[ "BSD-2-Clause" ]
permissive
mjtamlyn/channels-scoring
8d26e76704c19409d3efcc1890ce14dcf743b291
1a5dd82c0bcf33667457ed5d66dcc4125c6c950c
refs/heads/master
2021-01-01T05:30:13.175578
2016-05-08T08:48:21
2016-05-08T08:48:21
58,232,745
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
from django.conf.urls import url from . import views urlpatterns = [ url('^$', views.GameList.as_view(), name='index'), url('^(?P<game_id>\d+)/$', views.GameLeaderboard.as_view(), name='leaderboard'), url('^(?P<game_id>\d+)/score/$', views.GameDataEntry.as_view(), name='data-entry'), ]
[ "marc.tamlyn@gmail.com" ]
marc.tamlyn@gmail.com
04e6d9cb124f4a8ecb1f7d6d37fadb7a50a079fa
42c3a891a98efd110b5d722b32c4376f0fb429ea
/root/recon/scanners/siemens_utils.py
2c8c2463a0e988dcf465d8414de3de8c459d96cd
[ "LicenseRef-scancode-other-permissive", "BSD-3-Clause" ]
permissive
douglase/recon-tools
2858a63a747c2a2d63cdeea174f84c8d7b3ba224
25105dafcda97166d9357cf29226ffd57011ed71
refs/heads/master
2021-01-18T15:48:36.539440
2010-05-10T22:50:32
2010-05-10T22:50:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,790
py
from __future__ import division from recon.odict import odict import struct import cStringIO import os import numpy as np from recon import util class SiemensHeaderException (Exception): pass class PagedMemmap(object): # this class will have linear, paged memmap access across a large file. # it can provi...
[ "mtrumpis@gmail.com" ]
mtrumpis@gmail.com
ecbcebee8e1723004c91601e2aa0108384d580e9
56befbe23e56995f9772010f47dcbf38c8c150bc
/0x0F-python-object_relational_mapping/4-cities_by_state.py
bafa152105359c98d9209a89d8572cf57086104e
[]
no_license
lemejiamo/holbertonschool-higher_level_programming
a48175156816a856dba0ddc6888b76f6e04b7223
3f756ed3a907044bfc811f108d5ae98bb0e9802c
refs/heads/main
2023-08-14T13:22:13.481356
2021-09-28T04:09:50
2021-09-28T04:09:50
361,910,906
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
#!/usr/bin/python3 """cities by state""" import MySQLdb from sys import argv if __name__ == "__main__": username = argv[1] password = argv[2] database_name = argv[3] database = MySQLdb.connect(host="localhost", port=3306, user=username, ...
[ "luismejia69@gmail.com" ]
luismejia69@gmail.com
e186c1c4cb9a062f6d01c8e9ce63cfdfe564e42a
0d2f125d4ee8a2c63ef1b2ebac365631b105d34e
/queue.py
8a18cde309ff5c5325f913671ab5cfd2940ff8ba
[]
no_license
cgsarfati/HB-Assessment7-CSDataStructures
01b6f5b81f6bdfb26eb9667cce53c790543ea007
bda82c3d6de7fd8290753b26d19b96fab4f44205
refs/heads/master
2021-01-20T07:01:57.225251
2017-08-27T06:40:41
2017-08-27T06:40:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
"""FIFO queues implemented as a list. Warning: this is not the best way to implement a Queue.""" class Queue(object): """FIFO queue.""" def __init__(self): self._list = [] def __repr__(self): if not self._list: return "<Queue (empty)>" else: return "<Queu...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
9ea3dbb5ff439ccdb0d1807292f44f4f96f2b4f5
3df98e7d4551220e3b09d122e8d6897ca572d9f3
/file/file for demo/fileread2.py
8fde148dc4e8cea7a396bc9571a2c43231d5aeb7
[]
no_license
Madhav2108/Python-
2e4bf778348786d8dd082e3e1cdd7acb41d9f559
fdfdf944a96d83352979bc23c3b65aac7bd41d26
refs/heads/master
2023-03-30T21:37:26.326980
2021-03-31T17:40:49
2021-03-31T17:40:49
273,668,175
1
0
null
null
null
null
UTF-8
Python
false
false
231
py
f1=open("data1.txt","r") s=f1.read() L=len(s) print(L,", ",s) c1=0 if s[0].isupper(): c1=c1+1 for i in range(0,L): if s[i].isspace(): if s[i+1].isupper(): c1=c1+1 print("U: ",c1) f1.close()
[ "noreply@github.com" ]
Madhav2108.noreply@github.com
851eec45840e27277f346f8b66f7994ba8713e0b
57d907a992eb445526c24930b6441de13d6aae0a
/1721 Swapping Nodes in a Linked List.py
e015119d7701bbabd26da8beb886f369bd801a30
[]
no_license
sunnyyeti/Leetcode-solutions
9004505ed3d9d62561df3145e755c01e33d41bb2
34a78e06d493e61b21d4442747e9102abf9b319b
refs/heads/master
2023-06-24T06:29:04.948997
2023-06-17T09:43:38
2023-06-17T09:43:38
166,708,523
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
# You are given the head of a linked list, and an integer k. # Return the head of the linked list after swapping the values of the kth node from the beginning and the kth node from the end (the list is 1-indexed). # Example 1: # Input: head = [1,2,3,4,5], k = 2 # Output: [1,4,3,2,5] # Example 2: # Input: head =...
[ "H.Zhang2@shell.com" ]
H.Zhang2@shell.com
48ba5ecdbe1ac4891ef007e331fea7d21f13bab3
471f3dc148f3f61ad8e27a1d35593ba4bebf0db7
/edgar/companies.py
1b290f7ba4ee75deebbf0cef2b4407be48ef2012
[ "MIT" ]
permissive
AntBean/python-sec
94b8a8dfaf2fef1b33782d1b64bf9b3943107b46
8132fef53f91a72961a45d753b97b03492767a21
refs/heads/master
2023-06-27T23:43:09.826612
2021-07-25T20:06:38
2021-07-25T20:06:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,136
py
from typing import Dict from typing import List from typing import Union from datetime import datetime from enum import Enum from edgar.session import EdgarSession from edgar.utilis import EdgarUtilities from edgar.parser import EdgarParser class Companies(): """ ## Overview: ---- """ def __in...
[ "alexreed1192@gmail.com" ]
alexreed1192@gmail.com
cffad891153983b223e918778137a49eddc41c1a
c99c272181eb43df688cc6af10bfb17659014ab9
/01_Python-Basics/Lection2/Homework8.py
ee3093777956a5ca93b79cf588d7ad2e0a6061d8
[]
no_license
LachezarKostov/SoftUni
ce89d11a4796c10c8975dc5c090edecac993cb03
47559e9f01f7aabd73d84aa175be37140e2d5621
refs/heads/master
2023-01-29T20:49:57.196136
2020-12-10T12:34:09
2020-12-10T12:34:09
283,491,508
1
0
null
null
null
null
UTF-8
Python
false
false
147
py
a = float(input()) b = float(input()) c = float(input()) p = float(input()) final = ((a * b * c) * 0.001)*(1 - p * 0.01) print(f"{final:.3f}")
[ "68952160+LachezarKostov@users.noreply.github.com" ]
68952160+LachezarKostov@users.noreply.github.com
6709896a63920d44c05d33ebc9dffa573b463221
fbdd18eac2c5a3163f0a4154daf3e89ddef0507d
/day2/start/in_operator.py
f8692ea6440abd7fc6a16558008cf82809ea2469
[]
no_license
techsharif/python_training_2021
562d891e40fe2410cebcdad841eb407fb40b7871
246dddc1c4dae683df4b006fe96a5a117d1aeaf6
refs/heads/master
2023-02-27T12:11:23.541408
2021-02-10T10:03:48
2021-02-10T10:03:48
333,330,902
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
l = [1, 4, 6, 8] s = "hello world" print(4 in l) print([4, 8] in l) print([4, 6] in l) print('h' in s) print('hw' in s) print('he' in s)
[ "sharif.cse.hstu@gmail.com" ]
sharif.cse.hstu@gmail.com
bbad51b0060d0be762b58e2e96a8ffef965eb80a
4ae7fb5209c2d510f4547901bea17d7a191526f4
/gui/nodeEditor/nodeCodeEditor.py
23142c76497efceea7a85b9feed8526557b17f4f
[]
no_license
asdlei99/meShaderEd
fa76a2a605a8d8ec3d9e703847552b3bd90544c1
39d432d00aa1fbc9cbdd829c5759e020d80df9df
refs/heads/master
2021-01-04T23:31:32.690590
2018-08-29T11:05:28
2018-08-29T11:05:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,645
py
""" nodeCodeEditor.py ver. 1.0.0 Author: Yuri Meshalkin (aka mesh) (yuri.meshalkin@gmail.com) Dialog for managing node code """ from core.mePyQt import usePySide, usePyQt4, usePyQt5, QtCore, QtGui from core.meCommon import * from global_vars import app_global_vars import gui.ui_settings as UI from codeSynt...
[ "Yuri.Meshalkin@gmail.com" ]
Yuri.Meshalkin@gmail.com
ed7817f2a518d20507221cc3eb65501af70943cc
ffc1ab091d54635c96cd4ed6098c4bf388222f02
/nipype/nipype-master/nipype/interfaces/afni/utils.py
c7a9382578bac9849c617a1ace0810464c6c80bc
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bharathlakshman/brainintensive
fc7833078bb6ad9574e015004f2b3905c85b699e
eec8a91cbec29ba27d620984394d3ee21d0db58f
refs/heads/master
2021-01-01T19:04:25.724906
2017-07-28T01:48:28
2017-07-28T01:48:28
98,499,935
1
2
null
null
null
null
UTF-8
Python
false
false
66,755
py
# -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft = python sts = 4 ts = 4 sw = 4 et: """AFNI utility interfaces Examples -------- See the docstrings of the individual classes for examples. .. testsetup:: # Change directory to provide relative paths for...
[ "ibharathlakshman@gmail.com" ]
ibharathlakshman@gmail.com
f12985c0bf0d8528ab9ebbb975892a7891b7557b
235c4b3aa630737b379050a420923efadd432da8
/1stRound/Easy/520 Detect Capital/Checkconditions.py
518782c3ba864d7cfa995ea544b5cfe1f0874d54
[ "MIT" ]
permissive
ericchen12377/Leetcode-Algorithm-Python
4e5dc20062280ef46194da5480600b2459fd89f8
eb58cd4f01d9b8006b7d1a725fc48910aad7f192
refs/heads/master
2023-02-22T22:43:55.612650
2021-01-28T04:00:20
2021-01-28T04:00:20
258,058,468
2
0
null
null
null
null
UTF-8
Python
false
false
432
py
class Solution(object): def detectCapitalUse(self, word): """ :type word: str :rtype: bool """ count = 0 for i, w in enumerate(word): if w.isupper(): count += 1 return count == len(word) or count == 0 or (word[0].isupper() and count...
[ "suiyaochen@mail.usf.edu" ]
suiyaochen@mail.usf.edu
7f72440c02a5f81c72a65977a9ca9f148ef8e6e0
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/3449.py
a7647fcd4dd289c22a051780b95ea474fecc6298
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
inputFile = open("B-small-attempt0.in", 'r') outputFile = open("output.out", 'w') def getSum(C, X, F, n) : #print("C",C,"X",X,"F",F,"n",n) result = 0 for k in range(0, n) : result = result + C/(2.0 + F * k) result = result + X/(2.0 + F * n) return round(result, 7) caseNum = 0 l...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
44c76ebc03adac814dce6659f4730970edde7d32
abfff8ab3162f7003b51d3fdcc7897684d2d4e54
/c_py_extention/Lib/site-packages/pip/__init__.py
0493e45d923315a87af79d1f5a34ea1325ec3428
[]
no_license
RedKnite5/Junk
972dc24c99fe30400ab35e77bb4b69abe9076190
93b5bb4b6138518724528770cf56ea1df10e95b4
refs/heads/master
2023-04-10T07:25:14.968070
2023-04-04T04:19:42
2023-04-04T04:19:42
143,909,118
1
0
null
null
null
null
UTF-8
Python
false
false
473
py
from pip._internal.utils.typing import MYPY_CHECK_RUNNING if MYPY_CHECK_RUNNING: from typing import List, Optional __version__ = "20.2.3" def main(args=None): # type: (Optional[List[str]]) -> int """This is an internal API only meant for use by pip's own console scripts. For additiona...
[ "mr.awesome10000@gmail.com" ]
mr.awesome10000@gmail.com
591276457deb5005528630ba6cc6ec4698b53a38
be12c1ad5f2debb65ed4ab144f7bf6a89d8b1917
/owllook/views/operate_blueprint.py
d9bffce34a6a5a7d195fbb41af46f0d8a6db646a
[ "Apache-2.0" ]
permissive
iampaopaoyu/owllook
d03d5e838952ad1bc808d9b14cd4187389517407
972eb304e54f1981a757ab68409eef53e98129c0
refs/heads/master
2020-03-18T16:36:39.130766
2018-05-26T01:47:57
2018-05-26T01:47:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,181
py
#!/usr/bin/env python import datetime import hashlib from jinja2 import Environment, PackageLoader, select_autoescape from sanic import Blueprint from sanic.response import html, json from urllib.parse import parse_qs, unquote from owllook.database.mongodb import MotorBase from owllook.fetcher.function import get_tim...
[ "xiaozizayang@gmail.com" ]
xiaozizayang@gmail.com
ea77bb315cf3148023426802883b769fdd8bca6a
da5ef82554c6c0413193b7c99192edd70fed58dd
/mozdns/mozbind/migrations/0001_initial.py
e6fbf0a97c11e27c8ce1a81cc903f84b13b9ba5d
[]
no_license
rtucker-mozilla/mozilla_inventory
d643c7713c65aa870e732e18aaf19ce677e277b7
bf9154b0d77705d8c0fe1a9a35ce9c1bd60fcbea
refs/heads/master
2020-12-24T17:17:37.621418
2013-04-11T10:39:41
2013-04-11T10:39:41
2,709,399
1
2
null
null
null
null
UTF-8
Python
false
false
2,189
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'DNSBuildRun' db.create_table('mozbind_dnsbuildrun', ( ('id', self.gf('django.db....
[ "uberj@onid.orst.edu" ]
uberj@onid.orst.edu
0e06b51c7bb914f430e0c9cd3618bdf34445790d
761a9cab16087615cd69e3db4ca2e4e6653f45b0
/python_lumen/wsgi.py
bc0fdc79df6fe3370c1523fa15e55fcc84ec34e7
[]
no_license
thienkimlove/python_lumen
eac4b345426d3e0ec21c7a0389bd1210dc544ebf
3e64128f81dc5620b23cafdbe49c5490ba5cac63
refs/heads/master
2022-12-10T05:37:12.875816
2018-08-20T04:05:09
2018-08-20T04:05:09
119,933,992
0
0
null
2022-12-08T00:55:45
2018-02-02T04:58:24
Python
UTF-8
Python
false
false
401
py
""" WSGI config for python_lumen project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "quan.dm@teko.vn" ]
quan.dm@teko.vn
ecaca1b3e5d771c24f817cadb26b074af2754379
a00ed711e3e08b50ad6e91cc07a2cddc4a1de5ea
/tests/providers/google/cloud/hooks/test_cloud_composer.py
4d54c9397bac6bc03c70ee08ffc3ac33cf8add00
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ishiis/airflow
4305794e36b611d01f49e3f2401be3dc49782670
292440d54f4db84aaf0c5a98cf5fcf34303f2fa8
refs/heads/master
2022-07-30T00:51:28.806940
2022-07-14T12:07:11
2022-07-14T12:07:11
209,801,072
1
0
Apache-2.0
2019-09-20T13:47:26
2019-09-20T13:47:26
null
UTF-8
Python
false
false
7,063
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
ishiis.noreply@github.com
f6fd9deffb52c2eafffc3f129f0ed8061c47d02b
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/rasbt_mlxtend/mlxtend-master/mlxtend/feature_selection/column_selector.py
652590edfdfa9e29bedf1be262cfdaf60893e28f
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
2,446
py
# Sebastian Raschka 2014-2017 # mlxtend Machine Learning Library Extensions # # Object for selecting a dataset column in scikit-learn pipelines. # Author: Sebastian Raschka <sebastianraschka.com> # # License: BSD 3 clause from sklearn.base import BaseEstimator import numpy as np class ColumnSelector(BaseEstimator):...
[ "659338505@qq.com" ]
659338505@qq.com
0c8344ed508b797547823b60272c82018a8b33e5
d4e0ad1235acce263318630316957afb841ed88b
/blog/forms.py
4704f0e2cbbc78bd224b0fc3329085c33f7e121f
[]
no_license
SuperHeroYan/my-first-blog
5a0934f5ac69ff5185653ebf91f6e33ad1b6b897
e5116c3723c7b0cda138b98f8560dfcedb6972b7
refs/heads/master
2022-06-29T20:47:31.236741
2020-05-09T18:16:30
2020-05-09T18:16:30
262,119,072
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
from django import forms from . models import Post class PostForm(forms.ModelForm): class Meta: model = Post fields = ('title', 'text')
[ "test@gmail.com" ]
test@gmail.com
e3934474ec4e40129779e39c6d100ab5bcba1024
7d8022661a756f77f715ee4d099fb17cb9da671a
/quantlab/model/data.py
e4bc255b9cfb8c4592cbfc96868dae2e692ada98
[]
no_license
lxj0276/Quant-Util
a7d70d88fc47eb16a08149faefa7b128c01c670e
2706ecba72a293ee01105ad22508a8d6b20e1394
refs/heads/master
2020-04-25T13:40:36.700892
2018-10-15T04:35:54
2018-10-15T04:35:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,732
py
# -*- coding: utf-8 -*- import copy import numpy as np import pandas as pd class Dataset(object): """数据接口""" def __init__(self, datetime=[], instrument_id=[], feature=[], pct_change=[], feature_names=None, freq='1d'): try: assert len(datetime) == len(instrument_id) == len(feature) == len(p...
[ "zhangzc@pku.edu.cn" ]
zhangzc@pku.edu.cn
9be3337fe99888c1ccb7d9d11e3b35a5bf957c3c
81407be1385564308db7193634a2bb050b4f822e
/the-python-standard-library-by-example/pkgutil/pkgutil_get_data_zip.py
2ec04fe4270ce6a0eaab66bc368df8fdab603ce2
[ "MIT" ]
permissive
gottaegbert/penter
6db4f7d82c143af1209b4259ba32145aba7d6bd3
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
refs/heads/master
2022-12-30T14:51:45.132819
2020-10-09T05:33:23
2020-10-09T05:33:23
305,266,398
0
0
MIT
2020-10-19T04:56:02
2020-10-19T04:53:05
null
UTF-8
Python
false
false
897
py
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2010 Doug Hellmann. All rights reserved. # """Loading data from a zipfile. """ #end_pymotw_header import pkgutil import zipfile import sys # Create a ZIP file with code from the current directory # and the template using a name that does not appear on the # l...
[ "350840291@qq.com" ]
350840291@qq.com
5c8706d256e31e3c6b57b61548ecd34c25e470fe
a204e12194fc54a0c8e70962e6d19784f8d5c730
/quant/platform/huobi_future.py
5b3d7943b95dd95edc624e62cf7a05b870774f18
[ "MIT" ]
permissive
ayden-png/thenextquant--
d55a3d515df365c972448a6aeb633d1591de8e1a
7193e5b52075ff0c1faa5402f6076b5b7f7756d8
refs/heads/master
2022-03-09T01:55:36.502372
2019-09-19T08:02:42
2019-09-19T08:02:42
462,242,295
1
0
null
null
null
null
UTF-8
Python
false
false
29,050
py
# -*- coding:utf-8 -*- """ Huobi Future Trade module. https://www.hbdm.com/zh-cn/contract/exchange/ Author: HuangTao Date: 2019/08/23 Email: huangtao@ifclover.com """ import gzip import json import copy import hmac import base64 import urllib import hashlib import datetime from urllib.parse import urljoin from q...
[ "huangtao@ifclover.com" ]
huangtao@ifclover.com
98dde81c60aad812488e54f5b08c41d6f85adf48
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_376/ch151_2020_04_13_20_03_03_654585.py
cc8399ebb34c7aa062ed49611366ad02235c1ca0
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
def classifica_lista(l): i=1 t=[] while i<=len(l): if l[i]>l[i-1]: t.append(1) i +=1 elif l[i]>l[i-1]: t.append(-1) i +=1 cd=len(t) if cd==sum(t) and len(t)>0: return "crescente" elif cd== (sum(t))*(-1) and len(t)>0: ...
[ "you@example.com" ]
you@example.com
ab59ca8c41801866d695ec3e288b39578a5d7040
2c68f9156087d6d338373f9737fee1a014e4546b
/src/express-route/azext_express_route/vendored_sdks/v2018_08_01/models/express_route_link_py3.py
74d44c0f9b7c3ab3b8e559e3ad01bca9ca1ef975
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
anpaz/azure-cli-extensions
8b0d4071c49840da9883f13cb0fd1f4515246ee0
847fd487fe61e83f2a4163a9393edc9555267bc2
refs/heads/master
2023-04-23T17:22:53.427404
2021-01-29T17:48:28
2021-01-29T18:01:33
257,394,204
2
0
MIT
2021-01-28T10:31:07
2020-04-20T20:19:43
Python
UTF-8
Python
false
false
3,527
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
anpaz.noreply@github.com
b25c79fe99f37be011fff0c8984a3509f8b4ffee
3b1773ecd8c288f7545b0ae24b83cee73826c1f6
/packs/running/run1.py
2c505aca56426cc4ef8afdde3297d9e06bf15157
[]
no_license
CiceroAraujo/adm_impress
dc7989e24d381b389eb2d73a3d17b6fa520cf6ee
d572b8831606ee1c9b5004137ef3237cce764449
refs/heads/master
2020-12-20T12:18:34.430045
2020-01-15T00:14:47
2020-01-15T00:14:47
236,073,424
0
0
null
2020-01-24T19:56:15
2020-01-24T19:56:14
null
UTF-8
Python
false
false
510
py
import os from .. import directories as direc from ..preprocess.data import Data __all__ = [] name0 = direc.names_outfiles_steps[0] def load_mesh(name_mesh = name0): path_ant = os.getcwd() from ..load.preprocessor_load import init_mesh M = init_mesh(name_mesh) from ..preprocess.init_data_class impor...
[ "jprandrade2@gmail.com" ]
jprandrade2@gmail.com
1c232a5fe34b79a33d427b33b05cd6b07e0b6f21
64b33c5c68b2b668f086fd218a1ce0e381f7fb40
/binary_image/Standard/BW.py
67a94b3929fb997f82d00210a6d270f8f3564cd6
[]
no_license
hongjoon0805/ICE-N-DUDE
ce1f9c498ae490a76259be4d796e252a1ea6dedd
138e76ca56d39bc88a90a70e9c6d08d1c3a24b39
refs/heads/master
2020-04-20T11:43:55.646416
2019-02-02T11:50:54
2019-02-02T11:50:54
148,457,012
0
0
null
null
null
null
UTF-8
Python
false
false
1,859
py
# coding: utf-8 # In[1]: from core import * from tools import * import numpy as np from numpy import * import os import tensorflow as tf import keras as K import sys import argparse # In[2]: img_arr = ['barbara_512.png', 'boat_512.png', 'cman_256.png', 'couple_512.png', 'Einstein_256.jpeg', 'fruit_256.bmp', 'l...
[ "hongjoon0805@gmail.com" ]
hongjoon0805@gmail.com
488f0ad4bb6ca1de06ebe1c4a16c4b6833f26ac7
4e5141121d8b4015db233cbc71946ec3cfbe5fe6
/samples/basic/crud/models/cisco-ios-xr/Cisco-IOS-XR-ip-static-cfg/nc-create-xr-ip-static-cfg-10-ydk.py
7463d13768769981d984649f5c61bf0be5b9560d
[ "Apache-2.0" ]
permissive
itbj/ydk-py-samples
898c6c9bad9d6f8072892300d42633d82ec38368
c5834091da0ebedbb11af7bbf780f268aad7040b
refs/heads/master
2022-11-20T17:44:58.844428
2020-07-25T06:18:02
2020-07-25T06:18:02
282,382,442
1
0
null
2020-07-25T06:04:51
2020-07-25T06:04:50
null
UTF-8
Python
false
false
2,747
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "saalvare@cisco.com" ]
saalvare@cisco.com
a7e60ad0d28d7d0e485673b75c766a225843a8bc
a02ccb5dff094fad8bcd691dda234d50ff768299
/tools/pytorch-quantization/tests/functional_test.py
51312e3068c24e5356f5a31e9d72fa6746ceeaf9
[ "Apache-2.0", "BSD-3-Clause", "MIT", "ISC", "BSD-2-Clause" ]
permissive
NVIDIA/TensorRT
5520d5a6a5926a2b30dbdd2c5b2e4dfe6d1b429b
a167852705d74bcc619d8fad0af4b9e4d84472fc
refs/heads/release/8.6
2023-07-29T05:39:45.688091
2023-06-09T22:29:09
2023-06-09T23:04:18
184,657,328
8,026
2,096
Apache-2.0
2023-09-13T17:30:16
2019-05-02T22:02:08
C++
UTF-8
Python
false
false
3,569
py
# # SPDX-FileCopyrightText: Copyright (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # 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...
[ "rajeevsrao@users.noreply.github.com" ]
rajeevsrao@users.noreply.github.com