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
afe3e972640f342df29ec41f8483b6b5ac8b87da
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/UpdateAScriptsRequest.py
0483ef14f68504f3e2d37de9657b8163fe62ec2d
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
3,065
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
22e9a901d92d103f5fa559120bb1832bbb4c64bb
39d8ccea8f164bb25240b7b2ec82d7027bab2e52
/venv/bin/markdown_py
87d786275b88bdb478b0ff94eb7bfb860b6eaf86
[]
no_license
yasin007/YYShop
63b4cf6b5c285f78b63dd49c0946f9928dc43fea
f2159ab8da11b54e5c224ae2f9b79cee81a67d86
refs/heads/master
2020-04-04T00:22:31.373194
2018-11-01T02:02:16
2018-11-01T02:02:16
155,647,960
0
0
null
null
null
null
UTF-8
Python
false
false
246
#!/Users/yiyang/Desktop/YYShop/venv/bin/python # -*- coding: utf-8 -*- import re import sys from markdown.__main__ import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "yangyi@gogopay.cn" ]
yangyi@gogopay.cn
1970f69d158e97061c73bbe3e05ddb5331a5e538
3f62939fc249b544302dc0b57923c9b7f35fcd30
/blog_agro/venv/bin/django-admin.py
dfa7a06f79ee8aba20f9614452a00f56b7c977c6
[]
no_license
marri88/rest-framework-base
5c3ba789bfa6089a09dc4564ad83aeb92bc140c3
197de7e4e791329b6286436afabf7f6e1bb80297
refs/heads/master
2023-06-27T18:42:56.659416
2021-07-30T15:06:12
2021-07-30T15:06:12
391,104,171
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
#!/home/aimira/Pycharm/blog_agro/venv/bin/python # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.py was deprecated...
[ "aymira.narzhigitova@gmail.com" ]
aymira.narzhigitova@gmail.com
022010ca59bb2656af4a763f8213b6c1192ebf1b
4a0cff7421d20c0826c38f40a7d30a298cdaf23b
/app/users/admin.py
86ce6ae20b4f28dc77a2a1401e6c91bf50124ad4
[ "MIT" ]
permissive
contestcrew/2019SeoulContest-Backend
0699dea624386f05526e8b5f3c295839f58f3d05
2e99cc6ec6a712911da3b79412ae84a9d35453e1
refs/heads/master
2021-09-09T10:48:01.214064
2019-09-30T06:39:58
2019-09-30T06:39:58
205,388,431
0
3
MIT
2021-06-10T19:07:57
2019-08-30T13:31:53
Python
UTF-8
Python
false
false
271
py
from django.contrib import admin from .models import User class UserAdmin(admin.ModelAdmin): list_display = ["id", "username", "is_staff", "date_joined"] search_fields = ["username"] ordering = ["-id", "date_joined"] admin.site.register(User, UserAdmin)
[ "dreamong91@gmail.com" ]
dreamong91@gmail.com
aa65658df4f8fc95e1ef9915be1117aaa44c049c
b76384bdcf39605ace17ee51c7902743cb315a00
/opt/random_optimiser.py
b714186e31d9b24ce2b148f18caa5544bbd1cec0
[ "MIT" ]
permissive
RemiLehe/dragonfly
c13c54ad106edb4de8f46c8adc44052f926d3685
950bee976b8dc5157e84236ce6fd3d4ec5612521
refs/heads/master
2022-08-15T05:04:57.176391
2018-09-08T01:05:33
2018-09-08T01:05:33
148,205,116
1
0
MIT
2018-09-10T19:04:34
2018-09-10T19:04:33
null
UTF-8
Python
false
false
7,013
py
""" Implements some instances of a random optimiser. -- kandasamy@cs.cmu.edu """ # pylint: disable=invalid-name from argparse import Namespace import numpy as np # Local imports import exd.domains as domains from exd.exd_utils import get_euclidean_initial_qinfos from exd.exd_core import mf_exd_args from opt.black...
[ "kandasamy@cs.cmu.edu" ]
kandasamy@cs.cmu.edu
ae395a7c4ec0756abf0ced1656e481bec76d45f8
fd3c7bf3d070ac6da0df9c6aeb6d8f9d45a3112f
/tests/esrijson_tests.py
809ee3500b1a0658cf6222cf7f594cc27189d5ae
[ "MIT" ]
permissive
loveland/pyesridump
3c4c020c18716b9b250faa98039fef4d3e745edc
089767147b451e47a7285ca082ec4f02081c632d
refs/heads/master
2020-03-26T09:04:48.403060
2018-12-12T21:49:12
2018-12-12T21:49:12
144,734,493
1
0
MIT
2018-12-12T21:49:14
2018-08-14T14:52:18
Python
UTF-8
Python
false
false
16,909
py
import unittest from esridump import esri2geojson class TestEsriJsonToGeoJson(unittest.TestCase): def setUp(self): self.maxDiff = None def assertEsriJsonBecomesGeoJson(self, esrijson, geojson): out_json = esri2geojson(esrijson) self.assertDictEqual(out_json, geojson) class TestGeoJs...
[ "ian.dees@gmail.com" ]
ian.dees@gmail.com
659da2ed1830691916e79d88dcff073d2175e3ab
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/HundredRun/KUV_00486-2016/sdB_KUV_00486-2016_lc.py
b02b47a0574e563b9801476c5c5d0b466ad7622c
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[191.49438,-19.999389], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_KUV_00486-2016 /sdB_KUV_00486-2016_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if ...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
bf9a250bb60d5bd8acf6f007ac45e93468b1b0e2
2e8d5422aba03edc10154225db2fc39af5e98660
/Code/NativePython/GPUCommandList.py
2ba28c79817a35025ab9d8e97f51defbb8806e0e
[ "MIT" ]
permissive
MYheavyGo/RenderPipeline
f500611bef020f45ac63023df206f978be887fc5
70002e71c25ba93f05c73d041943d07eb639641c
refs/heads/master
2021-01-15T14:49:58.756014
2016-01-18T15:59:14
2016-01-18T15:59:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,638
py
""" RenderPipeline Copyright (c) 2014-2015 tobspr <tobias.springer1@gmail.com> 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, including without limitation the rights to use...
[ "tobias.springer1@googlemail.com" ]
tobias.springer1@googlemail.com
548d1a106183486e625e18b56894ddc4126ea39c
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium_org/ui/keyboard/keyboard.gyp
4ea3b09808b9285366865be616e0eb9ecf06483b
[ "MIT", "BSD-3-Clause" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
Python
false
false
3,341
gyp
# Copyright (c) 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'targets': [ { 'target_name': 'keyboard_resources', 'type': 'none', 'variables': ...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
a9d82f50c1dec7b4eb3ff66f299c04a27101aa6f
6300fcf67d4fcb5387a9f0f7370a8ffe8f4097d9
/AutoParts/Tests/base/mixins.py
35bd3b4584f9a55e5747260ca009f68451a98241
[]
no_license
Borislav-source/Final-Project
e34ac1cbb71e3a32ed490361d3583c2e1e8bfbc9
501b258d103c2e1b8947451f4bdf750709d040fd
refs/heads/master
2023-07-17T15:03:19.390774
2021-09-01T14:06:09
2021-09-01T14:06:09
393,977,540
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
from django.utils.timezone import now from AutoParts.accounts.models import Profile from AutoParts.vehicle.models import EngineModel, Manufacturer, VehicleModels, Vehicle class ProfileWithCarMixin: engine = EngineModel.objects.create(engine='1.8t') vehicle_manufacturer = Manufacturer.objects.create(name='Merc...
[ "tsv.borislav@gmail.com" ]
tsv.borislav@gmail.com
c84e38b4c188ec5aeffcefc56fcd15de3ff96624
9b1e925d953e29d18451b0bcc0cf2da853d8a29f
/testing/test_wmic.py
71ef426d6ace68ee24105facbcf4c9bbffc30496
[]
no_license
safl/levis
a61eeb72e620a924ed185d03988ad5ce5c39654b
e6f007f7f74e92c82da16c5645b3f41eb16c77cb
refs/heads/master
2016-09-06T16:47:43.456935
2011-03-07T20:22:19
2011-03-07T20:22:19
1,360,470
0
0
null
null
null
null
UTF-8
Python
false
false
2,256
py
#!/usr/bin/env python import unittest, os import rpc class TestKeyParsing(unittest.TestCase): def setUp(self): self.wmi_target = { "host": "192.168.1.101", "domain": "", "user": "safl", "pass": "bufasbufas" } self.queries = { ...
[ "safl@safl.dk" ]
safl@safl.dk
2ceb8b6e1ccafafc87279f7ec6943a194f4efdb5
40606a0f9bcbe851fcfa3b6bce0f090c267656fe
/models/subnets/__init__.py
21ebd52d4362421987fce59d36fdd4254dc45f88
[ "Apache-2.0" ]
permissive
ryanwongsa/open-images-2019-challenge
d15f0aa4042c5622f56e268539c5ba20321d3563
b49e0933451c4bf9b31a9a8faf1bd8ba3dee1cc5
refs/heads/master
2020-06-26T19:23:45.432268
2019-10-07T19:20:40
2019-10-07T19:20:40
199,730,058
2
0
null
null
null
null
UTF-8
Python
false
false
103
py
from .regression_subnet import RegressionSubnet from .classification_subnet import ClassificationSubnet
[ "ryancwongsa@gmail.com" ]
ryancwongsa@gmail.com
3bf22289b93db09ad9e3ef68a0b53fb48f6a960e
028d788c0fa48a8cb0cc6990a471e8cd46f6ec50
/Python-OOP/Exam/project/fish/base_fish.py
56973ffd676945dedddedc868c3419b8b1d3ed8c
[]
no_license
Sheko1/SoftUni
d6b8e79ae545116f4c0e5705ad842f12d77a9c9d
a9fbeec13a30231b6a97c2b22bb35257ac1481c0
refs/heads/main
2023-07-13T15:39:48.826925
2021-08-21T12:51:02
2021-08-21T12:51:02
317,266,200
2
3
null
null
null
null
UTF-8
Python
false
false
1,055
py
from abc import ABC, abstractmethod class BaseFish(ABC): size_to_increase = 5 def __init__(self, name: str, species: str, size: int, price: float): self.name = name self.species = species self.size = size self.price = price @property def name(self): return sel...
[ "martinkypar@gmail.com" ]
martinkypar@gmail.com
49c315b88481e4a6d78a623438fcbeda3f56a89d
e2e8d2462bcd97fe94b959e8d541f9856b136357
/ENV/lib/python3.5/site-packages/pyrogram/api/functions/messages/get_game_high_scores.py
dbe17ff41a0be895d46d862131acaeb138dd7eb8
[ "MIT" ]
permissive
wasweisic/CryptoPredicted
a8babd459ab1da634014830be77615356d0200f7
7f660cdc456fb8252b3125028f31fd6f5a3ceea5
refs/heads/master
2023-04-12T12:34:29.317983
2021-02-01T13:07:18
2021-02-01T13:07:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,368
py
# Pyrogram - Telegram MTProto API Client Library for Python # Copyright (C) 2017-2018 Dan Tès <https://github.com/delivrance> # # This file is part of Pyrogram. # # Pyrogram is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free S...
[ "justdoitzlol@gmail.com" ]
justdoitzlol@gmail.com
9fb483bd59a64a4079e937ff1466937a02383c7e
48894ae68f0234e263d325470178d67ab313c73e
/sa/profiles/Arista/EOS/get_inventory.py
b981153e1be44768007d5d21e68c85dc6a016ed1
[ "BSD-3-Clause" ]
permissive
DreamerDDL/noc
7f949f55bb2c02c15ac2cc46bc62d957aee43a86
2ab0ab7718bb7116da2c3953efd466757e11d9ce
refs/heads/master
2021-05-10T18:22:53.678588
2015-06-29T12:28:20
2015-06-29T12:28:20
118,628,133
0
0
null
2018-01-23T15:19:51
2018-01-23T15:19:51
null
UTF-8
Python
false
false
3,559
py
# -*- coding: utf-8 -*- ##---------------------------------------------------------------------- ## Arista.EOS.get_inventory ##---------------------------------------------------------------------- ## Copyright (C) 2007-2013 The NOC Project ## See LICENSE for details ##--------------------------------------------------...
[ "dv@nocproject.org" ]
dv@nocproject.org
46b93892928e8b45940441867657548a521a2644
364020e5cb0f057f4e63b8e0c43a03c565bb249d
/panda/examples/query_vin_and_stats.py
f3d6c198aff9f1485743a904d083deab4cee5fb4
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Gernby/openpilot
fb7c9e607be438334aaf48e338de7f07343a7873
d8da18ed546637a8d6a00d2b4c9dfafb90d2a4dd
refs/heads/devel
2020-04-05T02:04:56.217699
2019-07-01T21:15:34
2019-07-01T21:15:34
156,462,811
38
75
MIT
2020-04-25T21:01:31
2018-11-06T23:34:08
C++
UTF-8
Python
false
false
1,723
py
#!/usr/bin/env python import time import struct from panda import Panda from hexdump import hexdump from panda.python.isotp import isotp_send, isotp_recv # 0x7e0 = Toyota # 0x18DB33F1 for Honda? def get_current_data_for_pid(pid): # 01 xx = Show current data isotp_send(panda, "\x01"+chr(pid), 0x7e0) return isotp...
[ "user@comma.ai" ]
user@comma.ai
3b3efdfad9fac7e5373bbc3882ccc7ed1d90ec0f
afc87a0ecde9869df0802d6ad79d18d9722727d8
/oregon/home/templatetags/home_d3tags.py
c524d18698e81791c61541dc6872a722ddcb0dd8
[]
no_license
hobson/oregon
cc005e5fb158142cb0879db1bae73b040815cc3a
4cd3cc8696db25f531839dbda4c903357df27e58
refs/heads/master
2021-01-19T03:23:29.595855
2013-10-01T05:57:40
2013-10-01T05:57:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
from django.core.serializers import serialize from django.core.serializers.json import DjangoJSONEncoder from django.db.models.query import QuerySet from django.template import Library from django.utils import simplejson register = Library() #@register.filter(name='jsonify') def jsonify(object): if isinstance(obj...
[ "hobsonlane@gmail.com" ]
hobsonlane@gmail.com
6856c56c7c43315dc8a2657bc9746e449d89c043
56fdddd67821db9bb21dc2f851a1ae3b22256429
/s1level41.py
0c008ae52c1c1f555652671295617d095ad07e47
[ "Unlicense" ]
permissive
gemeraldsfilms/code-org-python
359276751a08d6a66ca5199dbdd1004c5d4eccd1
bd6e0871de3e23d3e94212caf94d57997b504134
refs/heads/master
2021-01-14T11:25:58.986699
2014-10-31T18:21:33
2014-10-31T18:21:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
import codestudio artist = codestudio.load('s1level41') for count in range(10): artist.pen.color = 'random' for count in range(4): artist.move_forward(20) artist.turn_right(90) artist.move_forward(20) artist.check()
[ "rob@skilstak.com" ]
rob@skilstak.com
1023ebd93d98f3012ed40bb1e458b458c8d3cddf
875a711df288d33778e2ae876f8f67490c91a7a1
/PathMangerExamples.py
f64b79ab66d397fdd0efb3a13b2f0faacbcb5338
[]
no_license
zethwillie/chrlx_pipe
4c45bd51591a6dbdbe848da348ae3835569397d7
7c69818c125fc01a07a7294bd8d34d28a61f04bc
refs/heads/master
2021-01-22T21:17:56.259480
2017-08-18T04:28:11
2017-08-18T04:28:11
100,672,617
0
1
null
null
null
null
UTF-8
Python
false
false
1,630
py
from chrlx.utils import PathManager path = PathManager("G:\jobs\charlex_testArea_T60173\W_psultan\scenes\shot010\lgt\workshop\T60173W_010_std_software.01.ma") #job info determined by folder structure print "jobNumber:", path.jobNumber print "jobDirname:", path.jobDirname print "jobShortname:", path.jobShortname print...
[ "zethwillie@gmail.com" ]
zethwillie@gmail.com
1d0101942a1f8158b1df89d28a581f8a989d6099
a7cca49626a3d7100e9ac5c2f343c351ecb76ac7
/tests/dev_tests/get_machine_freq.py
53f58efc5548afd9221dc39ed26ccc27e86361d3
[ "MIT" ]
permissive
Carglglz/upydev
104455d77d64300074bda54d86bd791f19184975
529aa29f3e1acf8160383fe410b5659110dc96de
refs/heads/master
2023-05-24T18:38:56.242500
2022-10-21T14:03:17
2022-10-21T14:03:17
199,335,165
49
9
MIT
2022-10-21T14:03:18
2019-07-28T20:42:00
Python
UTF-8
Python
false
false
137
py
import machine def freq(): fq = machine.freq() if isinstance(fq, tuple): return int(fq[0]/1e6) return int(fq/1e6)
[ "carlosgilglez@gmail.com" ]
carlosgilglez@gmail.com
bc5354942ec4f909d4ccdf9434a01480c07a0da5
86cc17a69213569af670faed7ad531cb599b960d
/player12.py
9f6d8ddf708fb3e1cbee2e05883e552d33187881
[]
no_license
LakshmikanthRavi/guvi-lux
ed1c389e27a9ec62e0fd75c140322563f68d311a
5c29f73903aa9adb6484c76103edf18ac165259e
refs/heads/master
2020-04-15T05:07:19.743874
2019-08-13T08:53:00
2019-08-13T08:53:00
164,409,489
0
1
null
null
null
null
UTF-8
Python
false
false
161
py
u,m=map(int,input().split()) g=list(map(int,input().split())) r=[] for i in range(u-m,u): r.append(g[i]) for i in g: if i not in r: r.append(i) print(*r)
[ "noreply@github.com" ]
LakshmikanthRavi.noreply@github.com
e02eccd31bb9c7d6aaa7d19529cafad2e12d8805
672ea11a7dee763fc8c37bc82bb609b8de19344c
/src/生成斗地主扑克牌.py
28fff2f03a30318453efc6cfebefc64fa9a69cbd
[]
no_license
qlong8807/python3-lesson
294ede6a0de1d89f513209b00504e8f0c9bb2607
ac4e745a8e8d0ab665e2ff676ddcd0ab190fed06
refs/heads/master
2020-04-08T15:18:44.564272
2020-02-18T08:33:30
2020-02-18T08:33:30
159,472,820
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
# coding:utf8 # author:jans # desc: 扑克牌洗牌 import random poker_num = [str(i) for i in range(2,11)] poker_str = ['A','J','Q','K'] poker_king = ['大王','小王'] poker_color = ['红','黑','方','花'] pokers = ['%s%s' %(i,j) for i in poker_color for j in poker_num+poker_str] + poker_king print(len(pokers)) print(pokers) print('开...
[ "qlong8807@hotmail.com" ]
qlong8807@hotmail.com
4ab465fcdde84101246798cce491652b00295dce
63cf686bf970d28c045719de2f0e7e9dae5bed15
/N-th Tribonacci Number.py
13e5231116e6aba79408a56a4f23a7c77a01f1bf
[]
no_license
menard-noe/LeetCode
6461bda4a076849cf69f2cd87999275f141cc483
4e9c50d256c84d1b830a7642b265619a0b69d542
refs/heads/master
2022-12-13T09:41:41.682555
2020-09-14T12:46:53
2020-09-14T12:46:53
282,481,920
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
from typing import List class Solution: def __init__(self): self.memo = {0: 0, 1: 1, 2: 1} def tribonacci(self, n: int) -> int: if n in self.memo: return self.memo[n] else: self.memo[n] = self.tribonacci(n - 1) + self.tribonacci(n - 2) + self.tribonacci(n - 3) ...
[ "noe.menard4@gmail.com" ]
noe.menard4@gmail.com
d37e9764102913288d0e90d9ba66699201662d2d
3b2940c38412e5216527e35093396470060cca2f
/top/api/rest/LogisticsOrderShengxianConfirmRequest.py
3a40c08aaf7002f5809c5f42c433f502317e3311
[]
no_license
akingthink/goods
842eb09daddc2611868b01ebd6e330e5dd7d50be
ffdb5868a8df5c2935fc6142edcdf4c661c84dca
refs/heads/master
2021-01-10T14:22:54.061570
2016-03-04T09:48:24
2016-03-04T09:48:24
45,093,302
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
''' Created by auto_sdk on 2015-01-20 12:44:31 ''' from top.api.base import RestApi class LogisticsOrderShengxianConfirmRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.cancel_id = None self.delivery_type = None self.logis_id = None s...
[ "yangwenjin@T4F-MBP-17.local" ]
yangwenjin@T4F-MBP-17.local
f4e4d6b578a9c7190f7a40207d6430cb833bbfc4
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/vyos/vyos/plugins/modules/vyos_ospfv3.py
ca5bc93c40b037794dbda36f2d1e71f79b91fbb5
[ "MIT", "GPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
18,590
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ############################################# # WARNING # ############################################# # # This file is au...
[ "sifang@cisco.com" ]
sifang@cisco.com
14955d30fe26123e3716725167c4d68ad49205a2
e76ea38dbe5774fccaf14e1a0090d9275cdaee08
/src/cc/DEPS
4e1cc74d6cc126e06e3aa1337ee58dc83ccb80ad
[ "BSD-3-Clause" ]
permissive
eurogiciel-oss/Tizen_Crosswalk
efc424807a5434df1d5c9e8ed51364974643707d
a68aed6e29bd157c95564e7af2e3a26191813e51
refs/heads/master
2021-01-18T19:19:04.527505
2014-02-06T13:43:21
2014-02-06T13:43:21
16,070,101
1
3
null
null
null
null
UTF-8
Python
false
false
561
include_rules = [ "+gpu/GLES2", "+gpu/command_buffer/client/context_support.h", "+gpu/command_buffer/common/gpu_memory_allocation.h", "+gpu/command_buffer/common/mailbox.h", "+media", "+skia/ext", "+third_party/skia/include", "+third_party/khronos/GLES2/gl2.h", "+third_party/khronos/GLES2/gl2ext.h", ...
[ "ronan@fridu.net" ]
ronan@fridu.net
7b2a0da5898ff8cc6de859b91194a6f1fd42975e
03534ce46ccb4d82e7752cac264884090c16ae1f
/PyBind11/config.py
a61a9b2d3e787f538b9046e074857e84ede13092
[]
no_license
alex-v-dev/dependencies
0ca2a67b97bb9403fa973d4b0a9f34f98694bcdd
11307514feccd38eeda66c9f0b83194358ffc956
refs/heads/master
2023-07-04T22:49:52.940631
2021-06-14T13:34:27
2021-06-14T13:34:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
{ "downloads" : [ "https://github.com/pybind/pybind11/archive/v2.6.2.tar.gz" ], "url" : "https://pybind11.readthedocs.io", "license" : "LICENSE", "dependencies" : [ "Python" ], "environment" : { "PATH" : "{buildDir}/bin:$PATH", "LD_LIBRARY_PATH" : "{buildDir}/lib", }, "commands" : [ "cmake" ...
[ "thehaddonyoof@gmail.com" ]
thehaddonyoof@gmail.com
089de6e71f93ea67d7b8693f6b0221acef7db5d3
20cc35cb819d988d35d25ae942d0ecc9fe7bc726
/Prac_03/word_generator_prac_three.py
252cd137d3a0b982f809d37432661bd9d8b0abde
[]
no_license
LukeElliman/Practicals
1272b51e9ef45f27dcb31f7d1238a429e14f3d15
f9de0adff1616e4b797b96f83fa1869790a0492f
refs/heads/master
2023-05-05T21:42:45.922665
2021-05-23T23:36:08
2021-05-23T23:36:08
341,446,239
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
""" CP1404/CP5632 - Practical Random word generator - based on format of words Another way to get just consonants would be to use string.ascii_lowercase (all letters) and remove the vowels. """ import random VOWELS = "aeiou" CONSONANTS = "bcdfghjklmnpqrstvwxyz" VALID_INPUT = "cv" def main(): #User input val...
[ "luke.elliman@my.jcu.edu.au" ]
luke.elliman@my.jcu.edu.au
497e239e4a4996a03027feed630c538b6b031e56
493fcf4b7eb61a00a51864ba2b3544541dee2935
/labman/gui/test/test_study.py
b82f7d7b999379932f6bcd0d4d743a94ba366e7a
[ "BSD-3-Clause" ]
permissive
antgonza/labman
d56ab55debdbea4024e12b6e84625b5a472fdbe2
c3bb7a15cbfdbbf60a7b2b176fff207f99af0002
refs/heads/master
2021-05-11T16:09:12.890965
2019-04-08T23:29:09
2019-04-08T23:29:09
117,754,098
0
0
BSD-3-Clause
2019-03-31T20:38:09
2018-01-16T23:10:41
Python
UTF-8
Python
false
false
3,280
py
# ---------------------------------------------------------------------------- # Copyright (c) 2017-, labman development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # -----------------------------------------------------...
[ "josenavasmolina@gmail.com" ]
josenavasmolina@gmail.com
1a728171fa0d72923f75ff0a93d3da29aad4725e
4476597f6af6b9cd4614bf558553a7eb57c9f993
/io/email-send.py
b0c8e5b3defd2e2685124e52af398dd84e39b324
[]
no_license
zhengziqiang/mypython
07dff974f475d1b9941b33518af67ece9703691a
7a2b419ff59a31dc937666e515490295f6be8a08
refs/heads/master
2021-07-14T20:01:34.231842
2017-04-19T01:18:25
2017-04-19T01:18:25
56,583,430
3
1
null
2020-07-23T11:46:35
2016-04-19T09:26:39
Python
UTF-8
Python
false
false
3,529
py
from Tkinter import * from smtplib import * import string import tkMessageBox as mes class loginPage(object): def __init__(self,master,info='Mail Send System'): self.master=master self.mainlabel=Label(master,text=info,justify=CENTER) self.mainlabel.grid(row=0,columnspan=3) self.user=Label(master,text='usern...
[ "1174986943@qq.com" ]
1174986943@qq.com
580123fccf31e7c332168aeb8fe195413662dc0f
8aa50378af42f325083be548baaf78b4dbf619ab
/OpenCVTest/ReadWebMFile/read_n_save_to_video.py
cb193792096e706e0ef3c655661e388c76d2d982
[]
no_license
jamescfli/PythonTest
35919a6671b3d85a0f0212ea6da8baefbd5fcbe0
87c4092b046fba45e3e98f03944c17edde11b8b1
refs/heads/master
2021-01-20T02:44:25.963174
2017-07-01T15:58:32
2017-07-01T15:58:32
62,287,876
1
0
null
null
null
null
UTF-8
Python
false
false
1,272
py
import cv2 # video_filepath = './video_clips/b.mp4' # no problem for .mp4 in general, but this one does not work # video_filepath = './video_clips/b.webm' # video_filepath = './video_clips/test.webm' video_filepath = './video_out/b_640x1280_15fps.mp4' # video_filepath = './video_out/b_640x1280_60fps.mp4' # .. I...
[ "jamescfli@yahoo.com" ]
jamescfli@yahoo.com
3bb0200c41571bb5e28f148a52ee99b29915d82b
8b5b782e06dd00bfc05c789ea3d60b4f10d78784
/dlgcontractdata.py
4a6dd4ab74ff3bae6eb8a9f76eff1f121f21c39c
[]
no_license
igrekus/shipment
471744fbbf35900efb8aee4cce2b0ebe9e13bf3f
b69f9efa213988e5445c90219a4d794fbc53f017
refs/heads/master
2021-09-07T14:59:45.181585
2018-02-24T13:07:43
2018-02-24T13:07:43
105,753,872
0
0
null
null
null
null
UTF-8
Python
false
false
14,980
py
import sys import const import datetime from copy import deepcopy from comboboxdelegate import ComboBoxDelegate from contractitem import ContractItem from dateeditdelegate import DateEditDelegate from productlistmodel import ProductListModel from PyQt5 import uic from PyQt5.QtWidgets import QDialog, QMessageBox, QTable...
[ "upload234@mail.ru" ]
upload234@mail.ru
5ed9622704f875d95003d08b1e22ecbfb53984cd
99ca151c59afd9c0e7091b6919768448e40f88a2
/numpy_and_math_error.py
ae3f097ca8ea71aad9e01311276bd6f306b6dfdb
[]
no_license
zainabnazari/Python_note
1b6a454f6e7b3aca998d87a201823a600ec28815
3beb52beb3a0ebe17a6ac8c5695670e9dde59269
refs/heads/main
2023-02-10T22:32:33.160428
2021-01-12T18:36:54
2021-01-12T18:36:54
304,724,221
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
#file name: numpy_and_math_error.py import numpy as np import math myarray = np.array([1,2,3]) root = math.sqrt(myarray) print(root) """ Output: Traceback (most recent call last): File "numpy_and_math_error.py", line 5, in <module> root = math.sqrt(myarray) TypeError: only size-1 arrays can be converte...
[ "nazari.zainab@gmail.com" ]
nazari.zainab@gmail.com
06c1581193edfd27f19dd85b4d1d96492fe96651
eea1c66c80784d4aefeb0d5fd2e186f9a3b1ac6e
/atcoder/abc/abc001-100/abc050/a.py
aee99db3e562045ac30ac7a75beb5b1f24ddaa49
[]
no_license
reo11/AtCoder
4e99d6f40d8befe264761e3b8c33d3a6b7ba0fe9
69c6d67f05cb9190d8fb07204488cd7ce4d0bed2
refs/heads/master
2023-08-28T10:54:50.859288
2023-08-22T18:52:47
2023-08-22T18:52:47
162,085,118
4
0
null
2023-07-01T14:17:28
2018-12-17T06:31:10
Python
UTF-8
Python
false
false
114
py
a, op, b = map(str, input().split()) a = int(a) b = int(b) if op == "+": print(a + b) else: print(a - b)
[ "reohirao116@gmail.com" ]
reohirao116@gmail.com
dd9947fc7776c6931faffc56c6329f2422b0f5d0
04a77043cebd9415069aad4a6b8e7af077de1168
/1-pbase/day11/exmple/filter.py
c8a7fa97539cd633362bc8a071f7fe9afc4d4bc4
[]
no_license
yangxiangtao/biji
a935fbc4af42c81205900cb95a11e98c16d739de
5c5f46e6c145fc02ea10b7befdc05c489fc3b945
refs/heads/master
2022-11-12T02:25:51.532838
2019-04-02T01:22:12
2019-04-02T01:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
# def is_odd(x): # return x%2==1 # for x in filter(is_odd,range(20)): # print(x) # for x in filter(lambda x:x%2==1,range(10)): # print(x) L=list(filter(lambda x: x%2==1,range(10))) print(L)
[ "123@bb.com" ]
123@bb.com
a8bedaa690e6167e7b41d66bab84ec2b45aa2730
a7b592be95dc2af9fdb56725f44e98cc59166e6f
/apps/ncrm/classify_tree/__init__.py
1bdb2878103c34846ea3bb162078fbd95ea785dd
[]
no_license
cash2one/CRM-3
bc864c462d155b5dc6a51a5edbd564574b3e2f94
cedcaeb397ccadb36952534242bd296c5b4513bb
refs/heads/master
2021-06-14T07:40:53.572013
2017-05-23T15:52:06
2017-05-23T15:52:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,249
py
# coding=UTF-8 import itertools, datetime from bson.objectid import ObjectId from apps.ncrm.models import TreeTemplate, PlanTree, pt_coll, ptr_coll, Customer from apps.common.biz_utils.utils_cacheadapter import CrmCacheAdapter from apps.common.utils.utils_log import log from .field import FieldManager from .node impo...
[ "956879357@qq.com" ]
956879357@qq.com
0ba46ca25f7954a614e976605f8cede03101b4ed
1356c64ee93435b3d312c8abbf0cfbdf28935645
/2565_electric_flex_20191212.py
3984d15a3a4e99cec8677dff6cf213d5e661f827
[]
no_license
tmtmaj/algorithm_2019_12_03
48829c6c03fa1b4528fc161056303c30eab1a31a
bf86bd36a044978fa3a60b65a7a248de2a2052ac
refs/heads/master
2021-06-25T05:07:42.726320
2021-05-08T14:20:02
2021-05-08T14:20:02
225,642,301
0
0
null
null
null
null
UTF-8
Python
false
false
1,501
py
# import sys # cmd = lambda: sys.stdin.readline() # # def x_func(e_list): # e_list = e_list # x_list = [0 for _ in range(len(e_list))] # # for i in range(len(e_list)): # for j in range(i + 1, len(e_list)): # if (e_list[i][0] > e_list[j][0] and e_list[i][1] < e_list[j][1]) or (e_list[i][0...
[ "qkrwjdgur09@naver.com" ]
qkrwjdgur09@naver.com
48c0e9e27a52eafca750b8ee40a439230b894fcf
116aadef9866be33782c6cbd06901703728295cc
/datasette_tiles/__init__.py
f8a2f4b9cec6f2c18358bdf5ac7b743a850c6d3f
[ "Apache-2.0" ]
permissive
dracos/datasette-tiles
9c4cf6ca683a703f08e1f69cbc4def3694d7bcc3
f7aa1a49df23584445cf154ad0e3e6d750965b15
refs/heads/main
2023-02-28T22:33:08.331682
2021-02-03T22:21:57
2021-02-03T22:21:57
335,932,265
0
0
null
2021-02-04T11:24:40
2021-02-04T11:24:39
null
UTF-8
Python
false
false
6,641
py
from datasette import hookimpl from datasette.utils.asgi import Response, NotFound from datasette_tiles.utils import detect_mtiles_databases, tiles_stack_database_order import json # 256x256 PNG of colour #dddddd, compressed using https://squoosh.app PNG_404 = ( b"\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x01\x0...
[ "swillison@gmail.com" ]
swillison@gmail.com
38ae0d1a558d1e120aea23f100feba10b508b6d0
5789f30bc942dde4235668c56408575b0bd25599
/variantBase/variantList/collect_run_variants_to_variantlist.py
62ac9d99d2ae82a73481e7879aa4aacca561689e
[]
no_license
bioinfo-chu-bdx/ngs-somatic
bc9dfa60872a644f18650593d144726d0ab22767
8cc6411e16784f2891b92241a97c71788408ffb5
refs/heads/master
2023-04-25T19:48:52.073672
2021-03-19T14:21:49
2021-03-19T14:21:49
374,675,975
2
0
null
null
null
null
UTF-8
Python
false
false
7,329
py
#!/usr/bin/python import sys import re import json import xlrd import glob import os import openpyxl # THIS SCRIPT UPDATE THE COMPLETE VariantList_ALL.json FROM RUN LIST OR SINGLE RUN FOLDER IN ARGV. # VARIANTLIST JSON CONTAINS RunName, Sample, Variant Data (chrm, start, stop, ref, alt, varcov, poscov). EXEMPLE : #"...
[ "thomas.bandres@chu-bordeaux.fr" ]
thomas.bandres@chu-bordeaux.fr
f4ed06e7ea8b347da25f534ba02242feff4c32b1
0e878d60050d3e34f33ab3f1bbfc0a0551e421d9
/fui/fsbrowse/tests/base.py
998b0711d09a90a7b2461a7454bea1d2aacf71dc
[]
no_license
espenak/fui.fsbrowse
bca49b7a82ffcad8e984490ed486d7038062ae8c
ba2ddd37f2fde9b0189336f50c995849de25ac45
refs/heads/master
2021-01-20T09:41:17.205327
2009-11-06T12:48:51
2009-11-06T12:48:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,062
py
from Products.Five import zcml from Products.Five import fiveconfigure from Testing import ZopeTestCase as ztc from Products.PloneTestCase import PloneTestCase as ptc from Products.PloneTestCase.layer import onsetup from Products.Five.testbrowser import Browser from zope.component import getUtility, getMultiAdapter f...
[ "post@espenak.net" ]
post@espenak.net
1b2e1b202bfb75864577236b2e5b92566bd75690
0c8cbe2f3d69c92dcd0cc73da88f1340624809f2
/search/urls.py
3063c9854c0b76535380cbf020f58478264616b5
[]
no_license
JunchuangYang/OnlineMusicWebsite
83451b03aad5ba8bf8a7402a8e7f21ca5c0d1c24
475ebea77e8488f08883203e509cc8b7c9043bbd
refs/heads/master
2021-07-25T01:27:14.673494
2020-04-05T08:23:07
2020-04-05T08:23:07
252,178,555
0
0
null
2021-06-10T22:43:53
2020-04-01T13:09:47
JavaScript
UTF-8
Python
false
false
151
py
#__author__ = 'lenovo' from django.urls import path from . import views urlpatterns = [ path('<int:page>.html',views.searchView ,name = 'search') ]
[ "554002970@qq.com" ]
554002970@qq.com
c08b6e8b95dcab03de174a133fc3da3f3b4e96d6
3d4161df479ef3335470f44fab40cfe42ec7889f
/cms/migrations/0002_personindexpage_personpage.py
f6d9419d89a20ff321207ee21b6f727f034ce8fb
[ "MIT" ]
permissive
kingsdigitallab/kdl-django
540f680697c92a83da1e575b51259915284d979f
14836dae329616d1cf1ad5b8c24508b6588b1300
refs/heads/master
2021-01-10T08:22:39.995509
2020-09-17T13:11:07
2020-09-17T13:11:07
60,765,060
2
0
null
null
null
null
UTF-8
Python
false
false
5,331
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-07-21 09:50 from __future__ import unicode_literals import cms.models.streamfield from django.db import migrations, models import django.db.models.deletion import wagtail.wagtailcore.blocks import wagtail.wagtailcore.fields import wagtail.wagtaildocs.blocks i...
[ "jmvieira@gmail.com" ]
jmvieira@gmail.com
704da8e2d99a67413d641ece944fa1a4042d6e8e
07f33106eeda3dff104105250fb5d299938bff6b
/数组/1552_两球之间的磁力.py
c25e73b1afbf4e08ff3f0127684b147103fef6d8
[]
no_license
fadeawaylove/leetcode_practice
5e40c3bcf8f7721bc1a843b7ac820041eae5c89b
74809f13f43e74a19f5a9f8d908cfe6a9ec774b2
refs/heads/master
2023-01-02T05:35:57.529975
2020-10-28T06:03:59
2020-10-28T06:03:59
267,814,149
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
""" 在代号为 C-137 的地球上,Rick 发现如果他将两个球放在他新发明的篮子里,它们之间会形成特殊形式的磁力。Rick 有 n 个空的篮子,第 i 个篮子的位置在 position[i] ,Morty 想把 m 个球放到这些篮子里,使得任意两球间 最小磁力 最大。 已知两个球如果分别位于 x 和 y ,那么它们之间的磁力为 |x - y| 。 给你一个整数数组 position 和一个整数 m ,请你返回最大化的最小磁力。   示例 1: 输入:position = [1,2,3,4,7], m = 3 输出:3 解释:将 3 个球分别放入位于 1,4 和 7 的三个篮子,两球间的磁力分别为 [3, 3, 6...
[ "dengrt@akulaku.com" ]
dengrt@akulaku.com
e8ec0cd093e9e24840ac391ba6873cc50d9f170a
6b1b506139088aa30de9fd65cff9e3b6a3a36874
/sofia_redux/toolkit/fitting/tests/test_polynomial/test_linear_vector_lstsq.py
6e23b6f9ff2c919be37c0f4bf09177809de894cd
[ "BSD-3-Clause" ]
permissive
SOFIA-USRA/sofia_redux
df2e6ad402b50eb014b574ea561734334d70f84d
493700340cd34d5f319af6f3a562a82135bb30dd
refs/heads/main
2023-08-17T11:11:50.559987
2023-08-13T19:52:37
2023-08-13T19:52:37
311,773,000
12
2
null
null
null
null
UTF-8
Python
false
false
542
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst import numpy as np import pytest from sofia_redux.toolkit.fitting.polynomial \ import linear_equation, linear_vector_lstsq @pytest.fixture def data(): a = np.array([[3, 4], [5, 6.]]) b = np.array([[7., 8]]) alpha, beta = linear_equation...
[ "melanie.j.clarke@nasa.gov" ]
melanie.j.clarke@nasa.gov
9103b175f0dc0def46401425ba1ea74119a80dcb
890b089c87b247cb06613530277c04d0eb6e3e91
/pymusas/lexicon_collection.py
40445856b05d88a2044eb708ad59c91127daff47
[ "Apache-2.0" ]
permissive
UCREL/pymusas
e5978a400f1bbe783dbda5c736fce2dd546f0416
2afc3e919f0ffb1de42fda169c18fa757db0307a
refs/heads/main
2023-09-03T15:52:38.396275
2023-08-17T22:34:46
2023-08-17T22:34:46
405,042,010
22
8
Apache-2.0
2023-05-10T13:15:59
2021-09-10T10:26:50
Python
UTF-8
Python
false
false
44,306
py
import collections from collections.abc import MutableMapping import csv from dataclasses import dataclass from enum import Enum, unique from os import PathLike import re import typing from typing import DefaultDict, Dict, Generator, List, Optional, Set, Tuple, Union, cast from urllib.parse import urlparse import warni...
[ "andrew.p.moore94@gmail.com" ]
andrew.p.moore94@gmail.com
d5d60ae5edaf5a5eb22194b2a9d172139d102b63
ad0567e70e3c448955b25aa4a6d8e6e30027b7b1
/scripts/canvastex.py
daf2b04f6d00eb6f03af3a5d6f25677f13d8f9b7
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
dsavransky/grading
8409f800335296cd15f604c7f5af86cd0c25a31d
5925cbdcf82b1eed90c927a35c2bc1bf6de13fae
refs/heads/main
2022-08-12T22:52:34.076808
2022-07-22T15:27:15
2022-07-22T15:27:15
209,359,426
8
4
MIT
2021-10-06T12:57:03
2019-09-18T16:50:15
Python
UTF-8
Python
false
false
1,236
py
#!python import argparse import urllib.parse import re import os.path def convlatex(texstr): """ Convert input latex string to Canvas's img html """ if isinstance(texstr, re.Match): texstr = texstr.groups()[0] qtxt = """<img class="equation_image" title="{0}" src="https://canvas.cornell.edu/equa...
[ "dsavransky@gmail.com" ]
dsavransky@gmail.com
5588bd437577ce0e40d6e6d5de7128a2ee7fca69
925f2935b34042abc9161795413031ae68f45b9a
/multimodel_inference/SC3elsm.py
859de2c0b23b9b122810c0220fa1cecd7c1363ea
[]
no_license
Farhad63/AFS-analysis-with-moments
7e1d17f47c06ed97ebb7c9ec8245fe52a88622c3
7874b1085073e5f62d910ef2d79a22b29ff3be84
refs/heads/master
2022-04-09T22:11:12.341235
2020-03-11T21:15:42
2020-03-11T21:15:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,429
py
#!/usr/bin/env python # split, three epochs in each pop, asymmetric migration at same rates in all epochs # n(para): 11 import matplotlib matplotlib.use('PDF') import moments import pylab import random import matplotlib.pyplot as plt import numpy as np from numpy import array from moments import Misc,Spectrum,Numeri...
[ "matz@utexas.edu" ]
matz@utexas.edu
370cd35756182e41352487f83230411fd0926a55
7c8fd5af8ade349f1d9f59c40cf9d5cda2755814
/calculator.py
80b33d64a550e7940ce55a1ef43fa6d6fb5af57d
[]
no_license
emilydowgialo/calculator-2
47cf6c31889ea56847e84b58f8e6c70f4336084f
393aca0b3018192ecc3db68ff59a183438485e9e
refs/heads/master
2016-08-11T07:48:06.250197
2016-04-07T19:59:55
2016-04-07T19:59:55
55,652,660
0
0
null
null
null
null
UTF-8
Python
false
false
2,431
py
""" calculator.py Using our arithmetic.py file from Exercise02, create the calculator program yourself in this file. """ from arithmetic import * # Your code goes here def calc_function(): value_returned = False calculating = True while calculating == True: while value_returned == False: ...
[ "info@hackbrightacademy.com" ]
info@hackbrightacademy.com
89b03a17f56e9843db582338bc395c1f2fea79cf
9724c8cd81ad39f7f9a2419e2873d7d74cb10c72
/pyabc/util/dict2arr.py
1e205cc289c9abf58cf89c4e2a29997249c9bcd2
[ "BSD-3-Clause" ]
permissive
ICB-DCM/pyABC
36b7fc431fe4ba4b34d80d268603ec410aeaf918
d1542fb201edca86369082e1fc7934995e3d03a4
refs/heads/main
2023-09-01T13:42:52.880878
2023-08-18T16:55:04
2023-08-18T16:55:04
96,995,608
187
49
BSD-3-Clause
2023-08-18T16:55:05
2017-07-12T10:30:10
Python
UTF-8
Python
false
false
2,995
py
"""Transform dictionaries to arrays.""" from numbers import Number from typing import List, Union import numpy as np import pandas as pd def dict2arr(dct: Union[dict, np.ndarray], keys: List) -> np.ndarray: """Convert dictionary to 1d array, in specified key order. Parameters ---------- dct: If dic...
[ "noreply@github.com" ]
ICB-DCM.noreply@github.com
0e88de598b1ad3a47bce2fd27367d2c995ed185d
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2_neat/16_0_2_mck_B.py
357542136cb2949d40fc809ea50ad4ecaec00794
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
576
py
import sys def flip(x, list): for i in range(0, x + 1): if list[i] == "-": list[i] = "+" else: list[i] = "-" return list def getLastIndexOfN(list): for i in range(len(list), 0, -1): if list[i - 1] == "-": return i - 1 return -1 if __name__ == "__main__": tests = int(sys.std...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
aea17cef7dbd0f04529c1d5463ea0f6bfcb948fc
af9268e1ead8cdb491868c14a2240d9e44fb3b56
/Cousinade/polls/migrations/0001_initial.py
6363a01cf03b7608b2f3dd7940be9dd6cb4cd7dd
[]
no_license
frosqh/Cousinade2017
d5154c24c93ca8089eeba26b53c594e92cb6bd82
c34d5707af02402bf2bb7405eddc91297da399ff
refs/heads/master
2021-01-20T07:57:34.586476
2017-10-22T18:42:45
2017-10-22T18:42:45
90,074,802
1
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-15 23:15 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import polls.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ ...
[ "frosqh@gmail.com" ]
frosqh@gmail.com
17d3ff2a36f1adcf56dde4f95f0754a323175ca0
eb736f1412e434522687190685ccdae9ba722b58
/Lab Exercise 2.3.2021/Cars/cars2.py
2f49598a60b1672ee3390830cbfe517e22323420
[]
no_license
nmessa/C_Sharp-2021
4a008853f4cf9fa8a617a5fcadaad964fc30c84c
1124d4ab106a6a2204b98019b36f495f4167a12b
refs/heads/main
2023-06-05T15:35:13.734371
2021-06-15T12:43:02
2021-06-15T12:43:02
332,059,776
2
0
null
null
null
null
UTF-8
Python
false
false
961
py
#Closest approach of 2 cars ##Car1 traveling north currently 2 miles south of junction at a rate of 30 MPH ##Car2 traveling west currently 3 miles east of jucntion at a rate of 40 MPH ##Find the closest distance the two cars approach from math import * from pylab import * import time collisions = [] for spe...
[ "noreply@github.com" ]
nmessa.noreply@github.com
35b87aaf0cdcfdb706a1d081dce7b88de2b2f8a8
2ea4e667bdcd82565fca8ac96f74ee08bd67364e
/backend/chat/models.py
a2d82fbe6251955d52dea8721a5990fc822a0ba3
[]
no_license
crowdbotics-apps/wadduplyapp-24147
39dff74efbdb15feaf1bde54dd9f6679b9c786ed
19436f48d03dcc22807e9e331bb371a546f1dc9d
refs/heads/master
2023-02-23T23:24:25.213934
2021-01-29T21:09:30
2021-01-29T21:09:30
334,259,663
0
0
null
null
null
null
UTF-8
Python
false
false
3,152
py
from django.conf import settings from django.db import models class ThreadAction(models.Model): "Generated Model" action = models.CharField( max_length=7, ) thread = models.ForeignKey( "chat.Thread", on_delete=models.CASCADE, related_name="threadaction_thread", ) ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
c72650b3a9bf00b1efe3f5361b5d09a436c259cc
48390374bb000e593a192ba5981210b130ebff1e
/using_threads/t3_locks.py
3587dac6018618c0cf77b26f789f228f06185810
[]
no_license
onionmccabbage/beyondAdvancedPythonApril2021
396615bb3c1989e0e57ae818950135250ce9ea33
0abccebcff1d0ff2e05f1f3b0188763fa3929920
refs/heads/main
2023-06-01T22:47:49.855370
2021-06-16T12:12:29
2021-06-16T12:12:29
360,176,678
0
1
null
null
null
null
UTF-8
Python
false
false
998
py
import threading import time import random counter = 1 lock = threading.Lock() def workerA(): global counter lock.acquire() try: while counter <100: counter += 1 print( 'Worker A is incrementing counter to {}'.format(counter) ) except Exception as e: ...
[ "noreply@github.com" ]
onionmccabbage.noreply@github.com
2d7f069d13b7e23eb16fe01d25ac2cbd1a0d3e43
9714a7e31c922dea5187ef09de7c7095bda515e1
/visualization/api/ShotsDash.py
5c65ee274340933206fb8e4127309f18d9abfc70
[]
no_license
rd11490/Russell
5104c846bccc52b2456dadb0e3a85af22169006f
b1f2c4c96a04a492bc5d1a0596f9bbc40a696e9d
refs/heads/master
2022-07-11T03:51:29.155850
2019-12-31T05:21:58
2019-12-31T05:21:58
104,696,236
5
1
null
2022-06-20T23:50:29
2017-09-25T02:50:00
Scala
UTF-8
Python
false
false
1,585
py
import json import pandas as pd import urllib3 players = [1628369, 1627759,202954,202681,1626179,202694,202330,1628464,1627824,203935,1628400,201143,203382] def build_ulr(player): return "https://stats.nba.com/stats/playerdashptshots?DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=00&Location=&Month=0&Oppon...
[ "rd11490@gmail.com" ]
rd11490@gmail.com
26c794fa0e7c4d0f5ce7dd1b14ec5667ae7562db
e38692437085a48abba0d682ec9921e7c24bf122
/source/webapp/admin.py
db2c1391a590d746ca795f1daf03d514497964ea
[]
no_license
Aitmatow/farids_blog
f7a9e57c18957a1a08b66aff349904ad3b948cbc
cc92853ea8e2ac362df8bee4740d98280e7aefed
refs/heads/master
2023-04-27T23:07:51.848466
2019-10-22T12:58:23
2019-10-22T12:58:23
215,323,364
0
0
null
2023-04-21T20:38:49
2019-10-15T14:44:35
Python
UTF-8
Python
false
false
678
py
from django.contrib import admin from webapp.models import Article, Comment, Category, Tag class CommentAdmin(admin.TabularInline): model = Comment fields = ['author', 'text'] extra = 0 class ArticleAdmin(admin.ModelAdmin): list_display = ['pk', 'title', 'author', 'created_at'] list_filter = ['a...
[ "aitmarowd@gmail.com" ]
aitmarowd@gmail.com
d2ff3964c849c9dfa4f125ea4f263ed8cc60c79e
68e76ef27df38b0fe2c1c993a9c15896563f950d
/2 Практика Робот/robot-tasks-master/task_32.py
a6c5bd5d73d6bf5f60c3579c8d427f1c5c882714
[]
no_license
Jumas-Cola/mipt_cs_on_python3_answers
72e9341656daa4afa35f8d39de917eb5471ee132
a2d128c4ce391bdeea6d20eb955855ad5bc5a0b4
refs/heads/master
2020-03-27T23:44:09.088994
2019-07-29T13:55:35
2019-07-29T13:55:35
147,341,552
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
#!/usr/bin/python3 from pyrob.api import * @task(delay=0.01) def task_8_18(): x=0 while not (wall_is_on_the_right() and not wall_is_on_the_left()): if not wall_is_above() and wall_is_beneath(): while not wall_is_above(): move_up() if cell_is_filled(): x+=1 else: fill_cell() while not ...
[ "kbbyfl91@gmail.com" ]
kbbyfl91@gmail.com
f57b234180126f5f12df6e7674e04017a4c1f047
7524bec2d88ca21750b09b83cc236cbfb6c61fea
/setup.py
be304e26ac19dc66f8ab4361a1a3074c10526e6b
[]
no_license
ericbusboom/insteon
c3d25f65038624b0bd3a26cf526f7b3c22891916
f090231e197d517c24ee3b00a6143c2b1f0b89fc
refs/heads/master
2020-04-19T08:23:51.283619
2015-02-14T19:55:10
2015-02-14T19:55:10
9,122,856
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
from setuptools import setup, find_packages setup(name='esbinsteon', version='1.0', description='Program to control an insteon interface. ', author='Eric Busboom', author_email='eric@busboom.org', url='http://busboom.org', packages=['esbinsteon'], package_data={'esbinste...
[ "eric@clarinova.com" ]
eric@clarinova.com
7122016d14d9ea48aa260c13465ca27e234421c0
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/training/training_util_test.py
3ec83b7be7f95c031003a009aa40c63af02060b2
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
5,363
py
# Copyright 2015 The TensorFlow 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...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
3870e76c40ced6a801aa513970ff4feb772a2eac
c957b4663cc4cb21e5172f23c6989031be8c3e5b
/python/141. Linked List Cycle.py
2b938337525872e17fcb52a8afbee163e4aa0323
[]
no_license
gajanlee/leetcode
e061dc37af0f83bf2bce00c391c0b8a9f3177b22
0d3c8477f05604a059e58a8764ce0d8bd418edde
refs/heads/master
2018-12-26T06:12:24.995542
2018-10-30T05:03:27
2018-10-30T05:03:27
102,965,574
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
""" Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? """ # 如果存在环,那么一个指针移动一个,另外一个移动两个,两个指针会相遇的 # Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(obj...
[ "lee_jiazh@163.com" ]
lee_jiazh@163.com
8fe28884609f1cd95401053f75ed6003569df8ab
2f14f8bccf15ccea2ff50e2f92164b43cb8f78b1
/Dynamic Programming/LeetCode/MinimumCostForTickets_983.py
a2fbbbecdcf36d899c75b0abeb0b3e3cc2e3c0ba
[]
no_license
nikhiilll/Algorithms-using-Python
b3372f3ecca8e0c8e1358bb5a87391038a6630b6
8439864c637578d15915113564dbbf047b75b107
refs/heads/master
2023-02-10T23:09:31.312693
2020-12-24T16:56:29
2020-12-24T16:56:29
313,243,919
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
def minimumCostForTickets(days, costs): costArray = [0 for i in range(days[-1] + 1)] for i in range(1, days[-1] + 1): if i not in days: costArray[i] = costArray[i - 1] else: costArray[i] = min(costArray[max(0, i - 1)] + costs[0], costArray[max(0, i - 7)] + costs[1], co...
[ "pawarnikhilp@gmail.com" ]
pawarnikhilp@gmail.com
0a8e33e5da3e1e73a09e33523e5636f64d2b3abd
9697a1ab85af91ee587623ac3089adb5dbbd6814
/configs/QCD_AOD__9_cfg.py
f0f4e8a89e9f22c748119952227009ee9236238a
[]
no_license
nicholas-bower/myLowPtGsfElectronAnalyzer
e9bfaad71631fda4fa67e532015daef2f03edab5
d4558c124af04f09db9e51e468f8ac3268a940e5
refs/heads/master
2022-11-16T21:02:56.940840
2020-07-16T15:37:03
2020-07-16T15:37:03
280,191,555
0
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: test2 -s RAW2DIGI,L1Reco,RECO --datatier RECO --era=Run2_2018 --conditions auto:phase1_2018_realistic --eventcontent RECO --filein file:te...
[ "nbower@andrew.cmu.edu" ]
nbower@andrew.cmu.edu
2da59e2885e26454205131e62eb8ef38c89aa7d9
0b05df6c954e5952369d544a878111798c83be59
/tensorpack/utils/argtools.py
743bbaeb089d21c8a3f3e77d64f1937b75fdeb8d
[ "Apache-2.0" ]
permissive
SunskyF/tensorpack
ddd1182acc8cfe6354d08679ef6bae11022b4230
ffe1398a146312cc74189e529475e67ca0b0cd5c
refs/heads/master
2020-04-12T09:24:47.182655
2018-12-19T07:52:06
2018-12-19T07:52:06
162,401,727
0
0
Apache-2.0
2018-12-19T07:49:38
2018-12-19T07:49:37
null
UTF-8
Python
false
false
6,132
py
# -*- coding: utf-8 -*- # File: argtools.py import inspect import six from . import logger if six.PY2: import functools32 as functools else: import functools __all__ = ['map_arg', 'memoized', 'memoized_method', 'graph_memoized', 'shape2d', 'shape4d', 'memoized_ignoreargs', 'log_once', 'call_only_o...
[ "ppwwyyxxc@gmail.com" ]
ppwwyyxxc@gmail.com
5b13733fd9888fea4a5dbbefc18f3413b70f4bec
75e84467a370b22aae4f30ab1fa7b42ccec9cb85
/cybox/objects/user_account_object.py
b25c7ea95eded4bb86a815050cbf12cda9073d4f
[ "BSD-3-Clause" ]
permissive
cy-fir/python-cybox
cbe6eaafeac2a0dcb2ba06925ea72c3c44e29f42
292a378be5322032e8df0b9a110c2205b72aeee6
refs/heads/master
2020-12-31T03:36:26.544132
2016-01-22T22:05:25
2016-01-22T22:05:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,075
py
# Copyright (c) 2015, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. from mixbox import entities from mixbox import fields import cybox.bindings.user_account_object as user_account_binding from cybox.common import DateTime, Duration, String from cybox.objects.account_object import A...
[ "gback@mitre.org" ]
gback@mitre.org
925fde5c4d36383db5a4ca3dd2f2a95b0eac5cd1
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/worksheet/test_write_sheet_view.py
80b851daa21e858de10d231daeeebed0d8042104
[ "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
3,163
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # import unittest from io import StringIO from ...worksheet import Worksheet class TestWriteSheetView(unitt...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
34ccd95eb23058af1f6b7eed3183fba1b29c0fe7
af2b03bd1f7c54059b04687a825cf774b073351a
/python/ccxt/async_support/krakenfutures.py
65ee6cb4d35f0a519b6f9d1316995705580f8b76
[ "MIT" ]
permissive
street2geek/ccxt
2b480526758b0629bad95c756e6c645964babe94
e880b59112717b693985f5e4beb88cdefaab9e57
refs/heads/master
2023-05-25T16:50:07.920596
2023-05-16T11:51:48
2023-05-16T11:51:48
148,709,392
0
0
null
null
null
null
UTF-8
Python
false
false
82,024
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange from ccxt.abstract.krakenfutures import ImplicitAPI import hashlib from ccxt.base.typ...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
67a9ace1630cd9600d67b37a04481a0c6a93d353
e8a48749014f372633de65d79bfa26a3ad743d89
/tests/models/opt/test_modeling_opt.py
86fa8c2c4bb8c184ac808e53fbf5c9944ad54f22
[ "Apache-2.0" ]
permissive
pvcastro/pytorch-pretrained-BERT
183b7291972c8d8c66c995647df66c1fe439a763
49cd736a288a315d741e5c337790effa4c9fa689
refs/heads/master
2022-08-19T08:55:16.332585
2022-06-30T16:11:08
2022-06-30T16:11:08
168,367,637
1
0
Apache-2.0
2019-01-30T15:39:42
2019-01-30T15:39:41
null
UTF-8
Python
false
false
17,670
py
# coding=utf-8 # Copyright 2021, The HuggingFace Inc. team. 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 ...
[ "noreply@github.com" ]
pvcastro.noreply@github.com
a753eac93c08765a0bdfa2dc047e3540b4c795b6
d7a73fdc2fa60a171d1b3ed3bbefe863c9351fab
/progen_transformer/utils.py
985f3b5fa667b37073c055c4d1b1786ddb90b702
[ "MIT" ]
permissive
sailfish009/progen
e584d7352d8f89c7d72992c222ca888db7f28495
131320c67ed831aa812e58a4995d3414e458640f
refs/heads/main
2023-06-07T12:49:09.742045
2021-07-04T00:06:59
2021-07-04T00:06:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,477
py
import os, errno from shutil import rmtree from jax import random, nn, value_and_grad, vmap, pmap, jit, lax from jax.lax import top_k import jax.numpy as np # helper functions def exists(val): return val is not None def log(t, eps = 1e-20): return np.log(t + eps) def confirm(question): while True: ...
[ "lucidrains@gmail.com" ]
lucidrains@gmail.com
09f225cdf22472b45c1d1f9d140bd0d5ee2c897f
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Scripts/Lazymux/routersploit/routersploit/modules/creds/cameras/honeywell/ssh_default_creds.py
6477710e7ac7b6aa711f719e0a907bb616b6175d
[]
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
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:39364c7930721e7cc70c7da8107affc5b3e0356146825b0ee4d41d5a6b47b20f size 858
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
6d4d9a6b5cf7732ea1bdc9a1514340ec7eafad4d
0a9e72d2527a2d82086b8c56ef23c9e9903e3da3
/russian_roulette/RussianRoulette.py
d0c2ba3861197b9d51598f15d79a22c7e5a55170
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
karlnapf/ozone-roulette
6bfcab10dee8b9dd95833bd15c1a3702c2f9769e
df99b11c3b00a27440b094427d485b2fea858903
refs/heads/master
2021-01-01T05:30:21.389668
2015-02-03T09:09:40
2015-02-03T09:10:01
12,896,509
0
1
null
null
null
null
UTF-8
Python
false
false
3,664
py
from abc import abstractmethod from numpy.lib.function_base import delete from numpy.ma.core import mean, zeros, log, arange, std from numpy.random import permutation, rand import logging class RussianRoulette(object): def __init__(self, threshold, block_size=1): self.threshold = threshold self.bl...
[ "heiko.strathmann@gmail.com" ]
heiko.strathmann@gmail.com
4f58fdd8fecd723dc0c3f7a5d4aab0f22eb56328
64e498b6b6cd6a2cf6855331d66d81b51ee1cdde
/src/bug/relationchoice/__init__.py
b98663e38b15b4eb0d52192e1440e558a938d1c9
[]
no_license
nutjob4life/bug.relationchoice
8d3d4c6223bf70d1b8b9e8fe639bfb89168ca748
26bf0d968c7f86e19ea36025d930fc01519c5390
refs/heads/master
2020-05-18T04:53:59.892557
2014-12-18T19:42:42
2014-12-18T19:42:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
# encoding: utf-8 '''bug.relationchoice'''
[ "sean.c.kelly@me.com" ]
sean.c.kelly@me.com
5e392dbeec98a689c52d64e02a4d0985d70efdef
8afb5afd38548c631f6f9536846039ef6cb297b9
/_MY_ORGS/Web-Dev-Collaborative/blog-research/Data-Structures/1-Python/matrix/sudoku_validator.py
7bda6e4241502010a2301498fe39b6c447b205d9
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,478
py
""" Write a function validSolution/ValidateSolution/valid_solution() that accepts a 2D array representing a Sudoku board, and returns true if it is a valid solution, or false otherwise. The cells of the sudoku board may also contain 0's, which will represent empty cells. Boards containing one or more zeroes are conside...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
542a65e7cf0987e43c313ec125817c182f6c4308
e66eb0234d09b732b52c839058a830bee486fd30
/list_operations.py
6e136a5fe261e154cc5ab0633b4d3bcc537ce7b0
[]
no_license
nt-git/list-slicing
44d10c350b0e0248cfcc18cf795bab07bb5f4a5b
5f8a8290a4b040bef1ddbfe7b6e559a46d01f67e
refs/heads/master
2021-05-14T13:08:26.640954
2018-01-05T21:08:11
2018-01-05T21:08:11
116,427,201
0
0
null
null
null
null
UTF-8
Python
false
false
5,306
py
"""Functions that manipulate lists without using Python's built-in list methods. The fundamental operations on lists in Python are those that are part of the language syntax and/or cannot be implemented in terms of other list operations. They include: * List indexing (some_list[index]) * List indexing assignm...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
5e10aabc613ae7de645ef94312a9a1bc985b98cf
aa0366a8632f334fb35e6bdc78717f3456202eb7
/bp/characterKit.py
21b2ade02cf6076383350c1d725ab0a82e74ea12
[]
no_license
Mortaciunea/bdScripts
0891478096f3a5876655896c9649c0a7204d5ee8
4f6e9d2b181bb4a90c1ccfcaca64c22ecbe0dd59
refs/heads/master
2020-12-24T13:36:57.930038
2015-09-03T16:03:46
2015-09-03T16:03:46
41,869,547
1
0
null
null
null
null
UTF-8
Python
false
false
2,057
py
import pymel.core as pm import pymel.core.datatypes as dt import re,os,shutil,glob import logging import shiboken import PySide.QtGui as QtGui import PySide.QtCore as QtCore import maya.OpenMayaUI def get_maya_window(): maya_window_util = maya.OpenMayaUI.MQtUtil.mainWindow() maya_window = shiboken.wrapInst...
[ "ender_bd@yahoo.com" ]
ender_bd@yahoo.com
400ddf4c1c830f1adf3d42e1f2ef065c19735ef2
b08b373d78fb42dbb11aebeadf71168dc6476696
/pycharm_programs/mme-methods/henbgw_count.py
d84e97c0fedf37a1d818f56f5e2f6731fc524b0b
[]
no_license
lajapathy/python-practice
40a44a026546d1f3414452a99a68487a14df3c02
869a59cad89077327bb8117c34801af985a63e0d
refs/heads/master
2022-02-25T14:59:52.155959
2019-09-24T07:16:58
2019-09-24T07:16:58
121,089,806
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
import re def henbgw_count(self): for chassis in self.get_dut_list(): config_lines = self._send(["show config"], chassis) henbgw_mgmt_db_name_from_config = '' henbgw_mgmt_db_name_from_cli_output = '' for line in config_lines: if "associate henbgw-mgmt-db" in line: ...
[ "lamadhus@cisco.com" ]
lamadhus@cisco.com
0dc4c9fb7b5faa84b43a579fbd289c735ff7794f
8fd92c0a65c9b3e3912b6e8ef043656ee225880a
/EXAMPLES/np_create_ranges.py
e1aa89ab7ab9a7f0785f17f77b6c152021baa25a
[]
no_license
waiteb15/py3forsci3day
9fbcbb59f1c14f3d91cb2599d7ca8b4d6ac628c4
fc664042618f0910d40e85677a2438eef5cce2b7
refs/heads/master
2020-04-25T11:24:18.697218
2019-02-28T23:40:52
2019-02-28T23:40:52
172,743,315
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
#!/usr/bin/env python import numpy as np r1 = np.arange(50) print(r1) print("size is", r1.size) print() r2 = np.arange(5,101,5) print(r2) print("size is", r2.size) print() r3 = np.arange(1.0,5.0,.3333333) print(r3) print("size is", r3.size) print() r4 = np.linspace(1.0, 5.0, 7) print(r4) print("...
[ "waiteb15@gmail.com" ]
waiteb15@gmail.com
ab6d591fb1096d67a92f1b2f9be58d471222ea9a
37fef592f365194c28579f95abd222cc4e1243ae
/streamlit/book_recommender/Overview.py
3a38ef090b172cb0a6ec3907446d749998ff6fca
[]
no_license
edimaudo/Python-projects
be61e0d3fff63fb7bd00513dbf1401e2c1822cfb
85d54badf82a0b653587a02e99daf389df62e012
refs/heads/master
2023-04-07T03:26:23.259959
2023-03-24T12:03:03
2023-03-24T12:03:03
72,611,253
4
3
null
2022-10-31T18:10:41
2016-11-02T06:37:17
null
UTF-8
Python
false
false
3,298
py
#================ # Book Overview #================ # Load libraries import streamlit as st import pandas as pd import plotly.express as px import os, os.path st.title('Book Overview') @st.cache def load_data(DATA_URL): data = pd.read_csv(DATA_URL) data.dropna(inplace=True) return data # Load data books ...
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
bb0b96e5d3a9763e899440f021b68306c0ff6345
022a0cb0d0873da0c25da6b6aa8b258b80a4b7e0
/165.py
933086226d00282a90482d8c4273a8718bea1615
[]
no_license
subayadhav/fri07061
31e1e89ac1be60c736450f749486651968cfeba4
380f5d108869ad4cde16140dc21a88f2a7972722
refs/heads/master
2020-06-01T06:43:17.094510
2019-06-07T08:47:49
2019-06-07T08:47:49
190,683,539
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
n1,k=map(int,input().split()) l=[int(x) for x in input().split()] l.sort() for i in l: if i>k: print(i) break
[ "noreply@github.com" ]
subayadhav.noreply@github.com
fc6e66e86ac585463ab601ee7c6f9640e45dda1d
66940384fbc655f8e173d8f6b05c01494f6b7b8e
/intensio/test/python/advanced/output/basicRAT/core/crypto.py
7e1ef673b97e2fe1c9bef3e28fe30d76d84d9c92
[ "MIT", "Unlicense" ]
permissive
a7t0fwa7/Intensio-Obfuscator
15ab89a6593e0a22ee7f34a90174fe1f89442722
bc86392c3f19a2c8fd87e926d285c5b249cb5de6
refs/heads/master
2022-01-24T01:04:53.199138
2019-06-16T08:49:27
2019-06-16T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,298
py
# -*- coding: utf-8 -*- import os from Crypto import Random from Crypto.Cipher import AES from Crypto.Hash import SHA256 from common import wWtKmzLluyGJQdDKJuhxDRVbBkKUuxrBjlkmMbEpRDNMHvFKVoClMZaiofwOBNMkliYNwCOoxwPDlEWsjfqccRzMMfLIzAZTKQCzzfwHiIvBDKnaeeNarleUiQRJVWjT, OoUSTzYrmbsTlbduPEWrYyVFuKVoKRljNvnbOjqTIgSdocbQSc...
[ "gitland@protonmail.com" ]
gitland@protonmail.com
eb505b88bac2629ad98d57305ff289ab7e507c38
94d1e805521575afb7b6256af1dd6de65a50ada9
/problem_5/problem_5.py
458d419fed34ea5f74c68c10e9d6c3fe6dc7dbf6
[]
no_license
John-W-Stevens/Euler100
fe2004786f64172e02ba18fbe33d95ceb68abf59
6f193a47e9e019b99ee9b188d2227587f5a3f4b3
refs/heads/master
2022-11-26T07:23:36.505138
2020-07-28T17:36:39
2020-07-28T17:36:39
274,224,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
# 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. # What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? import time def is_prime(n): """ Returns Boolean """ if n <= 1: return False if n == 2 or n == 3:...
[ "john.william.stevens1@gmail.com" ]
john.william.stevens1@gmail.com
050f658bbc509a570071f2ce3a366845a2d65a4a
33af6185b48bd76f97f0a74390a3a812ee216c78
/angr/angr/engines/vex/engine.py
99886567ccb324c7a43534a230d455d3977bf526
[ "BSD-2-Clause" ]
permissive
Ruide/angr-dev
dab0cabd907fce47ac698f890c3f3a8b80ab7e2a
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
refs/heads/master
2022-11-10T11:27:13.355024
2017-10-07T14:29:09
2017-10-07T14:29:09
104,417,044
0
1
BSD-2-Clause
2022-10-16T04:48:10
2017-09-22T01:35:12
C
UTF-8
Python
false
false
24,603
py
import sys from cachetools import LRUCache import pyvex import claripy from archinfo import ArchARM from ... import sim_options as o from ...state_plugins.inspect import BP_AFTER, BP_BEFORE from ...state_plugins.sim_action import SimActionExit, SimActionObject from ...errors import (SimError, SimIRSBError, SimSolverE...
[ "rd.cheung.bupt.sms@gmail.com" ]
rd.cheung.bupt.sms@gmail.com
f6626102fabf2650c694713c2ad5149437e06451
0dec4bee4820161ae892f615023dd6ff9dae8ff4
/PyMrawler/SocialEventCrawlerGR/Links.py
40ddb5a031bebced3cf662f7c038a859ef7f5f1d
[]
no_license
mpetyx/PyMrawler
8fbf77276838f3e26b746205f5ded33e9c5be559
6f7dc608620ddfff1c3021aa740cf8409a7eb311
refs/heads/master
2016-09-10T00:16:49.353207
2012-10-17T10:13:15
2012-10-17T10:13:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
''' Created on 11 Dec 2011 @author: mpetyx ''' class Link: def __init__(self,text): """ Here we search all the links included in the description """ self.links = None from TextHandling import TextFunctions self.text = TextFunctions(text) ...
[ "mpetyx@gmail.com" ]
mpetyx@gmail.com
34356c92a49affa75602a75e6add206fdd9417a7
012837eafe45c8f7ee5fc77d4c4d7725d5314c5c
/workshops/8-day/8-clazz.py
6322475cba90b04e02f631dcfd665c48f6e3d371
[ "MIT" ]
permissive
ai-erorr404/opencv-practice
e9408cf006779a678cf3a30fc60e9dbeb3c8e493
60ef5e4aec61ee5f7e675fb919e8f612e59f664a
refs/heads/master
2021-02-08T11:17:04.763522
2020-02-22T09:43:04
2020-02-22T09:43:04
244,146,060
1
1
MIT
2020-03-01T12:35:02
2020-03-01T12:35:01
null
UTF-8
Python
false
false
1,854
py
#!/usr/bin/env python3 # -*- coding=utf-8 -*- import cv2 as cv """ 视频前景/背景提取 视频前景/背景提取技术用于提取前景移动对象,通过获取移动对象的mask实现获取移动物体的轮廓信息,最常用的方法是帧差相减法进行,即用 前一帧的图像最为背景图像与当前帧进行相减,该方法对光照、噪声相当敏感。opencv中对背景模型提取的算法有两种,一种是基于高斯模糊模型(GMM) 实现背景提取,另外一种是使用最近相邻模型(KNN)实现的,api如下: GMM cv.createBackgroundSu...
[ "afterloe@foxmail.com" ]
afterloe@foxmail.com
c5b3e70cd3d41f6a2d4b0180f56af70231b4bae0
12d05a7f65e6ca8ffa701670ed1bec209af77a51
/models/Attention_Textcnn_loss_para/network.py
b5a447c68d31e9b7261fa5b9adbf9aa16bbb0620
[]
no_license
Bobby-Han/text-classification
ec8015e6bb438fceb8d7b61117519e2d6469c57d
2fa6d3ed4f3b9288ff7fb385c9cced44daf522ca
refs/heads/master
2023-02-24T13:27:36.761439
2021-02-01T06:27:53
2021-02-01T06:27:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,421
py
# -*- coding:utf-8 -*- import tensorflow as tf import tensorflow.contrib.layers as layers import numpy as np from tensorflow.contrib.crf import crf_log_likelihood import keras.backend as K class Settings(object): def __init__(self): self.model_name = 'Attention_TextCNN_loss_para' self.fact_len = ...
[ "2501967525@qq.com" ]
2501967525@qq.com
0c1776f6bd320e7f308bee7b96fd85ce0f010a7c
aed0016db7f4d22e7d66e6fddb7bf4ef68a3c692
/neural_sp/models/seq2seq/decoders/build.py
0f813cfcdda9ab87c1f3eab770b881268e309039
[]
no_license
thanhkm/neural_sp
6a5575111c83d1fdd97edec21f90fe647965cb69
1a5a5ed54f4cb79436007593dbd0d782b246a0c7
refs/heads/master
2020-12-26T23:22:56.964151
2020-01-15T23:40:22
2020-01-15T23:40:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,001
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2019 Kyoto University (Hirofumi Inaguma) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """Select an decoder network.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function def build_de...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
f922cf4ebb4055119a9e0e2468630b05bc1bef64
4c156a21245ad414e9495a5f59cf4d4427759255
/Hande-stealer-light.pyw
bc3b565fbf2f6a752a14e35e78d669b8ef71b666
[ "MIT" ]
permissive
simplifies/Hande-Stealer
f464bd56695726058d2a6084f6ba6cd7afd33ba6
da5244c774e9bf66c5c1870b6cab3d194b4890ff
refs/heads/main
2023-04-06T07:07:38.471222
2021-04-13T10:52:42
2021-04-13T10:52:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,537
pyw
import os import re import platform import time import requests from io import BytesIO import json from dhooks import Webhook, Embed, File from datetime import datetime import sys import win32com.shell.shell as shell from getmac import get_mac_address as gma ASADMIN = 'asadmin' if sys.argv[-1] != ASADMIN...
[ "noreply@github.com" ]
simplifies.noreply@github.com
f2ae332d7f80b1cdc90b00f90cafce55f4156e08
136c4241843a000020062413ad6ff4d6de8bdf58
/flexget/plugins/services/myepisodes.py
95187a0788efde709113b6c8e52b0f8b0411d974
[ "MIT" ]
permissive
ebadenes/Flexget-Origin
d580b9d0bcd65999d2bba6a7051ed19713c7792d
abc05c8bb99f5241b509c3e403eb399413a60dac
refs/heads/master
2021-01-16T19:22:39.003993
2013-04-29T17:32:32
2013-04-29T17:32:32
9,701,035
0
1
null
null
null
null
UTF-8
Python
false
false
7,693
py
from __future__ import unicode_literals, division, absolute_import import logging import urllib import urllib2 import re import cookielib from datetime import datetime from sqlalchemy import Column, Integer, String, DateTime from flexget import schema from flexget.plugin import register_plugin, DependencyError, Plugi...
[ "chase.sterling@gmail.com" ]
chase.sterling@gmail.com
2960c363204b3c970270b04ba3da510e16c8b043
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_3/joshg111/c.py
3247ad1bc43608716c4eafcf837e3f50658944a0
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,836
py
import fileinput from math import sqrt; from itertools import count, islice def get_divisor(x): # Stopping checking for divisors when we hit some pre defined maximum. #for i in islice(count(2), 1000000): for i in xrange(2, 1000): if (x % i) == 0: # This is the case it is no...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
f3627f85293749abf4bdc02e42166c7f1307955f
779c7d032eb8d5a4421b8b236c9004559b70756d
/import/drop_cache_tables.py
b74d0ed6091fcc4373b1d48df17bf6f274748eb8
[]
no_license
corincerami/opus
727e91a461a6488f2bc263ca6c98a27a93424228
281f246ff5bd703a009ab3bad6271249e0e00bff
refs/heads/master
2022-11-11T13:46:06.317320
2018-01-11T00:33:54
2018-01-11T00:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,262
py
""" drops all tables like 'cache%' in database 'opus' """ # Set up the Django Enviroment for running as shell script import sys import os import django from django.conf import settings # sys.path.append('/Users/lballard/projects/opus/') sys.path.append('/home/django/djcode/') #srvr os.environ.setdefault("DJANGO_S...
[ "lballard.cat@gmail.com" ]
lballard.cat@gmail.com
7da477883e2730f6f5c070b0800fb4dc3f8c6687
c3a76533d1fbb53f291f49fb95b5e89ed69a75f5
/amazon_mianjing/isomorphicString.py
19372b8e2e48d6bd81616dac258d4ef20febecc3
[]
no_license
jing1988a/python_fb
5feb68efd32bd63952b4df0c0cd2e766b83451ea
fd310ec0a989e003242f1840230aaac150f006f0
refs/heads/master
2020-03-28T21:03:19.375549
2019-01-31T17:02:17
2019-01-31T17:02:17
149,125,354
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
# 给你一个list word 你把所有isomorphic group的word分到一起 # isomorphic string的意思是string a 到string b 里面有每一个char都是one to one relationship # 比如 aba 和cmc是isomorphic 但是aba 和ccc 就不是 # eg: {abba, cppc, abc, emf, bbbb, m} => {{abba, cppc}, {abc, emf}, {bbbb}, {m}} import collections class Problem: def solve(self , words): # as...
[ "jing1988a@gmail.com" ]
jing1988a@gmail.com
7d85cf8e793d99257d0ce79b6ec1c76a761f0006
a37b756e34fc39c1237fc68997dbef77df9fa6fc
/dacon/1_articles/dacon_classify_articles_1.py
e5e5f197a6da6982360718465da885fd45e7c8be
[]
no_license
jvd2n/ai-study
e20e38493ad295940a3201fc0cc8061ca9052607
a82f7c6d89db532f881c76b553b5ab3eea0bdd59
refs/heads/main
2023-08-06T03:24:39.182686
2021-10-06T14:41:01
2021-10-06T14:41:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,836
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns from icecream import ic # Data PATH = './dacon/news/' train = pd.read_csv(PATH + 'train_data.csv') test = pd.read_csv(PATH + 'test_data.csv') submission = pd.read_csv(PATH + 'sample_submission.csv') ic(train, test, submission...
[ "juhnmayer@gmail.com" ]
juhnmayer@gmail.com
049a63b08359ef20611b5bbed9f50e22220ea117
bbc8192636e0f254ffcb0537306a5bf387235aec
/p2/src/test/test_fixtest.py
3286780d878dbc2564ccf50eff4d1557ca0526ce
[]
no_license
datason/deployml_course
99c0034affb66277fef53aca1f903ae93ad3fc12
f2817115063bae714b02b16bf2ed64f38f0b99ea
refs/heads/main
2023-02-06T10:59:57.500638
2020-12-30T09:27:04
2020-12-30T09:27:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,133
py
# up to parent import sys, os PACKAGE_PARENT = '../..' SCRIPT_DIR = os.path.dirname(os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__)))) CURROOT = os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT)) sys.path.append(os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT))) import numpy as...
[ "artseleznev@gmail.com" ]
artseleznev@gmail.com
95cfc91c55e0f76e5468b436c73920eda466e577
ab7d6793c9b00b00eae63533bbeffa45a710f690
/models/HCN.py
7fed678e3d62e686d23a10570581cab5a6e55ec1
[]
no_license
subburajs/SLR-1
c327090256b267b1877854ee01172fc956946876
2fc724303dd530ff46085ae89471f958470e3e14
refs/heads/master
2023-03-19T21:56:14.061002
2020-06-21T16:09:07
2020-06-21T16:09:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,307
py
import torch import torch.nn as nn import torchvision from torchvision import models from torch.nn import functional as F class hcn(nn.Module): def __init__(self,num_class, in_channel=2, length=32, num_joint=10, dropout=0.2): ...
[ "lwj19970331@gmail.com" ]
lwj19970331@gmail.com
54b2f75b9c95fad2376fd7e521729582e3913dbc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03729/s693243287.py
3d79cef6c484c819706127a9b7d9fd8131e45a28
[]
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
125
py
A = list(map(str,input().rstrip().split(" "))) if(A[0][-1] == A[1][0] and A[1][-1] == A[2][0]):print("YES") else: print("NO")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9fbb8d857ef7cc14b89be917d6cb223e5b2d5dc8
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/5FoNY2Z7B5wSCDTA4_0.py
fc139177107dd49dad4a420b77ec06ab6021e1c7
[]
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
484
py
""" **Mubashir** needs your help to find out next happy year. A **Happy Year** is the year with only _distinct digits_. Create a function that takes an integer `year` and returns the **next happy year**. ### Examples happy_year(2017) ➞ 2018 # 2018 has all distinct digits happy_year(1990) ➞ 2013 ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f19b981590955f36e941e7afe7fc8e93e62b4691
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/o-6.py
1716de51f5f78c365bfd3307c53c770d5dfa8d65
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
6bfec8c1fcbb786162593abf6d669f571b7c851e
275a96a33ae1f89e7b2ee0ecdbac7d78abe6d6cc
/test/test_user_with_balance_result.py
72c8b77ba889ac3b0da96b18a24fc46de2b8a7de
[]
no_license
cascadiarc/cyclos-python-client
8029ce07174f2fe92350a92dda9a60976b2bb6c2
a2e22a30e22944587293d51be2b8268bce808d70
refs/heads/main
2023-04-03T16:52:01.618444
2021-04-04T00:00:52
2021-04-04T00:00:52
354,419,532
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
# coding: utf-8 """ Cyclos 4.11.5 API The REST API for Cyclos 4.11.5 # noqa: E501 OpenAPI spec version: 4.11.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.user_wi...
[ "dan@leftcoastfs.com" ]
dan@leftcoastfs.com
6ac2e4e4004008a5b2623b6c78287deb51703b8f
bbeba16730eca05a897e46e771b8e9dc2a61e044
/testflows/_core/contrib/rsa/randnum.py
aad03fac065e68575ca88525fb786438bdd31ccc
[ "Apache-2.0" ]
permissive
testflows/TestFlows-Core
47d3e5b8890fcf73024c91f4ea293363c29f422b
7dd2d3af19f6930257bd53133286edb78bf490ab
refs/heads/master
2023-08-16T15:42:08.888323
2023-08-15T11:35:09
2023-08-15T11:35:09
215,418,320
5
4
NOASSERTION
2023-04-26T19:28:55
2019-10-15T23:59:26
Python
UTF-8
Python
false
false
2,695
py
# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu> # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "vzakaznikov@protonmail.com" ]
vzakaznikov@protonmail.com
32efb664104158f736b734dd02cffd81d7c62d5f
8cfdba6dd2804e2c3e3faed0c47640f347b14414
/utils/util.py
4bca3bba741b252dee48d19f96f64b8b9842e9ac
[]
no_license
DiegoDigo/tochegando
07c4368842897d80df57545a93bf182203724b04
36ac3b7109a60a4998b283c54d85d80b8c8e535e
refs/heads/master
2023-05-28T08:49:43.564907
2017-11-27T19:28:06
2017-11-27T19:28:06
108,421,683
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from datetime import datetime def verificar_idade(datanasc:datetime): if datanasc.month == datetime.today().month: return datetime.today().year - datanasc.year else: return (datetime.today().year - datanasc.year) - 1
[ "di3g0d0ming05@gmail.com" ]
di3g0d0ming05@gmail.com
e0532dcd7c140dfcde74fa62db1322d31eff3488
2f1a092537d8650cacbd274a3bd600e87a627e90
/thrift/compiler/test/fixtures/pyi/gen-py/simple/example_asyncio/ttypes.pyi
d1f0a742d882edc21258502a70bc4aa3634383af
[ "Apache-2.0" ]
permissive
ConnectionMaster/fbthrift
3aa7d095c00b04030fddbabffbf09a5adca29d42
d5d0fa3f72ee0eb4c7b955e9e04a25052678d740
refs/heads/master
2023-04-10T17:49:05.409858
2021-08-03T02:32:49
2021-08-03T02:33:57
187,603,239
1
1
Apache-2.0
2023-04-03T23:15:28
2019-05-20T08:49:29
C++
UTF-8
Python
false
false
10,443
pyi
# # Autogenerated by Thrift # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @generated # # pyre-unsafe import typing as __T # sometimes `t` is used as a field name from thrift import Thrift from thrift.protocol.TProtocol import TProtocolBase __property__ = property # sometimes `property` i...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com