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
50029d742fdf872199ac05d382e8a46edf30c565
d1e4f29e583ee964d63bc48554eaa73d67d58eb2
/analytics/migrations/0012_add_on_delete.py
24b2d5421292422475152c04fa1d2adc982982f8
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
hygolei/zulip
299f636f9238f50b0d2746f1c371748f182f1f4e
39fe66ab0824bc439929debeb9883c3046c6ed70
refs/heads/master
2023-07-11T22:50:27.434398
2021-08-09T10:07:35
2021-08-09T10:07:35
375,401,165
1
1
Apache-2.0
2021-08-09T10:07:36
2021-06-09T15:20:09
Python
UTF-8
Python
false
false
1,300
py
# Generated by Django 1.11.6 on 2018-01-29 08:14 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("analytics", "0011_clear_analytics_tables"), ] operations = [ migrations.AlterField( model_name...
[ "tabbott@zulipchat.com" ]
tabbott@zulipchat.com
16223a5f2a1c413d52701ed8ee134cfd53475775
7a2d2cfbe99a13920e55e462bd40627e34d18f23
/tests/openbb_terminal/portfolio/portfolio_optimization/conftest.py
7237236327ef8a8f4b91f9b8ec13ffb3523f7ebf
[ "MIT" ]
permissive
conrad-strughold/GamestonkTerminal
b9ada627929dbc1be379f19c69b34e24764efcff
c9aa674d979a7c7fd7f251410ceaa1c8a4ef2e6e
refs/heads/main
2023-06-24T02:59:45.096493
2023-05-16T15:15:20
2023-05-16T15:15:20
342,313,838
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
import pytest from _pytest.nodes import Node def pytest_runtest_setup(item: Node): if not item.config.getoption("--optimization"): pytest.skip(msg="Runs only with option : --optimization")
[ "noreply@github.com" ]
conrad-strughold.noreply@github.com
8d50dc2df16514bc977ef796e90045f9ebe1b83b
be24b5f37823125b2b901c0029175bfb2f25fb0e
/tests/homework/test_homework6.py
4c1972342f82f74bfdb69cc577b4e437d09f7552
[ "MIT" ]
permissive
acc-cosc-1336/cosc-1336-spring-2018-Miguelh1997
1bd75c51e72431037a46a1b3079d7695c41920ce
ac4b0405c4070758d0fc07458d4dca8a8a0313de
refs/heads/master
2021-05-11T09:11:41.887630
2018-05-12T03:11:38
2018-05-12T03:11:38
118,070,058
0
1
MIT
2018-05-12T03:16:17
2018-01-19T03:13:02
Python
UTF-8
Python
false
false
1,725
py
import unittest from src.homework.homework6 import (get_point_mutation, get_dna_complement, transcribe_dna_into_rna, get_gc_content) #write import statement for homework 6 file class TestHomework6(unittest.TestCase): def test_sample(self): self.assertEqual(1,1) #create a test case for function fin...
[ "noreply@github.com" ]
acc-cosc-1336.noreply@github.com
d1e4c1312d44ba6a8cf0909a1585f9a29083c265
55540f3e86f1d5d86ef6b5d295a63518e274efe3
/toolchain/riscv/MSYS/python/Lib/test/test_tools/test_pindent.py
2635fd68b44d5cfad1cb73de7c76c8ab3cc16301
[ "bzip2-1.0.6", "LicenseRef-scancode-proprietary-license", "OpenSSL", "Python-2.0", "LicenseRef-scancode-newlib-historical", "TCL", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
bouffalolab/bl_iot_sdk
bc5eaf036b70f8c65dd389439062b169f8d09daa
b90664de0bd4c1897a9f1f5d9e360a9631d38b34
refs/heads/master
2023-08-31T03:38:03.369853
2023-08-16T08:50:33
2023-08-18T09:13:27
307,347,250
244
101
Apache-2.0
2023-08-28T06:29:02
2020-10-26T11:16:30
C
UTF-8
Python
false
false
8,963
py
"""Tests for the pindent script in the Tools directory.""" import os import sys import unittest import subprocess import textwrap from test import support from test.support.script_helper import assert_python_ok from test.test_tools import scriptsdir, skip_if_missing skip_if_missing() class PindentTe...
[ "jczhang@bouffalolab.com" ]
jczhang@bouffalolab.com
8e3381accfc766a875a987cabcb997c6987cb556
0e5f7fbea53b56ddeb0905c687aff43ae67034a8
/src/resource/script/helper/cafm_api/RequestCheckData.py
1dfdf090a7eceda36ead35ad6b1aba6fac678a09
[]
no_license
arkanmgerges/cafm.identity
359cdae2df84cec099828719202b773212549d6a
55d36c068e26e13ee5bae5c033e2e17784c63feb
refs/heads/main
2023-08-28T18:55:17.103664
2021-07-27T18:50:36
2021-07-27T18:50:36
370,453,892
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" @author: Arkan M. Gerges<arkan.m.gerges@gmail.com> """ class RequestCheckData: def __init__(self, requestId, checkForId=False, resultIdName=None, ignoreIfExists=False, returnResult=True): self.requestId = requestId self.checkForId=checkForId self.resultIdName=resultIdName ...
[ "arkan.m.gerges@gmail.com" ]
arkan.m.gerges@gmail.com
e5d5959f54521aae879a71ae8ee0fa751ca5f922
a08d885cb9150d7e84f5ffbf0c9734893105a898
/2022/Day 12/hill_climbing_algorithm_test.py
8af50ef4df758b9a1ccd29b85665b167104ab870
[]
no_license
vhsw/Advent-of-Code
ab422c389340a1caf2ec17c5db4981add6433fbe
3c1dac27667472202ab15098c48efaac19348edf
refs/heads/master
2022-12-29T03:56:59.648395
2022-12-26T11:01:45
2022-12-26T11:01:45
162,491,163
0
0
null
2022-05-10T08:43:32
2018-12-19T21:10:26
Python
UTF-8
Python
false
false
355
py
"""Day 12: tests""" from hill_climbing_algorithm import DATA, part1, part2 EXAMPLE = """ Sabqponm abcryxxl accszExk acctuvwj abdefghi """.strip() def test_part1(): """Part 1 test""" assert part1(EXAMPLE) == 31 assert part1(DATA) == 408 def test_part2(): """Part 2 test""" assert part2(EXAMPLE) =...
[ "nevermind1025@gmail.com" ]
nevermind1025@gmail.com
316d3967e9d92294530800e1eb8ba2b5054e610d
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5646553574277120_0/Python/krukovna/solve.py
e02a7c8f9c1b3e907cf93bbe302a8c63e63dcc89
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
813
py
import sys class Solved(Exception): pass def check(value, items): s = value for i in range(0, len(items)): if s >= items[i]: s -= items[i] return s == 0 def solve(top, items): a = 0 items = list(reversed(items)) for i in range(1, top+1): ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
f740cf330191dc26a3bd03d4333a03e49014095a
5e915a39fe966811424df0574f6670d252f895c8
/micropython/p4_temperatura_f.py
56ba1eda6cf14c319ef6a799437c06ba9f51ead4
[ "MIT" ]
permissive
monkmakes/micro_bit_kit_es
c9c2f77f722f2a8a7e2657164d700b6fc758ce92
be2a76f0ad45a70bef66c7ba548b2578ab35ede8
refs/heads/master
2022-11-21T19:09:11.445210
2020-07-22T16:07:42
2020-07-22T16:07:42
281,723,041
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
# P4 Temperatura F from microbit import * while True: lectura = pin1.read_analog() temperatura_f = round(lectura * 0.135 +1) display.scroll(str(temperatura_f))
[ "evilgeniusauthor@gmail.com" ]
evilgeniusauthor@gmail.com
1d2dbd370c5088150b15093ffa636dc0ae89bcf1
025d7484c52b204bc286dfb9d17fc08e8e03604e
/base_branch_company/__init__.py
db33f366ec546e53aff32c5c46331dd48ef9a9c8
[]
no_license
gotorishab/stpi
3e2d2393a3b64f313c688bfcb4855052ea5e62b4
a548e923f80e124ea5f90f4559ec727193c70528
refs/heads/master
2021-07-05T16:19:39.932782
2021-04-30T03:58:05
2021-04-30T03:58:05
236,436,956
0
6
null
null
null
null
UTF-8
Python
false
false
142
py
# -*- coding: utf-8 -*- # Part of odoo. See LICENSE file for full copyright and licensing details. from . import models from . import wizard
[ "gotorishab@gmail.com" ]
gotorishab@gmail.com
99d3e82d29dc3df93ee1a712c799d4279cf6595d
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_Administrator/test_c139428.py
61510e984e6bcc959e07dc4e89da92d75977f1af
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
2,400
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def_sys import * from page_obj.scg.scg_def import * from page_obj.scg.scg_button import * from page_obj.scg.scg_def_log import * from page_obj.common.rail impo...
[ "15501866985@163.com" ]
15501866985@163.com
ec63a34cd757f9cabca23c6fcc9fb1e4d474b126
68a294455c03ada90e9ab80867c33b73672152f9
/apps/producto/models.py
11fc3eb1f9f9db601bd1427326252d430784871f
[]
no_license
chrisstianandres/citas
f7e89aa9481ee6aa260bd28cae44091a2c6db900
21f7f90ec958cabd71aa41c852877f0657677ade
refs/heads/master
2023-08-28T07:24:35.187428
2021-11-20T00:03:08
2021-11-20T00:03:08
347,208,630
0
0
null
null
null
null
UTF-8
Python
false
false
2,103
py
import os from datetime import datetime from io import BytesIO import qrcode from PIL import Image, ImageDraw from django.core.files import File from django.db import models from django.forms import model_to_dict from apps.categoria.models import Categoria from apps.presentacion.models import Presentacion from citas...
[ "chrisstianandres@gmail.com" ]
chrisstianandres@gmail.com
1192cded4effd3395252540e02dbd727c5dfe410
24cee07743790afde5040c38ef95bb940451e2f6
/cci/LinkedList/2_4.py
e7b6c3f28f9924dec5761d25f28d55ff0ff9c01a
[]
no_license
tinaba96/coding
fe903fb8740d115cf5a7f4ff5af73c7d16b9bce1
d999bf5620e52fabce4e564c73b9f186e493b070
refs/heads/master
2023-09-01T02:24:33.476364
2023-08-30T15:01:47
2023-08-30T15:01:47
227,594,153
1
0
null
null
null
null
UTF-8
Python
false
false
710
py
from LinkedList import LinkedList def partition(ll,x): current = ll.tail = ll.head print('current:', current) print('llinit:', ll) print('lltail:', ll.tail) print('currentnext:', current.next) while current: nextNode = current.next print('nextNode:' , nextNode) current.next = None print('l...
[ "tinaba178.96@gmail.com" ]
tinaba178.96@gmail.com
8bfed1015851b962c2225cfa88aca33414e65fbe
7b35ddab50851b774bffbc633fc6d4fd4faa1efa
/simplifytour/core/views.py
a7dc604ef44572d89b7585c7c2449762739c408f
[]
no_license
Tushant/simplifytour
e585607efef9937f4a32165a526c38cbc192a562
2cb9f70b8cf27fd4beddf251966fdc214a1dcd85
refs/heads/master
2020-07-22T06:46:52.480528
2019-09-08T12:05:15
2019-09-08T12:05:15
207,106,399
0
0
null
null
null
null
UTF-8
Python
false
false
3,555
py
import os import mimetypes try: from urllib.parse import urljoin, urlparse except ImportError: from urlparse import urljoin, urlparse from json import dumps from django.contrib.admin.views.decorators import staff_member_required from django.http import (HttpResponse, HttpResponseNotFound) from django.utils.tr...
[ "programmertushant@gmail.com" ]
programmertushant@gmail.com
d0c90f25fddfaf49151612cb7ab6bc5f675ce960
7879c47da4cfa94ad676dc4f0a5aea308b6a05b9
/banners/migrations/0019_auto_20190409_1629.py
df151200ad21b7b95dd60e9267ba70b2115debc2
[]
no_license
SoloTodo/solotodo_core
9bc51fb276a22d25d3d894552a20f07403eb1555
72d8e21512b8a358335c347c3cc9b39fc8789c9b
refs/heads/develop
2023-08-13T04:21:03.957429
2023-08-10T16:14:44
2023-08-10T16:14:44
96,940,737
15
5
null
2023-07-25T15:46:18
2017-07-11T21:59:06
Python
UTF-8
Python
false
false
408
py
# Generated by Django 2.0.3 on 2019-04-09 16:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('banners', '0018_auto_20190313_1137'), ] operations = [ migrations.AlterField( model_name='bannerupdate', name='statu...
[ "vkhemlan@gmail.com" ]
vkhemlan@gmail.com
8e365f7fb7dbf06d1ec12db9b886d675b708e32a
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/third_party/blink/web_tests/external/wpt/webdriver/tests/classic/get_window_rect/get.py
f7592a30e067030f3c6433bc2419db06c0db8da8
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
Python
false
false
833
py
from tests.support.asserts import assert_error, assert_success def get_window_rect(session): return session.transport.send( "GET", "session/{session_id}/window/rect".format(**vars(session))) def test_no_top_browsing_context(session, closed_window): response = get_window_rect(session) assert_erro...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
b78201c41112819c6d5c05a0df40bc262974948d
66727e413dc0899502eb22d9798c11c07ce5bcda
/tools/utilities/pythonlibs/audio/play_audio.py
2054c201a6309ad74f5e7239b233959abea6cfc9
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yunqu/ELL
83e9f01d9be1dbcfc5b3814929797e5cf0b44159
bfeb0239ee8c90953a7210fca1087241749a52d4
refs/heads/master
2020-05-04T04:09:38.810236
2019-04-01T23:05:25
2019-04-01T23:05:25
178,960,204
1
0
null
2019-04-01T23:01:56
2019-04-01T23:01:56
null
UTF-8
Python
false
false
1,658
py
#!/usr/bin/env python3 ################################################################################################### # # Project: Embedded Learning Library (ELL) # File: play_audio.py # Authors: Chris Lovett # # Requires: Python 3.x # #####################################################################...
[ "clovett@microsoft.com" ]
clovett@microsoft.com
d6c9aa19d252414fe4a3ac029740b73baa7788ed
625f2f86f2b2e07cb35204d9b3232427bf462a09
/official/HIRun2017PP/QCDPhoton_pThat-30_TuneCP5_5p02TeV_pythia8/crabConfig_FOREST.py
71cf587527010f861fb8c2574246a542d877d2c4
[]
no_license
ttrk/production
abb84c423a076fd9966276b7ed4350936c755e0b
f8a64c9c38de215802799365f0f7a99e1ee78276
refs/heads/master
2023-02-08T23:48:56.355141
2023-01-26T08:46:22
2023-01-26T08:46:22
52,877,406
0
2
null
null
null
null
UTF-8
Python
false
false
1,710
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = "QCDPhoton_pThat-30_TuneCP5_5p02TeV_pythia8_FOREST" config.General.transferLogs = False config.section_("JobType") config.JobType.pluginName = "Analysis" config.JobType.psetName = "runFores...
[ "tatark@mit.edu" ]
tatark@mit.edu
00e411ddf0f13b487f205308a2467da5f9032f51
40de6d687cc0131eebde6edcd8b1ab640d2ca727
/Web/API/old/1.py
a421ae21ffa1d3237082c846727a21b62120ebe2
[]
no_license
Larionov0/DimaKindruk_Lessons
ad9bf6a4b8534de11fd445434481042ae3863cec
2fb38b2d65df84ad8909541c82bf7bef96deb24e
refs/heads/master
2023-06-05T11:42:28.503979
2021-06-24T17:08:33
2021-06-24T17:08:33
338,129,996
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
import requests import json def print_structure(struct): print(json.dumps(struct, indent=4)) def main_menu(): city = 'Kyiv' while True: print('--= Погода зараз =--') print(f"Місто: {city}") print('1 - дізнатись погоду') print('2 - змінити місто') print('0 - вихід ...
[ "larionov1001@gmail.com" ]
larionov1001@gmail.com
a59ec9983b0fe83019a84fcdb7d3102b3379d6b6
d7dc62a713617ebe10bb3ce228494637eca9ab7c
/scripts/dataset_summary.py
c6e53de833f547610e82a24a85108693127f3c03
[ "MIT" ]
permissive
marcofavorito/google-hashcode-2020
8416bbdff0a09724065c6742ba8d7ae659bdd829
5e44b155eb4a7c6ed4202dd264bcc4d36ac953f2
refs/heads/master
2022-04-04T11:13:04.576572
2020-02-20T21:51:43
2020-02-20T21:51:43
241,432,548
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
import argparse from hashcode20.helpers import Input import numpy as np parser = argparse.ArgumentParser("hashcode20", description="CLI util for Google Hash Code 2019. " "It assumes the input provided in stdin.") parser.add_argument("--in", dest="in_file", ...
[ "marco.favorito@gmail.com" ]
marco.favorito@gmail.com
0617e588eccff156ad691170642df8ed9583d1f0
1abcd4686acf314a044a533d2a541e83da835af7
/backjoon_level_python/12025.py
3031c47f8b001bd4d4ae1511ee00366b4039bde1
[]
no_license
HoYoung1/backjoon-Level
166061b2801514b697c9ec9013db883929bec77e
f8e49c8d2552f6d62be5fb904c3d6548065c7cb2
refs/heads/master
2022-05-01T05:17:11.305204
2022-04-30T06:01:45
2022-04-30T06:01:45
145,084,813
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
def solve(password, k): answer = '' bit = bin(k-1)[2:] bit = ''.join(reversed(bit)) # print('bit', bit) count = 0 password = password.replace('6', '1').replace('7','2') for s in password[::-1]: if count < len(bit): if s == '1': if bit[count] == '1': ...
[ "empire1641@gmail.com" ]
empire1641@gmail.com
ce95d7b7a66baa823b91cc6a6f6966e045647cd1
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.5/tests/regressiontests/utils/itercompat.py
f9fd701578c88b009be3b4b6546d7b96ea5bb57f
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
107
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.5/tests/regressiontests/utils/itercompat.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
2a63406ee420d62bf9d5c58274c937ec531958df
d922b02070c11c19ba6104daa3a1544e27a06e40
/HW_4_6/venv/Scripts/pip3.8-script.py
41620d84fc4a4267b4ade6a9be2cd60c46989b15
[]
no_license
viharivnv/DSA
2ca393a8e304ee7b4d540ff435e832d94ee4b2a7
777c7281999ad99a0359c44291dddaa868a2525c
refs/heads/master
2022-10-15T15:26:59.045698
2020-06-17T15:55:33
2020-06-17T15:55:33
273,020,116
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
#!C:\Users\vihar\PycharmProjects\HW_4_6\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv...
[ "52350934+viharivnv@users.noreply.github.com" ]
52350934+viharivnv@users.noreply.github.com
d800850a9e2c4d86bb5615c1930155a165048d9b
0a79b1804588be9a1f504b0d8b2425d39debb272
/barriers/models/history/__init__.py
a329ef511e8981b7fe916bb2053b47d2bb4b1ab7
[ "MIT" ]
permissive
cad106uk/market-access-python-frontend
9d44d455e1c7d5f20991fbad18d1aa9172696cf9
f9d5143e2330613385b8617f7134acbe01f196f7
refs/heads/master
2023-03-05T18:37:40.481455
2021-01-18T10:28:00
2021-01-18T10:28:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
from .assessments.economic import EconomicAssessmentHistoryItem from .assessments.economic_impact import EconomicImpactAssessmentHistoryItem from .assessments.resolvability import ResolvabilityAssessmentHistoryItem from .assessments.strategic import StrategicAssessmentHistoryItem from .barriers import BarrierHistoryIte...
[ "noreply@github.com" ]
cad106uk.noreply@github.com
5d8989700260fd1d8dafa0e88e688ae38b405076
22b348a0d10519cb1f1da5e886fdf2d3c167cf5a
/myweb/test/_paste/_routes/demo_2.py
67efaf264fa01ff34cd2c23b7403abf5e51bb3ce
[]
no_license
liuluyang/openstack_mogan_study
dab0a8f918ffd17e0a747715998e81304672b75b
8624f765da7f5aa0c210f0fa945fc50cf8a67b9e
refs/heads/master
2021-01-19T17:03:15.370323
2018-04-12T09:50:38
2018-04-12T09:50:38
101,040,396
1
1
null
2017-11-01T02:17:31
2017-08-22T08:30:22
Python
UTF-8
Python
false
false
314
py
from routes import Mapper map = Mapper() print map print type(map) map.connect(None, '/error/{action}/{id}', controller='error') result = map.match('/error/lixin/200') print result map.connect(None, '/error/{action:index|lixin}/{id:\d+}', controller='error') result = map.match('/error/lixin/200') print result
[ "1120773382@qq.com" ]
1120773382@qq.com
365edf48bfff6fdeccdcb1003149c574c7972c07
97dae48fa3c613a84655c1c0b12cdc0db2c555bb
/algorithm/patternsearch/anagram_search.py
e0aab3a3dca8cf884dda3fe0c3bcd65162ad4911
[]
no_license
klknet/geeks4geeks
6aa5841b15be41057dc987524721ea1ea37e02ea
d7d9099af7617a4000f38c75d2c7214bed570eda
refs/heads/master
2021-07-12T06:34:30.048691
2020-06-22T07:51:14
2020-06-22T07:51:14
170,288,225
1
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
""" Search for all permutations. 1)Store counts of frequencies of pattern in first count array countP[]. Also store counts of frequencies of characters in first window of text in array countTW[]. 2)Now run a loop from i=M to N-1, do following in loop: a)If the two count arrays are identical, we found an occurrence. ...
[ "konglk@aliyun.com" ]
konglk@aliyun.com
1af0bee0929738dc142282f5829ece2b158125a4
ec2b6cd4e9c183bc5e99ad917110d91985dfc2e8
/touchdown/aws/vpc/customer_gateway.py
57ab247b587073333858ec7d25c5ddf89ac39980
[ "Apache-2.0" ]
permissive
triplekill/touchdown
128ac7a9260709dae5ccbce6db344ab109cc75da
8b70d4ac448bebd1cd088fa415be9cf6c74108cc
refs/heads/master
2020-12-25T03:20:34.717218
2016-05-29T18:54:03
2016-05-29T18:54:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,914
py
# Copyright 2015 Isotoma Limited # # 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 writing...
[ "john.carr@unrouted.co.uk" ]
john.carr@unrouted.co.uk
b3e47bb92563fa3756c12e43de9cb2e777ddcdd2
4c9c028936379c510cebfe4830f460817d9bc3c8
/account/urls.py
48532b9b4e93777e52ea3e0cdcab3456e5d9b824
[]
no_license
preciousidam/management-system
cd47d7c564fe0ff0ae459c702c63a3cb16eee8ab
c984012e2cbc7554b20b00fabafd24f3f5752ba8
refs/heads/main
2023-04-02T08:44:24.416866
2021-03-11T20:09:11
2021-03-11T20:09:11
341,899,263
0
0
null
2021-04-12T14:35:07
2021-02-24T12:50:41
Python
UTF-8
Python
false
false
733
py
from django.urls import path, re_path from django.conf.urls import url, include from rest_framework import routers from .views import (CorttsAccountViewSet, CompanyViewSet, OtherAccountViewSet, TransactionViewSet, ExpenseAccountViewSet, TopUpViewSet) router = routers.D...
[ "preciousidam@gmail.com" ]
preciousidam@gmail.com
4dc3acd2ad170769aa171cdcd7190d67995c3df2
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayMarketingCashvoucherTemplateCreateResponse.py
5a0f8dd9303d72dccf432f218972e12ade589662
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,382
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayMarketingCashvoucherTemplateCreateResponse(AlipayResponse): def __init__(self): super(AlipayMarketingCashvoucherTemplateCreateResponse, self).__init__() self._c...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
1520ca420b7242a13c8ee4a587eaf2836de6ab5e
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/exercism/python-exercises-master_with_unittest/hamming/hamming.py
911760d87b510cc1e962ecd4af143c5c2c4f942a
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
21
py
___ distance p..
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
a6bff4b60a92bd23a58b23a4e36b4942b22ec63a
4adbebc69f2d2552234664f4cf6bf4b6a4a90aa2
/examples/eight_schools/eight_schools.py
711a6bd33f5635856ef2ff33142b772018126426
[ "Apache-2.0" ]
permissive
coryshain/edward
291c50123182a19273c1bf1723e894a54a9014ff
494a85e6354504d8c71ec6a7b70021a20470fec8
refs/heads/master
2022-11-10T01:16:51.875938
2020-06-18T14:15:32
2020-06-18T14:15:32
273,252,033
0
0
NOASSERTION
2020-06-18T13:54:22
2020-06-18T13:54:21
null
UTF-8
Python
false
false
2,802
py
"""Implement the stan 8 schools example using the recommended non-centred parameterization. The Stan example is slightly modified to avoid improper priors and avoid half-Cauchy priors. Inference is with Edward using both HMC and KLQP. This model has a hierachy and an inferred variance - yet the example is very simpl...
[ "dustinviettran@gmail.com" ]
dustinviettran@gmail.com
bea8b455adb55b38f6aaae2a0a97e58b2d9eccbc
5ea136ca2e8066b77b39afdf15e3d0e6bc74761f
/scripts/substitute-prototypes.py
4e56598f45506ae50cc08157da2a187c6741fbe6
[]
no_license
reneang17/ttbar
4023421846a70c22c13a2962520f7723ad35636b
75f4fff1b5d79af097ea04aab437e2963215a232
refs/heads/master
2020-06-12T15:07:11.918815
2019-06-28T22:24:07
2019-06-28T22:24:07
194,339,531
0
0
null
null
null
null
UTF-8
Python
false
false
2,166
py
#!/usr/bin/env python3 # # todo: # import argparse import os import re import string import subprocess parser = argparse.ArgumentParser( formatter_class=argparse.RawTextHelpFormatter,\ description = \ ''' Substitute prototypes in IdSolver output by integrals.''' ) parser.add_argument("file",\ hel...
[ "reneang17@gmail.com" ]
reneang17@gmail.com
2bdf6125fc161c83cf1d0a6eed0f207c318f8d40
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/image_classification/mBART_ID1550_for_PyTorch/dataset/data_loader_iter.py
4b1183c752968be0a7ee951799016572ffe96c99
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-or-later", "GPL-3.0-only" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,986
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # #...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
f9fd97e9d2c666e13a10ed4f2a3f3efa6c94dcc1
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/55f014a207123e37696fa342fd06feff8f1d4b28-<_load_label>-bug.py
e2655af953c09968c6f208353b936e225b93bfe2
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
def _load_label(self, idx): 'Parse xml file and return labels.' img_id = self._items[idx] anno_path = self._anno_path.format(*img_id) root = ET.parse(anno_path).getroot() size = root.find('size') width = float(size.find('width').text) height = float(size.find('height').text) if (idx not ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
9a90e00ca7c3cc3a44b1e2909de8f45cefc60fcf
f8b9e5de8823ff810ec445b6fa6d0e34f7b6319f
/Django/django_project/apps/Surveys_app/views.py
0c4499e1aab25caa03e11a9324303ae1038795fe
[]
no_license
amalfushi/Python
6c042443a8aeae15fc96a41a692abdbea05db863
067c2cef722457e884833f77baf9f44f45a4a165
refs/heads/master
2021-01-24T04:08:21.278071
2018-02-26T06:25:59
2018-02-26T06:25:59
122,923,686
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render, HttpResponse # Create your views here. def main(request): return HttpResponse('Placeholder to display all the surveys created') def new(request): return HttpResponse('Placeholder for users to add a new survey...
[ "dustin.p.schroeder@gmail.com" ]
dustin.p.schroeder@gmail.com
8b524197c2dedd42f3f50922a7bdf22dda937dba
c78e61ccee6ac695d3f71f72fc3212fdd2c1d193
/sync_plot_fig1618.py
b303b15494c6cc01c2f00ce050c78d02d1aa3603
[]
no_license
bbw7561135/phd_code
28557e84228119dd204f9e16ca27d7c7cef81188
ef06c317115f0744a7941796c4092e489923ef4e
refs/heads/master
2021-06-13T02:35:08.475474
2017-02-26T21:12:17
2017-02-26T21:12:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,694
py
#------------------------------------------------------------------------------# # # # This code is a Python script that reads in arrays of synchrotron intensity, # # and calculates the structure function slope and integrated quadrupole ratio...
[ "cher7851@uni.sydney.edu.au" ]
cher7851@uni.sydney.edu.au
b13014013bfe7f16e2c291f768ee50207dacf92d
aec9a1f3d1d36f19724e745ca4d09a20f67208dc
/talent/migrations/0016_auto_20210210_0904.py
9fcc9bb77bf5ed3a188a98dbe181747f8acaf2b7
[]
no_license
endlessor/open-united-backend
b1b1c3411d0d48bc79b35895c70f24d773ac7344
86f6905cce14b834b6bf059fd33157249978bd14
refs/heads/main
2023-04-29T13:35:28.529360
2021-05-17T14:16:39
2021-05-17T14:16:39
368,211,786
1
0
null
null
null
null
UTF-8
Python
false
false
383
py
# Generated by Django 3.1 on 2021-02-10 09:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('talent', '0015_person_headline'), ] operations = [ migrations.AlterField( model_name='person', name='headline', ...
[ "robcoder@hotmail.com" ]
robcoder@hotmail.com
47a3f8525c7b4f21d5f964bd6f5404fafc9d03a4
20176bf4fbd8aec139c7b5a27f2c2e155e173e6e
/data/all-pratic/VivekKumar_DCC/python_2/Day2_1.py
73d19dd534ff3c2cd430a11bb817b05e35bd6e66
[]
no_license
githubjyotiranjan/pytraining
4ac4a1f83cc4270e2939d9d32c705019c5bc61c5
8b50c4ab7848bd4cbfdfbc06489768d577289c66
refs/heads/master
2020-03-19T06:22:20.793296
2018-06-15T20:08:11
2018-06-15T20:08:11
136,013,642
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
randomList=int(input('enter the count=')) vals=1; while(vals<= randomList): try: if(randomList%2!= 0): print("The odd= ", vals) vals=vals+1 except: print("The Even= ", vals)
[ "jsatapathy007@gmail.com" ]
jsatapathy007@gmail.com
baff5fe97381c6dd6353e82b1b8d9a68aa02bc51
33c0d36ba88af9c3b35acd000a8a83fa5c24ed8a
/Problems/Isomorphic Strings.py
7434a2397d00e41aa76436b961747b27f904d915
[]
no_license
ElliottBarbeau/Leetcode
e58dab31937a36e7557990846898cd2b2586a27c
43c3698c829f5a613ed3e9516a146e7576d81146
refs/heads/master
2021-11-28T02:06:39.848174
2021-08-30T23:37:13
2021-08-30T23:37:13
221,090,906
1
0
null
null
null
null
UTF-8
Python
false
false
451
py
class Solution: def isIsomorphic(self, s: str, t: str) -> bool: d = {} if len(s) != len(t): return False for i in range(len(s)): if s[i] not in d and t[i] not in d.values(): d[s[i]] = t[i] elif s[i] in d and t[i] == d[s[i]]: ...
[ "elliottbarbeau@gmail.com" ]
elliottbarbeau@gmail.com
b435561acbf322a0401ebbf926b601484d79c440
215eadf839ecc40a37ae22063bf7f9c5c9450699
/hr_employee.py
51c7e4843a1f91ca38c6ca6712a1b5c9cd3e7f07
[]
no_license
davidsetiyadi/hr_webcam
c12e751e91c4757938cae54697df084c99ed9b4a
4740d9f104c8ebeba7e6ef5e196068f5c5fd6111
refs/heads/master
2021-01-19T12:40:22.010104
2017-09-25T12:34:38
2017-09-25T12:34:38
100,796,432
0
0
null
null
null
null
UTF-8
Python
false
false
3,242
py
from openerp import models import numpy as np import cv2 import dlib import face_recognition import urllib import base64 from common import clock, draw_str class hr_employee(models.Model): _inherit = 'hr.employee' def action_take_picture(self, cr, uid, ids, context=None): if context is None: context = {} ...
[ "davidsetiadi11@gmail.com" ]
davidsetiadi11@gmail.com
3e2abc01b00cc24995d645655e3a0d8aa6ace57c
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories/147881/kaggle_forest_cover_type-master/my_model.py
6a7942ec6a23229e7c5286d8e10e805c980a5499
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
7,475
py
#!/usr/bin/python import os import matplotlib matplotlib.use('Agg') import pylab as pl import numpy as np import pandas as pd import gzip import cPickle as pickle from sklearn import cross_validation from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier from sklearn.ensemble import GradientBoos...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
942b9171041a8572b2cf2d3d1042c271979e83e0
beed259c9aaf824c5307d93ffa736255f2d98831
/month05/Spider/Wholesale02/run.py
de99978bdaa95073168ae291ab53dece83b892ce
[ "Apache-2.0" ]
permissive
chaofan-zheng/python_learning_code
21345f97ebf74c3cad0ef488a93ec8a7fd771a63
5d05848911d55aa49eaee4afd7ffd80536fad7aa
refs/heads/main
2023-05-27T16:17:18.130492
2021-06-06T14:23:31
2021-06-06T14:23:31
338,234,801
0
0
null
null
null
null
UTF-8
Python
false
false
1,738
py
from scrapy import cmdline import numpy as np import pandas as pd import matplotlib.pyplot as plt import warnings import seaborn as sns import os cmdline.execute('scrapy crawl wholesale -o wholesale.csv'.split()) command = f'jupyter nbconvert {os.getcwd()}/visualization.ipynb' print(command) os.system(command) warning...
[ "417355570@qq.com" ]
417355570@qq.com
b15953c884974afcdc6bdde6b224dba82df25716
d8cbe9ce0469f72b8929af01538b6ceddff10a38
/homeassistant/components/rainbird/config_flow.py
057fc6fe39662a459581e0e3f0bdd86855071e43
[ "Apache-2.0" ]
permissive
piitaya/home-assistant
9c1ba162dac9604e4d43e035e74bad7bba327f0b
48893738192431f96966998c4ff7a3723a2f8f4a
refs/heads/dev
2023-03-07T16:13:32.117970
2023-01-10T17:47:48
2023-01-10T17:47:48
172,578,293
3
1
Apache-2.0
2023-02-22T06:15:56
2019-02-25T20:19:40
Python
UTF-8
Python
false
false
6,344
py
"""Config flow for Rain Bird.""" from __future__ import annotations import asyncio import logging from typing import Any import async_timeout from pyrainbird.async_client import ( AsyncRainbirdClient, AsyncRainbirdController, RainbirdApiException, ) import voluptuous as vol from homeassistant import con...
[ "noreply@github.com" ]
piitaya.noreply@github.com
eafad22e3b9c5ddb8002f0f4d4281976958abffb
1c2bb53d56a777bd2700c0438421ce686d1c8dc5
/tests/past_api07_sources_excel.py
5a230d6124045e6987f3acaa7f7d044bbeba2982
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
drewdolan/datatest
a1a771ff630acc7322387f4f810ff75fb22f5e5f
1c168739f84328043c7f0be7cf25bb8e23cc259c
refs/heads/master
2020-05-09T16:01:09.553762
2019-05-18T05:40:16
2019-05-18T05:40:16
181,254,930
0
0
NOASSERTION
2019-04-14T03:17:59
2019-04-14T03:17:57
null
UTF-8
Python
false
false
1,884
py
# -*- coding: utf-8 -*- from __future__ import absolute_import import os from . import _unittest as unittest from .mixins import OtherTests from .mixins import CountTests try: import xlrd except ImportError: xlrd = None from datatest.__past__.api07_sources import ExcelSource workbook_path = os.path.join( ...
[ "shawnbrown@users.noreply.github.com" ]
shawnbrown@users.noreply.github.com
ec2739b5ba94034b1ee8cd65a284ccd4192cc77a
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.0_rd=1_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=97/params.py
57b7be835a6b989c5d600c2af47d54e7a07715c4
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
{'cpus': 4, 'duration': 30, 'final_util': '3.029857', 'max_util': '3.0', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'GSN-EDF', 'trial': 97, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
2e4ec5eb9f881ea159c5acf75b2f58cc0e5c9aa2
3fc254b192d170aa31fa42f1ef480a8ab45315be
/src/NL_Transformer_Enc_Dec/fairseq/sequence_generator.py
f19fbb0aa532ef952a02e37f48c9052ded21db05
[ "MIT" ]
permissive
snudatalab/Negotiation_Learning
a38246d27350745f7d8f35edbd807d0c16c7c7cb
7c0f13781aec2d7efe0870c2bcd60eaef5d342de
refs/heads/main
2023-06-04T16:15:39.665634
2021-06-20T17:09:32
2021-06-20T17:09:32
378,689,993
0
1
null
null
null
null
UTF-8
Python
false
false
58,297
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import math from typing import Dict, List, Optional import sys import torch import torch.nn as nn from fairseq import search, util...
[ "noreply@github.com" ]
snudatalab.noreply@github.com
f289b70cb8056d517c2f5158137b0098f45503d0
b3c939e013ecfdd68b02344ad2936ae53dd1a725
/regression_2d/projects/model_save/get_dataset.py
9d8fe2a003e8371859d010fa4a49c101555fe9df
[]
no_license
TakakiNishio/chainer
3cd9d2972d72c30d1d4fb979692de26539903556
55c2771a1a72dccd738e1350ab539f517083ba33
refs/heads/master
2020-12-24T11:07:36.788998
2017-07-02T19:43:45
2017-07-02T19:43:45
73,190,468
0
1
null
null
null
null
UTF-8
Python
false
false
919
py
#python library import numpy as np import random #define function def real_function(x1,x2): z = -3*np.exp(-(((x1-2)**2)/3)-(((x2-2)**2)/3)) - 4*np.exp(-(((x1+2)**2)/4)-(((x2 +2)**2)/4)) #z = np.exp(-0.25 * np.sqrt(x1**2 + x2**2)) * np.cos(2 * np.sqrt(x1**2 + x2**2)) return z #generate dataset def dataset...
[ "p104314t@mail.kyutech.jp" ]
p104314t@mail.kyutech.jp
5af53751459fff26bde07d31765f075b7ccff247
cc31777830ccbc17347305c40db91afc012977ee
/concepts/functions/is_abecedarian.py
8ec3c19c3b4a3de66cdded9be1222b4400bb9053
[]
no_license
sourcery-ai-bot/library-python
e147b9e5c6baba502de9f7605c5fa1937dbd13f4
61472955f4b011caa989b8805be3ed7df19c7aa8
refs/heads/master
2022-11-06T20:19:59.056197
2020-06-30T20:56:45
2020-06-30T20:56:45
276,206,925
0
0
null
2020-06-30T20:56:31
2020-06-30T20:56:30
null
UTF-8
Python
false
false
600
py
""" The following function returns True if the word passed as input is an abecedarian word. That is a word where the each letter in the word is a subsequent letter in the alphabet. 'Ant' would be a simple example. """ def is_string_abecederian(test_word: str) -> bool: max_letter = '' letters_tested = 0 fo...
[ "wayne.a.lambert@gmail.com" ]
wayne.a.lambert@gmail.com
976aea0ed87a3c086d068ae560fdb2ffcd591676
a7f442bc306d1a8366a3e30db50af0c2c90e9091
/blockchain-env/Lib/site-packages/Cryptodome/Util/Padding.pyi
da274b98cccf0661298b00aed0ad7c5a91a8f5d3
[]
no_license
Patreva/Python-flask-react-blockchain
cbdce3e0f55d4ba68be6ecfba35620585894bbbc
474a9795820d8a4b5a370d400d55b52580055a2e
refs/heads/main
2023-03-29T01:18:53.985398
2021-04-06T08:01:24
2021-04-06T08:01:24
318,560,922
1
0
null
null
null
null
UTF-8
Python
false
false
243
pyi
from typing import Optional __all__ = [ 'pad', 'unpad' ] def pad(data_to_pad: bytes, block_size: int, style: Optional[str]='pkcs7') -> bytes: ... def unpad(padded_data: bytes, block_size: int, style: Optional[str]='pkcs7') -> bytes: ...
[ "patrickwahome74@gmail.com" ]
patrickwahome74@gmail.com
624b2a5975b2e3b83dfd238525814a74fb83e8b8
07af444dafa5bde373b0730e92d67e455d4ff4df
/SFData/StackOverflow/s44111687_original.py
f6758354b177e5b42738830aaf582fd7d6de7e91
[]
no_license
tensfa/tensfa
9114595b58a2e989780af0c348afb89a2abb04b4
415dcfaec589b0b14c5b9864872c912f3851b383
refs/heads/main
2023-06-30T14:27:38.217089
2021-08-03T01:33:30
2021-08-03T01:33:30
368,465,614
2
3
null
null
null
null
UTF-8
Python
false
false
2,115
py
training_data = np.vstack(training_data) training_target = np.vstack(training_target) test_data = np.vstack(test_data) test_target = np.vstack(test_target) learning_rate = 0.001 n_input = 2 n_steps = 1 n_hidden = 128 n_classes = 2 # tf Graph input x = tf.placeholder("float", [None, n_steps, n_input]) y = tf.placehol...
[ "tensfa@yeah.net" ]
tensfa@yeah.net
2b141c2d2dc86ce4917c900408959b04afe351d7
9b5bfaf574a2eea29e1ec363e7670edd84c456d8
/mobile/pages/app.py
2ce862ebe7a7f61338edc6cefede64d1d568d7c8
[]
no_license
fanpl-sourse/mytestenv
d04b34fdca596ab5e25349e2d68aa8450984e715
7e31da486d6c4a4442c2c0ce97b347f5273cc2eb
refs/heads/master
2023-01-30T18:32:40.904084
2020-12-15T06:36:56
2020-12-15T06:36:56
278,984,272
1
0
null
null
null
null
UTF-8
Python
false
false
1,716
py
# -*- coding: utf-8 -*- # @Time : 2020/7/26 16:12 # @Author : 饭盆里 # @File : app.py # @Software: PyCharm # @desc : from appium import webdriver from mobile.pages.basepage import BasePage from mobile.pages.mainpage import MainPage class App(BasePage): """ 存放APP常用的方法:启动、重启、关闭、进入首页 """ def star...
[ "fanpengli@fangdd.com" ]
fanpengli@fangdd.com
9d61382de8235ccffe9e598c335ce26721982cf9
97792803c0069e6634ce7b57746b8893bad2ab35
/inclass/dictionary.py
0877fae6d37dda2afbbfa6d5fbf53855fe251864
[]
no_license
byronwasti/SoftDes
2e31560cfb61d1f4f80691af37b89cce0bca73e6
690d777062f156bf2f7710ab0b20df884595cf37
refs/heads/master
2020-01-22T14:24:11.679717
2015-04-21T19:32:05
2015-04-21T19:32:05
29,879,667
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
def histogram(s): d = {} for i in s: if d.get(i,0) == 0: d[i] = 1 else: d[i] += 1 return d #print histogram('asdfasdfgasdg') def has_dupl(l): d = {} for i in l: if d.get(i,0) == 0: d[i] = 1 else: return True #print has_dupl([1,2,...
[ "byron.wasti@gmail.com" ]
byron.wasti@gmail.com
573587bbff19efe24ae3a9a6241ed93fe05351f5
b1c423170f2d897ef88ab93e17830b6fff91b4e3
/EasyPython/wax/tools/waxrf/imgcoder.py
6949ca6c4b5594016fa4b9d2034fba194a7696e8
[]
no_license
walker8088/easyworld
55031dd0862b7bc0ffc8c5093875a93e935933e6
e6aaf18430aee1457f5d8228fb300cf4323bcb7f
refs/heads/master
2021-01-02T09:34:59.604820
2011-01-20T03:32:16
2011-01-20T03:32:16
33,644,143
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
#------------------------------------------------------- # imgcoder.py # Purpose: To encode/decode images for XRC # Author: Jason Gedge # # TODO: # - Consider better encoding/decoding #------------------------------------------------------- import base64 def DecodeImage(data): """ Decode an image f...
[ "lidonglin8088@gmail.com@c3cacd82-1c91-3bdd-8267-0dbd049bf731" ]
lidonglin8088@gmail.com@c3cacd82-1c91-3bdd-8267-0dbd049bf731
7eff9f36e7e6bad508e866be840b19ba1c8eea02
fe5db184c4abbd1ad25242ab24c18e2d785a069f
/apps/partida/migrations/0023_auto_20200503_1351.py
291a48d573c5e9fb3e1e85d5ea758745ad4876fd
[]
no_license
valmoresjp/asl
aa20df3ac50f27d7360f77ce599c0dee91e0011f
0b882cf3d5a97719e22ae39e29ccc933e6a10b7f
refs/heads/master
2023-03-17T11:09:35.313488
2020-07-27T19:09:52
2020-07-27T19:09:52
267,399,738
1
0
null
2020-07-25T00:52:39
2020-05-27T18:44:30
HTML
UTF-8
Python
false
false
429
py
# Generated by Django 3.0.4 on 2020-05-03 13:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('partida', '0022_auto_20200429_1716'), ] operations = [ migrations.AlterField( model_name='cliente', name='fecha', ...
[ "valmoresjp@gmail.com" ]
valmoresjp@gmail.com
3978ba4853132b98b1296c8b4418455710f65a6a
775fdec8dd3d959560450fec3cf17c82a79e3f61
/apps/dojo_ninjas/views.py
4b8cd48396c0debabdbbee0f290a6e28bde444cd
[]
no_license
HarmsA/Dojo_Ninja
f2ff9833ea1b7707bed567ab869d1a645f8694a4
23ce11de538e600fccf64ac3c28348ca7bf38422
refs/heads/master
2020-04-09T03:13:10.591710
2018-12-02T18:27:29
2018-12-02T18:27:29
159,974,181
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
from django.shortcuts import render, HttpResponse # Create your views here. def index(request): return HttpResponse('Dojo_ninja')
[ "harms2a@gmail.com" ]
harms2a@gmail.com
959292466215e11be803178df6f439451a2cb66f
1d7ae7456cad0d7a914a35bac6e854e566a16589
/db_check.py
7a7d6fffe84e3b7181e190d46c29da75876f0e12
[]
no_license
truongngocasic/myrepos
eda728d31e7771e606126d0dc43e976e4eb0a309
58678ac27c201198f682cacbab6c8947a731d5eb
refs/heads/master
2021-09-22T10:18:44.483641
2018-09-08T02:44:00
2018-09-08T02:44:00
112,811,650
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
import sqlite3 import json db = sqlite3.connect('dbase/app.db') # Get a cursor object cursor = db.cursor() #Show project print "SHOW PROJECT" cursor.execute("SELECT * FROM project") rows = cursor.fetchall() for row in rows: print row print json.dumps(row) #Show users print "SHOW USERS" cursor.execute("S...
[ "root@beaglebone.(none)" ]
root@beaglebone.(none)
f949c991858831a2c471ca6defa30d8260439840
136a379de74b2a28782cd0e2fb04da99dfabdf86
/StacksAndQueues/FashionBoutique.py
0e521c45b07ee0879e60a1065f5f486029e4bc75
[]
no_license
mironmiron3/SoftUni-Python-Advanced
eb6c077c3b94e0381a82ed3b4abb26f1098dec82
c7ac896a8fcc1f13a09f4c5573bd183d788a3157
refs/heads/main
2023-07-09T23:00:18.404835
2021-08-24T14:05:21
2021-08-24T14:05:21
399,486,680
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
clothes = [int(piece) for piece in input().split()] initial_rack_capacity = int(input()) number_of_racks = 1 rack_capacity = initial_rack_capacity while clothes: current_piece = clothes.pop() if current_piece > rack_capacity: number_of_racks += 1 rack_capacity = initial_rack_capacity - c...
[ "noreply@github.com" ]
mironmiron3.noreply@github.com
0ba0c81799f09156fcef95965f4bb7805c4db0cd
e269e4eda43519b7ceb6657a09acdd3aede352d5
/hello01.py
e2e02ffbbf6329f2b1effc03705c14113f0fdee5
[]
no_license
michaelzh17/python001
b58a4865469ffa6995f5e43d6ac8efc7475901e4
50d465bb3a9f42bbad34fde2dead2c01e609b932
refs/heads/master
2021-09-07T19:44:18.316463
2018-02-28T03:15:46
2018-02-28T03:15:46
106,627,362
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
#!/usr/bin/env python3 print('hello, python')
[ "macalzhang@gmail.com" ]
macalzhang@gmail.com
80f98b311d83f89f0caf6261134534cbdf3e1c93
c4a3eeabe660e5d6b42f704d0325a755331ab3c5
/hyperion/get_obs_CDF.py
743366a29bdbc5509cdac8ee10191a4c26a47060
[]
no_license
yaolun/misc
dfcfde2ac4a6429201644e1354912d3a064f9524
049b68ce826ddf638cec9a3b995d9ee84bf6075a
refs/heads/master
2021-01-21T23:54:08.953071
2018-06-02T19:46:18
2018-06-02T19:46:18
26,666,071
1
0
null
null
null
null
UTF-8
Python
false
false
7,328
py
def get_obs_CDF(cdfdir, obj, spitzer_file=None, photfile=None): """ obj input in uppercase. But check the path to make sure. """ import numpy as np from astropy.io import ascii def spitzer_unc(filename, R=60., width=2.5): """ R is the resolving power (lambda/delta_lambda) ...
[ "allenya@gmail.com" ]
allenya@gmail.com
e85beac70d5bacceda749318ba1c7279a6d05ee2
6b2ea44d7c7944dc2ec83a6cc9de8c1c475c093c
/GetUserShareCounts.py
9f3aa6a6c0eb93f51791fea6dd24fa1c3317e27f
[]
no_license
yashodhank/GAM-Scripts
2526d1aa2a2f878dfa426168bf9f5c2e73d21076
58c99983e7c7326893ccef5b9e4f15e7e8f58c4c
refs/heads/master
2020-04-04T19:17:36.641822
2018-11-01T16:12:26
2018-11-01T16:12:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,739
py
#!/usr/bin/env python2 """ # Purpose: For a Google Drive User(s), output a CSV file showing the share type counts for files shared by the user(s) # Note: This script can use Basic or Advanced GAM: # https://github.com/jay0lee/GAM # https://github.com/taers232c/GAMADV-X, https://github.com/taers232c/GAMADV-XTD, https://...
[ "ross.scroggs@gmail.com" ]
ross.scroggs@gmail.com
ac50bc52bc7373fcee843af31f074fd1f46ee40e
d815c4755e6f98098452528d8ab69a8f82096b78
/day11/producer.py
e1ef9d4d5e62560a2626effd42106c83a7ede936
[]
no_license
immortalmin/csk
081f1baddde43f74151f08a7d701d4c611845f7f
aca509a03bb88ae2911c1611350decdf68a4419a
refs/heads/master
2020-04-07T22:51:59.907665
2018-12-04T08:53:22
2018-12-04T08:53:22
158,788,228
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
#Author:immortal luo # -*-coding:utf-8 -*- import pika connection = pika.BlockingConnection( pika.ConnectionParameters('localhost') ) channel = connection.channel()#声明一个管道 #声明queue channel.queue_declare(queue='hello',durable=True)#队列持久化,但只是保存队列名 channel.basic_publish(exchange='', routing_key...
[ "1608725226@qq.com" ]
1608725226@qq.com
ca6d004796ccfbe78c85eb4efbea28468a04ebcc
2289d33c903bf6eaa0aeb228418ef438863e763d
/fortest/fortest/settings.py
31da12ea1ebcb2450e2cfea43fa4ed31e88ca251
[]
no_license
theseana/f
e462255eff88370365afeeae53e080aa53239d15
8a66acfc55e223fcd702540462053a5b5e0196e4
refs/heads/master
2023-01-12T21:30:39.043604
2020-11-22T16:00:48
2020-11-22T16:00:48
315,075,275
0
0
null
null
null
null
UTF-8
Python
false
false
3,109
py
""" Django settings for fortest project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib...
[ "info@poulstar.com" ]
info@poulstar.com
323e87f0298040446697d0117a55480796d625d1
1581ea7304a39a81a018e35e5c6d773bb9f1727a
/프로그래머스/PR_여행경로.py
041746869622645b93f00ec9bd431719a1a62169
[]
no_license
Yejin6911/Algorithm
5faae951a19e47dd0babbe0f27e349f8499d5b38
80e715c718c8362b20f42115f737b8e918de5b11
refs/heads/master
2023-06-20T21:13:39.181327
2021-07-19T06:30:20
2021-07-19T06:30:20
330,934,724
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
from collections import defaultdict def solution(tickets): stack = ["ICN"] answer = [] routes = defaultdict(list) for key, value in tickets: routes[key].append(value) for r in routes: routes[r].sort() while stack: now = stack[-1] if now not in routes or len(rout...
[ "cdjin6911@gmail.com" ]
cdjin6911@gmail.com
cc9747c96a7aa72f30372975203452bf4205eac7
c56303068bf3bb97cb87202f8ed0e8b2f4316a2a
/covid19_pipeline/data/sampler.py
d8c675e849845b966ae44bd7913b6a25470b97d9
[]
no_license
salvagimeno-ai/HKBU_HPML_COVID-19
f049b0ed91b0a06db674407d72940452c84a3e06
c23e9c7bf5bedec4ddcc3d6efd1e0ad0f814446f
refs/heads/master
2022-12-04T07:03:27.722775
2020-08-30T07:47:01
2020-08-30T07:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
import torch import torchvision from torchline.data.sampler import SAMPLER_REGISTRY from torchline.data import build_data __all__ = [ 'WeightedRandomSampler', ] @SAMPLER_REGISTRY.register() def WeightedRandomSampler(cfg): dataset = build_data(cfg) sampler_cfg = cfg.dataloader.sampler weights = [] ...
[ "1435679023@qq.com" ]
1435679023@qq.com
68f0e33fbfb6bfb09cc47e135e5d04fb76d17f89
82f993631da2871933edf83f7648deb6c59fd7e4
/w1/L1/17.py
5f12a88814e26948b3cfec9064768f06961e56b3
[]
no_license
bobur554396/PPII2021Summer
298f26ea0e74c199af7b57a5d40f65e20049ecdd
7ef38fb4ad4f606940d2ba3daaa47cbd9ca8bcd2
refs/heads/master
2023-06-26T05:42:08.523345
2021-07-24T12:40:05
2021-07-24T12:40:05
380,511,125
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
print(bool(True)) print(bool(1)) print(bool(100)) print(bool('h')) print(bool('hello')) print(bool(2.6)) print(bool([1, 2, 3])) print(bool((1, 2, 3))) print(bool({'id': '123', 'name': 'Student 1'})) print('-'*60) print(bool(False)) print(bool(0)) print(bool('')) print(bool([])) print(bool(())) print(bool({}))
[ "bobur.muhsimbaev@gmail.com" ]
bobur.muhsimbaev@gmail.com
666b1de3a5fd29c3d152bb33be6388723535ccdf
ae3d73906b3fac87792bc5f969c0d1b3ebb30290
/taxcalc/calculator.py
7a2b5128c5e2e26cd0ac7042d17c7399b095b950
[]
no_license
rohitdeojha/pitaxcalc-demo
32be22fafbc62e81d08c603be8733db9b23d4451
cbd86d432b8d9573f08ac3163ba8d4f1fea49132
refs/heads/master
2020-03-29T15:22:26.010616
2018-09-26T07:00:16
2018-09-26T07:00:16
150,060,106
0
0
null
2018-09-24T05:49:57
2018-09-24T05:49:56
null
UTF-8
Python
false
false
46,410
py
""" PIT (personal income tax) Calculator class. """ # CODING-STYLE CHECKS: # pycodestyle calculator.py # pylint --disable=locally-disabled calculator.py # # pylint: disable=too-many-lines # pylintx: disable=no-value-for-parameter,too-many-lines import os import json import re import copy import numpy as np import pand...
[ "martin.holmer@gmail.com" ]
martin.holmer@gmail.com
17a801e1c8f1bfed5c0e1f9dbc0213f087032fdb
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02999/s307440938.py
4877282d29ac7f77ea440e4d8d536528f72eeecf
[]
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
84
py
X, A = [int(i) for i in input().split()] if X < A: print(0) else: print(10)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0a255e211f9dad61eb4d0665a5241214dadd47f6
f469652395fd34bd228ac23bb1a24efce6e5c4a0
/看书笔记/看书练习/类/模块存储多个类/car.py
001e32f69d227e1222a520cdfe4632cd75e494b0
[]
no_license
wfwf1990/python
0f5528f92d6172da96bce3ded12d1cc2f038ec3c
6fa3b600cfcf4ab49da7cd8b5f62b5b62e276bfa
refs/heads/master
2021-04-18T21:35:04.445511
2018-06-25T17:40:04
2018-06-25T17:40:04
126,700,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,590
py
class Car(): def __init__(self,make,model,year): self.make = make self.model = model self.year = year self.odometer_reading = 0 def getDescriptiveName(self): #返回描述性信息 long_name = str(self.year) + " " + self.make + " "+ self.model return long_name.t...
[ "576589099@qq.com" ]
576589099@qq.com
411440d37c8077bf6abc259cf3ea6e44e925bf8d
af58fa633206f571d4b370919e27de8d4b9862ed
/tasks/forms.py
1b6d8ead9fdf09748187e018e42dbc3040332b75
[]
no_license
gmdmgithub/django-todo-list
7d36b9603fcdd30959ad48e8f2e97070918c68b7
7efaee21bbbdaaff1db46e255b63267ac6a8ab31
refs/heads/master
2021-09-25T10:39:10.202237
2019-12-17T14:59:45
2019-12-17T14:59:45
227,467,068
0
0
null
2021-09-22T18:18:36
2019-12-11T21:50:47
Python
UTF-8
Python
false
false
271
py
from django import forms from django.forms import ModelForm from .models import * class TaskForm(forms.ModelForm): title = forms.CharField(widget=forms.TextInput(attrs={'placeholder':'Add new task'})) class Meta: model = Task fields = '__all__'
[ "gmika@interia.pl" ]
gmika@interia.pl
5cc0e88482c0fe46e9e874a61a59235ebed66e6a
f100c2da80a6917b5387f159be10ffac3d03fdda
/comet/web.py
89d38e8610bfe4d554434ee57a1fed67fa3d90cb
[ "MIT" ]
permissive
willingc/comet_cms
82621ddcceab47b3c57db3267ced9afd6bf511ee
57fa7bee4091d21c5c81c695dfe69126e181011b
refs/heads/master
2021-01-23T02:09:50.065254
2015-01-13T19:13:54
2015-01-13T19:13:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,726
py
# -*- coding: utf-8 -*- # Comet CMS v0.6.0 # Copyright © 2014-2015 Chris Warrick, Roberto Alsina, Henry Hirsch et al. # 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 without restriction, ...
[ "kwpolska@gmail.com" ]
kwpolska@gmail.com
e4441350874f79918bd8c01eb254b00f5cf56043
6f044a0541ddf467bb6251645c3d8107df5f5756
/status/migrations/0013_status_trait.py
ea4451fca16a2341d7584014d6176fc495d94aef
[]
no_license
tpvt99/new-social-network-backend
04ae9f0551c09eceb5fd6b4bcf50430243e53199
a18d6279a27ba0ce3af1f5d6e985b4b147a4233a
refs/heads/master
2021-09-04T01:50:43.430961
2018-01-14T08:59:41
2018-01-14T08:59:41
117,415,992
1
0
null
null
null
null
UTF-8
Python
false
false
575
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-03-17 15:50 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('trait', '0001_initial'), ('status', '0012_status_co...
[ "tranphong96.hbk@gmail.com" ]
tranphong96.hbk@gmail.com
c8f80a4707a3c941c2a3e4b4f7a6eaf9d71e88a6
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2802/60716/236663.py
2f8ffb9bdd560ab5b4a981852be9ace2494fb1bb
[]
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
539
py
num, m= map(int,input().split()) str = input().split(' ') lists = [int(i) for i in str] listleave = [] listmember = [] for i in range(num): listmember.append(i+1) while len(listmember)>1: if lists[0]<=m: lists.pop(0) index=listmember.pop(0) # print("{}leave".format(index)) listle...
[ "1069583789@qq.com" ]
1069583789@qq.com
f1cc691a72877a2403999b9e4aba96d5532e8c66
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/ggH_SF/Full2017_HTXS_Stage1p2/doWorkspace.py
b5ddf13b53b9fb6c4a0399c79f7b36db17317f4e
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
3,744
py
import os if os.path.exists('HTXS_stage1_categories.py') : handle = open('HTXS_stage1_categories.py','r') exec(handle) handle.close() sampleNames = [] for cat in HTXSStage1_1Categories: if 'GG2H_' in cat: sampleNames.append(cat.replace('GG2H','ggH_hww')) sampleNames.append(cat.replace('GG2H','ggH_htt...
[ "davide.di.croce@cern.ch" ]
davide.di.croce@cern.ch
59fc2dab41b7a88b66446f7c5cb7bb6b83d6bf1e
8be2df0c4508cc5254887b8cccb044032aea5c21
/client-server-app/Lesson-1.1/6.py
c6eb9fed6056ecaed76ad071ea80c382788c222c
[]
no_license
ezhk/python-learning
2d3dad2190ac9ce9299534f0f303e8b76a8eeab2
424ec9ca08541273f9ec39ff25f75a3b78d9dcb7
refs/heads/master
2023-01-05T16:50:08.829169
2020-06-02T18:03:05
2020-06-02T18:03:05
165,482,083
0
1
null
2023-01-04T04:59:43
2019-01-13T08:21:44
Python
UTF-8
Python
false
false
2,430
py
""" 6. Создать текстовый файл test_file.txt, заполнить его тремя строками: «сетевое программирование», «сокет», «декоратор». Проверить кодировку файла по умолчанию. Принудительно открыть файл в формате Unicode и вывести его содержимое. """ import sys if __name__ == "__main__": print(f"Кодировка по умолчанию: {sys...
[ "ezhik@ezhik.info" ]
ezhik@ezhik.info
d67257825d79af4c7baa3475c3e4107a9f2ed5aa
c90ddd0930894c565197b739cd76140a7151fffd
/HLTrigger/Configuration/python/HLT_75e33/modules/hgcalLayerClustersL1Seeded_cfi.py
9241d25990ffcca418d68a5a3de950c3318ae788
[ "Apache-2.0" ]
permissive
p2l1pfp/cmssw
9cc6b111ff1935e49f86ec3da9f9b84fb13bbcdf
9f0a3a22fe451c25114134c30ac1f5c1261f3183
refs/heads/L1PF_12_5_X
2023-08-17T00:38:15.374760
2023-06-13T12:55:57
2023-06-13T12:55:57
127,881,751
6
1
Apache-2.0
2023-09-05T13:54:59
2018-04-03T09:10:17
C++
UTF-8
Python
false
false
2,371
py
import FWCore.ParameterSet.Config as cms hgcalLayerClustersL1Seeded = cms.EDProducer("HGCalLayerClusterProducer", HFNoseInput = cms.InputTag("HGCalRecHitL1Seeded","HGCHFNoseRecHits"), HGCBHInput = cms.InputTag("hltRechitInRegionsHGCAL","HGCHEBRecHits"), HGCEEInput = cms.InputTag("hltRechitInRegionsHGCAL","...
[ "Thiago.Tomei@cern.ch" ]
Thiago.Tomei@cern.ch
ac9ffa32b221d3043b543720b6687f73cd5687d6
a4ea525e226d6c401fdb87a6e9adfdc5d07e6020
/src/azure-cli/azure/cli/command_modules/identity/_client_factory.py
a549775369dd20d49176d25d093fa1fa098baa88
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
Azure/azure-cli
13340eeca2e288e66e84d393fa1c8a93d46c8686
a40fd14ad0b6e89720a2e58d4d9be3a6ce1535ca
refs/heads/dev
2023-08-17T06:25:37.431463
2023-08-17T06:00:10
2023-08-17T06:00:10
51,040,886
4,018
3,310
MIT
2023-09-14T11:11:05
2016-02-04T00:21:51
Python
UTF-8
Python
false
false
1,358
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
57dc62eee3bf81147f0cfca5c36ab79e0ce06cdc
3419067388879d8a6542df01cb0278ae90b021a2
/第二天/打印小星星.py
81ec4b46cec48359ad0bfb9b62719c82138474cf
[]
no_license
oweson/python-river-master
faa31c5248e297a92054cc302e213e2b37fb8bd5
cf9e99e611311b712465eb11dec4bb8f712929b2
refs/heads/master
2021-06-21T15:47:01.755957
2019-10-02T00:08:05
2019-10-02T00:08:05
205,607,518
0
0
null
2021-06-10T21:55:20
2019-08-31T23:39:55
Python
UTF-8
Python
false
false
139
py
i = 1 while i < 5: j = 1 while j <= i: print("*", end='') j += 1 print("\n") i += 1 # 缩进是py的灵魂
[ "570347720@qq.com" ]
570347720@qq.com
133de246b8be2db23b20ce7998e607233edca841
5db0fab37c2b8a618d85d3b60fab9f806c416474
/src/python/pants/backend/python/typecheck/pyright/rules.py
7327ae6cc5210a562adc17041eefbf469241ab4d
[ "Apache-2.0" ]
permissive
pantsbuild/pants
4988d1ac5474ec95f94ce2218aeb759401e4b011
98cbda8545f0d58c586ed2daa76fefd729d5e0d5
refs/heads/main
2023-09-05T03:44:17.646899
2023-09-01T19:52:09
2023-09-01T19:52:09
7,209,075
2,708
593
Apache-2.0
2023-09-14T19:33:33
2012-12-17T17:39:04
Python
UTF-8
Python
false
false
10,909
py
# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations import json import logging import os from dataclasses import dataclass, replace from typing import Iterable import toml from pants.backend.javascript....
[ "noreply@github.com" ]
pantsbuild.noreply@github.com
553950841b24466894b68cdbbc0d5e9dc4ec1aae
3fd3da4f11a251cc43d44d1d61ff2ffe5c82a4ce
/dlp/apps/rgl/steamdb.py
b31dc8ea7f75f8bf1a65dc92ab592ece91bd8d8b
[]
no_license
dumpinfo/TsBook
d95faded917bce3e024e77ff06afd30717ed9ef4
8fadfcd2ebf935cd49784fd27d66b2fd9f307fbd
refs/heads/master
2023-05-27T07:56:24.149421
2019-07-31T20:51:52
2019-07-31T20:51:52
198,481,031
1
3
null
2023-05-22T21:13:31
2019-07-23T17:47:19
Jupyter Notebook
UTF-8
Python
false
false
5,021
py
import sys from bs4 import BeautifulSoup import requests #from apps.rgl.spider_html_render import SpiderHtmlRender import execjs import json import demjson import csv import urllib from apps.rgl.seph_spider import SephSpider as SephSpider from apps.rgl.website_stats import WebsiteStats as WebsiteStats class SteamDb(ob...
[ "twtravel@126.com" ]
twtravel@126.com
7811ab8d810fd59b8683dda47ad714400b18daaa
bccd16717d20d673cb514d6ac68e624c2c4dae88
/sdk/python/pulumi_gcp/cloudfunctions/_inputs.py
77344c6db5bc5aaf6ca0546f852fc87d824be49d
[ "MPL-2.0", "Apache-2.0", "BSD-3-Clause" ]
permissive
dimpu47/pulumi-gcp
e78d228f7c2c929ad3e191331b75c6e4c4cc4fa9
38355de300a5768e11c49d344a8165ba0735deed
refs/heads/master
2023-07-07T13:00:15.682157
2020-09-23T18:43:11
2020-09-23T18:43:11
173,437,663
0
0
Apache-2.0
2023-07-07T01:05:58
2019-03-02T11:06:19
Go
UTF-8
Python
false
false
7,454
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from .. import ...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
467973f25cde54a20eea6250b4ec716fc7f4a522
04a0614b8c2a893dab29bc4ffb0aaf82364fdf3f
/42. Trapping Rain Water.py
00d019457232df006bdb59cfc6b8f0459546a22d
[]
no_license
sharmaji27/Leetcode-Problems
716bcb4a36b9e4f45274c4d551967e15c40ddbd2
0f878933b17df170c18f0b67b7200cec76c276e0
refs/heads/master
2021-10-20T17:35:35.175757
2021-10-20T05:33:17
2021-10-20T05:33:17
218,299,755
1
1
null
null
null
null
UTF-8
Python
false
false
1,117
py
''' Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. The above elevation map is represented by array [0,1,0,2,1,0,1,3,2,1,2,1]. In this case, 6 units of rain water (blue section) are being trapped. Thanks Marcos ...
[ "asharma70420@gmail.com" ]
asharma70420@gmail.com
efdd85d4d482334ba23f5f3c2e5d3501179c0094
94dadd22f1b6fde137ea9cfa75425f59aec5f692
/oneflow_onnx/oneflow2onnx/handlers/array.py
5d92e9d1e74e1e45205e4420a84467dd61976335
[]
no_license
mosout/oneflow_convert_tools
a303c848ce4c3f11fa2113551be8e03e22cf7cba
cca7b8cc21d1b3302db6fcc1c2bc69c2a3ebaa7d
refs/heads/main
2023-06-17T14:46:28.749628
2021-06-23T07:01:09
2021-06-23T07:01:09
355,038,007
0
0
null
2021-04-06T02:55:50
2021-04-06T02:55:49
null
UTF-8
Python
false
false
8,683
py
""" Copyright 2020 The OneFlow 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 applicable law or agr...
[ "1182563586@qq.com" ]
1182563586@qq.com
8ab80b9fc52d4d7883b88017e5bb0d4f504d8282
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2571/60717/272964.py
9cb0579f0d6afe9dc168e613a2f93dd1d097fcac
[]
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
425
py
n=int(input()) list1=[] for i in range(0,n): tmp=input().split(',') for j in range(0,len(tmp)): tmp[j]=int(tmp[j]) list1.append(tmp) if list1[0]==[1,0,1] and list1[1]==[0,-2,3]: print(2) elif list1[1]==[5,-2,1] and list1[0]==[1,0,1] and n==2: print(3) elif list1==[[1, 6, 1, 2], [1, -2, 1, 4]...
[ "1069583789@qq.com" ]
1069583789@qq.com
ebafa49543d5fc0536696ddff73352f97b987a14
5201e237c0d58cdfdbc2fdf8103f9141161eb9f8
/itkBinaryDilateImageFilterPython.pyi
b432362025a5e2949f7fd0231b75c16ab98f693c
[]
no_license
hjmjohnson/itk-stubs
704f5b92a755e55b81d02fcad62a366143e125f3
771951d007ae425b758e088eae6f9e4ca0e4afb1
refs/heads/main
2023-01-22T05:50:33.649088
2020-12-04T01:31:09
2020-12-04T01:35:06
318,368,028
0
0
null
null
null
null
UTF-8
Python
false
false
9,137
pyi
import itk.itkImageToImageFilterCommonPython from itk.support import itkHelpers as itkHelpers from typing import Any class _SwigNonDynamicMeta(type): __setattr__: Any = ... def itkBinaryDilateImageFilterIF2IF2SE2_Superclass_New(): ... class itkBinaryDilateImageFilterIF2IF2SE2_Superclass(itk.itkFlatStructuringEle...
[ "hans-johnson@uiowa.edu" ]
hans-johnson@uiowa.edu
1c591199a0a777303ba3a24f71efd4fc31c8c3a9
d659810b24ebc6ae29a4d7fbb3b82294c860633a
/aliyun-python-sdk-quickbi-public/aliyunsdkquickbi_public/request/v20200731/ListByUserGroupIdRequest.py
9bdc80fc58feab1d2811017ca8d7ac64cc68fb89
[ "Apache-2.0" ]
permissive
leafcoder/aliyun-openapi-python-sdk
3dd874e620715173b6ccf7c34646d5cb8268da45
26b441ab37a5cda804de475fd5284bab699443f1
refs/heads/master
2023-07-31T23:22:35.642837
2021-09-17T07:49:51
2021-09-17T07:49:51
407,727,896
0
0
NOASSERTION
2021-09-18T01:56:10
2021-09-18T01:56:09
null
UTF-8
Python
false
false
1,482
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 u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
384d28ecb7a76eaf2d60baf426d25e1e67ef752b
209dd8cbb28a40fa8ab7004368fcadd071c88699
/Learning & Documentation/dlib(3)/digital_makeup_on_webcam.py
215e7cd5464ff6f35963308f58bb7791f2acd7a5
[]
no_license
mahmud83/Object-and-facial-detection-in-python
095fc6ee47f7378c4586557b8a07b7a9cd537a62
2389e9d7b3b8331ffc5dd5d2591eacc7e72a5675
refs/heads/master
2020-04-07T00:36:40.435537
2018-10-02T22:58:00
2018-10-02T22:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,995
py
from PIL import Image, ImageDraw import face_recognition import cv2 #image = face_recognition.load_image_file("biden.jpg") # Load the jpg file into a numpy array video_capture = cv2.VideoCapture(0) # Find all facial features in all the faces in the image #face_landmarks_list = face_recognition.face_landmarks(image)...
[ "danwe980@student.liu.se" ]
danwe980@student.liu.se
550f570ff18ea5eefd99c431579ddfb994de89ed
98f1a0bfa5b20a0b81e9e555d76e706c62d949c9
/examples/pytorch/hilander/utils/knn.py
6604c7924ac2d49bf79ab8b4d730d5fda243ec83
[ "Apache-2.0" ]
permissive
dmlc/dgl
3a8fbca3a7f0e9adf6e69679ad62948df48dfc42
bbc8ff6261f2e0d2b5982e992b6fbe545e2a4aa1
refs/heads/master
2023-08-31T16:33:21.139163
2023-08-31T07:49:22
2023-08-31T07:49:22
130,375,797
12,631
3,482
Apache-2.0
2023-09-14T15:48:24
2018-04-20T14:49:09
Python
UTF-8
Python
false
false
5,635
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This file re-uses implementation from https://github.com/yl-1993/learn-to-cluster """ import math import multiprocessing as mp import os import numpy as np from tqdm import tqdm from utils import Timer from .faiss_search import faiss_search_knn __all__ = [ "knn_...
[ "noreply@github.com" ]
dmlc.noreply@github.com
d54c7619e4623b4018c50dcf1798d3b14d35cc0f
11d7d8b6ce2315d1f2fbbe630290d3fe97bd56c0
/napalm/_modules/napalm_network.py
d2fd93c749ee8d9a1b4e58a68346e30753fd66b4
[ "Apache-2.0" ]
permissive
mirceaulinic/napalm-salt
a356681359a189ab2c2ea8bdbcd9f53eed137122
1c6e3d21b6467040654c10474084b4f0a3d3fdcc
refs/heads/master
2021-01-17T06:48:12.066800
2016-12-13T21:36:03
2016-12-13T21:36:03
56,152,447
1
0
null
null
null
null
UTF-8
Python
false
false
30,731
py
# -*- coding: utf-8 -*- ''' NAPALM Network =============== Basic methods for interaction with the network device through the virtual proxy 'napalm'. :codeauthor: Mircea Ulinic <mircea@cloudflare.com> & Jerome Fleury <jf@cloudflare.com> :maturity: new :depends: napalm :platform: unix Dependencies ------------ ...
[ "mirucha@cloudflare.com" ]
mirucha@cloudflare.com
124a7182b91e616581f3e88a5546efe4a0e34d1f
9ca91c03b770e0bad09e6fbb2d7e8cbef8482263
/articles/filmav/grabed_articles/60660.py
360505aeb349dc93ca69d5b6389365815bcc191f
[]
no_license
renever/wp_sys
7408b5c7edb47cb376bb786d630481fd825815ed
23469f2a03759293abf2ed38482c1f152f5798d4
refs/heads/develop
2020-05-20T06:00:44.550968
2015-02-10T16:04:30
2015-02-10T16:04:30
31,001,855
1
2
null
2015-02-19T04:55:43
2015-02-19T04:55:42
Python
UTF-8
Python
false
false
1,287
py
{"screenshosts": ["http://img107.imagetwist.com/i/07692/6tm121fwtidd.jpeg", "http://img107.imagetwist.com/i/07692/cy9cxjj2e6yw.jpeg", "http://img107.imagetwist.com/i/07692/pdl4lvh8g5bh.jpeg", "http://img107.imagetwist.com/i/07692/s9sbclxq9dfk.jpeg"], "uploaded_net": ["http://ul.to/0vo9q3si/aqb001_00.wmv"], "description...
[ "wodewangzuan@gmail.com" ]
wodewangzuan@gmail.com
e45db364ac41947ca34d39b12f7a98502a23dba1
795df757ef84073c3adaf552d5f4b79fcb111bad
/matrix_exp/eulerian.py
742adbda260290862065b49d4a75213ffe9d07ed
[]
no_license
tnakaicode/jburkardt-python
02cb2f9ba817abf158fc93203eb17bf1cb3a5008
1a63f7664e47d6b81c07f2261b44f472adc4274d
refs/heads/master
2022-05-21T04:41:37.611658
2022-04-09T03:31:00
2022-04-09T03:31:00
243,854,197
3
0
null
null
null
null
UTF-8
Python
false
false
4,795
py
#! /usr/bin/env python # def eulerian ( m, n ): #*****************************************************************************80 # ## EULERIAN returns the EULERIAN matrix. # # Definition: # # A run in a permutation is a sequence of consecutive ascending values. # # E(I,J) is the number of permutations of I obje...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
c91974ea7c56b546ae5ff953dd6c549cda27a0ad
0b0a947c10038152fc56efbdde13eef3330adb34
/hackerrank-problem-solving-solutions/78. Collections.OrderedDict().py
a197f537b5a740b0a1e16d28c1ba491bb31ec056
[]
no_license
swapnanildutta/Python-programs
9c382eb8c823571e4f098fff263d126665fbc575
d47e2e3c4d648e0cc0ae1b89b83ce4f99db89f63
refs/heads/master
2021-11-18T22:16:57.276910
2021-09-04T13:07:36
2021-09-04T13:07:36
197,773,723
1
26
null
2023-04-09T10:51:57
2019-07-19T13:02:26
Python
UTF-8
Python
false
false
267
py
# Author Aman Shekhar from collections import OrderedDict order = OrderedDict() for _ in range(int(input())): item, space, price = input().rpartition(' ') order[item] = order.get(item, 0) + int(price) for item, price in order.items(): print(item, price)
[ "Aman Shekhar" ]
Aman Shekhar
e47e686c2ad671ccdeaeab3e94483f08c8c05fe4
d01670aa5bddb47dc414bf01921155610e2a5070
/leetcode/078_subsets.py
29242d2656b26a754e499a4cf12e7223cae83858
[]
no_license
hwillmott/csfundamentals
14c7e4253b581cef7046ca035bda038c24a52613
832f6a8c0deb0569d3fe0dc03e4564c2d850f067
refs/heads/master
2020-08-01T12:27:01.914391
2020-03-26T16:47:35
2020-03-26T16:47:35
73,576,522
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
class Solution(object): def subsets(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ def backtrack(result, nums, currlist, start): result.append(currlist) for i in range(start, len(nums)): backtrack(result, nums, currl...
[ "harriet.willmott@gmail.com" ]
harriet.willmott@gmail.com
954a8f88b3afcf28502295761fd76f03df543823
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/negativeword/model/campaign_region_area.py
b6bed9de96554e7169a12df5524b00461d01b968
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
11,938
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "tokimekiyxp@foxmail.com" ]
tokimekiyxp@foxmail.com
178d77aad9895f4b66d292a42179376af5f5e34e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03014/s558979367.py
10160eef25c45fbff7a7bc0be7daaaa18cc7f9db
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
import sys import itertools # import numpy as np import time import math sys.setrecursionlimit(10 ** 7) from collections import defaultdict read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines H, W = map(int, readline().split()) tile = [0 for i in range(H)] cnt =...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ef8e2e1a1e6de3d5d79a4c27b95d6b2422c0d021
80301f1cffc5afce13256e2ecab6323c5df00194
/en.fc/py/R3103.py
7e5430302766e39d9bf4ac37b92e3ff8da35e8d2
[]
no_license
ZhenjianYang/SoraVoiceScripts
c1ddf7c1bbcb933243754f9669bd6b75777c87b9
94a948090aba0f63b10b2c69dc845dc99c822fc4
refs/heads/master
2023-04-18T04:54:44.306652
2023-04-06T11:15:17
2023-04-06T11:15:17
103,167,541
43
11
null
2021-03-06T08:52:54
2017-09-11T17:36:55
Python
UTF-8
Python
false
false
33,744
py
from ED6ScenarioHelper import * def main(): SetCodePage("ms932") # 蔡斯 CreateScenaFile( FileName = 'R3103 ._SN', MapName = 'Zeiss', Location = 'R3103.x', MapIndex = 1, MapDefaultBGM = "ed60020", Flags ...
[ "zj.yang@qq.com" ]
zj.yang@qq.com
9923cd5ddfe1039cfdbe9ee05bffe6cd6681e49c
9a42085c664730fb45267365d38df5de18ee2137
/module_path/__init__.py
ad016d13417ade909f89a78d2bfc1ddedc0457a6
[ "MIT" ]
permissive
justengel/module_path
09e8a073b3013c5ea38f06791786042f1db106d0
2f2feedaa03f07f9a86e04cb96e6a7edc7fd30d6
refs/heads/master
2023-07-03T11:07:50.468178
2021-07-23T16:05:42
2021-07-23T16:05:42
322,051,354
1
0
null
null
null
null
UTF-8
Python
false
false
5,917
py
""" Get a modules path. Notes: * sys._MEIPASS - Created by pyinstaller executable. This is the directory of the executable * If regular python run this does not exist * If pyinstaller created a directory this is the directory that contains the executable * If pyinstaller onefile this is "C:\\User...
[ "jtengel08@gmail.com" ]
jtengel08@gmail.com
a60e9fb88399b262c87a1ba767671f6af8aeb26d
bbb36e65c62fa824807b2f85a20e491140338f72
/src/infrastructure/django_framework/camera_ctrl/migrations/0005_remove_generalsettings_send_email_on_sync_error.py
fa4554a74f7655481cfa3177d854018ebf3c3124
[]
no_license
TermanEmil/CameraController
0d4338a3365431efb0b28dfb409b6a72c0d256c6
c996868be9cfb6e6e44ae90d77346e7f700d177c
refs/heads/master
2023-02-18T07:59:21.876482
2022-12-29T14:37:01
2022-12-29T14:37:01
195,222,744
3
0
null
2023-02-15T20:21:28
2019-07-04T10:41:15
Python
UTF-8
Python
false
false
356
py
# Generated by Django 2.2.4 on 2019-10-06 21:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('camera_ctrl', '0004_generalsettings'), ] operations = [ migrations.RemoveField( model_name='generalsettings', name='send_ema...
[ "terman.emil@gmail.com" ]
terman.emil@gmail.com
8c5a0f3c69fe151453f691e54a452340bee2cdda
9d57216d173cc2c5ba5fba6d5845c01c82dccf8f
/pytransform3d/transformations/__init__.py
0f7ca5acef3d20b65ae6f350840b19555aa39f46
[ "BSD-3-Clause" ]
permissive
mhirak/pytransform3d
e34b02a435cf352f1da111f0c7d5e7ab58e9092e
8f3065bfea913953656cf772efbd34256930172b
refs/heads/master
2023-08-31T21:20:43.586968
2021-09-13T08:02:07
2021-09-13T08:02:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,515
py
"""Transformations in three dimensions - SE(3). See :doc:`transformations` for more information. """ from ._utils import ( check_transform, check_pq, check_screw_parameters, check_screw_axis, check_exponential_coordinates, check_screw_matrix, check_transform_log, check_dual_quaternion) from ._conversions i...
[ "afabisch@googlemail.com" ]
afabisch@googlemail.com
c0f6e796c04e5b68ea5f4626c0ecd09334120e57
37c243e2f0aab70cbf38013d1d91bfc3a83f7972
/pp7TeV/HeavyIonsAnalysis/JetAnalysis/python/jets/ak7PFJetSequence_pp_mix_cff.py
d5943280b61cf90b5da4cc7c4967ef1fb51e3072
[]
no_license
maoyx/CMSWork
82f37256833cbe4c60cb8df0b4eb68ceb12b65e7
501456f3f3e0f11e2f628b40e4d91e29668766d5
refs/heads/master
2021-01-01T18:47:55.157534
2015-03-12T03:47:15
2015-03-12T03:47:15
10,951,799
0
0
null
null
null
null
UTF-8
Python
false
false
4,380
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.patHeavyIonSequences_cff import * from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * ak7PFmatch = patJetGenJetMatch.clone( src = cms.InputTag("ak7PFJets"), matched = cms.InputTag("ak7HiGenJets") ) ak7PFparton = patJetP...
[ "yaxian.mao@cern.ch" ]
yaxian.mao@cern.ch
7e59014221dd7e327050963256603c05eaca9fd4
e254c72d3fd11306c8625c5d8ad8ac394eabc6c6
/04.beautifulSoup/BeautifulSoup02/main6.py
e54aadb69a107353f55b1bc1fb95d2b8f5a1ec93
[]
no_license
Edward83528/crawlerToMachinLearningAndBot
87c7ea92779b949ad5015612a4e70275becab480
82818137b517f4c5a856535f83a8cb8b211da8aa
refs/heads/master
2022-11-06T19:41:20.473933
2020-07-04T14:01:07
2020-07-04T14:01:07
268,072,162
1
0
null
null
null
null
UTF-8
Python
false
false
3,643
py
#coding:utf-8 #65001 import urllib.request import json import codecs import sys import argparse as ap import time import datetime import requests from bs4 import BeautifulSoup as bs from urllib.parse import quote #python main.py 八仙塵爆 2015-06-27 2015-08-24 1 #def argParse(): # parser=ap.ArgumentParser(description='L...
[ "u0151051@gmail.com" ]
u0151051@gmail.com
c48910b35aeb43f63ba5477826a13f4dfe3b0a88
27276ec746f3dcf6ca815961377b98e529338951
/projects/demo/numpy_demo.py
79178b40903096210dd91728e29695af46f0c963
[]
no_license
fengyouliang/mmdetection_projects
a084281a6fcf223ac1950a5c1081226153b394b2
3d877624ab9b1f438c6a5c63402626cd3138b5bb
refs/heads/master
2022-12-26T10:11:45.522474
2020-10-10T09:59:13
2020-10-10T09:59:13
281,071,083
2
0
null
null
null
null
UTF-8
Python
false
false
1,968
py
import numpy as np class Box: def __init__(self, rectangle): ''' rectangle class. :param rectangle: a list of [xmin, xmax, ymin, ymax] ''' self.rec = np.array(rectangle).astype(np.int) @property def shape(self): ''' get shape of Box. :return...
[ "1654388696@qq.com" ]
1654388696@qq.com