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
744b2b5f9edcfd6d59f3a65ebfda69a83917795e
8c4ef53ec6c7df2eeeb633a53d1d931558596366
/propertyestimator/properties/solvation.py
846f77dd90fa87534dec104a50d994e4dbc33f4f
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MSchauperl/propertyestimator
ff7bf2d3b6bc441141258483ec991f8806b09469
9a67cb61498024c511f9bbe55536ac8e1a3c93be
refs/heads/master
2020-09-08T07:04:39.660322
2019-11-08T21:15:23
2019-11-08T21:15:23
221,055,340
0
0
NOASSERTION
2019-11-14T21:47:11
2019-11-11T19:34:28
null
UTF-8
Python
false
false
8,120
py
""" A collection of physical property definitions relating to solvation free energies. """ from propertyestimator import unit from propertyestimator.properties import PhysicalProperty from propertyestimator.properties.plugins import register_estimable_property from propertyestimator.protocols import coordinates, forcef...
[ "simon.boothroyd@choderalab.org" ]
simon.boothroyd@choderalab.org
b10bd3e6fce28ba55ca234a9dcb7dd608cd4763a
0de115b69243361e7926d0a5400c1fb475a642f5
/4.5.4 CodingExercise2.py
7769a572921fc132cf0a40d0db1879e526643fc9
[]
no_license
Bill-Fujimoto/Intro-to-Python-Course
f475f1c578e33ac37a796038fdaa6ad247876c55
afe365b0233c4fadb78b2818164ab5726ecd92bb
refs/heads/master
2020-04-12T21:19:08.688112
2018-12-21T21:50:09
2018-12-21T21:50:09
162,759,968
0
0
null
null
null
null
UTF-8
Python
false
false
1,977
py
#Recall last exercise that you wrote a function, word_lengths, #which took in a string and returned a dictionary where each #word of the string was mapped to an integer value of how #long it was. # #This time, write a new function called length_words so that #the returned dictionary maps an integer, the length of a #wo...
[ "@vfr1200f1#" ]
@vfr1200f1#
3b91d9f42ee1ecda8632567b35ac5caa51d497c7
35053a371d85c2d45a4f52239d8a70b38194ef48
/Count of Matches in Tournament.py
96c8b115113e1096f964d3dcc4f40e3f4b7f16a1
[]
no_license
Kuehar/LeetCode
51d169c81a2e572ea854399fc78e1130220388f9
4555c20455f181f9dd7b3aba2a8779dea795edfb
refs/heads/master
2023-04-16T10:13:03.584541
2023-04-06T11:47:21
2023-04-06T11:47:21
243,361,421
4
0
null
null
null
null
UTF-8
Python
false
false
388
py
class Solution: def numberOfMatches(self, n: int) -> int: return n-1 # O(1) Solution. # Always this answer is n-1. Sum of matches are always equals to sum of loser. # Runtime: 28 ms, faster than 82.44% of Python3 online submissions for Count of Matches in Tournament. # Memory Usage: 14.3 MB, less than 40.04...
[ "noreply@github.com" ]
Kuehar.noreply@github.com
c7a6bbfb9e4f4606a0720e7f9c0efa56e7d90f30
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/DataQuality/DataQualityConfigurations/python/TCTDisplay.py
6fa11e45427f043ea1f2b19da409200372d1fc14
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration from DataQualityUtils.DQWebDisplayConfig import DQWebDisplayConfig dqconfig = DQWebDisplayConfig() dqconfig.config = "TCT" dqconfig.hcfg = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/tier0/han_config/Collisions/collisions_run.1.41.hc...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
c20a34f0a583217bc2954583f5023db885908a21
6dd08ec6b4f6351de8450a3d7e592fd6b4994119
/cbase/server/cbase-1.8.1/testrunner/lib/cli_interface.py
e6a6f9806a3859205b951f3f754ca879f82d6278
[ "Apache-2.0" ]
permissive
zhgwenming/appstack
d015e96b911fe318f9fba1bdeeea9d888d57dfba
8fe6c1dfc2f5ed4a36c335e86ae28c17b3769276
refs/heads/master
2021-01-23T13:30:19.507537
2015-11-09T06:48:35
2015-11-09T06:48:35
7,576,644
1
2
null
2016-01-05T09:16:22
2013-01-12T15:13:21
C
UTF-8
Python
false
false
6,194
py
#!/usr/bin/env python # # Copyright 2010 Membase, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "zhgwenming@gmail.com" ]
zhgwenming@gmail.com
875a564377d75822b6c87a33792ad8d32b40b7b6
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/datacatalog/outputs.py
26d9e4bddb4ce2d56c83f67f19a73cd325ca56ef
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
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 from .. import _utilities, _tables from ...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
494c1e3a8da4af904b0d96a5540e85b475400cc2
0e4860fecfdd34a3255003cc8c8df086c14083dd
/python/practise/带你学Django资料及源码/课堂与博客代码/peace_blog/blog/admin.py
9c1fb6228842fe4ec5d8931dc4a0aad2aa044aa9
[]
no_license
anzhihe/learning
503ab9a58f280227011da5eaa4b14b46c678e6f3
66f7f801e1395207778484e1543ea26309d4b354
refs/heads/master
2023-08-08T11:42:11.983677
2023-07-29T09:19:47
2023-07-29T09:19:47
188,768,643
1,443
617
null
2023-08-24T02:10:34
2019-05-27T04:04:10
Python
UTF-8
Python
false
false
289
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Banner) admin.site.register(Category) admin.site.register(Tag) admin.site.register(Article) admin.site.register(FriendLink) admin.site.register(Comment) admin.site.register(BlogUser)
[ "anzhihe1218@gmail.com" ]
anzhihe1218@gmail.com
b3b23e56815e22c59025e95c60b6cbda2ae81e07
9fbe90eab4cb25022e7c93776da3a5733656a09a
/examples/chat/status.py
9f517a087999e1a586d64cffee8075515a5e83ea
[ "MIT" ]
permissive
Nathanator/networkzero
453e218d6e0b8080158cb968f4acc5e0cb0fb65c
e6bf437f424660c32cf1ef81f83d9eee925f44e7
refs/heads/master
2021-01-15T13:14:53.101742
2016-04-07T20:32:28
2016-04-07T20:32:28
55,724,894
0
0
null
2016-04-07T20:12:18
2016-04-07T20:12:17
null
UTF-8
Python
false
false
467
py
import networkzero as nw0 updates = nw0.discover("chat-updates") while True: action, message = nw0.wait_for_notification(updates) print(action, message) if action == "JOIN": print("%s has joined" % message) elif action == "LEAVE": print("%s has left" % message) elif action == "SPEAK...
[ "mail@timgolden.me.uk" ]
mail@timgolden.me.uk
ef82571b3a9d413818632a92cb1e3edb2d75dab3
385a63d3c9e6f5815979165001f78ec3d7b90cd2
/DrivingTDM_SetupMatlabOOP/headerAndFunctionsMotor/ximc/python-profiles/STANDA/8MT195X-540-4.py
391e7db3d811458155873424999b6ceb86b43093
[ "BSD-2-Clause" ]
permissive
Rasedujjaman/matlabOOP
5abb6ec94998fda5e9214ed94cf67a42bf243d4f
e1f025ab9b00a3646719df23852079736d2b5701
refs/heads/main
2023-07-23T21:40:53.905045
2021-08-31T16:12:39
2021-08-31T16:12:39
378,249,559
1
1
null
null
null
null
UTF-8
Python
false
false
22,654
py
def set_profile_8MT195X_540_4(lib, id): worst_result = Result.Ok result = Result.Ok feedback_settings = feedback_settings_t() feedback_settings.IPS = 4000 class FeedbackType_: FEEDBACK_ENCODER_MEDIATED = 6 FEEDBACK_NONE = 5 FEEDBACK_EMF = 4 FEEDBACK_ENCODER = 1 ...
[ "mrased01@gmail.com" ]
mrased01@gmail.com
1aeaca94f2d4d9feb9733db3c8cad22d7ff94e80
cf5b2850dc9794eb0fc11826da4fd3ea6c22e9b1
/examples/conditional_format.py
868eec6890126a075a32371064be80ab9628e826
[ "BSD-2-Clause" ]
permissive
glasah/XlsxWriter
bcf74b43b9c114e45e1a3dd679b5ab49ee20a0ec
1e8aaeb03000dc2f294ccb89b33806ac40dabc13
refs/heads/main
2023-09-05T03:03:53.857387
2021-11-01T07:35:46
2021-11-01T07:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,956
py
############################################################################### # # Example of how to add conditional formatting to an XlsxWriter file. # # Conditional formatting allows you to apply a format to a cell or a # range of cells based on certain criteria. # # SPDX-License-Identifier: BSD-2-Clause # Copyright...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
cb2811ebb7323dde07db3204b7cbb018b4aa24df
b5aef1178c9153ca0c4dd9823e5fa2a2bc64649f
/sqlalchemy_to_ormar/maps.py
1a9e860b78fc123c5831dcea9f9bd6c03d9d63d5
[ "MIT" ]
permissive
collerek/sqlalchemy-to-ormar
970a56c69ff03b7e32b11e4b1ebcb00c3b8d903c
07c1595297221b31db86b3d34b3aad54fa3967da
refs/heads/main
2023-04-23T10:41:04.426391
2021-05-16T14:10:38
2021-05-16T14:10:38
355,256,537
10
1
null
null
null
null
UTF-8
Python
false
false
1,602
py
from typing import Dict, Set, Type import ormar from ormar import Model FIELD_MAP = { "integer": ormar.Integer, "tinyint": ormar.Integer, "smallint": ormar.Integer, "bigint": ormar.Integer, "small_integer": ormar.Integer, "big_integer": ormar.BigInteger, "string": ormar.String, "char":...
[ "collerek@gmail.com" ]
collerek@gmail.com
d35605db5bdf283207a2c171638328c4c8b53252
4e30d990963870478ed248567e432795f519e1cc
/tests/api/v3_1_1/test_nbar_app.py
13a1bcd9798917799871178339c1315dd3a03d61
[ "MIT" ]
permissive
CiscoISE/ciscoisesdk
84074a57bf1042a735e3fc6eb7876555150d2b51
f468c54998ec1ad85435ea28988922f0573bfee8
refs/heads/main
2023-09-04T23:56:32.232035
2023-08-25T17:31:49
2023-08-25T17:31:49
365,359,531
48
9
MIT
2023-08-25T17:31:51
2021-05-07T21:43:52
Python
UTF-8
Python
false
false
9,399
py
# -*- coding: utf-8 -*- """IdentityServicesEngineAPI nbar_app API fixtures and tests. Copyright (c) 2021 Cisco and/or its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restr...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
435f09a949e10d5926b47462513ec6a935159a57
ba4f68fb01aa32970dadea67cc8d039b4c0f6d9e
/python/facebook_abcs/graphs/bfs_short_reach.py
d7e090dc241a595327009effbf8e195b8a27e16d
[]
no_license
campbellmarianna/Code-Challenges
12a7808563e36b1a2964f10ae64618c0be41b6c0
12e21c51665d81cf1ea94c2005f4f9d3584b66ec
refs/heads/master
2021-08-03T23:23:58.297437
2020-05-15T07:13:46
2020-05-15T07:13:46
168,234,828
0
0
null
null
null
null
UTF-8
Python
false
false
3,585
py
''' Prompt: Consider an undirected graph where each edge is the same weight. Each of the nodes is labeled consecutively. You will be given a number of queries. For each query, you will be given a list of edges describing an undirected graph. After you create a representation of the graph, you must determine and report...
[ "mckd2018@gmail.com" ]
mckd2018@gmail.com
fa97ee9fd2838b1142288a25b7c3b07d01df9382
80f622252281e6288d24b101dda0d4ee3634faed
/Titanic/model/model.py
92f1eea0ae9e1af59615e0f34f8ec795553013ab
[]
no_license
jalondono/HandsOn-MachineLearning
c7cd7ce967180b84dffc2953d9ad5894c2bfc46e
eb3a3f2d6e490a827aa8b50cfb6e606cb3e85c5d
refs/heads/master
2023-01-03T01:10:32.836434
2020-10-29T15:47:27
2020-10-29T15:47:27
300,308,942
1
0
null
null
null
null
UTF-8
Python
false
false
4,158
py
import pandas as pd import numpy as np import tensorflow.keras as K import mlflow.tensorflow import sys import logging import zipfile # mlflow server --backend-store-uri mlruns/ --default-artifact-root mlruns/ --host 0.0.0.0 --port 5000 def getting_data(zipfolder, filename, cols): """ Get the data from a zip ...
[ "juanlondono151776@hotmail.com" ]
juanlondono151776@hotmail.com
08a65bb7db851c3827f50ea795ce9e58ad45c818
7eebbfaee45fdc57c4fc6ba32c87c35be1e62b14
/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/streams.py
717fb1c76800fc295cff19b40b475069c0e2914a
[ "MIT", "Elastic-2.0" ]
permissive
Velocity-Engineering/airbyte
b6e1fcead5b9fd7c74d50b9f27118654604dc8e0
802a8184cdd11c1eb905a54ed07c8732b0c0b807
refs/heads/master
2023-07-31T15:16:27.644737
2021-09-28T08:43:51
2021-09-28T08:43:51
370,730,633
0
1
MIT
2021-06-08T05:58:44
2021-05-25T14:55:43
Java
UTF-8
Python
false
false
4,651
py
# # Copyright (c) 2021 Airbyte, Inc., all rights reserved. # from abc import ABC from typing import Any, Iterable, Mapping, MutableMapping, Optional import requests from airbyte_cdk.sources.streams.http import HttpStream from source_facebook_pages.metrics import PAGE_FIELDS, PAGE_METRICS, POST_FIELDS, POST_METRICS ...
[ "noreply@github.com" ]
Velocity-Engineering.noreply@github.com
8a7ff0ad022e61991efae1db238130da5169b004
7259dbcc9e32502945d362caa43d4ad380cd04ea
/OIT_SpiderCode/OYT_zujuan_Param/OYT_Scrapy_Param/spiders/new_zujuan_English_middle_spiderparam.py
27bc29f69ebc3bbe7b018e3cdfcf6fd90583eb7c
[ "MIT" ]
permissive
Doraying1230/Python-Study
daa143c133262f4305624d180b38205afe241163
8dccfa2108002d18251053147ccf36551d90c22b
refs/heads/master
2020-03-29T13:46:13.061373
2018-07-26T15:19:32
2018-07-26T15:19:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,915
py
#coding:utf-8 import scrapy from ..common.BaseObject import BaseObject from scrapy.spider import CrawlSpider from scrapy.selector import Selector from scrapy.http import Request,FormRequest from scrapy.selector import Selector from scrapy.http.cookies import CookieJar from fake_useragent import UserAgent import time im...
[ "2829969299@qq.com" ]
2829969299@qq.com
ff48c9f51db42b5415104dcad82dcc5e7180f1a0
a097ecf40fee329cfa9e3f77e4b6e9e29a8f148a
/5_section/5_c4.py
ad4129556566f3c699ab43db88f59f5c50ed0ab1
[]
no_license
FumihisaKobayashi/The_self_taught_python
1e7008b17050db3e615c2f3aa68df2edc7f93192
329d376689029b75da73a6f98715cc7e83e8cc2c
refs/heads/master
2021-01-06T16:04:13.382955
2020-07-28T14:39:24
2020-07-28T14:39:24
241,389,313
1
0
null
null
null
null
UTF-8
Python
false
false
215
py
fumi = { "身長": "1.73m", "好きな色": "緑", "好きな人": "Hideki Matsui" } answer = input("身長,好きな色 or 好きな人") if answer in fumi: a = fumi[answer] print(a) #:注意
[ "ruruku717@gmial.com" ]
ruruku717@gmial.com
3d1e771da9ec0f32bfd297a1b19794e9054adce4
1825283527f5a479204708feeaf55f4ab6d1290b
/leetcode/python/45/sol.py
3db6f97188dd189aef4c4caf07b43524d9f7f299
[]
no_license
frankieliu/problems
b82c61d3328ffcc1da2cbc95712563355f5d44b5
911c6622448a4be041834bcab25051dd0f9209b2
refs/heads/master
2023-01-06T14:41:58.044871
2019-11-24T03:47:22
2019-11-24T03:47:22
115,065,956
1
0
null
2023-01-04T07:25:52
2017-12-22T02:06:57
HTML
UTF-8
Python
false
false
2,156
py
10-lines C++ (16ms) / Python BFS Solutions with Explanations https://leetcode.com/problems/jump-game-ii/discuss/18019 * Lang: python3 * Author: jianchao-li * Votes: 71 This problem has a nice BFS structure. Let's illustrate it using the example `nums = [2, 3, 1, 1, 4]` in the problem statement. We are initial...
[ "frankie.y.liu@gmail.com" ]
frankie.y.liu@gmail.com
13f1896c22ae2a9880e175bd288981ebe1216ccf
8d5ba6747531cbd43d63d32265fd608f9081c3b7
/.venv/lib/python2.7/site-packages/indico/modules/events/logs/controllers.py
a436382fa8b13d29f35d97c1b401f0e523a58dd9
[]
no_license
Collinsnyamao/indico
0e433b78803afae5b1ac90483db1f3d90ce2fddb
32adf8123e266eb81439b654abc993b98e0cd7f2
refs/heads/master
2020-03-18T04:55:40.386595
2018-06-02T13:45:47
2018-06-02T13:45:47
134,314,163
1
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
# This file is part of Indico. # Copyright (C) 2002 - 2018 European Organization for Nuclear Research (CERN). # # Indico is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (a...
[ "collins.nyamao@strathmore.edu" ]
collins.nyamao@strathmore.edu
0ac4cdf0dc4d0068c5d28f7e139bf35bbae92bca
c1ed1b90f7e914aee1a17cd9b5bb83cf288f7e85
/usersAccount/apps.py
7e257ce953933d0d4ded1fea4b4a19236a69a80c
[]
no_license
tanaychaulinsec/User-authentication
87e111f3731b57f9057554a58781d1a1705e351c
6652e72a5b639174cb20ccdae1c49883bdcc8514
refs/heads/master
2022-12-12T10:41:25.172936
2020-08-25T15:39:00
2020-08-25T15:39:00
289,565,247
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
from django.apps import AppConfig class UsersaccountConfig(AppConfig): name = 'usersAccount'
[ "tanaychauli@gmail.com" ]
tanaychauli@gmail.com
d1878d336619c62c219f42222f728c8e4ed65c83
7d768b5be4213c3ac90648d48d1a322fb8c5c433
/python_code/chuanzhi/python_advance/19/process_pool.py
e42b0da91f0fd4f73e665517b8f08d73f03c0eeb
[]
no_license
googleliyang/gitbook_cz_python
7da5070b09e760d5e099aeae468c08e705b7da78
c82b7d435dc11016e24cde2bdc4a558f507cb668
refs/heads/master
2020-04-02T17:47:58.400424
2018-12-22T09:48:59
2018-12-22T09:48:59
154,672,309
1
0
null
null
null
null
UTF-8
Python
false
false
111
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @File : process_pool.py # @Author: ly # @Date : 2018/12/8
[ "yang.li.gogle@gmail.com" ]
yang.li.gogle@gmail.com
c35827798e41b221d01c7605547d9563c1b93e01
c040de12811afa588a23ad6c0cd4fdc849ab469f
/saklient/cloud/errors/usernotspecifiedexception.py
4bd94f412d92c987223a12491a2dad83d3c4cda1
[ "MIT" ]
permissive
toshitanian/saklient.python
3707d1113744122c5ab1ae793f22c6c3a0f65bc4
287c56915dd825d676eddc538cbb33b483803dc2
refs/heads/master
2021-05-28T08:13:16.851101
2014-10-09T09:54:03
2014-10-09T09:54:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
# -*- coding:utf-8 -*- from ...errors.httpforbiddenexception import HttpForbiddenException # module saklient.cloud.errors.usernotspecifiedexception class UserNotSpecifiedException(HttpForbiddenException): ## 要求された操作は許可されていません。このAPIはユーザを特定できる認証方法でアクセスする必要があります。 ## @param {int} status # @param {str} c...
[ "townewgokgok@gmail.com" ]
townewgokgok@gmail.com
c6eafbbe4676917c6f23a05bc73e21e549c0ba3f
43842089122512e6b303ebd05fc00bb98066a5b2
/dynamic_programming/120_triangle.py
99985fab0c45baef506be9737699a9531b32e925
[]
no_license
mistrydarshan99/Leetcode-3
a40e14e62dd400ddb6fa824667533b5ee44d5f45
bf98c8fa31043a45b3d21cfe78d4e08f9cac9de6
refs/heads/master
2022-04-16T11:26:56.028084
2020-02-28T23:04:06
2020-02-28T23:04:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,507
py
""" Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the following triangle [ [2], [3,4], [6,5,7], [4,1,8,3] ] The minimum path sum from top to bottom is 11 (i.e., 2 + 3 + 5 + 1 = 11). """ class Solution(ob...
[ "maplesuger@hotmail.com" ]
maplesuger@hotmail.com
12431f449479c4225d285315b7a3bb921570c910
efcd21234f3291e8fc561f49a7c88fc57a63e952
/tests/unit/language/ast/test_directive_definition.py
b356575d34de9eab8e68c11d4445ef82a42fc23c
[ "MIT" ]
permissive
tartiflette/tartiflette
146214a43847d2f423bf74594643c1fdefc746f1
421c1e937f553d6a5bf2f30154022c0d77053cfb
refs/heads/master
2023-09-01T02:40:05.974025
2022-01-20T14:55:31
2022-01-20T14:55:31
119,035,565
586
39
MIT
2023-09-11T07:49:27
2018-01-26T09:56:10
Python
UTF-8
Python
false
false
6,673
py
import pytest from tartiflette.language.ast import DirectiveDefinitionNode def test_directivedefinitionnode__init__(): directive_definition_node = DirectiveDefinitionNode( name="directiveDefinitionName", locations="directiveDefinitionLocations", description="directiveDefinitionDescription...
[ "raulic.maximilien@gmail.com" ]
raulic.maximilien@gmail.com
3273285dc5118a47952c40dfdd26e29bd612aa47
46f03a8353b3fd0cd1ca35e0d322c4a53649596b
/try.py
193887977e7feaeaa8f466637561399d7a348948
[]
no_license
dragikamov/Video_Converter
d7d73a948853c99840606b89fc79dbcf8e1bde97
e0233f9c190618e30bb85bcfa9df881f0eee058e
refs/heads/master
2020-04-30T15:50:35.037923
2019-03-30T22:35:29
2019-03-30T22:35:29
176,931,695
0
0
null
null
null
null
UTF-8
Python
false
false
7,925
py
import cv2 import numpy as np import os from canny_edge import * import threading from os.path import isfile, join # Function for converting an image to grayscale def rgb2gray(rgb): return np.dot(rgb[...,:3], [0.299, 0.587, 0.114]) # Export of video def exportVid(): frame_array = [] files = [f for f in o...
[ "dragikamov@gmail.com" ]
dragikamov@gmail.com
ee0ea350d13c32438c662a8a258423d9b8287956
20c4a239e000b15131251d372ccad9110063a961
/setup.py
91ea45b7093ebde7a34cf7d5eb933f7529893fdf
[ "MIT" ]
permissive
Partidani/hdlConvertor
9d0e382e6e087ac240502538b63f8667004a7715
36d3b58e2641e39c323ed9ee337135e49c64d076
refs/heads/master
2023-04-06T00:03:31.505727
2021-04-19T07:28:25
2021-04-19T07:28:25
366,418,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,810
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- import os from setuptools import find_packages try: from skbuild import setup except ImportError: raise ImportError("Missing scikit-build, (should be automatically installed by pip)") import sys this_directory = os.path.abspath(os.path.dirname(__file__)) with op...
[ "nic30@seznam.cz" ]
nic30@seznam.cz
8bfa5c02a3089abb03156a6609bfed1a989474e9
d5f8ca3c13f681d147b7614f1902df7ba34e06f9
/Graduate/model/densenet.py
38359413ab29892a7c8f412c5fc1741039a65696
[]
no_license
hhjung1202/OwnAdaptation
29a6c0a603ab9233baf293096fb9e7e956647a10
50805730254419f090f4854387be79648a01fbb4
refs/heads/master
2021-06-25T22:31:15.437642
2020-11-26T18:19:55
2020-11-26T18:19:55
176,670,379
1
0
null
2020-06-11T07:35:55
2019-03-20T06:36:19
Python
UTF-8
Python
false
false
7,429
py
import torch import torch.nn as nn import torch.nn.functional as F from collections import OrderedDict from torch import Tensor import itertools class Flatten(nn.Module): def forward(self, x): return x.view(x.size(0), -1) class _Gate_selection(nn.Sequential): phase = 2 def __init__(self, num_inpu...
[ "hhjung1202@naver.com" ]
hhjung1202@naver.com
da39ff189fd2c0d2ba922949117085f9ce98e2fa
85be450530138c8b66c513c4283bcb1d58caeeb0
/apps/funcionarios/migrations/0005_funcionario_imagem.py
bc149c39e59bf25051a7e604642ca132a0e9a4c1
[]
no_license
fgomesc/gestao_teste
6be81a263fddb1b1e5d6a2d768387fc024e9bdc3
b2890ffa99361dd30b002706c94d1e5299651315
refs/heads/master
2021-09-25T06:21:51.602878
2021-09-14T18:27:13
2021-09-14T18:27:13
236,030,673
0
0
null
2021-06-10T22:31:09
2020-01-24T15:42:59
JavaScript
UTF-8
Python
false
false
446
py
# Generated by Django 2.1.1 on 2018-11-17 12:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('funcionarios', '0004_auto_20181029_2313'), ] operations = [ migrations.AddField( model_name='funcionario', name='ima...
[ "fgomesc0586@gmail.com" ]
fgomesc0586@gmail.com
041cf40053b8f029ba5b1f64754d2048cbb70f5e
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res_bw/scripts/common/lib/idlelib/grepdialog.py
05f4b74a7d37f75455c785428aa681b07d431a4b
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
4,154
py
# 2015.11.10 21:36:11 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/idlelib/GrepDialog.py import os import fnmatch import sys from Tkinter import * from idlelib import SearchEngine from idlelib.SearchDialogBase import SearchDialogBase def grep(text, io = None, flist = None): root = text._root...
[ "info@webium.sk" ]
info@webium.sk
82792a3be9979e79865b11f08d068150204766e1
2c74bb301f1ed83b79254944183ac5a18a639fdf
/tests/components/select/test_device_condition.py
7c1dc443e5626cdb246bbc9a3f633cbd756d466c
[ "Apache-2.0" ]
permissive
Adminiuga/home-assistant
5bec93007ddac1a268cc359bf7e48530c5f73b38
dcf68d768e4f628d038f1fdd6e40bad713fbc222
refs/heads/dev
2023-02-22T22:03:31.013931
2022-11-09T00:27:20
2022-11-09T00:27:20
123,929,062
5
4
Apache-2.0
2023-02-22T06:14:31
2018-03-05T14:11:09
Python
UTF-8
Python
false
false
8,288
py
"""The tests for Select device conditions.""" from __future__ import annotations import pytest import voluptuous_serialize from homeassistant.components import automation from homeassistant.components.device_automation import DeviceAutomationType from homeassistant.components.select import DOMAIN from homeassistant.c...
[ "noreply@github.com" ]
Adminiuga.noreply@github.com
8479fc36a34cd92829460ba09dac9233003f21e2
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_145/588.py
bc85913e20b14805e33519ef4c6568305d07637f
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,649
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import math def read(f): n = int(f.readline().strip()) for i in xrange(n): p, q = map(int, f.readline().strip().split('/')) yield p, q def main(f): for i, (p, q) in enumerate(read(f)): if 2 ** i...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
729aafbd622a90e8bebf023ef2424d3fcf61b70c
afea9757be324c8def68955a12be11d71ce6ad35
/willyanealves/services/migrations/0014_auto_20201209_1623.py
aa5563d97e9d3dbc154b4da10bedc96ae1265e5e
[]
no_license
bergpb/willyane-alves
c713cac3ec3a68005f3b8145985693d2477ba706
8b2b9922ba35bf2043f2345228f03d80dbd01098
refs/heads/master
2023-02-10T19:57:50.893172
2021-01-11T16:17:14
2021-01-11T16:17:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
# Generated by Django 3.1.2 on 2020-12-09 19:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('stock', '0001_initial'), ('services', '0013_remove_kititem_price'), ] operations = [ ...
[ "jocsadm@gmail.com" ]
jocsadm@gmail.com
a4de72f9bc8c298600db4419ce1778b70f3c07b5
89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04
/third_party/WebKit/Source/devtools/scripts/concatenate_application_code.py
e6984e04864e14767f6fd64ff23f1ddfb871c822
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft" ]
permissive
bino7/chromium
8d26f84a1b6e38a73d1b97fea6057c634eff68cb
4666a6bb6fdcb1114afecf77bdaa239d9787b752
refs/heads/master
2022-12-22T14:31:53.913081
2016-09-06T10:05:11
2016-09-06T10:05:11
67,410,510
1
3
BSD-3-Clause
2022-12-17T03:08:52
2016-09-05T10:11:59
null
UTF-8
Python
false
false
9,961
py
#!/usr/bin/env python # # Copyright 2014 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. """ Release: - Concatenates autostart modules, application modules' module.json descriptors, and the application loader into a ...
[ "bino.zh@gmail.com" ]
bino.zh@gmail.com
c91563eee6c60960746a34671256bdc380a91e08
af3ec207381de315f4cb6dddba727d16d42d6c57
/dialogue-engine/test/programytest/storage/stores/nosql/mongo/store/test_sets.py
b4a1ce00829727f91194650b0127c7d2bb059299
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mcf-yuichi/cotoba-agent-oss
02a5554fe81ce21517f33229101013b6487f5404
ce60833915f484c4cbdc54b4b8222d64be4b6c0d
refs/heads/master
2023-01-12T20:07:34.364188
2020-11-11T00:55:16
2020-11-11T00:55:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,711
py
""" Copyright (c) 2020 COTOBA DESIGN, Inc. 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, copy, modify, merge, publish, distri...
[ "cliff@cotobadesign.com" ]
cliff@cotobadesign.com
3aea4843be237c4dcdce35ea871082ef159c6872
b9029f7e08bb93c435290e9e01dba3507714bafc
/tasks.py
a64b8ddab455bd356781035556f67836cb43532a
[ "BSD-3-Clause" ]
permissive
njwardhan/colour
3a4bf7994e25f02e15aa16bc03d35d7f6cc61a50
60679360c3990bc549b5f947bfeb621383e18b5e
refs/heads/master
2022-09-29T06:17:36.380542
2020-01-25T05:10:15
2020-01-25T05:10:15
253,715,920
0
0
null
2020-04-07T07:14:32
2020-04-07T07:14:31
null
UTF-8
Python
false
false
13,629
py
# -*- coding: utf-8 -*- """ Invoke - Tasks ============== """ from __future__ import unicode_literals import sys try: import biblib.bib except ImportError: pass import fnmatch import os import re import toml import uuid from invoke import task import colour from colour.utilities import message_box __author_...
[ "thomas.mansencal@gmail.com" ]
thomas.mansencal@gmail.com
dcd0da39888cc54780f3269f3b421d663fbe0369
12d0f444452d3b2218cd270756283a0463d3e796
/sg/models/genome_evaluator.py
ebfcee9c68636525d62cd1370f29350bfbce32e0
[]
no_license
dal3006/load_forecasting-1
107ffdbb4648989ba85fa8ba39ecdddb9c24ddd1
d324a711a1a0c7ccd9587e0ecf9988a12214a1a3
refs/heads/master
2023-03-17T07:44:43.487863
2015-03-12T15:24:37
2015-03-12T15:24:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,873
py
"""Use this program to evaluate one genome at a time, read from standard input.""" import sys import ast import traceback import random import matplotlib.pyplot as plt import sg.utils.pyevolve_utils as pu import sg.utils import ga import sg.data.sintef.userloads as ul import load_prediction as lp from load_predictio...
[ "axel.tidemann@gmail.com" ]
axel.tidemann@gmail.com
7f370a2f39867e89d89ab28e23fdbd1bf78c5c33
affb8d9028f52201dc56dff947502134dcac3066
/class-06/demo/big_O.py
a4cb31e5067e800c86925b9dfb3be4fe661ec627
[]
no_license
maisjamil1/amman-python-401d1
10aa4d81c9082fbdf18badc3de060ce1d5309e1a
25c37a5a7c023b5a24ba7a6cc303338b62548f83
refs/heads/master
2022-12-28T19:23:11.143932
2020-10-13T11:58:30
2020-10-13T11:58:30
287,927,879
0
0
null
2020-08-16T11:11:27
2020-08-16T11:11:27
null
UTF-8
Python
false
false
2,410
py
# Measure # of operations n = 7 #1 operation for i in range(n): print(i) # n operations # n+1 operations # n = 5 > 6 # n = 100 > 101 # n = 1000000 > 1000001 # O(n+1) # O(n) def testing_bigoh(n): for i in range(n): for j in range(n): print(i,j) # n*n (n^2) # testing_bigoh(8) # O(n^2) nums1 = [2, ...
[ "ahmad.alawad.sf@gmail.com" ]
ahmad.alawad.sf@gmail.com
0a32d2b6c410aca949535c18a0afdc1811fa82de
d77cee829ec56d2ef12446bf1ebc75cf3a1d8de8
/src/confluence/urls.py
11ca30b6e7eba5d7d393b109c004ba297c8ac408
[ "MIT" ]
permissive
thisisayush/Confluence
6a508fdd96aebf38a9d063760fed7709c1a968f5
a7e7b3b4d45ae9577f44d112c7383e4e101f3dd6
refs/heads/master
2021-04-15T08:02:05.097647
2017-03-02T19:15:49
2017-03-02T19:15:49
94,565,851
0
0
null
2017-06-16T17:15:55
2017-06-16T17:15:55
null
UTF-8
Python
false
false
946
py
"""confluence URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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-...
[ "sanyam.khurana01@gmail.com" ]
sanyam.khurana01@gmail.com
0ff0703817449a164cc4148e5e772d7aad82761d
20a0bd0a9675f52d4cbd100ee52f0f639fb552ef
/transit_odp/data_quality/migrations/0010_auto_20191118_1604.py
1dbd2499c70b6991917a996f3979d7d53de8b877
[]
no_license
yx20och/bods
2f7d70057ee9f21565df106ef28dc2c4687dfdc9
4e147829500a85dd1822e94a375f24e304f67a98
refs/heads/main
2023-08-02T21:23:06.066134
2021-10-06T16:49:43
2021-10-06T16:49:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
# Generated by Django 2.2.7 on 2019-11-18 16:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("data_quality", "0009_auto_20191118_1029"), ] operations = [ migrations.RemoveField( model_name="service", name="repo...
[ "ciaran.mccormick@itoworld.com" ]
ciaran.mccormick@itoworld.com
fce283892ba59dcf2ba42e224830b42612d88aa5
ec3e9925af8742d578fd11aac6f000ced71aa9f5
/crm_app/migrations/0001_initial.py
a8d2064e20aeff0443aad84487887d739acbfa32
[]
no_license
amrit-kumar/CRM-Customer-relationship-management-
cfd3ec42a975e7b987d76abe465cb2ec9eec62b4
d41b482166557e17825b2a010d24bb03ee469245
refs/heads/master
2021-06-25T06:37:51.721771
2017-08-12T09:43:23
2017-08-12T09:43:23
96,964,635
0
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2017-01-17 10:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='MsgRepo...
[ "kumaramrit38@gmail.com" ]
kumaramrit38@gmail.com
22cd4aa937ae8cfd23745a3259f156cd50b64a4e
cb3583cc1322d38b1ee05cb1c081e0867ddb2220
/donor/migrations/0014_auto_20210331_0404.py
b1189bdce3ff86f5f1436a2a55ec393aa74d80f9
[ "MIT" ]
permissive
iamgaddiel/codeupblood
9e897ff23dedf5299cb59fd6c44d9bd8a645e9c6
a0aa1725e5776d80e083b6d4e9e67476bb97e983
refs/heads/main
2023-05-07T23:34:27.475043
2021-04-24T20:49:08
2021-04-24T20:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 3.1.6 on 2021-03-31 11:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('donor', '0013_auto_20210330_0743'), ] operations = [ migrations.AlterField( model_name='appointment', name='d_id', ...
[ "www.spbiology@gmail.com" ]
www.spbiology@gmail.com
f427c925290c5a2a81db95be3c0f18e6c3e33066
dccd1058e723b6617148824dc0243dbec4c9bd48
/atcoder/abc048/a.py
2a32b441150b9a7e79505fe4330cbbf200516869
[]
no_license
imulan/procon
488e49de3bcbab36c624290cf9e370abfc8735bf
2a86f47614fe0c34e403ffb35108705522785092
refs/heads/master
2021-05-22T09:24:19.691191
2021-01-02T14:27:13
2021-01-02T14:27:13
46,834,567
7
1
null
null
null
null
UTF-8
Python
false
false
57
py
for s in input().split(): print(s[0],end="") print()
[ "k0223.teru@gmail.com" ]
k0223.teru@gmail.com
8ab81a05046b4fbe1d20f70062f9411fee994e8d
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_to_M_Gk3_no_pad/pyr_Tcrop255_pad20_jit15/Sob_k17_s001/pyr_4s/L4/step10_a.py
75773149c2e2458db22e88582b00384156b134b7
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
41,921
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
d1a50b99473a4235042bb673ae4d5648722d7914
720dcd12b8fb7ab26125317a6f3d00c2623e5f13
/chatbotQuery/__init__.py
fe8fcde48e539b7f3222f7e172a5b2d88236c54b
[ "MIT" ]
permissive
tgquintela/chatbot_query
78e6f21268e06572009295c271c277ef89f2dcbc
4c5160992a444f828da019ae57a802467a13c2fa
refs/heads/master
2021-01-01T18:00:46.261089
2017-10-13T18:03:32
2017-10-13T18:03:32
98,224,976
0
1
null
null
null
null
UTF-8
Python
false
false
6,896
py
""" TODO ---- Decorator for message collections """ import copy class ChatbotMessage(dict): """ Compulsary elements ------------------- - message - collection - from [user, bot] """ def __init__(self, message): self.update({'message': '', 'collection': False}) self...
[ "tgq.spm@gmail.com" ]
tgq.spm@gmail.com
2d85e566ab46559127ff094934cff6b9e3b4a756
e72db255e41332c113f929eb63815b2169038209
/Chapter08/audio-encode-server-4/audio_encode_server/s3.py
8585e1faf5d52e430754cde9e22635bf0eee6396
[ "MIT" ]
permissive
PacktPublishing/Hands-On-Reactive-Programming-with-Python
b196b971fe49a36da9f979790b8c31c98a659031
757d45e2023032c6074e26ad252530f3c89978bf
refs/heads/master
2023-02-07T01:03:37.648175
2023-02-05T18:21:17
2023-02-05T18:21:38
128,761,473
75
19
null
null
null
null
UTF-8
Python
false
false
2,077
py
import asyncio from collections import namedtuple from io import BytesIO import reactivex as rx import boto3 from boto3.session import Session from cyclotron import Component Source = namedtuple('Source', ['response']) Sink = namedtuple('Sink', ['request']) # Sink objects Configure = namedtuple('Configure', [ 'a...
[ "romain.picard@oakbits.com" ]
romain.picard@oakbits.com
0f0a43f2a910cb3bd27dccab958083608f47a592
0258e0c9595406ceb3de32067aff776bc2a58fa8
/06_p12.py
a649f413d98bebdcef131856db0da2a3d6949b5d
[]
no_license
akromibn37/python_code
72c016c361b3ba2e04c83e1d1a703171b0bd8819
41d1a09f8ec8696e37ad83c1a0cb6506c7f0f4f6
refs/heads/master
2020-03-21T22:57:25.111642
2018-06-29T14:14:33
2018-06-29T14:14:33
139,157,588
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
data = input().strip() l = [] for x in range(len(data)): l.append(data[x]) num = int(input().strip()) out = "" i = 0 while i<num: out = "" command = [e for e in input().split()] if command[0] == "in": l.insert(int(command[2]),command[1]) elif command[0] == "out": l.pop(int(command[1])) elif comm...
[ "apple@Apples-MacBook-Pro.local" ]
apple@Apples-MacBook-Pro.local
a3832070b1ec7002d6f2dd0a9f5bd280d29a3962
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/tensorflow/python/keras/layers/cudnn_recurrent 2.py
96ae66c775e623fff4738688d4f11005c5261b33
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:52c49577848819c4116b99c29c11e765e7a2d686e7ccb4dc7b84454bdf31510f size 20854
[ "business030301@gmail.com" ]
business030301@gmail.com
69ef378642a90c904e60bcd86fa6932e967ed311
032117bbf248a76abd25fcc2355bc8ade84fa76a
/inheritance_4.py
b62203cddf2bf1a42b3576a58752aaab34cfb71a
[]
no_license
shefaligoel136/python_summer_training
ba8f28f6af008584b4239c73d466e4e9d35b4b01
0b97fea050342fe4ed95b18c5f7ed885a6c8ca23
refs/heads/master
2022-11-13T07:22:32.855717
2020-07-06T08:33:19
2020-07-06T08:33:19
277,480,122
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# using super class a: def __init__(self): print("initof A") def feature1(self): print("feature 1 is working") def feature2(self): print("feature 2 is working") class b(a): def __init__(self): super().__init__() print("initof B") def feature3(self): print("feature 3 is working") def fea...
[ "goel136shefali@gmail.com" ]
goel136shefali@gmail.com
79445dc9be69e70168bbf832fc269c16f8377373
c5859d1bdf44c8452563f856dc4191b74e85ce21
/custom_components/image_processing/tagbox.py
163ce385bf2c8182fd5f439a3f58b3d206199a0e
[]
no_license
balloob/homeassistant-config
46774ea88ced4414e48e4f1f40af63ff67b6f990
9f341e4b695db56f3c4af7299a336d5a0f60cdcf
refs/heads/master
2020-03-21T03:10:31.729526
2018-06-18T18:27:54
2018-06-18T18:27:54
138,039,924
11
0
null
2018-06-20T13:56:12
2018-06-20T13:56:12
null
UTF-8
Python
false
false
4,157
py
""" Component that will search images for tagged objects via a local machinebox instance. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/image_processing.tagbox """ import base64 import requests import logging import time import voluptuous as vol from h...
[ "arsaboo@gmx.com" ]
arsaboo@gmx.com
5c0d30018cbe2c3ef11519938d2dcc3bbcfa328b
267ab87884d6c74f8d676c1b6cfebf7e217e2ea7
/index/views.py
79a1320fcddf6b714ccc0465ccd2299e1bfd4d22
[]
no_license
Emehinola/charlotte
0d564181de1f5419a67c06e7dba5cd81796cb1aa
c3175757f5ce7d3ceab272dad9a866c4bea4bd1d
refs/heads/master
2023-04-23T00:38:18.965089
2021-04-30T19:34:17
2021-04-30T19:34:17
363,119,132
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
from django.shortcuts import render from django.views import generic from blog.models import Article, categories # Create your views here. class Home(generic.ListView): model = Article paginate_by = 30 template_name = 'index/home.html' def get_context_data(self, **kwargs): context = { ...
[ "emehinolasam01@gmail.com" ]
emehinolasam01@gmail.com
de3fe45a87e82c646b0708bb94ef18a5f539f842
4d675034878c4b6510e1b45b856cc0a71af7f886
/mmdet/models/seg_heads/panoptic_fusion_heads/heuristic_fusion_head.py
06c1de2b9010fef13bd2322bbd3352d82a1f3e2f
[ "Apache-2.0", "BSD-2-Clause-Views", "MIT", "BSD-2-Clause" ]
permissive
shinya7y/UniverseNet
101ebc2ad8f15482ee45ea8d6561aa338a0fa49e
3652b18c7ce68122dae7a32670624727d50e0914
refs/heads/master
2023-07-22T08:25:42.646911
2023-07-08T18:09:34
2023-07-08T18:09:34
263,555,721
407
58
Apache-2.0
2023-01-27T01:13:31
2020-05-13T07:23:43
Python
UTF-8
Python
false
false
4,482
py
# Copyright (c) OpenMMLab. All rights reserved. import torch from mmdet.core.evaluation.panoptic_utils import INSTANCE_OFFSET from mmdet.models.builder import HEADS from .base_panoptic_fusion_head import BasePanopticFusionHead @HEADS.register_module() class HeuristicFusionHead(BasePanopticFusionHead): """Fusion ...
[ "noreply@github.com" ]
shinya7y.noreply@github.com
bded7a0abc4bf1dc4955561f7e0715bcba19006f
7bd5ca970fbbe4a3ed0c7dadcf43ba8681a737f3
/codeforces/cf326-350/cf334/b.py
3d79209e1a77d7ad5f7c126cf1c70b802e0ece89
[]
no_license
roiti46/Contest
c0c35478cd80f675965d10b1a371e44084f9b6ee
c4b850d76796c5388d2e0d2234f90dc8acfaadfa
refs/heads/master
2021-01-17T13:23:30.551754
2017-12-10T13:06:42
2017-12-10T13:06:42
27,001,893
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll mod = 10**9 + 7 class UnionFind: def __init__(self, size): self.rank = [0] * size self.par = range(size) self.g_num = size def find(self, x): if x == self.par[x]: return ...
[ "roiti46@gmail.com" ]
roiti46@gmail.com
8543bcbeaead0694113b144c40525f0d8ca0ac1d
cc54cf98ec7c1dc88eae06ad12b9c66dc8d500b9
/intrinio_sdk/models/api_response_crypto_true_strength_index.py
bd1b9566f61dd243b6253547bf33ae54da7f8950
[]
no_license
sanderbrauwers/python-sdk
0b3caef4c51c7f4192d315a4636e7278de2dc252
81f6facb30e7781c70ba0000485a0d994a82dbf8
refs/heads/master
2020-05-27T09:57:51.492025
2019-05-24T10:53:21
2019-05-24T10:53:21
188,575,545
0
0
null
2019-05-25T14:24:44
2019-05-25T14:24:44
null
UTF-8
Python
false
false
14,157
py
# coding: utf-8 """ Intrinio API Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API ...
[ "kgmillerdev@gmail.com" ]
kgmillerdev@gmail.com
8eefdcd0f560f9474b98e085a4292b064e7dce77
65329299fca8dcf2e204132624d9b0f8f8f39af7
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/mt_ipv6_reachability/prefixes/prefix/subTLVs/__init__.py
21732f34697d6d2ac9444bb3316752278e827cf6
[ "Apache-2.0" ]
permissive
darylturner/napalm-yang
bf30420e22d8926efdc0705165ed0441545cdacf
b14946b884ad2019b896ee151285900c89653f44
refs/heads/master
2021-05-14T12:17:37.424659
2017-11-17T07:32:49
2017-11-17T07:32:49
116,404,171
0
0
null
2018-01-05T16:21:37
2018-01-05T16:21:36
null
UTF-8
Python
false
false
11,048
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from decimal import Decimal from bitarray import bitar...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
d2e145a737723d90d40cb49ba1513f4ce09da229
d0fcc2198f1caf5633c4fc0d004ba68714396f1b
/bc4py/utils.py
d1c4a85cb4d9f0df6c85fb081bee3a4001b51119
[ "MIT" ]
permissive
webclinic017/bc4py
4bfce04b666c2aaadda4b7ecc2a8270839231850
620b7d855ec957b3e2b4021cf8069d9dd128587a
refs/heads/master
2022-12-09T22:23:49.842255
2019-06-21T14:24:17
2019-06-21T14:24:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,100
py
from bc4py.config import C, V from bc4py.gittool import get_current_branch from bc4py.chain.utils import GompertzCurve from Cryptodome.Cipher import AES from Cryptodome import Random from Cryptodome.Hash import SHA256 from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter from logging import getLogger, DEBU...
[ "thhjuu@yahoo.co.jp" ]
thhjuu@yahoo.co.jp
9c435a42cdc60fb08b9624fc926efccf8f66c4b1
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-alloydb/google/cloud/alloydb_v1/services/alloy_db_admin/transports/grpc_asyncio.py
1472c7e2d2d253937db5f0bc67d4dde86f67efb8
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
50,442
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
668657bcff004b73d7f1774f4f953091a5bf649f
3f55607c033fef615f8d0f9ef8d284f43d1709a1
/shop/shop/settings.py
04d5a80fe47afc58d6e082ce02f49aedb74d8b9d
[]
no_license
aakashres/shoppingcart
d37f7425f8585ac0463153a90ae4f1d2ed49c460
2060fac698130b78860072f5fcc0532ec716d087
refs/heads/master
2022-11-09T15:55:27.061262
2017-04-04T15:00:08
2017-04-04T15:00:08
273,651,566
0
0
null
null
null
null
UTF-8
Python
false
false
3,505
py
""" Django settings for shop project. Generated by 'django-admin startproject' using Django 1.10.5. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os #...
[ "aakash.shres@gmail.com" ]
aakash.shres@gmail.com
24cdcbecc7eafa54f83bb32c05eaadece9ae923c
24caa6710105a060fab2e17147e6d56609939011
/05-Importing_Data_in_Python_(Part_1)/03-Working_with_relational_databases_in_Python/09-Pandas_for_more_complex_querying.py
c6ed202627f94fe3a86b7922d627daf248673cce
[]
no_license
inverseundefined/DataCamp
99607022ad3f899d7681ad1f70fcedab290e269a
7226b6b6f41888c3610a884db9a226e013d37e56
refs/heads/master
2022-01-10T00:53:21.714908
2019-07-24T13:27:49
2019-07-24T13:27:49
198,280,648
1
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
''' Pandas for more complex querying Here, you'll become more familiar with the pandas function read_sql_query() by using it to execute a more complex query: a SELECT statement followed by both a WHERE clause AND an ORDER BY clause. You'll build a DataFrame that contains the rows of the Employee table for which th...
[ "inversedrivenundefined@gmail.com" ]
inversedrivenundefined@gmail.com
0f9bf124f49507e8e88f9c99a67d39996068f0e1
f090c3e0faa70cf0ef7c4be99cb894630bce2842
/scripts_201410/simpleMeasurements/FFT/micromotioncompensate.py
61e0fc2a67cd09a122b42c0821e42d4d1b12e7ff
[]
no_license
HaeffnerLab/resonator
157d1dc455209da9b7de077157bda53b4883c8b7
7c2e377fdc45f6c1ad205f8bbc2e6607eb3fdc71
refs/heads/master
2021-01-09T20:48:03.587634
2016-09-22T18:40:17
2016-09-22T18:40:17
6,715,345
2
1
null
null
null
null
UTF-8
Python
false
false
683
py
from FFT import measureFFT import numpy as np import labrad import time cxn = labrad.connect() dv = cxn.data_vault recordTime = 0.5 #seconds average = 4 freqSpan = 50.0 #Hz freqOffset = -889 #Hz, the offset between the counter clock and the rf synthesizer clock #setting up FFT fft = measureFFT(cxn, recordTime, avera...
[ "soenkeamoeller@gmail.com" ]
soenkeamoeller@gmail.com
df7b27de7032e41159d2757d07e22dd5bf52718c
cad91ae76d2746a6c28ddda0f33a58f9d461378f
/TensorFlow2/LanguageModeling/BERT/dllogger_class.py
be211785d770825978dc9b4cb32631e11f2435bc
[]
no_license
NVIDIA/DeepLearningExamples
fe677521e7e2a16e3cb0b77e358f9aab72f8c11a
a5388a45f71a949639b35cc5b990bd130d2d8164
refs/heads/master
2023-08-31T20:57:08.798455
2023-08-23T10:09:12
2023-08-23T10:09:12
131,881,622
11,838
3,124
null
2023-08-28T16:57:33
2018-05-02T17:04:05
Jupyter Notebook
UTF-8
Python
false
false
2,852
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2021, 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/lic...
[ "kkudrynski@nvidia.com" ]
kkudrynski@nvidia.com
6bec030a51b5bb4b0f123d9777dc394b085cf5e0
9eaa2c64a777bd24a3cccd0230da5f81231ef612
/study/1905/month01/code/Stage5/day16/demo06_canny.py
8cecd5c5324a39778bbcead274373be63fe735f3
[ "MIT" ]
permissive
Dython-sky/AID1908
4528932f2ca66b844d8a3fcab5ed8bf84d20eb0c
46cd54a7b36b5f009974f2bbb7005a4ad440ca1a
refs/heads/master
2022-04-14T12:23:30.426270
2020-04-01T18:05:19
2020-04-01T18:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
""" demo06_canny.py 边缘识别 """ import cv2 as cv original = cv.imread('../ml_data/chair.jpg',cv.IMREAD_GRAYSCALE) print(original) cv.imshow('original',original) # 索贝尔边缘识别 sobel = cv.Sobel(original,cv.CV_64F,0,1,ksize=5) cv.imshow('sobel',sobel) # 拉普斯边缘识别 laplacian = cv.Laplacian(original,cv.CV_64F) cv.imshow('laplacia...
[ "dong_1998_dream@163.com" ]
dong_1998_dream@163.com
81eb6216326223d83778b2d3bd64fbec29228251
73758dde83d1a1823c103e1a4ba71e7c95168f71
/nsd2002/py02/day03/game_role.py
65eea729683ff4a6c379867472ab679b07dec8fa
[]
no_license
tonggh220/md_5_nsd_notes
07ffdee7c23963a7a461f2a2340143b0e97bd9e1
a58a021ad4c7fbdf7df327424dc518f4044c5116
refs/heads/master
2023-07-02T01:34:38.798929
2021-05-12T08:48:40
2021-05-12T08:48:40
393,885,415
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
class Role: def __init__(self, name, weapon): # 构造器方法,实例化时自动调用,注意,self不是关键字,可以是任何自定义的变量 # 绑定在实例身上的属性,在类中任意位置可见可用 self.name = name self.weapon = weapon def show_me(self): # 绑定在实例身上的属性,在类中任意位置可见可用 print('我是%s,我擅用%s' % (self.name, self.weapon)) def speak(self, ...
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
3d87924ec7d7fd9fcc0bcf9142588b70d3044ea6
04e2a63c2a393ec3782a482b1734b6462c885d5d
/univelcity/open_file.py
a5d41c60faaaf3883d1b9e76f60d5a9ad4ae687c
[]
no_license
AzeezBello/_python
c1d671efbca2ed2ca7d65513efd2c55b496ddad7
266bc5aed9bfb93ea93b07712b48406331a9a327
refs/heads/master
2020-05-17T18:09:49.133120
2019-05-16T07:08:50
2019-05-16T07:08:50
183,876,279
0
0
null
null
null
null
UTF-8
Python
false
false
3,299
py
# file = open("death_causes.csv", "r") # index = 0 # for line in file: # index += 1 # print(line.split(",")) # if index == 3: # break # # Year,Cause Name,Cause Name,State,Deaths,Age-adjusted Death Rate # file = open("death_causes.csv", "r") # deaths = 0 # count = 0 #...
[ "azeez@scholarx.co" ]
azeez@scholarx.co
0332c4d5e620cd87f9b70d77e4f57a67c07e72a3
3b89c0a97ac6b58b6923a213bc8471e11ad4fe69
/python/CodingExercises/MoveSpacesFrontString.py
af9641cf57932b4daa0e84d62d196bc3aa65de22
[]
no_license
ksayee/programming_assignments
b187adca502ecf7ff7b51dc849d5d79ceb90d4a6
13bc1c44e1eef17fc36724f20b060c3339c280ea
refs/heads/master
2021-06-30T07:19:34.192277
2021-06-23T05:11:32
2021-06-23T05:11:32
50,700,556
1
3
null
null
null
null
UTF-8
Python
false
false
1,116
py
''' Move spaces to front of string in single traversal Given a string that has set of words and spaces, write a program to move all spaces to front of string, by traversing the string only once. Examples: Input : str = "geeks for geeks" Output : ste = " geeksforgeeks" Input : str = "move these spaces to beginning...
[ "kartiksayee@gmail.com" ]
kartiksayee@gmail.com
b7aade2484b165d22de966e987fd39bcf4cf37f0
286df6528096b6393b61d3ecb3b7002cb9a7b983
/python/ql/test/library-tests/frameworks/aiohttp/response_test.py
1988f4435604cade3227c27d40ba902f6661df59
[ "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "LicenseRef-scancode-free-unknown", "Python-2.0", "MIT" ]
permissive
Inncee81/codeql
ed620df0ae7b706943eccd92af37e037f540f6a4
38a38fd2c145628472d14c9e9d6ca812fd525793
refs/heads/main
2023-06-13T01:23:30.086459
2021-06-22T10:59:44
2021-06-22T10:59:44
379,254,229
1
0
MIT
2021-06-22T12:02:02
2021-06-22T12:02:01
null
UTF-8
Python
false
false
3,173
py
from aiohttp import web routes = web.RouteTableDef() @routes.get("/raw_text") # $ routeSetup="/raw_text" async def raw_text(request): # $ requestHandler return web.Response(text="foo") # $ HttpResponse mimetype=text/plain responseBody="foo" @routes.get("/raw_body") # $ routeSetup="/raw_body" async def raw_bod...
[ "rasmuswl@github.com" ]
rasmuswl@github.com
8400f0f8f16237cd362e0cc37f3436e13b3d755f
82f6a6c50a1fef2d7522a43cc4f60e5ff80b37a8
/solutions/Longest Word in Dictionary through Deleting/solution.py
267c70a98bb61b70fe13d5f17a5e27cb662c0fae
[ "MIT" ]
permissive
nilax97/leetcode-solutions
ca0f9545ce70975617738f053e0935fac00b04d4
d3c12f2b289662d199510e0431e177bbf3cda121
refs/heads/master
2023-05-14T02:21:48.893716
2021-06-08T13:16:53
2021-06-08T13:16:53
374,466,870
3
0
null
null
null
null
UTF-8
Python
false
false
617
py
class Solution: def findLongestWord(self, s: str, d: List[str]) -> str: s = '_' + s n, nxt = len(s), [{} for _ in s] for i, c in enumerate(s): for j in range(i-1, -1, -1): nxt[j][c] = i if s[j] == c: break def find(word): i = 0...
[ "agarwal.nilaksh@gmail.com" ]
agarwal.nilaksh@gmail.com
e9a1fed6a23067a05df9d37a4204e81098c48194
b9bf3b34b59ec8e566b7ad6e58b7d0429370d6bd
/gunicorn_conf.py
3b6bec2f43185136d7017ecf5ea3fe59f9f34931
[]
no_license
dutradda/chunli
7eea614b6c6c3c0738bec2f15d8224430e450a82
54e4385a34f805a2c13acdf85aec98d63c4eaff7
refs/heads/master
2021-08-16T09:22:45.388575
2020-09-03T12:55:33
2020-09-03T12:55:33
217,397,141
3
0
null
null
null
null
UTF-8
Python
false
false
327
py
import os import redis def worker_exit(server, worker): r = redis.Redis.from_url(os.environ.get('REDIS_TARGET', 'redis://')) r.publish('chunli:distributed', 'stop') def child_exit(server, worker): r = redis.Redis.from_url(os.environ.get('REDIS_TARGET', 'redis://')) r.publish('chunli:distributed', '...
[ "diogo.albuquerque@luizalabs.com" ]
diogo.albuquerque@luizalabs.com
8fe248d9822eea62924d8b53b9b960bb32bfe359
6541487fb7df24610e5c61aa30d4a39b9117b427
/tests/test_math_helpers.py
6cf87e9dc244968d69684b98f2d4a3ab0f4b7c6f
[ "MIT" ]
permissive
theY4Kman/birdfeeder
0e1f90a96b1607c0675ea3ab70a00fc99b97e7ac
25503a138fe01589fb28317ae0f3e281d6ce1961
refs/heads/master
2023-04-21T11:23:07.699322
2021-03-24T08:36:13
2021-03-24T08:37:40
368,974,412
0
0
MIT
2021-05-19T19:03:43
2021-05-19T19:03:43
null
UTF-8
Python
false
false
510
py
from decimal import Decimal from birdfeeder.math_helpers import safe_div, safe_mean def test_safe_div_basic(): assert safe_div(10, 2) == 5.0 def test_safe_div_basic_decimal(): assert safe_div(Decimal(10), Decimal(2)) == Decimal(5) def test_safe_div_zero_div(): assert safe_div(10, 0) == 0.0 def test...
[ "vvk@vvk.pp.ru" ]
vvk@vvk.pp.ru
b9b8b6190fea295a20706bf72e02f8bd6b16d816
0a15660807aee7d2fccbef1a3e633cabd1deb972
/subway/models.py
6dd5ae55f71cff97c7052df438f87e6a8c662e4e
[]
no_license
chirs/hs
7860e77230cd2577cac79539039f0e2a7590ef35
f1985e11a73b29fa8bf4fd1725c529ec8e61cb5b
refs/heads/master
2021-01-21T10:42:15.789926
2017-02-28T20:12:31
2017-02-28T20:12:31
83,474,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,437
py
from sqlalchemy import Table, Column, Integer, String, Boolean, DateTime, MetaData, ForeignKey, Text, Float from sqlalchemy.orm import mapper from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base engine = create_engine('sqlite:///:memory:', echo=True) Base = declarative_base() ...
[ "chrisedgemon@gmail.com" ]
chrisedgemon@gmail.com
dd15eca3d521afbdc79bca58fa83066ccbc92404
3337e9150a743e0df2898528dd1e4dfac9730b25
/artemis/general/mymath.py
e60d306dc6a969ee2e04e2cb9db36f9d9ba7edad
[]
no_license
ml-lab/artemis
f3353cb462b06d64e1007010db94667b4703c90e
b4f5f627f1798aff90b845d70fd582142a9f76c8
refs/heads/master
2021-01-22T06:49:41.346341
2017-09-01T15:31:13
2017-09-01T15:31:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,159
py
import logging from artemis.general.should_be_builtins import memoize, bad_value import numpy as np from scipy.stats import norm, mode as sp_mode try: from scipy import weave except ImportError: logging.warn("Could not import scipy.weave. That's ok, ignore this unless you need it.") __author__ = 'peter' # Not...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
dc105c937af95e74bf4880b57361a7470c141909
fb8cbebdf034b2f478943752d5443afc82c6eef5
/tuirer/venv/lib/python3.6/site-packages/jedi/evaluate/dynamic.py
fe9d28e5d70906257d64b55fcc219bbc2f5d3c6a
[]
no_license
fariasjr/CitiTuirer
f64e0ec93ef088f8140bb0961d2ad4ed3b59448a
deb3f7a9c2d45b8a7f54639037f097b99abdac11
refs/heads/master
2020-03-24T05:10:36.261050
2018-08-01T20:24:30
2018-08-01T20:24:30
142,477,521
0
0
null
null
null
null
UTF-8
Python
false
false
8,165
py
""" One of the really important features of |jedi| is to have an option to understand code like this:: def foo(bar): bar. # completion here foo(1) There's no doubt wheter bar is an ``int`` or not, but if there's also a call like ``foo('str')``, what would happen? Well, we'll just show both. Because th...
[ "jornadaciti@ug4c08.windows.cin.ufpe.br" ]
jornadaciti@ug4c08.windows.cin.ufpe.br
1317aafa3a4fd100947fdd513f504d272f19b67c
867c876541c29775bd5c1548a2ba59f0dc84737d
/MxShop/extra_apps/xadmin/sites.py
4d151c4b285f85168ebbcd2566c77c2ade989a9c
[]
no_license
flowpig/daily_demos
be9c8aec7c8070e96ee7012b249c2f60e777e248
b4bc7779c55ca0a02098c6dafe23a8f5af461182
refs/heads/master
2023-01-10T21:46:24.059317
2019-11-29T06:33:42
2019-11-29T06:33:42
117,111,372
0
0
null
2022-12-26T20:42:28
2018-01-11T14:29:56
JavaScript
UTF-8
Python
false
false
15,072
py
import sys from functools import update_wrapper from future.utils import iteritems from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.db.models.base import ModelBase from django.utils import six from django.views.decorators.cache import never_cache from django.template....
[ "2802703843@qq.com" ]
2802703843@qq.com
b0da7bdba534730f35505b2301bd30a30bf8b8a2
26192962dc2627e7ca5f0e3b249c3fabcf52442c
/Python/AD-HOC/1196 - WERTYU.py
f1d867b9f14a29527c0d7a750ed75bcb36716f79
[]
no_license
PierreVieira/URI
77278ccb1724ca206ab2c12afbea1e51fa08ff73
c1eb211c788d26b5cb9bedf5dda4147a2961fa19
refs/heads/master
2023-04-10T07:03:13.954639
2023-03-22T00:18:28
2023-03-22T00:18:28
189,321,748
2
1
null
null
null
null
UTF-8
Python
false
false
380
py
""" Autor: Pierre Vieira Data da submissão: 02/02/2020 16:48:12 """ linha = "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,.'" while True: s = '' try: frase = input() except EOFError: break else: for c in frase: if c == ' ': s += c else: ...
[ "pierrevieiraggg@gmail.com" ]
pierrevieiraggg@gmail.com
734bba3ac3df513251e2431b420b08c3a0bb20f7
c2643fdff3185b659c2c7fa807d8b8d345a90343
/tests/test_basic.py
4bea68de088fd5206824e30ac834120108554bc5
[ "BSD-2-Clause" ]
permissive
auxten/fhost
b39ae209a056b301e737d176f8f12dcafd82cfa2
6536c4955e13fd67c939a6fc6cc687d29e976d15
refs/heads/master
2021-01-16T00:35:43.304418
2012-06-25T10:17:52
2012-06-25T10:17:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
# ## BEGIN LICENSE BLOCK # # Copyright (c) <2012>, Raul Perez <repejota@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copy...
[ "repejota@gmail.com" ]
repejota@gmail.com
3ce934caaa6e0a49902a84d3e6ce84ac3d1aac37
5cb8df4d10cd1a1d77f227ea8e1b311744750d5b
/generate.py
b4ba55cf4e1d1accfe70b88346848e422bbf65cf
[ "CC0-1.0" ]
permissive
YoonGenwu/hearthstonejson
388d46c5c082cde8389bef1011dded7d46fea7dc
3d6709f99dc7d0c0b75ccf441cfebec00f48a184
refs/heads/master
2021-01-15T11:42:57.006639
2016-02-17T01:12:14
2016-02-17T01:12:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,707
py
#!/usr/bin/env python import os import json import sys from argparse import ArgumentParser from enum import IntEnum from hearthstone.dbf import Dbf from hearthstone.cardxml import load from hearthstone.enums import CardType, Faction, GameTag, Locale, LOCALIZED_TAGS MECHANICS_TAGS = [ GameTag.ADJACENT_BUFF, GameTag....
[ "jerome@leclan.ch" ]
jerome@leclan.ch
1e1c3159a79488453e4810b9362f7850f72e9c90
f68eda51246c95597def569224f3b56d4c3700e7
/top/api/rest/SellercenterUserPermissionsGetRequest.py
a3f561db414e9ebc103b8c2d04ac8c7b445babb9
[ "MIT", "BSD-3-Clause" ]
permissive
stoensin/taobao-openapi
47de8fb29ae2d8ce47d4fce07c0ccaeaee1ef91f
202a9df2085229838541713bd24433a90d07c7fc
refs/heads/main
2023-07-17T02:17:51.527455
2021-08-25T15:08:49
2021-08-25T15:08:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
''' Created by auto_sdk on 2018.07.25 ''' from top.api.base import RestApi class SellercenterUserPermissionsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.nick = None def getapiname(self): return 'taobao.sellercenter.user.permissio...
[ "samzong.lu@gmail.com" ]
samzong.lu@gmail.com
1daefdaaf3cdc9dbbd4d888acd5c05d94d6285dd
85c337f0364f1452c068b7e93421b3e24af85358
/MzManage/manage.py
362fb7bb3d7af3d8d0dfab2d09b3c4fb6b0b78a7
[]
no_license
hornLK/AuthSystemWeb
9518f23453f910e17c516db26ea3a00fe0d0c806
c2c03ff2133151889a2ecc205a753a0eb2bbfd91
refs/heads/master
2022-12-14T19:18:00.560077
2018-04-19T12:39:14
2018-04-19T12:39:14
130,317,561
0
0
null
2022-12-08T00:59:04
2018-04-20T06:17:08
JavaScript
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MzManage.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "bjlkq546449541@gmail.com" ]
bjlkq546449541@gmail.com
347502a5063ca3f7fdbb96e81aadf62f71a48dae
97e534b26a76bf0d954e166841179979748bcfa2
/objects/migrations/0046_auto_20180625_0823.py
d6855e81eb891d0362368b4d406690be5fbde2c7
[]
no_license
mehdi1361/http_server
3a8bd73ce44307ee2b7761d1211671ca8cb0f3ba
d8a962c55165ef0237bfb26d27d9cfa11a415a5d
refs/heads/develop
2022-12-11T00:44:11.089407
2019-01-20T12:02:48
2019-01-20T12:02:48
166,656,299
0
0
null
2022-12-07T23:53:22
2019-01-20T12:02:05
HTML
UTF-8
Python
false
false
958
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-06-25 08:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('objects', '0045_auto_20180625_0724'), ] operations = [ migrations.AddField( ...
[ "mhd.mosavi@gmail.com" ]
mhd.mosavi@gmail.com
3fb2a9f1ae58ad0743c9d750da7afc275cf304bf
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/test/test_multibytecodec.py
7384d370794ac8065a971022cc5463d45a9edc2d
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/python-3.7.7-oihhthdoxtgh4krvzpputn5ozwcnq2by/lib/python3.7/test/test_multibytecodec.py
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
914e5a276b7849b267a4458ca7c0afd16ec3f18e
3f73ce74b6fdfb7966abb71a98f4986edd727c5f
/lib/config.py
9d9e5784d61265a408685b6fae7a08e8e51d01e0
[ "MIT" ]
permissive
yuta-komura/amateras
9c2efd310b18f159b1354864d65f9894ab93737f
cf8cc8fe0b5d8c382090fd1784a3ce96e6953157
refs/heads/master
2023-01-21T19:57:18.763894
2020-11-25T04:02:28
2020-11-25T04:02:28
297,432,974
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
from enum import Enum PROJECT_DIR = __file__.replace("/lib/config.py", "") class HistoricalPrice(Enum): TIME_FRAME = 60 # minutes CHANNEL_WIDTH = 67 class DATABASE(Enum): class TRADINGBOT(Enum): HOST = "*********" USER = "*********" PASSWORD = "*********" DATABASE = "**...
[ "you@example.com" ]
you@example.com
67fc115da063c9287e6ada76e5e4d1b617f534dd
1676168244eed1c5610b2c1c38f692f89990b112
/part3-python/Bigdata/ComStat_v0.15.py
88aa905773aed8169fd5bcd5f19bd774c6f5136a
[]
no_license
gtpgg1013/AI_docs
351e83f986d66224c82fff2de944753c98336d03
43f8eed8b2732314bd40ed65e1d7eb44dd28fc04
refs/heads/master
2022-12-09T17:32:02.992554
2019-11-20T09:03:56
2019-11-20T09:03:56
182,927,565
1
0
null
2022-12-08T06:50:23
2019-04-23T03:54:56
Jupyter Notebook
UTF-8
Python
false
false
26,630
py
import matplotlib matplotlib.use("TkAgg") from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg from matplotlib.figure import Figure from tkinter import * import matplotlib.animation as animation import psutil import threading import time import math import datetime import platform from tkinter import font i...
[ "gtpgg1013@gmail.com" ]
gtpgg1013@gmail.com
3c41505b6df63f203fef498970b71945aa8ac5d8
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/situations/complex/looping_interaction_situation.py
a00207c4f468d786c117ad5289444841aeb74d90
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
9,478
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\situations\complex\looping_interaction_situation.py # Compiled at: 2020-10-01 19:10:21 # Size of sou...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
75434b093211de8bd09ddd5d42a9bf15f06d16c6
77116b044adb3f28c5ea53d17fc69c29fd9bee55
/modules/influxdb_wrapper.py
683fcb41dd50d91836b1b24a3421205c11cc4a99
[ "MIT" ]
permissive
manav1403/stopstalk-deployment
63a5c22f20cf1dbe81024ba63b33c1c986ae8ada
667f6d89b24ce04595e2c70e02aa44aa3d836c42
refs/heads/master
2023-03-22T18:39:37.371341
2021-03-20T15:40:20
2021-03-20T15:40:20
290,265,152
0
0
MIT
2020-08-25T16:22:59
2020-08-25T16:22:58
null
UTF-8
Python
false
false
2,960
py
""" Copyright (c) 2015-2020 Raj Patel(raj454raj@gmail.com), StopStalk 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 ...
[ "raj454raj@gmail.com" ]
raj454raj@gmail.com
5901e5381b54af17773dc3e7c1520e28cf0de3f4
2cb507ecd6629b9ff457a36e462f987913d94c1a
/webspider/3.数据提取/3.3bs4模块/07-bs4案例.py
e0ba2dc15a95fa18c7b4907a3e13a505e0e05098
[ "Apache-2.0" ]
permissive
youaresherlock/PythonPractice
6869e0a5949675198826e5a07552237a636d6f5b
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
refs/heads/master
2021-08-16T03:09:44.203035
2021-08-02T07:40:00
2021-08-02T07:40:00
146,625,560
0
1
null
null
null
null
UTF-8
Python
false
false
804
py
#!usr/bin/python # -*- coding:utf8 -*- """ https://mil.news.sina.com.cn/roll/index.d.html """ import json import requests from bs4 import BeautifulSoup url = 'https://mil.news.sina.com.cn/roll/index.d.html' headers = {"User-Agent": "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"} response = request...
[ "2263194561@qq.com" ]
2263194561@qq.com
3f9c5087daf02fa4d3f63eed410bf3cac7690a7a
5936b0f025944d265cc64d31ef93bc578d5ae6a2
/home/migrations/0002_load_initial_data.py
aa10fce4bdfc1b079fe4363502f83665c2758cfe
[]
no_license
crowdbotics-apps/smiley-18358
b4e91ddeaf525aedf990ec1df65d65fb583f4b7c
7935dd2fad196a7b573c1126905af5fcf93110b0
refs/heads/master
2022-11-06T07:02:33.512245
2020-06-23T20:08:09
2020-06-23T20:08:09
274,497,439
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "smiley" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ho...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0c959bb906d3c3b2c695aa535eb404b7f8e52c55
c795ec7f77219892183a1222fb51b8be2e754944
/multiverse server/multiverse-server/multiverse/config/mv_fantasy/ability_db.py
e25cedb2bc832ac0df1d59a2590ebf554a5d19c1
[ "MIT" ]
permissive
radtek/MultiverseClientServer
89d9a6656953417170e1066ff3bd06782305f071
b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379
refs/heads/master
2023-01-19T04:54:26.163862
2020-11-30T04:58:30
2020-11-30T04:58:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,874
py
# # The Multiverse Platform is made available under the MIT License. # # Copyright (c) 2012 The Multiverse Foundation # # 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 restrict...
[ "demckay@outlook.com" ]
demckay@outlook.com
6d3e6d6192178fdbd567a66120eb0aeb0b1077a1
a281d09ed91914b134028c3a9f11f0beb69a9089
/contrib/great_expectations_semantic_types_expectations/great_expectations_semantic_types_expectations/expectations/expect_column_values_to_be_valid_stellar_address.py
e90bce385fe104a9ad05fb1b06683e925a02a2db
[ "Apache-2.0" ]
permissive
CarstenFrommhold/great_expectations
4e67bbf43d21bc414f56d576704259a4eca283a5
23d61c5ed26689d6ff9cec647cc35712ad744559
refs/heads/develop
2023-01-08T10:01:12.074165
2022-11-29T18:50:18
2022-11-29T18:50:18
311,708,429
0
0
Apache-2.0
2020-11-10T15:52:05
2020-11-10T15:52:04
null
UTF-8
Python
false
false
6,125
py
""" This is a template for creating custom ColumnMapExpectations. For detailed instructions on how to use it, please see: https://docs.greatexpectations.io/docs/guides/expectations/creating_custom_expectations/how_to_create_custom_column_map_expectations """ import json from typing import Optional import coinaddrv...
[ "noreply@github.com" ]
CarstenFrommhold.noreply@github.com
0a84c7d2819c6909abef3aa8cf9c8e577efad451
13f4a06cd439f579e34bf38406a9d5647fe7a0f3
/nn_ns/parsing/IterParser/ParseResultAST.py
205e7e97ea49432cf019048a7b1198e730ce036c
[]
no_license
edt-yxz-zzd/python3_src
43d6c2a8ef2a618f750b59e207a2806132076526
41f3a506feffb5f33d4559e5b69717d9bb6303c9
refs/heads/master
2023-05-12T01:46:28.198286
2023-05-01T13:46:32
2023-05-01T13:46:32
143,530,977
2
2
null
null
null
null
UTF-8
Python
false
false
346
py
from sand.types.NonMathTree import NonMathTree, LeafNode, OrientedNode, UnorientedNode class ParseResultAST(NonMathTree): class __UnboxedTypeID__:pass class ConRuleNode(OrientedNode, ParseResultAST):pass class AltRuleNode(UnorientedNode, ParseResultAST):pass class TerminalNode(LeafNode, ParseResultAS...
[ "wuming_zher@zoho.com.cn" ]
wuming_zher@zoho.com.cn
5793547e4f2688f451442dce1b433dfd365ef5a8
9715a7d27f9b146632f964b643ee7243a7e9a38c
/match-sift.py
b7275f8f1c0e357c2af2b24419bc14fbb03ef725
[]
no_license
uakfdotb/skyquery
3eb9b2265992127a3c5b3b3612c32ddea0f39195
dc67b98ee8034711c274408640e3582d20482673
refs/heads/master
2020-07-07T03:49:57.856424
2019-08-21T19:13:18
2019-08-21T19:13:18
203,237,682
2
0
null
null
null
null
UTF-8
Python
false
false
6,632
py
from discoverlib import geom, grid_index import get_db import cv2 import json import math import multiprocessing import numpy import os from PIL import Image import scipy.ndimage import sys video_id = int(sys.argv[1]) db = get_db.get_db() BASE_PATH = 'ortho-masked.jpg' FRAME_PATH = 'frames/{}/'.format(video_id) LK_P...
[ "fbastani@perennate.com" ]
fbastani@perennate.com
f5557d5ff6492966343a1b46c76dde955a03f5a7
b15a9d9c7374c4a1fa5ec3ef63603a8c57e8681f
/Design-Patterns-Python/memento/caretaker.py
6a143d567f4390a284f8bff63c8f3a579f175f00
[]
no_license
gohils/zemr_notebook
3f7490ef7a2559655746c3e2e0dbfb835a83891e
00d53cea9970df44160c51e6ad2bdeadfae2c91f
refs/heads/master
2023-08-04T14:32:35.428016
2023-07-20T11:51:08
2023-07-20T11:51:08
222,027,451
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
"The Save/Restore Game functionality" class CareTaker(): "Guardian. Provides a narrow interface to the mementos" def __init__(self, originator): self._originator = originator self._mementos = [] def save(self): "Store a new Memento of the Characters current state" ...
[ "noreply@github.com" ]
gohils.noreply@github.com
b1850bb9f42ce970e1af828ad7e8073288267aa4
1929443c8e4ec6ccd79777f18d161546867e17ef
/methods/transformers/tests/test_pipelines_fill_mask.py
2777bee42548e1da90a9efb1537e16c2cba4f6ce
[ "MIT", "Apache-2.0" ]
permissive
INK-USC/RiddleSense
6f4b00546d7f4d5ada12db50929c1f0d7713d541
a3d57eaf084da9cf6b77692c608e2cd2870fbd97
refs/heads/main
2023-08-14T19:01:01.478946
2021-07-05T04:06:01
2021-07-05T04:06:01
376,487,870
8
2
null
null
null
null
UTF-8
Python
false
false
9,295
py
import unittest import pytest from transformers import pipeline from transformers.testing_utils import require_tf, require_torch, slow from .test_pipelines_common import MonoInputPipelineCommonMixin EXPECTED_FILL_MASK_RESULT = [ [ {"sequence": "<s>My name is John</s>", "score": 0.0078230835...
[ "yuchen.lin@usc.edu" ]
yuchen.lin@usc.edu
4b94ea0efb14d60e69e0110fd84977c9ba7a7611
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_public_ip_address_configuration_py3.py
76a82b78db8773b9a74688ddbdadeac51ed6ec07
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,197
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
4673777d1c1a994069de18c0acda79831f581168
611055f18da392e5a63b2d80ce102701201981eb
/src/apps/comentarios/admin.py
52f74fce4df52fd09dd0fe7013e06fc2089b1463
[]
no_license
danielhuamani/django-backbone
facf6f2ced78991577957bd2f8bb8c42255cd795
6523e19d8599753ccf28b6a2d4f511ec0fe0f1c7
refs/heads/master
2021-01-10T12:47:26.514543
2015-11-18T17:12:02
2015-11-18T17:12:02
45,657,924
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from django.contrib import admin from .models import Comentario # Register your models here. # admin.site.register(Comentario)
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
56f8397cd80c31bf0258a6c8726c43dfa3581ba0
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5688567749672960_1/Python/Jakube/A.py
4b619d8aaec440fa7678ace44a08aae319de1d8e
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,162
py
def splitter(number): s = str(number) return int(s[:len(s)//2] or "0"), int(s[len(s)//2:]), len(s[len(s)//2:]) def compute(number): steps = 0 while number: # get second part of the number half1, half2, l = splitter(number) if half2 == 0: steps += 1 ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
76347a0bc807d2e3b00e30fef2748954370b3171
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-2/dn5 - tviti/M-17135-2263.py
9deedfe8d85e527c7a5c6e89ba8391269f3c8492
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
7,569
py
def unikati(s): sez = [] for x in s: if x not in sez: sez.append(x) return sez def avtor(tvit): a = "" for x in range(len(tvit)): if tvit[x] == ":": break else: a += tvit[x] return a def izloci_besedo(beseda): beseda_1 = "" for ...
[ "benjamin.fele@gmail.com" ]
benjamin.fele@gmail.com
d0ac595a122ecd472ef080d0b8bd510635b637ea
6fab6422c26e00cde21f51f8f10eb88ff5c458af
/api/serializers.py
51f7198a3741d3245a04b600aeef1d4bc543c61a
[]
no_license
nicksonlangat/alzy-api
ffa3f43198fa0a6e8f58b88ae3f206e4c69f6cfb
d4a95da469d0895eb0c8a2897f3927e61da89aa9
refs/heads/master
2023-02-28T08:36:15.600769
2021-02-09T22:37:03
2021-02-09T22:37:03
337,120,025
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
from django.contrib.auth.models import User from rest_framework import serializers from .models import * class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ('id', 'username', 'email', 'password') extra_kwargs = {'password' : {'write_only': True, ...
[ "nicksonlangat95@gmail.com" ]
nicksonlangat95@gmail.com
ee5d9088a648e83c220c2dc7e4f83db84f9ab93e
f02e654d5590a861804e3220ed76ba2192e1699b
/aslam/deprecated/ASLAM/deprecated/old2/test.py
bdc9562460aa075503b52776c3db9d3ae345080c
[ "MIT", "BSD-3-Clause" ]
permissive
AmarNathH/software
73e2afd3affaf2c1595b406480edac8b8fb2fcac
e225810c7501250f48add43349a64f49450cc79f
refs/heads/master
2020-12-02T20:50:18.439874
2017-07-03T16:51:07
2017-07-03T16:51:07
96,219,939
1
0
null
null
null
null
UTF-8
Python
false
false
636
py
#!/usr/bin/env python2.7 from classes import * import numpy as n S = State(5, 1, 5, 1) for x in range(5): S.objects[str(x)] = Object() S.update() S.hObs('0', 45, 5) S.dObs('0', 10**(1./2), 0.5) S.update() import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D fig = plt.figure() ax = fig.add_subpl...
[ "software@cuauv.org" ]
software@cuauv.org
1197d22b4092f0070ba99d63e0074573c7e860f4
6045f8519065f17b9d832a8e051723a520b58e3c
/ex Basic Sytax/2. Drink Something.py
bc6082c6982ee35b8a65971bc335d24452e1b965
[]
no_license
a-angeliev/Python-Fundamentals-SoftUni
a308a6c94eb705a3319f6e081543c1cad0b1b37d
a9a5eba0376ebc7395daeda527408d1e59d58316
refs/heads/master
2023-07-19T05:55:28.104160
2021-09-11T18:25:58
2021-09-11T18:25:58
399,575,767
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
n = int(input()) if n<=14: print("drink toddy") elif n<=18: print("drink coke") elif n<=21: print("drink beer") else: print("drink whisky")
[ "nachko01@gmail.com" ]
nachko01@gmail.com
f3c46d47d4582718dfb6dd5b01fc9693777fc6bd
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/network/azure-mgmt-dns/azure/mgmt/dns/v2023_07_01_preview/aio/_dns_management_client.py
27d21876b1846ae591194de288047cefd6a1b680
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
5,306
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
e8bad14d95e08fc8e990e74f3bdf81de17ebc718
23b7fa714698be444d82ac649314616495c66235
/petl/transform/__init__.py
5dac1f6cd765844d320a78b291999fef24a54ef6
[ "MIT" ]
permissive
mbelmadani/petl
a38ed1e595157fb556fe86ae32e796f6eff60a7a
b6867f056bf44d699f8f7b8432769e4b5127e937
refs/heads/master
2021-04-03T09:04:56.785188
2019-08-06T15:09:40
2019-08-06T15:09:40
124,597,339
0
0
MIT
2018-03-09T21:53:44
2018-03-09T21:53:44
null
UTF-8
Python
false
false
2,444
py
from __future__ import absolute_import, print_function, division from petl.transform.basics import cut, cutout, movefield, cat, annex, \ addfield, addfieldusingcontext, addrownumbers, addcolumn, rowslice, head, \ tail, skipcomments, stack from petl.transform.headers import rename, setheader, extendheader, \ ...
[ "alimanfoo@googlemail.com" ]
alimanfoo@googlemail.com