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
d74ed3da85a83da99005ede24c1ed2c32848de75
8c23effa7065436e7e251137488aaa861de50395
/tests.py
64cdada45a4588d51812a2372826cd1ab67311cf
[]
no_license
ericholscher/django-playground
5f68f77e2aeb02a712b491c746d1baa2808fd16e
8195bb8172ce8d426bb108b4e1e051bffe02d738
refs/heads/master
2021-01-23T15:41:29.840254
2009-11-10T06:06:20
2009-11-10T06:06:20
209,035
4
1
null
null
null
null
UTF-8
Python
false
false
622
py
from django.test import TestCase from django.template import Context, Template from django import template from mock import Mock class SimpleTest(TestCase): fixtures = ['test_data'] def test_basic_self_parsing(self): from playground.templatetags.playground_tags import get_content_tag token = ...
[ "eric@ericholscher.com" ]
eric@ericholscher.com
6962d16fd8dc958bdab66af0610d276ca41b73c0
dca5705c291da76cbfaf3897680eb0ae2eb56e2b
/aayushg_assgn/search/views.py
d63b59c089f6f81cee4ad93bed52cce68340e98f
[]
no_license
gadia-aayush/Django-API-1
41a40598653009def8ca5bda9a578a26b8bf9115
307202ad0aa4357408e756cd74f3723e74fca253
refs/heads/master
2022-12-13T23:09:45.960562
2020-08-30T19:36:16
2020-08-30T19:36:16
273,763,155
0
0
null
null
null
null
UTF-8
Python
false
false
3,646
py
import json from django.http import JsonResponse from django.http import HttpResponse, HttpResponseNotFound, Http404, HttpResponseRedirect from spam.models import Spam from myauth.models import UserContacts from django.contrib.auth.models import User from rest_framework.decorators import api_view from rest_framework i...
[ "gadia.aayush@gmail.com" ]
gadia.aayush@gmail.com
d470647216243d249945655d7985ddbb0e996998
2a9645a7101994d78b5727faf7c34729f7d88b10
/v7/import_feed/import_feed.py
ee59277190db5888ea94e3c59edb2afb63dee901
[ "MIT" ]
permissive
humitos/plugins
8bbd53f61e083967119cbe557d7b8f49431661d8
2b0f88501ee2b233621626c91dfff8d4d9ede4f3
refs/heads/master
2021-01-17T14:48:57.696025
2014-11-24T09:09:25
2014-11-24T09:09:25
27,068,206
1
0
null
null
null
null
UTF-8
Python
false
false
7,073
py
# -*- coding: utf-8 -*- # Copyright © 2012-2014 Roberto Alsina and others. # 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 t...
[ "ralsina@netmanagers.com.ar" ]
ralsina@netmanagers.com.ar
19464c25a59ace24c1119b8efba643047c80ee68
6dd5bfe305bfc8d7fccf1f9bd6b3ec2250fc574c
/tensorflow_probability/python/bijectors/weibull_test.py
0c755bf273bc80ba2a404c6f25107477fdab010d
[ "Apache-2.0" ]
permissive
snehil03july/probability
dd38cf7abba01b6702362476150d67092ce754b2
5f576230f1e261a823e20a49c442ff38c8f381d3
refs/heads/master
2020-03-28T10:24:46.378464
2018-09-08T22:34:22
2018-09-08T22:34:25
148,106,347
1
0
Apache-2.0
2018-09-10T06:01:26
2018-09-10T06:01:26
null
UTF-8
Python
false
false
2,861
py
# Copyright 2018 The TensorFlow Probability 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 o...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
e0a7b3236d7e54b43222c9fce7ad6f7eb7c8cfe8
3291359d8867e7b5ca9e8befb83629810938f903
/timetable_v3/secretariat/forms.py
b7b0e5f66e2c83742cb0b8a7bd9c9fa47f0d07bf
[]
no_license
A-miin/timetable_v3
f9e4610800acb83f3477dcffd2b0ce1c75d2c1d0
1de0885f04beec83657672275deff22b71af2de3
refs/heads/master
2023-06-09T18:51:44.298534
2021-07-02T15:01:54
2021-07-02T15:01:54
341,462,656
0
0
null
null
null
null
UTF-8
Python
false
false
5,683
py
from django import forms from webapp.models import ClassRoom, Building, Department, RoomType, Teacher, GradeYear, Course, CourseVsRoom, \ CourseType, SUBE_TYPE from django.contrib.auth.models import User class ClassRoomForm(forms.ModelForm): building = forms.ModelChoiceField(queryset=Building.objects.all(), ...
[ "zulaykaisaeva@gmail.com" ]
zulaykaisaeva@gmail.com
9c4f26c99ba062c7e5a2d2f2c5ad4d6e32bec16c
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/matplotlib/2017/4/pcolor_log.py
0ae6e26c30b16b071cdf318871c16e416c867d61
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
713
py
""" ========== Pcolor Log ========== """ import matplotlib.pyplot as plt from matplotlib.colors import LogNorm import numpy as np from matplotlib.mlab import bivariate_normal N = 100 X, Y = np.mgrid[-3:3:complex(0, N), -2:2:complex(0, N)] # A low hump with a spike coming out of the top right. # Needs to have z/colo...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
9188404dea03dc75f0150e4952bfeab647119d11
1fecc3115bcbf2f2dd396560fc252173112a03af
/invenio_records_permissions/policies/__init__.py
a5543c14e2de966b17a2a2e5b50aa6e7b2c0d809
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cenouralm/invenio-records-permissions
d28d0b90d69870752383d2d2a89caf0559c847ee
b953d55eef4bbb73a05b2d0a43a324e03275cd22
refs/heads/master
2022-12-04T21:58:42.023986
2020-07-24T13:53:22
2020-07-24T14:30:06
290,167,899
0
0
MIT
2020-08-25T09:08:40
2020-08-25T09:08:40
null
UTF-8
Python
false
false
470
py
# -*- coding: utf-8 -*- # # Copyright (C) 2019 CERN. # Copyright (C) 2019 Northwestern University. # # Invenio-Records-Permissions is free software; you can redistribute it # and/or modify it under the terms of the MIT License; see LICENSE file for # more details. """Invenio Records Permissions Policies.""" from .bas...
[ "fenekku@fenekku.com" ]
fenekku@fenekku.com
cd0b992dbc285ce4cdc551181e8609f158f2da16
a18fa2b11f45e1f3f77e305f1993ac574029314e
/package/utils/__init__.py
174c68f928b5fcfba072f4ced8279c8bef6ee808
[]
no_license
shalevy1/pywebview-flask-boilerplate-for-python-desktop-apps
da46c91cd966466cdb1bfc738968ca191110efe1
710a4c24d1a1f9d9ed410968c92d0908bd4dc7c1
refs/heads/master
2023-03-17T03:18:23.094100
2019-02-07T11:27:50
2019-02-07T11:27:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
#Commun clases used often at least by me
[ "noreply@github.com" ]
shalevy1.noreply@github.com
7e5d05b75f7fcb5aee6fc0200482f111c945e32a
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-dns/huaweicloudsdkdns/v2/model/delete_private_zone_response.py
f9d6faadf196c21323a4248b1eba9a54380474b6
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,931
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class DeletePrivateZoneResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
af46f4f09b22a7190bb2d38a96f4a284c5d6b141
dc81f105ae284c4968b8e2bca0bd436cd1f50044
/consent/models.py
8b9df3bcc0db63ac574fa67005c92c40ac103e54
[]
no_license
cessuser/lying_online
1af763066347c445b808c55bccd56e7af1e2e9a3
eb2a1b39a666572c408f03185c2ebd0f7dab60b9
refs/heads/master
2020-03-30T15:46:45.137793
2019-06-11T05:03:51
2019-06-11T05:03:51
151,378,693
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'danlin chen' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'consent' players_per_group = None num_rounds = 1 class Subses...
[ "d84chen@uwaterloo.com" ]
d84chen@uwaterloo.com
67ac0ddc43e726ddd488d15f452a0ddf17aca89a
7aa6a1069dd2a0301b7d1e2fc35ee518fec2de5a
/setup.py
dd292244a92bac144d1460d3914b0d6039f7dbfa
[ "MIT" ]
permissive
Arkenjan/read-ICESat-2
6c5e4d2406c3249a0eed939e27b045eb4938d749
ae671f01d333fb0ee13c721401a123b9f661dfd1
refs/heads/master
2022-09-10T18:44:17.209079
2020-05-29T17:59:45
2020-05-29T18:52:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup( name='read-ICESat-2', version='1.0.0.11', description='Tools for reading and using data from the NASA ICESat-2 mission', long_description=long_description, long_description_conten...
[ "tsutterl@uw.edu" ]
tsutterl@uw.edu
c55b01a109d8ebcc73aa8737f252a62ef5c81812
d486e44818767ad32c804f14e91b708b45946ff0
/Contents/Libraries/Shared/spotify/objects/top_tracks.py
e3a86adbe0d2d7e5f2a553786a2b13f2f8c562d2
[]
no_license
heathermaga/Spotify2.bundle
37d8ea87df97820a21af6e9deef2280288388ab6
88128e52885f84041d003152365bb33e6cfe2e5f
refs/heads/master
2021-05-06T15:59:39.640447
2017-12-09T19:53:38
2017-12-09T19:53:38
113,696,669
0
1
null
2017-12-09T19:47:02
2017-12-09T19:47:00
null
UTF-8
Python
false
false
245
py
from spotify.objects.base import Descriptor, PropertyProxy from spotify.proto import metadata_pb2 class TopTracks(Descriptor): __protobuf__ = metadata_pb2.TopTracks country = PropertyProxy tracks = PropertyProxy('track', 'Track')
[ "gardiner91@gmail.com" ]
gardiner91@gmail.com
eda3a8fc727786742844f5b4c20087ea7566336b
c9e1d0f053cc50474ec140d2a686465e28f88b2d
/third_module/tornado_test/concurrent_spider.py
a30b8071cf9451fb3ecce4013f876b9de4e001b5
[]
no_license
huanmengmie/python_study
96a65b8b2f71301946d5bdaaf3c5df79bca1ba10
0779cdbe3a8a7b828e47cfb8a830c56f72e015c7
refs/heads/master
2021-07-05T01:35:26.836455
2020-07-26T15:43:16
2020-07-26T15:43:16
140,391,229
0
0
null
null
null
null
UTF-8
Python
false
false
2,637
py
# -*- coding: utf-8 -*- import time from datetime import timedelta from html.parser import HTMLParser from urllib.parse import urljoin, urldefrag from tornado import gen, httpclient, ioloop, queues base_url = "http://www.tornadoweb.org/en/stable/" concurrency = 10 async def get_links_from_url(url): """Download...
[ "huanmengmie@163.com" ]
huanmengmie@163.com
59c771139cf218b36cbfb1cfb16d15db600c2bef
a3b928777955c51c27359dee0500b8bafe837e93
/multitenant_app/permissions.py
a9da468ad19c480eb10d9077d47ece27897afe9d
[]
no_license
sandeepsajan0/backend-apis
7231ace53b3fa58191b29358449ecb40adad5bfd
6ea9c10c19b30ccac66f8cac4a375458e2d70c76
refs/heads/master
2022-12-12T22:35:55.087409
2021-06-20T10:21:23
2021-06-20T10:21:23
226,849,793
2
3
null
2022-12-08T03:32:48
2019-12-09T10:55:42
Python
UTF-8
Python
false
false
142
py
# from rest_framework import permissions # # class IsCompanyOwner(permissions.BasePermission): # def has_permission(self, request, view):
[ "sandeepsajan0@gmail.com" ]
sandeepsajan0@gmail.com
792cc5963ddd6eb4c9967b9e78ea3773a2262e70
3e5b2eb741f5ae52752328274a616b475dbb401a
/services/core-api/app/api/now_applications/models/now_application_review_type.py
531dc76cf5dcad13788b752a5e7c1941eff99727
[ "Apache-2.0" ]
permissive
bcgov/mds
165868f97d0002e6be38680fe4854319a9476ce3
60277f4d71f77857e40587307a2b2adb11575850
refs/heads/develop
2023-08-29T22:54:36.038070
2023-08-29T05:00:28
2023-08-29T05:00:28
131,050,605
29
63
Apache-2.0
2023-09-14T21:40:25
2018-04-25T18:54:47
JavaScript
UTF-8
Python
false
false
745
py
from sqlalchemy.dialects.postgresql import UUID from sqlalchemy.schema import FetchedValue from sqlalchemy.ext.associationproxy import association_proxy from app.api.utils.models_mixins import Base, AuditMixin from app.extensions import db class NOWApplicationReviewType(Base, AuditMixin): __tablename__ = "now_ap...
[ "noreply@github.com" ]
bcgov.noreply@github.com
94cc7a46fc28c422c99da7f0dabb939d4883a7d1
49784274335467e59e4fb9b1f8ae29babd1d47ad
/libraries_src/lpycord_src/__init__.py
ce3d72f5941c14d938348e7aabde91f94744bcdb
[]
no_license
AlexisHuvier/Lispy
ea086407adb278693f8e9e840f3033ba160f4c7c
ab72a95b8814763d921c5b1bd5e6347450aa1b2e
refs/heads/master
2023-03-19T22:03:26.924910
2021-03-14T23:00:20
2021-03-14T23:00:20
334,418,570
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
from libraries_src.lpycord_src.discord_bot import Bot from libraries_src.lpycord_src.command import Command
[ "alexis.huvier@alumni.univ-avignon.fr" ]
alexis.huvier@alumni.univ-avignon.fr
fb15edcc260d4760e8ec93d9aa35a44e6bdecb3d
78297bc868d588dd7a16cfea059ef7365ba18622
/scripts/irods/test/test_irmtrash.py
044d9981f89264125a538afe944a0d939dcfdf76
[ "BSD-3-Clause" ]
permissive
irods/irods
ab72a41fdf05a4a905c3e3a97bb7ba3c2a6ae52d
f3ccaa842218e477395ebcf553639134433b63ee
refs/heads/main
2023-09-01T20:12:33.322002
2023-08-23T18:22:59
2023-08-31T13:41:31
14,724,975
381
167
NOASSERTION
2023-09-11T18:18:14
2013-11-26T18:10:18
C++
UTF-8
Python
false
false
1,333
py
from __future__ import print_function import os import sys if sys.version_info < (2, 7): import unittest2 as unittest else: import unittest from . import session from .. import test from .. import lib admins = [('otherrods', 'rods')] users = [] class Test_Irmtrash(session.make_sessions_mixin(admins, users)...
[ "terrellrussell@gmail.com" ]
terrellrussell@gmail.com
71cec431ab923a51aff67f487aa3bbade8fc67b7
9aaee5f65c8dd9d18b1cc549740f4e6be295f091
/zernike_model/SConscript
8b821b4cd3777032ecd586352fca3ab82c7f028e
[]
no_license
ssongna/sastbx_module_sastbx
285074d6f07c9d440bd750889322746d14448328
aa5cc2f59a4179db761125fb01fe7aaeda7d5dd0
refs/heads/master
2021-08-17T09:01:18.796977
2017-11-21T01:25:50
2017-11-21T01:25:50
111,428,819
0
0
null
null
null
null
UTF-8
Python
false
false
623
Import("env_base", "env_etc") env = env_base.Copy( CXXFLAGS=env_etc.cxxflags_base, LIBS=["cctbx"]+env_etc.libm, LIBPATH=["#lib"] ) env_etc.include_registry.append( env=env, paths=env_etc.sastbx_common_includes) if (not env_etc.no_boost_python): Import("env_cctbx_boost_python_ext") env_bpl = env_cctbx_bo...
[ "15298375979@126.com" ]
15298375979@126.com
2074649117b893db6ae99629503e37deec1b9856
47df640de0dd71fb248319c8b7891948b6607a44
/backend/manage.py
ffb7580781f768b23872450fd739d34337965ffc
[]
no_license
crowdbotics-apps/service-15275
41e7f0eeb0c6a4f1ce87d71fc23dd034aa203d12
694c07e8642310bd886b3b60eae87cf31b57406d
refs/heads/master
2023-01-28T05:14:43.469751
2020-03-31T20:50:14
2020-03-31T20:50:14
251,728,096
0
0
null
2023-01-26T15:04:26
2020-03-31T20:49:22
JavaScript
UTF-8
Python
false
false
633
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'service_15275.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
66f91f1485d7b364c15bd92c5ce5d45fe9faf715
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/apigatewayv2_write_1/api_update.py
ce944acb35939b29475292bbfbba47cd8dc5d348
[]
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
1,557
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_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/apigatewayv2/update-api.html if __name__ == '__m...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
87227646be4ba172b224ff6978301e2e7dd0f040
61c6f707403307bbf124f85689d0008c5fef7462
/find minimum in rotated sorted array.py
7df09bd22aac4a0bf4298c9f6661ec3c62f7f95d
[]
no_license
immzz/leetcode_solutions
1685bb82abccbcb7e8869e6df61d79241d66d17b
baddc09a5e626d919011aa222667a40e2ef4c375
refs/heads/master
2016-09-06T06:44:56.971046
2015-10-06T01:35:39
2015-10-06T01:35:39
23,483,457
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
class Solution: # @param {integer[]} nums # @return {integer} def findMin(self, nums): l = 0 r = len(nums) - 1 while l < r: mid = int((l+r)/2) if nums[mid] > nums[r]: l = mid + 1 else: r = mid return nums[l]
[ "zeostudio@gmail.com" ]
zeostudio@gmail.com
81885b16a341069720a291b926988a1db0633854
ab40571d5051ad53c0f205fa797ba36eac516d06
/language/compgen/csl/tasks/smcalflow/tools/format_for_t5.py
4c98d1113fd56d3bbd10323f99b0500f9edeeb77
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
google-research/language
e941b1a92ab46d40d8d03bb0c314905cb6902ce2
ac9447064195e06de48cc91ff642f7fffa28ffe8
refs/heads/master
2023-08-24T23:10:13.207294
2023-05-25T20:47:18
2023-05-25T22:29:27
153,201,352
1,567
371
Apache-2.0
2023-07-06T23:03:15
2018-10-16T00:58:14
Python
UTF-8
Python
false
false
1,433
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 ...
[ "kentonl@google.com" ]
kentonl@google.com
d58f1bbad57b3478275bbc578ab4799dc2046d54
b0f21271e8ad3afd152f87777a1a2745fced9022
/collective/metarobots/__init__.py
579c9b9a03a83042b152467189222278100bbc41
[]
no_license
collective/collective.metarobots
b82af9dc1a77abefcbb6223186b0b5231f957ce0
fcb7f2fc35a2d9e79e60971c1427fe6b89ddb116
refs/heads/master
2023-03-22T14:30:03.551575
2012-09-03T14:59:53
2012-09-03T14:59:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
from zope.i18nmessageid.message import MessageFactory messageFactory = MessageFactory('collective.metarobots') #make parsing easier _ = messageFactory
[ "toutpt@gmail.com" ]
toutpt@gmail.com
4868a0139df3d25a782e6af62e9e8f9e77e10c10
8da76aabcf9cfea3478f56037edbb5fa1513140b
/callowaydemo/lib/python2.7/site-packages/exampleproject/settings.py
4920d60c8d8e1048efd3c2511f8449d8b12f6c5e
[]
no_license
mikanyman/.virtualenvs-legacy
039479f31f2ca9f9a3d3544d8837429ddd0a7492
5486128b5b3b7ddb9ec81d43e3bb601a23b4025a
refs/heads/master
2020-12-31T07:10:07.018881
2017-02-01T02:16:55
2017-02-01T02:16:55
80,566,220
0
0
null
null
null
null
UTF-8
Python
false
false
3,265
py
# Django settings for project project. import sys sys.path.insert(0, os.path.abspath('..')) import calloway import os CALLOWAY_ROOT = os.path.abspath(os.path.dirname(calloway.__file__)) sys.path.insert(0, os.path.join(CALLOWAY_ROOT, 'apps')) PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) sys.path.insert(0,...
[ "mika.nyman@synapse-computing.com" ]
mika.nyman@synapse-computing.com
96f65f5cefcb268d06fcb30b79a187cb8d3380db
0c10d5c3dedd8e17275146e596edc6104b6ca325
/grpc_benchmark/server.py
da68fe13003be5413f07051e9d5ef7d8d575c05a
[ "MIT" ]
permissive
mpetyx/python-rpc-frameworks-comparison
f5cf01dfd1bb61fca4e8bbcd4bf08b471ef6a02a
5b69a5aef1f8ead2fb88e744b6b1787b27165898
refs/heads/master
2020-03-27T13:15:32.841893
2018-08-30T17:08:40
2018-08-30T17:08:40
146,599,618
0
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
__author__ = 'mpetyx (Michael Petychakis)' __version__ = "1.0.0" __maintainer__ = "Michael Petychakis" __email__ = "hello@apilama.com" __status__ = "Production" import grpc from concurrent import futures import time # import the generated classes import calculator_pb2 import calculator_pb2_grpc # import the original...
[ "mpetyx@gmail.com" ]
mpetyx@gmail.com
7f6adc66e5d2f77557bf0f49fdae7878d98a8286
5ad1731041310177d9f99cc196fbedb4faa43e2e
/feets/tests/core.py
6b073679f2c4cfe8e36013f78959f41d623a1590
[ "MIT" ]
permissive
gnarayan/feets
7060b1fb253b57043e8f2764d17ccc08f99f9352
e95457ce4e9c44a0e2a96e55ab9b28f205bba472
refs/heads/master
2021-06-23T16:20:10.816837
2017-09-07T04:55:37
2017-09-07T04:55:42
103,606,023
0
1
null
2017-09-15T02:44:58
2017-09-15T02:44:58
null
UTF-8
Python
false
false
2,576
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # The MIT License (MIT) # Copyright (c) 2017 Juan Cabral # 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 withou...
[ "jbc.develop@gmail.com" ]
jbc.develop@gmail.com
037b090ec6f485808c343f75a5d72ecb741b07c1
383d02e84c2673a837b8b5c5135bed8e206be9ca
/tests/suite/test_wildcard_tls_secret.py
58d6c4987b319143116ce4e96585f6a113f0536d
[ "Apache-2.0" ]
permissive
murali535/kubernetes-ingress
0c62a124ec29e4e22d0e2f31c76d83a909dd59ab
e17eccf3a6ff285650cf4875d0cb5857e5ab2084
refs/heads/master
2020-05-16T18:42:42.748555
2019-04-18T13:03:46
2019-04-24T06:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,379
py
import requests import pytest from settings import TEST_DATA from suite.fixtures import PublicEndpoint from suite.ssl_utils import get_server_certificate_subject from suite.resources_utils import create_items_from_yaml, delete_items_from_yaml, create_secret_from_yaml, delete_secret from suite.resources_utils import get...
[ "tellet.tat@gmail.com" ]
tellet.tat@gmail.com
0c7b056c8d1410b2a9762d7605b5984208a16e3b
d4c82eb9ae3037cf8742c3fc8c31cf4a80f5d21c
/examples/Python/examples/Tools/compiler/demo.py
d784eeeb395d133b2ad30771341fffd11a775f2f
[]
no_license
gzhu-team-509/programming-knowledge-base
68132b1a669f208dab94dcf2401ce39d89ebe53b
3f3d026927157b7fdf210da195cb912366975e75
refs/heads/master
2021-05-05T12:17:12.686569
2017-11-04T07:30:28
2017-11-04T07:30:28
104,754,220
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
#! /usr/bin/python2.6 """Print names of all methods defined in module This script demonstrates use of the visitor interface of the compiler package. """ import compiler class MethodFinder: """Print the names of all the methods Each visit method takes two arguments, the node and its current scope. The ...
[ "lightyears1998@hotmail.com" ]
lightyears1998@hotmail.com
d98a31112b4afbe57f64b3f1b8a45b7beff64489
9d9eb39e6adc35926d9ca5c38d5bbd05ccc6d15b
/python/strings/rle.py
f5253c2f7ea64a689bd6a8218a7804b5148c851a
[ "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
540
py
""" Run-Length Encoding and decoding """ def rld(s): characters = [c for i,c in enumerate(s) if i%2 != 0] rept = [r for i, r in enumerate(s) if i%2 == 0] for r,c in zip(rept, characters): print c*int(r), print def rle(s): s += ' ' current = s[0] num = 1 enc = '' for pos, ...
[ "amitsaha.in@gmail.com" ]
amitsaha.in@gmail.com
664ad9f373f16b74933e66ca4fddd8bd94a6106a
4cadd670c3ef0b97f19af2bf8763e1774a11d1a5
/service4/application/__init__.py
0eafa0adcb99bec4496fe00db0805180c773e8de
[]
no_license
shalininarayan98/second-project
52f1532b33bfffcebbd1b6349a041ce445e8a164
5a6eb46966112a4e770ddf854eece7a3275e36cb
refs/heads/master
2022-07-12T02:42:24.215367
2021-03-08T11:55:20
2021-03-08T11:55:20
229,096,019
0
0
null
2022-06-22T00:10:30
2019-12-19T16:32:06
Python
UTF-8
Python
false
false
395
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from os import getenv app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = ('mysql+pymysql://' + getenv('MY_SQL_USER') + ':' + getenv('MY_SQL_PASSWORD') + '@' + getenv('MY_SQL_URL') + '/' + getenv('MY_SQL_DB')) app.config['SECRET_KEY'] = geten...
[ "you@example.com" ]
you@example.com
06699c41d8e076a3d722831877793c4023c8c635
d017769662cb67b4f516707b0bff587e394b65d6
/djangotutorial1/settings.py
df078779d31396d4881206d42a1096c945c01f4e
[]
no_license
surajmondal1003/DjangoTutorial
9ac2f6b50811e6ee95c8b65c9a9a50eb4927ced0
1cec56116d44b0f477033fe03e967552cf53f832
refs/heads/master
2022-11-03T13:36:40.916223
2018-04-30T07:11:17
2018-04-30T07:11:17
128,384,553
0
1
null
2022-10-18T05:05:10
2018-04-06T11:10:06
Python
UTF-8
Python
false
false
4,355
py
""" Django settings for djangotutorial1 project. Generated by 'django-admin startproject' using Django 2.0.3. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ impo...
[ "surajmondal1003@gmail.com" ]
surajmondal1003@gmail.com
d6a399cf69f346d179811d390094701f7003a3f1
dfc686228834750216b2cd6eea14d2a6d12422e4
/Hackerrank_Python_solution/Collections/collectionsCounter.py
c26ab398788e0a02b20f5dc34910fc9d1459b189
[]
no_license
Parth-Ps/python
8466e8856bf301908544eb60ae4a68338ccf4550
bb448c2a7996d17883214fe8eb11caa61e211400
refs/heads/master
2023-01-22T13:30:50.507021
2020-12-02T07:59:53
2020-12-02T07:59:53
317,788,331
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
''' Title : collections.Counter() Subdomain : Collections Domain : Python Author : Ahmedur Rahman Shovon Created : 15 July 2016 ''' x = int(input()) shoe_size = list(map(int,input().split())) n = int(input()) sell = 0 for i in range(n): s, p = map(int,input().split()) if s in shoe_size: sell...
[ "parth0129.certificate@gmail.com" ]
parth0129.certificate@gmail.com
aa7b0d40c74f206bbc49c536304fae256a78d00a
91d09c67f88cf5002327c27548dd393e3b12df03
/box/urls.py
39dd8b9d8653d5f42bb28cdd3c0e1c978ae68eb4
[]
no_license
saturnisbig/blogproject
479b733f6aaa353fb58195fafec259de1e41678d
8804384ad88e4f6f303541dbcc683ad018324c30
refs/heads/master
2022-12-10T23:00:15.085834
2019-08-18T08:40:42
2019-08-18T08:40:42
124,767,941
0
0
null
2022-12-08T05:45:41
2018-03-11T15:02:28
CSS
UTF-8
Python
false
false
762
py
#!/usr/bin/env python # _*_ coding: utf-8 _*_ from django.conf.urls import url from box import views app_name = 'box' urlpatterns = [ url(r'^$', views.BoxIndexView.as_view(), name='index'), url(r'^books/$', views.BookListView.as_view(), name='book_list'), url(r'^book/(?P<book_id>\d+)/$', views.BookDetail...
[ "i.kenting@gmail.com" ]
i.kenting@gmail.com
43308e7587706c3ffc4e3f31c1e74473c84a3f7f
931a3304ea280d0a160acb87e770d353368d7d7d
/vendor/swagger_client/models/get_characters_character_id_fleet_ok.py
10f48ad64ef922de4ceb9603c130882d4539fb9f
[]
no_license
LukeS5310/Broadsword
c44786054e1911a96b02bf46fe4bdd0f5ad02f19
3ba53d446b382c79253dd3f92c397cca17623155
refs/heads/master
2021-09-08T00:05:26.296092
2017-10-24T07:01:48
2017-10-24T07:01:48
105,143,152
0
1
null
2017-11-03T14:29:38
2017-09-28T12:03:19
Python
UTF-8
Python
false
false
5,958
py
# coding: utf-8 """ EVE Swagger Interface An OpenAPI for EVE Online OpenAPI spec version: 0.6.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class GetCharactersCharacterIdFleetOk(object): """ NOTE:...
[ "cyberlibertyx@gmail.com" ]
cyberlibertyx@gmail.com
9340ed723eb5bc606653a6b1e69085865f51db01
747755833862b8e9d0f58ebc62879d6ef47c23c8
/python-master (4)/python-master/content/hello.py
401d0210dba1b2c9af8bce4ef02b87a37d9c6059
[]
no_license
tangsong41/stu_py
98a06730dbca6e158cf81c18d98fe1317c1ae512
d41507cd8dd9e8a54084872dfa15c36da443c02b
refs/heads/master
2022-12-11T23:53:57.530946
2019-01-15T18:29:19
2019-01-15T18:29:19
163,953,100
3
0
null
2022-12-07T23:24:01
2019-01-03T09:41:29
Jupyter Notebook
UTF-8
Python
false
false
33
py
# hello.py print "hello, world"
[ "369223985@qq.com" ]
369223985@qq.com
b47c60a5641eff25c87e84841a1b3940db5ad095
368ec23355481c81f32d62618504cbc8b73bec9b
/Discrete Optimization/3. TravellingSalesman/C/solver.py
55ecb7e4d1c4de7d085844851ed401ac33ba53a1
[]
no_license
manuwhs/Coursera-Codes
f6d38d30f55b55b651101319031acb9d18c51125
771b208c3645953ba4b93ee279ec73af181a9edd
refs/heads/master
2021-01-24T01:02:25.175360
2018-02-25T01:16:34
2018-02-25T01:16:34
122,794,790
0
0
null
null
null
null
UTF-8
Python
false
false
1,437
py
import os import subprocess def solveIt(inputData): # parse the input lines = inputData.split('\n') nodeCount = int(lines[0]) ### Writes the inputData to a temporary file tmpFileName = 'tmp.data' tmpFile = open(tmpFileName,'w') tmpFile.write(inputData) tmpFile.close() #--------------...
[ "manuwhs@bitbucket.org" ]
manuwhs@bitbucket.org
97dccd56a7fc132dbe491397cd6d828a677d50ed
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02609/s876375449.py
f9c95bd02303b33ea98b6088e1c90e707cfe9dc1
[]
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
700
py
def main(): n=int(input()) X=input().strip() cnt_1=X.count('1') k1,k2=int(X,2)%(cnt_1-1) if cnt_1!=1 else 0,int(X,2)%(cnt_1+1) for i,x in enumerate(X): ans=0 if x=='0': k=k2+pow(2,n-i-1,cnt_1+1) k%=cnt_1+1 ans+=1 while k: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8c600a3664670a7c76c439dffde4b74d8192db3f
7c6965265e2dbca320a33326f1230a45fc2dbe95
/courseAllocation/models.py
5edfc29c0f3d58f8ada62ed4a1018817951f5729
[]
no_license
PamilerinId/Portal
e14f5dd10d7121eefb9a04457b1cc2db521846db
5dbfe84939c7bdeead73bf2650aa11d424657180
refs/heads/master
2021-01-01T17:44:25.307117
2017-07-22T21:12:38
2017-07-22T21:12:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from course.models import Course from accounts.models import Lecturer from session.models import Session from dept.models import Dept # Create your models here. class CourseAllocation(models.Model): position_choices = ...
[ "lasisi28@gmail.com" ]
lasisi28@gmail.com
abf41cd7fd0f13bd1968f9e0bd74cca98db348ac
f9e8733ed87858b12bfee6b70ccdddd6a616b60a
/7.py
56bc60a7d59db314ea15a14289b38bc9076ec506
[]
no_license
MajestyLee/leetcode_TopInterview
c1c9c923d3bf42cd4777bb2a2ccd21654a7c6dbb
30b7d5acec716b7d754141835fc8bafe4411437e
refs/heads/master
2020-04-01T12:19:20.837383
2018-11-06T02:13:44
2018-11-06T02:13:44
153,200,785
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
''' Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 120 Output: 21 Note: Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [−231, 231 − 1]. For the pu...
[ "binjie_lee@163.com" ]
binjie_lee@163.com
f29b278ae44234a9b4c1b3009e34a4731d1bf8f9
93b4c46611499435dbfc2af7dd9aa7a2dd2f5d23
/rsden/loader/test.py
49779dc85735a139bc66591f2898df9ccf0ca749
[ "Apache-2.0" ]
permissive
lidongyv/Monocular-depth-esitimation-with-region-support-cvpr
1d41200f225ab83609cd2de8184333022c83f075
7715c91b9c9f88de5c0233923c3a073edf9b2ca8
refs/heads/master
2022-12-28T04:10:04.537091
2020-09-16T14:09:41
2020-09-16T14:09:41
152,520,151
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
# -*- coding: utf-8 -*- # @Author: yulidong # @Date: 2018-04-06 21:02:16 # @Last Modified by: yulidong # @Last Modified time: 2018-04-06 21:19:06 import numpy as np print('fdas')
[ "pobingwanghai@163.com" ]
pobingwanghai@163.com
1836c136c73c809da29db88a17b4feed7dc2c2e4
5acc20092ee93935594a7e0522924245a43e5531
/isotonic_regression/plot_isotonic_regression.py
cd91fc7433326d44ee85836588854a46a92985ae
[]
no_license
shengchaohua/sklearn-examples
aae2332c4382a57a70c1887777c125e6dc4579d6
1dac6a9b5e703185a8da1df7c724022fbd56a9e4
refs/heads/master
2020-05-05T01:19:20.037746
2019-10-18T08:55:01
2019-10-18T08:55:01
179,599,221
1
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
import numpy as np import matplotlib.pyplot as plt from matplotlib.collections import LineCollection from sklearn.linear_model import LinearRegression from sklearn.isotonic import IsotonicRegression from sklearn.utils import check_random_state n = 100 x = np.arange(n) rs = check_random_state(0) y = rs.randint(-50, 50...
[ "shengchaohua163@163.com" ]
shengchaohua163@163.com
c1a6bcd50b34f22969b6b8af259f0097242fa684
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/k8s-configuration/azext_k8s_configuration/vendored_sdks/v2021_11_01_preview/aio/_configuration.py
b86d839a94e67005e9edeaa3cda00296b7978562
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
3,300
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
b7f12f089305b4b433aaed1ed06fbe23830cc0a8
4b68243d9db908945ee500174a8a12be27d150f9
/pogoprotos/map/fort/fort_data_pb2.py
3cb390acd7c8e93375fe30a47056f156f9f43ce8
[]
no_license
ykram/pogoprotos-py
7285c86498f57dcbbec8e6c947597e82b2518d80
a045b0140740625d9a19ded53ece385a16c4ad4a
refs/heads/master
2020-04-20T10:19:51.628964
2019-02-02T02:58:03
2019-02-02T02:58:03
168,787,721
0
0
null
null
null
null
UTF-8
Python
false
true
17,295
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: pogoprotos/map/fort/fort_data.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impor...
[ "mark@noffle.net" ]
mark@noffle.net
066162d6085127c0ca089df05a915cf91b435b86
3a908616faf2e358edf3de1e99452556ebb5d856
/api/supper_admin/catelog/api.py
183dfb8c6beeb36e5eb4fbda8393391c66c97aec
[]
no_license
songbao2903/backend_api-v1.0.0
13f4c26845de3aff607bb655fb27451563dfdfa7
10c2c0b6c7b0928057d0024b63ecf5cde727c4ba
refs/heads/main
2023-09-06T02:51:05.854494
2021-11-21T03:18:54
2021-11-21T03:18:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,893
py
from rest_framework.decorators import api_view, permission_classes from rest_framework.permissions import IsAuthenticated from rest_framework.exceptions import ParseError from api.models import Contract, Order, ProductOfCustomer, ProductOfOrder, static_info, Catelog, Product, Package from django.contrib.auth.hashers im...
[ "admin@example.com" ]
admin@example.com
3b0fcdbcec7a98350ad0764f3447a40f7c1ea677
5953c6c11988285807a4b1add35e56779df5979e
/code/offline/mlp_offline.py
578fd3a6a1db29e55c6199e03c04f14c6c629576
[ "MIT" ]
permissive
fegonda/icon_demo
14ca47c7cb5cd9986a57793e1ed5d8521a2fc584
d2d1b0148989187c1433597f9c3ae4357178c082
refs/heads/master
2021-01-20T11:52:07.219518
2017-05-18T23:06:05
2017-05-18T23:06:05
86,485,185
0
0
null
null
null
null
UTF-8
Python
false
false
17,397
py
import cPickle import gzip import os import sys import time import numpy import numpy as np import theano import theano.tensor as T base_path = os.path.dirname(__file__) sys.path.insert(1,os.path.join(base_path, '../external')) from logistic_sgd import LogisticRegression, load_data from generateTrainValTestData imp...
[ "felix.e.gonda@gmail.com" ]
felix.e.gonda@gmail.com
530c84e7296ce844c7e0c07826dd84f0f96adf29
11aac6edab131293027add959b697127bf3042a4
/longestWord.py
497795b1bce6ab08f01119c62b4f9c6d5e1b02df
[]
no_license
jdanray/leetcode
a76b3436002b31865967b757b73c85992636383b
fd736af3e79899b86dac89d4d925d5bd985944ad
refs/heads/master
2023-08-15T01:20:05.110565
2023-08-14T00:25:58
2023-08-14T00:25:58
148,686,493
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# https://leetcode.com/problems/longest-word-in-dictionary/ class Solution: def longestWord(self, words): longest = "" seen = set(words) for w in sorted(words): pre = '' i = 0 while i < len(w): pre += w[i] if pre not in seen: break else: i += 1 if i == len(w) and len(w) > len(...
[ "jdanray@users.noreply.github.com" ]
jdanray@users.noreply.github.com
3c73e2de6d52e7a76cf7c800bdb0be1313b189ef
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_1563.py
8b832095a1baa803c2e4b31adc0f35ac4e0e0f74
[]
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
10,834
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
534fb46189d1fc9a50ce1b38411cc9a9c9f0c42e
1f6d8f990a6d3e82bc61cc412ef0f325bfb96465
/backend/manage.py
6d0fc98bccdf70c81909e9894cdb88295089881d
[]
no_license
crowdbotics-apps/fapp-21925
5f399645a39c8d8ef661358b5a1ac2526803e4e0
ad4e1cc4e431b65f0af3d4fa0c7bc9659267c937
refs/heads/master
2023-01-01T20:05:14.493226
2020-10-24T22:29:40
2020-10-24T22:29:40
306,982,420
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fapp_21925.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
3088daba226b5bac5fb9d29576f8e85dbe5a8db2
fa93e53a9eee6cb476b8998d62067fce2fbcea13
/devel/.private/pal_detection_msgs/lib/python2.7/dist-packages/pal_detection_msgs/msg/_FaceDetection.py
10ed85a0dbaebdc2b622b84cef2df92ee94ac732
[]
no_license
oyetripathi/ROS_conclusion_project
2947ee2f575ddf05480dabc69cf8af3c2df53f73
01e71350437d57d8112b6cec298f89fc8291fb5f
refs/heads/master
2023-06-30T00:38:29.711137
2021-08-05T09:17:54
2021-08-05T09:17:54
392,716,311
0
1
null
null
null
null
UTF-8
Python
false
false
15,133
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from pal_detection_msgs/FaceDetection.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import geometry_msgs.msg class FaceDetection(genpy.Message): _md5sum...
[ "sandeepan.ghosh.ece20@itbhu.ac.in" ]
sandeepan.ghosh.ece20@itbhu.ac.in
3b531e1b9f7d335242cce409f1bb9bae527f4dae
f76e11d4da15768bf8683380b1b1312f04060f9a
/merge_trees_prefer_higher_votes.py
02cc758fd8f35bfa0900816263ecce9d35642e06
[]
no_license
rasoolims/scripts
0804a2e5f7f405846cb659f9f8199f6bd93c4af6
fd8110558fff1bb5a7527ff854eeea87b0b3c597
refs/heads/master
2021-07-07T03:53:20.507765
2021-04-13T14:53:00
2021-04-13T14:53:00
24,770,177
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
import os,sys,codecs from collections import defaultdict from mst_dep_tree_loader import DependencyTree writer = codecs.open(sys.argv[4],'w') vote_3_trees = DependencyTree.load_trees_from_file(os.path.abspath(sys.argv[3])) vote_2_trees = DependencyTree.load_trees_from_file(os.path.abspath(sys.argv[2])) vote_1_trees = ...
[ "rasooli.ms@gmail.com" ]
rasooli.ms@gmail.com
1479cdbfb9ab12d6d98f76765929a17b5501c1e5
1a114943c92a5db40034470ff31a79bcf8ddfc37
/stdlib_exam/asynchat-example-1.py
cd693068057c0eb195f07f9c8bfc914c32539ad6
[]
no_license
renwl/mylinux
1924918599efd6766c266231d66b2a7ed6f6cdd1
0602fc6d2b0d254a8503e57310f848fc3e1a73b4
refs/heads/master
2020-07-10T22:12:03.259349
2017-01-02T12:32:04
2017-01-02T12:32:04
66,467,007
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
import asyncore, asynchat import os, socket, string PORT = 8000 class HTTPChannel(asynchat.async_chat): def __init__(self, server, sock, addr): asynchat.async_chat.__init__(self, sock) self.set_terminator("\r\n") self.request = None self.data = "" self.shutdown = 0 de...
[ "wenliang.ren@quanray.com" ]
wenliang.ren@quanray.com
817ab21c85ca55d2e4326663da2274f905f38711
65329299fca8dcf2e204132624d9b0f8f8f39af7
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/interfaces/interface/levels/level/afi_safi/af/segment_routing/adjacency_sids/adjacency_sid/__init__.py
4ba04252c99da509b5a3fc5cf214bf7bd87ac8f1
[ "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
27,874
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
6488cce050edceb3440fb3c9626e35540358ea2f
57ce77797e073f16779b9a5a712ca576ee776c2a
/examples/adspygoogle/adwords/v201309/basic_operations/pause_ad.py
84d204c81226fa9a6ba9a7d3a779ee5b1e5f19b7
[ "Apache-2.0" ]
permissive
chahroud/googleads-python-legacy-lib
3fc8c043ec0b1e92b7afb76d018eb4016347b472
f22956e782b9119d3c1a90b1e3b42830478a89d2
refs/heads/master
2021-01-21T01:33:29.512298
2014-04-01T14:43:03
2014-04-01T14:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,891
py
#!/usr/bin/python # # Copyright 2013 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 b...
[ "emeralddragon88@gmail.com" ]
emeralddragon88@gmail.com
a82158e8e9ebd601885e1fa1410fd91e22b81e74
13313192ec3fae980293a207ae7c3080a19cf636
/backend/core/models.py
3bfd15ea28d70264a35e0091affef8a5a9f3db7e
[ "MIT" ]
permissive
zecaclasher/financial-management-gate
36e937024d738d5150aa41d90184719b3bd0edc9
4bcbba04bf1f366d75263239758a12bf6246bdcd
refs/heads/master
2023-08-13T10:59:30.171723
2020-09-13T00:54:41
2020-09-13T00:54:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
from django.db import models # Create your models here. class BaseTimeModel(models.Model): created_at = models.DateTimeField('created at', auto_now_add=True, blank=True) updated_at = models.DateTimeField('updated at', auto_now=True) class Meta: abstract = True
[ "felipe.maion@gmail.com" ]
felipe.maion@gmail.com
18921a71810eec159ebdbbe9be9dcfa5e7859fd1
3b5334cd41337225d6715ee7e63c80f4c03837bc
/Grad_CAM/GradCAM.py
48bb1c31b0a992612bea33c9a1b49a0181720869
[]
no_license
LrpljL/DL-Visualization
4e887f0b9867d81ed23ef5321f2e95e5b5453dfe
b87495767761d3bb2b1203f9767f81efae4a015c
refs/heads/master
2020-08-31T01:17:15.534432
2018-12-11T10:11:04
2018-12-11T10:11:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,488
py
import cv2 import numpy as np from PIL import Image import tensorflow as tf import tensorflow.contrib.slim as slim from GradCAM_old import GradCAM as GradCAM_old class GradCAM(object): def __init__(self, inputs, end_points, image_file_name, result_size, result_file_name, num_classes, checkpoint_...
[ "562282219@qq.com" ]
562282219@qq.com
291dbc2c271c33378939760b11bc7d52fc154844
d305e9667f18127e4a1d4d65e5370cf60df30102
/tests/ut/python/pynative_mode/test_remove_unnecessary_phi.py
35e0687b9d4198785106dfac9eead4ab752985b7
[ "Apache-2.0", "MIT", "Libpng", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "AGPL-3.0-only", "MPL-2.0-no-copyleft-exception", "IJG", "Zlib", "MPL-1.1", "BSD-3-Clause", "BSD-3-Clause-Open-MPI", "MPL-1.0", "GPL-2.0-only", "MPL-2.0", "BSL-1.0", "LicenseRef-scancode-unknow...
permissive
imyzx2017/mindspore_pcl
d8e5bd1f80458538d07ef0a8fc447b552bd87420
f548c9dae106879d1a83377dd06b10d96427fd2d
refs/heads/master
2023-01-13T22:28:42.064535
2020-11-18T11:15:41
2020-11-18T11:15:41
313,906,414
6
1
Apache-2.0
2020-11-18T11:25:08
2020-11-18T10:57:26
null
UTF-8
Python
false
false
2,739
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "513344092@qq.com" ]
513344092@qq.com
5b166e8296305e864603f028ebf63c6bda478b8d
29afbde1e2d5497f5ab023a99ea37b0c59e6bb09
/account.py
2d8fbecf1c7a0c04c45cc2f5973564350dab040d
[ "MIT" ]
permissive
kahenya-anita/Password-Manager
5358fc048ba90d0827e4ff8c7f54919107c5aa95
b3e7683e61e55574b846dfe49bf5d4016085261c
refs/heads/master
2022-12-15T08:04:08.350058
2020-09-08T19:42:48
2020-09-08T19:42:48
293,597,852
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
class Account: """ Class that generates new instances of account credentials to be stored. """ def __init__(self, acc_ty, acc_uname, acc_pass,acc_cpass): self.acc_ty = acc_ty self.acc_uname = acc_uname self.acc_pass = acc_pass self.acc_cpass = acc_cpass
[ "anitakahenya1@gmail.com" ]
anitakahenya1@gmail.com
190a34c32f2143584b72b2952a836e21c114f6f4
77f653c518f7aa5b629c0be0f04fed7bb621dab8
/mpfmc/widgets/ellipse.py
ace625aeec2c22cbc24f035af05fda1c2450445c
[ "MIT" ]
permissive
vgrillot/mpf-mc
a0ac4f718d59e16cd4e879e55b90b2ab969ebce0
5fca7c9996bd3d5902efb5e8d0dfcc342ebb9591
refs/heads/dev
2020-06-28T06:05:28.195069
2016-12-09T19:34:13
2016-12-09T19:34:13
74,505,476
0
0
null
2016-11-22T19:19:44
2016-11-22T19:19:44
null
UTF-8
Python
false
false
1,277
py
from kivy.graphics.vertex_instructions import Ellipse as KivyEllipse from kivy.graphics.context_instructions import Color from kivy.uix.widget import Widget from mpfmc.core.utils import set_position from mpfmc.uix.widget import MpfWidget class Ellipse(MpfWidget, Widget): widget_type_name = 'Ellipse' def on...
[ "brian@missionpinball.com" ]
brian@missionpinball.com
0c7eec0547235e14bf55f83a4b075fc350d17c43
7d90c98d26983536a95d8e0229e7ecca72cd6d23
/QT/pyqt5test.py
745289d995484ac6056f4c95179b1580ad3bd0a6
[ "MIT" ]
permissive
ValRCS/RCS_Python_11
105f9f83eff7400331e03ccff91ce9f40ae5fa8d
157c8e08aaf9849341cadb50077fe65dead536fa
refs/heads/master
2020-09-24T05:44:01.495126
2019-12-23T13:05:28
2019-12-23T13:05:28
225,677,747
0
2
null
null
null
null
UTF-8
Python
false
false
174
py
from PyQt5.QtWidgets import QApplication, QLabel if __name__ == "__main__": app = QApplication([]) label = QLabel('Hello World!') label.show() app.exec_()
[ "valdis.s.coding@gmail.com" ]
valdis.s.coding@gmail.com
5b69b00e6d7c9733829ec849a35a6ff45307cd7e
4f0192ccd0b29b4b28428daa9813010cd70f49a3
/news/migrations/0012_auto_20140519_1403.py
e932b1cdda0cd08cc1a9fb78ce15718c48f0dfde
[]
no_license
nbedi/appletini
03c2a7286cb5775a63e17c41c3ccd2af48f0b90a
dd1f34f0fa3948fa808979e35844b6d58d46c0ea
refs/heads/master
2016-08-05T00:08:35.461725
2015-03-08T06:02:56
2015-03-08T06:02:56
31,575,783
2
0
null
null
null
null
UTF-8
Python
false
false
737
py
# encoding: utf8 from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('news', '0011_auto_20140519_1251'), ] operations = [ migrations.AddField( model_name='article', name='altern...
[ "omniaura5@gmail.com" ]
omniaura5@gmail.com
2a1727e32bb79dd70cae15805943ce49d0ace23b
cfb705f3727ff2f53288269ae37bd2cb6687951d
/share/scripts/make_cutflow_ttbar_sfdf_py
709f0d0e2f3d43e9e7967b5d302b58143b14d30b
[]
no_license
alessio94/di-Higgs-analysis
395934df01190998057f7c81775209c5d32f906e
79c793cc819df7c8511c45f3efe6bdd10fd966bf
refs/heads/master
2023-02-17T05:44:59.997960
2023-02-13T18:02:42
2023-02-13T18:02:42
224,252,187
0
0
null
null
null
null
UTF-8
Python
false
false
6,635
#!/usr/bin/env python from __future__ import division, print_function # division with two integers gives float, print is a function import argparse import logging import math import os import sys from CAFbbll.latexfile import LaTeXFile from CAFbbll.pdg_rounding import pdgRound def asimov_sig(s, b, sigma_b): s...
[ "alessiopizzini@gmail.com" ]
alessiopizzini@gmail.com
54d5972dcbd6878409598f53cf6a966affaf568b
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/H2EyqacEnijCozCWs_17.py
a6e212b35e1bfb6adb6b318d2c03d7bf3872cef5
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
""" Write a function that returns the first `n` vowels of a string. ### Examples first_n_vowels("sharpening skills", 3) ➞ "aei" first_n_vowels("major league", 5) ➞ "aoeau" first_n_vowels("hostess", 5) ➞ "invalid" ### Notes * Return `"invalid"` if the `n` exceeds the number of vowels in a ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
22551b5c6e6c8c73a701c71b06568a67ec55f8be
d1aa9dc649209d2172c01f19f5121261fb5d6e9e
/Spider/Scrapy_project/spider/homecrawl/homecrawl/items.py
c13b8256669e32032fa0a148c4980f26f615ae7b
[]
no_license
Alexanderklau/Amusing_python
484e97806bc45ecbe0220f899723fa091a0f088b
9ce288eac7eeabb0e21f62936b6eb5ac2a0c934e
refs/heads/master
2021-12-27T03:33:37.535288
2021-12-20T08:00:11
2021-12-20T08:00:11
107,672,208
45
11
null
null
null
null
UTF-8
Python
false
false
341
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class HomecrawlItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() name = scrapy.Field() type = scr...
[ "429095816@qq.com" ]
429095816@qq.com
e9edd4ed3e5fc0dc447e24161812cd6c6b003ca2
88a5fdb313f13ab9bda0271244dc62ab472d6133
/app/email.py
0695d9c0adcf336c6c92285413b1a0a4106bdec7
[]
no_license
TonyKioko/Watchlist
2c588bd4bc2e82d012fd856deb17e2c09deb8d0a
69989833744011a3b78332d115bc0d26dd5c7059
refs/heads/master
2020-03-27T08:57:04.604507
2018-09-05T12:02:08
2018-09-05T12:02:08
146,300,936
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
from flask_mail import Message from flask import render_template from . import mail def mail_message(subject,template,to,**kwargs): sender_email = 'tonykioko384@gmail.com' email = Message(subject, sender=sender_email, recipients=[to]) email.body= render_template(template + ".txt",**kwargs) email.html ...
[ "tonykioko384@gmail.com" ]
tonykioko384@gmail.com
7aeb3457c7ada2b00c7c36c1b7affd0ae9db9ec3
e0980f704a573894350e285f66f4cf390837238e
/.history/menus/models_20201030114245.py
38e8ccda4729de5cad118fc6b00fd21e706dde97
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
from django.db import models from django_extensions.db.fields import AutoSlugField from modelcluster.models import ClusterableModel # Create your models here. class Menu(ClusterableModel): title = models.CharField(max_length=100) slug = AutoSlugField( populate_from='title', editable=True,...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
699c4ebe2c41aced27d87044a6a04d986fe3e1d5
f0e190ae8eff009ca2243551f06c84b56ab27b46
/q31.py
6daf6aea0248fcdb160d465e69063cf71f8c0dc4
[]
no_license
VinayHaryan/Array
7d042c57619cc1a89bef0eff1a019d66b5a6203c
c19d36054b5d0b39a29673966e14a3b6329da9da
refs/heads/main
2023-05-29T23:41:07.612633
2021-06-17T08:38:17
2021-06-17T08:38:17
377,736,580
2
0
null
null
null
null
UTF-8
Python
false
false
2,614
py
''' LONGEST CONSECUTIVE SUBSEQUENCE given an array of integers. find the length of the longest sub-sequence such that elements in the subsequence are consecutive integers, the consecutive numbers can be in any order Input: arr[] = {1, 9, 3, 10, 4, 20, 2} Output: 4 Explanation: The subsequence 1, 3, 4, 2 i...
[ "noreply@github.com" ]
VinayHaryan.noreply@github.com
127a37e78d7ba0ad78f84b45cbc5cb162a773b88
3d4cd68400eb5429282b23bf6a1b7226851b731a
/spddo/subs/actions/filter_services.py
d549120d129c7de4b4c827552f0a17d3460504ff
[]
no_license
blueshed/spddo-chat
2dee16478e9a30ed0196d76d450e0772147aa208
d7ba492162ba95c0d2b8ed78370366eb96e39c3a
refs/heads/master
2021-01-17T11:29:48.959086
2016-05-21T18:33:08
2016-05-21T18:33:08
43,005,167
1
0
null
null
null
null
UTF-8
Python
false
false
551
py
from spddo.subs import model from blueshed.micro.orm.orm_utils import serialize def filter_services(context: 'micro_context', term='', offset=0, limit=10, id=None): with context.session as session: if id is not None: service = session.query(model.Service).get(id) result = serialize...
[ "pete@blueshed.co.uk" ]
pete@blueshed.co.uk
3e1afd1f23d613a46862f68333f52a82c2bc7eb0
252ba39d95ed242f666e814512e769ba895b2c33
/kikit/substrate.py
16cde938506b877b1e2b3c30763fc721904fd867
[ "MIT" ]
permissive
scottbez1/KiKit
7aaf3b7209f93602552a72b9050d0677810b51db
99459403b5aa0a2c2ccfb660b0b9a4ae557910fb
refs/heads/master
2023-03-22T20:16:12.827329
2021-02-15T07:34:38
2021-02-18T17:38:08
348,950,796
11
2
MIT
2021-03-18T05:21:56
2021-03-18T05:21:55
null
UTF-8
Python
false
false
20,015
py
from shapely.geometry import Polygon, MultiPolygon, LineString, MultiLineString, Point from shapely.ops import unary_union, split import shapely import numpy as np from kikit.pcbnew_compatibility import pcbnew from enum import IntEnum from itertools import product from kikit.common import * from kikit.defs import STR...
[ "email@honzamrazek.cz" ]
email@honzamrazek.cz
113545d1d0efaa54667503bb14c8012164b3b856
f48e32effc43299bfa66651b67f82bc561bd84ec
/python/ch_04_Magnetic_Alarm.py
ad581be57bf8a8e9ea077df29b0453e13d1e52d6
[ "MIT" ]
permissive
drupals/mbms
6442a407a02f1ebdf116c1517fe7aef54cac748c
6763faa870d1a16f272b3eade70b433ed3df0e51
refs/heads/master
2023-08-19T08:33:40.361919
2020-05-21T09:01:40
2020-05-21T09:01:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
from microbit import * import music while True: if compass.get_field_strength() < 160000: music.pitch(523, 1000)
[ "evilgeniusauthor@gmail.com" ]
evilgeniusauthor@gmail.com
d44abcce5c2b68e8ba38e5b78c05f96104278adf
b02413548c0f944d00d2112e8c50833688e7d9da
/Bi_LSTM+CRF/src/TrainModel.py
9bd74dc99f3f7e2a2cf0b049de696c44559504bd
[]
no_license
damo894127201/MyTools
3bb27979542e7b1e256648d209aab50b3f323df2
afa25eb6cdaa7eaea31251aad5882fd45d0cac74
refs/heads/master
2023-04-01T13:17:18.192749
2019-09-12T06:23:19
2019-09-12T06:23:19
186,024,027
0
1
null
2023-03-24T23:01:22
2019-05-10T16:57:30
HTML
UTF-8
Python
false
false
16,855
py
# -*- coding: utf-8 -*- # @Time : 2019/5/9 8:24 # @Author : Weiyang # @File : TrainModel.py ''' 训练模型 ''' import tensorflow as tf from pathlib import Path import functools import numpy as np from tf_metrics import precision,recall,f1 import logging import sys class TrainModel(object): def __init__(self): ...
[ "894127201@qq.com" ]
894127201@qq.com
0d6570e23b38e3ca5654650e9c99d2c3a56f5789
f62fd455e593a7ad203a5c268e23129473d968b6
/python-watcher-1.0.1/watcher/tests/decision_engine/test_sync.py
3a2f23e099b2f3a1bbecc027abddc1ed629fbc9b
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
28,590
py
# -*- encoding: utf-8 -*- # Copyright (c) 2016 b<>com # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
80ec02d4d241059ff33ec56a51e2c97d0a5e1f29
53afef1755ac94996628205da7d3b873fa874f5a
/ebdjango/RemainderApp/apps.py
4687e2b147959f1372eaa60b46f58aceb441bc15
[]
no_license
RajeshKumar-1998/Todolist
b5e13728d79fa46fd8647c60f0a4e0ba2b943752
6463fa9aeffc0ccf99c6507019218b3a492f966b
refs/heads/master
2022-11-06T06:48:05.148167
2020-06-19T11:27:30
2020-06-19T11:27:30
263,534,458
0
0
null
2020-06-19T11:28:12
2020-05-13T05:32:22
Python
UTF-8
Python
false
false
99
py
from django.apps import AppConfig class RemainderappConfig(AppConfig): name = 'RemainderApp'
[ "57509232+Rajeshkumar-dev-cloud@users.noreply.github.com" ]
57509232+Rajeshkumar-dev-cloud@users.noreply.github.com
6def215cabd9d1362eff7a7e4ade0e64f32a3bc7
83e1c4c893a901ee0b0872e867b32bddca4822e4
/backend/apps/about/migrations/0001_initial.py
d2bf1333854490b65d8a96abec2fae0fe93caa4a
[]
no_license
alexmon1989/mit
56f0d2d6f6386c6f28b4c02b979174281e60de3b
730f67978c8dd204041334bb9595e10151f24ff7
refs/heads/master
2021-01-24T12:42:02.553501
2018-04-24T08:32:04
2018-04-24T08:32:04
123,147,557
0
0
null
null
null
null
UTF-8
Python
false
false
3,177
py
# Generated by Django 2.0.3 on 2018-03-10 10:11 import ckeditor_uploader.fields from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('theater', '0003_personplayrole_text'), ] operations = [ migrations.CreateModel( ...
[ "alex.mon1989@gmail.com" ]
alex.mon1989@gmail.com
a963a0f53ac344e26fd1e3e90c2515a0fadc793b
98067be8930cf795da7b35275cdf86787656cca5
/src/main_ae.py
3b9f0f68f20d158bb01b38bf8b8ebfbab0728cc2
[]
no_license
akshay-sharma1995/let_it_flow
e9821b93a9f29f32267cd35a5491cba8ecca65e7
7ef2f9151eef9d940a332f07be79d8f5db973a34
refs/heads/master
2022-11-19T00:46:06.283215
2020-07-16T22:40:21
2020-07-16T22:40:21
246,896,482
1
0
null
null
null
null
UTF-8
Python
false
false
4,407
py
import os, sys import pdb import argparse import torch from losses import * from generator import * from discriminator import * from autoencoder import * import pdb from utils import * from torch.utils.data import dataloader from torchvision.transforms import transforms from datetime import datetime from DataLoader imp...
[ "akshay.iitkbkn@gmail.com" ]
akshay.iitkbkn@gmail.com
9d3e5df251e9e2a38f5c9fd9023be39908ed52a8
febb7a4b889c2f40637e2b688eb770cf0809226f
/exp/globals_for_keyword.py
51261a642d30453563042b834197f7cdc6fa8ad0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nicolasessisbreton/fython
68253552c626640b5efc2a7cea9384c8e0425c08
988f5a94cee8b16b0000501a22239195c73424a1
refs/heads/master
2021-01-10T07:10:06.793158
2017-08-25T17:27:05
2017-08-25T17:27:05
50,076,320
48
3
null
2016-08-21T17:16:12
2016-01-21T02:30:31
Python
UTF-8
Python
false
false
24
py
globals()['pass'] = pass
[ "contact@nicolasessisbreton.com" ]
contact@nicolasessisbreton.com
9dbbdca06d2e8016d9b6d3e8fcf3843b49fabe6f
14421a12c4e80395567e676394d369fd9619bd32
/Scripts/PythonBeginnerLvl/132_lotto.py
2eb3a5b4cb6d232f348a71c0726c3269ef0cdd9d
[]
no_license
jawor92/Python-Udemy-Mobilo
7b331e8197233c3116e43e0b3c1110b9b878762e
8098508835121a1536c2753bc4eedbf17163c93d
refs/heads/master
2020-12-09T21:39:09.366604
2020-01-12T19:31:09
2020-01-12T19:31:09
233,423,486
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# -*- coding: utf-8 -*- """ Created on Mon Aug 19 21:32:57 2019 @author: Mateusz.Jaworski """ import random numbers=[] while len(numbers) < 6: number = random.randint(1,49) if number in numbers: print('Eliminated:', number) continue numbers.append(number) print('Lotto...
[ "jaworski92@gmail.com" ]
jaworski92@gmail.com
4c216ad426aa578c6e09f2262f8cb8977eb7f22a
1dd72195bc08460df7e5bb82d3b7bac7a6673f49
/api/app/tests/wildfire_one/test_util.py
0dd6b744cab86e42b615338a5f73c75c64d9cd7d
[ "Apache-2.0", "MIT" ]
permissive
bcgov/wps
c4347c39cadfad6711502d47776abc8d03895593
0ba707b0eddc280240964efa481988df92046e6a
refs/heads/main
2023-08-19T00:56:39.286460
2023-08-16T18:03:06
2023-08-16T18:03:06
235,861,506
35
9
Apache-2.0
2023-09-11T21:35:07
2020-01-23T18:42:10
Python
UTF-8
Python
false
false
1,490
py
from typing import Optional from app.wildfire_one.util import is_station_valid def build_station(status: str, lat: Optional[int], long: Optional[int]): return { "latitude": lat, "longitude": long, "stationStatus": { "id": status, } } def test_valid_active_station(...
[ "noreply@github.com" ]
bcgov.noreply@github.com
b3efb930b8b13d207775632b9a2f910da59ca59d
a14607ea73a7171844cd4df029b28407bd5d2062
/oi_old.py
66d94822dd2ac6e47d7fee825eeb7bc635876da7
[]
no_license
CtrlZ-FRC4096/Robot-2019-WIP
a30bde9d56fecfedf4c1e09349cd3ed9ff392b99
84e84245909179365b4f4a7fea2bb55cbdb28068
refs/heads/master
2020-04-26T18:13:36.196445
2019-03-04T22:46:11
2019-03-04T22:46:11
173,738,106
0
0
null
null
null
null
UTF-8
Python
false
false
6,323
py
""" Ctrl-Z FRC Team 4096 FIRST Robotics Competition 2019 Code for robot "----" contact@team4096.org """ import wpilib ### IMPORTS ### # Subsystems # Commands import commands.drivetrain import commands.hatch import commands.cargo import commands.climber # Controls from customcontroller.xbox_command_controller impo...
[ "adam.pletcher@gmail.com" ]
adam.pletcher@gmail.com
085ce0c130edc6df02620b735a562abb1e726c0e
2a0cb97bf3fd843c1f77d0632088b0e4aad3e3e4
/hack/create_dependabot.py
a83f04de5bfd735dd9d957fcc6fec56208b397a1
[ "Apache-2.0" ]
permissive
kubeflow/arena
ad01e24cc29d8408f322070798adeb880d09d89b
46093aec39cf20122dfa53a47d62c02338cd9d7d
refs/heads/master
2023-09-01T03:57:30.417791
2023-08-30T03:53:09
2023-08-30T03:53:09
142,853,225
587
173
Apache-2.0
2023-09-07T12:44:51
2018-07-30T09:19:04
Go
UTF-8
Python
false
false
3,559
py
import yaml import collections from pathlib import Path dependabot = {} dependabot['version'] = 2 dependabot['updates'] = [] ignored_folders = ['node_modules', 'dist', '.git', 'deprecated'] def get_owners(path): while not Path(path/'OWNERS').is_file(): path = path.parent.absolute() with open(path/'OWN...
[ "noreply@github.com" ]
kubeflow.noreply@github.com
330312c89c42a9e8a4a1ae658d7ff7861c8d7428
3b50605ffe45c412ee33de1ad0cadce2c5a25ca2
/python/paddle/fluid/tests/unittests/test_modelaverage.py
156f0cfb8bce859d78c0d43f4ed8c92b4ec9a66c
[ "Apache-2.0" ]
permissive
Superjomn/Paddle
f5f4072cf75ac9ecb0ff528876ee264b14bbf8d1
7a0b0dab8e58b6a3b28b3b82c43d55c9bd3d4188
refs/heads/develop
2023-02-04T20:27:54.244843
2023-01-26T15:31:14
2023-01-26T15:31:14
66,896,049
4
1
Apache-2.0
2023-04-14T02:29:52
2016-08-30T01:45:54
C++
UTF-8
Python
false
false
8,257
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
Superjomn.noreply@github.com
552be2ba9cc6e91a3ce988fb05e190392dbc92ea
396d4d9b26c14803ab7c9e1e514cc23555b31023
/restframeworkproject/app01/migrations/0007_auto_20191129_2246.py
cc9b6c2d1dc364fc5f39ab61bcec24faf59a4b91
[]
no_license
mbg17/superlist
85c5085c94ec22429cb66460701ed335337595c2
c8375fdefba19952dbaf1a119260ba207d3f3ce3
refs/heads/master
2022-12-17T19:42:54.010514
2020-01-17T04:49:32
2020-01-17T04:49:32
163,076,518
1
0
null
null
null
null
UTF-8
Python
false
false
417
py
# Generated by Django 2.2 on 2019-11-29 14:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app01', '0006_auto_20191129_2240'), ] operations = [ migrations.AlterField( model_name='author', name='b...
[ "18917963668@163.com" ]
18917963668@163.com
8710fe25ef9d20d24d038038fbae4fca863cd9cd
7ca10b0f3dc1cdebe11516348a4c2aa2f211d36e
/zarya/manifolds/__init__.py
90144e69db5b3f5e0c3e28d447852c18d0d98f6a
[ "MIT" ]
permissive
kefirski/zarya
9aa316658fca149a868fa0b162d74abed84086c1
db1f84cef1c4ffa28aa7adb5dea6cf9f2ebf2f84
refs/heads/master
2022-05-14T04:36:30.100211
2019-02-26T21:26:29
2019-02-26T21:26:29
168,553,243
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
from .manifold import Manifold from .poincare_ball import PoincareBall
[ "olavursky@gmail.com" ]
olavursky@gmail.com
543326a3c5f7dfb6d0c1e0434dd02034930f1a05
9f9c0861a392d26c1ec0c317b2cba85515ddc627
/torch/nn/quantized/modules/activation.py
beaae33efe944d14a85c5eb604748e11089434e9
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
zhuhaozhe/pytorch
be09e6aed6b2b229f4d1126fc170542e2aa02016
ba556961a7de900c0ad6f10ceba094b9f5a2a61e
refs/heads/master
2023-08-10T10:35:28.573545
2023-08-01T07:05:50
2023-08-01T07:05:50
205,321,942
0
1
NOASSERTION
2022-09-08T08:00:41
2019-08-30T06:46:46
C++
UTF-8
Python
false
false
8,546
py
import torch import torch.nn.quantized.functional class ReLU6(torch.nn.ReLU): r"""Applies the element-wise function: :math:`\text{ReLU6}(x) = \min(\max(x_0, x), q(6))`, where :math:`x_0` is the zero_point, and :math:`q(6)` is the quantized representation of number 6. Args: inplace: can option...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
86a84b441cd47c458343d62cf5c4d40319a0720c
79d1c0e68bbacdcf85026565291b587fa8b42b25
/tramp/tests/test_channels.py
c05d4f7fb31a7daa1f7b6050b717add88ddf5f9b
[ "MIT" ]
permissive
sphinxteam/tramp
2a041c6f0b1b2e290abea8e2013869459fca88a2
0a9aa60e01fbe62846f869be4c76d47ac9c2274e
refs/heads/master
2023-06-22T07:25:05.947412
2023-02-14T14:02:33
2023-02-14T14:02:33
161,622,843
35
7
null
2020-05-08T10:53:16
2018-12-13T10:30:03
Python
UTF-8
Python
false
false
5,122
py
import unittest from tramp.channels import ( AbsChannel, SgnChannel, ReluChannel, LeakyReluChannel, HardTanhChannel ) import numpy as np def empirical_second_moment(tau_z, channel): """ Estimate second_moment by sampling. """ noise = np.random.standard_normal(size=1000 * 1000) Z = np.sqrt(tau_...
[ "antoine.baker59@gmail.com" ]
antoine.baker59@gmail.com
19965bbaff8922af4fc7eedb039711e9ee06f657
7ec4b82f5ccb57e075a4262ef598308b260bbdf2
/Selection Sort.py
f067b4df60b4950f3a6ee31723f6d7ff500a560d
[]
no_license
avigupta10/DataStructures
86f56b2afdec2a73ef332bad53675d91b10c34f7
1535169d22b7a2250404af00ab77c2195a68bf7d
refs/heads/master
2023-08-15T17:46:49.678967
2021-10-14T15:12:36
2021-10-14T15:12:36
377,767,604
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
def selectionSort(arr: list): for i in range(len(arr)): minimum = i for j in range(i, len(arr)): if arr[j] < arr[minimum]: minimum = j arr[minimum], arr[i] = arr[i], arr[minimum] return arr print(selectionSort([9, 1, 5, 3, 7, 4, 2, 8, 6]))
[ "41137189+Avihwr@users.noreply.github.com" ]
41137189+Avihwr@users.noreply.github.com
3ee219e3e35bd9d585a8c1495833611b9eafd9a5
1c5181d849085f3c56fccd583dce08a476d48575
/sa/profiles/Huawei/VRP3/get_inventory.py
95d0180006127c5bbf72610350520aeb1e275fcc
[ "BSD-3-Clause" ]
permissive
fantmas2/noc
fec42b276473f8f1e5b7bd06abd4a7eb31440e7b
d43c14f02266b5a4e1fca2db3296cef612d63374
refs/heads/microservices
2021-08-29T17:03:34.512406
2017-12-11T06:48:00
2017-12-11T06:48:00
113,280,875
0
0
null
2017-12-11T06:48:01
2017-12-06T06:59:51
Python
UTF-8
Python
false
false
1,443
py
# -*- coding: utf-8 -*- # --------------------------------------------------------------------- # Huawei.VRP3.get_inventory # --------------------------------------------------------------------- # Copyright (C) 2007-2016 The NOC Project # See LICENSE for details # ------------------------------------------------------...
[ "dmitryluhtionov@gmail.com" ]
dmitryluhtionov@gmail.com
d261e3909593938003debc9554cf304fdd5a0fe7
97676f59bdd398f00bc0939c40a30c1f07e523c6
/course-files/lectures/lecture19/answers/01_reading_files/utilities.py
73ffa303cfda4f9c70547b9bc1ffc9c26751d9d8
[]
no_license
eecs110/fall2020
db1b0f9036f9a0036ff5cc6ba5c30ba6fa5cffed
81363c4f1c192f8366456a44df8988298809146b
refs/heads/master
2023-01-29T05:49:36.452055
2020-12-02T20:58:43
2020-12-02T20:58:43
289,575,477
1
3
null
null
null
null
UTF-8
Python
false
false
10,458
py
from PIL import Image, ImageTk from tkinter import Canvas import os import random import math _cache = [] def _get_coordinates(canvas, id): return canvas.coords(id) def _set_coordinates(canvas, id, coordinates): canvas.coords(id, coordinates) def _update_position_by_id(canvas, id, x=2, y=0): coords =...
[ "vanwars@gmail.com" ]
vanwars@gmail.com
a7431e1568dbd214081220b5fde03ace42b7082d
3bd0df7e73d7ed1ecb78da2929d59c5e09043379
/hackerrank/contests/30_days_of_code/if-else.py
48b4efe7a6dc26f51fc6e6870d0d3b2a0e06d232
[ "MIT" ]
permissive
spradeepv/dive-into-python
89fb33794494b0da0639636e4901a5a72dc9e9a2
ec27d4686b7b007d21f9ba4f85d042be31ee2639
refs/heads/master
2021-01-21T04:27:51.287637
2017-09-18T10:32:35
2017-09-18T10:32:35
40,643,456
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
""" Problem Statement Welcome to Day 3! Check out a review of if-else statements here, or just jump right into the problem. Using "if-else" you can perform decision making in your code. See the flowchart below (taken from wikipedia): 332px-If-Then-Else-diagram.svg.png This problem will test your knowledge on "if-el...
[ "psathasi@brocade.com" ]
psathasi@brocade.com
8a248525561c965b634a8856e7a16441fabd2cee
a622e8b295d799b7b9125e2b15243b8bdae1dc09
/1909/190917/solving/solving.py
edc407a12d73614b62021edc50c69c0a73df8020
[]
no_license
otterji/algorithms
3a36c04bacc22c46f1ee220b3b129cda876db797
ebd0ade0cd1de8e489d015aa0b2833afeab3898e
refs/heads/master
2020-11-26T02:48:13.299848
2020-04-11T12:09:41
2020-04-11T12:09:41
228,942,526
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
# 완전검색으로 푸는데 가지치기 할 수 있는지 찾아보기 def perm(k, temp=100): global max if k == n: if temp > max: max = temp else: for i in range(k, n): arr[k], arr[i] = arr[i], arr[k] if temp * data[k][arr[k]] > max: # 가지치기 perm(k+1, temp*data[k][arr[k]]) ...
[ "rkdudwl@naver.com" ]
rkdudwl@naver.com
00bcc85898b3bebfbdb21068706a7950e36049c3
689820e8cb09e1b396afb9f80342635b13e968d2
/run_tacos.py
dd35919c4ee112cc3da5794f71b6c80aab2a27aa
[ "MIT" ]
permissive
shubhampachori12110095/VSLNet
28f8833968b4802e31c09d02c3b99bb6403412c9
079edb1564afbafc92282339b0c654dd2607766f
refs/heads/master
2022-12-22T17:01:40.363011
2020-09-10T09:53:45
2020-09-10T09:53:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,598
py
import os import math import numpy as np import tensorflow as tf from tqdm import tqdm from argparse import ArgumentParser from models.VSLNet import VSLNet from utils.prepro_tacos import prepro_tacos from utils.data_utils import load_video_features, load_json, write_json, batch_iter from utils.runner_utils import write...
[ "isaac.changhau@gmail.com" ]
isaac.changhau@gmail.com
dfce9bf5a2f9343eb7f629a71e32c8d6c5655d6d
7b361fb51c83fb1988046b62d7a0af93b4bd8a30
/fudge/gnd/productData/distributions/unspecified.py
c698cd8883664efb1ed76cf1fa9cb64727dda430
[ "BSD-3-Clause" ]
permissive
paulromano/fudge
162ab067bb1b1dd1329ca0923de944b5fcfb44a8
6348d506de8306138ca654aa66f4fb81b790e7da
refs/heads/master
2020-04-10T14:57:42.138711
2016-05-13T02:07:05
2016-05-13T02:07:05
32,029,193
0
1
null
null
null
null
UTF-8
Python
false
false
4,456
py
# <<BEGIN-copyright>> # Copyright (c) 2016, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # Written by the LLNL Nuclear Data and Theory group # (email: mattoon1@llnl.gov) # LLNL-CODE-683960. # All rights reserved. # # This file is part of the FUDGE package...
[ "paul.k.romano@gmail.com" ]
paul.k.romano@gmail.com
7d0d27ae7a1214ce374067d5d1fd8125494fd0ee
dabf916439a419ebe9eef72d444855753d051ef4
/kvirt/container/__init__.py
fb9dbc5aca4e78bb2a8fde69be173a6bc080e56e
[ "Apache-2.0" ]
permissive
sergioperez/kcli
d1ecf21a3499dcf6ee1ed4aa9d5993afea2d9214
3d7fdf4fe2cebceab25c912cbac5869bdaac221a
refs/heads/master
2020-09-14T14:55:44.222134
2019-11-21T12:08:13
2019-11-21T12:08:13
188,446,288
0
0
Apache-2.0
2019-05-24T15:30:44
2019-05-24T15:30:43
null
UTF-8
Python
false
false
13,991
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ container utilites """ from distutils.spawn import find_executable import os class Kcontainer(): """ """ def __init__(self, host='127.0.0.1', user='root', port=22): self.host = host self.user = user self.port = port self....
[ "karimboumedhel@gmail.com" ]
karimboumedhel@gmail.com
31cd34d04b4cfd482913ed20fa62e1ed16380eff
5905f7e26ed7db059fe88c2a3b56a0fd0f2a4cc3
/setup.py
f9f29049c10b2767690201468447f2b967def6ea
[]
no_license
kumar303/mozpay-py
3bdff9849b92fe264b3c766b95ea6cf3254437ee
06fa505e7d06044cd3034643bfb92aa6dbc21df2
refs/heads/master
2021-01-15T19:44:49.890881
2013-03-07T07:00:17
2013-03-07T07:00:17
33,013,687
0
0
null
2015-03-27T23:23:20
2015-03-27T23:23:20
Python
UTF-8
Python
false
false
713
py
import os from setuptools import setup, find_packages setup(name='mozpay', version='2.0.0', description="Make web payments with Mozilla's navigator.mozPay().", long_description='', author='Kumar McMillan', author_email='kumar.mcmillan@gmail.com', license='MPL 2.0 (Mozilla Public L...
[ "kumar.mcmillan@gmail.com" ]
kumar.mcmillan@gmail.com
c86afe1f859c9bb6f4da3e6f16a4f01ef4a33bf5
1a584b2de77ae88a92ac19e209961c83786c55a1
/ogenie/models.py
8ed4776d8663243fbf0ac0487aaef21b7926ca16
[]
no_license
JarvisPandey/Django-rest-framework-implementation
370eee60bcd08da237f61c78495452ae0a5ced52
a2c822d64d4c3602385256527c5cc0c10993eba1
refs/heads/master
2021-04-20T04:05:13.630198
2020-03-24T08:38:32
2020-03-24T08:38:32
249,653,011
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
from django.db import models # Create your models here. class query(models.Model): quer=models.CharField(max_length=100) def __str__(self): return self.quer
[ "you@example.com" ]
you@example.com
ba9a1366c1cff54f3df3f575013c104e696df7e6
3ced55b04ec82df5257f0e3b500fba89ddf73a8a
/tests/ea/fitness_normalizer/fixtures/multiply.py
eef13e4867eba7cf0bc3c06d62096b43f42058ec
[ "MIT" ]
permissive
rdguerrerom/stk
317282d22f5c4c99a1a8452023c490fd2f711357
1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a
refs/heads/master
2023-08-23T21:04:46.854062
2021-10-16T14:01:38
2021-10-16T14:01:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
import pytest import stk from ..case_data import CaseData def _get_case_data_1() -> CaseData: topology_graph = stk.polymer.Linear( building_blocks=( stk.BuildingBlock('BrCCBr', [stk.BromoFactory()]), ), repeating_unit='A', num_repeating_units=2, ) return CaseDa...
[ "noreply@github.com" ]
rdguerrerom.noreply@github.com
3a52c27b1f1236d27343a89b88dcbcab170a290e
60aa3bcf5ace0282210685e74ee8ed31debe1769
/simulation/statistics/continuous_statistic_tracker.py
437dd46d81da07016d66798ae550c9209ba1a414
[]
no_license
TheBreadGuy/sims4-ai-engine
42afc79b8c02527353cc084117a4b8da900ebdb4
865212e841c716dc4364e0dba286f02af8d716e8
refs/heads/master
2023-03-16T00:57:45.672706
2016-05-01T17:26:01
2016-05-01T17:26:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
import sims4.log import statistics.base_statistic_tracker logger = sims4.log.Logger('Statistic') class ContinuousStatisticTracker(statistics.base_statistic_tracker.BaseStatisticTracker): __qualname__ = 'ContinuousStatisticTracker' def get_decay_time(self, stat_type, threshold): stat = self.get_statist...
[ "jp@bellgeorge.com" ]
jp@bellgeorge.com
4695d5e9848fbde6c5d03152a4faaecc60ce638d
e05e2d26e38ce80530e3458ce3c8e02f16e5cbe6
/lineupSolver/lhs_utils.py
ebc56dbafb01fbb66ff087b4bebc10509363e83b
[]
no_license
jegutman/hearthstone_decks
96acca7e040cb9b89253a867217655ce8cdf2756
95d4563c46618a9efccc10dbb34094258ec5bce7
refs/heads/master
2020-12-25T08:16:29.892068
2019-09-12T05:28:16
2019-09-12T05:28:16
102,289,609
3
0
null
2018-07-06T22:35:17
2017-09-03T19:40:44
Python
UTF-8
Python
false
false
6,406
py
from shared_utils import * import nashpy # some assumptions on formating # whatever deck a player is forced to play should be listed first (for 3v2 and 2v2 scenarios, irrelevant otherwise) # branching calcs # 16 x ban phase # assume order doesn't matter # branch on both possible results def win_rate(decks_a, decks_b,...
[ "jegutman@gmail.com" ]
jegutman@gmail.com
8698a73b2b4db03128eb26a2e6c5afcb8c2d382a
8911d294dbdc2c1b415804ec36112db11ca56148
/Best_Buy/Best_Buy/settings.py
1b0bc49430a9e454ae02947439ee76cbfe71292f
[]
no_license
generateintel/BestBuy_Scraper
8ab596fd0dd98bd4f57d3024f4e5862af67b0899
c6ffba85537250e41b0d450be8fafa4c96d004f7
refs/heads/master
2022-12-10T14:06:58.131437
2020-08-28T15:19:11
2020-08-28T15:19:11
291,078,961
0
0
null
null
null
null
UTF-8
Python
false
false
10,345
py
""" Django settings for webapp_az project. Generated by 'django-admin startproject' using Django 3.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib...
[ "frazmirza58@gmail.com" ]
frazmirza58@gmail.com
c7d53e2657af2816302676cc5daed17a5a984180
9d64a438cdfe4f3feb54f2f0dc7431139c4b9fb9
/rapid7_insightidr/unit_test/test_list_investigations.py
05ad852c0e285ce7cf5feeaeefeb53e6183b7de2
[ "MIT" ]
permissive
PhilippBehmer/insightconnect-plugins
5ad86faaccc86f2f4ed98f7e5d518e74dddb7b91
9195ddffc575bbca758180473d2eb392e7db517c
refs/heads/master
2021-07-25T02:13:08.184301
2021-01-19T22:51:35
2021-01-19T22:51:35
239,746,770
0
0
MIT
2020-02-11T11:34:52
2020-02-11T11:34:51
null
UTF-8
Python
false
false
2,734
py
import sys import os sys.path.append(os.path.abspath('../')) from unittest import TestCase from komand_rapid7_insightidr.connection.connection import Connection from komand_rapid7_insightidr.actions.list_investigations import ListInvestigations import json import logging class TestListInvestigations(TestCase): d...
[ "noreply@github.com" ]
PhilippBehmer.noreply@github.com
04c9ce30897f0abf5c96da08953af8d6ef209af4
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/222/users/4083/codes/1601_2426.py
f4f53b1656e0fdd237171b2b6779e71b3d0b3838
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
135
py
t = float(input("Digite o tempo: ")) v = float(input("Digite a velocidade: ")) d = v*t q = d/12 print(round(d, 1)) print(round(q, 1))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br