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
6a34c022805208c44b234f2c301f4a94bd5a5713
3e3a835ee885eb9a71fd35ea58acd04361f72f47
/python基础/面向对象.py/老王开枪.py
7fb0d19a6621dfb5e9adef0e085cdce4217afadd
[]
no_license
hanfang302/py-
dbb259f24e06fbe1a900df53ae6867acb8cb54ea
dd3be494ccef5100c0f06ed936f9a540d8ca0995
refs/heads/master
2020-03-16T01:59:57.002135
2018-05-07T12:02:21
2018-05-07T12:02:21
132,454,341
0
0
null
null
null
null
UTF-8
Python
false
false
2,478
py
# 人类 class Ren: def __init__(self,name): self.name = name self.xue = 100 self.qiang = None def __str__(self): return self.name + '剩余的血量' + str(self.xue) def anzidan(self,danjia,zidan): danjia.baocunzidan(zidan) def andanjia(self,qiang,danjia): qi...
[ "hanfang123@aliyun.com" ]
hanfang123@aliyun.com
ccf114278c3df46b18fe342b6d5710fdad5037a8
dac12c9178b13d60f401c4febff5569af8aa2719
/cvat-sdk/cvat_sdk/core/utils.py
1708dfd5779affd0d04466cf7bdec0ce4858f5c8
[ "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
opencv/cvat
39dc66ca20f972ba40b79c44d7ce43590dc0b0b5
899c9fd75146744def061efd7ab1b1c6c9f6942f
refs/heads/develop
2023-08-19T04:27:56.974498
2023-08-18T09:58:25
2023-08-18T09:58:25
139,156,354
6,558
1,887
MIT
2023-09-14T12:44:39
2018-06-29T14:02:45
TypeScript
UTF-8
Python
false
false
2,077
py
# Copyright (C) 2022 CVAT.ai Corporation # # SPDX-License-Identifier: MIT from __future__ import annotations import contextlib import itertools import os from typing import ( IO, Any, BinaryIO, ContextManager, Dict, Iterator, Literal, Sequence, TextIO, Union, overload, ) ...
[ "noreply@github.com" ]
opencv.noreply@github.com
561a6ea60d55df6eae3444d16b3ed4c71ae2bb13
f9544830150779e903c3ba42ca31898d69e4b722
/cnld/compressed_formats.py
6544254aa44aeef3bb6b61c5dc5c7fdfdbe39321
[ "MIT" ]
permissive
bdshieh/cnl-dyna
44968c7eb22b3aa259dbfa9891db3d0613872c8a
9013fa11cabb6ad51aaa385b44ef99cc43bf6a2b
refs/heads/master
2021-08-15T02:12:45.381857
2019-10-04T13:58:42
2019-10-04T13:58:42
151,421,103
3
0
null
null
null
null
UTF-8
Python
false
false
19,288
py
''' Data-sparse (compressed) formats for matrices using H2Lib data structures. ''' from timeit import default_timer as timer import numpy as np from matplotlib import patches from matplotlib import pyplot as plt from scipy.sparse import csr_matrix, issparse from .h2lib import * class BaseFormat: ''' Base cl...
[ "bsauce@gmail.com" ]
bsauce@gmail.com
1152d6bd4d2f89c9d67e5d435c268860a0a3237e
b7e6f93f913a5a234a61df8e9c937c5038e7559b
/publication/admin.py
c9955c445b23eb762d151a8659a0b04543877c3a
[]
no_license
Ansagan-Kabdolla/dikush
9d6cbb1acb699af110f0208a3c7e95d5445e6fa1
297a5f2a0ea426e8c41d33abd02661811e536d18
refs/heads/master
2022-04-15T06:32:52.382739
2020-04-10T09:22:04
2020-04-10T09:22:04
254,590,602
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
from django.contrib import admin from .models import * admin.site.register(Filepdf) admin.site.register(Predmeti)
[ "ansagankabdolla4@gmail.com" ]
ansagankabdolla4@gmail.com
e53556e3a604085aa6f7add4581285a4e52224d2
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/sensorpro/device.py
326eb8b8bbd743ce3d1776ded36c6a74498130aa
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
442
py
"""Support for SensorPro devices.""" from __future__ import annotations from sensorpro_ble import DeviceKey from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothEntityKey, ) def device_key_to_bluetooth_entity_key( device_key: DeviceKey, ) -> PassiveBluetoothEntityKey: ...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
a53c1b3c8f40c312958b8b0d54c48ea0ac2ffa34
824f831ce0921b3e364060710c9e531f53e52227
/Leetcode/Arrays/LC-287. Find the Duplicate Number.py
5901d94bc86c781e7f2bae0c1ee771b979e4f97d
[]
no_license
adityakverma/Interview_Prepration
e854ff92c10d05bc2c82566ea797d2ce088de00a
d08a7f728c53943e9a27c33f8e4249633a69d1a6
refs/heads/master
2020-04-19T19:36:06.527353
2019-06-15T23:02:30
2019-06-15T23:02:30
168,392,921
0
2
null
null
null
null
UTF-8
Python
false
false
3,076
py
# Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), # prove that at least one duplicate number must exist. Assume that there is only one duplicate # number, find the duplicate one. # Example 1: # # Input: [1,3,4,2,2] # Output: 2 # # Example 2: # # Input: [3...
[ "noreply@github.com" ]
adityakverma.noreply@github.com
0cef47601e24ce2571e4fae9c030c83522f29d60
4505ae4b6fee0e32d799f22c32b18f79884daef4
/src/keras/tests/test_loss_masking.py
36ad471de77211bb1b4ed6288f94f34c0bdec80b
[ "MIT", "Apache-2.0" ]
permissive
lu791019/iii_HA_Image_Recognition_DL
5cde9c2d0c06f8fe3fb69991b27fda87d42450e1
d5f56d62af6d3aac1c216ca4ff309db08a8c9072
refs/heads/master
2020-08-03T06:56:05.345175
2019-09-29T13:20:24
2019-09-29T13:20:24
211,660,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,531
py
import numpy as np import pytest from keras.models import Sequential from keras.engine.training_utils import weighted_masked_objective from keras.layers import TimeDistributed, Masking, Dense from keras import losses from keras import backend as K def create_masking_model(): model = Sequential() ...
[ "noreply@github.com" ]
lu791019.noreply@github.com
c67d6fe7ce1bebab2ccccf1fba0bb20116d81484
98a5677396a4fdaad36ff8bb67ca08a8a79f2c13
/example/toolbox/management/commands/createcalaccessrawmodeldocs.py
556aeea30f7002572d4f9c2ebe907c70da08d12d
[ "MIT" ]
permissive
livlab/django-calaccess-raw-data
542255e5ad9ca50996163591cb7b0f24f57724ff
3fd8b7505e158cb3159603ce4f42e3508af9e0bf
refs/heads/master
2020-04-05T23:07:01.637833
2015-08-29T18:19:08
2015-08-29T18:19:08
41,603,060
1
0
null
2015-08-29T18:23:17
2015-08-29T18:23:17
null
UTF-8
Python
false
false
1,089
py
import os from django.conf import settings from calaccess_raw import get_model_list from django.template.loader import render_to_string from calaccess_raw.management.commands import CalAccessCommand class Command(CalAccessCommand): help = 'Generate documentation for raw CAL-ACCESS database models' def handle...
[ "ben.welsh@gmail.com" ]
ben.welsh@gmail.com
0b45f2cad03d55adf2caed48ec14aabf6dd1204f
4ee2ebef215cf879aafdfa44221f52d82775176a
/Inheritance/Exercise/03-Players_And_Monsters/project/wizard.py
6c54fe969f329c58c92fa42e89364eb28a5deac0
[]
no_license
Avstrian/SoftUni-Python-OOP
d2a9653863cba7bc095e647cd3f0561377f10f6d
6789f005b311039fd46ef1f55f3eb6fa9313e5a6
refs/heads/main
2023-08-01T09:31:38.099842
2021-08-24T04:21:38
2021-08-24T04:21:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from project.hero import Hero class Wizard(Hero): def __init__(self, username, level): super().__init__(username, level) def __str__(self): return f"{self.username} of type Wizard has level {self.level}"
[ "noreply@github.com" ]
Avstrian.noreply@github.com
14b95097ebef6310a10450b50fa85478aad59ebf
ef08d1e969a53c279e75b0120683eb3ec6914adf
/App/models.py
e0b07d140b75aa8ec9c5b43d15a64c2d31bf5e35
[]
no_license
yuansuixin/learn-flask-city
7278fa567b5d6825fd2c121114495092c4612a09
f8bfd1d8daff9c18c1ee71f1770fdb83ce6dfa2f
refs/heads/master
2021-04-09T15:31:26.120510
2018-03-19T08:54:59
2018-03-19T08:54:59
125,822,109
0
1
null
null
null
null
UTF-8
Python
false
false
759
py
from App.ext import model class Provice(model.Model): pid = model.Column(model.Integer,primary_key=True,autoincrement=True) name = model.Column(model.String(32)) cities = model.relationship('City',backref='Provice',lazy='dynamic') class City(model.Model): cid = model.Column(model.Integer,primary_...
[ "cyss428@163.com" ]
cyss428@163.com
dbf46d8ca805cf2f79e58f27d726c87ea0b78fa6
264787b5f42d482db2ef0838b45ec79db71e6e2f
/home/views.py
1edd90b3506e5941e7f0205e6a6a010d7ff9f5b2
[]
no_license
felipefoc/PrecoCertoChallenge2
f0700788f363ce9b72234a3d7df35ef1ea78d6b2
446854bc1823a06b207b30a10e14e71f7c982bee
refs/heads/main
2023-04-21T23:04:34.942298
2021-05-10T22:10:10
2021-05-10T22:10:10
366,187,651
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
from django.shortcuts import render from django.views.generic import ListView from home.models import Product, Order, ProductSold from django.db.models import Q import json import datetime def homeview(request): with open('data.json', 'r+') as f: data = json.load(f) # y = ProductSold.objects.get(id=...
[ "felipemfmayer@gmail.com" ]
felipemfmayer@gmail.com
e02f281a024f31c0d46eb8c5482cbf9893fe7f56
4c601eaa346e660c296e270cc2d79aea9a3721fe
/tests/components/homekit_controller/specific_devices/test_homeassistant_bridge.py
e9fc9b522ea9223ad12b87d8feb8101ae4925a4a
[ "Apache-2.0" ]
permissive
basnijholt/home-assistant
f55110af9ff602274c0a929c7298ef97a0ef282f
ba55b4b8338a2dc0ba3f1d750efea49d86571291
refs/heads/dev
2023-01-21T11:53:52.621353
2020-08-08T15:03:06
2020-08-08T15:03:06
220,313,680
5
1
Apache-2.0
2023-01-13T06:04:49
2019-11-07T19:29:54
Python
UTF-8
Python
false
false
1,900
py
"""Test against characteristics captured from the Home Assistant HomeKit bridge running demo platforms.""" from homeassistant.components.fan import ( SUPPORT_DIRECTION, SUPPORT_OSCILLATE, SUPPORT_SET_SPEED, ) from tests.components.homekit_controller.common import ( Helper, setup_accessories_from_f...
[ "balloob@gmail.com" ]
balloob@gmail.com
178e0b903a4b668e29a729fd8922c375f9bafabd
e560841b98656129df8ea169d8826eadd63d32db
/siteroot/bookz/apps.py
817b612740abd87a1eb1910fea5f17930486ccc8
[]
no_license
DorogAD/ibook
313e222836e5c9cb824937b7932ccf2680886098
07df6a7543fb80e088fdeb7b502602c81a00ed6f
refs/heads/master
2023-02-15T03:37:29.996409
2021-01-14T06:36:38
2021-01-14T06:36:38
305,949,798
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
from django.apps import AppConfig class BookzConfig(AppConfig): name = 'bookz'
[ "sa_do@tut.by" ]
sa_do@tut.by
9b9c66415e4cc7864cca1de30a392308b4d18434
3deef77b752c9940ac1cbe35dbcfb6a9ede59c67
/12day/03.WSGIServer.py
d2a68325e7e005d5449172bdc125a07b9a6af31b
[]
no_license
vstarman/python_codes
c682a4aa96e90172da6292f4e245da4a41c97531
64ddd38af6cf65861602620a0196bc460bc359d4
refs/heads/master
2021-09-05T01:31:55.882001
2018-01-23T12:43:45
2018-01-23T12:43:45
114,988,789
1
0
null
null
null
null
UTF-8
Python
false
false
3,421
py
import socket, time, re, sys class WSGIServer(): """定义一个wsgi服务器的类""" def __init__(self, documents_root, port=8080): # creat self.server_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # reuse self.server_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) ...
[ "vstarman@foxmail.com" ]
vstarman@foxmail.com
79d6585724e04b28bac073cb392c9c5ef0bd59b8
d4a569dcf616b7f05e53a44803e38196b436b8b9
/Thesis@3.9.1/Lib/site-packages/mypy/typeshed/stdlib/3/sys.pyi
d4f755c1ad33599685ded3ba3658e1b9ccca7d02
[ "MIT" ]
permissive
nverbois/TFE21-232
ac3178d24939c872c02a671c0f1d8cc471af516b
7113837b5263b5c508bfc6903cb6982b48aa7ee4
refs/heads/main
2023-06-05T18:50:59.207392
2021-06-25T19:54:40
2021-06-25T19:54:40
337,691,391
0
0
null
null
null
null
UTF-8
Python
false
false
5,925
pyi
# Stubs for sys # Ron Murawski <ron@horizonchess.com> # based on http://docs.python.org/3.2/library/sys.html from typing import ( List, NoReturn, Sequence, Any, Dict, Tuple, TextIO, overload, Optional, Union, TypeVar, Callable, Type, ) import sys from types import F...
[ "38432529+nverbois@users.noreply.github.com" ]
38432529+nverbois@users.noreply.github.com
3f9b710162d8d237511ac4d4e3ac58cf8db9305b
5308d3624036fb27ca158b520d2c59b643f8bf32
/galsim/moffat.py
f27dba6f4049084ac7c3edcb410abadf5e9eaf0c
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kernsuite-debian/galsim
bfacc7f665e35595189c03b164e61809c2943cc5
1515537b429fb3337d5c1090f9161f0fb223f2a0
refs/heads/master
2022-11-06T21:22:51.794046
2018-08-29T18:51:56
2018-08-29T18:51:56
82,295,722
0
1
NOASSERTION
2022-10-19T06:05:05
2017-02-17T12:33:53
Python
UTF-8
Python
false
false
8,691
py
# Copyright (c) 2012-2018 by the GalSim developers team on GitHub # https://github.com/GalSim-developers # # This file is part of GalSim: The modular galaxy image simulation toolkit. # https://github.com/GalSim-developers/GalSim # # GalSim is free software: redistribution and use in source and binary forms, # with or w...
[ "gijs@pythonic.nl" ]
gijs@pythonic.nl
a743c452d4c63fee68c318c62fa4043b50388f12
7137161629a1003583744cc3bd0e5d3498e0a924
/airflow/migrations/versions/142555e44c17_add_data_interval_start_end_to_dagmodel_and_dagrun.py
2eedcb81c6444f27cf2d8e79fb281f9a9134fc2e
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
jbampton/airflow
3fca85975854eb916f16143b659a9119af143963
dcfa14d60dade3fdefa001d10013466fe4d77f0d
refs/heads/master
2023-05-25T22:31:49.104069
2021-09-18T19:18:32
2021-09-18T19:18:32
247,645,744
3
0
Apache-2.0
2020-03-16T08:12:58
2020-03-16T08:12:57
null
UTF-8
Python
false
false
2,859
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
jbampton.noreply@github.com
5d1e6afc58cdf15e0476c647d701b742ce6780f6
60cf82eeddce21893f06a4b76e5b0515430b3ef2
/src/sintax/formats/criterion.py
a1e085b7288cde54d37257460d492ba2b9018613
[ "ISC" ]
permissive
theasylum/sintax
963e89c0984ee22b4f873d62cdac063efc6b748f
a81fdf1a891595168df53ac1d177d99eac16fb76
refs/heads/master
2020-06-22T15:26:33.171259
2019-07-19T08:46:29
2019-07-19T08:46:29
197,737,261
1
0
null
null
null
null
UTF-8
Python
false
false
2,797
py
""" Reads Criterion "raw.csv" files, and returns the resulting input into a dictionary that can be further manipulated. Criterion stores results as follows: $PROJECT/target/criterion/{benchmark group}/{function name}/ {value passed to function (parameters)}/ Inside that folder there are two other fol...
[ "bertjw@regeer.org" ]
bertjw@regeer.org
753ead96f492949a999e23032b1dce59150254e9
ba99df13d39dc8aa696c38a6c49d5193ce5c4c80
/scripts/box3d_trpo/run_box3d_pixel_v15_tf_fred_arch.py
bf6b510b2555cccd040e0c4dd8d3f1264665f7e8
[ "MIT" ]
permissive
fredshentu/public_model_based_controller
e5434ec075420ec5dd6d7355ba4751744a9b6248
9301699bc56aa49ba5c699f7d5be299046a8aa0c
refs/heads/master
2021-08-28T01:08:12.166349
2017-12-11T01:11:36
2017-12-11T01:11:36
113,795,659
0
0
null
null
null
null
UTF-8
Python
false
false
2,903
py
import os from sandbox.rocky.tf.baselines.nn_baseline import NNBaseline from sandbox.rocky.tf.core.network import ConvNetwork from sandbox.rocky.tf.policies.gaussian_conv_feature_policy import GaussianConvFeaturePolicy from sandbox.rocky.tf.policies.gaussian_conv_policy import GaussianConvPolicy from rllab.baselines.ze...
[ "fred960315@gmail.com" ]
fred960315@gmail.com
a7792d90a0b66b5d879402881bb716e6b36e682e
18a7c2173eb4fbb66bcc8b2ef117aad863846b83
/etc/krri.py
2d80dc5b94937d43053fc554347ee0e474096650
[]
no_license
mynameiskirang/python
5968607f6f61406e9f4b69b1a9edff31e84df153
4a48ea50378f9e079d0ece9110fc33afadf77434
refs/heads/master
2020-05-19T17:49:50.720578
2019-04-21T16:13:28
2019-04-21T16:13:28
null
0
0
null
null
null
null
UHC
Python
false
false
1,066
py
import csv col = 10 blank = 4 arr = [[""]*(col*blank) for i in range(600000)] setting = [[""]*8 for i in range(27)] Num = 0 for num in range(1,10): for i in range(0, col): for j in range(0, 10): try: #읽을파일 rname= "Graph"+str(num)+"_Wave_Tshort_00" + str(i) + s...
[ "na_qa@icloud.com" ]
na_qa@icloud.com
cfd926890b7a12f971499b3d9a97b2535364d58e
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/util/graph/Edge.pyi
2e34bad38d5952aca6e6483e08bacaac28e839b6
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
1,520
pyi
import ghidra.util.graph import java.lang class Edge(object, ghidra.util.graph.KeyedObject, java.lang.Comparable): """ An Edge joins a pair of vertices. The from and to vertex of an edge can not be changed. """ def __init__(self, from_: ghidra.util.graph.Vertex, to: ghidra.util.graph.Vertex)...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
859989ba770691ea96442cfcb7bbca9d2a652d36
9cdfe7992090fb91696eec8d0a8ae15ee12efffe
/greedy/maxMeetingsInRoom.py
c72a5d81483d96a85aa1f85718ef0ebd0ad17341
[]
no_license
binchen15/leet-python
e62aab19f0c48fd2f20858a6a0d0508706ae21cc
e00cf94c5b86c8cca27e3bee69ad21e727b7679b
refs/heads/master
2022-09-01T06:56:38.471879
2022-08-28T05:15:42
2022-08-28T05:15:42
243,564,799
1
0
null
null
null
null
UTF-8
Python
false
false
573
py
# wrong answer. Suspect the solution is wrong class Solution: def maxMeetings(self, N : int, S : List[int], F : List[int]) -> List[int]: # code here meets = list(zip(F, S, range(1, N+1))) meets.sort(key = lambda x: (x[0], x[1])) ans = [meets[0]] i = 1 while i < N...
[ "binchen.swe@gmail.com" ]
binchen.swe@gmail.com
7d0de73ae40f72ae5e0dd9c1981cc60ab149e75e
0b793bce2da8c3d09b7956c0672ddbffd46feaed
/atcoder/arc/arc084_a.py
d067d9c30e55cb49bb016c94a255db4d323cc47e
[ "MIT" ]
permissive
knuu/competitive-programming
c6c4e08fb231937d988bdc5a60a8ad6b31b97616
16bc68fdaedd6f96ae24310d697585ca8836ab6e
refs/heads/master
2021-01-17T09:39:02.647688
2020-11-07T03:17:22
2020-11-07T03:17:22
27,886,732
1
0
null
null
null
null
UTF-8
Python
false
false
332
py
from bisect import bisect_left N = int(input()) A = sorted(int(x) for x in input().split()) B = sorted(int(x) for x in input().split()) C = sorted(int(x) for x in input().split()) cnt = [0] * (N + 1) for i, b in enumerate(B): cnt[i + 1] = bisect_left(A, b) cnt[i + 1] += cnt[i] print(sum(cnt[bisect_left(B, c)] f...
[ "premier3next@gmail.com" ]
premier3next@gmail.com
ac79f8d7257e3bf527da58a1c4b70d913cda6521
39e1e256acae3fe9be4434024d42b9bb47bdd02f
/analysis/submissions/e88d1e36c4db7410802b3fda6db81d38_task1-1_1597071296/task1-1/main.py
bf7fdcd651f55cfacb57e5584ca141091694c7ef
[]
no_license
neulab/tranx-study
9fb67b9a2181f0b362e4f97316c502eee4539b19
e2a7089689f7f95e773e19c8f19513abe4fb8b9b
refs/heads/master
2023-06-14T04:46:01.010892
2021-07-08T09:29:05
2021-07-08T09:29:05
250,357,553
2
1
null
null
null
null
UTF-8
Python
false
false
366
py
# Example code, write your program here import random import string import pprint characters_list=[] int_list=[] for i in range(100): characters_list.append(random.choice(string.ascii_lowercase)) int_list.append(random.randint(1, 21)) #print(characters_list) #print(int_list) dictionary = dict(zip(characters_l...
[ "frankxu2004@gmail.com" ]
frankxu2004@gmail.com
4e452ec076db8ba7fd506905ae39e9d8ae5a789b
0d9fda11b6f6b0cb1cf397aa45dd21cf3a612b15
/docs/projects/oop-in-python/msdie.py
927ff5409510a059756145ac111486be6e4d03e7
[ "MIT" ]
permissive
milpontiangwenya/tech-department
c98eb9375558c81f022a9615b3f9c53fa2cfa4b9
7a4e7d7cd2675c19510cf9a80dcac504674111ce
refs/heads/master
2022-02-07T12:46:27.927665
2019-07-23T06:45:05
2019-07-23T06:45:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
#class definition for an n-sided die #import packages class MSdie: #constructor here #define classmethod 'roll' to roll the MSdie #define classmethod 'getValue' to return the current value of the MSdie #define classmethod 'setValue' to set the die to a particular value
[ "sheena.oconnell@gmail.com" ]
sheena.oconnell@gmail.com
16dc363eea70d018e7688966abab2cf64ad39754
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_144/ch46_2020_04_06_19_03_41_278160.py
359be63da56cf45e5606981e79c2a3b001d2471e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
def numero_no_indice(lista): i = 0 new_list = [] while i < len(lista): if lista[i] == i: new_list.append(i) i +=1 return new_list
[ "you@example.com" ]
you@example.com
e05c00915f992b03e9d9703f593bb0844b22ee57
ddc15592dede715b4aff97a10009d39bba76e566
/lsnm_in_python/analysis/avg_FC_diffs_across_subjs.py
d5dbdd3821babd54263ffe896edda9a788746676
[ "LicenseRef-scancode-public-domain" ]
permissive
xlong0513/Brain_inspired
d8a5c02da17f56d8906d5fa76efd3a757c5b5ae0
816c1c4fd5eb19d0463ba19c0a8c0db8465b4912
refs/heads/master
2022-06-01T20:44:07.366460
2020-05-05T10:05:36
2020-05-05T10:05:36
256,150,573
0
0
null
null
null
null
UTF-8
Python
false
false
7,842
py
# ============================================================================ # # PUBLIC DOMAIN NOTICE # # National Institute on Deafness and Other Communication Disorders # # This software/database is a "United States Government Work" under the # terms of the United States Copyright ...
[ "xinlong0513@163.com" ]
xinlong0513@163.com
2217ee76daecfe84f81849ca7bcda17568b04510
7bc004d6e22ccec582f2fb7f6651a4034feff4f5
/Interpolation/Other/New Tab with Masters of Selected Glyphs.py
9cc9c627ea19d4987f713d9fc33c2ca3ba19dc8e
[ "Apache-2.0" ]
permissive
beppeartz/Glyphs-Scripts
d7102291b2bd6bda2680aaeadac4133ddef82327
e248fb0701949473dfde358ee83acf3a564c9d55
refs/heads/master
2022-01-13T22:07:28.532747
2021-12-27T22:01:11
2021-12-27T22:01:11
40,445,584
0
0
null
2015-08-09T18:06:09
2015-08-09T18:06:09
null
UTF-8
Python
false
false
467
py
#MenuTitle: New Tab with Masters of Selected Glyphs # -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals __doc__=""" Opens a new Edit tab containing all masters of selected glyphs. """ import masterNavigation as nav thisFont = Glyphs.font # frontmost font if thisFont and thisFont....
[ "res@glyphsapp.com" ]
res@glyphsapp.com
337be842715a37c45179d4aa5d8920ef90f7b136
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/elastic/v20200701preview/_enums.py
f335bf9639b12e949bd76fca9ff7ea773793f0e6
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
1,075
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from enum import Enum __all__ = [ 'ManagedIdentityTypes', 'MonitoringStatus', 'ProvisioningState', 'TagAction', ] class ManagedIdent...
[ "noreply@github.com" ]
morrell.noreply@github.com
32c25525e3d4a909105ca7adf465fa65d2316389
fb909b0716f62ae118afa7d505cbcbd28f62bc63
/venv/lib/python3.6/site-packages/tracking/migrations/0040_auto_20201031_0439.py
3f0a6705ae023c6014d6e71b02ccf0bc7cc31a78
[]
no_license
dkalola/JustAsk-Final
a5b951462cd3c88eb84320bb8fcf10c32f959090
c2e7c2ffae4d3c2d870d5ba5348a6bae62db5319
refs/heads/main
2023-05-24T16:02:17.425251
2021-06-16T19:33:52
2021-06-16T19:33:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
# Generated by Django 3.1.1 on 2020-10-31 04:39 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('tracking', '0039_auto_20201031_0438'), ] operations = [ migrations.AlterField( ...
[ "divyanshukalola88@gmail.com" ]
divyanshukalola88@gmail.com
8029f19217e88483f303beadc6e26e39cdb97dd0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02400/s282700233.py
164a7ba186abced630632516a93171a862b5949b
[]
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
import math r = float(input()) S = math.pi * r**2 L = 2 * math.pi * r print(S, L)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d80d5e79d8651a54d21a6514d4614a3945acca00
5381c2f94c9c11a0b9678378bbf0ea783f6969f8
/calc/pycalc/safe.py
dbc124b5af8cac08b789bd2fe4c7cbe9d55af647
[]
no_license
Bowserinator/AegisCommand
ccdcf2807e63e633bd9bb261699ff18d79bc275f
2b226751f6302361cffef42378be4174621e372a
refs/heads/master
2021-01-02T23:45:47.845299
2017-08-06T19:05:30
2017-08-06T19:05:30
99,507,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,831
py
"""Safety script to delete unsafe variables in the code Kinda useless but I guess some people would find it better to have it""" unsafe = [ "__import__", "import", "decode", "encode", "eval", "exec", "open", "sys", "os", "file", "imp", "class", "assert", "def", ...
[ "bowserinator@gmail.com" ]
bowserinator@gmail.com
6ff64b329113605c8ac4da135caca84159e6afe4
aa5050aeccdd649730c1163e56e98bcd919e460d
/Tree/树的子结构/HasSubtree.py
dba29b7948a5854b5f3feb5909279e8b7ae2c156
[]
no_license
darrenzhang1007/Algorithm
482ad837fc7135ba521d73f21989d2326953d506
8e121225b7952ef0aa45d2d4970874be944ae93a
refs/heads/master
2022-12-02T17:44:41.934246
2020-08-16T15:43:42
2020-08-16T15:43:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,614
py
# -*- coding:utf-8 -*- class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def HasSubtree(self, pRoot1, pRoot2): # write code here if pRoot2 is None or pRoot1 is None: return False def hasEqual(pRoo...
[ "785320051@qq.com" ]
785320051@qq.com
6687abcc4ee980ffd28c09a14f24077d5e749ae6
42b9bafc3c757543328d93fb60269ad4255aae17
/cashier/resources.py
c2beeae2162a11491ed2aae2133b94bc811190ed
[ "MIT" ]
permissive
mejeng/kasir
4fe66d1828e72b64d770426d71185cdd3c54127e
cc6f9158b61c0cb45078ddf798af9588c8771311
refs/heads/master
2020-09-25T03:36:10.144439
2019-11-30T07:59:23
2019-11-30T07:59:23
225,908,795
2
0
MIT
2019-12-04T16:21:15
2019-12-04T16:21:15
null
UTF-8
Python
false
false
174
py
from import_export import resources from .models import DaftarTransaksi class TransactionResources(resources.ModelResource): class Meta: model = DaftarTransaksi
[ "slashsdull@gmail.com" ]
slashsdull@gmail.com
98a517e82787535c19015d8f41d39aa87c68a537
6e47be4e22ab76a8ddd7e18c89f5dc4f18539744
/venv/openshift/lib/python3.6/site-packages/kubernetes/client/models/v1_server_address_by_client_cidr.py
6997dea23e00ca144b27a0e500d5e3e95206dbf1
[]
no_license
georgi-mobi/redhat_ocp4.5_training
21236bb19d04a469c95a8f135188d3d1ae473764
2ccaa90e40dbbf8a18f668a5a7b0d5bfaa1db225
refs/heads/main
2023-03-30T10:47:08.687074
2021-04-01T05:25:49
2021-04-01T05:25:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,650
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.11 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import r...
[ "student@workstation.lab.example.com" ]
student@workstation.lab.example.com
83d741e529035424bfb173e6f1d599799aa25c89
7c15f211adc9e9eb9f66ccdd570c9f38dff7ea8d
/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/_client.py
76b0fc3cb80ffb00dc5a9f3edc0074f398f2c82d
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/autorest.python
cc4bfbf91ae11535731cad37cedd6b733edf1ebd
a00d7aaa3753ef05cb5a0d38c664a90869478d44
refs/heads/main
2023-09-03T06:58:44.246200
2023-08-31T20:11:51
2023-08-31T20:11:51
100,315,955
47
40
MIT
2023-09-14T21:00:21
2017-08-14T22:58:33
Python
UTF-8
Python
false
false
4,073
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
d2741b142ac72bf65915d1fca8e80a9bcbbb454d
f3caf3519b410f1ee98d1e55f781bb60132f211a
/sesion_4/robotai.py
28a2c2718d3e521c57f770af2bd7a7001c1ff91c
[]
no_license
diegotriana11/python-master
3895f3cc41cf7f0fe474b522162670ec6aaeccba
e7b654870896d2c94e2be24d5683574aaf6cb44b
refs/heads/master
2020-09-07T16:58:02.727670
2016-09-25T19:41:58
2016-09-25T19:41:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
from robot import Robot import matplotlib.pyplot as plot import math class RobotAI(Robot): def seguir(self, xo, yo): ux = math.cos(self.t) uy = math.sin(self.t) vx = xo - self.x vy = yo - self.y d = ux * vx + uy * vy r = (vx**2 + vy**2)**0.5 if d >= r: ...
[ "kmmx@hsoft.local" ]
kmmx@hsoft.local
39974f6d1e114391387791611cadc1985d098091
49536aafb22a77a6caf249c7fadef46d63d24dfe
/tensorflow/tensorflow/contrib/data/python/kernel_tests/iterator_ops_test.py
64eedecb5cf920e7c6b89dd951b1cb6b6e11009e
[ "Apache-2.0" ]
permissive
wangzhi01/deeplearning-1
4e5ad93f0d9ecd302b74352f80fe1fa6ae70bf0d
46ab82253d956953b8aa98e97ceb6cd290e82288
refs/heads/master
2020-05-28T03:14:55.687567
2018-09-12T16:52:09
2018-09-12T16:52:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,863
py
# Copyright 2017 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...
[ "hanshuobest@163.com" ]
hanshuobest@163.com
ec9661055806bf608d680c31602cddf4f16afaff
b42850bc3e36bbd1683070393582617f2b3cd8e6
/Exam_16_08_20/project/software/express_software.py
db3c3bd039c77f3f14e0dd0f082a137f77802d9b
[]
no_license
marianidchenko/Python_OOP
aecca18be6df3850c0efbf2fa6d25bf3ff53ae96
547c12cbdad5b8c16fa55bba6c03b71db181ad2b
refs/heads/main
2023-07-09T05:42:43.863681
2021-08-14T14:55:51
2021-08-14T14:55:51
381,572,168
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
from project.software.software import Software class ExpressSoftware(Software): TYPE = "Express" memory_factor = 2 def __init__(self, name, capacity_consumption, memory_consumption): new_memory = int(memory_consumption * ExpressSoftware.memory_factor) super().__init__(name, ExpressSoftwar...
[ "marianidchenko@gmail.com" ]
marianidchenko@gmail.com
d1452747a62b51f3b744fe1e987a746fb2a010b1
342a1ec794df5424bfc4f6af2cb8de415068201b
/oscar_promotions/conf.py
04a41e4cddd3b7b455d944474aaf7f48062c75e4
[]
no_license
penta-srl/django-oscar-promotions
c5d0b159950189f23852665ce7e3b3a2fe248bd5
65bdf39b48409311e7284fc0a12e8b2e17f176dd
refs/heads/master
2020-07-06T23:48:45.660316
2019-07-08T19:23:15
2019-07-08T19:23:15
203,176,440
0
0
null
2019-08-19T13:16:55
2019-08-19T13:16:55
null
UTF-8
Python
false
false
717
py
from oscar.core.loading import get_class SingleProduct = get_class('oscar_promotions.models', 'SingleProduct') RawHTML = get_class('oscar_promotions.models', 'RawHTML') Image = get_class('oscar_promotions.models', 'Image') PagePromotion = get_class('oscar_promotions.models', 'PagePromotion') AutomaticProductList = get...
[ "sasha@sasha0.ru" ]
sasha@sasha0.ru
d906fab608afb5da22ad7279b6627e64d47fe827
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02686/s748344982.py
09fa7e43a826d467f581733c8790139b8003bb68
[]
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
862
py
# input N = int(input()) S = [input() for _ in range(N)] # process T = [] for s in S: while '()' in s: s = s.replace('()', '') T.append(s) l1 = [] l2 = [] for t in T: op = t.find('(') if op < 0: op = len(t) cl = len(t) - op if cl+op != 0: if cl <= op: l...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
988a51826c16601bdc825af89f23a17af69d3daa
9d9eb39e6adc35926d9ca5c38d5bbd05ccc6d15b
/python/binary_tree/create_balanced_btree.py
5e53687e1bcacc998a3609384e40dcbd86054e01
[ "Unlicense" ]
permissive
amitsaha/learning
8121d60639f64a2a517ffb855d73de083ebfb445
4c1d85adf8018465716a1e8a74afadfe5f5528a2
refs/heads/master
2023-03-07T13:55:12.871756
2022-11-08T06:45:23
2022-11-08T06:45:23
25,386,786
6
4
Unlicense
2023-02-25T00:55:16
2014-10-18T04:03:55
Python
UTF-8
Python
false
false
709
py
''' Create a balanced binary search tree from a given sorted array ''' class Node: def __init__(self, value): self.value = value self.left = None self.right = None def preorder(root): print root.value if root.left: preorder(root.left) if root.right: preorde...
[ "amitsaha.in@gmail.com" ]
amitsaha.in@gmail.com
289e1088e4ac6e54a7bd6c0dc0eb8024313a147a
333fac4c6a47b2448eca1017a794c386672a4aba
/neighbourapp/migrations/0003_auto_20201103_2036.py
b285ede772a02a3b392c5fce9cc0ac7e9b5d8708
[ "MIT" ]
permissive
mornicamwende/neighbourhood
106412d39b55b52f6cf4fb034e54e294f5de03f9
bf85d7afdb77b059856dc7ecc695cb79d8d1ffd0
refs/heads/master
2023-01-06T01:33:27.812531
2020-11-04T13:29:31
2020-11-04T13:29:31
308,653,821
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 3.1.2 on 2020-11-03 17:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('neighbourapp', '0002_auto_20201103_2026'), ] operations = [ migrations.AlterField( model_name='post', name='image', ...
[ "mornicamwende@gmail.com" ]
mornicamwende@gmail.com
5cfe9617298832ed1cb529b6d28f06ad8c37988c
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/survey/tests/test_views.py
bcbf6f04e6125996702cb113e23943703d10372e
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
5,465
py
""" Python tests for the Survey views """ import json from collections import OrderedDict from django.test.client import Client from django.urls import reverse from common.djangoapps.student.tests.factories import UserFactory from lms.djangoapps.survey.models import SurveyAnswer, SurveyForm from xmodule.modulestore...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
c182670425a76e290a3d131e32c3fce1768e54e4
9c718b8964d476db4728fc0cf18e24292dd8cf60
/MxOnline/MxOnline/urls.py
b6f6b97c405f6cd71efc76a9ad34b390a91b32ce
[]
no_license
1400720231/Django-Projects
960f9226e0f5c01628afd65b9a78e810fdeb1b83
72f96788163f7ffe76e7599966ddbfa1d2199926
refs/heads/master
2021-06-25T17:41:14.147011
2019-04-03T02:24:38
2019-04-03T02:24:38
114,955,012
1
0
null
null
null
null
UTF-8
Python
false
false
3,372
py
"""MxOnline URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "937886362@qq.com" ]
937886362@qq.com
e56150b56fb4a814390034b0c1b3f2d090ca6f21
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/appsync_write_f/resource_tag.py
e11a58114a16cee65546f618dc4f14e7184cc18e
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
adc32cb60c226e739cab0037aec5df3d8b0ede09
0b5c6244ff93d6bac085fe0309961e0ce5e8c004
/conanfile.py
920fe9a2c6a788aa79bf1fd9229e60e1447b50ad
[ "MIT" ]
permissive
jgsogo/conan-cpython
b46ee2b82e157a5035caf0fa42bc8e1f420f0432
12526431898cc4002e78ac0f12a1c2c19c45fab6
refs/heads/master
2020-05-18T13:32:58.670959
2019-05-01T16:07:12
2019-05-01T16:07:12
184,443,371
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
from conans import ConanFile, tools, AutoToolsBuildEnvironment import shutil import os class CPython(ConanFile): name = "cpython" version = "3.7.3" settings = "os", "arch", "compiler", "build_type" def source(self): url = "https://github.com/python/cpython/archive/v{v}.tar.gz".format(v=self.v...
[ "jgsogo@gmail.com" ]
jgsogo@gmail.com
606160379df1371f13cbf233b2360cdc0625e5e2
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/3-OO-Python/14-multiple-inheritance_20200417235022.py
fa05f62062a5c7bdc540b7d8c3135b15d4cb001f
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
#multiple inheritance class User(object): def __init__ (self, name, power): self.name = name self.power = power print('init complete') def attack(self): print(f'attacking {self.power} power') class Wizard(User): def __init__(self, name, power, ): super()._...
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
c78331a1949f81f08f8e919c0054d33c36185ece
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_272/ch25_2019_03_22_10_51_48_563237.py
edf748e7c17e8fc0272a7e4d4c199205c36332a8
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
distância=float(input("Digite a distância a percorrer:")) if distância <= 200: passagem = 0.5 * distância else: passagem = 0.45 * distância print("Preço da passagem: R$ %7.2f" % passagem)
[ "you@example.com" ]
you@example.com
fa2d8b37914f559d00865c70f5c4ec389187296c
ecf735569d6128e4ff4191335752385b47062084
/app/urls.py
8a23059cfa48b7a94f586908cf1571fd1d80455e
[ "Apache-2.0" ]
permissive
silverbackhq/silverback
1e8dc26a22c9439a19e922e624dda546120b8262
fcdeccd6f58abed2a10be7b34b2e2bfc954499bb
refs/heads/master
2023-08-17T20:51:37.910446
2020-07-24T13:41:35
2020-07-24T13:41:35
163,096,706
44
11
Apache-2.0
2023-05-28T11:37:48
2018-12-25T16:20:08
Python
UTF-8
Python
false
false
18,468
py
# Copyright 2019 Silverbackhq # # 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 applicable law or agreed to in writing...
[ "hello@clivern.com" ]
hello@clivern.com
b25aabcca727963ff09e4b3871e95ec4ca64f57f
d7ccb4225f623139995a7039f0981e89bf6365a4
/.history/carts/views_20211013002410.py
cfd3366c7921be447536d4c99af00755e78511bb
[]
no_license
tonnymuchui/django-mall
64fd4abc3725c1bd0a3dcf20b93b490fe9307b37
55c083d8433be3c77adc61939cd197902de4ce76
refs/heads/master
2023-08-23T04:59:20.418732
2021-10-13T15:59:37
2021-10-13T15:59:37
415,668,388
1
0
null
null
null
null
UTF-8
Python
false
false
4,133
py
from django.shortcuts import render, redirect, get_object_or_404 from store.models import Product,Variation from .models import Cart, CartItem from django.core.exceptions import ObjectDoesNotExist # Create your views here. def _cart_id(request): cart = request.session.session_key if not cart: cart = re...
[ "tonykanyingah@gmail.com" ]
tonykanyingah@gmail.com
1c89973d235eef09b513d16069b27ad2c29ff8cd
b009fa634b04177b77a6cc7234dcc329d569e450
/Connections/ConnectionGroup.py
1a265ec27f14bbcbad6bed9a1c98f28388838b64
[]
no_license
SimLeek/HTM-Filetype
5b873c5c97bbe73d0876ad7c15ff90cf7a8d071c
51b299c0aa59148d2f8b69bc540d096f5a9ad8f2
refs/heads/master
2020-12-09T00:11:24.430006
2016-11-25T19:07:28
2016-11-25T19:07:28
67,306,291
1
0
null
null
null
null
UTF-8
Python
false
false
18,707
py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2014-2016, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This p...
[ "josh.miklos@gmail.com" ]
josh.miklos@gmail.com
674032ef2c7902a92fc86f8d1c731b4f2225bde8
717c07ef9f2192042dd850f916041404b2ab33f5
/setup.py
9182f67805f044bbcda64b333aad14127bf4e5c9
[]
no_license
espenmn/bda.plone.shopviews
38f6cc0057da4ab41d49ababd6a0b570376c78c5
36a2848839e7dea44c1020a98440707196719b99
refs/heads/master
2021-01-18T22:24:40.544985
2014-02-21T10:11:34
2014-02-21T10:11:34
10,687,852
0
0
null
2016-09-16T11:35:27
2013-06-14T11:48:36
JavaScript
UTF-8
Python
false
false
1,256
py
import os from setuptools import ( setup, find_packages, ) version = '0.3' shortdesc = " bda.plone.shop: Demo Views" longdesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() longdesc += open(os.path.join(os.path.dirname(__file__), 'CHANGES.rst')).read() longdesc += open(os.path.join(os.pa...
[ "espen@medialog.no" ]
espen@medialog.no
84136442ecdc9dd8adb4d27a1c727a5b81d14a55
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03837/s721538098.py
7ad462b06891930c96b5534664848c98d247d1a8
[]
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
391
py
from scipy.sparse.csgraph import floyd_warshall N,M = map(int,input().split()) edge = [[float("inf") for i in range(N)] for j in range(N) ] abc = [] for _ in range(M): a,b,c = map(int,input().split()) abc.append((a,b,c)) edge[a-1][b-1] = c edge[b-1][a-1] = c dist = floyd_warshall(edge) ans = 0 for...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
56b611cdd23a3eacfbe961dbbf80ce0bc18ede57
546b8c3e1b876aab272e587765951e8acd7b3122
/irlc/ex04/pid_lunar.py
7c78652995c803115c7a65deee9af271741577a6
[]
no_license
natashanorsker/RL_snakes
2b8a9da5dd1e794e832830ab64e57ab7d4b0d6c3
be8c75d1aa7a5ba7a6af50a0a990a97b0242c49d
refs/heads/main
2023-04-21T14:08:30.840757
2021-05-11T17:33:35
2021-05-11T17:33:35
358,572,447
1
1
null
null
null
null
UTF-8
Python
false
false
4,817
py
""" For information about the Apollo 11 lunar lander see: https://eli40.com/lander/02-debrief/ For code for the Gym LunarLander environment see: https://github.com/openai/gym/blob/master/gym/envs/box2d/lunar_lander.py (although we will only need the time discretization of dt=1/50). This implementation is inspired by:...
[ "natashanorsker@gmail.com" ]
natashanorsker@gmail.com
7970f08b77e75e6b9e3a86cd87cc8b8901e86929
3a56e8eb8f2182eabe676c752f5d6629f6db1a9c
/py_gnome/tests/unit_tests/test_weatherer.py
7a7fa9a7ad36c36222aacb0c4bec409112dd1329
[]
no_license
kthyng/GNOME2
ae12b706224762c63d385e303ff431dcac0f7822
81f0e73b50b83022bf8327e181a3799fa2d980c1
refs/heads/master
2021-01-22T01:51:34.116785
2014-03-15T12:49:27
2014-03-15T12:49:27
15,806,997
1
0
null
null
null
null
UTF-8
Python
false
false
8,629
py
#!/usr/bin/env python ''' Unit tests for the Weatherer classes ''' from datetime import datetime, timedelta import pytest from pytest import raises from conftest import sample_sc_release import numpy np = numpy from gnome.utilities.inf_datetime import InfDateTime from gnome.array_types import mass, rise_vel, mass...
[ "james.makela@noaa.gov" ]
james.makela@noaa.gov
577f382690dff09da10759418a2580aa9d7df66f
aadcddb4daee7ae84cb0785f9b0e82d8b5f6a1af
/gemtown/users/migrations/0008_auto_20190424_2025.py
b75ca7729635aea695e0c8b10f8dd2bbd06538d3
[ "MIT" ]
permissive
doramong0926/gemtown
082d210493930312ad3ecf3e813f568204979387
2c39284e3c68f0cc11994bed0ee2abaad0ea06b6
refs/heads/master
2022-12-12T10:23:11.363452
2019-05-23T17:18:03
2019-05-23T17:18:03
183,075,120
0
0
NOASSERTION
2022-12-09T20:37:50
2019-04-23T18:37:03
JavaScript
UTF-8
Python
false
false
1,538
py
# Generated by Django 2.0.13 on 2019-04-24 11:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0007_auto_20190424_2011'), ] operations = [ migrations.AlterField( model_name='user', name='country', ...
[ "doramong0926@gmail.com" ]
doramong0926@gmail.com
dd6166e54ce3f918f2668c99ad1befd66efdcbb8
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/eqptcapacity/l3v4usage32hist15min.py
08053946749e74e7db77d1a59df684661cebc61f
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
32,808
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
bc14781f6113bc5ea4c576963d9b7ad2dc85d784
05e2277cf1af409123f43fc0a3226014dd170556
/5338.py
9b83d26fcb85b3f1b1a009a2a3cfa9816de6a4b9
[]
no_license
2021-01-06/baekjoon
4dec386574ce9f51f589a944b71436ce1eb2521e
ca8f02ecbed11fe98adfd1c18ce265b10f1298bc
refs/heads/main
2023-05-06T08:19:53.943479
2021-05-14T03:25:55
2021-05-14T03:25:55
327,730,237
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
r = " _.-;;-._\n'-..-'| || |\n'-..-'|_.-;;-._|\n'-..-'| || |\n'-..-'|_.-''-._|" print(r)
[ "noreply@github.com" ]
2021-01-06.noreply@github.com
2126d0e6f819d2f8228404e6da813259e36d4d9d
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/.install/.backup/lib/surface/dataflow/logs/list.py
f28762d652662cd185af353118e8e3f26c73be04
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
4,207
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "toork@uw.edu" ]
toork@uw.edu
a1a5d6d35688b5d03aa7b87e61ffdde734cd42d9
80568d6f2ae7d811d12492998edac55c74d07b08
/src/backend/app/tests/__init__.py
7ad6d08bb9c719982929d19d29077c2cdc95f986
[ "MIT" ]
permissive
skaersoe/web-app-skeleton
166aec034111aaa21d03386c1699317ce3bc1621
af7580822b18e714d7c0b54f6fdcd11bf57f16e0
refs/heads/master
2023-04-22T10:01:16.986724
2020-11-06T23:20:04
2020-11-06T23:20:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
# -*- coding: utf-8 -*- """ Unit tests & utilities for the application. """
[ "contact@douglasdaly.com" ]
contact@douglasdaly.com
9bf73ed630402dac7ae78a0d8024344fb7bc36c1
a20cb5dfd6ae2e5067a822f3b828a7c72e55489a
/7_Reverse_Integer.py
3ff33ebfc65f4d84fb3ae102c4fc7428f7f587d1
[ "MIT" ]
permissive
rpm1995/LeetCode
51f6325cf77be95bb1106d18de75974e03dba9b7
147d99e273bc398c107f2aef73aba0d6bb88dea0
refs/heads/master
2021-12-07T12:00:59.386002
2021-08-12T02:55:19
2021-08-12T02:55:19
193,178,028
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
class Solution: def reverse(self, x): """ :type x: int :rtype: int """ negative = False if x < 0: negative = True # x = str(abs(x)) # y = "" # for i in range(len(x) - 1, -1 ,-1): # y += x[i] #...
[ "31997276+rpm1995@users.noreply.github.com" ]
31997276+rpm1995@users.noreply.github.com
ce6e545dd6aeacb825dbc02fce6b0fdcd0e09478
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/stmt_for_list_nonlocal-83.py
700f6f1b7fdff2447bb0082637f068e893d2663f
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
x:int = 0 def crunch(zz:[[int]]) -> object: z:[int] = None global x def make_z() -> object: nonlocal z for z in zz: pass # Set z to last element in zz make_z() for x in z: pass # Set x to last element in z crunch([[$Exp,2],[2,3],[4,5],[6,7]]) print(x)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
1873a83d2c391a13a16edf28969ffb67056d7544
54c7e0d5c63246c46652292f3817fa6d46512fa8
/apps/base/models.py
5efae51e43b1c0788011dfc7ca040c98509e0f35
[ "Apache-2.0" ]
permissive
helianthus1997/BlogBackendProject
4360d3837fa27b78c1e57c84d94f1055333ae15c
d4c0ee0bf19e5578e07425465930e1004cbe16d7
refs/heads/master
2020-03-14T11:29:53.918567
2018-04-14T17:00:39
2018-04-14T17:00:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,048
py
import hashlib from django.db import models from material.models import MaterialSocial, MaterialMaster class NavigationLink(models.Model): """ 自定义导航 """ TARGET_TYPE = ( ("_blank", "blank - 浏览器总在一个新打开、未命名的窗口中载入目标文档。"), ("_self", "self - 这个目标的值对所有没有指定目标的 <a> 标签是默认目标,它使得目标文档载入并显示在相同的框架或...
[ "i@coderap.com" ]
i@coderap.com
2d24fc4a0d81288c02b7170e0b960d7804117ead
a807ce0fa3e3e9c3b558b2e977c05e60c3a667b1
/scripts/speaker_recognition/rttm_to_manifest.py
3d7b772b05b94d534edf34d0698165658d9e6063
[ "Apache-2.0" ]
permissive
blisc/NeMo
630376e7555c0face994da2f6f9af5d8d31243c3
fadeb45c84d6b323d78e30475538455a88b7c151
refs/heads/rework_reqs
2023-08-17T00:03:39.248669
2021-08-12T15:15:06
2021-08-12T15:15:06
208,142,160
2
0
Apache-2.0
2022-02-03T16:30:33
2019-09-12T20:37:24
Jupyter Notebook
UTF-8
Python
false
false
1,666
py
# Copyright (c) 2020, NVIDIA CORPORATION. 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 appli...
[ "noreply@github.com" ]
blisc.noreply@github.com
91ac240c83a14f13f239bfa42d189a7ab771a61f
e71fa62123b2b8f7c1a22acb1babeb6631a4549b
/xlsxwriter/test/comparison/test_chart_pie02.py
da43f3a95439dfc445a57e81a063b68c6b55a26e
[ "BSD-2-Clause" ]
permissive
timgates42/XlsxWriter
40480b6b834f28c4a7b6fc490657e558b0a466e5
7ad2541c5f12b70be471b447ab709c451618ab59
refs/heads/main
2023-03-16T14:31:08.915121
2022-07-13T23:43:45
2022-07-13T23:43:45
242,121,381
0
0
NOASSERTION
2020-02-21T11:14:55
2020-02-21T11:14:55
null
UTF-8
Python
false
false
1,229
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2022, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
8915d6ab351b062c940bd3ec98322f3559a95024
1546f4ebbb639fddf05d4aebea263931681eaeeb
/code/app/simulation/action/base.py
f63f1c57de9de7e666e7fd5ee0f69e77221c0e48
[]
no_license
ferdn4ndo/the-train-app
34e9c885a658f51e42ec6184ca8058872b266244
4650433f7f860df3de1f7502cb052891c410618d
refs/heads/master
2023-01-21T07:15:02.984308
2020-11-22T23:57:28
2020-11-22T23:57:28
315,156,946
0
0
null
null
null
null
UTF-8
Python
false
false
2,143
py
from app.common.logger import generate_logger, LoggerFolders from app.simulation.exception.error import ConflictConditionError class BaseAction: name = "none" abbrev = "---" def __init__(self): """Class constructor""" self.moving_towards_section = "" self.lookup_train_prefix = "" ...
[ "const.fernando@gmail.com" ]
const.fernando@gmail.com
71a7bfb7356831f49556629bc9fe1232ac1a10ec
1b862f34c125ce200244dd79e4fda4b5b605ce2e
/.history/ML_T2_Validation_20210612130104.py
0801f4946cabc4c874db2864078408c2e39b6465
[]
no_license
edwino26/CoreImages
26085a49cf1cb79442ae563a88354b2fdceace87
6bf6e68cac8ab36c87b1e6ea702bfe6882b0f40e
refs/heads/master
2023-06-22T12:53:37.344895
2021-07-21T04:31:44
2021-07-21T04:31:44
309,553,247
0
4
null
2021-04-29T23:23:15
2020-11-03T02:45:07
Lasso
UTF-8
Python
false
false
9,227
py
#T2 TEST DATA # %% import pandas as pd import numpy as np import matplotlib.pyplot as plt import pickle from scipy import interpolate from scipy.integrate import simps from numpy import trapz # %% #Load Stack UVStack = pd.read_excel('./ML_Results/T2_test/ImgStack.xls') ImgStackk = UVStack.copy().to_numpy() # %% de...
[ "ortega.edwin.y@gmail.com" ]
ortega.edwin.y@gmail.com
e0d03d82a89f95990dd13ba64cb7019fc71d2dd3
3b786d3854e830a4b46ee55851ca186becbfa650
/SystemTesting/pylib/vmware/nsx/manager/bridge_endpoint/api/nsx70_crud_impl.py
008596b40abee0735845510a687241e799f38991
[]
no_license
Cloudxtreme/MyProject
d81f8d38684333c22084b88141b712c78b140777
5b55817c050b637e2747084290f6206d2e622938
refs/heads/master
2021-05-31T10:26:42.951835
2015-12-10T09:57:04
2015-12-10T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
import vmware.nsx_api.manager.bridgeendpoint.bridgeendpoint\ as bridgeendpoint import vmware.nsx_api.manager.bridgeendpoint.schema.bridgeendpoint_schema\ as bridgeendpoint_schema import vmware.nsx.manager.api.base_crud_impl as base_crud_impl class NSX70CRUDImpl(base_crud_impl.BaseCRUDImpl): _attribute_m...
[ "bpei@vmware.com" ]
bpei@vmware.com
a4129e72e7a4b57f2a59c688c107e9ab48afe0a9
57845ff6759377884092d8d1c5fe82244e30b108
/code/era5_heat_comp/bias_correction.py
df5ba6a607bd21e394286839459eee3bba4e7534
[ "CC-BY-4.0" ]
permissive
l5d1l5/project10
c11424c7329cdc264f6fedd974a8f887fe6c8cf8
ded1ef7ce04573d669c2f0352b03317f64f1f967
refs/heads/main
2023-06-10T17:17:01.748249
2021-06-09T13:20:35
2021-06-09T13:20:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,728
py
#!/usr/bin/env python """ Bias correction for the UTCI dataset Both the climate model data and the ERA5-HEAT data have been regridded to 1x1 degree and uploaded to JASMIN. Here we use the ERA5-HEAT dataset from 1985 to 2014 and compare this to the derived UTCI from each climate model. Therefore, instead of bias-corr...
[ "chrisroadmap@gmail.com" ]
chrisroadmap@gmail.com
951acdaacbf96a5af43073fe36dba77c68a2eb14
71c7683331a9037fda7254b3a7b1ffddd6a4c4c8
/Phys/BsJPsiKst/python/BsJPsiKst/GetTristanWeights_paramAc.py
de47f925bc07c284ed7678d0bb08603b73f108b6
[]
no_license
pseyfert-cern-gitlab-backup/Urania
edc58ba4271089e55900f8bb4a5909e9e9c12d35
1b1c353ed5f1b45b3605990f60f49881b9785efd
refs/heads/master
2021-05-18T13:33:22.732970
2017-12-15T14:42:04
2017-12-15T14:42:04
251,259,622
0
1
null
null
null
null
UTF-8
Python
false
false
2,884
py
from ROOT import * from math import * from array import * from Urania import PDG from Urania.Helicity import * from Urania import RooInterfaces as D from Urania import * AccessPackage("Bs2MuMu") from smartpyROOT import * from OurSites import * from sympy.utilities.lambdify import lambdify from parameters import KpiBins...
[ "liblhcb@cern.ch" ]
liblhcb@cern.ch
a5ab4535550b8fb055e694138a48dab497767a30
d22f8cd1a834f706d2c0cd77a814414cb4650265
/login/login/middleware/checksum.py
2a6998d66cfd6febc69caf3468ff43ac487ed4c2
[ "MIT" ]
permissive
teris1994/L2py
9e7535935f58d729453f39bee998f21240b85e8b
07cc5d7c5d52ac4179378b29ef4873b11f6daa0c
refs/heads/master
2023-09-01T06:21:10.625029
2021-10-24T12:48:18
2021-10-24T13:21:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
from common import exceptions from common.middleware.middleware import Middleware from login.packets.init import Init class ChecksumMiddleware(Middleware): @staticmethod def verify_checksum(data): if len(data) % 4 != 0: return False checksum = Int32(0) for i in range(0, le...
[ "yurzs@icloud.com" ]
yurzs@icloud.com
f27d8b36f9217b65566c972c890743a9021a09c8
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/m365securityandcompliance/v20210325preview/private_endpoint_connections_for_scc_powershell.py
4a495f7d094a2ede5756d18b1db3a816e0a007c7
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,923
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** 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, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
7854b547da510307bdd078230c768958d415bf82
17e31331b7bf66ce11b77ff26a4ddbeb8355c53b
/2M1207ANALYSIS/plotTinyTimResult.py~
14780eb0b19495045732afd7925ceec7476793c6
[]
no_license
YifZhou/Exoplanet-Patchy-Clouds
06e314b941055b2a758c081d5b169f5b909b416c
31c52938b22187182475872fd1550e3b9d384bf2
refs/heads/master
2020-12-24T16:43:02.882067
2015-12-11T22:26:30
2015-12-11T22:26:30
25,367,950
0
0
null
null
null
null
UTF-8
Python
false
false
497
#! /usr/bin/env python from __future__ import print_function import matplotlib.pyplot as plt import pandas as pd plt.style.use('ggplot') fn = '2M1207B_flt_F125W_fileInfo.csv' df = pd.read_csv(fn, parse_dates = {'datetime':['obs date', 'obs time']}, index_col = 'datetime') plt.plot(df.index, df['fluxA'], 's', label = '...
[ "zhouyifan1012@gmail.com" ]
zhouyifan1012@gmail.com
8a3a42371a8d7d3f73a4cbf063670af54642286d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03805/s696591698.py
98b40232bec4242d8b740de8f5e409457aaeddf4
[]
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
571
py
#入力 N,M = map(int,input().split()) graph = [ ] for _ in range(N+1): graph.append([]) for _ in range(M): a,b = map(int,input().split()) graph[a].append(b) graph[b].append(a) visited = [] for _ in range(N+1): visited.append(False) def dfs(dep,cur): global N,visited,graph if dep == N: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
71766a3c7b60cb8ab16636b0b4ab111ebb538092
586c97e81b448d9f4c1525205eaccc727f789ee7
/src/buildercore/bluegreen_v2.py
ccd36a3370ccf250b7b6d2e1a6a5ecf89f323b6e
[ "MIT" ]
permissive
elifesciences/builder
33542171fd43a454d8c45feae181037ff414874d
7de9bb53c7e6a447a075a66023815166ea54092f
refs/heads/master
2023-08-16T11:22:40.684539
2023-08-15T08:30:31
2023-08-15T08:30:31
56,778,863
12
14
MIT
2023-09-10T04:06:16
2016-04-21T14:08:05
Python
UTF-8
Python
false
false
8,715
py
"""Performs blue-green actions over a load-balanced stack (ElasticLoadBalancer v2). The nodes inside a stack are divided into two groups: blue and green. Actions are performed separately on the two groups while they are detached from the load balancer.""" import logging from . import core, utils, cloudformation, trop...
[ "noreply@github.com" ]
elifesciences.noreply@github.com
df5293357794e1ccbcb5ff320b79d5c8e310eda0
2063a4c153b380c1d6d25f0ece6fb514389f9b1d
/mock/buildbot_secret.py
f9a64aec05765a936f22e9ece4058f6782435778
[ "MIT" ]
permissive
musm/julia-buildbot
1d097f709d3f75c0becd46a9075fa52638f745d7
653746334ba7106cde197c910f4125a3f2930fc0
refs/heads/master
2021-06-24T08:15:38.373394
2020-07-15T06:10:41
2020-07-15T06:10:41
211,406,721
0
0
MIT
2019-09-27T21:48:59
2019-09-27T21:48:59
null
UTF-8
Python
false
false
515
py
GITHUB_WEBHOOK_SECRET="nothing to see here" GITHUB_OAUTH_CLIENT_ID="nothing to see here" GITHUB_OAUTH_CLIENT_SECRET="nothing to see here" GITHUB_STATUS_OAUTH_TOKEN="nothing to see here" COVERALLS_REPO_TOKEN="nothing to see here" CODECOV_REPO_TOKEN="nothing to see here" FREEBSDCI_OAUTH_TOKEN="nothing to see here" FQDN="...
[ "staticfloat@gmail.com" ]
staticfloat@gmail.com
b1d83eb193e2280bb822881484407fa574b2b1dd
03ec2daac0989f9b6936b1e87d8ca1b0d99f1bce
/optfn/local_attention.py
cd07243576469d8196efc9d4b5eacfb79f74b7cb
[]
no_license
SSS135/optfn
f7364dce8c1857baa90d2d6564316762c574a9ba
48ae4f5439daa89ac54921a7642e612838c724eb
refs/heads/master
2020-05-29T15:21:38.827291
2020-04-29T17:51:09
2020-04-29T17:51:09
189,217,719
0
0
null
null
null
null
UTF-8
Python
false
false
3,861
py
import torch import torch.nn as nn import torch.nn.functional as F from .tile_2d import Tile2d import math from torch.utils.checkpoint import checkpoint class LocalAttention2d(nn.Module): def __init__(self, in_channels, num_heads, key_size, kernel_size, stride=1, padding=0, conv_kernel_size=1, co...
[ "sss13594@gmail.com" ]
sss13594@gmail.com
28e50a72627709735aaa8070033c738ca8ed1c72
3cb3702d2f3fb6729f1ea685d8439b7c2ad4f069
/work22/q1_sol.py
c7c5943f9db4e95834bb8b91f23bdecf41c4985e
[]
no_license
ysmintor/MLAlgorithm
95d6ceea5b16f94a039a2a5014f78ba3cdbd49d6
0ac119eacca336dbc9a1c22ea8a558c1761a08f4
refs/heads/master
2020-04-02T01:59:12.813910
2019-05-31T05:06:15
2019-05-31T05:06:15
153,885,300
0
0
null
null
null
null
UTF-8
Python
false
false
5,005
py
""" Solution to simple exercises to get used to TensorFlow API You should thoroughly test your code. TensorFlow's official documentation should be your best friend here CS20: "TensorFlow for Deep Learning Research" cs20.stanford.edu Created by Chip Huyen (chiphuyen@cs.stanford.edu) """ import os os.environ['TF_CPP_MIN_...
[ "ysmintor@gmail.com" ]
ysmintor@gmail.com
3365218943d3ae9ecc58ae8e412764c6fc07228b
deca929038a88ced836ede461b3cdd951b02dfd6
/file_upload_project/file_upload_project/settings.py
22f59090d0178ccac5b3a733a7deb59b9992133e
[]
no_license
JeffLawrence1/Python-Django-Beginner
cff08ff5ab167ff82987b2c4fb1e33d37b1876a9
49c0f270f61ae31cf39562bb63c2facf7a443b8d
refs/heads/master
2020-03-09T03:36:25.347060
2018-04-07T21:16:54
2018-04-07T21:16:54
128,567,549
0
0
null
null
null
null
UTF-8
Python
false
false
3,163
py
""" Django settings for file_upload_project project. Generated by 'django-admin startproject' using Django 1.11.4. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ ""...
[ "jefflaw13@hotmail.com" ]
jefflaw13@hotmail.com
49ff2f595084eee22a7e11f6c1d3bc65f80831bb
57b53d243be373a7dda59eba57f7e5f315b42f29
/tf_agents/agents/behavioral_cloning/behavioral_cloning_agent.py
d09ec695703ed7b57acde4d48b7a7fb4a309f671
[ "Apache-2.0" ]
permissive
ageron/agents
1d43dac37af95ca7b6772babbf5060fa1c5ec501
af0b45c73301e0223d982b7323363c381aea2f78
refs/heads/master
2020-05-26T00:47:26.470180
2019-05-21T20:14:40
2019-05-21T20:15:05
188,054,825
5
0
Apache-2.0
2019-05-22T14:25:46
2019-05-22T14:25:46
null
UTF-8
Python
false
false
10,291
py
# coding=utf-8 # Copyright 2018 The TF-Agents Authors. # # 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...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
8f4797c22b68ab37a8cf040014770158b6c472ef
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2339/60581/245838.py
f70511660b4a3a605ebb9a0482586e53a440cc8f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,528
py
import sys lst = [] for line in sys.stdin: if line.strip()=="": break lst.append(line) input = [] #读入处理 for i in range(0,len(lst)): theLine = [] j = 0 while j < len(lst[i]): str = '' judgeWord = False judgeNumber = False if lst[i][j]>='A' and lst[i][j]<='Z':...
[ "1069583789@qq.com" ]
1069583789@qq.com
92c1eb4f1f66c9d305670471cc22c3e4c381ebf3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03372/s276854525.py
57b897a767dabcd81e8e6b4752abbd0e7252b35d
[]
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
571
py
N,C = map(int,input().split()) A = [list(map(int,input().split())) for _ in range(N)] A.insert(0,[0,0]) F = [0 for _ in range(N+1)] F[N] = A[N][1]-(C-A[N][0]) for i in range(N-1,0,-1): F[i] = F[i+1]+A[i][1]-(A[i+1][0]-A[i][0]) G = [0 for _ in range(N+1)] for i in range(1,N+1): G[i] = G[i-1]+A[i][1]-(A[i][0]-A[...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0176da0491e0b7b552f7fd64342ea7bc8e69a77b
4d6975caece0acdc793a41e8bc6d700d8c2fec9a
/leetcode/881.loud-and-rich/881.loud-and-rich.py
0eb22c8e64a73530da24801d689eb96bb5833dc1
[]
no_license
guiconti/workout
36a3923f2381d6e7023e127100409b3a2e7e4ccb
5162d14cd64b720351eb30161283e8727cfcf376
refs/heads/master
2021-08-03T10:32:02.108714
2021-07-26T04:38:14
2021-07-26T04:38:14
221,025,113
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
class Solution: def loudAndRich(self, richer: List[List[int]], quiet: List[int]) -> List[int]:
[ "guibasconti@gmail.com" ]
guibasconti@gmail.com
e0d1c815ddb30cf7f7840777d2c216dcf534a24c
467be8fc9c975638fcb7a64d098e1526fd1c96f0
/dlint/linters/bad_defusedxml_use.py
95bc81cf1c4d9b13fbf7c12dd478ebb65246b99c
[ "BSD-3-Clause" ]
permissive
dlint-py/dlint
ed8d2ca0446914fceded654a2b810b7f8ad0d9d3
307b301cd9e280dcd7a7f9d5edfda3d58e4855f5
refs/heads/master
2023-04-13T08:54:52.987469
2023-04-10T19:27:01
2023-04-10T19:27:15
232,599,661
154
16
BSD-3-Clause
2023-03-09T21:21:19
2020-01-08T15:53:36
Python
UTF-8
Python
false
false
5,772
py
#!/usr/bin/env python from .helpers import bad_kwarg_use from .. import tree class BadDefusedxmlUseLinter(bad_kwarg_use.BadKwargUseLinter): """This linter looks for lack of "defusedxml" parsing defenses. The "defusedxml" library offers "forbid_dtd", "forbid_entities", and "forbid_external" keyword argum...
[ "schwag09@gmail.com" ]
schwag09@gmail.com
32a6600da729c0f3fd1643970f821d26a6615da5
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/allergies/12407861133f488faa80356443c08313.py
6ece998ee9ac220a1f267c249ba6d91f9e465777
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
511
py
class Allergies(list): def __init__(self, score): items = [ 'eggs',\ 'peanuts',\ 'shellfish',\ 'strawberries',\ 'tomatoes',\ 'chocolate',\ 'pollen',\ 'cats' ] ...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
fba38459a2d51b42d006592e4fd6866557f118f7
4f04ce5667f895889cfe54ed5f0dec6f5e7d4e4e
/bert_brain/data_sets/word_in_context.py
a0e401eb6455ea5649b200a69f747179c6b36a65
[]
no_license
danrsc/bert_brain
e172859b7ab93b0a05ed7c5b936778fae134eabb
eca204f163018270ac6b6687c2f3b6b5b158a89c
refs/heads/master
2022-11-28T14:32:45.420452
2020-08-03T00:14:42
2020-08-03T00:14:42
167,277,920
0
0
null
null
null
null
UTF-8
Python
false
false
3,590
py
import os import json from dataclasses import dataclass import numpy as np from ..common import split_with_indices from .input_features import RawData, KindData, ResponseKind from .corpus_base import CorpusBase, CorpusExampleUnifier, path_attribute_field __all__ = ['WordInContext'] @dataclass(frozen=True) class W...
[ "daniel.robert.schwartz@gmail.com" ]
daniel.robert.schwartz@gmail.com
2410138a68e12d0198596a040e18476ee91d7569
dee143986a25fd602b67aadf82e15d2f7b18f85b
/perfect_stranger/game/pages.py
7235807b1ada5f95df35ec3eb9200b9fd3776b30
[ "MIT" ]
permissive
cesslab/otree-perfect-stranger-matching
ea3bace81d2cd810a3197c67648ed6584839bfd9
0f5a4fc2beac0176d86f622a23e07511026f77cc
refs/heads/master
2022-12-12T17:55:44.895739
2020-02-08T14:50:46
2020-02-08T14:50:46
239,089,905
0
0
NOASSERTION
2022-12-08T03:35:36
2020-02-08T07:55:53
Python
UTF-8
Python
false
false
657
py
from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class MyPage(Page): def vars_for_template(self): subsessions = self.session.get_subsessions() matrices = [subsession.get_group_matrix() for subsession in subsessions] retu...
[ "anwarruff@gmail.com" ]
anwarruff@gmail.com
44bf5c472b6cccee9a48f3f665f2d484bf92a851
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/9/xh5.py
4dd30f7721e2f84d44b8edcf20cf6bbce2a180bb
[]
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
7ed601dcf4757b3e86143ca0ec316307eb2303e2
a50487ba59c7ce04854f9004b9752a32823b7b2a
/src/server.py
347e07bc1763ec6c906308c9d56625708ab15516
[]
no_license
shonenada-archives/sqlite-sync
909062646b01f80cf621b5527f168049e9012e76
f1379939893cebfffae701904ef12d6b4e4e18ea
refs/heads/master
2021-01-01T05:13:56.854536
2016-06-04T17:53:22
2016-06-04T17:53:22
59,564,245
0
0
null
null
null
null
UTF-8
Python
false
false
2,607
py
# -*- coding: utf-8 -*- import os import sys import socket import base64 import sqlite3 HOST = '0.0.0.0' PORT = 23333 MAX_CONNECTIONS = 1 SEGMENT_SZIE = 1024 DB_PATH = './dbs/sync.db' db = sqlite3.connect(DB_PATH) cursor = db.cursor() def invalid_command(params): return 'Invalid command' def ping_command(p...
[ "shonenada@gmail.com" ]
shonenada@gmail.com
d472390654a9ff3499afe1db639ef2ad8891fa67
e811a08b8b653da94e516ca147ec49b534f74a62
/test/Test_unittest.py
770f9e14cf79477dded396b3d430e617b5f53bf2
[]
no_license
HoYaStudy/Python_Study
0feb4a9ba7e68ebea6b2db15b20a3680f979a4de
59c2cc093ae8ae87c8e07365cc432d87ded29ccc
refs/heads/master
2023-02-07T23:40:16.135565
2023-01-24T06:17:58
2023-01-24T06:17:58
200,445,372
2
0
null
null
null
null
UTF-8
Python
false
false
5,493
py
# Import Module --------------------------------------------------------------# import unittest # Class Definition to Test ---------------------------------------------------# class TestClass1: pass class TestClass2: pass # Test Suite Class Definition ------------------------------------------------# clas...
[ "hoya128@gmail.com" ]
hoya128@gmail.com
69e315508feadd87fb9985595579dfdc419928cc
cbaa8c30fb4352c241dc81c1c6cc5079aad2526b
/primitive_types/swap_bits.py
46baf9f2be943e1dc7e0ec147f3544b02c89f550
[]
no_license
Fatou1993/interviews-preparation
68b7f870a4a0e93717f97ec1a4e1438bbb2a3410
1b733a79007362a4816a896ebd6c199b4098af36
refs/heads/master
2021-05-04T00:47:16.363097
2018-02-05T19:29:53
2018-02-05T19:29:53
120,351,309
1
0
null
null
null
null
UTF-8
Python
false
false
117
py
def swap_bits(x, i, j): if (x >> i)&1 != (x >> j)&1 : mask = (1<<i)|(1<<j) x ^= mask return x
[ "ndeye-fatou.diop@polytechnique.edu" ]
ndeye-fatou.diop@polytechnique.edu
b9c7959458aceb44a3dafe8e626e9ad91f88343a
02800e659f2088550a402d7d7d8e3902560893e3
/merf/internal/configs.py
783fbcf0eb66cf46b5722afa9c8dbd741cc86fd4
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
antonpolishko/google-research
ab8a445d5401185eadfe757e73dc8bcf34da8dea
1b4e7db5f90bcb4f80803383a81d8613ebfdfeec
refs/heads/master
2023-08-31T06:38:33.963505
2023-08-26T16:33:48
2023-08-26T16:37:57
422,090,201
0
0
null
null
null
null
UTF-8
Python
false
false
6,732
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
75c37893e9690925f4f47ba04135171f0874ad45
5cda8f2070c83341fc7218946213e11788ec7543
/reg_task/red_winedata.py
e387c7214cae7f6d523b5ff85e0d4aa5f47d7b54
[]
no_license
masknugget/somethings
9b833abb2ee4df27118177f3d8c1523916fe957a
a5c0ceaf5e98c68715ce2b2bad89256b76c2118d
refs/heads/master
2020-09-14T17:18:56.128901
2020-03-21T08:29:30
2020-03-21T08:29:30
223,197,909
0
0
null
null
null
null
UTF-8
Python
false
false
3,692
py
import numpy as np, pandas as pd from sklearn.ensemble import RandomForestRegressor from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression, \ Ridge, Lasso, ElasticNet, SGDRegressor from sklearn.metrics import mean_squared_error from sklearn.preprocessing import Standa...
[ "946883098@qq.com" ]
946883098@qq.com
a48484aee293a6b54e8aa54af7b99820b5111cd8
9cf6a19289e9335f32f1081832dff33e9f1fdc86
/examples/flask_ext/flask_ext.py
5f8b0aa4267df72ca84477842773615dfba3c469
[ "MIT" ]
permissive
SmartManoj/quart
3f25e7c27d29d930139bea1d34d375f476c897ac
317562ea660edb7159efc20fa57b95223d408ea0
refs/heads/master
2020-06-06T10:25:45.512773
2019-06-09T20:11:02
2019-06-09T20:11:02
192,714,053
1
0
MIT
2019-06-19T10:51:28
2019-06-19T10:51:27
null
UTF-8
Python
false
false
2,110
py
import quart.flask_patch from secrets import compare_digest import flask_login from quart import Quart, redirect, request, url_for app = Quart(__name__) app.secret_key = 'secret' # Create an actual secret key for production login_manager = flask_login.LoginManager() login_manager.init_app(app) # Rather than storin...
[ "philip.graham.jones@googlemail.com" ]
philip.graham.jones@googlemail.com
52cae2c239cddc1e62d8442bee69791c62f20002
23e55ab51e322a3c0f967976a84f42f70f8ab701
/tensorflow/python/ops/nn_loss_scaling_utilities_test.py
427972f5ce13f1401a30ba675a043d9c63486d56
[ "Apache-2.0" ]
permissive
thangnvit/tensorflow
f58e7c2f95690f337361aa2973f2b84ac7e7f947
c83887196eb717af66a7b3f008e970b4a226ff8f
refs/heads/master
2021-02-21T17:51:56.030461
2020-03-06T07:55:33
2020-03-06T07:58:38
245,362,540
3
0
Apache-2.0
2020-03-06T08:05:41
2020-03-06T08:05:40
null
UTF-8
Python
false
false
7,872
py
# Copyright 2019 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
bd5e34f3398b5facd631a6575e61d6dee48981a9
b873ea1def0810f67834bf4926901b9a8fead362
/exam_preparation_10_21/problem_1 - taxi_express.py
214d77abc7ad1bb307fe421628f0f89d08382383
[]
no_license
NikiDimov/SoftUni-Python-Advanced
20f822614fa0fa7de6ded3956fa8d40d589a4a86
d6c1fe886a3c27c82f03e5e4a6c670f0905d54e6
refs/heads/main
2023-08-23T17:42:32.063057
2021-10-25T10:32:03
2021-10-25T10:32:03
328,750,268
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
from collections import deque customers = deque(int(el) for el in input().split(', ')) taxis = [int(el) for el in input().split(', ')] total_time = 0 while customers and taxis: if customers[0] <= taxis[-1]: total_time += customers.popleft() taxis.pop() else: taxis.pop() if not custom...
[ "niki.dimov86@gmail.com" ]
niki.dimov86@gmail.com
b6df72d27ae81c311084682cded4083282df6a16
11c39c48a02d25f2dffab7db76649949a0cca5e5
/venv/bin/gunicorn_django
3793a5d4203c3914062d0b6f343e9a2816ec6fc6
[]
no_license
lssdeveloper/djangoecommerce
3a1fb8e9208264e143142b112f7ed93fe3654dfe
f93b23dad7c4753cad23cb87f329226aacf1a2f6
refs/heads/main
2023-01-03T02:48:52.010251
2020-11-05T01:17:00
2020-11-05T01:17:00
310,119,826
0
0
null
null
null
null
UTF-8
Python
false
false
248
#!/home/leandro/djangoecommerce/venv/bin/python # -*- coding: utf-8 -*- import re import sys from gunicorn.app.djangoapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "leandro.serra.10@gmail.com" ]
leandro.serra.10@gmail.com
8a509f4b1924614dc3b87e2b87e2cb1716aa792c
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/initial_6208.py
93485a216bd02c33878868b948176cbbe6a5050b
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,333
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
40736e3e38b08dc2b3ebfc6d484dbfb39a27d10d
c463e77c3d76e6b4810e202541d3f3f7f91bcf60
/build/moveit_robots/r2_moveit_generated/catkin_generated/pkg.develspace.context.pc.py
0a5ebbbca222f990db00a7a2183202ae22158a7e
[]
no_license
MGRNascimento/Tese
18087ee59dfee96ee000c9f16c646d1750174285
bf78d417849a74d9c5a520d40dcbebeadf084706
refs/heads/master
2020-06-23T13:57:01.699657
2019-10-23T21:47:19
2019-10-23T21:47:19
198,638,709
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "r2_moveit_generated" PROJECT_SPACE_DI...
[ "relvas.cvg@gmail.com" ]
relvas.cvg@gmail.com