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
8163546f2fecc94e106eccfc43d3314cb39e1bbd
26594819e61d1a5f290bb579c5326adbfcce0373
/training/config.py
25dc1f6c9a640b11046d9c9ff42d75afc367f761
[]
no_license
overminder/fyp
50ba90987fbfc5788d4021d943eebb2027adea45
a9fe79a5a04589ee1866981c68ff8404cc7efeba
refs/heads/master
2021-01-23T06:26:37.631250
2012-05-15T07:19:32
2012-05-15T07:19:32
1,816,661
0
1
null
null
null
null
UTF-8
Python
false
false
94
py
from util import local_path def get_database_path(): return local_path('store.sqlite3')
[ "p90eri@gmail.com" ]
p90eri@gmail.com
af5ee455cb7393efd56233ca1556032ce3b6435c
4c68778814b938d91d184749b50940549439c0f3
/scheme/fields/time.py
fe6e0bb58b391be8c8074c6fe7792ac82fede471
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jordanm/scheme
96a747258ce68de756ffe7996b37c3e8747a740c
5a87e24b35bb2f80b474273bf2e5c5fd563214e0
refs/heads/master
2021-01-17T05:48:51.479427
2020-01-20T16:03:28
2020-01-20T16:03:28
32,604,302
8
4
NOASSERTION
2020-01-20T16:03:29
2015-03-20T20:05:12
Python
UTF-8
Python
false
false
3,174
py
from __future__ import absolute_import from datetime import time from time import strptime from scheme.exceptions import * from scheme.field import * __all__ = ('Time',) class Time(Field): """A field for time values.""" basetype = 'time' equivalent = time parameters = {'maximum': None, 'minimum': N...
[ "mccoy.jordan@gmail.com" ]
mccoy.jordan@gmail.com
6885e4c483c0399abfd20154156beeadf8b508af
d048a865519b5f944e1430c6181d00399c979d9c
/gallery/gallery/urls.py
f765f9c8680d91d33f2171654643694a2b0f21ad
[]
no_license
jithinvijayan007/PaceWisdom-
5f84261c4ba7f51e25c8c21074b48214a24cb6d2
1ba00814a757edb327923afcaf20fe04652efa0e
refs/heads/master
2023-03-06T04:00:21.729404
2021-02-21T18:56:54
2021-02-21T18:56:54
340,974,786
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
"""gallery URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "jithinvijayan007@gmail.com" ]
jithinvijayan007@gmail.com
48cd42cf70cd98648276cce423fd29d9850f9d0a
f2ab8ccda7203dd37d61facb9978cf74b781c7f1
/tests/apps.py
863cf58e139c91b4d865bed2d8a46b94a061f588
[ "MIT" ]
permissive
Apkawa/easy-thumbnails-admin
1991137224dcd117520b2c114d4012daf803776e
9d7a38f215cdac53a663b00f1d4ff3a3c2a54eb4
refs/heads/master
2021-01-01T15:47:34.334792
2017-11-23T10:38:09
2017-11-23T10:38:09
97,703,157
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
try: from django.apps import AppConfig except ImportError: # Early Django versions import everything in test, avoid the failure due to # AppConfig only existing in 1.7+ AppConfig = object class TestConfig(AppConfig): name = 'tests' label = 'tests'
[ "apkawa@gmail.com" ]
apkawa@gmail.com
eed58a6b703faab6b504f4b3a66b4de43ae04f0a
e75521f26a9a6fdbd0b9dbe396b14a5f3c1af305
/src/repositories/word_classifier_repository.py
10cf90739a261923161b283cb2b1127ab1de82cd
[]
no_license
Ap3lsin4k/words-as-part-of-speech
2636edb87d309d44d3d18add14aadd13f7810507
e7f35d56d65a8f5033498f650265cadbd742a9de
refs/heads/master
2023-01-31T19:01:11.007917
2020-12-15T10:57:20
2020-12-15T10:57:20
320,807,979
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
from bookmark_entity import Bookmark from language_entity import LanguageEntity from repositories.dictionary_surfer_common import DictionarySurferRepository class WordClassifierRepository(DictionarySurferRepository): def __init__(self, dictionary_entity: LanguageEntity): super().__init__(dictionary_entit...
[ "andrii.fedorko01@gmail.com" ]
andrii.fedorko01@gmail.com
f6fece3b5719a65008ae0fbe700a817b469a7a51
e7eff96df8160d3c238bf38068c99c7b8bd3005b
/norman/web/frontend/crops.py
08fa8b6415e718d05231de41cdbcfc0273dddb39
[]
no_license
sumansai14/norman
62c3760b47f15bb474786ac045efad5aff757b95
43a8c4e53830d57eb552c3ecb98bf2926c9d0457
refs/heads/master
2021-03-16T07:57:17.076408
2017-05-23T07:36:37
2017-05-23T07:36:37
92,188,183
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
from norman.web.frontend.base import BaseAuthTemplateView class OrganizationCropsListView(BaseAuthTemplateView): template_name = 'norman/organization/crops_list.html'
[ "suman.sai14@gmail.com" ]
suman.sai14@gmail.com
2cf1cde00eea109a46c3e5983b4906feef72866f
f0856e60a095ce99ec3497b3f27567803056ac60
/keras2/keras66_gradient2.py
0e0d0cc1f27912ef32b11753f760a7606dd315f8
[]
no_license
hjuju/TF_Study-HAN
dcbac17ce8b8885f5fb7d7f554230c2948fda9ac
c0faf98380e7f220868ddf83a9aaacaa4ebd2c2a
refs/heads/main
2023-09-04T09:13:33.212258
2021-10-27T08:00:49
2021-10-27T08:00:49
384,371,952
1
0
null
null
null
null
UTF-8
Python
false
false
479
py
import numpy as np import matplotlib.pyplot as plt f = lambda x: x**2 - 4 * x + 6 gradient = lambda x: 2*x - 4 # f 미분 -> 미분한 값이 0이 되는 지점이 가장 낮은지점 -> 우리가 찾는 지점 x0 = 0.0 MaxIter = 20 learning_rate = 0.25 print("step\tx\tf(x)") print("{:02d}\t{:6.5f}\t{:6.5f}".format(0, x0, f(x0))) for i in range(MaxIter): x1 = x0...
[ "tkackeowjs@naver.com" ]
tkackeowjs@naver.com
fb2c64c0218df858e821204c4c485f29f4b33c74
e0527bce5c53a196752d3a16adf50cb60754de5f
/10-How to Stop Programs Crashing Demos/3-is_square.py
8bf01fcece7fa35279f95d25ece62fa140398965
[]
no_license
ARWA-ALraddadi/python-tutorial-for-beginners
ddeb657f419fbc176bea273bc9fb6b88d1894191
21cedfc47871ca4d25c2382464c60ab0a2121205
refs/heads/master
2023-06-30T20:24:30.688800
2021-08-08T08:22:29
2021-08-08T08:22:29
193,094,651
0
0
null
null
null
null
UTF-8
Python
false
false
3,066
py
################################################################ ## ## As a demonstration of a function which applies defensive ## programming in different ways, consider a predicate ## which is intended to return True if a given natural ## number (i.e., a non-negative integer) is a square of ## another natu...
[ "noreply@github.com" ]
ARWA-ALraddadi.noreply@github.com
7bbfd94accf83c65ae4546356bccb460b15a900e
b8ea631aae5d132c7b0236684d5f7c12d3c222be
/Library/Graph/Dijkstra_heapq.py
6164198b7fcd573492928ce2f82d98e051b23864
[]
no_license
Ryushi-tech/card3
68c429313142e58d4722a1cd5a4acc4ab39ca41f
883636b2f518e38343a12816c5c641b60a87c098
refs/heads/master
2021-07-05T22:46:33.089945
2020-12-12T15:31:00
2020-12-12T15:31:00
209,176,836
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
import heapq def dijkstra(s): q = [] dist[s] = 0 heapq.heappush(q, [0, s]) while q: p, v = heapq.heappop(q) if dist[v] < p: continue for i, x in g[v]: if dist[i] > dist[v] + x: dist[i] = dist[v] + x heapq.heappush(q, [dist...
[ "mryrys@gmail.com" ]
mryrys@gmail.com
c7e2d80388cbe425136e01a06bdb2ea24fa604c6
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj9-10_163557.64+341427.0/sdB_sdssj9-10_163557.64+341427.0_coadd.py
39e21f206956741881cd664d37e0bb5ecdba667f
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[248.990167,34.240833], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_sdssj9-10_163557.64+341427.0/sdB_sdssj9-10_163557.64+341427.0_movie_count.fits", cntcoaddfile="/data2/fleming/...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
bde86714c9e9dcc484f3f18212f3921c491fe222
e50ba4cc303d4165bef9e2917103c084cfbe0e07
/rating_app/migrations/0016_auto_20201129_1156.py
25f2b5ff3130d55f5d492b5c185861041cf00086
[ "MIT" ]
permissive
Antony-me/Ratemyapp
09049fce54d3a3ed2b256970e7840d20942e8c84
e547fea82439a3e4f83aa78bf16f93b1ea9ab00b
refs/heads/main
2023-01-28T16:52:58.635646
2020-12-01T16:49:07
2020-12-01T16:49:07
316,425,507
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
# Generated by Django 3.1.3 on 2020-11-29 11:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('rating_app', '0015_profilemerch'), ] operations = [ migrations.AlterField( model_name='profilem...
[ "antonymunyasia993@gmail.com" ]
antonymunyasia993@gmail.com
f82a7850addf3773f1ce92a89e4d51f96cf3f763
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2_neat/16_0_2_tkdkop_pancake.py
259ec04a68548d92ceed7f438162fc6b46baa760
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
286
py
#!/usr/bin/env python import sys import itertools m = sys.stdin.readline() i = 0 for line in sys.stdin.readlines(): line = line.strip() i += 1 out_str = "Case #%d: " % i line += '+' k = itertools.groupby(line) out_str += str(len(list(k))-1) print out_str
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
4723c6f7c093e3989d133cebab10e0c13bf512a0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03997/s926418877.py
acd277945016fcae9d48adcc8806653b1aeeec5f
[]
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
58
py
a,b,c,d=eval('['+'int(input()),'*3+'0]');print((a+b)*c//2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cdaec89a7ecfa4ae8042bf31ac073b89b8a58072
a3387fbcc918acb55d289ffb61b9fb603203dc11
/Puzzles/2022-01/01_22_balanced_days.py
924f5189761f280c72866b5565b743883fbda28e
[]
no_license
fbhs-cs/purdys-puzzles
13e970ff909ff2e093b3b9d9777faac47c099913
1cf3f9c52677843fad781e46304e1485a91aae58
refs/heads/master
2023-08-17T06:28:06.659751
2023-08-09T14:45:43
2023-08-09T14:45:43
212,085,565
4
3
null
null
null
null
UTF-8
Python
false
false
1,069
py
from math import ceil def is_balanced(num): n = str(num) first = n[:ceil(len(n)/2)] last = n[len(n)//2:] #print(first,last) if sum([int(x) for x in first]) == sum([int(x) for x in last]): return True else: return False def count_balanced(n): count = 0 for i ...
[ "cpurdy@flourbluffschools.net" ]
cpurdy@flourbluffschools.net
808ac7632e66327e3f8d1fe634dab41d619f065e
786de89be635eb21295070a6a3452f3a7fe6712c
/CorAna/tags/V00-00-04/src/ConfigParametersCorAna.py
8baf5f326ca6758d621cc3f9f8cf43ac75c28720
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,606
py
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # Module ConfigParametersCorAna... # #------------------------------------------------------------------------ """Is intended as a storage for configuration parameters for CorAna projec...
[ "dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
9567422e1472a65046cf8160b1bdae8fbcf7dcd3
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/types/internal.py
c56c7aa6d7790b4c36d248603f2282e60af08a39
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
abc2e14c55f8110ca3d0bc1403c2b44d4e5fe36e
026fee65b95206995baf1565f486ab4ed7f7cef9
/userprofiles/admin.py
89683d76fdacc00428bfbad69cc1e019d3f01b5e
[]
no_license
santhoshpkumar/pinclone
e8460aab355ebf3e5559d44127d7ccad22667747
8bf641df9a4999797731d1d2fb4ff3d78d717e10
refs/heads/master
2020-04-03T09:39:27.269726
2018-10-08T10:51:51
2018-10-08T10:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from django.contrib import admin from .models import Profile # Register your models here. @admin.register(Profile) class ProfileAdmin(admin.ModelAdmin): list_display = ('user', 'bio', 'website', 'birth_date')
[ "undefined.hlo.o@gmail.com" ]
undefined.hlo.o@gmail.com
28e7dee0700c6fe42c004b939fcaa2b9ff69d27e
eb64b799ff1d7ef3a244bf8e6f9f4e9118d5cfcd
/homeassistant/components/trafikverket_weatherstation/const.py
7bb53dc5356a0b8a392104982912658806275659
[ "Apache-2.0" ]
permissive
JeffLIrion/home-assistant
53966b81b5d5816679f12fc761f79e8777c738d6
8f4ec89be6c2505d8a59eee44de335abe308ac9f
refs/heads/dev
2023-08-22T09:42:02.399277
2022-02-16T01:26:13
2022-02-16T01:26:13
136,679,169
5
2
Apache-2.0
2023-09-13T06:59:25
2018-06-09T00:58:35
Python
UTF-8
Python
false
false
466
py
"""Adds constants for Trafikverket Weather integration.""" from homeassistant.const import Platform DOMAIN = "trafikverket_weatherstation" CONF_STATION = "station" PLATFORMS = [Platform.SENSOR] ATTRIBUTION = "Data provided by Trafikverket" ATTR_MEASURE_TIME = "measure_time" ATTR_ACTIVE = "active" NONE_IS_ZERO_SENSORS...
[ "noreply@github.com" ]
JeffLIrion.noreply@github.com
7642072e77aebda4174a74cfe093db22e6377af7
7bd0954e956993df19d833810f9d71b60e2ebb9a
/phasor/utilities/ipynb/hdf.py
b9f7e5b1add89064ffd726859cfe27d4415619ec
[ "Apache-2.0" ]
permissive
aa158/phasor
5ee0cec4f816b88b0a8ac298c330ed48458ec3f2
fe86dc6dec3740d4b6be6b88d8eef8566e2aa78d
refs/heads/master
2021-10-22T09:48:18.556091
2019-03-09T18:56:05
2019-03-09T18:56:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
# -*- coding: utf-8 -*- """ """ from __future__ import division, print_function, unicode_literals import h5py from declarative.bunch.hdf_deep_bunch import HDFDeepBunch
[ "Lee.McCuller@gmail.com" ]
Lee.McCuller@gmail.com
267f5e570bff6ec85a0e60de98259cea7422da0e
edb37da2fd2d2f048df119db96a6de58fc816ddb
/jumpserver-0.4/zrd/my_blog/article/views.py
0634c5361e1cf968ac0e81b87ea55908e18fa6b5
[]
no_license
cucy/2017
88f1aa2e8df945162d8259918cf61a138a3422cf
33bcdd5c9e0717521544e3ea41ade10fbb325c4f
refs/heads/master
2020-05-21T15:31:39.935733
2017-07-10T11:04:29
2017-07-10T11:04:29
84,629,639
0
0
null
null
null
null
UTF-8
Python
false
false
1,766
py
# coding:utf-8 from django.shortcuts import render from django.shortcuts import render_to_response # Create your views here. from django.http import HttpResponse from models import SSHInfo # Create your views here. try: from ConfigParser import ConfigParser except: from configparser import ConfigParser try: ...
[ "292016176@qq.com" ]
292016176@qq.com
d3e3b20b1ce012f78bbc61c3eb7dc31075d016ca
c9094a4ed256260bc026514a00f93f0b09a5d60c
/tests/components/accuweather/test_system_health.py
749f516e44c748caf05503460e8a72ec34d085d3
[ "Apache-2.0" ]
permissive
turbokongen/home-assistant
824bc4704906ec0057f3ebd6d92788e096431f56
4ab0151fb1cbefb31def23ba850e197da0a5027f
refs/heads/dev
2023-03-12T05:49:44.508713
2021-02-17T14:06:16
2021-02-17T14:06:16
50,231,140
4
1
Apache-2.0
2023-02-22T06:14:30
2016-01-23T08:55:09
Python
UTF-8
Python
false
false
1,785
py
"""Test AccuWeather system health.""" import asyncio from unittest.mock import Mock from aiohttp import ClientError from homeassistant.components.accuweather.const import COORDINATOR, DOMAIN from homeassistant.setup import async_setup_component from tests.common import get_system_health_info async def test_accuwea...
[ "noreply@github.com" ]
turbokongen.noreply@github.com
1b32ea37e4c7f6126f63d235f5bc196330d2dc7e
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/dimensions_of_motion/geometry.py
d7a317cb08a95e69785f8cd0af032ae5db8a1f29
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
7,466
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
cf4869a008091dac50e4e6d07bded0da84f85bb3
2bcf18252fa9144ece3e824834ac0e117ad0bdf3
/zpt/trunk/site-packages/zpt/_pytz/zoneinfo/Asia/Ulan_Bator.py
23ee14fe6b126706fac6097086cd541788e4110c
[ "MIT", "ZPL-2.1" ]
permissive
chadwhitacre/public
32f65ba8e35d38c69ed4d0edd333283a239c5e1d
0c67fd7ec8bce1d8c56c7ff3506f31a99362b502
refs/heads/master
2021-05-10T14:32:03.016683
2010-05-13T18:24:20
2010-05-13T18:24:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,011
py
'''tzinfo timezone information for Asia/Ulan_Bator.''' from zpt._pytz.tzinfo import DstTzInfo from zpt._pytz.tzinfo import memorized_datetime as d from zpt._pytz.tzinfo import memorized_ttinfo as i class Ulan_Bator(DstTzInfo): '''Asia/Ulan_Bator timezone definition. See datetime.tzinfo for details''' zone = '...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
85ef73de5c1fceffd5aff452e2b9902d1718602f
5ca6730fa1178582d5f5875155f340ec0f406294
/practice_problem-16.py
44785ae4df282d5b7cc6f83173866d825eb41375
[]
no_license
MahadiRahman262523/Python_Code_Part-1
9740d5ead27209d69af4497eea410f2faef50ff3
e2f08e3d0564a003400743ae6050fd687c280639
refs/heads/main
2023-07-25T09:10:53.649082
2021-09-05T19:39:14
2021-09-05T19:39:14
403,396,706
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
# Write a program to count the number of zeros in the following tuple: # a = (7,0,8,0,0,9) a = (7,0,8,0,0,9) print(a.count(0))
[ "noreply@github.com" ]
MahadiRahman262523.noreply@github.com
1b406b2dc38004db14248af19fb7f7be9b8e7f6c
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/BuildLinks1.10/test_input/CJ_16_1/16_1_1_FreeTShirt_a.py
0207b362ff64f55d6e7a49f758c368374d2c5dc1
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
404
py
def argmax(s): z = max(s) return [(idx, c) for idx, c in enumerate(s) if c == z] def last(s): if len(s) <= 1: return s return max([s[idx]+last(s[:idx])+s[idx+1:] for idx, c in argmax(s)]) fw = open('a-o', 'w') for idx, line in enumerate(open('A-small-i')): if idx == 0: continue ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
8732c9af3fea83ea57fa51e58d56b098749760f6
6561baa7ca68875e62fbf2d20c7887e4aadebe9f
/tests/cds_test_20_sf_ukmo.py
efa292077e335becd6970c33d7b3c44900ea5f35
[ "Apache-2.0" ]
permissive
EXWEXs/cfgrib
9057c9e5abbc38a32f113f832f1506988839ee82
8a1727af2c3bbcf2e17f250dfafcb4cc4e959354
refs/heads/master
2020-04-01T15:44:45.140700
2018-10-14T14:39:13
2018-10-14T14:39:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,089
py
import pytest import cfgrib import cdscommon TEST_FILES = { 'seasonal-original-single-levels-ukmo': [ 'seasonal-original-single-levels', { 'originating_centre': 'ukmo', 'variable': 'maximum_2m_temperature_in_the_last_24_hours', 'year': '2018', 'mo...
[ "a.amici@bopen.eu" ]
a.amici@bopen.eu
5e0bde2a16193651c22bf50efd429a326bf6f474
6b564e24a99b2d2c6a384d8674974f10ef9461d5
/iptv_proxy/providers/crystalclear/data_model.py
53c6ad0d72865ecf54ed3413a6d9df1d667e4c12
[ "MIT" ]
permissive
Onemars/IPTVProxy
1c1421c6962c1f7cf4cef90d8a2c98e98f5ded25
06d5472f49ecaa7eafb90832a1c9ac85a09cd268
refs/heads/master
2020-05-24T14:34:48.486177
2019-05-17T14:17:21
2019-05-17T14:17:21
187,311,948
1
0
null
2019-05-18T03:58:48
2019-05-18T03:58:47
null
UTF-8
Python
false
false
6,858
py
import logging from sqlalchemy import Column from sqlalchemy import Index from sqlalchemy import Integer from sqlalchemy import LargeBinary from sqlalchemy import String from sqlalchemy.ext.hybrid import hybrid_property from iptv_proxy.data_model import DateTimeUTC from iptv_proxy.providers.crystalclear.constants imp...
[ "sherif.fanous@gmail.com" ]
sherif.fanous@gmail.com
727c6dd5a9d6d63154d4df935778852dc73c00fa
c590571d129ead00bd1916025f854a1719d75683
/zvt/recorders/joinquant/meta/china_stock_meta_recorder.py
fa4a0c4364dd713ab0f74d8b7829a1b6f86f10ac
[ "MIT" ]
permissive
ming123jew/zvt
f2fb8e157951e9440a6decd5ae0c08ea227a39db
de66a48ad2a3ac2c3fb22b9ea17a85f28e95cc62
refs/heads/master
2023-05-28T15:00:52.015084
2021-06-13T12:56:18
2021-06-13T12:56:18
570,070,597
1
0
MIT
2022-11-24T09:16:48
2022-11-24T09:16:47
null
UTF-8
Python
false
false
5,733
py
# -*- coding: utf-8 -*- import pandas as pd from jqdatapy.api import get_all_securities, run_query from zvt.api.quote import china_stock_code_to_id, portfolio_relate_stock from zvt.contract.api import df_to_db, get_entity_exchange, get_entity_code from zvt.contract.recorder import Recorder, TimeSeriesDataRecorder from...
[ "5533061@qq.com" ]
5533061@qq.com
da4e65994020ecec1aae6923a1bd83b3951032e3
a90ba084b85683f4c52d0e638cfb6108207ced38
/896.py
91ca187efe65342ba1e072994842f422f065f605
[]
no_license
JiayuZhai/leetcode_python3
4a9260d00a52cde9ec37e6292e64d04161e66111
5755c3edd6d949af18d0247d2103379510dfab85
refs/heads/master
2020-04-02T21:22:42.270736
2019-03-29T23:28:48
2019-03-29T23:28:48
154,796,956
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
class Solution: def isMonotonic(self, A: List[int]) -> bool: sortA = sorted(A) return (A == sortA or list(reversed(A)) == sortA)
[ "zhaijiayu2013@gmail.com" ]
zhaijiayu2013@gmail.com
90a5ad57cf62d7082f693f949d412f2d773b647a
844c7f8fb8d6bfab912583c71b93695167c59764
/fixação/Seção06/51-60/Sec06Ex51v2.py
35580169e28f8bc9bc58b28718531dd96aa9d948
[ "Apache-2.0" ]
permissive
gugajung/guppe
2be10656cd9aa33be6afb8e86f20df82662bcc59
a0ee7b85e8687e8fb8243fbb509119a94bc6460f
refs/heads/main
2023-05-28T08:08:24.963356
2021-06-07T16:56:11
2021-06-07T16:56:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
from datetime import date anoAtual = 1995 salarioAtual = 2000 percentAumento = 1.5 dataAtual = date.today() anoReal = dataAtual.year while anoAtual <= anoReal: salarioAtual = salarioAtual + ((salarioAtual*percentAumento)/100) print("----------------------------------------") print(" --- debug") print(...
[ "luiz.carlin@gmail.com" ]
luiz.carlin@gmail.com
d3e7e9dae606fe6dc77d9c43997e9c592fbcd477
982bc95ab762829c8b6913e44504415cdd77241a
/account_easy_reconcile/base_reconciliation.py
b50c06b9eed699d96da272f0fb9dd9613177c235
[]
no_license
smart-solution/natuurpunt-finance
6b9eb65be96a4e3261ce46d7f0c31de3589e1e0d
6eeb48468792e09d46d61b89499467a44d67bc79
refs/heads/master
2021-01-23T14:42:05.017263
2020-11-03T15:56:35
2020-11-03T15:56:35
39,186,046
0
1
null
2020-11-03T15:56:37
2015-07-16T08:36:54
Python
UTF-8
Python
false
false
7,776
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright 2012-2013 Camptocamp SA (Guewen Baconnier) # Copyright (C) 2010 Sébastien Beau # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affer...
[ "fabian.semal@smartsolution.be" ]
fabian.semal@smartsolution.be
ae535fe72253b6c574f7196c75a3b64e003c3ea3
ccb6918eff9624bc890c4318462b3d04fe01ab25
/d02/for/for/settings.py
763917cea83d3de15fae9c387027213bdac3fd6e
[]
no_license
shchliu/19django
431202f3b4a71fb2614f3f113174df327a338413
63af6aeff279a83fb170c1b5385d0804d96fafad
refs/heads/master
2020-08-15T08:53:36.707823
2019-10-16T08:26:41
2019-10-16T08:28:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,121
py
""" Django settings for for project. Generated by 'django-admin startproject' using Django 2.0. 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/ """ import os # Build...
[ "1124874942@qq.com" ]
1124874942@qq.com
b6e187de710d37037dd7c0d830a50e7eaee1aa28
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/xcoff/XCoffSectionHeaderFlags.pyi
43a745532a3157885655ec9c25a175e6ac3df2ec
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
772
pyi
import java.lang class XCoffSectionHeaderFlags(object): STYP_BSS: int = 128 STYP_DATA: int = 64 STYP_DEBUG: int = 8192 STYP_EXCEPT: int = 128 STYP_INFO: int = 512 STYP_LOADER: int = 4096 STYP_OVRFLO: int = 32768 STYP_PAD: int = 8 STYP_TEXT: int = 32 STYP_TYPCHK: int = 16384 ...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
ce42ed7f15ab68df41c64c17c877f642173d66a2
a7cca49626a3d7100e9ac5c2f343c351ecb76ac7
/upydev/argcompleter.py
3751c0a54657cd37a9a63de43d2f4f77ad8882e7
[ "MIT" ]
permissive
Carglglz/upydev
104455d77d64300074bda54d86bd791f19184975
529aa29f3e1acf8160383fe410b5659110dc96de
refs/heads/master
2023-05-24T18:38:56.242500
2022-10-21T14:03:17
2022-10-21T14:03:17
199,335,165
49
9
MIT
2022-10-21T14:03:18
2019-07-28T20:42:00
Python
UTF-8
Python
false
false
57,893
py
import os from upydev import __path__ UPYDEV_PATH = __path__[0] # SHELL_CMD_PARSER shell_commands = ['cd', 'mkdir', 'cat', 'head', 'rm', 'rmdir', 'pwd', 'run', 'mv'] custom_sh_cmd_kw = ['df', 'datetime', 'ifconfig', 'net', 'ap', 'mem', 'install', 'touch', 'exi...
[ "carlosgilglez@gmail.com" ]
carlosgilglez@gmail.com
ac2cbb0b731b97e581da7a9f035b4ce7209d5dbf
f08336ac8b6f8040f6b2d85d0619d1a9923c9bdf
/223-rectangleArea.py
b77b9c32e8858d4b5b81adab6076c7a69ecfadeb
[]
no_license
MarshalLeeeeee/myLeetCodes
fafadcc35eef44f431a008c1be42b1188e7dd852
80e78b153ad2bdfb52070ba75b166a4237847d75
refs/heads/master
2020-04-08T16:07:47.943755
2019-02-21T01:43:16
2019-02-21T01:43:16
159,505,231
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
''' 223.Rectangle Area Find the total area covered by two rectilinear rectangles in a 2D plane. Each rectangle is defined by its bottom left corner and top right corner as shown in the figure. Example: Input: A = -3, B = 0, C = 3, D = 4, E = 0, F = -1, G = 9, H = 2 Output: 45 Note: Assume that the total area is neve...
[ "marshallee413lmc@sina.com" ]
marshallee413lmc@sina.com
a0e264d5e2ba260f7857655633539fe991807ccb
99e4d9226e124215aaf66945cfaa5c42d18cc19f
/typings/aiohttp/helpers.pyi
27b377a309d31a7788ba093977ec22ca796c313b
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
mathieucaroff/oxowlbot
d826423a1a4cca8a38c90383d0a71dbb40052f35
a10c12b7c94b3e7030cef2f57c567bbd3034c8c9
refs/heads/master
2022-04-18T14:06:29.049957
2020-04-22T14:44:57
2020-04-22T14:44:57
255,177,595
0
0
null
null
null
null
UTF-8
Python
false
false
8,994
pyi
""" This type stub file was generated by pyright. """ import asyncio import datetime import functools import netrc import os import re import sys import async_timeout import attr from collections import namedtuple from types import TracebackType from typing import Any, Callable, Dict, Iterable, Iterator...
[ "mathieu.caroff@free.fr" ]
mathieu.caroff@free.fr
5575a34bb47b7f44bc2177357c0b7f8fb5fef18c
6260fd806b3bf82a601c86c8a903b49c983d9dda
/w3resource/7.py
03955a8d513c09e32bafc6d84f5fc6e5dfef3e0a
[]
no_license
skybohannon/python
6162077e4f18d0ed273d47c342620942e531031b
b78ac8ff1758826d9dd9c969096fb1f10783a4be
refs/heads/master
2021-09-05T07:09:23.844665
2018-01-25T02:58:59
2018-01-25T02:58:59
106,215,285
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
# 7. Write a Python program to accept a filename from the user and print the extension of that. Go to the editor # Sample filename : abc.java # Output : java user_file = input("Please enter a filename: ") user_ext = user_file.split(".") print("The file extension is .{}".format(repr(user_ext[-1])))
[ "skybohannon@gmail.com" ]
skybohannon@gmail.com
84f43b493da4922aa43b8e092c662bce4e358e7d
1ba59e2cf087fc270dd32b24ac1d76e4b309afcc
/config.py
1b8fab6b06225fad9e290177b7e86c43413ce3c7
[ "MIT" ]
permissive
yangtong1989/Deep-Residual-Matting
2d96ce737b2b89859695e6f4f052c8984eba96bb
24bd5342b862e447fb7f4dec7edebdd73221db18
refs/heads/master
2020-08-31T23:48:39.028571
2019-10-18T10:12:45
2019-10-18T10:12:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
import torch device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') # sets device for model and PyTorch tensors im_size = 320 unknown_code = 128 epsilon = 1e-6 epsilon_sqr = epsilon ** 2 num_classes = 256 num_samples = 43100 num_train = 34480 # num_samples - num_train_samples num_valid = 8620 # Train...
[ "foamliu@yeah.net" ]
foamliu@yeah.net
2b05aafb513ea6ad66865aaa00981d7ff30884e1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2733/40186/320060.py
85feba17c1b35b4a3536d8fcea4725c382ec5d13
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
438
py
inp=input() a=input() if inp=='8 3' and a=='10 7 9 3 4 5 8 17': print(10) print(17) print(9) elif a=='5 27 1 3 4 2 8 17': print(5) print(27) print(5) elif a=='105 2 9 3 8 5 7 7': print(2) print(8) print(9) print(105) print(7) elif inp=='101011': print(18552) elif inp=='10...
[ "1069583789@qq.com" ]
1069583789@qq.com
8edcd266e14b62bb5053d6369487e7c9726e0dda
38c10c01007624cd2056884f25e0d6ab85442194
/chrome/chrome_resources.gyp
492536ca0787a392f82c67762f4eb395a3eb7c79
[ "BSD-3-Clause" ]
permissive
zenoalbisser/chromium
6ecf37b6c030c84f1b26282bc4ef95769c62a9b2
e71f21b9b4b9b839f5093301974a45545dad2691
refs/heads/master
2022-12-25T14:23:18.568575
2016-07-14T21:49:52
2016-07-23T08:02:51
63,980,627
0
2
BSD-3-Clause
2022-12-12T12:43:41
2016-07-22T20:14:04
null
UTF-8
Python
false
false
25,319
gyp
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser...
[ "zeno.albisser@hemispherian.com" ]
zeno.albisser@hemispherian.com
0d4ab487c9de86cce3e199c7f5a4c2c87e57c607
2612f336d667a087823234daf946f09b40d8ca3d
/python/lib/Lib/site-packages/django/contrib/gis/tests/geoapp/models.py
89027eedfbc919466ac7c1335c42dfb57aea547a
[ "Apache-2.0" ]
permissive
tnorbye/intellij-community
df7f181861fc5c551c02c73df3b00b70ab2dd589
f01cf262fc196bf4dbb99e20cd937dee3705a7b6
refs/heads/master
2021-04-06T06:57:57.974599
2018-03-13T17:37:00
2018-03-13T17:37:00
125,079,130
2
0
Apache-2.0
2018-03-13T16:09:41
2018-03-13T16:09:41
null
UTF-8
Python
false
false
1,546
py
from django.contrib.gis.db import models from django.contrib.gis.tests.utils import mysql, spatialite # MySQL spatial indices can't handle NULL geometries. null_flag = not mysql class Country(models.Model): name = models.CharField(max_length=30) mpoly = models.MultiPolygonField() # SRID, by default, is 4326 ...
[ "dmitry.trofimov@jetbrains.com" ]
dmitry.trofimov@jetbrains.com
33877bf7341e29b7edab2e7b7919f5bd03bfdc76
9507ff9e9bca2ca8104369c9e25acd74d308e9b3
/sta8100_upload/upload.py
6d962eeda6a0d7bd66233d1d52e6df9d0cd024bf
[]
no_license
yangkang411/python_tool
03e483c7ec7e1e76284f93cf5b9086fdf98af826
713071a9fbabfabcbc3c16ce58d1382c410a7ea3
refs/heads/master
2023-03-17T16:14:03.332332
2020-09-10T02:37:05
2020-09-10T02:37:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
#!/usr/bin/python import os if __name__ == '__main__': cmd = "TeseoProgrammer_v2.9.0.exe program -f t5 -i sta.bin -o log.txt -c com53 -b 230400 -m SQI -d 0x10000400 -e TRUE -r TRUE"; print ("cmd = %s" % cmd); os.system(cmd)
[ "41727862+geqian@users.noreply.github.com" ]
41727862+geqian@users.noreply.github.com
3bacf127b039262cc40bb14e97fd4da50cac4c40
1c19db866110afddb04d2e9715b49909c7fbb3d4
/tests/test_user_locale.py
4635899202d226e926f9194aa81e0dcb4a0fc936
[ "BSD-2-Clause" ]
permissive
shane-kerr/peeringdb
505dd5087abe29c9d6013e81b5322d7259a97106
5f189631a4d60d3fde662743508784affc6fa22a
refs/heads/master
2020-09-14T16:25:33.442466
2019-11-21T13:54:32
2019-11-21T13:54:32
223,183,848
0
0
NOASSERTION
2019-11-21T13:54:34
2019-11-21T13:44:59
null
UTF-8
Python
false
false
2,541
py
import pytest import json from django.test import Client, TestCase, RequestFactory from django.contrib.auth.models import Group import peeringdb_server.models as models #from django.template import Context, Template #from django.utils import translation class UserLocaleTests(TestCase): """ Test peeringdb_s...
[ "stefan@20c.com" ]
stefan@20c.com
a7f8d8f49b6809525e29121763627e7f50f9f9f7
ab8a34e5b821dde7b09abe37c838de046846484e
/twilio/sample-code-master/notify/v1/user/read-default/read-default.6.x.py
21a1ceb49f9637120f11fe5bf78cba619a151b3e
[]
no_license
sekharfly/twilio
492b599fff62618437c87e05a6c201d6de94527a
a2847e4c79f9fbf5c53f25c8224deb11048fe94b
refs/heads/master
2020-03-29T08:39:00.079997
2018-09-21T07:20:24
2018-09-21T07:20:24
149,721,431
0
1
null
null
null
null
UTF-8
Python
false
false
467
py
# Download the helper library from https://www.twilio.com/docs/python/install from twilio.rest import Client # Your Account Sid and Auth Token from twilio.com/console account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' auth_token = 'your_auth_token' client = Client(account_sid, auth_token) users = client.notify.servi...
[ "sekharfly@gmail.com" ]
sekharfly@gmail.com
cb28e85295b024bb0498aa6b4989914be951cfa0
7963f09b4002249e73496c6cbf271fd6921b3d22
/tests/test_cpy.py
7b453154c26e92a9cf985753289721778c504e43
[]
no_license
thales-angelino/py6502emulator
6df908fc02f29b41fad550c8b773723a7b63c414
1cea28489d51d77d2dec731ab98a6fe8a515a2a8
refs/heads/master
2023-03-19T14:46:17.393466
2021-03-08T04:10:45
2021-03-08T04:10:45
345,754,473
0
0
null
null
null
null
UTF-8
Python
false
false
4,773
py
import unittest from emulator_6502 import emulator_6502 as emulator from emulator_6502.instructions import cpy class TestCPX(unittest.TestCase): def setUp(self): self.memory = emulator.Memory() self.cpu = emulator.CPU(self.memory) self.cpu.reset() def test_cpy_scenario_1(self): ...
[ "thales.angelino@gmail.com" ]
thales.angelino@gmail.com
738b4c2e8ea71aa1374de72bcbdaff282bbe4f37
8ace8be98c5fb7baac267ca7f83c8085e5cad35c
/26_two_sum_unique_pairs.py
def053f435def022e8e58082e3376b6e647929d4
[]
no_license
cyberbono3/amazon-oa-python
c063eb275a4d311e58f148c0300c7e19b0f03bea
7ce502bbe3a30b1d6052a46e7a28b724a327b5ae
refs/heads/master
2023-01-20T16:23:00.241012
2020-11-22T03:49:25
2020-11-22T03:49:25
293,693,115
1
1
null
null
null
null
UTF-8
Python
false
false
416
py
""" Input: nums = [1, 1, 2, 45, 46, 46], target = 47 1, 1 """ class Solution: def unique_pairs(self, nums, target): s = set() dic = {} for i,x in enumerate(nums): if target - x in s: dic[target-x] = x else: s.add(x) print(...
[ "cyberbono3@gmail.com" ]
cyberbono3@gmail.com
cb07a323abf8740806bebc941c841ab0e659081b
e6ad1014aacaa92643f42952c278469177defc15
/napalm_ansible/napalm_diff_yang.py
d134e9bb1a69665bbfabcb13f326bcf956c8cb1d
[ "Apache-2.0" ]
permissive
cspeidel/napalm-ansible
d290ee7cc1abd9dd7d11044d5ddc542bd6658906
8ad4badb38d79ec5efd96faa666c71f7438dfa28
refs/heads/develop
2022-02-09T05:40:10.302690
2017-11-06T20:51:58
2017-11-06T20:51:58
110,727,639
0
0
Apache-2.0
2022-01-31T16:25:25
2017-11-14T18:18:35
Python
UTF-8
Python
false
false
3,409
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ (c) 2017 David Barroso <dbarrosop@dravetech.com> This file is part of Ansible Ansible 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 Licens...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
fe4155275d3a9240634ebe2b2de50705201231ac
a140a7ca1bc5f0af773cb3d22081b4bb75138cfa
/234_palindromLinkedList.py
b1b3a195574aefe83cc26bf49500c32c48a8a3b2
[]
no_license
YeahHuang/Leetcode
d02bc99d2e890ed0e829515b6f85c4ca6394a1a1
78d36486ad4ec2bfb88fd35a5fd7fd4f0003ee97
refs/heads/master
2021-07-14T01:53:06.701325
2020-06-22T03:01:46
2020-06-22T03:01:46
166,235,118
1
0
null
null
null
null
UTF-8
Python
false
false
585
py
class Solution: def isPalindrome(self, head: ListNode) -> bool: rev = None slow = fast = head while fast and fast.next: fast = fast.next.next rev, rev.next, slow = slow, rev, slow.next if fast: # fast is at the end, move slow one step further for...
[ "noreply@github.com" ]
YeahHuang.noreply@github.com
eecaffdbe17ebf356d4729447b601c155f4a4f9d
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/metric/metrics.py
aeec4022e218424eb20183b6917aa2f39a17d588
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
28,411
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 app...
[ "noreply@github.com" ]
Qengineering.noreply@github.com
f50a62262f8a5fd229e3a174e46c8c9fedf3c950
cef09d1e6d5e7cd335387d0829211ffb0da18f48
/tests2/tests/wedge100/test_psumuxmon.py
73784296b42bf03dd786c25cca01bc61c37967ce
[]
no_license
theopolis/openbmc
a1ef2e3335efd19bf750117d79c1477d47948ff3
1784748ba29ee89bccacb2019a0bb86bd181c651
refs/heads/master
2020-12-14T07:20:40.273681
2019-04-20T05:25:17
2019-04-20T05:25:17
43,323,632
0
1
null
2015-09-28T19:56:24
2015-09-28T19:56:24
null
UTF-8
Python
false
false
2,143
py
#!/usr/bin/env python # # Copyright 2018-present Facebook. All Rights Reserved. # # This program file 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; version 2 of the License. # # This program is distributed i...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0b122012c36b3cd5dad4e207579418712c3535ca
642e8d6d8cd8d08a73bdcf82ae9689a09284025c
/celery/worker/__init__.py
96b994779744ff87efee9a3dcbecee7745c8b868
[ "BSD-3-Clause" ]
permissive
abecciu/celery
941f29c033b54b766166f17aa8c5e4be05df08b9
f0c399e34d56c7a2a14cb42bfb2b6455c68ef0c0
refs/heads/master
2021-01-14T12:57:11.230199
2009-09-10T13:44:51
2009-09-10T13:44:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,215
py
""" The Multiprocessing Worker Server Documentation for this module is in ``docs/reference/celery.worker.rst``. """ from carrot.connection import DjangoBrokerConnection, AMQPConnectionException from celery.worker.controllers import Mediator, PeriodicWorkController from celery.worker.job import TaskWrapper from celer...
[ "askh@opera.com" ]
askh@opera.com
34bb012d42ec90f93b307b447f5c5cd8c6a26646
c7a1c1ae40e9d95dfb92251dcfbf3c5010e6ba81
/sensehat/pi_surveillance_py.py
260dc24e20057985e9e1a46675745b948e2da882
[]
no_license
pranavlathigara/Raspberry-Pi-DIY-Projects
efd18e2e5b9b8369bb1a5f5418782480cf9bc729
0c14c316898d4d06015912ac4a8cb7b71a3980c0
refs/heads/master
2021-04-06T09:14:28.088223
2018-02-19T00:15:22
2018-02-19T00:15:22
124,649,553
1
2
null
2018-03-10T11:30:59
2018-03-10T11:30:59
null
UTF-8
Python
false
false
3,605
py
from pyimagesearch.tempimage import TempImage import dropbox as dbx from picamera.array import PiRGBArray from picamera import PiCamera import warnings import datetime import imutils import json import time import cv2 # filter warnings, load the configuration and initialize the Dropbox # client warnings.f...
[ "tdamdouni@Peters-MBP.fritz.box" ]
tdamdouni@Peters-MBP.fritz.box
a9edbeaf88bade93d05aedb3c436f9b864421475
5139e63dfbc2b01a10b20bdd283005bfb64bc3e1
/api/api.py
998d101f9f00203f1225a882ce89d54334c0ff78
[]
no_license
Merevoli-DatLuu/SGUInfo
121098a67128d3ede72ce9f9f51955637c22fb9c
501d676ad1e02f00573cc879fbba6c44ab1b0ffb
refs/heads/master
2023-05-26T08:50:41.899513
2021-01-11T16:11:45
2021-01-11T16:11:45
281,350,587
4
1
null
2023-05-22T23:38:11
2020-07-21T09:13:00
Python
UTF-8
Python
false
false
1,848
py
from flask import Flask, render_template, request, jsonify import sys sys.path.append("..") from sguinfo import sguinfo app = Flask(__name__) @app.route("/api/v1/students", methods=['GET']) def get_student_list(): sgu = sguinfo() if "from_id" in request.args and "to_id" in request.args and "id_list" not in r...
[ "47155364+Merevoli-DatLuu@users.noreply.github.com" ]
47155364+Merevoli-DatLuu@users.noreply.github.com
33f504c5e1c391f90e11226e1c15be67091ee79f
0124528676ee3bbaec60df5d6950b408e6da37c8
/Projects/QTPy/circuitpython-community-bundle-7.x-mpy-20220601/examples/animation/main.py
ee50a4f811bdd29fdf5d3d51de532f353ba0b5a1
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
land-boards/lb-boards
8127658dc537dcfde0bb59a5018ab75c3f0087f6
eeb98cc2003dac1924845d949f6f5bd387376568
refs/heads/master
2023-06-07T15:44:46.110742
2023-06-02T22:53:24
2023-06-02T22:53:24
4,847,305
10
12
null
null
null
null
UTF-8
Python
false
false
1,421
py
import board import dotstar_featherwing wing = dotstar_featherwing.DotstarFeatherwing(board.D13, board.D11) xmas_colors = {'w': ( 32, 32, 32), 'W': (255, 255, 255), 'G': ( 0, 32, 0), 'y': ( 32, 32, 0), 'Y': (255, 255, 0)} xmas_animation = [["...
[ "doug@douglasgilliland.com" ]
doug@douglasgilliland.com
997a2a9aa16da7c874e599ae181d4bd45503f1e8
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/EDataServer/SourceCredentialsProviderImpl.py
281ee12030f4bf3eeecff51d446fa85a2b655621
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
17,806
py
# encoding: utf-8 # module gi.repository.EDataServer # from /usr/lib64/girepository-1.0/EDataServer-1.2.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attrib...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
4ffcafc58e0e171a78a295d77ad213c80a5bb0e5
5d2404f62e58d5fd1f6112744ff32c3166183ac7
/Exercicios/ex036.py
6fc9f4561d2c0ecd7c5e81514824facf4042177e
[]
no_license
Leownhart/My_Course_of_python
236cfc84d841c5883e5aa1cc0c0730e7a9a83c40
5abb21f8cdad91ab54247a007d40bf9ecd2cff8c
refs/heads/master
2020-08-28T15:04:33.628086
2020-08-24T19:25:39
2020-08-24T19:25:39
217,733,877
1
0
null
null
null
null
UTF-8
Python
false
false
536
py
valorcasa = float(input('Informe o valor da imovel: R$ ')) salcom = float(input('Informe o sálario do comprador: R$ ')) anos = int(input('Informe o tempo de financiamento em anos: ')) valpresta = (valorcasa / anos) / 12 # casa / (anos / * 12) porcent = salcom * 30.0 / 100 print('Para pagar uma casa de R${:.2f} em {} an...
[ "francisco.amartins.al@gmail.com" ]
francisco.amartins.al@gmail.com
9f6ac6ecefb20871f98905fe6225b28a48eaf51d
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/9szPm9Mg5D2vJyTvf_14.py
c4b1eb7103a2e128742d7e447be9653582eade63
[]
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
681
py
""" Write a function that takes three arguments `(x, y, z)` and returns a list containing `x` sublists (e.g. `[[], [], []]`), each containing `y` number of item `z`. * `x` Number of sublists contained within the main list. * `y` Number of items contained within each sublist. * `z` Item contained within each s...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d5cd7cfe45515f1a0899cf0344254ae70d9a69c6
8ef8e6818c977c26d937d09b46be0d748022ea09
/cv/3d_detection/pointnet2/pytorch/mmdetection3d/mmdet/version.py
0e03a9d35749aef5d396e532d5ab8c5a0bae223f
[ "Apache-2.0" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
529
py
# Copyright (c) OpenMMLab. All rights reserved. __version__ = '2.24.0' short_version = __version__ def parse_version_info(version_str): version_info = [] for x in version_str.split('.'): if x.isdigit(): version_info.append(int(x)) elif x.find('rc') != -1: patch_version...
[ "mingjiang.li@iluvatar.ai" ]
mingjiang.li@iluvatar.ai
a8694b72dc9f4ac269b718d8c743574a18cfc288
1fc45a47f0e540941c87b04616f3b4019da9f9a0
/tests/sentry/api/endpoints/test_commit_filechange.py
49eefdcd009d8d4020c56be8b1609185bc95f982
[ "BSD-2-Clause" ]
permissive
seukjung/sentry-8.15.0
febc11864a74a68ddb97b146cc1d2438ef019241
fd3cab65c64fcbc32817885fa44df65534844793
refs/heads/master
2022-10-28T06:39:17.063333
2018-01-17T12:31:55
2018-01-17T12:31:55
117,833,103
0
0
BSD-3-Clause
2022-10-05T18:09:54
2018-01-17T12:28:13
Python
UTF-8
Python
false
false
2,225
py
from __future__ import absolute_import from django.core.urlresolvers import reverse from sentry.models import Commit, CommitFileChange, Release, ReleaseCommit, Repository from sentry.testutils import APITestCase class CommitFileChangeTest(APITestCase): def test_simple(self): project = self.create_projec...
[ "jeyce@github.com" ]
jeyce@github.com
63e3fa0e7d86c5133e69ba329a533e4edfdc34c1
0d4ec25fb2819de88a801452f176500ccc269724
/sub_two_binaries.py
d4f6682fa6bf8cad577240ddabce0a9eaa7818a1
[]
no_license
zopepy/leetcode
7f4213764a6a079f58402892bd0ede0514e06fcf
3bfee704adb1d94efc8e531b732cf06c4f8aef0f
refs/heads/master
2022-01-09T16:13:09.399620
2019-05-29T20:00:11
2019-05-29T20:00:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
class Solution: def addBinary(self, a, b): """ :type a: str :type b: str :rtype: str """ s = "" a,b = a[::-1], b[::-1] la,lb = len(a), len(b) l = max(la, lb) i = 0 carry = 0 while i<l or carry==1: b1 = int(a[i] ...
[ "rohithiitj@gmail.com" ]
rohithiitj@gmail.com
cc5695f1470140f25b2cb77800818102059fa4d6
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/kdhgEC2ECXAfoXWQP_1.py
18cfc39baa91a8ce324e7628429be8a4c0702226
[]
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
1,119
py
""" In this challenge, you have to obtain a sentence from the elements of a given matrix. In the matrix, each word of the sentence follows a columnar order from the top to the bottom, instead of the usual left-to-right order: it's time for **transposition**! Given a matrix `mtx`, implement a function that returns t...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3da334d08f98f8cf06aa4794ea35ab1bdecc8c8a
8c8159691382ab8759ec637a97ef107ba898ad4c
/Recursive/removeInvalidParentheses.py
44953cd000adfcd6e1707c07b5da6c12c0038303
[]
no_license
windhaunting/Coding_practices
3c89cddaeb13bfe36eab7ff664d6e16d0e86d46f
8375988ac391376159438877b6729bb94340106b
refs/heads/master
2021-02-05T21:40:07.858445
2020-02-28T19:25:29
2020-02-28T19:25:29
243,836,816
0
1
null
null
null
null
UTF-8
Python
false
false
690
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jan 16 16:43:09 2018 @author: fubao """ #301. Remove Invalid Parentheses ''' Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may contain letters other than...
[ "freadream@gmail.com" ]
freadream@gmail.com
6017ff5d62258b8bdc613d2deb7b6f19177ac641
d01fa1b6668c66236405b799e39e529d1492af7c
/{{cookiecutter.project_slug}}/pages/migrations/0016_sitebranding.py
9068f89e8055a2b76d16b1f85251befee436df7b
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
chrisdev/wagtail-cookiecutter-foundation
426ffd974aa08ab10e4b0e44d5003476c597f2e4
e7d56ee01eb5976588129d7bd4d5fc6dab2d794a
refs/heads/master
2023-08-31T06:05:43.999253
2022-03-31T18:44:37
2022-03-31T18:44:37
33,870,540
189
72
MIT
2023-09-14T03:30:34
2015-04-13T13:36:50
Python
UTF-8
Python
false
false
1,105
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-10 14:02 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wagtailimages', '0019_delete_filter'), ('wagtailcor...
[ "lendl.smith@gmail.com" ]
lendl.smith@gmail.com
0b4285bff2df5cd19b3e3e2f31c78b854999b8f5
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/65/usersdata/185/34920/submittedfiles/investimento.py
c02de528254c4d919d01652089a4c2aa1ade2813
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
# -*- coding: utf-8 -*- from __future__ import division i0=float(input('digite o valor do investimesnto:')) taxa=float(input('digite o valor da taxa:')) i1=(i0+(i0*taxa)) i2=(i1+(i1*taxa)) i3=(i2+(i2*taxa)) i4=(i3+(i3*taxa)) i5=(i4+(i4*taxa)) i6=(i5+(i5*taxa)) i7=(i6+(i6*taxa)) i8=(i7+(i7*taxa)) i9=(i8+(i8*taxa)) i10=...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
bd21f9f9fa89f4649931f3c82b4fec92d0236194
f085db42060d1616fcd4e1808cd1b8d6dc0fc913
/beluga/continuation/ContinuationSolution.py
32fe96a3d4e0a8b98ab3036cb4d04465fed94bec
[ "MIT" ]
permissive
thomasantony/beluga
415aabc955a3ff08639e275f70a3608d0371b6b8
070c39476e07a6d5e900a2f9b3cd21c0ae7f9fe7
refs/heads/master
2021-09-04T20:13:40.757066
2018-01-22T02:40:34
2018-01-22T02:40:34
118,074,853
3
1
null
2018-01-19T04:00:09
2018-01-19T04:00:09
null
UTF-8
Python
false
false
43
py
class ContinuationSolution(list): pass
[ "tantony@purdue.edu" ]
tantony@purdue.edu
adf6af0524df6ab886504be487d226bb8e2ea86d
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v4/googleads-py/tests/unit/gapic/googleads.v4/services/test_ad_parameter_service.py
738eff76504f6163898c0336379da593536d1d5b
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,565
py
# -*- coding: utf-8 -*- # Copyright 2020 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
7e29e532d2f1285cd50e39b2cb2212b658e5b9a8
149db911cd5b9f404e5d74fd6c8ed047482d2c22
/backend/menu/migrations/0001_initial.py
2c07fd16d8ed613c8286821c487d80336fef03b4
[]
no_license
crowdbotics-apps/bigbitesgrill-22907
45814458930ad7aed64a1f4941aabd930f1f2587
6cd1b7b663de21c7587cdbce1612c4807e2cc5f6
refs/heads/master
2023-01-14T05:10:18.129338
2020-11-23T03:27:17
2020-11-23T03:27:17
315,189,727
0
0
null
null
null
null
UTF-8
Python
false
false
3,144
py
# Generated by Django 2.2.17 on 2020-11-23 03:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('delivery_user_profile', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
512cccdff042b753e66c88811c3fe1daaa5ce10b
d488f052805a87b5c4b124ca93494bc9b78620f7
/google-cloud-sdk/lib/googlecloudsdk/command_lib/accesscontextmanager/zones.py
7769f86c280257e290b19cd283c994d3d59183d5
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
PacktPublishing/DevOps-Fundamentals
5ce1fc938db66b420691aa8106ecfb3f9ceb1ace
60597e831e08325c7e51e8557591917f7c417275
refs/heads/master
2023-02-02T04:48:15.346907
2023-01-30T08:33:35
2023-01-30T08:33:35
131,293,311
13
19
null
null
null
null
UTF-8
Python
false
false
7,142
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "saneetk@packtpub.com" ]
saneetk@packtpub.com
f42b24eb133af9fb0d043daae02623831e534124
c17ca7a7824056f7ad58d0f71abc25670b20c1fc
/cenet/populations_xml.py
50514b7f8ab3d1c783e713a36c3b795c93d91dae
[ "Apache-2.0" ]
permissive
Si-elegans/Web-based_GUI_Tools
cd35b72e80aa400105593c5c819355437e204a81
58a9b7a76bc46467554192a38ff5329a94e2b627
refs/heads/master
2023-01-11T09:11:21.896172
2017-07-18T11:10:31
2017-07-18T11:10:31
97,445,306
3
1
Apache-2.0
2022-12-26T20:14:59
2017-07-17T07:03:13
JavaScript
UTF-8
Python
false
false
67,096
py
POPULATIONS_TEMPLATE =\ """ <population id="ADAL" component="" type="populationList"> <instance id="0"> <location y="8.65" x="-239.25" z="31.050000000000001"/> </instance> </population> <population id="ADAR" component="" type="populationList"> ...
[ "gepelde@vicomtech.org" ]
gepelde@vicomtech.org
46420d6d79533b4847126b91595955ff96211153
0a46b027e8e610b8784cb35dbad8dd07914573a8
/scripts/venv/lib/python2.7/site-packages/cogent/maths/stats/information_criteria.py
ead8f6417df1dd2fa2049a479c7f9aa4b4de1829
[ "MIT" ]
permissive
sauloal/cnidaria
bb492fb90a0948751789938d9ec64677052073c3
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
refs/heads/master
2021-01-17T13:43:17.307182
2016-10-05T14:14:46
2016-10-05T14:14:46
33,726,643
3
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
from __future__ import division import numpy __author__ = "Gavin Huttley" __copyright__ = "Copyright 2007-2012, The Cogent Project" __credits__ = ["Gavin Huttley"] __license__ = "GPL" __version__ = "1.5.3" __maintainer__ = "Gavin Huttley" __email__ = "Gavin.Huttley@anu.edu.au" __status__ = "Production" def aic(lnL,...
[ "sauloal@gmail.com" ]
sauloal@gmail.com
b254df743e617dfd1390743f0e04bbe4d12cb542
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03227/s922156594.py
3367f99a10180d83d75fbea989fb7e0b5a810cdd
[]
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
173
py
import sys def input(): return sys.stdin.readline().rstrip() def main(): s=input() if len(s)==2:print(s) else:print(s[::-1]) if __name__=='__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ae180e8cf37b46499f5232dd71f2789e8e56b342
a16691abb472e2d57cf417cc671e7574f97aaf23
/src/13_millas.py
785d28eea60a685a38043e0f43f552b1e14265d4
[ "MIT" ]
permissive
agomusa/oop-algorithms-python-platzi
fbb16208b68e822c6232ffb944c414c176004ac1
56e5f636c9243fbd81148a6e6e8405034f362c70
refs/heads/main
2023-06-19T21:38:19.925134
2021-07-07T20:49:09
2021-07-07T20:49:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
class Millas: def __init__(self): self._distancia = 0 # Función para obtener el valor de _distancia def obtener_distancia(self): print("Llamada al método getter...") return self._distancia # Función para definir el valor de _distancia def definir_distancia(self, recorrido): print("Llamada al método sette...
[ "eliaz.bobadilladev@gmail.com" ]
eliaz.bobadilladev@gmail.com
5c713e71b6d36c733a3c7071ffaec82c80094caa
f8826a479f2b9d2f28993ceea7a7d0e3847aaf3d
/apps/requestlogger/models.py
9fa6f370798fdbd62b4484b8acf1d332f55c10a0
[]
no_license
icomms/wqmanager
bec6792ada11af0ff55dc54fd9b9ba49242313b7
f683b363443e1c0be150656fd165e07a75693f55
refs/heads/master
2021-01-20T11:59:42.299351
2012-02-20T15:28:40
2012-02-20T15:28:40
2,154,449
1
1
null
null
null
null
UTF-8
Python
false
false
2,869
py
from django.db import models from django.contrib.auth.models import User from domain.models import Domain import os import logging import settings # this is a really bad place for this class to live, but reference it here for now from scheduler.fields import PickledObjectField from datetime import datetime from dja...
[ "michael.champanis@gmail.com" ]
michael.champanis@gmail.com
ba11fe85c801d07e0e7c25b58d3aee09665d8952
77a7508c3a647711191b924959db80fb6d2bd146
/src/gamesbyexample/worms.py
2bea231d0dbdaeacc62cad083fcc56fafc920fb4
[ "MIT" ]
permissive
surlydev/PythonStdioGames
ff7edb4c8c57a5eb6e2036e2b6ebc7e23ec994e0
d54c2509c12a5b1858eda275fd07d0edd456f23f
refs/heads/master
2021-05-22T21:01:15.529159
2020-03-26T07:34:10
2020-03-26T07:34:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,750
py
"""Worm animation, by Al Sweigart al@inventwithpython.com A screensaver of multicolor worms moving around. NOTE: Do not resize the terminal window while this program is running. Tags: large, artistic, simulation, bext""" __version__ = 0 import random, shutil, sys, time try: import bext except ImportError: pri...
[ "asweigart@gmail.com" ]
asweigart@gmail.com
11cd4d65d01665c0d10e4866ca5ef1b2c881800c
be9d18c3ac86921e8899a830ec42d35edd440919
/moztrap/view/runtests/finders.py
233321205408e7918ea9601274a03b83139b0057
[ "BSD-2-Clause" ]
permissive
AlinT/moztrap
abcbf74893d10f7bcf77b4ed44fa77bd017353d6
13927ae3f156b27e4dd064ea37f2feae14728398
refs/heads/master
2021-01-18T08:21:52.894687
2012-09-26T19:54:57
2012-09-26T19:54:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
""" Finder for running tests. """ from django.core.urlresolvers import reverse from ... import model from ..lists import finder class RunTestsFinder(finder.Finder): template_base = "runtests/finder" columns = [ finder.Column( "products", "_products.html", model....
[ "carl@oddbird.net" ]
carl@oddbird.net
b2c759567b93cac768c610e6337ebe2ca19626e0
735a315ea82893f2acd5ac141f1a9b8be89f5cb9
/pylib/v6.1.84/mdsscalar.py
7cf7fe6e0ba174ecd9dc55b37dbdca77b5786088
[]
no_license
drsmith48/pppl-mdsplus-python
5ce6f7ccef4a23ea4b8296aa06f51f3a646dd36f
0fb5100e6718c8c10f04c3aac120558f521f9a59
refs/heads/master
2021-07-08T02:29:59.069616
2017-10-04T20:17:32
2017-10-04T20:17:32
105,808,853
0
0
null
null
null
null
UTF-8
Python
false
false
7,108
py
if '__package__' not in globals() or __package__ is None or len(__package__)==0: def _mimport(name,level): return __import__(name,globals()) else: def _mimport(name,level): return __import__(name,globals(),{},[],level) import numpy,copy _dtypes=_mimport('_mdsdtypes',1) _data=_mimport('mdsdata',1) def mak...
[ "drsmith8@wisc.edu" ]
drsmith8@wisc.edu
4dceb544e9e5cb1d823f903dc4ef905e43deca34
264ff719d21f2f57451f322e9296b2f55b473eb2
/gvsoc/gvsoc/models/pulp/fll/fll_v1.py
4bba0a37a2e965a05864f2ac8ec5e53627d4f934
[ "Apache-2.0" ]
permissive
knmcguire/gap_sdk
06c9537c16fa45dea6b7f5c6b162b53953262915
7b0a09a353ab6f0550793d40bd46e98051f4a3d7
refs/heads/master
2020-12-20T06:51:19.580497
2020-01-21T14:52:28
2020-01-21T14:52:28
235,992,961
0
0
Apache-2.0
2020-01-24T11:45:59
2020-01-24T11:45:58
null
UTF-8
Python
false
false
772
py
# # Copyright (C) 2018 ETH Zurich and University of Bologna # # 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 applicabl...
[ "noreply@github.com" ]
knmcguire.noreply@github.com
f0714282ca1bed1a0bc706dfd5e96c9a2e87dc47
a94770c70704c22590c72d7a90f38e3a7d2e3e5c
/Algo/Leetcode/123BestTimeToBuyAndSellStockIII.py
2a292d28fef14431391bc62620bd69b4e46bf158
[]
no_license
lawy623/Algorithm_Interview_Prep
00d8a1c0ac1f47e149e95f8655d52be1efa67743
ca8b2662330776d14962532ed8994dfeedadef70
refs/heads/master
2023-03-22T16:19:12.382081
2023-03-21T02:42:05
2023-03-21T02:42:05
180,056,076
2
0
null
null
null
null
UTF-8
Python
false
false
409
py
class Solution(object): def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ buy1 = -2**31 buy2 = -2**31 sell1 = 0 sell2 = 0 for p in prices: buy1 = max(buy1, -p) sell1 = max(sell1, buy1+p) ...
[ "leoyluo@tencent.com" ]
leoyluo@tencent.com
8cb57215a38cae611c55923ca5e461bd7f9fed84
44b87d9faad99d542914c35410ba7d354d5ba9cd
/1/EXAM 2/start a following num end in b.py
6fdd809b6c2423f47c4a8dc46bc3723b23095a91
[]
no_license
append-knowledge/pythondjango
586292d1c7d0ddace3630f0d77ca53f442667e54
0e5dab580e8cc48e9940fb93a71bcd36e8e6a84e
refs/heads/master
2023-06-24T07:24:53.374998
2021-07-13T05:55:25
2021-07-13T05:55:25
385,247,677
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
import re x='[a]\d+[b]' input=input('enter ') match=re.fullmatch(x,input) if match is not None: print('VALID') else: print('INVALID')
[ "lijojose95@gmail.com" ]
lijojose95@gmail.com
b7e335ec5f9b7c481858b08725dd834ca4d73b3b
917d4f67f6033a0cc01ba2b3b7b07dab94dcffdf
/property/pages/views.py
6104059f52839acc79ba33851e228e4120171433
[]
no_license
hghimanshu/Django
011156c484e6710a379be3fb7faf6ab814bde02c
75bef769e615df2719b213884f7269a56b7ccb7b
refs/heads/master
2023-02-19T08:49:35.691196
2022-03-21T09:03:58
2022-03-21T09:03:58
242,301,089
0
0
null
2023-02-15T18:19:31
2020-02-22T07:43:13
CSS
UTF-8
Python
false
false
856
py
from django.shortcuts import render from django.http import HttpResponse from listings.models import Listing from realtors.models import Realtor from listings.choices import price_choices, bedroom_choices, state_choices # Create your views here. def index(request): listings = Listing.objects.order_by('-list_date')...
[ "hghimanshu81@gmail.com" ]
hghimanshu81@gmail.com
780073cc16c8f338f3195e45934b88dd0709ef5b
f777b5e4a98c40f4bfc5c5c9e326faa09beb2d53
/projects/DensePose/densepose/modeling/cse/utils.py
18480db5e485dec3bd0daf3cae69263a6abdde4f
[ "Apache-2.0" ]
permissive
alekseynp/detectron2
04ae9a47d950ea4c737715b5f2aa7637d3742264
2409af0bf0d4bdcc685feb6d2c7fd659828acac4
refs/heads/master
2022-05-30T09:13:26.438077
2022-04-11T20:59:40
2022-04-11T20:59:40
254,280,315
0
1
Apache-2.0
2020-04-09T05:34:15
2020-04-09T05:34:14
null
UTF-8
Python
false
false
3,538
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import torch from torch.nn import functional as F def squared_euclidean_distance_matrix(pts1: torch.Tensor, pts2: torch.Tensor) -> torch.Tensor: """ Get squared Euclidean Distance Matrix Computes pairwise squared Euclidean distances b...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
68c3596f7b0719e22f39a5bb9add3cf40d285973
893f83189700fefeba216e6899d42097cc0bec70
/bioinformatics/photoscan-pro/python/lib/python3.5/site-packages/qtconsole/jupyter_widget.py
c2a8969866d3d2b0203d59d00013fe1e00dc58b6
[ "GPL-3.0-only", "Apache-2.0", "MIT", "Python-2.0" ]
permissive
pseudoPixels/SciWorCS
79249198b3dd2a2653d4401d0f028f2180338371
e1738c8b838c71b18598ceca29d7c487c76f876b
refs/heads/master
2021-06-10T01:08:30.242094
2018-12-06T18:53:34
2018-12-06T18:53:34
140,774,351
0
1
MIT
2021-06-01T22:23:47
2018-07-12T23:33:53
Python
UTF-8
Python
false
false
22,144
py
"""A FrontendWidget that emulates a repl for a Jupyter kernel. This supports the additional functionality provided by Jupyter kernel. """ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. from collections import namedtuple import os.path import re from subprocess im...
[ "golam.mostaeen@usask.ca" ]
golam.mostaeen@usask.ca
af73d519f490016f2e04c80e9be69b7f30392f9c
329d80ba2b792864aef583fa9ba0f8579ed96f46
/src/timeslice/viz.py
726ce7cae1fbce19cf716bf10cd873b63aeecab0
[ "MIT" ]
permissive
spencerzhang91/GSPNet
fce229b11b23597375abbbe5a8e8bffaa4310551
ff165de95ec0f258ba444ff343d18d812a066b8f
refs/heads/master
2022-01-14T15:47:29.409475
2019-06-17T03:01:24
2019-06-17T03:01:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
''' Copyright <2019> <COPYRIGHT Pingcheng Zhang> 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, ...
[ "spencerpomme@live.com" ]
spencerpomme@live.com
b605974ab6d3d89ba69d3248a135c89cc71111ec
5ca02343c366662b60966e060e50e9d6960c0531
/TX/TX/settings.py
45f686302330fb2cfde0ecc003da2686115a362c
[]
no_license
yyzhu0817/scrapy
eff5cc68ab25c89fe01c62e2c94e5511dad3fc34
9186b127bf49450850028c76142262c6f2c935da
refs/heads/master
2020-12-10T01:00:34.924969
2020-01-20T02:54:58
2020-01-20T02:54:58
233,465,772
0
0
null
null
null
null
UTF-8
Python
false
false
3,174
py
# -*- coding: utf-8 -*- # Scrapy settings for TX project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/d...
[ "yyzhu0817@gmail.com" ]
yyzhu0817@gmail.com
de41515bdfe3faa82c3ce8ed5c220f24b123aac9
3712a929d1124f514ea7af1ac0d4a1de03bb6773
/开班笔记/pythonMongoDB部分/day39/code/mongo1.py
5b9aef2d4d0dc19f114aaca150810694bc086161
[]
no_license
jiyabing/learning
abd82aa3fd37310b4a98b11ea802c5b0e37b7ad9
6059006b0f86aee9a74cfc116d2284eb44173f41
refs/heads/master
2020-04-02T20:47:33.025331
2018-10-26T05:46:10
2018-10-26T05:46:10
154,779,387
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
#coding:utf8 #索引和聚合操作 from pymongo import MongoClient,IndexModel conn = MongoClient('localhost',27017) db = conn.stu my_set = db.class4 #创建索引,并且将索引名返回 #index = my_set.ensure_index('name') #print(index) #复合索引 #index = my_set.ensure_index([('name',1),('king',-1)]) #print(index) #唯一索引和稀疏索引 cls = db.class0 #唯一索引 #ind...
[ "yabing_ji@163.com" ]
yabing_ji@163.com
9e8e5607a62fa19a162b1026aab6e20e14275de9
1a2bf34d7fc1d227ceebf05edf00287de74259c5
/Django/Test/LuZhenNan/APP/views.py
7e131b7ef59abef0102ca853aada9b3ad236a88c
[]
no_license
lzn9423362/Django-
de69fee75160236e397b3bbc165281eadbe898f0
8c1656d20dcc4dfc29fb942b2db54ec07077e3ae
refs/heads/master
2020-03-29T18:03:47.323734
2018-11-28T12:07:12
2018-11-28T12:07:12
150,192,771
0
0
null
null
null
null
UTF-8
Python
false
false
2,187
py
import hashlib from django.http import HttpResponse, JsonResponse from django.shortcuts import render, redirect from django.urls import reverse from .models import * # Create your views here. def index(request): username = request.session.get('username') users = User.objects.filter(username=username) us...
[ "411121080@qq.com" ]
411121080@qq.com
caa0850988b9faedb6726b682fb5a8154116b383
ddd4edc45481e6a7c7141b93e47b974634506d2d
/tradgram/relations/admin.py
4dbfea14ffdda1239afd8dbc98f9c3eba2c6aaf4
[ "MIT" ]
permissive
didils/tradgram
407de9d05d01bc840c5c165155d370f092d82f0d
4868ca082ab78a1b5b96f25ee9f958567bd1bb1e
refs/heads/master
2021-11-19T02:47:02.224088
2019-04-05T08:19:14
2019-04-05T08:19:14
148,162,588
0
0
MIT
2021-09-08T00:57:43
2018-09-10T13:49:57
Python
UTF-8
Python
false
false
439
py
from django.contrib import admin from . import models # Register your models here. @admin.register(models.Relation) class RelationAdmin(admin.ModelAdmin): search_fields =( 'product1', 'product2', ) list_filter = ( 'product1', 'product2', 'count', 'crea...
[ "didils1982@gmail.com" ]
didils1982@gmail.com
d7cab272034def647cc8d74d213a5bd61f80a1cd
3f5a1ef51620fd8c35ef38064ca5aa00776ab6f4
/full_speed_educative/dictionary/defination.py
e920f8dbd52c14cb5029ac0ed167f195ae926aff
[]
no_license
poojagmahajan/python_exercises
1b290a5c0689f703538caf89bca5bc6c1fdb392a
65539cf31c5b2ad5768d652ed5fe95054ce5f63f
refs/heads/master
2022-11-12T03:52:13.533781
2020-07-04T20:50:29
2020-07-04T20:54:46
263,151,942
0
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
### Dictionaries are data structures that index values by a given key (key-value pairs). ages = { "purvansh" : 3, "Pooja" : 28, "Gaurav" : 30, "swarit" : 1 , "meet" : 10, "ishan" : 6 } print("print age of any one -") print (ages ["purvansh"]) print(ages["Gaurav"]) print("\n p...
[ "mahajanpoojag@gmail.com" ]
mahajanpoojag@gmail.com
806e3cd0e19b3608d616b002a8bb2b876ca9e51a
d564c1dcde3a139960e441a732f308dee7bac268
/code/run5All_Content_PlainUD.py
517e77577c22a0ae492044444a377776233b03a6
[]
no_license
m-hahn/left-right-asymmetries
9b5142dcf822194068feea2ccc0e8cc3b0573bbe
45e5b40a145e2a9d51c12617dc76be5a49ddf43e
refs/heads/master
2020-04-26T11:47:57.781431
2019-03-22T01:00:48
2019-03-22T01:00:48
173,528,908
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from ud_languages import languages import subprocess languages = sorted(languages, reverse=True) for language in languages: for model in ["REAL_REAL", "REVERSE"]: #, "GROUND"] + (["RANDOM_BY_TYPE"] * 5): command = ["./python27", "testLeftRightEntUniHDCond3FilterMIWord5_Content_PlainUD_Bugfix.py", language, mod...
[ "mhahn29@gmail.com" ]
mhahn29@gmail.com
95612c8e2207355469ab70ff6f985fb9fef74ba0
d6ca0b326f1bd0ce381c6db611f6331096bf4187
/pypet/tests/_atworema.py
5862c910f1aa08c6ff96162a56510430111ec8f6
[ "BSD-3-Clause" ]
permissive
SmokinCaterpillar/pypet
aa35355d70e8f44be015313494376d993f645d80
3d454ac65f89e7833baaf89510f73c546e90d8f6
refs/heads/develop
2023-08-08T16:01:54.087819
2023-02-14T14:59:32
2023-02-14T14:59:32
12,901,526
89
22
BSD-3-Clause
2023-07-24T00:46:12
2013-09-17T17:06:00
Python
UTF-8
Python
false
false
352
py
__author__ = 'Robert Meyer' from pypet.tests.testutils.ioutils import run_suite, discover_tests, TEST_IMPORT_ERROR if __name__ == '__main__': suite = discover_tests(predicate= lambda class_name, test_name, tags: class_name != TEST_IMPORT_ERROR) run_suite(remove=...
[ "robert.meyer@ni.tu-berlin.de" ]
robert.meyer@ni.tu-berlin.de
12f14216b2b4a57ff01c2b1c049c8688d0d4cbf8
34ed92a9593746ccbcb1a02630be1370e8524f98
/lib/pints/pints/plot.py
e915a7b2d7e282f5c1642e4f76e9500005a923c2
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
HOLL95/Cytochrome_SV
87b7a680ed59681230f79e1de617621680ea0fa0
d02b3469f3ee5a4c85d756053bc87651093abea1
refs/heads/master
2022-08-01T05:58:16.161510
2021-02-01T16:09:31
2021-02-01T16:09:31
249,424,867
0
0
null
2022-06-22T04:09:11
2020-03-23T12:29:29
Jupyter Notebook
UTF-8
Python
false
false
28,013
py
# # Quick diagnostic plots. # # This file is part of PINTS. # Copyright (c) 2017-2018, University of Oxford. # For licensing information, see the LICENSE file distributed with the PINTS # software package. # from __future__ import absolute_import, division from __future__ import print_function, unicode_literals de...
[ "henney@localhost.localdomain" ]
henney@localhost.localdomain
72ff753a9ba4196f39464a93290728c75816d6aa
5623771414b26c021be54facaaaefbd9314b389d
/week7/DS/DP/Min_sum_path.py
ae37aa64e4f0f1e20de2069fd94641db8a4796da
[]
no_license
saxenasamarth/BootCamp_PythonLearning
36b705b83c7f0e297931bb8d75cb541088690248
d5b8fe2d6fcfe54c5a7393f218414b1122f3e49e
refs/heads/master
2023-04-17T15:29:05.402863
2019-08-29T08:46:34
2019-08-29T08:46:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
# Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. def find_min_sum_path(matrix): out = [[0 for i in range(len(matrix[0]))] for j in range(len(matrix))] out[0][0] = matrix[0][0] for i in range(1, len(matrix)): ...
[ "saxenasamarth@gmail.com" ]
saxenasamarth@gmail.com
0d5fb3722a72d746607b18d92434d47ef39879d8
c6f15aa103de030f7eea6c1aaf6e7ad0ec88dbc1
/add/AppMcsv/storage/volume/Volume.py
b21fe01e6712fe2709429c0d0eb031b3f2a0eedd
[]
no_license
sysdeep/dcat
6f3478348113b0d1206f82456f5bd80431282daf
f8c801173ace4447018c3034c56254ab1a6d4089
refs/heads/master
2023-05-03T16:04:28.027335
2023-04-17T15:04:04
2023-04-17T15:04:04
320,551,696
0
0
null
null
null
null
UTF-8
Python
false
false
2,453
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import gzip from enum import Enum import time DET = "-"*10 class Sections(Enum): header = 0 body = 1 class Record(object): def __init__(self): self.name = "" self.uuid = "" self.parent = "" self.childrens = [] def append(self, ch): self.childrens.app...
[ "sysdeep@yandex.ru" ]
sysdeep@yandex.ru
a4cce41e3df9414b4d0faa27cb4e7dc024befcb8
4c5328381f53d8b77b56a597cc39a32b55a0c4c2
/Cura/gui/view3D/printableObjectRenderer.py
88a57fe5161dce1651e1ffc756679a55a1b9d57a
[]
no_license
sanyaade-iot/Cura2
47fc18a8886dcc8537439b699cdb201d92e68683
b8655a20ca4a03acaa2ada555f57fe415264d944
refs/heads/master
2021-01-16T20:06:18.885340
2014-06-06T12:51:10
2014-06-06T12:51:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
__author__ = 'Jaime van Kessel' from OpenGL.GL import * from Cura.gui import openGLUtils from Cura.resources import getMesh from Cura.gui.view3D.renderer import Renderer class PrintableObjectRenderer(Renderer): def __init__(self): super(PrintableObjectRenderer,self).__init__() self._shader = ope...
[ "daid303@gmail.com" ]
daid303@gmail.com
d3ed2e74b0e9dba9944dd11ca896b5016acd263d
154fd16fe7828cb6925ca8f90e049b754ce06413
/lino_book/projects/lydia/tests/dumps/18.12.0/teams_team.py
e3d2d31af2866296e853ea6765cf5e65fe6a2a6c
[ "BSD-2-Clause" ]
permissive
lino-framework/book
68de2f8d130266bd9d9de7576d30597b3cde1c91
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
refs/heads/master
2021-03-27T16:16:55.403940
2021-03-15T02:53:50
2021-03-15T02:53:50
58,830,342
3
9
BSD-2-Clause
2021-03-09T13:11:27
2016-05-14T21:02:17
Python
UTF-8
Python
false
false
254
py
# -*- coding: UTF-8 -*- logger.info("Loading 2 objects to table teams_team...") # fields: id, ref, name loader.save(create_teams_team(1,u'E',['Eupen', '', ''])) loader.save(create_teams_team(2,u'S',['St. Vith', '', ''])) loader.flush_deferred_objects()
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
99a64502bc4d3c80b07c903df53770314112a9ed
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/user/thread_profile/tests/test__ThreadProfile__magic.py
62df5d60ace156b75fde3936db52d10717f48aed
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
1,575
py
from datetime import datetime as DateTime import vampytest from ..flags import ThreadProfileFlag from ..thread_profile import ThreadProfile def test__ThreadProfile__repr(): """ Tests whether ``ThreadProfile.__repr__`` works as intended. """ flags = ThreadProfileFlag(2) joined_at = DateTime(2016,...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
099b882a7057d5cd24e0b98ae5aa752f70f5f128
30a8b69bd2e0a3f3c2c1c88fb3bd8a28e6fc4cd0
/Part1/load_shapefile.py
5f31c2a37d32ed6c638bb6a4a1c85920628b25c3
[]
no_license
llord1/Mining-Georeferenced-Data
d49108f443922f02b90431ad7a9626ea17fd0554
c71f2e151ccfc4a1a9c07b5fcf4e95b7f7ba70e9
refs/heads/master
2021-05-30T13:27:57.663015
2015-12-29T09:10:08
2015-12-29T09:10:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
#!/usr/bin/env python import sys import shapefile from shapely.geometry import shape shp = shapefile.Reader(sys.argv[1]) print "Found", shp.numRecords, "records:" pos = None count = 0 for record in shp.records(): print " ", record[1] if record[1] == sys.argv[2]: pos = count count += 1 if pos...
[ "bgoncalves@gmail.com" ]
bgoncalves@gmail.com
b4158282f6e90ee810904eb5e6be6f5e5f95435d
1fad121fea752aa3aee03f7665917ce9563e0d08
/src/form/panel/VmdPanel.py
e75138d37ae45d096b8a52074f7f82a941f91b1f
[ "MIT" ]
permissive
JerryAJIAN/vmd_sizing
0d382b9b94cdc3878e9d9a1c03f2c9c5f285ac6a
baad81eb40a21c9fa864344fbbf75cdab887c9c6
refs/heads/master
2022-11-18T03:57:57.111852
2020-07-06T15:10:27
2020-07-06T15:10:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,450
py
# -*- coding: utf-8 -*- # import wx import wx.lib.newevent import sys from form.panel.BasePanel import BasePanel from form.parts.BaseFilePickerCtrl import BaseFilePickerCtrl from form.parts.ConsoleCtrl import ConsoleCtrl from form.worker.VmdWorkerThread import VmdWorkerThread from module.MMath import MRect, MVector3D,...
[ "garnet200521358@gmail.com" ]
garnet200521358@gmail.com
93ea71308e6fd5d365bda5609b169c4f773ce234
2a3157ccb5376ffb03b13df4721afa405fbfc95d
/bin/virtualenv
851dd46bb411994b649306face43a5dd104c9557
[]
no_license
bopopescu/DemoDjango
694501259322590d2959ef65cb6231ba1b1cf128
b5ea252f0293ea63905a72045703b50815fbd673
refs/heads/master
2022-11-20T23:25:41.737807
2018-09-17T09:49:28
2018-09-17T09:49:28
282,543,262
0
0
null
2020-07-25T23:44:16
2020-07-25T23:44:16
null
UTF-8
Python
false
false
241
#!/home/jinesh/Documents/djangoproj/bin/python # -*- coding: utf-8 -*- import re import sys from virtualenv import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "malaviajinesh@gmail.com" ]
malaviajinesh@gmail.com
dca2f3644310a1e7c67b6ae89b9eb9ea3a0c23db
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/b4037f9e2f47429f9d3e6ac8ed0fa8bf.py
1a70ecf442bfba0ffa267c895ed7411ce53dcf4a
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
515
py
class Bob: def hey(self, ask): conversation = Identify(ask) if conversation.question(): return "Sure." elif conversation.yell(): return "Woah, chill out!" elif conversation.anything(): return "Fine. Be that way!" else: return "Whatever." class Identify: def __init__(self, ask): self.ask = a...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu