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
7407c2e2b17c0229bc90b732819e8d9409972b16
8b6cd902deb20812fba07f1bd51a4460d22adc03
/.history/back-end/djreact/articles/api/urls_20191212170930.py
3e7b419002f664981ec5529074a7a5d3fed5aac1
[]
no_license
vishaldenzil/Django-react-
f3a49d141e0b6882685b7eaa4dc43c84857f335a
35b6d41f6dacb3bddcf7858aa4dc0d2fe039ff98
refs/heads/master
2022-11-08T09:27:02.938053
2020-05-29T04:53:52
2020-05-29T04:53:52
267,768,028
0
1
null
2022-10-15T14:08:30
2020-05-29T04:52:20
Python
UTF-8
Python
false
false
250
py
from django.urls import path from .views import ArticleDetailView,ArticleListView,ArticleCreateView urlpatterns = [ path('',ArticleListView.as_view()),\ path('<pk>',ArticleCreateView.as_view()) path('<pk>',ArticleDetailView.as_view()), ]
[ "vishal.denzil@ezedox.com" ]
vishal.denzil@ezedox.com
9d21e326eec729c6206b1528818da7493cf0a122
01fbe5abd060ecedda70c7ae5db928e2bc3371e2
/scripts/git-sync
12ace2c00429c60c12eba6750aa8f66539612904
[]
no_license
arecker/bastard
a3911c7c0abc53c4f254bb1c492fa0fccfad0283
2e3ab598022dba127503e4f55b43cb0e755c3cd2
refs/heads/master
2022-03-14T23:19:13.883117
2019-12-02T22:02:51
2019-12-02T22:02:51
198,136,763
0
0
null
null
null
null
UTF-8
Python
false
false
2,831
#!/usr/bin/env python import argparse import datetime import logging import os import sys def get_logger(verbose=False): if verbose: level = logging.DEBUG else: level = logging.INFO logger = logging.getLogger('git-sync') logger.setLevel(level) handler = logging.StreamHandler(sys.s...
[ "alex@reckerfamily.com" ]
alex@reckerfamily.com
abddd850b8a545171a5c6c097c1615a2f5a038b0
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/6040/107006040.py
a26c23e1f479d456f90f6ff07e4618f40f826786
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
2,065
py
from bots.botsconfig import * from records006040 import recorddefs syntax = { 'version': '00604', 'functionalgroup': 'MC', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'G62', MIN: 0, MAX: 10}, {ID: 'AT5', MIN: 0, MAX: 99}, {ID: 'PR', MIN: 0, MAX: 99...
[ "doug.vanhorn@tagglogistics.com" ]
doug.vanhorn@tagglogistics.com
e2b7411a8ee36f2d8980496e3c37c414729356fb
74091dce735f281188d38d2f00d1a68e1d38ff7a
/network_programs/bridge_demo/bridge.py
9763824c4e75dcdb9d39fd950ea0f3be209e0614
[]
no_license
nbiadrytski-zz/python-training
96741aa0ef37bda32d049fde5938191025fe2924
559a64aae2db51e11812cea5ff602f25953e8070
refs/heads/master
2023-05-07T04:08:23.898161
2019-12-10T12:12:59
2019-12-10T12:12:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
import serial sr = serial.Serial('/dev/tty.usbserial-14200', 115200) sr.write(b'hello\n') sr.s print(sr.readline().decode('utf-8'))
[ "Mikalai_Biadrytski@epam.com" ]
Mikalai_Biadrytski@epam.com
0a07372dde34fc99c3a5e21470fc0c5ab2b738c3
43c96941aae099dd0d01120fd22abaccd6e55b21
/tests/test_instantiate.py
e3bd9a88fdd63583d743b475da8789f3560c831d
[ "BSD-3-Clause" ]
permissive
agoose77/widget-ts-cookiecutter
6ddba56c724d9dba6f0d667f23cdab84ed5f9faf
bd6825f02bfd5dc34965024d68dc3f69700863c4
refs/heads/master
2023-03-15T23:41:39.624795
2020-03-25T12:13:51
2020-03-25T12:13:51
258,137,524
0
0
BSD-3-Clause
2020-04-23T08:14:11
2020-04-23T08:14:10
null
UTF-8
Python
false
false
1,267
py
import os import sys import pytest HERE = os.path.abspath(os.path.dirname(__file__)) PROJECT_ROOT = os.path.dirname(HERE) pytest_plugins = "pytester" use_shell = os.name == 'nt' @pytest.fixture(scope='session') def example_instance(tmpdir_factory): from cookiecutter.main import cookiecutter import pip ...
[ "vidartf@gmail.com" ]
vidartf@gmail.com
d5fb0b3044f373ee8bab7e7212d39f211b1dfb15
f63c4eb29ce57319441f5469d1d049b63bc220de
/swu_cycle_variance/run375.py
6d1f034926f57b0b4994ea4d60d658683618678e
[]
no_license
a-co/diversion_models
0237642153668b16035699e9e734ff0538568582
69eed2687b1cd2b48f5717d15919eccd24a0eabc
refs/heads/main
2023-05-02T19:04:26.333677
2020-06-18T20:50:18
2020-06-18T20:50:18
216,904,337
0
0
null
null
null
null
UTF-8
Python
false
false
4,241
py
SIMULATION = {'simulation': {'agent': [{'name': 'deployer_civilian', 'prototype': 'civilian_deployer'}, {'name': 'deployer_shared', 'prototype': 'shared_deployer'}], 'archetypes': {'spec': [{'lib': 'cycamore', 'name': 'DeployInst'}, {'lib': 'cycamore', 'name': 'Source'}, {'lib': 'cycamore', 'name': 'Sink'}, {'lib': 'cy...
[ "acaldwel@wellesley.edu" ]
acaldwel@wellesley.edu
8ab219fea28eb0c510914d55eb4b35a9627a217a
6234f8d6f22d73ae2759d1388e8de5e5761c16e6
/meshio/dolfin_io.py
686ee4d45bd9ae0e4a2720c40b9124d1501913b2
[ "MIT" ]
permissive
renanozelo/meshio
44f457cae3a86976629ee8606795b79a7fde649d
073b99b0315c326bee17527498494aa7941bbe9e
refs/heads/master
2021-01-13T14:54:31.092974
2016-12-06T19:36:06
2016-12-06T19:36:06
76,459,995
1
0
null
2016-12-14T13:01:04
2016-12-14T13:01:04
null
UTF-8
Python
false
false
4,338
py
# -*- coding: utf-8 -*- # ''' I/O for DOLFIN's XML format, cf. <https://people.sc.fsu.edu/~jburkardt/data/dolfin_xml/dolfin_xml.html>. .. moduleauthor:: Nico Schlömer <nico.schloemer@gmail.com> ''' import numpy import warnings def read(filename): from lxml import etree as ET tree = ET.parse(filename) ro...
[ "nico.schloemer@gmail.com" ]
nico.schloemer@gmail.com
7fc2467f0250ee8322bbda3d68f914db118efa47
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02725/s138858472.py
cea9d71bc4a6904057ab3ad27c3bc17dd530ad24
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# 改善1:sys入力 # 改善2:ifで分岐させるより、あとから個別対応した方が分岐を毎回やらないですむ? import sys input=sys.stdin.readline def main(): k,n = map(int, input().split()) s = list(map(int, input().split())) l = [] for i in range(1,n): a = s[i] - s[i-1] l.append(a) l.append(k - (s[-1] - s[0])) print(k - max(l)) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
95be8ddec2560fac150592bcd46209a003361b3a
788f1d32045560ffafff468476c9c9897dabb31c
/Curso em Vídeo/Mundo 3 Estruturas Compostas/Aulas/file020.py
cfe7d4178f46631dfc5a24cec6d9e537d8ec2e08
[ "MIT" ]
permissive
henriqueumeda/-Python-study
7f8d911e9e724aa2f183e652e6a7ae31b742b90e
28e93a377afa4732037a29eb74d4bc7c9e24b62f
refs/heads/main
2023-08-10T21:10:32.360808
2021-09-21T02:37:16
2021-09-21T02:37:16
330,294,636
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
pessoa = ('Gustavo', 39, 'M', 99.88) del(pessoa) print(pessoa)
[ "issamuumeda@gmail.com" ]
issamuumeda@gmail.com
5bc3f4f8bb4647a25f30f51ce63937096d4246a1
784936ad8234b5c3c20311ce499551ee02a08879
/lab9/file/parse_file.py
cc36e2a591a78376ec7e3cffe6d4e0078c023d42
[]
no_license
jonlin97/CPE101
100ba6e5030364d4045f37e317aa05fd6a06cb08
985d64497a9861f59ab7473322b9089bfa57fd10
refs/heads/master
2021-06-16T01:31:31.025153
2017-02-28T19:29:11
2017-02-28T19:29:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
from sys import argv def main(): if len(argv) == 1 or len(argv) > 3: print 'Usage: [-s] file_name' exit() elif len(argv) == 3 and '-s' not in argv: print 'Usage: [-s] file_name' exit() else: if len(argv) == 2: file_name = argv[1] else: argv.pop(argv.index...
[ "eitan.simler@gmail.com" ]
eitan.simler@gmail.com
d0d77d4bd9e7aadf754112ca3de60249267d85d5
11211916f39b9d98027b64d778e52743d0c519a1
/L3/tmp/musicphotos/download/code/system/doc/design/admin/main.py
c5ea17877d1524a989a95723012b8d7d353e5101
[]
no_license
mantasruigys3000/Group-Task
87baf1bc2747323c0508f6f32ef733c3f4b50978
6790d74ae7fa0fe6b13733efcd75a9f4aca70ab0
refs/heads/master
2020-04-23T20:54:09.696659
2019-02-22T01:29:53
2019-02-22T01:29:53
171,454,102
0
0
null
2019-02-19T10:31:09
2019-02-19T10:31:08
null
UTF-8
Python
false
false
80
py
Quaerat etincidunt adipisci sit ipsum aliquam. Username: Bert Password: maggie1
[ "mantasruigys101@gmail.com" ]
mantasruigys101@gmail.com
cc187ad5d061659b1d141e6ae8c0c903749475b1
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/comparison/test_textbox11.py
ca80f1243f3d1dbb199c896488058878d7a21f2d
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
857
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
9411320ce5f493de2d42d37e564a2e9624a820f8
97884252481ff208519194ecd63dc3a79c250220
/pyobs/events/newspectrum.py
bb03c0263c82eddeafae717430787cfbb9842aa4
[ "MIT" ]
permissive
pyobs/pyobs-core
a1f30137d7f991bad4e115de38f543e59a6e30d2
2d7a06e5485b61b6ca7e51d99b08651ea6021086
refs/heads/master
2023-09-01T20:49:07.610730
2023-08-29T09:20:05
2023-08-29T09:20:05
174,351,157
9
3
NOASSERTION
2023-09-14T20:39:48
2019-03-07T13:41:27
Python
UTF-8
Python
false
false
1,003
py
from __future__ import annotations from typing import Dict, Any from typing_extensions import TypedDict from pyobs.events.event import Event DataType = TypedDict("DataType", {"filename": str}) class NewSpectrumEvent(Event): """Event to be sent on a new image.""" __module__ = "pyobs.events" def __init...
[ "thusser@uni-goettingen.de" ]
thusser@uni-goettingen.de
854ae9710abde0ac2c9a66fa74291936c78a3839
503e97b5c0bb77e923fe135ff14a8b5ca5e6ba07
/mxshop/mxshop/settings.py
14c8a2c9bfd1e2ae8fcb833563b71aac4cf284a3
[]
no_license
pshyms/dianshang-1
72345de3ce769efeb2b17c975b586590524dcdbe
788b7950f52cb7979a8b73e5d9193243f2e69cad
refs/heads/master
2021-05-21T10:11:38.248170
2020-04-03T06:25:13
2020-04-03T06:25:13
252,649,823
0
0
null
null
null
null
UTF-8
Python
false
false
3,483
py
""" Django settings for mxshop project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os imp...
[ "1816635208@qq.com" ]
1816635208@qq.com
f3dd845a32db99083ff44cd824500f31f1ae9c52
4d4d05bb396e19e32e1ecbba1e2bd20c52d5d22e
/backend/mobile_testing_12_d_14208/wsgi.py
2897d07e06cc71965e9451a659567a8368ba3255
[]
no_license
crowdbotics-apps/mobile-testing-12-d-14208
c78e93a4b214901383bf803d12dbf70573536b87
9dacf9161fbd7912f57a07e47c017b1ac4b52f5b
refs/heads/master
2023-01-02T20:56:47.081621
2020-10-29T15:34:50
2020-10-29T15:34:50
308,371,847
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
""" WSGI config for mobile_testing_12_d_14208 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdef...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
af19b5a06d215882024497e34544be63114c99d3
4d64248b2d7fed5fc61afb93717f6da9d77bb78e
/test/integration/test_main.py
d29c6c5b74ebd22411d73ba02378a9073d052370
[ "Apache-2.0" ]
permissive
aniltimilsina/ansible-runner
eab0e40b2e2f1f9db202d9bc532abe92b5439f6e
dd6dbdf137e91adaabff3a1bb602615e174c0f73
refs/heads/master
2020-03-31T01:37:39.924968
2018-09-28T14:22:50
2018-09-28T14:22:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,312
py
from __future__ import print_function from ansible_runner.__main__ import main import os import multiprocessing import shutil import yaml import tempfile import time from contextlib import contextmanager from pytest import raises from ansible_runner.exceptions import AnsibleRunnerException HERE = os.path.abspath(os...
[ "bthomass@redhat.com" ]
bthomass@redhat.com
61bce7c35d257868765417a85473fa98fae8ce2f
75a35cefa5adf2f42503eb0cc8c60f7f96ff9650
/economico/migrations/0003_auto_20210624_1236.py
49bc13dc659775704cd8f50eb92f82ef53321af2
[]
no_license
PatacaSis/agroweb
5c70f35001d0e88fb5f1642161d4eee6b4abda59
e2181fa0bb6ca7752bdbaab62fe60ede9f2630b2
refs/heads/main
2023-06-20T23:37:50.294745
2021-07-19T23:26:55
2021-07-19T23:26:55
381,737,279
0
0
null
null
null
null
UTF-8
Python
false
false
1,984
py
# Generated by Django 2.2 on 2021-06-24 15:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('economico', '0002_auto_20210624_1117'), ] operations = [ migrations.CreateModel( name='Subrubro',...
[ "patacasis@gmail.com" ]
patacasis@gmail.com
b70bb144c8be07a7f7244b2cacdb4a2f8bf5fd20
2b468b1d22ecc5668529255676a1d43936829074
/codes/personal_backend/tuoen/agile/apis/shop/channel/__init__.py
972111c6caa39d94c4dbc5d5ab175e75eadc7a70
[]
no_license
MaseraTiGo/4U
5ac31b4cccc1093ab9a07d18218c3d8c0157dc9c
f572830aa996cfe619fc4dd8279972a2f567c94c
refs/heads/master
2023-07-26T09:44:21.014294
2023-07-13T03:43:34
2023-07-13T03:43:34
149,217,706
0
0
null
2020-06-05T20:38:16
2018-09-18T02:34:29
Python
UTF-8
Python
false
false
9,674
py
# coding=UTF-8 # 环境的 # 第三方 # 公用的 from tuoen.sys.core.exception.business_error import BusinessError from tuoen.sys.core.field.base import CharField, DictField, IntField, ListField, BooleanField, DatetimeField from tuoen.sys.core.api.request import RequestField, RequestFieldSet from tuoen.sys.core.api.utils import wit...
[ "344627181@qq.com" ]
344627181@qq.com
4a39feec52733f26c0e7cbb9c3736c8c737ab13c
5f357d6f03b61a9c3d4f65d64c407df8d314d57a
/scripts/pdns/lib/python2.7/sre_constants.py
95dabd6e7dddaa095692cac6fc8dc92500955f12
[]
no_license
mrlesmithjr/ansible-vsphere-management
a1c721a724f3a8cf00a312fff839f1610749ad2b
5ea2bfdbba110aaca41278242ba94f4cc0a0cb99
refs/heads/master
2023-06-08T04:39:54.739166
2023-05-29T14:26:24
2023-05-29T14:26:24
103,217,448
86
39
null
2018-02-23T17:45:06
2017-09-12T03:28:16
Python
UTF-8
Python
false
false
105
py
/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sre_constants.py
[ "mrlesmithjr@gmail.com" ]
mrlesmithjr@gmail.com
0fa8189b6205033ea38a4baca5d931a95dd69480
6203b9132af8f78c6cb12242bd223fa17d14f31e
/leetcode/hot100/739.py
4a83290d96acb97e8294d1fcc0c49ad525e00df8
[]
no_license
joshuap233/algorithms
82c608d7493b0d21989b287a2e246ef739e60443
dc68b883362f3ddcfb433d3d83d1bbf925bbcf02
refs/heads/master
2023-08-23T12:44:42.675137
2021-09-28T02:37:01
2021-09-28T02:37:01
230,285,450
1
0
null
null
null
null
UTF-8
Python
false
false
689
py
# https://leetcode-cn.com/problems/daily-temperatures/ # 739. 每日温度 from typing import List from collections import deque class Solution: """ 从左向右遍历 维护一个单调栈,如果当前元素 <= 栈顶元素, 当前元素入栈 否则栈顶元素出栈,直到当前元素为最小元素 """ def dailyTemperatures(self, temperatures: List[int]) -> List[int]: s...
[ "shushugo233@gmail.com" ]
shushugo233@gmail.com
d219b210b9aea9a439ac50e2a4a42aed1ea38432
37dd9a4970ef0c69868809cd1f09bb9bf137187a
/tests/cupy_tests/core_tests/test_ndarray_scatter.py
26b568f3b49a1944ebbef7aa07ef03a659b8a08c
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
minus9d/chainer
3d7549135a85926a528e7167e37947735dd096d7
f34c20e45dc86dfa6bbc62e080be3fd97aa3f466
refs/heads/master
2021-01-11T22:17:47.567101
2017-01-13T03:49:34
2017-01-13T03:49:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,537
py
import unittest import numpy import cupy from cupy import testing @testing.parameterize( # array only {'shape': (2, 3, 4), 'slices': numpy.array(-1), 'value': 1}, {'shape': (2, 3, 4), 'slices': numpy.array([1, 0]), 'value': 1}, {'shape': (2, 3, 4), 'slices': (slice(None), [1, 2]), 'value': 1}, {...
[ "yuyuniitani@gmail.com" ]
yuyuniitani@gmail.com
79f035817224a222421136ec0202b67a832a3d4d
4e30d990963870478ed248567e432795f519e1cc
/tests/models/validators/v3_1_patch_1/jsd_bea2910401185295a9715d65cb1c07c9.py
4c20015d51ab24952aff9a591ff4fba674cede0d
[ "MIT" ]
permissive
CiscoISE/ciscoisesdk
84074a57bf1042a735e3fc6eb7876555150d2b51
f468c54998ec1ad85435ea28988922f0573bfee8
refs/heads/main
2023-09-04T23:56:32.232035
2023-08-25T17:31:49
2023-08-25T17:31:49
365,359,531
48
9
MIT
2023-08-25T17:31:51
2021-05-07T21:43:52
Python
UTF-8
Python
false
false
8,098
py
# -*- coding: utf-8 -*- """Identity Services Engine updateNetworkAccessConditionByName data model. Copyright (c) 2021 Cisco and/or its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software ...
[ "bvargas@altus.cr" ]
bvargas@altus.cr
45a1448d0fb517a8f6109c50acd0d444b35696a9
09301c71638abf45230192e62503f79a52e0bd80
/besco_erp/besco_account/general_account_asset/wizard/wizard_asset_compute.py
2159e39e0228453a5ac13d57989d9b0e66b11412
[]
no_license
westlyou/NEDCOFFEE
24ef8c46f74a129059622f126401366497ba72a6
4079ab7312428c0eb12015e543605eac0bd3976f
refs/heads/master
2020-05-27T06:01:15.188827
2017-11-14T15:35:22
2017-11-14T15:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,916
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
[ "son.huynh@nedcoffee.vn" ]
son.huynh@nedcoffee.vn
e8fe137014c1db7c346768859e5a1022752e8930
231ced7456347d52fdcd126cfc6427bef47843d3
/spj/timc.py
1b9cec7e3976f743b8bc8040989f2d874b006b54
[]
no_license
overminder/SPJ-D.Lester-book-Reading
d6590590d39d0e41ba23b77aecd448ed9888203b
8a80f4100cdb32c73acf0c14ffdee5f72a8b7288
refs/heads/master
2016-09-05T23:37:40.028269
2012-12-04T14:25:32
2012-12-04T14:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,401
py
from spj.errors import InterpError from spj.language import W_Root, W_EAp, W_EInt, W_EVar, W_ELet, ppr from spj.timrun import (State, Take, Enter, Return, PushInt, PushLabel, PushArg, PushCode, PushVInt, Move, Cond, Closure) from spj.primitive import module def compile(prog): cc = ProgramCo...
[ "p90eri@gmail.com" ]
p90eri@gmail.com
a26a366b10cc223f2342920a7884674cb453093c
be50b4dd0b5b8c3813b8c3158332b1154fe8fe62
/Strings/Python/ConvertToPalindrome.py
46439cae661b90bd3d651d5ecdbabb178e6a9e66
[]
no_license
Zimmermann25/InterviewBit
a8d89e090068d9644e28085625963c8ce75d3dff
6d2138e740bd5ba8eab992d9bf090977e077bfc5
refs/heads/main
2023-03-24T18:12:48.244950
2021-03-24T14:36:48
2021-03-24T14:36:48
350,835,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
class Solution: # @param A : string # @return an integer def solve(self, A): '''while(i<j){ if(count>1) return 0; if(A[i]==A[j]) i++,j--; else if(A[i]!=A[j] && A[i+1]==A[j]) i++,count++; else if(A[i]!=A[j] && A[i]==A[j-1]) j--,count++; ...
[ "noreply@github.com" ]
Zimmermann25.noreply@github.com
6b06a0acefe3c3545167fd5f57a55c8c71e71347
fa60536fbc7c0d8a2a8f08f0a5b6351c77d08054
/3]. Competitive Programming/03]. HackerRank/1]. Practice/08]. Problem Solving/Algorithms/02]. Implementation/Python/_63) Sequence Equation.py
b4f4bb8ecf6be9a2c2c62234e16e5f5721b99482
[ "MIT" ]
permissive
poojitha2002/The-Complete-FAANG-Preparation
15cad1f9fb0371d15acc0fb541a79593e0605c4c
7910c846252d3f1a66f92af3b7d9fb9ad1f86999
refs/heads/master
2023-07-17T20:24:19.161348
2021-08-28T11:39:48
2021-08-28T11:39:48
400,784,346
5
2
MIT
2021-08-28T12:14:35
2021-08-28T12:14:34
null
UTF-8
Python
false
false
191
py
# Contributed by Paraj Shah # https://github.com/parajshah n = int(input().strip()) p = list(map(int,input().strip().split(' '))) for i in range(n): print(p.index(p.index(i+1)+1)+1)
[ "parajshah2000@gmail.com" ]
parajshah2000@gmail.com
89ce91e9cdd45bcea7cda1f6618b0a8911d4b680
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_97/1400.py
447598b617c56ae623656f731538c43f7a43f01b
[]
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
466
py
import sys _ = sys.stdin.readline() for case, line in enumerate(sys.stdin.readlines()): case += 1 a, b = map(int, line.split()) if a/10 == 0 and b/10 == 0: print 'Case #%d: 0' % case else: r = {} for i in xrange(a, b+1): n = m = str(i) for _ in n: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
9c35522a35153ec47b7157766cefe7a0384683de
e5202e0f36c15b8898920a461a866168fa059947
/clirad/co2_0.0004/band_6/atmpro_saw/cliradlw_de5d43e/param.py
3674e302c2882b619563b3d9eeb6f45422df8f75
[]
no_license
qAp/analysis_-_new_kdist_param
653c9873751646f6fa9481544e98ed6065a16155
272dc3667030cdb18664108d0bd78fee03736144
refs/heads/master
2021-06-11T04:21:35.105924
2019-08-04T13:13:07
2019-08-04T13:13:07
136,108,828
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
PARAM = {'atmpro': 'saw', 'band': [6], 'commitnumber': 'de5d43e', 'molecule': {'co2': 0.0004}, 'tsfc': 257} PARAM_LBLNEW = {'molecule': 'co2', 'band': '4', 'commitnumber': 'a22ab94', 'vmin': 800, 'vmax': 980, 'dv': 0.001, 'nv': 1000, 'ref_pts': [(1, 250), (500, 250)], 'ng_refs': [1, 2], 'ng_adju': [0, 0], 'klin': 6.5e-...
[ "llacque@gmail.com" ]
llacque@gmail.com
f836bad57be012645982c1938cbfcf9f3c52db1d
5844d61fc4e9fe70a6936e9d0d6bb4bc4f84465c
/phy/traces/filter.py
ef951d1253112612182224882c05961906dd82a7
[]
no_license
danieljdenman/phy
4f57c910020e3839432cf56e5ed817bf7b997e8e
9ba3a00d12b6b72856f1420ed977586d8a8f7d31
refs/heads/master
2021-01-22T15:35:47.522407
2015-06-25T15:40:41
2015-06-25T15:40:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,532
py
# -*- coding: utf-8 -*- """Waveform filtering routines.""" #------------------------------------------------------------------------------ # Imports #------------------------------------------------------------------------------ import numpy as np from scipy import signal from ..utils._types import _as_array #---...
[ "cyrille.rossant@gmail.com" ]
cyrille.rossant@gmail.com
f91aec160267606ac564ac84e93d38b1da5028e3
0ba5622abc2125ac8a9907757680da4d7cb7b47e
/Knowrob/indigo/indigo-knowrob-dev/catkin_ws/devel/lib/python2.7/dist-packages/iai_robosherlock_msgs/msg/_SimplePerceiveObjectAction.py
5d73e25e09154e4dd4d08e1bf6954f1e0c2942ca
[]
no_license
IoT-Lab-Minden/docker-ros
c2a327117bdf1d0b861d4580156e595a079ec5d5
5c57c15717cbcae515d82c3dc75470587bb2508e
refs/heads/master
2021-01-18T03:33:22.128596
2017-05-17T13:48:05
2017-05-17T13:48:05
85,809,457
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
/root/catkin_ws/devel/.private/iai_robosherlock_msgs/lib/python2.7/dist-packages/iai_robosherlock_msgs/msg/_SimplePerceiveObjectAction.py
[ "aljoscha.poertner@fh-bielefeld.de" ]
aljoscha.poertner@fh-bielefeld.de
6a2bab06289e994ca0c8efdf9279028438e85c5d
9f48355699f7e12915241024b01985a76620c203
/CustomStack/mystack.py
0ab1c2f9594ce238ff9729bd2f2fdc0884d8d517
[]
no_license
zingp/leetcode-py
537bebaeb2ac223f5e10014f755ab961582ed0d3
53975bd952a1ceb34189682fda16bbee403fd84b
refs/heads/master
2021-08-10T12:34:07.061017
2021-06-15T01:00:23
2021-06-15T01:00:23
155,186,882
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
class stack(object): def __init__(self): self.stack = [] def push(self, ele): self.stack.append(ele) def pop(self): if len(self.stack) > 0: return self.stack.pop() else: return None def get_top(self): if len(self.stack) > 0: ...
[ "605156398@qq.com" ]
605156398@qq.com
7cb5946ebbe03db4a9a0ab885e014d84f61157cf
fa380310206f7e0c015be610dd9f74f7ba62e8f9
/util.py
68c9d046a986830428a7fe3115ba82a09e164dd5
[ "MIT" ]
permissive
sharkbound/advent_of_code_2016
71c666ce6f7e7e816dbb6e76795650ecd9f1cb48
e655974b2dea422af4ec1debad296ee6c22d690a
refs/heads/master
2020-12-05T03:12:53.883458
2020-01-13T01:24:25
2020-01-13T01:24:25
231,993,705
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
def make_dict(*args): return dict(zip(args[0::2], args[1::2]))
[ "laptopblaster@gmail.com" ]
laptopblaster@gmail.com
7b912e2285b65f0e82ad4d4d5cf759fb35624272
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_2_00/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv4/af_ipv4_unicast/af_ipv4_attributes/af_common_attributes/redistribute/isis/level_1/__init__.py
1a220564369c61b327bc9301d3e66a11c96fa4d0
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,914
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
68ba6bf1e51fff464bbcb634b294cd93a537c5f4
9e3d6b9f3bbc1d139d3b5a69bbf025c081289ea1
/manage.py
fbcefc8d2c7375dad31a142433bc03dfdf09fd04
[]
no_license
abugasavio/msalama
aca5ef2257ff4e192b895c1bb4831d1d43ab7e65
2acc5807e8a7f87f387c34a6ae7612d454685292
refs/heads/master
2021-05-29T11:44:18.268131
2015-09-01T11:28:52
2015-09-01T11:28:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "msalama.production") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "savioabuga@gmail.com" ]
savioabuga@gmail.com
12aae2888e93f9adc894ae28e23152cd367211f1
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/sieve-868.py
0df90c2432f34c2721944ae516c8dedfeab8a95b
[]
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
2,589
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
aa5e04f5a6941d9b5a4fe1cd4674a98c766f223a
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/kzZD8Xp3EC7bipfxe_5.py
1d9f1e7d1c26d008ef7a788ee6e967091963b8a4
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
""" Create a function that outputs the result of a math expression in words. ### Examples worded_math("One plus one") ➞ "Two" worded_math("zero Plus one") ➞ "One" worded_math("one minus one") ➞ "Zero" ### Notes * Expect only the operations `plus` and `minus`. * Expect to only get number...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f7097dcc6105aad7afc861e0c8e8b5fb76c7534e
edc945ca683745f0c1009c280e0098cbf1e5f19e
/7.Chapter-7/02_quick_quiz.py
8c2ff9180f98dca9611ce913cc4cea130a00248c
[]
no_license
rayhan60611/Python-A-2-Z
5235db8a79a870b437d284972469ae0fdc8857d5
cc11e17595db685a02aa060cf08271727fcd81de
refs/heads/master
2023-04-20T06:13:35.396705
2021-04-20T16:51:51
2021-04-20T16:51:51
357,170,853
3
0
null
null
null
null
UTF-8
Python
false
false
47
py
i = 1 while i<=50: print(i) i = i + 1
[ "pecon.alok@gmail.com" ]
pecon.alok@gmail.com
f46582d98339c2a8629936bcfb829cf3411d77e1
1a3a0111cfcabc9e763a0bdfea47958c2727a896
/api/views/assets_api.py
69842c48319da8929aaf17a4e3a7c0920c1528b9
[]
no_license
imyanzhao/roe
e2bd044c6232ea7195512e9a3e04597d57c37029
e225a02899e46212d646efe516f527759471a052
refs/heads/master
2020-03-28T11:42:44.028412
2018-09-11T01:10:04
2018-09-11T01:10:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,242
py
#!/usr/bin/env python # _#_ coding:utf-8 _*_ from rest_framework import viewsets,permissions from api import serializers from CodeOps.models import * from CMDB.models import * from rest_framework import status from django.http import Http404 from django.contrib.auth.models import Group from rest_framework.views impo...
[ "flc009@163.com" ]
flc009@163.com
9bc92d13acd0e88decb4e96d6907a77962b3f05e
182d36353a6e33dc1f27f2dc7c0ae95577941dca
/liaoxuefeng/debug.py
6be77d8e784f6bd8495c5b83bddcd9efcf4e57e1
[]
no_license
tp-yan/PythonScript
d0da587162b1f621ed6852be758705690a6c9dce
497c933217019046aca0d4258b174a13965348a7
refs/heads/master
2020-09-02T02:49:20.305732
2019-12-01T06:54:19
2019-12-01T06:54:19
219,115,755
0
0
null
null
null
null
UTF-8
Python
false
false
2,774
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Oct 22 14:22:06 2019 @author: tangpeng 调试 """ """ 1. 断言 凡是用print()来辅助查看的地方,都可以用断言(assert)来替代,如果断言失败,assert语句本身就会抛出AssertionError。 启动Python解释器时可以用-O参数(英文大写字母O)来关闭assert: python -O err.py """ def foo(s): n = int(s) assert n != 0, "n is zero" # ...
[ "tp1084165470@gmail.com" ]
tp1084165470@gmail.com
5f772c255a2d963e4174ee771b2d84e4f7d34570
0f9f8e8478017da7c8d408058f78853d69ac0171
/python3/l0283_move_zeros.py
45ac985e2ff57c7e657675ed0adcd7c6d9b39d2c
[]
no_license
sprax/1337
dc38f1776959ec7965c33f060f4d43d939f19302
33b6b68a8136109d2aaa26bb8bf9e873f995d5ab
refs/heads/master
2022-09-06T18:43:54.850467
2020-06-04T17:19:51
2020-06-04T17:19:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
from typing import List class Solution: def moveZeroes(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ i, j = 0, 0 while j < len(nums): if nums[j] != 0: nums[i], nums[j] = nums[j], nums[i] ...
[ "zhoulv82@gmail.com" ]
zhoulv82@gmail.com
9d3f3c39c35169c2ce75b294ff350c29185fb2dc
10b3d1ce02eaa4908dc16ca378ddfb1955b2d625
/avod/avod/datasets/kitti/kitti_utils.py
012a4b4a0c4467fe3f617fd15797ae88e6dd5259
[ "MIT", "BSD-3-Clause" ]
permissive
ZiningWang/Sparse_Pooling
7281aa0d974849eac8c48faa5ba08519b091ef6e
f46882832d0e2fed5ab4a0af15cead44fd3c6faa
refs/heads/master
2023-05-26T08:47:16.232822
2023-05-20T08:39:11
2023-05-20T08:39:11
141,640,800
56
21
null
null
null
null
UTF-8
Python
false
false
13,729
py
import os import numpy as np from wavedata.tools.core.voxel_grid_2d import VoxelGrid2D from wavedata.tools.core.voxel_grid import VoxelGrid from wavedata.tools.obj_detection import obj_utils from avod.builders import bev_generator_builder from avod.core.label_cluster_utils import LabelClusterUtils from avod.core.min...
[ "kiwoo.shin@berkeley.edu" ]
kiwoo.shin@berkeley.edu
8c47efca30c846eaf43046cb0784d1cc21e03a32
9ecdf9b65c0d0ab96945ccdcb7c59e08ea3ad49e
/arelle/plugin/profileFormula.py
2485a86198492bc9cb376af75f32f6fec1689b7d
[ "Apache-2.0" ]
permissive
joskoanicic/carelle
348bd5b4e0619161035d2906e6c99ed1ab362c1a
311f97bd944d49016885cc90d8be41a4bb85300a
refs/heads/master
2020-04-15T10:04:51.445961
2015-11-10T16:50:09
2015-11-10T16:50:09
68,085,924
1
0
null
null
null
null
UTF-8
Python
false
false
5,608
py
''' Profile Formula Validation is an example of a plug-in to GUI menu that will profile formula execution. (c) Copyright 2012 Mark V Systems Limited, All rights reserved. ''' import os from tkinter import simpledialog, messagebox def profileFormulaMenuEntender(cntlr, menu): # Extend menu with an item for the prof...
[ "fischer@markv.com" ]
fischer@markv.com
1f9525b6078ff952fcc29b26d4a6bb1223a4dac0
23392f060c85b5fee645d319f2fd5560653dfd5c
/01_jumptopy/chap03/124.py
1ee85ae3e8516ba4fe143ffe5436b7c0839cc65d
[]
no_license
heyhello89/openbigdata
65192f381de83e4d153c072ff09fa7574f003037
b35ff237c32013c3e5380eee782085a64edb9d80
refs/heads/master
2021-10-22T04:29:00.852546
2019-03-08T02:14:34
2019-03-08T02:14:34
125,938,319
0
0
null
null
null
null
UHC
Python
false
false
486
py
# coding: cp949 prompt=""" 1. 추가 2. 삭제 3. 목록 4. 종료 숫자를 입력하세요: """ number=0 while number!=4: number=int(input(prompt)) if number==1: print("'1. 추가' 메뉴를 선택하셨습니다.") elif number==2: print("'2. 삭제' 메뉴를 선택하셨습니다.") elif number==3: print("'3. 목록' 메뉴를 선택하셨습니다.") elif number==4: ...
[ "heyhello89@hanmail.net" ]
heyhello89@hanmail.net
e6a331871f9ab5acab6cd7dd8eaab2051ab270f2
43e0cfda9c2ac5be1123f50723a79da1dd56195f
/python/paddle/distributed/auto_parallel/tuner/trial.py
3937ca9865181f066597d4afb48ac9832f1036bd
[ "Apache-2.0" ]
permissive
jiangjiajun/Paddle
837f5a36e868a3c21006f5f7bb824055edae671f
9b35f03572867bbca056da93698f36035106c1f3
refs/heads/develop
2022-08-23T11:12:04.503753
2022-08-11T14:40:07
2022-08-11T14:40:07
426,936,577
0
0
Apache-2.0
2022-02-17T03:43:19
2021-11-11T09:09:28
Python
UTF-8
Python
false
false
4,766
py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
jiangjiajun.noreply@github.com
91dea81801c12a77130116ba0f99f0dc3c092c70
8a8bae1fc33dc503e55b1c6a5a67d90469331891
/ppy_terminal/sketches/tarbell/happyplace_port/archive_code/happyplace_port_496237_20200918_110010_000.png.py
ac938a63e20845bc78d2743c10bdf4a21c29306f
[ "MIT" ]
permissive
LSturtew/generative_art
071f168c92d2bb31b57558058d881bad6cf4d7aa
76d98d8fa63e2c952055481d14ab53f56717b6dd
refs/heads/master
2022-12-30T02:41:36.391487
2020-10-12T01:43:48
2020-10-12T01:43:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,580
py
################################################################################ # porting Jared Tarbell's Happy Place to Python Processing # all credit for the algorithm goes to them # # code and images by Aaron Penne # https://github.com/aaronpenne # # released under MIT License (https://opensource.org/licenses/MIT) ...
[ "aaronpenne@users.noreply.github.com" ]
aaronpenne@users.noreply.github.com
10bd6fbd6e7f9ba2be09ca378ab0c7fcfca3e1fc
d2fe80fba383f3debee17d8c360b411498069d81
/bin/osh_eval.py
9fe39643a646597057e0eebf84dcf4a9e058f6c0
[]
no_license
stevenworthington/oil
7c6bfb20f5dc9485da28c6285e0f909a644316b9
721e5da392a8ae02e1af4acf03cb76900946ec29
refs/heads/master
2022-11-07T16:34:54.883277
2020-06-15T17:03:02
2020-06-15T17:29:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,045
py
#!/usr/bin/env python2 """ osh_eval.py """ from __future__ import print_function import sys from _devbuild.gen.option_asdl import builtin_i from _devbuild.gen.syntax_asdl import (source, source_t) from asdl import format as fmt from asdl import runtime from core import alloc from core import dev from core import erro...
[ "andy@oilshell.org" ]
andy@oilshell.org
019b27e9cca1e38504aa2f88a847103c2a28ba29
d767a2048c050421e7213be2ecccff09014e270e
/Day 31/Median(Hackerrank).py
003a4c1716d6c06f3cb5f09b0a631babc3e5b208
[]
no_license
Benson1198/31-Days-of-CP
23ff16f9899d37e2ca9a1eba81a87b521233fd2f
0e5de1d0b4e1d4811fb096455de951f37c3d69d0
refs/heads/master
2022-09-18T22:26:53.178381
2020-06-03T14:20:41
2020-06-03T14:20:41
260,527,724
2
1
null
2020-05-04T17:36:36
2020-05-01T18:15:21
Python
UTF-8
Python
false
false
101
py
n = int(input()) arr = [int(y) for y in input().split()] arr.sort() mid = (n/2) print(arr[int(mid)])
[ "34964177+Benson1198@users.noreply.github.com" ]
34964177+Benson1198@users.noreply.github.com
ff56e6a71796c367dacdf9136d62cb7bbd047cc4
ca9152cf5adf7c38867aad2fb8ca4d2747149c84
/src/pytorch_metric_learning/losses/triplet_margin_loss.py
9e7843bcc5bc24db1cc148eaf81d0060454c7e81
[ "MIT" ]
permissive
Bobo-y/pytorch-metric-learning
91d14dec18b988f5acc153c8205e85e069cbc548
dff4ae570db89dcb59a102f13f665502f9c1c7c6
refs/heads/master
2023-04-15T21:01:16.115250
2021-04-03T02:44:16
2021-04-03T02:44:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,110
py
import torch from ..reducers import AvgNonZeroReducer from ..utils import loss_and_miner_utils as lmu from .base_metric_loss_function import BaseMetricLossFunction class TripletMarginLoss(BaseMetricLossFunction): """ Args: margin: The desired difference between the anchor-positive distance and the ...
[ "tkm45@cornell.edu" ]
tkm45@cornell.edu
d1e50c76f375ed530a5863b29ab5b7398e27d129
75bb552fa497bbce4b179c2c9e22d88f0428ff43
/mogu/content.py
eed3a9cbf69d6ca26a8b09c4629d66deec1134e2
[]
no_license
Mamata2507/mogu2
7725558abc74bfffbee98a959694288e48859a71
b28b34f0c9ce7a86b81551e4362d2cae55e28322
refs/heads/master
2023-03-17T16:57:51.513507
2013-03-25T13:03:02
2013-03-25T13:03:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,930
py
#coding=utf-8 # from datetime import datetime, timedelta __author__ = u'王健' import logging import string from mogu.login import login_required from mogu.models.model import ContentClass from google.appengine.ext import db from tools.page import Page from tools.util import replaceStr, getLevelByCode, AutoCod...
[ "wangjian2254@gmail.com" ]
wangjian2254@gmail.com
06f580e8601734f21702378de0b414ab38485f97
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02271/s017858399.py
b1332bc0fcd0f6a8c679f83cab6e08e303625121
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
from itertools import repeat from itertools import combinations def rec(s, i, total, m): if total == m: return 1 if len(s) == i or total > m: return 0 return rec(s, i + 1, total, m) + rec(s, i + 1, total + s[i], m) def makeCache(s): cache = {} for i in range(len(s)): com...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a5756844ed7ffefe8846c9c06add82ab2a62d5f5
a90dc9c18177b0fbb59fca1e64aa4b1f502ed30e
/hail/python/hailtop/utils/utils.py
0fab5e0c0dafbed298045d5f46a1f83a60eb5bdc
[]
no_license
hail-ci-test/ci-test-bsagfqddmkzj
245780191c59c68f29ffb15cb3fb8a2297434773
d4024384372c7fbac03592baf8e1c353135d9fc0
refs/heads/master
2023-02-21T12:53:51.750549
2021-01-25T18:18:41
2021-01-25T18:18:41
332,841,053
0
0
null
null
null
null
UTF-8
Python
false
false
18,182
py
from typing import Callable, TypeVar, Awaitable import traceback import os import errno import random import logging import asyncio import aiohttp from aiohttp import web import urllib import urllib3 import secrets import socket import requests import google.auth.exceptions import time import weakref from requests.adap...
[ "ci@hail.is" ]
ci@hail.is
b45991fc4b005bf57fcb4a36ebb41de146a131fa
65c0eb470e48a018c65631a995c5cf4d0f142cf8
/test_camera.py
c5b5d5e588650b9737463a5e098433f186ef427f
[]
no_license
WolfgangFahl/ESE205-CVChess
eab7491d130fa534ed966fe3af39cbb7a6f33341
3b88090be3015caa90e42f59db4c88be8a67c355
refs/heads/master
2020-08-14T05:45:59.729411
2019-11-12T08:44:28
2019-11-12T08:44:28
215,108,730
0
1
null
2019-10-14T17:46:17
2019-10-14T17:46:16
null
UTF-8
Python
false
false
163
py
from Camera import Camera # test the camera def test_Camera(): camera=Camera() assert camera assert camera.cam # call the camera test test_Camera()
[ "wf@bitplan.com" ]
wf@bitplan.com
6eb1c2b72186303722500f9625bae4ec1dd3f465
61673ab9a42f7151de7337608c442fa6247f13bb
/tkinter/label/label-os.listdir/main.py
befd86ad6bda534d9a7e53df6543a2a2e83995a9
[ "MIT" ]
permissive
furas/python-examples
22d101670ecd667a29376d7c7d7d86f8ec71f6cf
95cb53b664f312e0830f010c0c96be94d4a4db90
refs/heads/master
2022-08-23T23:55:08.313936
2022-08-01T14:48:33
2022-08-01T14:48:33
45,575,296
176
91
MIT
2021-02-17T23:33:37
2015-11-04T23:54:32
Python
UTF-8
Python
false
false
459
py
#!/usr/bin/env python3 # date: 2019.10.15 # https://stackoverflow.com/questions/58364159/printing-text-from-a-function-into-a-tkinter-label import os import tkinter as tk def get_filenames(): filenames = sorted(os.listdir('.')) text = "\n".join(filenames) label['text'] = text # change text in label roo...
[ "furas@tlen.pl" ]
furas@tlen.pl
27700db0c9ee4bb37b0c7f811e97c74938133910
278d7f4467a112416d1adfbcd3218033ff0fd9b3
/mmdet/models/detectors/fcos.py
9f34b76946c8e068fb0a13416e4c7f7d582acc4c
[]
no_license
Young-1217/detection
e3d67938b454e955b5b7a82d5ae222e62f9545fb
6760288dac92e00ddc3e813ed0e1363c1fa1ce2d
refs/heads/main
2023-06-01T21:41:37.998947
2021-06-21T10:03:01
2021-06-21T10:03:01
371,868,683
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
from ..builder import DETECTORS from .single_stage import SingleStageDetector @DETECTORS.register_module() class FCOS(SingleStageDetector): """Implementation of `FCOS <https://arxiv.org/abs/1904.01355>`_""" def __init__(self, backbone, neck, bbox_...
[ "noreply@github.com" ]
Young-1217.noreply@github.com
7df13a7dca896b802ae30f52268f015494835398
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_353/ch135_2020_04_01_12_34_36_501450.py
17730c3e4d8367f61aa6c05c9fd0102f30264240
[]
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
225
py
def equaliza_imagem(k,cores): i=0 ls=[] n=len(cores) while i<=(n-1): if(cores[i]*k)>=255: ls.append(255) else: ls.append(cores[i]*k) i+=1 return ls
[ "you@example.com" ]
you@example.com
b86e6518cc484c69443fbd6a6ac37c886b02c94b
1977dfcd971bb80fd5926f00a86d37c21cf80520
/y/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/core/exceptions.py
98eab373e0afc66b67b7c92ec5685cdea0b2abd9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
camidagreat/music_game_poc
fd39cd1bbcddaee6ccac2601b95ec81d0358dbf8
be3c69c026a254078e1dbcee936b368766092a5e
refs/heads/master
2023-01-08T22:12:05.372029
2020-04-22T19:40:31
2020-04-22T19:40:31
204,744,171
0
1
null
2022-12-10T07:53:06
2019-08-27T16:27:00
Python
UTF-8
Python
false
false
4,408
py
# -*- coding: utf-8 -*- # # Copyright 2014 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...
[ "l.bidigare.curtis@gmail.com" ]
l.bidigare.curtis@gmail.com
08434b4f3f8fccef164b31dfdc8d67c11c1d3bfc
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/9b8c6e044ac64769ba086a15c36a3d73.py
d48491b573d2706315333b916b8c906f5b06dde1
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
271
py
# # Skeleton file for the Python "Bob" exercise. # def hey(what): if what.isupper(): return 'Whoa, chill out!' if what.endswith('?'): return 'Sure.' if not what.strip(): return 'Fine. Be that way!' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
f7491a276be527fc1210623a64651d181bcea56d
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/antipro/apis/DescribeCpsIpResourcesRequest.py
27085dc7fbcfc694427a428f43b1e9cbd3a61bc4
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
1,797
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 ...
[ "oulinbao@jd.com" ]
oulinbao@jd.com
f36c42bb664c1f1846d355327925384abfd55024
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_74/1232.py
a374f2c0f81a9d1cd08433442c5246cff3db1822
[]
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
659
py
#!/usr/bin/python import sys import string def alg(case,f): row = f.readline().split() moves = int(row[0]) pO = pB = 1 tO = tB = 0 for i in range(moves): who = row[i*2+1] btn = int(row[i*2+2]) if (who == 'O'): tO += abs(btn-pO) # go if (tB>=tO): tO=tB # wait before press tO+=1 # and press p...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b242453fdad7f3bf393fc5997532df9cb737c959
e1f5cf7055e54f24f4bea5b1232f337fcbcae63c
/loop/solution/loop_label_encoder.py
9263b77c47d9d3e6a37ba4fe190b9ce3e983fbd3
[ "MIT" ]
permissive
revirevy/book-python
fcd64d44840b68e528422de785383f9d4a81fb98
9da7bfd43117f33530e708e889c26152dc8c7a25
refs/heads/master
2020-04-01T05:13:50.394724
2018-10-13T14:58:19
2018-10-13T14:58:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
from random import shuffle DATABASE = [ ('Sepal length', 'Sepal width', 'Petal length', 'Petal width', 'Species'), (5.1, 3.5, 1.4, 0.2, 'setosa'), (4.9, 3.0, 1.4, 0.2, 'setosa'), (4.7, 3.2, 1.3, 0.2, 'setosa'), (4.6, 3.1, 1.5, 0.2, 'setosa'), (5.0, 3.6, 1.4, 0.3, 'setosa'), (5.4, 3.9, 1.7, ...
[ "matt@astrotech.io" ]
matt@astrotech.io
74a0f6c997b3b3ace16354b5deb86dd6faa55781
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/5010/354005010.py
08b7b2d5821d99edd27618c3cec12800d84b3b4e
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
453
py
from bots.botsconfig import * from records005010 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'AY', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'M10', MIN: 1, MAX: 1}, {ID: 'P4', MIN: 1, MAX: 20, LEVEL...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
c6a413388ac7660111141273b005926c2b61fb11
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/network/azure-mgmt-network/generated_samples/express_route_circuit_peering_delete.py
1b338805532ac4ac6dcc362677370c26eaf1de84
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,584
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 may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
8d83846060bb604cdedc59bea541a59c93abc2d5
1086ef8bcd54d4417175a4a77e5d63b53a47c8cf
/Mine/marathon2019/marathon.py
0a130b63e70d6e960c9cd1e632b5c35ddce5e692
[]
no_license
wisdomtohe/CompetitiveProgramming
b883da6380f56af0c2625318deed3529cb0838f6
a20bfea8a2fd539382a100d843fb91126ab5ad34
refs/heads/master
2022-12-18T17:33:48.399350
2020-09-25T02:24:41
2020-09-25T02:24:41
298,446,025
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
def findValleys(n, s): compteur = 0 marqueur = 0 if s[i] == "U": marqueur = 1 else: marqueur = -1 start = (s[i] == "U" and s[i+1] == "D") for i in s: if start : compteur += 1 if !start:
[ "elmanciowisdom@gmail.com" ]
elmanciowisdom@gmail.com
3733f46ba880d140ef4e0a90c9a769cf7108649a
a2c7bc7f0cf5c18ba84e9a605cfc722fbf169901
/python_1_to_1000/269_Alien_Dictionary.py
01a1de2634d2366896df31c02bfe358cf26a20f1
[]
no_license
jakehoare/leetcode
3bf9edd499034ce32be462d4c197af9a8ed53b5d
05e0beff0047f0ad399d0b46d625bb8d3459814e
refs/heads/master
2022-02-07T04:03:20.659422
2022-01-26T22:03:00
2022-01-26T22:03:00
71,602,471
58
38
null
null
null
null
UTF-8
Python
false
false
2,771
py
_author_ = 'jake' _project_ = 'leetcode' # https://leetcode.com/problems/alien-dictionary/ # There is a new alien language which uses the latin alphabet. However, the order among letters are unknown to you. # You receive a list of words from the dictionary, where words are sorted lexicographically by the rules of this...
[ "jake_hoare@hotmail.com" ]
jake_hoare@hotmail.com
93145477fa4ff6706c0c009cf567d7a6d78d89ae
81539aba88c22cf75bd2e14f5e0e92f2bf54e962
/DarkMatterMap2017/TTbarDMJets_Inclusive_pseudoscalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8/TTbarDMJets_Inclusive_pseudoscalar_LO_Mchi-1_Mphi-100_TuneCP5_13TeV-madgraph-mcatnlo-pythia8/TTbarDMJets_Inclusive_pseudoscalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8_280000_1_cff.py
8897a9cac11197d9bf5c60c2bd6601128a72cdc7
[]
no_license
nistefan/RandomizedParametersSeparator
ad35b48b95e9745814c0bf9d8d8b6eb8aa479177
66a0e291b59113c6b5301768f1c10e36cf23d3c3
refs/heads/master
2021-01-03T00:41:17.415005
2020-02-19T13:30:54
2020-02-19T13:30:54
239,838,928
0
0
null
null
null
null
UTF-8
Python
false
false
10,592
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, lumisToProcess = cms.untracked.VLuminosityBlockRange(*('1:1886', '1:13149', '1:13410', '1:14824', '1:15943', '1:2833', '...
[ "Nicole.Stefanov@cern.ch" ]
Nicole.Stefanov@cern.ch
c89c37e3bf9189730efe0f6a17ec092b259312f8
bdccb54daf0d0b0a19fabfe9ea9b90fcfc1bdfbf
/Tutorials/10 Days of Statistics/Day 1/interquartile_range.py
c3b235ee9c1a4978d65e8c075307fef710c91737
[ "MIT" ]
permissive
xuedong/hacker-rank
aba1ad8587bc88efda1e90d7ecfef8dbd74ccd68
1ee76899d555850a257a7d3000d8c2be78339dc9
refs/heads/master
2022-08-08T07:43:26.633759
2022-07-16T11:02:27
2022-07-16T11:02:27
120,025,883
1
0
null
null
null
null
UTF-8
Python
false
false
754
py
#!/bin/python3 import sys n = int(input().strip()) values = [int(arr_i) for arr_i in input().strip().split(' ')] freqs = [int(arr_i) for arr_i in input().strip().split(' ')] arr = [] for i in range(n): current = [values[i]] * freqs[i] arr.extend(current) sorted_arr = sorted(arr) def my_median(arr): leng...
[ "shang.xuedong@yahoo.fr" ]
shang.xuedong@yahoo.fr
b616ace58044491cc943fd3f4f586b46d8608671
8155e744f698f7ed4ae32bbbfad3f72c65e810d9
/admin_honeypot/migrations/0002_auto_20160208_0854.py
44af8099881b4e75447578fd2f441b5d07de62c4
[ "MIT" ]
permissive
dmpayton/django-admin-honeypot
3ccdbd3f65d9a1238356d4e7ee50a8e1d58fe125
a840496d183df89965eeb33c9a5dd9ea3919dfff
refs/heads/develop
2023-07-29T00:06:18.292499
2022-01-01T22:31:28
2022-01-01T22:31:28
2,382,101
925
199
MIT
2022-08-09T07:08:28
2011-09-13T23:29:15
Python
UTF-8
Python
false
false
503
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-08 08:54 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('admin_honeypot', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "derek.payton@gmail.com" ]
derek.payton@gmail.com
0567a858be21236855068d0786f3a3355555923f
3ef7deb616a70d52a44df739e7b274fcd825f09c
/test/test_fx.py
4d3a86205e375b98e8f525aee5ca8936d526ea16
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
jbnunn/pytorch
4287042ab9a703dcf94c4730cf369330c07e6d53
a3e08e53443b19c83c69a34704dfe96fcbf7d036
refs/heads/master
2023-01-10T16:21:16.252590
2020-11-13T19:53:24
2020-11-13T20:02:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,827
py
import torch import unittest import operator import numbers import pickle import copy import sys import functools import contextlib from pathlib import Path from torch.fx import symbolic_trace, Proxy, Node, GraphModule, Tracer, Graph from torch.fx.experimental import GraphManipulation from torch.fx.experimental import ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
22851edde555a723915cdb62226e165703f4edfb
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Game of Thrones/flask/bin/flask/lib/python2.7/site-packages/pip/cmdoptions.py
5b9f06dc119b57172b170108b5967275f923fa78
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:a5fdb88accc0dfdae1709e438c5038a03ff3e6f4c8d0d1bdf2a51a847b37a8f3 size 15878
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
54442e9c8e985ef92e301aa2c7baa274c910bc31
050ccac41c3b3b217204eb5871ca987f897b8d56
/tradeorsale/tests/unit/core.py
a231ecb06478a6a93f65777b268bfbf34a8239b0
[]
no_license
marconi/tradeorsale
6aefc7760f389aabd7e08fe40953914f5ea60abc
6750260734f77cbf60c19ddddc83ebd27a5fb3a9
refs/heads/master
2021-01-23T20:21:24.210074
2013-01-12T09:05:09
2013-01-12T09:05:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,821
py
# -*- coding: utf-8 -*- import unittest import importlib from paste.deploy.loadwsgi import appconfig from sqlalchemy import engine_from_config from StringIO import StringIO from PIL import Image from pyramid import testing from tradeorsale import settings from tradeorsale.libs.models import initialize_db, Base, DBSe...
[ "caketoad@gmail.com" ]
caketoad@gmail.com
16d05ad9988bfa577d4c6f13830d771a36c469e6
e3c03026a557cfda67efe7fd5cc8147368bb61d3
/DoD/data_processing_utils.py
ef8eccf75e6956591e11a59bb9b185177eb53c81
[ "MIT" ]
permissive
damienrrb/aurum-datadiscovery
f933144f0a2dfe5d043e4c6debd36af25dbd6ee5
07f118f1eb6141cbc29b9ea66ee89c27c7b5c4f5
refs/heads/master
2020-03-24T05:26:57.474461
2018-07-26T20:10:56
2018-07-26T20:10:56
142,488,834
0
0
MIT
2018-07-26T20:06:11
2018-07-26T20:06:10
null
UTF-8
Python
false
false
9,911
py
import pandas as pd from collections import defaultdict import editdistance from DoD.utils import FilterType import config as C # Cache reading and transformation of DFs cache = dict() data_separator = C.separator def configure_csv_separator(separator): global data_separator data_separator = separator de...
[ "raulcf@csail.mit.edu" ]
raulcf@csail.mit.edu
46ea56be6c49a072fddf5364b9d3558b946ccc02
acd582814b04fb8065d795582f7c5d77db604bea
/nightreads/user_manager/models.py
02e7dc0a2feb0ca3cc9dd49578f3ecfa6b24f968
[ "MIT" ]
permissive
lgp171188/nightreads
30a37a106f05b0bb8c15c95a7e45931e7068f2d3
b1bf663d4e752b1c137e846e9928fc55004f7951
refs/heads/master
2021-01-21T16:15:39.137766
2016-05-26T03:40:13
2016-05-26T03:47:16
59,670,135
0
0
null
2016-05-25T14:28:42
2016-05-25T14:28:42
null
UTF-8
Python
false
false
386
py
from django.db import models from django.contrib.auth.models import User from nightreads.utils import TimeStampMixin from nightreads.posts.models import Tag class Subscription(TimeStampMixin): is_subscribed = models.BooleanField(default=False) user = models.OneToOneField(User) tags = models.ManyToManyFie...
[ "hi@avi.im" ]
hi@avi.im
73d69759d852d2c0af909923caf42a47c061ee40
8952afe242c836b516c6236cf0987676cfb7abf7
/TaobaoSdk/Request/SimbaNonsearchAllplacesGetRequest.py
0d0d5542730ad88aef570803179f657da9678931
[]
no_license
xieguanfu/TaobaoOpenPythonSDK
2fc20df983811990a2d981379c9da6c1117f9f21
88cdab41ba19a2326aa4085c92455697bd37d8d7
refs/heads/master
2021-01-18T14:38:51.465614
2014-08-21T05:44:42
2014-08-21T05:44:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim: set ts=4 sts=4 sw=4 et: ## @brief 获取单独出价投放位置列表 # @author wuliang@maimiaotech.com # @version: 0.0.0 import os import sys import time def __getCurrentPath(): return os.path.normpath(os.path.join(os.path.realpath(__file__), os.path.pardir)) __modulePath = os...
[ "liyangmin@maimiaotech.com" ]
liyangmin@maimiaotech.com
81a47a577a07d2ef20d2a0d108284521ccb59b0b
60654caf2633613021470d0285817343f76223e5
/utils/body_to_row.py
8d642084644245e05c5263bd4a23600e7fa7f042
[]
no_license
whoiskx/com_code
79460ccee973d1dfe770af3780c273e4a0f466c9
388b5a055393ee7768cc8525c0484f19c3f97193
refs/heads/master
2020-04-09T23:14:28.228729
2018-12-06T07:10:25
2018-12-06T07:10:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,529
py
def body_to_row(body=''): if '?' in body: body = body.split('?')[-1] # print(body) body_split = body.split('&') result = "" for r in body_split: result += r + '\n' print(result) return result def headers_to_dict(headers=''): if headers == '': return '' ...
[ "574613576@qq.com" ]
574613576@qq.com
9f01b0a8f9ec6d29aba97973f582194564ec31b4
1924da60fa3298e386acc6dac9bd390784a9b5bb
/test57.py
5c6a319152b336f3c4ea818e87668b062f0e03ec
[]
no_license
yukitomo/NLP100DrillExercises
c8a177b56f798cef225ace540e965809a1fc1fbc
ea2ceb366de1fa1f27d084e3b9328cc6f34ac1dd
refs/heads/master
2020-06-01T02:55:11.423238
2015-06-10T15:39:03
2015-06-10T15:39:03
37,205,750
1
0
null
null
null
null
UTF-8
Python
false
false
884
py
#!/usr/bin/python #-*-coding:utf-8-*- #2014-12-14 Yuki Tomo #(57) (56)を修正し,非自立語は出力に含めないようにせよ #cat test51_japanese.txt|python test57.py import sys from test52 import Morph from test53 import Chunk,cabtxt2chunk_inputter from collections import defaultdict def show_dependency_indynoun_verb(text): for i in range(len(tex...
[ "over.the.tr0ouble@gmail.com" ]
over.the.tr0ouble@gmail.com
7f1d0a8ce4c9888b733f77c5f659c376afbf1b78
9f2445e9a00cc34eebcf3d3f60124d0388dcb613
/2019-04-02-Traub1991/plot_steadystate_constants.py
b77e2617830947d93bdfdab0f5048daf51f56e97
[]
no_license
analkumar2/Thesis-work
7ee916d71f04a60afbd117325df588908518b7d2
75905427c2a78a101b4eed2c27a955867c04465c
refs/heads/master
2022-01-02T02:33:35.864896
2021-12-18T03:34:04
2021-12-18T03:34:04
201,130,673
0
1
null
null
null
null
UTF-8
Python
false
false
5,573
py
#Author - Anal Kumar #disclaimer - The code uses eval() function. Use at your own discretion. import moose import rdesigneur as rd import numpy as np import matplotlib.pyplot as plt import Channelprotos as Cp #Channelprotos and rdesigneurProtos should be in the same directory as the pwd try: moose.delete('/model'...
[ "analkumar2@gmail.com" ]
analkumar2@gmail.com
408bc8142e8201c4f69273c94a5d7cc8a3391f73
f52c121da03c427a7b1a4f70d6c6d379869f338e
/CGAT/WrapperBl2Seq.py
2b72705164e87201f6a0724c9bde4859f7425fce
[ "BSD-2-Clause" ]
permissive
orianna14/cgat
7975e5cb8d907f2c83236a6e926d7f4230eb6788
7494d17f0a9e3f2333483426aef2c163f3fee0b1
refs/heads/master
2021-01-22T11:11:24.509030
2015-01-09T11:16:25
2015-01-09T11:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,850
py
########################################################################## # # MRC FGU Computational Genomics Group # # $Id$ # # Copyright (C) 2009 Andreas Heger # # 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 ...
[ "andreas.heger@gmail.com" ]
andreas.heger@gmail.com
dcff796b59a37ecaef4452f97bf6cbec40f411ef
b7939b343e52d2633857a93e19108dde49109008
/build/scripts-2.5/Packet.py
b28285fca318fcbe0666dec643c67b7e5b67a9ad
[]
no_license
hobson/safety-monitor
040e74e0ac6d153b084860b3cdd6d9739fd0c10e
122b09bc7f55302cdd5fda576358b56dcd8ee03e
refs/heads/master
2021-01-22T05:28:23.350603
2012-04-15T04:45:09
2012-04-15T04:45:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,342
py
#import math # surprisingly this isn't required for min() and max() functions import re import binascii import string #from array import array # is this required import pickle #serialization of objects class Packet(object): def __str__(s): if s and s.t: text = "%(srcAdd)05d ->%(dstAdd)05d\t" %...
[ "hobsonlane@gmail.com" ]
hobsonlane@gmail.com
aca4ca0c39312e95987015256fa06b2de03e1a64
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v8/googleads-py/tests/unit/gapic/googleads.v8/test_module_import.py
b35c5788522ecd9b7d328ccbbdd30b4862576d92
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
422,437
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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
9585a4e4a65ef46efe897765a84b7e09465160f0
81acce1d49924d89e6ebf5a472ad5b1b80cc202c
/Draw2D.py
7f1ca89964823ded207e1bb4b4b9b8c0241f238d
[]
no_license
truggles/Z_to_TauTau_13TeV
36a85b024052fcfef3c9efd8aebc63dc85744f7b
123fe0d25f8e926d8959f54cd4f64122394b60d5
refs/heads/master
2021-03-13T01:50:43.031581
2017-10-12T18:56:25
2017-10-12T18:56:25
37,312,811
0
0
null
2016-09-29T08:29:13
2015-06-12T09:08:22
Python
UTF-8
Python
false
false
7,908
py
#!/usr/bin/env python import ROOT import re from array import array import math ROOT.gROOT.SetBatch(True) def add_lumi(): lowX=0.58 lowY=0.835 lumi = ROOT.TPaveText(lowX, lowY+0.06, lowX+0.30, lowY+0.16, "NDC") lumi.SetBorderSize( 0 ) lumi.SetFillStyle( 0 ) lumi.SetTextAlign( 12 ) l...
[ "truggles@wisc.edu" ]
truggles@wisc.edu
90d2a950603b34fd3f89912efe29b45abdb4d45a
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007.3/programming/languages/perl/XML-XQL/actions.py
e6165f4328993702d0ec62af5da1fff8f5818066
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2006 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import perlmodules from pisi.actionsapi import pisitools def setup(): perlmodules.configure("/usr") ...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
27a5fbcd017b34cabd64cefb4a53a4f4208369b8
a55ad28bbb4fa7edb534f6c1834e7aa00b7dbc2a
/ververica_api_sdk/models/job.py
b3cc3e3509886202781ef2aff5ddaa66edbccc8a
[]
no_license
justlikemikezz/ververica-api-sdk
df29dca99af00944aef5cf06b715e697752fada8
0eee284b4433f74b35fd2f41d149e619624aaed3
refs/heads/master
2020-12-22T16:01:43.588537
2020-01-29T00:39:34
2020-01-29T00:39:34
236,848,741
0
0
null
null
null
null
UTF-8
Python
false
false
5,421
py
# coding: utf-8 """ Application Manager API Application Manager APIs to control Apache Flink jobs # noqa: E501 OpenAPI spec version: 2.0.1 Contact: platform@ververica.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six cl...
[ "michael.handria@bird.co" ]
michael.handria@bird.co
207a7011a5837bad96395aed19342501aa663f78
a3cc7286d4a319cb76f3a44a593c4a18e5ddc104
/lib/surface/tasks/queues/resume.py
230674c0f92827e5d0fc9bf32cb2124351e7564d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jordanistan/Google-Cloud-SDK
f2c6bb7abc2f33b9dfaec5de792aa1be91154099
42b9d7914c36a30d1e4b84ae2925df7edeca9962
refs/heads/master
2023-09-01T01:24:53.495537
2023-08-22T01:12:23
2023-08-22T01:12:23
127,072,491
0
1
NOASSERTION
2023-08-22T01:12:24
2018-03-28T02:31:19
Python
UTF-8
Python
false
false
1,406
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "jordan.robison@gmail.com" ]
jordan.robison@gmail.com
0d12a1eb786b8fb073816be57a8967bb4bb8891a
875188967ac96bdabc2780983ef2db32c8c727ef
/ebirdtaiwan/home/migrations/0006_auto_20200824_1303.py
e9cdb42fcf9d8df64348e88652a2c892ff30a1d9
[ "MIT" ]
permissive
even311379/EbirdTaiwan2020
b57ef8db79ef0d6b452016b6aa48bee2afe227b2
2c1aa4d7346b5ade909d45f7c245fa4988394124
refs/heads/master
2022-12-28T01:04:48.431595
2020-10-16T15:03:52
2020-10-16T15:03:52
289,954,202
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
# Generated by Django 3.1 on 2020-08-24 13:03 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('home', '0005_auto_20200824_1301'), ] operations = [ migrations.RenameField( model_name='homepage', old_name='Title', ...
[ "even311379@hotmail.com" ]
even311379@hotmail.com
e93167fdb787888ff891a9b26a2a79b76ce27430
f202ac96ff532c5dfba9914cc5b0c843c9ad34e1
/parlai/agents/programr/processors/post/denormalize.py
d05d38b9c718e33a2958870d12afecede2d0e06c
[ "MIT" ]
permissive
roholazandie/ParlAI
3caf2c913bbe6a4c2e7e7eee5674d7786eca5427
32352cab81ecb666aefd596232c5ed9f33cbaeb9
refs/heads/master
2021-12-02T01:30:09.548622
2021-10-19T17:38:23
2021-10-19T17:38:23
187,677,302
0
0
MIT
2021-06-24T21:44:34
2019-05-20T16:31:52
Python
UTF-8
Python
false
false
497
py
from parlai.agents.programr.utils.logging.ylogger import YLogger from parlai.agents.programr.processors.processing import PostProcessor DEBUG = False class DenormalizePostProcessor(PostProcessor): def __init__(self): super().__init__() def process(self, word_string): # denormalized = brain.d...
[ "hilbert.cantor@gmail.com" ]
hilbert.cantor@gmail.com
b48dd591d3492478f1c4606a1de80669a3716b41
9b1cf71a9b744b66276701ef76ed3a4190b1bd84
/kcliutils/utils/texts/core_texts/readme.py
4dbab9971fb669563ee1b0136eeee6b4f6a45ee1
[ "MIT" ]
permissive
kkristof200/py_cli_utils
f9678ae5de322e558f3c29f9fede546f73d95db2
8c18ea37e84be5e7df1f5fcf7cdc10ae70ecf7c6
refs/heads/main
2023-07-18T10:02:02.783816
2021-09-06T20:35:43
2021-09-06T20:35:43
331,058,727
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
readme = ''' # [PACKAGE_NAME] [SHIELDS] ## Description [DESCRIPTION] ## Install ~~~~bash pip install [PACKAGE_NAME] # or pip3 install [PACKAGE_NAME] ~~~~ ## Usage ~~~~python import [PACKAGE_NAME] ~~~~ ## Dependencies [DEPENDENCIES] '''.strip()
[ "kovacskristof200@gmail.com" ]
kovacskristof200@gmail.com
fd564c59e983ccc78fb0dc633639dc628bc55e09
a34507bee8dc5502c663a71f3e98257f8ff0334d
/easy/326-3的幂.py
466aedce67d6f53f2b802168fd8b4e5de6ccb34c
[]
no_license
michelleweii/Leetcode
85b7876a3e283f3982dd86de01ccc5470e63388f
0c09b5a018e7334bd49dd251834fc8e547084cc1
refs/heads/master
2022-05-17T07:28:23.684720
2022-04-28T12:40:48
2022-04-28T12:40:48
149,776,312
3
2
null
null
null
null
UTF-8
Python
false
false
971
py
# 利用pow(a, b)函数即可。需要开a的r次方则pow(a, 1/r)。 # 用取余! python除法/都保留小数点后的数字的 # 不知道为什么leetcode上报错 # class Solution(object): # def isPowerOfThree(self, n): # """ # :type n: int # :rtype: bool # """ # if n==0: # return False # else: # rs = pow(n,1/3) # ...
[ "641052383@qq.com" ]
641052383@qq.com
11a68425333067afa7dc3f201861931da7d6047d
ae12996324ff89489ded4c10163f7ff9919d080b
/LeetCodePython/CanPlaceFlowers.py
0358e0ea494a51eb3138962f4b54b4310d1f6b00
[]
no_license
DeanHe/Practice
31f1f2522f3e7a35dc57f6c1ae74487ad044e2df
3230cda09ad345f71bb1537cb66124ec051de3a5
refs/heads/master
2023-07-05T20:31:33.033409
2023-07-01T18:02:32
2023-07-01T18:02:32
149,399,927
1
1
null
null
null
null
UTF-8
Python
false
false
1,130
py
""" You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots. Given an integer array flowerbed containing 0's and 1's, where 0 means empty and 1 means not empty, and an integer n, return if n new flowers can be planted in the flowerbed wit...
[ "tengda.he@gmail.com" ]
tengda.he@gmail.com
73f8f75df4969f97b4a998348fe16dcc440d2d48
7d02813987b49c2a69d92b9b2fdf5148af37274f
/case/Meet/testAEContactsList.py
63942a80c243f1797dfec6ebb3cadd7c2807d850
[]
no_license
xgh321324/api_test
29e01cbe5f0b7c2df25fb7e781cedf8031140c72
2575495baac3ab90adab7a7a85904c38a78dd4b7
refs/heads/master
2022-07-23T19:54:39.320828
2022-07-02T09:13:35
2022-07-02T09:13:35
129,185,513
0
0
null
null
null
null
UTF-8
Python
false
false
2,111
py
#coding:utf-8 import requests import unittest import time from common.login import LG from common.logger import Log from common.Excel import Excel_util from common.Hash import get_digit,get_sign class Contact(unittest.TestCase): def setUp(self): self.s = requests.session() self.lgin = LG(self.s) #实...
[ "34511103+xgh321324@users.noreply.github.com" ]
34511103+xgh321324@users.noreply.github.com
95667a1114228dc710f3b65a3610f04a9a086f0a
2b682a01d19960e2039e2e064a742289b30da62c
/SConsArguments/tar.py
bc76ba439c220b692ae99a89c81ab1e85f7ee5f7
[ "MIT" ]
permissive
mcqueen256/scons-arguments
952a427977c42161802225464e99bfeb4e5e9fd5
f4b783fc79fe3fc16e8d0f58308099a67752d299
refs/heads/master
2021-01-01T16:11:53.403454
2017-02-15T19:46:28
2017-02-15T19:46:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,620
py
"""`SConsArguments.tar` Defines arguments related to tar archiver **Arguments** Programs: TAR The tar archiver Flags for programs: TARFLAGS General options passed to the tar archiver """ # # Copyright (c) 2017 by Pawel Tomulik # # Permission is hereby granted, free of charge, to any person ...
[ "ptomulik@meil.pw.edu.pl" ]
ptomulik@meil.pw.edu.pl
8969b6e9049aa0a8874b99aaa9b5e8d495a76ee7
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-3356.py
b8a251c4ba3c06f4fc6c3353b8e3e7644e1718ee
[]
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
31,756
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
e59394be39c2b5feb474f059797294a1fc29e9c5
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/gevent_gevent/gevent-master/src/gevent/pywsgi.py
87d77b3f444faa1b63eb9184dc9cbe8ff4535e17
[]
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
59,101
py
# Copyright (c) 2005-2009, eventlet contributors # Copyright (c) 2009-2015, gevent contributors """ A pure-Python, gevent-friendly WSGI server. The server is provided in :class:`WSGIServer`, but most of the actual WSGI work is handled by :class:`WSGIHandler` --- a new instance is created for each request. The server c...
[ "659338505@qq.com" ]
659338505@qq.com
c4da8d29e29b93170f1cbb3d3c8c60f367f50b30
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/merra882/877-tideGauge.py
348659e25243c0c7f3f7fa0be098997bc9e4bf98
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
7,041
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 This program is designed to validate a multiple linear regression model by using the KFOLD method @author: Michael Tadesse """ import os import numpy as np import pandas as pd from sklearn import metrics from scipy import stats from datetime import date...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
486c5c4863977b8e538c9d79f11f23a270e47d2a
b478d1e63cce432b6fd3692c0aa7a84f411ae9dc
/net_prog/ch1/test3.py
c94c114170bd57be0c4c29c64f58045d0441b891
[]
no_license
yiqing95/py_study
8d414aa00b4ac31070fe5667a98815980eee46d0
6ce6b46ad729a795bc9253d6339169e62ef47766
refs/heads/master
2016-09-06T17:45:26.081269
2015-01-12T15:22:29
2015-01-12T15:22:29
20,810,777
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
__author__ = 'yiqing' import socket def get_remote_machine_info(): remote_host = 'www.python.com' try: print("IP address : %s " % socket.gethostbyname(remote_host)) except socket.error as err: print("%s " % err) if __name__ == '__main__': get_remote_machine_info()
[ "yiqing-95@qq.com" ]
yiqing-95@qq.com
e0747aef526c8d78bb3770f3ba3343fd6496a2ce
d52413173437ba73ecdf822ca895e659f00a8ce7
/kiwibackend/application/website/mobile/views/gmapi/instance.py
af1bb96d97b926f195022a516f2f0c28cf6178d2
[]
no_license
whiteprism/mywork
2329b3459c967c079d6185c5acabd6df80cab8ea
a8e568e89744ca7acbc59e4744aff2a0756d7252
refs/heads/master
2021-01-21T11:15:49.090408
2017-03-31T03:28:13
2017-03-31T03:28:13
83,540,646
0
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
# -*- coding: utf-8 -*- from decorators import * from api import * from opensocial.http import HttpResponseJson from module.common.static import ErrorCode from django.conf import settings @handle_verification def query_player_raceinstance(request): ''' 查询用户活动副本 ''' playerId = request.RE...
[ "snoster@163.com" ]
snoster@163.com
ac3a26558056f3fc9a3935f967d3e2c606441a03
3d61fe0f49f5d344fc32a6faa799f0a46deec9a5
/2020/AoC-2020-8.py
706a0af5c3c9f154ced7975039174fb55ed93ec7
[]
no_license
sbeaumont/AoC
558296fd26cd5272e33d3cb9113c09e4945c98ac
406eda614d8434d8feb71fe1262f1fda54972a12
refs/heads/master
2022-12-13T07:38:36.089775
2022-12-04T21:11:49
2022-12-04T21:11:49
75,467,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
#!/usr/bin/env python3 """Solution for Advent of Code challenge 2020 - Day 8""" __author__ = "Serge Beaumont" __date__ = "December 2020" from copy import deepcopy with open(f"AoC-2020-8-input.txt") as infile: program_file = [line.strip().split() for line in infile.readlines()] for line in program_file: ...
[ "sbeaumont@xebia.com" ]
sbeaumont@xebia.com
515efa1f6a90f9f2e0e52cc7abd3fddc39d81afb
8c1aa957a41954daac70b13f1be06df0c4046bb2
/wagtailwebsitebuilder/home/migrations/0017_auto_20200422_0845.py
6ca88cea553b2a0fffa682871e8b1086cfdd800a
[]
no_license
hanztura/wagtailwebsitebuilder
6c1a2358d53877e4f70d70e5c7c6b472fabec974
f56d1b799f9eda53b5596ed882b60df154581cc5
refs/heads/master
2021-05-21T08:30:16.170885
2020-08-29T22:35:59
2020-08-29T22:35:59
252,619,323
1
0
null
2021-04-16T20:26:46
2020-04-03T03:01:27
Python
UTF-8
Python
false
false
1,152
py
# Generated by Django 2.2.12 on 2020-04-22 08:45 from django.db import migrations import puputextension.helpers import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('home', '0016_auto_20200412_1525'), ] opera...
[ "hanztura@github.com" ]
hanztura@github.com
25c71476cf84f80af692fc6fbeb2506beb383991
8697dbe95cfbdc4c0df211c8f809bcaaf473a36f
/pendulum/__version__.pyi
bc75e0e25899f0df91b9d34c814d5a441699f106
[ "MIT" ]
permissive
Michael0x2a/pendulum-stubs
9ef1b03c76ea7aa6eff56c890dab65801672a299
5a1189f2d39e1a1974cf0acf686db4b7f01bf8db
refs/heads/master
2020-04-19T02:29:28.303289
2019-02-10T17:23:30
2019-02-10T17:23:30
167,904,665
1
0
null
null
null
null
UTF-8
Python
false
false
148
pyi
# Stubs for pendulum.__version__ (Python 3.7) # # NOTE: This dynamically typed stub was automatically generated by stubgen. __version__: str = ...
[ "michael.lee.0x2a@gmail.com" ]
michael.lee.0x2a@gmail.com
035e3ff6b199e3d228fa8e688242053edc7dff29
1a758ef862f733d98ddd8ebc8ade5cefd95c24f2
/customers/migrations/0027_auto_20170508_2340.py
9962ba06eee066980375d3484ef93bfaf2f713d6
[]
no_license
ajajul/ReactJS_Python
f116b35394666c5b3f2419eb5d8d7aeb077d4a24
08310d56fa88f326ddbfdd4b189f2a3a71f76d99
refs/heads/master
2020-03-19T03:16:57.510672
2018-06-01T10:36:36
2018-06-01T10:36:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('customers', '0026_auto_20170428_1403'), ] operations = [ migrations.AlterField( model_name='coffeereview', ...
[ "web.expert@aol.com" ]
web.expert@aol.com
b676d38523f8e46480dd315d996f0d67698a85e9
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/scraper/storage_spiders/xbookcomvn.py
3195cfea973ea8288043a4a74beb690127d93d2e
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div/font[@class='CTieuDeNhoNho']", 'price' : "//table//tr/td[2]/font/div/font/b", 'category' : "//div[@id='content']/table[1]/tb...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com