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
f9cf06002dc64c1ec5eca305ceb0ba8604cf3f3a
121105c3ac4648b82ada2cbff1f969c57c70c948
/docs/conf.py
57c32bbd4d7a72d00baed1ab10619f34c5e4965c
[]
no_license
Zulko/MyPackage
a32acafcdbd123768a43d9084a369953dd3abf89
72baa5da9c7f571d07e6b7432570733431c7cb49
refs/heads/master
2020-06-04T07:23:50.279817
2014-01-16T22:31:59
2014-01-16T22:31:59
15,983,079
0
3
null
null
null
null
UTF-8
Python
false
false
9,665
py
# -*- coding: utf-8 -*- # # MoviePy documentation build configuration file, created by # sphinx-quickstart on Sat Jul 13 14:47:48 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All...
[ "valentin.zulkower@gmail.com" ]
valentin.zulkower@gmail.com
1b792fcffab0448405782964edd283c1acc69cf6
c858d9511cdb6a6ca723cd2dd05827d281fa764d
/MFTU/lesson 1/practice_turtle/ex_13.py
cdb942fb348d52f562b72f29743bd8159d725ad6
[]
no_license
DontTouchMyMind/education
0c904aa929cb5349d7af7e06d9b1bbaab972ef95
32a53eb4086b730cc116e633f68cf01f3d4ec1d1
refs/heads/master
2021-03-12T11:15:02.479779
2020-09-17T08:19:50
2020-09-17T08:19:50
246,616,542
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
# Draw a smiley using the written circle and arc functions. import turtle as t from ex_12 import semicircle from ex_10 import circle import turtle as t t.shape('turtle') t.speed() t.color('black') # Body t.penup() t.goto(-200, 0) t.pendown() t.fillcolor('yellow') t.begin_fill() circle(5) t.end_fill() # Left eye t.pe...
[ "tobigface@gmail.com" ]
tobigface@gmail.com
c02113253de462c3a9edba6861cec17e8e4ea39d
716501ff054d10f095879f986d74882778fa72c5
/tests/plugins/test_wwenetwork.py
02800873e00170863d1af6686345ba7e72019f9d
[ "BSD-2-Clause" ]
permissive
TheDrHax/streamlink
017fdfd999277089a0c89a209ba4f64df9e54916
4dfd0d516fd8484438389518985e3b5131b7a253
refs/heads/master
2021-10-26T17:43:50.402219
2020-10-11T22:43:53
2021-10-25T19:10:01
223,461,822
4
0
BSD-2-Clause
2019-11-22T18:25:47
2019-11-22T18:25:46
null
UTF-8
Python
false
false
262
py
from streamlink.plugins.wwenetwork import WWENetwork from tests.plugins import PluginCanHandleUrl class TestPluginCanHandleUrlWWENetwork(PluginCanHandleUrl): __plugin__ = WWENetwork should_match = [ 'https://watch.wwe.com/in-ring/3622', ]
[ "gravyboat@users.noreply.github.com" ]
gravyboat@users.noreply.github.com
4e4302c616df60e782c752f0ea6219f77fd90204
759e387a8c099483b828edde7383cc1a79a3b3cc
/reading01.py
dfb243660e2191958caf34de9acdccc60cc65b09
[ "MIT" ]
permissive
sgriffith3/2021-08-30-PYNA
4dc11368a0c7c50239bfa54a63424264c27f3555
af9bfc595ef0dc2385d7a4751515050b9c6eb56f
refs/heads/main
2023-07-16T13:27:29.046784
2021-09-03T19:59:55
2021-09-03T19:59:55
401,449,582
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
#!/usr/bin/env python3 """Reading in and writing out files""" def main(): # old method for opening files # requires closing the file object when done myfile = open("vendor.txt", 'r') # new method for opening files # closes file when indentation ends with open('vendor-ips.txt', 'w') as myoutfil...
[ "sgriffith@alta3.com" ]
sgriffith@alta3.com
925939b9e72258cfec34cf9ca03e9f7c6639f837
28518362a427b45d701d9ac41dfc82cba76cccab
/test/check_signature.py
ec9b2e6172b5e4b6a18a9a552742df1a698c84ff
[ "CC0-1.0", "MIT" ]
permissive
namuyan/nem-ed25519
5aa43884368e5618d0377da8468ba3604a3fb6d8
0795025fb6e1cad0398adb44753f8221ec6fea7d
refs/heads/master
2021-04-27T00:07:34.743662
2020-10-01T03:48:17
2020-10-01T03:48:17
123,752,052
8
3
MIT
2019-03-21T13:46:34
2018-03-04T03:08:24
Python
UTF-8
Python
false
false
695
py
import os from time import time from nem_ed25519.signature import sign, verify import cProfile sk = '78f8932df54d22319a16dc4940c269205ae0946f98d38ef30aea488a47426153' pk = '77041bfb4b6afebc31aaab7b02d68e577fe069524b3c661c804b42ef381f717b' ck = 'NBOGOGSENUPBFMAPTGHVI4UIAQPVSNKJLWUVHBED' COUNT = 300 start = time() pr =...
[ "thhjuu@yahoo.co.jp" ]
thhjuu@yahoo.co.jp
b061878c91b9a63ea21f06ba1fbf27df8f9796f8
ec00584ab288267a7cf46c5cd4f76bbec1c70a6b
/__Django/APP/polls/urls.py
a37bdc58ce5a71f8197c3c42d01a72fda574c95d
[]
no_license
rahuldbhadange/Python
b4cc806ff23953389c9507f43d817b3815260e19
7e162117f1acc12537c7eeb36d6983d804122ff3
refs/heads/master
2021-06-23T05:04:20.053777
2020-01-28T10:34:28
2020-01-28T10:34:28
217,307,612
0
0
null
2021-06-10T22:44:11
2019-10-24T13:35:42
Python
UTF-8
Python
false
false
388
py
from django.conf.urls import url from . import views app_name = 'polls' urlpatterns = [ url(r'^$',views.indexView.as_view(), name='index'), url(r'^(?P<pk>(0-9)+)/$',views.DetailView.as_view()), name = 'detail'), url(r'^(?P<pk>(0-9)+)/results/$',views.ResultView.as_view()), name = 'result'), url...
[ "external.RahulDilip.Bhadange@rbeibsx.onmicrosoft.com" ]
external.RahulDilip.Bhadange@rbeibsx.onmicrosoft.com
e2f4363672a4d8fa2cf1414ef17730d78988129a
686a007a6d39739e24fe0342af0039ecf1e48ef4
/data/mnist_fashion/__init__.py
d256ecca0683d3464b0b42e896095b3394ce1ce1
[]
no_license
JGU-VC/progressive_stochastic_binarization
4d19226e0d9ae2a4316b7574087f9960a790de5a
75ab00406d33dd91eaec081b23ba39cb04eeb531
refs/heads/master
2020-07-25T08:33:04.974902
2019-09-13T09:20:49
2019-09-13T09:20:49
208,231,643
5
0
null
null
null
null
UTF-8
Python
false
false
5,017
py
# Copyright 2018 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 appl...
[ "dhartmann@uni-mainz.de" ]
dhartmann@uni-mainz.de
7450c202ce73b44d153bba878dd00a0368757ecb
c3a3ae45f6fb22bdb3c622498c7ff1c2c2732f6a
/day19/homework/zz/cmdb/views.py
35b630d19ff4b7c5972bc128c59f6c3e10348182
[]
no_license
huyuedong/S12
df6b56cf05bb9f9c4a6e54b6a5228f1715e20245
61aa6d91f4e70f87c9b4c4b1e2042d5eeb2e2c3d
refs/heads/master
2020-12-14T08:50:57.514965
2016-07-30T01:45:03
2016-07-30T01:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,636
py
from django.shortcuts import render, redirect, HttpResponse from cmdb.forms import login_signup_form from cmdb.forms import add_record from cmdb import models import logging from cmdb.auth import auth from django.contrib.auth import authenticate, login, logout from django.contrib.auth.models import User # Create your ...
[ "liwenzhou7@gmail.com" ]
liwenzhou7@gmail.com
e80e4c2330bcc5f6aae24bd1dda9a2cbf0cc10b9
cafc652ba229d7aab89ec55b865347c12075f544
/src/feed_the_troll/feeders.py
22e308dde6ab95761f2b5c261713bdfb9ef0a185
[ "MIT" ]
permissive
stonier/feed_the_troll
f78797e1ac300766fe95caf4f12e5777de985f1c
14068c4551e093557ffad2810cc6ff2a007e9a68
refs/heads/devel
2020-04-22T11:57:05.290259
2017-01-25T15:17:49
2017-01-25T15:17:49
66,851,367
1
2
null
2017-01-25T14:52:04
2016-08-29T14:32:07
Python
UTF-8
Python
false
false
4,887
py
#!/usr/bin/env python # # License: MIT # https://raw.githubusercontent.com/stonier/feed_the_troll/devel/LICENSE # ############################################################################## # Documentation ############################################################################## """ .. module:: loaders :p...
[ "d.stonier@gmail.com" ]
d.stonier@gmail.com
2cb79fd3927a738a1c9db81e5891aec16f778b35
cdb7bb6215cc2f362f2e93a040c7d8c5efe97fde
/C/CounttheNumberofIdealArrays.py
babf78dde3a9b8de135cee99e4cb41148a2ee29f
[]
no_license
bssrdf/pyleet
8861bbac06dfe0f0f06f6ad1010d99f8def19b27
810575368ecffa97677bdb51744d1f716140bbb1
refs/heads/master
2023-08-20T05:44:30.130517
2023-08-19T21:54:34
2023-08-19T21:54:34
91,913,009
2
0
null
null
null
null
UTF-8
Python
false
false
2,603
py
''' -Hard- *DP* *Combinatorics* You are given two integers n and maxValue, which are used to describe an ideal array. A 0-indexed integer array arr of length n is considered ideal if the following conditions hold: Every arr[i] is a value from 1 to maxValue, for 0 <= i < n. Every arr[i] is divisible by arr[i - 1], f...
[ "merlintiger@hotmail.com" ]
merlintiger@hotmail.com
104b8c77aff3210a880c55609067fd891fb03cb6
4cbbe47948e7c365b6d875b39cf1804338f1c715
/web_flask/4-number_route.py
cb7ceacc39ff538930b9077a35bbf268862e16ad
[]
no_license
JulianCanoDev/AirBnB_clone_v2
c84d8f703234a96f1f716039f9a0c22ff4bb6beb
0a4dc4e9203cbda664a1551c9a329e40d25ec87b
refs/heads/master
2022-12-07T11:38:19.032086
2020-09-03T01:22:22
2020-09-03T01:22:22
286,500,867
0
4
null
null
null
null
UTF-8
Python
false
false
854
py
#!/usr/bin/python3 """Flash app""" from flask import Flask app = Flask('web_flask') @app.route('/', strict_slashes=False) def hello_route_1(): """Return string 1""" return 'Hello HBNB!' @app.route('/hbnb', strict_slashes=False) def hello_route_2(): """Return string 2""" return 'HBNB' @app.route('/...
[ "juliancano.dev@gmail.com" ]
juliancano.dev@gmail.com
e845780c75e06c6f09e2d07d1a9f24e83c4ae33f
6e8b9ad8052a624bccd5d6e5ef5f0eecb4625efe
/toko/admin.py
aa03a9283517388792fb65e9b250ec1509107059
[]
no_license
ihfazhillah/olshop-alaminiy
0980f73611ca3972e8247f37f476998fbe2a3f6f
40e8f75b55943f464d5e1484ad5dcb1de6f594f8
refs/heads/master
2021-01-10T09:44:31.797253
2016-02-13T16:00:22
2016-02-13T16:00:22
51,456,684
1
0
null
null
null
null
UTF-8
Python
false
false
864
py
from django.contrib import admin from toko.models import Kategori, Barang, Atribut, Gambar # from sorl.thumbnail.admin import AdminImageMixin # Register your models here. from profil.models import Profil, Phone, SocialMedia, Email class AtributInline(admin.TabularInline): model = Atribut class GambarInline(admin...
[ "mihfazhillah@gmail.com" ]
mihfazhillah@gmail.com
c8edf7790d02df0da1f187037a74bdcd636f0f1a
6fd893482e664664b7c341964f591dae6b6feddc
/capitalize.py
b10cf5ca43c2b324735c4b20498fa80186a3fcd7
[]
no_license
ramuklihtnes/guviguvi
066c27488dc282aa17f2de5847cf214d8fbb29b5
d5369ebe5a3e3fbcb2951ce6e268c6101768dc13
refs/heads/master
2022-02-21T15:00:12.942339
2019-09-03T10:22:55
2019-09-03T10:22:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
a=input() a=a.lower() print(a.title())
[ "noreply@github.com" ]
ramuklihtnes.noreply@github.com
3ca028c2f6ff05e57532cfd62785ac8c231c632f
56be7f6b6a1243c532af9ea98310ccea165a1e66
/CMDB/day90/auto_server/repository/migrations/0006_auto_20181108_1517.py
33a1886d25c417a8427f5707517b121897d9a22b
[]
no_license
214031230/Python21
55b0405ec4ad186b052cde7ebfb3f4bb636a3f30
d7fc68d3d23345df5bfb09d4a84686c8b49a5ad7
refs/heads/master
2021-05-26T06:00:53.393577
2019-01-09T02:29:04
2019-01-09T02:29:04
127,778,172
0
0
null
null
null
null
UTF-8
Python
false
false
5,033
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-11-08 07:17 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('repository', '0005_auto_20181107_1057'), ] operat...
[ "214031230@qq.com" ]
214031230@qq.com
54780b2d1b40de4804e55401175c1bcbadecc0d3
6ceea2578be0cbc1543be3649d0ad01dd55072aa
/src/fipy/meshes/numMesh/tri2D.py
cbb00f8277c244e563d236cc9313cc8054ca42c5
[ "LicenseRef-scancode-public-domain" ]
permissive
regmi/fipy
57972add2cc8e6c04fda09ff2faca9a2c45ad19d
eb4aacf5a8e35cdb0e41beb0d79a93e7c8aacbad
refs/heads/master
2020-04-27T13:51:45.095692
2010-04-09T07:32:42
2010-04-09T07:32:42
602,099
1
0
null
null
null
null
UTF-8
Python
false
false
23,645
py
#!/usr/bin/env python ## -*-Pyth-*- # ################################################################### # FiPy - Python-based finite volume PDE solver # # FILE: "tri2D.py" # # Author: Alexander Mont <alexander.mont@nist.gov> # Author: Jonathan Guyer <guyer@nist.gov> # Author: Daniel Wheeler <daniel.whe...
[ "regmisk@gmail.com" ]
regmisk@gmail.com
9995144b13108b69cf96ad4f6cb57e363df76a8a
e6d862a9df10dccfa88856cf16951de8e0eeff2b
/VMS/core/python-flask/api_server/test/test_agency_controller.py
9414bb697e7a6dcf230535bf1ea4d6a5b178ee3a
[]
no_license
AllocateSoftware/API-Stubs
c3de123626f831b2bd37aba25050c01746f5e560
f19d153f8e9a37c7fb1474a63c92f67fc6c8bdf0
refs/heads/master
2022-06-01T07:26:53.264948
2020-01-09T13:44:41
2020-01-09T13:44:41
232,816,845
0
0
null
2022-05-20T21:23:09
2020-01-09T13:34:35
C#
UTF-8
Python
false
false
1,143
py
# coding: utf-8 from __future__ import absolute_import import unittest from flask import json from six import BytesIO from api_server.models.person_identifier import PersonIdentifier # noqa: E501 from api_server.test import BaseTestCase class TestAgencyController(BaseTestCase): """AgencyController integration...
[ "nigel.magnay@gmail.com" ]
nigel.magnay@gmail.com
711bfbe51159812f26f3e1a9e1a878f20c74b2d7
c311cf8fc898d0e5b97d0f772e36e168dfd7b1ac
/FastProject/Interactive.py
18d62533dfdaac1de0c93f3dc71a21b2ec5d6616
[]
no_license
Python3pkg/FastProject
fb893dbf0b807d583c427764952a84e29d20a07a
7ac3d6f5b451938e257930add4cdbe3b389bcd58
refs/heads/stable
2021-01-21T17:30:00.343045
2017-05-21T13:34:14
2017-05-21T13:34:14
91,959,591
0
0
null
2017-05-21T13:34:09
2017-05-21T13:34:09
null
UTF-8
Python
false
false
3,460
py
""" Functions to facilitate interactive use of the library """ import pandas as pd from . import FileIO from . import Transforms from .DataTypes import ExpressionData from .Projections import perform_weighted_PCA from .Projections import permutation_wPCA as _permutation_wPCA __all__ = ["estimate_weights", "weighted_P...
[ "davedeto@gmail.com" ]
davedeto@gmail.com
0f071f074fd5758a19766e36afe9f660da4bc1aa
dd4622390bb7122db37a889e647f28004a265ccd
/1906101001周茂林/第11周/2.py
e0cc0a3cd7f935f290880e2695a724e4eccc0e8b
[]
no_license
gschen/where2go-python-test
c8adaa095aa8a095401f98c7b3f8f17c72d0532d
eb9e6011b8d33fa45a6b1ef853affd01a296db21
refs/heads/master
2022-12-13T19:45:09.874691
2020-10-15T13:12:52
2020-10-15T13:12:52
211,591,156
4
1
null
2022-12-05T07:46:12
2019-09-29T02:35:00
Python
UTF-8
Python
false
false
396
py
''' 请使用“插入排序”的方法对列表里面的元素由大到小进行排序,ls=[10,9,13,5,25,70,2] ''' def crpx(ls): for i in range(1,len(ls)): k = ls[i] q = i - 1 while q >= 0 and k < ls[q]: ls[q+1] = ls[q] q -= 1 ls[q+1] = k for o in range(len(ls)): print(ls[o],end=' ') ls = [10,9,13,5...
[ "2915133868@qq.com" ]
2915133868@qq.com
d4d133c4c40002fa6d1d42bff93a62d3bb711990
45d1478e29cdc173085e9fe2ae092f4c71ea19f2
/retinaface/modeling/backbone/mobilenet.py
e146cdf67cddf74f6a53fdea3a960a2b755c0f90
[ "MIT" ]
permissive
OxYunzhe/RetinaFace.detectron2
0c5f8659d17fb2e46c194dc0fcbbac7732cd54ab
3edf1c2d539763115741819bcf16816d7c2e4c91
refs/heads/master
2023-03-16T07:50:51.572555
2020-06-10T09:41:29
2020-06-10T09:41:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,716
py
''' @Copyright (c) tkianai All Rights Reserved. @Author : tkianai @Github : https://github.com/tkianai @Date : 2020-04-21 13:17:14 @FilePath : /RetinaFace.detectron2/retinaface/modeling/backbone/mobilenet.py @Description : ''' import torch.nn as nn from detectron2.layers import Conv...
[ "tkianai@163.com" ]
tkianai@163.com
8fd182bce295297d9b39df537b1751b8c7c3b065
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/bf8d695ec3a401d0c8bec188103ddcbc399eff49-<remove_peer_connection>-bug.py
15659f4bf469c6439ab253aa934c155457571ae6
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
def remove_peer_connection(client, module): pcx_id = module.params.get('peering_id') if (not pcx_id): params = dict() params['VpcId'] = module.params.get('vpc_id') params['PeerVpcId'] = module.params.get('peer_vpc_id') params['PeerRegion'] = module.params.get('peer_region') ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
aab328cdb2a702bc32eeea09a789b2020321c750
013b6223c5cab927d995234acf7483f6d60c9c85
/game/edit_character_ui.py
e938e72c6c5142c148213cd7c9cfa288c7bf20a4
[]
no_license
MyreMylar/action_rpg
478c4fcdd492f4619c65aca938aede87dc7243e6
c2299411b1a4fe5feaaa9d16a8c4b10eb96dbf33
refs/heads/master
2020-08-10T21:13:30.893359
2019-10-11T11:46:13
2019-10-11T11:46:13
214,421,881
0
0
null
null
null
null
UTF-8
Python
false
false
3,848
py
from util.character import Character, reload_characters from util.utility import has_valid_input_range, make_valid_filename import random def rerolling_stat_display(stat_name, character_to_edit): print("Re-rolling 3d6 for " + stat_name + "...") new_roll = random.randint(1, 6) + random.randint(1, 6) + random.r...
[ "dan@myrespace.com" ]
dan@myrespace.com
2545ecd43541a87ab59475b894cad037a1a66024
d50f50f455a2f96e7fbd9fb76fcdcdd71b8cc27c
/Day-16/Day16_Shahazada(ST).py
f1e4bfcff13443cca1be91675919060bd7d9da71
[]
no_license
Rushi21-kesh/30DayOfPython
9b2cc734c553b81d98593031a334b9a556640656
d9741081716c3cf67823e2acf37f015b5906b913
refs/heads/main
2023-06-29T13:18:09.635799
2021-07-30T13:33:04
2021-07-30T13:33:04
384,316,331
1
0
null
2021-07-09T04:01:24
2021-07-09T04:01:23
null
UTF-8
Python
false
false
1,038
py
def stackPop(stack): if(len(stack)==0): print('Stack is empty') else: print('Poped element is: {} '.format(stack[-1])) stack.pop() print('stack after pop {}'.format(stack)) print() def stackPush(stack,ele): print('Push element is : {} '.format(ele)) stack.append(...
[ "noreply@github.com" ]
Rushi21-kesh.noreply@github.com
668829950764011e6e5faee6e2717a3a668882fd
372770ccd3b5557d39a71fb6aa80019965b1682c
/src/python_data_mismatch_1.py
6602c6cb99ff49bbb4a3a21c33a87675d953135f
[]
no_license
Krishnaarunangsu/XpressoDataExploration
0c7413f2a6ed51c8063f9dd7d703ce3f4689c372
4ea67102370d85b7df87978499022296fa9ba321
refs/heads/master
2022-03-24T05:38:57.576519
2019-11-27T00:37:37
2019-11-27T00:37:37
197,912,507
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
import pandas as pd df = pd.DataFrame({'A': [1, 2, 3], 'B': ['a', 'b', 'f']}) print(df) print('*********************************') other = pd.DataFrame({'A': [1, 3, 3, 2], 'B': ['e', 'f', 'f', 'e']}) print(other) print('*********************************') print('Value is in "df" but not in "other:"') print(df.isin(oth...
[ "arunangsutech@gmail.com" ]
arunangsutech@gmail.com
02a4f135f07215e1969a2b686d8c344d05283ab0
c3427d95b4bc2f0a231c445ce68d12c52d5c9e73
/server/src/application.py
461019277aade731543e41046e1a05f23fe87a6b
[]
no_license
sagarhcipl/sporple2018
fd13dc13c405acaa22cddf0d37cd9ae56f95c384
d0d9f4db673ecffe780fc7161798bb36d63cca74
refs/heads/master
2023-01-07T21:10:23.473910
2019-04-10T12:52:45
2019-04-10T12:52:45
147,685,308
0
0
null
2022-12-26T20:15:35
2018-09-06T14:21:41
JavaScript
UTF-8
Python
false
false
435
py
#!/usr/bin/python import os if os.environ.get('ENVIRONMENT') == 'prod': os.environ['APP_CONFIG_FILE'] = '../config/prod.cfg' elif os.environ.get('ENVIRONMENT') == 'staging': os.environ['APP_CONFIG_FILE'] = '../config/staging.cfg' else: os.environ['APP_CONFIG_FILE'] = '../config/dev.cfg' from main import a...
[ "nijap@techversantinfotech.com" ]
nijap@techversantinfotech.com
24fbd1748d7500f86994c7d9eaaa6102d674f306
8c2bec2128e9a4063e23cf27ab339de2abcae95d
/4.CV/Cell_Segmentation/config.py
5ed864c4344bdfc3b305535219226409329db258
[]
no_license
waynewu6250/My-Sample-Projects
b61c4391e64d32e499dfcffc65c22119a498ac75
43c322504cd992e1c01412c8a04a37e2d14356b8
refs/heads/master
2021-06-18T01:52:14.937042
2021-01-18T03:24:46
2021-01-18T03:24:46
138,700,027
5
2
null
null
null
null
UTF-8
Python
false
false
494
py
class Config: model_mode = 'single' paths = 'images/*.jpg' img_path = 'images/image1.jpg' # superpixel compactness = 100 num_superpixels = 10000 min_labels = 3 # model nChannel = 200 nConv = 2 nClass = 100 # training model_path = 'model_single.pth' if model_mo...
[ "waynewu6250@gmail.com" ]
waynewu6250@gmail.com
26555ce99f355b02a219f6ae19c914e45c5c10ce
632515698501a24909b9918a3892452dd60f6c6c
/boardapp/migrations/0013_auto_20160721_1115.py
4bb38bdc4403ef6d6df27e974ceab8365eea530f
[]
no_license
grydinywka/board_rec
2df3eb565aecb9502e405a102f997ab065b70510
f9cd4622e43661c4f2a0256a4b1b2b6ce94750a1
refs/heads/master
2021-01-19T09:45:05.843341
2016-07-25T21:22:41
2016-07-25T21:22:41
63,694,983
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-07-21 08:15 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('boardapp', '0012_auto_20160721_0938'), ] operations = [ migrations.RemoveField( ...
[ "grydinywka@gmail.com" ]
grydinywka@gmail.com
32e3d52b91a0a7419b5d4f92ff23737719694cf0
6d77f16de5bd32be72ebe689b10f5999a5d76aa2
/bin/sound
43fe6e4341645bfdc996a6930f1d3cc851786588
[]
no_license
Foffy/dotfiles.x
c87f26e3f22b8534f42985c1d691939f67ba7cac
78ec619de21543d5e77fac5b8a9d8b35315eff88
refs/heads/master
2020-08-12T00:28:14.076888
2019-10-12T22:15:18
2019-10-12T22:15:18
214,655,921
0
0
null
2019-10-12T13:55:53
2019-10-12T13:55:53
null
UTF-8
Python
false
false
4,308
#!/usr/bin/env python """ bindsym Control+Up exec amixer -q sset Master 2%+ unmute bindsym Control+Down exec amixer -q sset Master 2%- unmute bindsym XF86AudioRaiseVolume exec amixer -q set Master 2dB+ unmute bindsym XF86AudioLowerVolume exec amixer -q set Master 2dB- unmute bindsym XF86AudioMute ex...
[ "jimmy@charnley.dk" ]
jimmy@charnley.dk
a09a0dce15c07264ff9afd6e8e7647acde0d98b5
843ca2944c5a92dc3d13d132c34545d3b18a9eb9
/scripts/data/PyDatas/skill_config_Table.py
33cadcd5d3b88cd8124014d3a7c90a6e30693483
[]
no_license
m969/wanfadalu_server
550dac97795bfc15c1d47f0c18bfab9c18fe6a76
08f5bec5ed4a17f4f1fcc40a27311aa03906e5ef
refs/heads/master
2021-07-03T10:21:21.331204
2020-08-14T14:56:42
2020-08-14T14:56:42
138,024,157
1
2
null
null
null
null
UTF-8
Python
false
false
1,233
py
# -*- coding utf-8 -* - datas={ 10010:{ "id":10010, "gongFa":1001, "name":"平射", "type":2, "script":"Shoot", "quality":10, "levelSpLimit":[100,200,300,400,500,600,700,800,900], "strategies":['一次伤害策略']}, 10011:{ "id":10011, "gongFa":1001, "name":"弓砍", "type":2, "script":"GongKan", "quality":10, "levelSpLimit":[100,200,...
[ "969041327@qq.com" ]
969041327@qq.com
f03913ab525dcf1479aa957c6b0dad14ef5e61a5
02a501153a24c1b6e6780bdec32aadea8739f199
/childcare/views.py
f2d61a40b9167f08e9acd74b73f702b7dee5e698
[]
no_license
ramuta/kindy-old
dea72909c981e1154668459fd2f3c1c7537bea59
6c74b0aca3333fb7bb83ce7eb4ffedda5f3717c5
refs/heads/master
2016-09-05T19:23:33.880203
2014-01-21T11:25:49
2014-01-21T11:25:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,330
py
from itertools import chain from operator import attrgetter from django.contrib.auth.decorators import login_required from django.contrib.auth.models import Group, User from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage from django.core.urlresolvers import reverse from django.http import HttpRespo...
[ "matej.ramuta@gmail.com" ]
matej.ramuta@gmail.com
b7c3bb7f82918c83a1b9d6ed9d4d34ec14561966
b08f5367ffd3bdd1463de2ddc05d34cbfba6796e
/heaps/find_median.py
96403587da4531bc6a39103ade2b83f7df03c62b
[]
no_license
uohzxela/fundamentals
cb611fa6c820dc8643a43fd045efe96bc43ba4ed
6bbbd489c3854fa4bf2fe73e1a2dfb2efe4aeb94
refs/heads/master
2020-04-04T03:56:44.145222
2018-04-05T01:08:14
2018-04-05T01:08:14
54,199,110
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
from heapq import * class MedianFinder(object): def __init__(self): """ initialize your data structure here. """ self.min_heap = [] self.max_heap = [] def addNum(self, num): """ :type num: int :rtype: void """ heappush(sel...
[ "uohzxela@gmail.com" ]
uohzxela@gmail.com
2fa5c510f9395bb24151c51618f1064f472ffa5b
10fbe5526e5f0b8588b65f70f088cd86b6e9afbe
/etnevwmkj/models.py
435061b84a3d0c6e3c1df623af2c93129683af94
[]
no_license
MarkusH/django-migrations-benchmark
eb4b2312bb30a5a5d2abf25e95eca8f714162056
e2bd24755389668b34b87d254ec8ac63725dc56e
refs/heads/master
2016-09-05T15:36:45.250134
2015-03-31T23:44:28
2015-03-31T23:44:28
31,168,231
3
1
null
null
null
null
UTF-8
Python
false
false
1,008
py
from django.db import models class Ryfwmkefy(models.Model): bradgz = models.CharField(default='', max_length=159) ncboylifgw = models.IntegerField(default=0) zvqshxs = models.CharField(default='', max_length=69) riavbagu = models.OneToOneField('pnxyvqx.Zhsexma', null=True, related_name='+') pass ...
[ "info@markusholtermann.eu" ]
info@markusholtermann.eu
d1d8cb83f1b269c7b6cf8d1bb851f1b72f3c8ca7
0b4957de738dd05f964ea838016b4b811feca970
/tests/api/api_v1/test_endpoint_version.py
313fa602dd0afc5f14c6aa37ed4b655e17b96bb9
[ "MIT", "Apache-2.0" ]
permissive
bossjones/ultron8
bdb5db72ba58b80645ae417cdf97287cfadd325d
09d69c788110becadb9bfaa7b3d2a2046f6b5a1c
refs/heads/master
2023-01-13T06:52:45.679582
2023-01-03T22:25:54
2023-01-03T22:25:54
187,934,920
0
0
Apache-2.0
2023-01-03T22:25:56
2019-05-22T00:44:03
Python
UTF-8
Python
false
false
755
py
import logging import pytest import requests from starlette.testclient import TestClient from ultron8 import __version__ from ultron8.api import settings from tests.utils.utils import get_server_api logger = logging.getLogger(__name__) @pytest.mark.convertingtotestclientstarlette @pytest.mark.loginonly @pytest.ma...
[ "noreply@github.com" ]
bossjones.noreply@github.com
f827e2d001dce66d43e1d7b518c03db11d41022f
52b5773617a1b972a905de4d692540d26ff74926
/.history/fish1_20200805130419.py
f353dd4951cb8b6fba90d847de945ff6281b404e
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
def fish(A,B): # we place fish moving downwards to a downstream stack # then when its not empty we'll check with the empty at A[i] # if it eats that fish we deduct it from the alive fish and del from A # otherwise we shall pop from the down stream stack downStream = [] j = 0 aliveFish = ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
ad6ad2e57aa62a0982161fdd08e2b450cd966ffe
1faa6154aaac64cfff476a89a889cadcc2fdce6a
/scripts/generate_voxels.py
352f96a868f1742380608a433dd53959a99858bf
[]
no_license
housz77/modelnet
05371643c72c5c2b3f0d37c5c1bb20cecba9f139
f7d387721fdb51833693ac6064a1ecf192cff312
refs/heads/master
2020-04-25T09:04:36.283316
2018-05-21T08:37:15
2018-05-21T08:37:15
172,665,934
1
0
null
2019-02-26T08:07:14
2019-02-26T08:07:13
null
UTF-8
Python
false
false
1,099
py
#!/usr/bin/python from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse def generate_voxels(dataset_id, dim=32, cats=None, modes=None): from modelnet.base import get_categories from modelnet.voxels import get_zipped_voxel_dataset if ca...
[ "thedomjack@gmail.com" ]
thedomjack@gmail.com
238b50f9617950a6e843d7eca5ba74800ff59c4a
f1e2e511dcd1b23f5633bd56d7d52b61f0ba8f9b
/Python/Lecture4/4-0.py
1ce42fe3cbcd7cab4c2343558c994712207f3a78
[]
no_license
hamin7/ITE3035_Python
6a9bd7854fcaba2e5381f07dc2a76d4d80abf0d1
49d582b6772456bfa03f10500299063de26e8d98
refs/heads/master
2021-06-25T10:05:46.827177
2020-12-28T13:36:15
2020-12-28T13:36:15
188,181,758
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
import random print('hello my name is gerrit') print('what\'s your name?') myName = input() realDay = random.randint(1,30) print('well, ' + myName + ', guess my birthday from 1 to 30') guessDay = 0 while realDay!=guessDay: guessDay = input() guessDay = int(guessDay) if guessDay < realDay: print('l...
[ "ggamini7@gmail.com" ]
ggamini7@gmail.com
255eb72af70b0f4f60bad4a0880cfc1bfbfec613
85a0ee08b54b2c5e3154e3727b92c37915b4c1de
/Sample/Python_Stock_Sample_2021/indicator.py
54680606b94b7ac6325585221e9cdbd69b8290a0
[]
no_license
yaotony/sandbox-empty
877da9b9ba0ec658bbdc8acc79a97267f96408b9
85f04e5db5d26a04fad9ae4ad6d3c86977a9f865
refs/heads/master
2022-05-20T17:14:51.348759
2022-05-04T08:06:56
2022-05-04T08:06:56
35,472,699
0
0
null
null
null
null
UTF-8
Python
false
false
3,610
py
# 載入必要套件 import requests,datetime,os from bs4 import BeautifulSoup import numpy as np import matplotlib.dates as mdates from talib.abstract import * # 載入技術指標函數 # 算K棒 class KBar(): # 設定初始化變數 def __init__(self,date,cycle = 1): # K棒的頻率(分鐘) self.TAKBar = {} self.TAKBar[...
[ "tony.exmail@gmail.com" ]
tony.exmail@gmail.com
eac8a4c259c47235d4bb53798067088c29979a84
bc0fc1d06ee2822b696494d3a73eeb6c1af0360a
/androidfs/acestream.engine/data/plugins/veetle.py
a18a3851d643df5742bf8ad21354105bdb66ca3b
[]
no_license
elipatov/acestream.engine
cf41472b6435400022f19eb4b48c2a17a3afacbd
65849f78a0dc7749d0478c387e69bb14865bdaf3
refs/heads/main
2023-02-24T22:28:00.045198
2021-01-22T18:04:12
2021-01-22T18:04:12
329,993,224
4
1
null
null
null
null
UTF-8
Python
false
false
2,109
py
#-plugin-sig:L8CD4SwbwkcETCQ/F4xCU9o75/eL/0AgCaCojcP3djjlcmOXk7mAOoWRcGqFazGwyVxGuXz3tQwsHWVUC4e8HYzQ4nCiUatk+rol6AvvSVVc3kamZ6LQYDTvs+cJfEfKlOz3vrfZsQnEckx2slhAzGo5ca2TuYFbkyOblb5DsQoPH97qMV/UOM1cAbmus8gz3avtxKefDrApbK3tJUU0W57qNFop408CsB+fLUnIAmvDjjGEJoZwFl0Py2ZcD9e1p1xTShROEL3NV4IQtLIz4WmzYzaa0fNnTqKPOS4twZyYq1W89n5...
[ "evgeni.lipatov@idt.net" ]
evgeni.lipatov@idt.net
eea2e078083d93622d5815cd18c2648bc3e5de5a
02e3db692cb8288f97ed58f5d2acda5c611e8187
/kakeibo/models.py
088f35654ddbf4838e0544ecb80e5efae21f8b03
[]
no_license
SatoTakumi0520/My-Challenge
64be6f65f9fb64e75d124dfcb1aa6f59984972d6
a77de838c523b8c7bf9e15381cfa415d95efb8e6
refs/heads/master
2020-07-25T00:30:14.301466
2019-09-16T10:48:28
2019-09-16T10:48:28
208,098,883
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
from django.db import models from datetime import datetime class Category(models.Model): class Meta: #テーブル名の定義 db_table ="category" verbose_name ="カテゴリ" verbose_name_plural ="カテゴリ" #カラム名の定義 category_name = models.CharField(max_length=255,unique=True) def __str__(self): retur...
[ "you@example.com" ]
you@example.com
b895708ce56d4066ec6db1d2c4c3f19972221fe6
3be3efadec8d6ee65d181c4cfebd7a5581d50719
/src/graphicsDisplaycg.py
b17d2ef2a26c31c473dd51bce992061ae9aff911
[]
no_license
HussainAther/DNAPacManHMM
84bf67336478c356c85ac5464ac7f4004266c779
1ae65601d5f69a3e3b04a39c78509b164fdd9fcb
refs/heads/main
2023-04-01T11:44:34.252902
2021-03-28T22:07:23
2021-03-28T22:07:23
347,668,931
3
0
null
null
null
null
UTF-8
Python
false
false
29,534
py
import math, random, time from graphicsUtils import * FRAME_TIME=0.1 # The time that pacman's animation last PAUSE_TIME=0 # Pause time between frames DEFAULT_GRID_SIZE = 30.0 INFO_PANE_HEIGHT = 35 BACKGROUND_COLOR = formatColor(0,0,0) WALL_COLOR = formatColor(0.0/255.0, 51.0/255.0, 255.0/255.0) INFO_PA...
[ "shussainather@gmail.com" ]
shussainather@gmail.com
319b5b0806852fe62438c7e62350e4bede2c45c7
5c4fde4ef9cfb4af80d3a5009a73ffea898ef57b
/examples/socketio_server.py
7cbd53e1dcc43da0eb4ae5d9a57db2e7c3945622
[ "MIT" ]
permissive
gitter-badger/jsonrpcserver
c2e8f04fdd7d168fbff3b82d4875ac118d1aafbd
ba373b0c803f550e5353ce20b9dfa78828473223
refs/heads/master
2021-08-28T19:32:05.586624
2017-12-07T06:36:07
2017-12-07T06:36:07
114,065,257
1
0
null
2017-12-13T02:47:41
2017-12-13T02:47:41
null
UTF-8
Python
false
false
475
py
from flask import Flask from flask_socketio import SocketIO, send from jsonrpcserver import methods from jsonrpcserver.response import NotificationResponse app = Flask(__name__) socketio = SocketIO(app) @methods.add def ping(): return 'pong' @socketio.on('message') def handle_message(request): response = met...
[ "beauinmelbourne@gmail.com" ]
beauinmelbourne@gmail.com
0788ae1dca234ffd1c7ce2e97cdc9e5c646114d8
c2cf62d1bf8c5ec4d3e6f74d2f048fa8b93102df
/testapp/manage.py
a87cc61e0ba630fcaaab540e89088a0528df952e
[]
no_license
python-hospital/django-smoketest
06e91e5ea9f668ed09e6eb21328cb18a763b253f
ce2e16e888530e995dcb6a5c5e0a7ab20492e8b9
refs/heads/master
2021-01-18T08:47:28.695732
2013-01-16T18:04:22
2013-01-16T18:04:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
#!ve/bin/python import os, sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "anders@columbia.edu" ]
anders@columbia.edu
66d9746fd1354c2022837027fedd821dbe345a35
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/demand.py
e5ecd12deed334c549c470f658bbdb68d4e5ba47
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
2,675
py
ii = [('BentJDO2.py', 68), ('EmerRN.py', 5), ('CookGHP3.py', 40), ('MarrFDI.py', 4), ('RogePAV2.py', 14), ('CoolWHM2.py', 15), ('KembFFF.py', 1), ('GodwWSL2.py', 58), ('ChanWS.py', 11), ('RogePAV.py', 1), ('SadlMLP.py', 57), ('FerrSDO3.py', 7), ('WilbRLW.py', 9), ('WilbRLW4.py', 3), ('RennJIT.py', 3), ('ProuWCM.py', 2)...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
5f139be3fd4fd859728ed54656b0dd06bd4f2ead
6d967da5fd95aa5e66ddbb211da40041006ca5ec
/myvenv/Lib/site-packages/pip/_vendor/distlib/scripts.py
01615dc51025117f1ef4f188c6db1e7de63369f5
[]
no_license
gevorkyannaira/my-first-blog
96e4458045a1dd0aa9c1f3ec69f4c829428200e0
42ab12a8c2b0e402b5fa1b8e5a7cdd2629d06c16
refs/heads/master
2022-09-03T21:14:18.946448
2020-05-18T18:15:39
2020-05-18T18:15:39
264,909,108
0
0
null
null
null
null
UTF-8
Python
false
false
17,542
py
# -*- coding: utf-8 -*- # # Copyright (C) 2013-2015 Vinay Sajip. # Licensed to the Python Software Foundation under a contributor agreement. # See LICENSE.txt and CONTRIBUTORS.txt. # from io import BytesIO import logging import os import re import struct import sys from .compat import sysconfig, detect_encoding, ZipFi...
[ "gevorkyannaira5@gmail.com" ]
gevorkyannaira5@gmail.com
776359cffa69002d89500c41740f965e391762c6
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/dockerized-gists/1913364/snippet.py
2ec28759bd362d41780197fb38dd94108f89b48c
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
2,382
py
#!/usr/bin/env python #coding:utf-8 import os, sys import json import requests from urllib import urlencode Client_ID = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com" Client_secret = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY" base_url = "https://accounts.google.com/o/oauth2" #### def get_req_token(...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
c69656842401ad914d4384b39e3322f9b671b651
ec45bee420713f64d2d00a5d1c15a9a5f66a940b
/ProgrammingQuestions/leetcode/204-2.py
55c43df28648f11699e75f96965dd69952460c17
[ "MIT" ]
permissive
strawsyz/straw
a7dc5afef9525eeb3b1a471b5a90d869a3ba5084
cdf785856941f7ea546aee56ebcda8801cbb04de
refs/heads/master
2023-06-08T17:18:53.073514
2023-06-05T05:51:41
2023-06-05T05:51:41
253,447,370
2
0
null
null
null
null
UTF-8
Python
false
false
583
py
# 找小于n的质数的个数 # 参照大佬的代码 class Solution: def countPrimes(self, n): if n < 3: return 0 # 标志为True的位置标明是一个True primes = [True] * n primes[0] = primes[1] = False # 下面的循环的范围设置得很巧妙 for i in range(2, int(n ** 0.5) + 1): if primes[i]: # ...
[ "836400042@qq.com" ]
836400042@qq.com
3270aff4be4878b7490fb3a68043212d4c0010d7
80a3e654cf33e5c86410e207e3a28ed160adbd75
/list_questions/nested_list.py
68fbcce633e58b68a1fa31bc7ea067f386526531
[]
no_license
Rinkikumari19/python
f3f6e57ca39d7d6fe4e110264eb5685be2441f66
2b98f4bac313725c2716cc8a60440336d28acba4
refs/heads/master
2022-11-26T06:47:34.161251
2020-08-02T18:37:54
2020-08-02T18:37:54
284,518,849
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
list = [[5,6,9],[2,4],[10],[12,14,18]] i=0 new_list=[] while i <len(list): nes_index = 0 while nes_index < len(list): if list[i][nes_index] % 2 == 0: new_list.append(list[i][nes_index]) nes_index=nes_index+1 i=i+1 print(new_list)
[ "ravina18@navgurukul.org" ]
ravina18@navgurukul.org
14e4682f6bd5674d140402ed5f73880315552a3e
8ea3d5b0ad92fd3ed8ed0678f317cf3dc2a914da
/nextstrain/cli/config.py
a9c42ce7750253e3dce7373772a23d497601c8db
[ "MIT", "BSD-2-Clause", "Apache-2.0" ]
permissive
nextstrain/cli
0ed57c4cd0fe75eac4f68b7830f8b661b713858b
3c93e87c2ac6bdd1b6a913070f709067b29a6cc1
refs/heads/master
2023-09-02T13:46:08.170498
2023-08-31T17:07:44
2023-08-31T17:07:44
139,047,738
26
22
MIT
2023-09-14T20:35:23
2018-06-28T17:13:28
Python
UTF-8
Python
false
false
3,797
py
""" Configuration file handling. """ import stat from configparser import ConfigParser from contextlib import contextmanager from fasteners import InterProcessReaderWriterLock from pathlib import Path from typing import Optional from .paths import CONFIG, SECRETS, LOCK # Permissions to use for the secrets file if we...
[ "tsibley@fredhutch.org" ]
tsibley@fredhutch.org
86da068433f1fc5446bca93d98f2f6cb32f50d21
d54f3c4226fc29d657086202261a0e6a5a7d5c72
/Practica 7/Ejercicio4.py
4db9f93808a1d88a515dfd2320b65d7adebb9935
[]
no_license
cifpfbmoll/practica-7-python-JaumeFullana
6de37c2797cb903d5791db2b97be731df70b6eda
8278b16fdffa015c7c01bfbab5e8d5caa3203a97
refs/heads/main
2023-01-08T16:45:22.442796
2020-11-11T20:12:12
2020-11-11T20:12:12
312,062,819
0
0
null
2020-11-11T18:59:04
2020-11-11T18:58:58
null
UTF-8
Python
false
false
421
py
#Escribe un programa que pida una frase (entrada por teclado), y le pase como parámetro a una función dicha frase. #La función debe sustituir todos los espacios en blanco de una frase por un asterisco, y devolver el resultado #para que el programa principal la imprima por pantalla. def funcion (cadena): cambio=...
[ "noreply@github.com" ]
cifpfbmoll.noreply@github.com
47133f646c4d03a1127a5c3718cc1bbba71af2f8
c3059a9b2c08f5014860588b719375afafe2ae09
/ctci/chapter_2/LinkedList.py
2f813b79b311f9910a936c5422acadf11a9c2d33
[]
no_license
TheolZacharopoulos/algorithms-playground
ec6e6c0126b95e0d34e80386874c93003f311fab
a9cf2d0731861c670bedb39241840d8ef96ff39d
refs/heads/master
2021-01-20T13:36:54.266938
2017-06-16T13:27:32
2017-06-16T13:27:32
82,693,908
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
class LLNode: def __init__(self, data, nxt=None): self.data = data self.next = nxt def __eq__(self, other): return self.data == self.data and self.next == self.next def __ne__(self, other): return not self.__eq__(other) def __str__(self): return str(self.data) ...
[ "theol.zacharopoulos@gmail.com" ]
theol.zacharopoulos@gmail.com
98f63df95a5d01b83f40eb1c3ccfece8ea838b3a
e68a40e90c782edae9d8f89b827038cdc69933c4
/res_bw/scripts/common/lib/distutils/dep_util.py
eb70be2f7f78be09adc12d9dd9bc68e6f17241bd
[]
no_license
webiumsk/WOT-0.9.16
2486f8b632206b992232b59d1a50c770c137ad7d
71813222818d33e73e414e66daa743bd7701492e
refs/heads/master
2021-01-10T23:12:33.539240
2016-10-11T21:00:57
2016-10-11T21:00:57
70,634,922
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,226
py
# 2016.10.11 22:19:25 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/distutils/dep_util.py """distutils.dep_util Utility functions for simple, timestamp-based dependency of files and groups of files; also, function based entirely on such timestamp dependency analysis.""" __revision__ = '$Id$' impo...
[ "info@webium.sk" ]
info@webium.sk
9240ac79ecd98ddf597a898cfc7192ff94d20b91
af4aa2e443abaa39b802b57919e9d0c418d17cdd
/2015/Helpers/day_03.py
378d01c572ff385a9b78441ea9284ac93de4f1bf
[]
no_license
daverayment/aoc
902d414b15a2746bdec1bb40e9029891ca800066
c7e9b6249b4e9d95b9b0d14192818e9a1841f3fd
refs/heads/master
2023-02-08T10:48:23.103729
2020-12-26T05:26:02
2020-12-26T05:26:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
#!/usr/bin/env python3 from collections import deque def get_desc(): return 3, 'Day 3: Perfectly Spherical Houses in a Vacuum' def calc(values, units): dirs = { '^': (0, -1), 'v': (0, 1), '<': (-1, 0), '>': (1, 0), } locs = deque() for _ in range(units): ...
[ "scott.seligman@gmail.com" ]
scott.seligman@gmail.com
c64e85d6003f0c1ca93555e549a007258b214ee2
4c22d718e5f134b738ecec59e2ef7229464314de
/manage.py
076120cffb074cc9bb02c9275413ed6957200872
[]
no_license
crowdbotics-apps/hm2-28031
dcd95c1fdb19ad7c3ac3c9cf62405b9f36d27f89
f273e5d159d73edc0c5da6e78a7060553d9672be
refs/heads/master
2023-06-02T03:16:41.874227
2021-06-16T21:06:25
2021-06-16T21:06:25
377,627,891
0
0
null
null
null
null
UTF-8
Python
false
false
629
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', 'hm2_28031.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impo...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
6804528edcfee9368f4a18e9937bf62007a43126
aac1b8efaeccc544d229aa52093a36802250b4cf
/pre/python/lib/python2.7/dist-packages/urllib3/fields.py
79e42369590a0e69849305951a980ff5303996e2
[]
no_license
ag1455/OpenPLi-PC
4f63bbd389ff9604ab7aaf72d10ee6552b794c87
256401ac313df2e45c516af1a4d5398f54703b9c
refs/heads/master
2023-08-22T18:20:07.491386
2023-08-14T17:29:59
2023-08-14T17:29:59
233,239,212
27
22
null
2020-12-28T22:09:26
2020-01-11T13:50:25
Python
UTF-8
Python
false
false
5,928
py
from __future__ import absolute_import import email.utils import mimetypes import six def guess_content_type(filename, default='application/octet-stream'): """ Guess the "Content-Type" of a file. :param filename: The filename to guess the "Content-Type" of using :mod:`mimetypes`. :param defa...
[ "a.g.prosat@gmail.com" ]
a.g.prosat@gmail.com
92e1bb3568f1e4f425d735ef972bcd5a8168163e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_fustian.py
0660d56ea49eec56d0386546b9feb6f90fca9777
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
#calss header class _FUSTIAN(): def __init__(self,): self.name = "FUSTIAN" self.definitions = [u'a thick, rough cotton cloth that lasts for a long time'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): retur...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
267a9aa06a2d6a0e0e37f2d0f265303898d79ee3
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/6040/146006040.py
55f232a90c6b4d57630a39f5d8a2f107c0fe7fa6
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
845
py
from bots.botsconfig import * from records006040 import recorddefs syntax = { 'version': '00604', 'functionalgroup': 'RY', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'ERP', MIN: 1, MAX: 1}, {ID: 'REF', MIN: 1, MAX: 10}, {ID: 'DMG', MIN: 0, MAX: 1}...
[ "doug.vanhorn@tagglogistics.com" ]
doug.vanhorn@tagglogistics.com
82b811700c6d7c47439687106fac1fbc39e52a8f
4693ad654697e27ec8e8b170e81210744ebdea60
/app/controllers/category.py
80c34944cb79d3b4806b69c41329aa635bce713a
[]
no_license
OscarHeMe/catalogue
d97d6dacdb65ac341dff100ff6125a70c836bbc9
6daa710eabf1417d1d97e149de28c5ab0a80d44b
refs/heads/master
2023-03-01T02:28:28.022593
2020-07-24T19:25:14
2020-07-24T19:25:14
338,459,036
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
# -*- coding: utf-8 -*- from flask import Blueprint, jsonify, request from app.models.category import Category from app import errors, logger from flask_cors import CORS, cross_origin mod = Blueprint('category',__name__, url_prefix="/category") @mod.route('/') @cross_origin(origin="*") def get_all(): """ Get all...
[ "gamba.lavin@gmail.com" ]
gamba.lavin@gmail.com
6571f432fc1130e8af328608e4a4d432aa7179f3
e6a1c4389d1ea3582b3b5e18228c2e79eb0cece5
/0x11-python-network_1/10-my_github.py
2c05b2082f18f0d02897fc5e33ce1bd07dbc40f1
[]
no_license
TMcMac/holbertonschool-higher_level_programming
4cd5dcf25163306c1bf4f5434cb9e5d07118f750
7449dc4642a8d5a04c731aea8c5fb176ea31e4ce
refs/heads/master
2023-03-02T19:00:56.483666
2021-02-12T21:41:37
2021-02-12T21:41:37
290,367,732
1
0
null
null
null
null
UTF-8
Python
false
false
519
py
#!/usr/bin/python3 """ a Python script that takes your Github credentials (username and password) and uses the Github API to display your id """ if __name__ == '__main__': import requests from requests.auth import HTTPBasicAuth as Basic_auth from sys import argv url = 'https://api.github.com/user' ...
[ "timmcmackenjr@gmail.com" ]
timmcmackenjr@gmail.com
b4acc3a4e2f24d68149425c261800c990e4fbca8
1d2bbeda56f8fede69cd9ebde6f5f2b8a50d4a41
/medium/python3/c0260_529_minesweeper/00_leetcode_0260.py
c26b539ad64f034a762406f546d245e3eda9c3f7
[]
no_license
drunkwater/leetcode
38b8e477eade68250d0bc8b2317542aa62431e03
8cc4a07763e71efbaedb523015f0c1eff2927f60
refs/heads/master
2020-04-06T07:09:43.798498
2018-06-20T02:06:40
2018-06-20T02:06:40
127,843,545
0
2
null
null
null
null
UTF-8
Python
false
false
2,580
py
# DRUNKWATER TEMPLATE(add description and prototypes) # Question Title and Description on leetcode.com # Function Declaration and Function Prototypes on leetcode.com #529. Minesweeper #Let's play the minesweeper game (Wikipedia, online game)! #You are given a 2D char matrix representing the game board. 'M' represents a...
[ "Church.Zhong@audiocodes.com" ]
Church.Zhong@audiocodes.com
5a4770325ad6b008b08159564c2e7211f47a3432
0f11686a24bc064c6c571367c93dd808ccb69aac
/migrations/0001_allow_delete_query.py
2cdbe0ddf2c3ddbf5dfa480d766007744c0ede32
[ "BSD-2-Clause-Views", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Why-Not-Sky/redash
86520cf5f40a77f3e8a5f7f79c621908d9007bb6
31fe547e03cb6eaecaa97b6c5d6d5e96193e7f79
refs/heads/master
2021-01-24T00:23:12.994466
2015-02-23T09:10:20
2015-02-23T09:10:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
from playhouse.migrate import Migrator from redash.models import db from redash import models if __name__ == '__main__': db.connect_db() migrator = Migrator(db.database) with db.database.transaction(): migrator.add_column(models.Query, models.Query.is_archived, 'is_archived') db.close_db(...
[ "arik@arikfr.com" ]
arik@arikfr.com
584b7c2b2c497f490e9e9a121f0f0159aca35c6c
f7d2114152ec5c8e283b6bfbb9feeb5a4337eb71
/ACL054400-python37/samples/CH02/hello_prj4/openhome/hi.py
fe78ad38bbd6aad2d40aa5cb005b8f1403a0522b
[]
no_license
faustfu/hello_python
f5759ff6bf87694e6ba472349f4263bc8ad479b0
1487e60e2d9307e1a0ebffbf26d8e075da806a39
refs/heads/master
2021-02-10T18:01:50.450295
2020-11-20T02:17:18
2020-11-20T02:17:18
244,406,161
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
import sys print('嗨!', sys.argv[1])
[ "faust.fu@gmail.com" ]
faust.fu@gmail.com
df9f297cdb087ab99a0f555a6ec2ef84e059c092
1f51c4e89a71ea3fcc2cc921613aacc19e078b69
/02_Intermediate Python/5-case-study-hacker-statistics/01_random-float.py
9c3b653911a459dd63757a0a93f6d9a078a15937
[ "MIT" ]
permissive
CodeHemP/CAREER-TRACK-Data-Scientist-with-Python
871bafbd21c4e754beba31505965572dd8457adc
13ebb10cf9083343056d5b782957241de1d595f9
refs/heads/main
2023-03-26T08:43:37.054410
2021-03-22T15:08:12
2021-03-22T15:08:12
471,015,287
1
0
MIT
2022-03-17T13:52:32
2022-03-17T13:52:31
null
UTF-8
Python
false
false
939
py
''' 01 - Random float Randomness has many uses in science, art, statistics, cryptography, gaming, gambling, and other fields. You're going to use randomness to simulate a game. All the functionality you need is contained in the random package, a sub-package of numpy. In this exercise, you'll be using two functions fr...
[ "ifaizymohd@gmail.com" ]
ifaizymohd@gmail.com
4aa2944f354f00821666e21ea2219ee36357c645
d3f58a0250a0abe566235c26b8508567b620af66
/diplomaticdoor.py
5f0bbed663771d06ab22e8850a3c24106dbcbf3f
[]
no_license
h1ghr0llerz/diplomatic-door
859d1c712f0bfaab22eeadc4c2420c90758dcbce
efbb1d874fd3bd9b5860968429ca0dd29a32540f
refs/heads/master
2020-12-27T21:23:15.135966
2020-02-03T21:11:56
2020-02-04T09:11:04
238,062,336
1
1
null
null
null
null
UTF-8
Python
false
false
5,386
py
import sys import diplomaticfingerprintreader import userstore import json import tempfile import os import requests import threading import re import functools import waitress import mimetypes from flask_batch import add_batch_route from flask import Flask, send_from_directory, send_file, request, Response, jsonify ...
[ "root@localhost" ]
root@localhost
0acefb24fe1a1f38c6464dc66fbb3fc7287deab9
39d4504ec1da8975fac526d6801b94f4348b6b61
/research/compression/entropy_coder/lib/blocks_lstm_test.py
07aa2139e3855ce18c16fd2e846de8999a5c2ba3
[ "Apache-2.0" ]
permissive
vincentcheny/models
fe0ff5888e6ee00a0d4fa5ee14154acdbeebe7ad
afb1a59fc1bc792ac72d1a3e22e2469020529788
refs/heads/master
2020-07-23T21:38:24.559521
2019-11-15T07:50:11
2019-11-15T07:50:11
207,712,649
1
0
Apache-2.0
2019-09-11T03:12:31
2019-09-11T03:12:31
null
UTF-8
Python
false
false
3,917
py
# Copyright 2017 The TensorFlow Authors All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
[ "1155107977@link.cuhk.edu.hk" ]
1155107977@link.cuhk.edu.hk
3e11bab7965a623c12878942b1f8122949964613
3e131c5277856935743280b351a6a7aa14842102
/ooni/config.py
96a1ee01e2262b51f22ff180a12c456f213bd14f
[ "BSD-2-Clause-Views" ]
permissive
hackerberry/ooni-probe
fd9a4e087a86e0f3327d28b405b15b83a434a364
9abf23f9fd2f8ef5b05e9c99b9213917439231ab
refs/heads/master
2020-05-17T17:18:56.789821
2012-11-04T05:01:37
2012-11-04T05:01:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from ooni.utils import Storage # XXX move this to an actual configuration file basic = Storage() advanced = Storage() advanced.debug = True
[ "arturo@filasto.net" ]
arturo@filasto.net
7fe98db517aa302f5361e1eac5409b5a61e7da2b
eb336ea356a6ce221d8e6e96521b9fcedaa90cfd
/scripts/workdir.py
a357c600a423aad9fcc5a667b1035fb834937838
[]
no_license
Hong-Xiang/XLearning
9fe8f03e8e5865f7278aafda4e07247a71eb870e
970c5d6c257d4c687bccae5627e224d2e0692f89
refs/heads/master
2021-01-13T08:37:35.802798
2017-10-16T08:02:09
2017-10-16T08:02:09
72,407,070
0
0
null
2017-10-16T08:02:10
2016-10-31T06:03:40
Python
UTF-8
Python
false
false
2,858
py
import sys import os import click import re import shutil from pathlib import Path import json from inspect import getfullargspec, signature def print_pretty_args(func, all_vars): if isinstance(func, click.core.Command): func = func.callback sig = signature(func) d = {} for param in sig.paramet...
[ "hx.hongxiang@gmail.com" ]
hx.hongxiang@gmail.com
59674940aa9f75a30c7b16475bbe6df582198f9f
3dc7279818c90cffba0b9798462d3085fbcfa329
/pack-dump.py
5daa14aee168cc0425a6d81aea3c621427fe0645
[]
no_license
pfalcon/git-pack-hacks
ec4675f3908739dd8ee5ba9fb279dad18da11cbd
a12382fcca165c7b874887fd69b4bf575808fcd6
refs/heads/master
2021-01-10T05:32:41.360246
2015-12-11T20:46:33
2015-12-11T20:46:33
47,850,526
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
# This tool allows to dump contents of git pack, similarly to # "git verify-pack -v", but unlike it, doesn't require .idx # file, only a pack itself. import sys import binascii from dulwich import pack from dulwich import objects from dulwich.objects import sha_to_hex from pprint import pprint OBJ_TYPES = { 1: "OB...
[ "pfalcon@users.sourceforge.net" ]
pfalcon@users.sourceforge.net
1798f29308a469bd9d7af338b3868e207cc39e5e
23e70fb87d4b0d7d38464fa7a019f448b35b15a6
/render.py
e35797c0c3644b7a39ba2127647a7cab727bac6d
[ "MIT", "CC-BY-3.0" ]
permissive
lyhiving/Chatbot_Web
6c3dc9a733cb6caea205962df20e8c6c5e739cee
b5c3cb315665007c6fd2fba9e35bd287e606846c
refs/heads/master
2023-03-17T05:53:52.993220
2020-05-01T09:03:31
2020-05-01T09:03:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
import os from jinja2 import Template def render(input_file, output_file): with open(input_file, encoding='utf_8') as input_fd, open(output_file, mode='w', encoding='utf_8') as output_fd: template = Template(input_fd.read()) # server_url = os.environ.get('CORE_SERVER_URL', 'http://nlp-server-ap...
[ "xushengquan@souche.com" ]
xushengquan@souche.com
3603bffa7ebea7cb2ebcc3f73cf4d430a699d8c9
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Ablation4/Gather2_W_fixGood_C_change/train/pyr_0s/L5/step10_a.py
0c5a9789555f6a0dbe2336269211396cbf46fb48
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
6,636
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
10d1f360e2bf1f8b93ce1da975edf8d70fd62d3e
4eebce0d0c1132aed8227325bd58faf61a4010c7
/CONTEXT_162/sum_of_gcd_of_tuples.py
88f0a579a71403d0b5ecf1c8d56750df055e3a2a
[]
no_license
xu1718191411/AT_CODE_BEGINNER_SELECTION
05836cfcc63dab2a0a82166c8f4c43c82b72686b
e4e412733d1a632ce6c33c739064fe036367899e
refs/heads/master
2021-07-17T00:59:46.315645
2020-09-22T06:14:27
2020-09-22T06:14:27
214,153,758
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
K = int(input()) import math import itertools def common(a, b): return math.gcd(a, b) def calculate(k): sum = 0 for i in itertools.combinations([i for i in range(1,k+1)],2): val1 = common(i[0],i[1]) * 6 sum = sum + val1 for i in range(1,k+1): val1 = i sum = sum + va...
[ "xu1718191411@gmail.com" ]
xu1718191411@gmail.com
ef9a54dfb7b882591e50fd27b2df6384d8ba0f2d
5382da72a477ef78c42604b811572b651618a7bc
/dashboard/dashboard/models/histogram_test.py
0d98900ff8f60f7e942433bc30db75e8fbe38562
[ "BSD-3-Clause" ]
permissive
KUNAL1612/catapult
2ab13b8835b91af599a2b41d46e7333df52adb6e
5bc80741d635f850e78248a04b988d8a6f3dec47
refs/heads/master
2021-05-15T20:58:15.698861
2017-10-20T21:43:42
2017-10-20T22:38:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,917
py
# Copyright 2017 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. import json import sys from dashboard.common import testing_common from dashboard.common import utils from dashboard.models import histogram from tracing.va...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
de91ee06edd9f49617067822c4230e3a06dae402
d274e22b1cc5d546855fe46b089b13cfe2f4047c
/june2021/solutions/day14_MaximumUnitsOnATruck.py
99be8e4332bfffaf7ebb150e104743f6e95a9dc6
[]
no_license
varunkumar032/lockdown-leetcode
ca6b7a8133033110680dd226c897dd8a1482682b
15a72a53be9005eca816f018cb1b244f2aa4cdfb
refs/heads/master
2023-06-30T08:31:54.323747
2021-07-12T11:29:59
2021-07-12T11:29:59
260,616,280
0
0
null
2021-05-06T10:24:48
2020-05-02T04:52:37
Python
UTF-8
Python
false
false
1,549
py
# You are assigned to put some amount of boxes onto one truck. You are given a 2D array boxTypes, where boxTypes[i] = [numberOfBoxesi, numberOfUnitsPerBoxi]: # numberOfBoxesi is the number of boxes of type i. # numberOfUnitsPerBoxi is the number of units in each box of the type i. # You are also given an integer truck...
[ "varunkumar032@gmail.com" ]
varunkumar032@gmail.com
cd4130b366d6fa90da7e56de3ccfbf47e140175d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_321/ch28_2020_03_09_23_05_51_377501.py
faaaa7f9f4da3d2c9ca1d71025fd6db7cfa1982f
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
i = 0 while (i < 99): f = i + (1/2**i)*i i+=1
[ "you@example.com" ]
you@example.com
7a388077a52171b27f7355e91015040a6f81cce0
acb07c67041b3e9fe01524bac19bff6d495fb9ce
/tests/chat.py
2d56fa7ac4c86bc9310da26b8394d5889f58f246
[]
no_license
BasementCat/jump
49645b4cc09fea84867b51852d3c5b93204aaebd
187b285147fbc8f0c30abdd205e3ee634992f2b5
refs/heads/master
2020-06-07T03:20:23.305282
2015-02-07T05:52:53
2015-02-07T05:52:53
8,126,421
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
import select import re class Chat (object): def __init__(self, sock, timeout = 10, line_term = ""): self.sock = sock self.timeout = timeout self.line_term = line_term def rexpect(self, what): r, w, e = select.select([self.sock], [], [], self.timeout) if len(r) < 1: ...
[ "alec.elton@gmail.com" ]
alec.elton@gmail.com
9eff4e9c3fab7fba35e2a5933dfd870b35528521
4dd5dbebc7b7f6dbfcbd6cc662311c91ad6d47e9
/AtCoder/ABC075C.py
97c06cb3faf0bd345613bdb65c113f327ea1372c
[]
no_license
sourjp/programming_contest
aa6925b3317bd3aeb646df93a611af1199bfc7aa
2a50e1be45441789e81eb49bfdfc0c598d2a534b
refs/heads/master
2021-04-01T05:08:44.097226
2020-08-20T13:01:55
2020-08-20T13:01:55
248,158,920
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
def dfs(graph, visited, edge): visited[edge] = True for i in range(n): if graph[edge][i] == 1 and visited[i] == False: dfs(graph, visited, i) if sum(visited) == n: return True else: return False n, m = map(int, input().split()) input_list = [] for i in range(m): input_list.ap...
[ "hiro0209.ki@gmail.com" ]
hiro0209.ki@gmail.com
fa3ce200d7e65657d2de15bad6462a2f54cc9782
13f4a06cd439f579e34bf38406a9d5647fe7a0f3
/nn_ns/data_structure/TreeNodeOps/RedBlackTreeNodeOps/IRedBlackTreeNodeOps__itrinode_restructure.py
52a22373e1ca253ea8af2da66e44ce2878764b2d
[]
no_license
edt-yxz-zzd/python3_src
43d6c2a8ef2a618f750b59e207a2806132076526
41f3a506feffb5f33d4559e5b69717d9bb6303c9
refs/heads/master
2023-05-12T01:46:28.198286
2023-05-01T13:46:32
2023-05-01T13:46:32
143,530,977
2
2
null
null
null
null
UTF-8
Python
false
false
4,465
py
__all__ = ''' red_black_tree__itrinode_restructure red_black_tree__itrinode_restructure__for_double_red_when_uncle_is_black '''.split() if False: # red_black_tree__itrinode_restructure get_parent = ops.get_parent get_sibling = ops.get_sibling get_parent_info = ops.get_parent_info is_le...
[ "wuming_zher@zoho.com.cn" ]
wuming_zher@zoho.com.cn
d583643fac052d8ecc5adb05adca3f69c0e797c4
4f00a3d537c39a092046afd00d22ba7d1fe390f6
/Assignment 2/205.py
03dbcf2aedec91ce86db6aa58e128b6fd0bc186f
[]
no_license
ocarlott/WB
2ae8d4883b4cb82ac42f6a9cfd0323295f1af261
62a2c1b549e6d92fb8cf43541ac79117ef005a8c
refs/heads/master
2020-06-09T11:18:44.874311
2019-08-10T23:33:54
2019-08-10T23:33:54
193,428,912
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
class Solution: def isIsomorphic(self, s: str, t: str) -> bool: usedSet = set() # O(N) for space translateMap = {} # O(N) for space translated = "" # O(N) for space for i in range(len(t)): # O(N) if t[i] in translateMap: translated += translateMap[t[i]] ...
[ "noreply@github.com" ]
ocarlott.noreply@github.com
c4b8d8fd5100c8b769d8e0b95809cf4cde798b56
a553112627ff031581d0a58fb9ef6bb43464b063
/tests/test_world.py
fabc20b2d58b6511efb46a91dd958836021e68fc
[]
no_license
benbroks/aitk.robots
fa8b397b7c5d73f8ac14b0fa7b7653eceb92f1d1
d6ef4c138f468bde2dff8bdff06d681ef4ab5a2e
refs/heads/master
2023-08-20T21:23:55.915178
2021-10-09T19:26:08
2021-10-09T19:26:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
# -*- coding: utf-8 -*- # ************************************* # aitk.robots: Python robot simulator # # Copyright (c) 2020 Calysto Developers # # https://github.com/ArtificialIntelligenceToolkit/aitk.robots # # ************************************* import aitk.robots from aitk.robots import World, Scribbler def te...
[ "doug.blank@gmail.com" ]
doug.blank@gmail.com
d3578a160983626ba4dd3d269eee4fe11fdc87e0
32c44b66ec20651893aaa83da355740784c85d94
/python/rsyscall/tasks/stdin_bootstrap.py
82ddb75cf720d3cba9096977f8275ceb76885bfe
[]
no_license
LongJohnCoder/rsyscall
1dbbba3aa7dcae3b018c159f409f3c56a1c5f896
1b4c0f51f92c0a1b91e1b45389fcecb1f0cc29bf
refs/heads/master
2023-06-10T02:45:35.711203
2021-07-03T18:52:00
2021-07-03T19:42:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,700
py
"""A thread-creating stub which can be exec'd by other programs which pass down stdin The user creates an arbitrary Command which eventually execs rsyscall-stdin-bootstrap, and calls stdin_bootstrap with it; stdin_bootstrap runs the command and returns a thread created from the eventually-exec'd rsyscall-stdin-bootstr...
[ "sbaugh@catern.com" ]
sbaugh@catern.com
af8621eb92651c7161b915735b8ea29c9d245dda
803563d4c0b1fc93bf25f5b7a3ceb3be3b12335e
/tests/python/programs/original/k-python/programs/testformat5.py
a900f1b82161a74bdad5ef31da74a49a4b74847d
[]
no_license
koehlma/rigorous
f1c08b2e9c19161e1f9326db0670c26d99de9e6f
b7ff99372dd24845cf84e58c96b877f15764b276
refs/heads/master
2023-04-12T00:35:10.348755
2021-09-14T06:57:54
2021-09-14T06:57:54
321,338,545
12
1
null
null
null
null
UTF-8
Python
false
false
623
py
try: "{".format() assert False except ValueError: try: "}".format() assert False except ValueError: try: "{1{}".format() assert False except ValueError: try: "{}{1}".format("1", "2") assert False except ValueError: try: "{1}{}".format("1"...
[ "mail@koehlma.de" ]
mail@koehlma.de
5122eaa75cce10f3bc2516a66c4a5304971ebf66
9730c37b2c0a85e4bc5df76536f6f5630f31e2b9
/data.py
ac794dc83794492c5ef71944932da51dd7f75267
[]
no_license
mehdidc/feature_generation
8589a0bca18dae1e5243919a9c122d19a00cd6ed
da2142d4682910f088c764eb9e02e8f4a353a713
refs/heads/master
2020-04-28T02:02:53.786644
2019-03-13T14:07:19
2019-03-13T14:07:19
174,883,039
1
0
null
null
null
null
UTF-8
Python
false
false
32,700
py
import numpy as np import os from skimage.io import imread from lasagnekit.datasets.helpers import split from helpers import DataGen, DataFutureWrapper from data_future import loader def load_data(dataset="digits", w=None, h=None, include_test=False, batch_size=128, ...
[ "mehdi@cherti.name" ]
mehdi@cherti.name
c89836bb380ee6bb4c61f06d0b1a0012951d34b4
c50cf19707ecf44c8e15acf0e994d288fe4f01a7
/idlecars/constants.py
c9309b34a2fd47fd9245c79402578cb38d4b68a7
[ "MIT" ]
permissive
JeremyParker/idlecars-backend
ee5981356c60161dee05c22e01e5c913e73083c0
819cce48e4679d61164b238b81dab0e4d51b8afa
refs/heads/master
2021-03-16T04:29:43.287760
2018-03-03T23:16:02
2018-03-03T23:16:02
31,734,223
3
1
null
null
null
null
UTF-8
Python
false
false
116
py
# -*- encoding:utf-8 -*- from __future__ import unicode_literals MAX_PASSWORD_LENGTH = 1000 MAX_EMAIL_LENGTH = 254
[ "github@jeremyparker.org" ]
github@jeremyparker.org
807e28be9346c1388b5b523daf5898feff358765
b54ccf9239410941e957452116ba0fc0283ea9e9
/venv/bin/pip3
f144a8e2cfb8935643367d31569cb14d3e12a0ec
[]
no_license
AlterFritz88/stepik_page_object_project
3bca423a8509adb4e515e12b57e671460966e853
3a2bacf119bff7966e13017757739ccbe4d8ac20
refs/heads/master
2020-06-10T16:18:53.499638
2019-06-27T07:35:22
2019-06-27T07:35:22
193,673,329
0
0
null
null
null
null
UTF-8
Python
false
false
421
#!/home/sasha/PycharmProjects/stepik_page_object_project/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', s...
[ "burdin009@gmail.com" ]
burdin009@gmail.com
e4c3f19c645279aee290cbdd430b0baa6d7fc001
747f759311d404af31c0f80029e88098193f6269
/addons/sale_expected_invoice_date/__init__.py
96e999de7e7a576491e63b6168a3446bd60afea2
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
76
py
/home/openerp/production/extra-addons/sale_expected_invoice_date/__init__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
0fd46d61cbba5b4e30b13dff527ed689bd7fec5f
9a0eb3e292d57b59198c7c66a994372ced9cfa5b
/nodes/0.8.x/python/Object.Members.py
c6a93a7e3b61e19016a6f135f68f65b28b511cfd
[ "MIT" ]
permissive
andydandy74/ClockworkForDynamo
544ddf0893f5c0072fca7934f4e128001771f767
528400c667c4c3f2b51814af84e85c8fab8a8059
refs/heads/master
2023-08-19T03:07:33.489926
2023-08-13T04:31:17
2023-08-13T04:31:17
15,043,988
184
100
MIT
2023-09-04T18:47:40
2013-12-09T10:11:01
Python
UTF-8
Python
false
false
191
py
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * items = UnwrapElement(IN[0]) elementlist = list() for item in items: elementlist.append(dir(item)) OUT = elementlist
[ "dieckmann@caad.arch.rwth-aachen.de" ]
dieckmann@caad.arch.rwth-aachen.de
8ce75ac452499e392e494b110996d56871ccbd8b
7142c3941481e661075154d714a29d5e283a3074
/PythonLambdaFunctions.py
e028f4ef178bf7e363dccc89af113da0ad5d62fc
[]
no_license
nirajan5/Demo
5642a9669fedcca47b0304ac423c0b3e6333b8e2
2451875bf5698cd38af69baa117c14099951bc9f
refs/heads/master
2023-07-27T17:04:03.689673
2021-09-15T11:14:25
2021-09-15T11:14:25
406,732,005
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
# a is an argument and a+10 is an expression which got evaluated and returned. x = lambda a: a + 10 # Here we are printing the function object print(x) print("sum = ", x(20))
[ "jhanirajan5@gmail.com" ]
jhanirajan5@gmail.com
7fdead589b89c7ce461c4c84e9aeaf9f4b2f9e32
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/distaff.py
05096c251a31f77f78cd0325d171fd2455cc8e2b
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
274
py
ii = [('MarrFDI.py', 1), ('KembFFF.py', 2), ('WilkJMC3.py', 1), ('PettTHE.py', 1), ('WilkJMC2.py', 2), ('CarlTFR.py', 3), ('GrimSLE.py', 2), ('LandWPA.py', 1), ('HowiWRL2.py', 3), ('BowrJMM.py', 1), ('JacoWHI.py', 1), ('RogeSIP.py', 1), ('NortSTC.py', 1), ('BeckWRE.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
b6893e81ca508e23e212516e41cf045bbcc00e7e
3bb57eb1f7c1c0aced487e7ce88f3cb84d979054
/paetzold_nns/scripts/cleaners/Produce_Training_Unsupervised.py
7bfc6a25df47d0d1aa4b052b33fcf1e0b7506aa6
[]
no_license
ghpaetzold/phd-backup
e100cd0bbef82644dacc73a8d1c6b757b2203f71
6f5eee43e34baa796efb16db0bc8562243a049b6
refs/heads/master
2020-12-24T16:41:21.490426
2016-04-23T14:50:07
2016-04-23T14:50:07
37,981,094
0
1
null
null
null
null
UTF-8
Python
false
false
988
py
import os def getSubs(generator): result = {} f = open('../../substitutions/' + generator + '/substitutions.txt') for line in f: data = line.strip().split('\t') target = data[0].strip() candidates = data[1].strip().split('|||') res...
[ "ghpaetzold@outlook.com" ]
ghpaetzold@outlook.com
d71d327a1be675a9f042a3804c9aa53a660d08d0
93fdd147f95ca39a51539f63bc4fd0fb503e9e4a
/sqlvalidator/file_handler.py
3b76d00c99b27b26d346551a0954ff818aee5a69
[ "MIT" ]
permissive
David-Wobrock/sqlvalidator
cba2228a634bfe3c6a47c24cc74e67a57f6f3973
9e5bb468ba8f4364715e2da7b1804caf5eaaf83c
refs/heads/main
2023-07-19T05:14:41.777220
2022-12-25T15:28:09
2022-12-25T15:28:09
188,714,154
57
12
MIT
2023-03-22T19:19:02
2019-05-26T17:46:56
Python
UTF-8
Python
false
false
13,745
py
import os import sys import tokenize from typing import IO, List, Optional, Set, Tuple from . import sql_validator NO_SQLFORMAT_COMMENT = "nosqlformat" NO_SQLVALIDATION_COMMENT = "nosqlvalidation" POSSIBLE_QUOTES = ('"""', "'''", '"', "'") STRING_PREFIXES = ( "r", "u", "ur", "R", "U", "UR", ...
[ "david.wobrock@gmail.com" ]
david.wobrock@gmail.com
a44d6d2ce3e7c85f2eab1731c2032159d5d1d220
5105403f2b75990654519438d8ceabcf80962ebf
/docs/bokeh/source/docs/first_steps/examples/first_steps_3_legend.py
27e93694c0b0e452e5c18a2c8c4cd8a80a0c26b1
[ "BSD-3-Clause" ]
permissive
bokeh/bokeh
ed1d81eb07d27d27c6710c9fec9114886047f528
310cb2cbeabc4c4b8180cbda566df16039737cdc
refs/heads/branch-3.3
2023-08-31T23:53:06.537061
2023-08-30T03:43:05
2023-08-30T03:43:05
3,834,332
17,174
5,251
BSD-3-Clause
2023-09-14T11:37:23
2012-03-26T15:40:01
Python
UTF-8
Python
false
false
1,002
py
from bokeh.plotting import figure, show # prepare some data x = [1, 2, 3, 4, 5] y1 = [4, 5, 5, 7, 2] y2 = [2, 3, 4, 5, 6] # create a new plot p = figure(title="Legend example") # add circle renderer with legend_label arguments line = p.line(x, y1, legend_label="Temp.", line_color="blue", line_width=2) circle = p.cir...
[ "noreply@github.com" ]
bokeh.noreply@github.com
07d6b36209aa15e8297dd67d24141370422d42fe
6bee4274f2fec50b5ced99a6051426208c8c294e
/구조체연습/4751.py
f601a20e994117e36977c0f021343f63a249510f
[]
no_license
hongyeon-kyeong/CodeUp
5f87bb30a7c9c0246e7fd720549e5528c9a79de7
d41b697b2cddd0598d09469f8bc4fd1311851410
refs/heads/main
2023-02-07T07:28:54.161000
2020-12-28T14:23:05
2020-12-28T14:23:05
312,964,588
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
import sys import collections Student = collections.namedtuple('Student',['cid','sid','score']) Studs = [] n = int(sys.stdin.readline().rstrip()) for _ in range(n) : c, s, sc = map(int,sys.stdin.readline().rstrip().split()) Studs.append(Student(c,s,sc)) for i in range(n) : for j in range(n-1-i) : if Studs[j].sc...
[ "hyjykelly@gmail.com" ]
hyjykelly@gmail.com
083b059a7de52cb023ee466c230f07c0aedfdca1
6ca9a7ed179ed96857c86dd91d5f81ad07be4690
/KnowledgeMapping/SpiderExp/1-Code/搜房网/6_crawl_house.py
c9b06f1a0ab3ef67a433b3ec4ac658acb7cc8c55
[ "MIT" ]
permissive
nickliqian/keep_learning
ede172048cb1473013aa506a943ebe0c7c416065
be120ce2bb94a8e8395630218985f5e51ae087d9
refs/heads/master
2021-04-25T18:23:47.808870
2020-07-31T09:52:20
2020-07-31T09:52:20
108,302,688
8
3
null
null
null
null
UTF-8
Python
false
false
10,902
py
import json import os import re import pymysql import requests from lxml import etree import time import random import redis import threading import logging from json.decoder import JSONDecodeError from requests.exceptions import ReadTimeout, ConnectionError class ResponseAbnormalError(Exception): pass class Sp...
[ "nickliqian@outlook.com" ]
nickliqian@outlook.com
7e65f2bbd85bb0a03c8d566481f52a4114da8669
f0ecb285e8d4c3abd8be1343d36e0600814244ab
/mcc-server/mcc/packs/admin.py
4f2717c671cec84ff6ab6a2aa1fe1b7c019763eb
[ "MIT" ]
permissive
kk6/mcc
79d4a015a2003b16ced3b117839cf030721087d2
9d69221cb969da29d3c7306885f877b21a3922a7
refs/heads/main
2023-04-27T08:07:59.896461
2021-05-09T08:21:00
2021-05-09T08:21:00
365,567,446
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from django.contrib import admin from .models import CitPack class CitPackAdmin(admin.ModelAdmin): list_display = ("name", "official_site") admin.site.register(CitPack, CitPackAdmin)
[ "hiro.ashiya@gmail.com" ]
hiro.ashiya@gmail.com
fbe0861244a924fc8492529dc5d2318be4a3196b
c50598d4ce8e6c906748021060f1df84e16372ca
/doc/conf.py
b45c8e5530c3fa60ec657698574bc23a46294f56
[ "MIT" ]
permissive
BacemDataScience/Cell_BLAST
f4407571e321fbc6aeb8642a994767e6e1f381fa
d0e25fa695cb8cebcba68dd32fe5e7e96743803f
refs/heads/master
2020-09-10T02:31:00.758648
2019-09-28T16:06:55
2019-09-28T16:06:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,926
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "caozj@mail.cbi.pku.edu.cn" ]
caozj@mail.cbi.pku.edu.cn
4ecab217a1599ccd87fafa8fe53b7143877c2a64
ef3d4130f28c7c589c646b15d19010cf426fc0f6
/doc/src/week39/codes/test2.py
8a58d4ce8f0bd69a2755ea1cfeb9a4392b1b94c1
[ "CC0-1.0" ]
permissive
CompPhysics/MachineLearning
54e1123a96060d824307f270415646494783cff5
00a2bd1a7efde5fbfd9b9d6d6c365dcd82fe8baf
refs/heads/master
2023-09-06T02:34:28.559589
2023-09-05T13:16:27
2023-09-05T13:16:27
103,986,991
154
136
CC0-1.0
2022-11-18T11:01:02
2017-09-18T20:11:45
null
UTF-8
Python
false
false
703
py
import numpy as np from scipy.stats import uniform as sp_rand from sklearn import datasets from sklearn.linear_model import Ridge from sklearn.model_selection import RandomizedSearchCV # load the diabetes datasets dataset = datasets.load_diabetes() # prepare a uniform distribution to sample for the alpha parameter para...
[ "morten.hjorth-jensen@fys.uio.no" ]
morten.hjorth-jensen@fys.uio.no
72e9e6574b7bb01935762ca95968cce16e5e3ad5
6550cc368f029b3955261085eebbddcfee0547e1
/第6部分-Django(哪吒,肖锋)/django-2-进阶-肖锋/day69/day69/orm_homework/app01/migrations/0001_initial.py
5bf7bb0d5b25584f88bdcce2c264025a7a56ae63
[]
no_license
vividyellow/oldboyeduPython14qi
d00c8f45326e16464c3d4e8df200d93779f68bd3
de1e9f6efafa2846c068b3fe5ad6e1ca19f74a11
refs/heads/master
2022-09-17T21:03:17.898472
2020-01-31T10:55:01
2020-01-31T10:55:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-10-15 01:30 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
[ "524991368@qq.com" ]
524991368@qq.com
74509a21e1754e2a22bd0585a07beed96564da07
06be10a389854dc47e3dba0afffc4410bbb407ce
/debolemix/dbolemix/bolemix/admin.py
00b3bb9b5f24369d6d4511b9373eeba2e11b6998
[ "MIT" ]
permissive
samuelatuma1/projects
76eb9fad2b684b6316d3f22975cf615b71503fba
744fbdc70afe1b25ff6df944d401f50b8b5d012e
refs/heads/master
2023-02-12T09:11:46.541885
2021-01-17T12:23:49
2021-01-17T12:23:49
300,144,541
1
0
null
null
null
null
UTF-8
Python
false
false
258
py
from django.contrib import admin # Register your models here. #With this, admin(s) can manipulate these tables all they want from .models import Yam, Potatoe, Plantain admin.site.register(Yam) admin.site.register(Plantain) admin.site.register(Potatoe)
[ "atumasaake@gmail.com" ]
atumasaake@gmail.com
3568a3d0fe137b15650fae01e2fd7836f23c38ca
7ce8670cc2b63a01aa4fa08ff040dc2ea2304c04
/auth_module/migrations/0007_auto_20180918_0920.py
4dbf5f217f33eefe662fb03a3f270f94ec17aca6
[]
no_license
Shamsulhaq/sonomm
bca793f21fbbb698a498159fc592063751099cd2
0d1fed65bfcc8829b80c018ca460ce198869a21f
refs/heads/master
2020-03-26T08:05:46.667063
2018-11-28T18:41:35
2018-11-28T18:41:35
138,379,757
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
# Generated by Django 2.1.1 on 2018-09-18 09:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('ecommarce', '0014_remove_order_delivery_area'), ('auth_module', '0006_auto_20180918_0909'), ] operations = [ migrations.RemoveField( ...
[ "bmshamsulhaq65@gmail.com" ]
bmshamsulhaq65@gmail.com
ef0d66b5a6a98eac085d37c9ff2b6ee684b8667c
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/DtBankPreferenceDiscountRule.py
330b4bfc5962765c08da6afcebf568b49c731365
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,337
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class DtBankPreferenceDiscountRule(object): def __init__(self): self._max_amount = None self._ratio = None @property def max_amount(self): return self._max_amount ...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
3f8411973c257d0b95b17da0ed40cd260a2aad7c
e5773eee210e2fa0f7f64e6f2640efb41d814ca4
/codefights/arcade/land_of_logic/spiral_numbers.py
7fb331bfc0bc10f4c03850813e4d8fbbafa1221d
[]
no_license
djaychela/playground
2513b8b5b32ff0e7351cd2ba469e9bd718decfd9
0a94ac251f150673b15a9e00d3664f9eff14369d
refs/heads/master
2021-07-17T09:30:11.651857
2019-01-16T13:47:13
2019-01-16T13:47:13
112,640,280
1
0
null
null
null
null
UTF-8
Python
false
false
648
py
def spiralNumbers(n): coord = [0, -1] dirs = [[0, 1], [1, 0], [0, -1], [-1, 0]] val = 1 dir_ptr = 0 ctr = 1 # set for first time output = [[0 for _ in range(n)] for _ in range(n)] current = 0 while n > 0: while current < n: coord[0] += dirs[dir_ptr][0] co...
[ "djaychela@gmail.com" ]
djaychela@gmail.com
351fd19f3f72c1079ea58324f1db9d89e153494c
9349cd31fed274e7dc878c2fa57828ba4afb5368
/backend/dating/api/v1/serializers.py
72a06ddff3a1cbbcb97b71c35a83a20173672f49
[]
no_license
crowdbotics-apps/symh-25279
58fe6a7f7777b1b61aeb9bc38d1081d548a600db
1c4fe4a8cfc52acdcbeb7164e45975b6c0b48107
refs/heads/master
2023-03-27T06:23:04.054805
2021-03-26T15:05:03
2021-03-26T15:05:03
351,819,211
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
from rest_framework import serializers from dating.models import Setting, Profile, Inbox, Dislike, Match, UserPhoto, Like class MatchSerializer(serializers.ModelSerializer): class Meta: model = Match fields = "__all__" class SettingSerializer(serializers.ModelSerializer): class Meta: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com