blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
0c0c96329a80a01c75b885a1de44d8ad5ef2138d
64965365bfeb800c9b4facae7d707f752c922d9c
/args_aula.py
9d4788c4db0121d903f357ba664099c15d84c3df
[]
no_license
RafaelNGP/Curso-Python
585b535f1383931286d897fe2745a1a976e3a3b8
0300566578b176071abe7083b222d4fa8a338e90
refs/heads/master
2020-12-03T17:33:35.907478
2020-06-26T18:33:27
2020-06-26T18:33:27
231,409,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,942
py
""" Entendendo o *args - Eh um parametro, como outro qualquer. Isso significa que voce podera chamar de qualquer coisa, desde que comece com * por ex: *xis mas por convencao, todos utilizam *args para defini-li. O QUE EH O ARGS?? O parametro *args utilizado em uma funcao, coloca os valores e...
[ "rafaelferreira.dev3@gmail.com" ]
rafaelferreira.dev3@gmail.com
51f55bc16f6ed44f56ff1aebecc74e8ef660f3e9
222b17dacb95640499ebd484697ead32e83b9ac1
/find_defining_class.py
3bf7302beb99684035cd35f6b235fee80a90520b
[]
no_license
cicekozkan/python-examples
08330ef0fb1678cace17716ac2f490a3c5b95dd2
01b0e654c884946f8353995333a6946062c9c158
refs/heads/master
2021-01-14T14:06:37.585963
2014-12-26T07:55:13
2014-12-26T07:55:13
25,510,316
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
# -*- coding: utf-8 -*- """ Created on Mon Nov 17 11:46:43 2014 @author: ocicek """ def find_defining_class(obj, meth_name): """takes an object and a method name (as a string) and returns the class that provides the definition of the method""" for ty in type(obj).mro(): if meth_name in ty.__dict_...
[ "cicekozkan@gmail.com" ]
cicekozkan@gmail.com
663f935d7eb0b3d622d212ba615d6a7387719c88
c4cb90afb658a822c4ab867eec979227c0a25a6d
/testdemo/settings.py
752c0a3676d4faf49f9a97caa9ee3abc5b89683d
[]
no_license
Contraz/demosys-py-test
81afb3dd801c0deb6046ddb0e7836de61182a36f
2aa760cb94ea34e3fb610ca8c43f1549ba9b53de
refs/heads/master
2021-01-19T16:58:33.608630
2018-07-13T07:59:34
2018-07-13T07:59:34
88,294,443
1
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
import os PROJECT_DIR = os.path.dirname(os.path.abspath(__file__)) DEBUG = False SCREENSHOT_PATH = os.path.join(PROJECT_DIR, 'screenshots') # Profile: any, core, compat OPENGL = { "version": (3, 3), } WINDOW = { "size": (1280, 720), "vsync": True, "resizable": True, "fullscreen": False, "ti...
[ "eforselv@gmail.com" ]
eforselv@gmail.com
f1ef29d00b9e612458bdb8429ac6cc2833dcfeb1
cd58faaffc84a4b1194fa55206ecce3458289edb
/setup.py
00f05e0c3c24ac0059253c0b709c8ccd9fd0b61a
[ "MIT" ]
permissive
danieleteti/revelation
89327833d896c7350d41a7983d4781d980134a79
de4f8221e6c78aca174600dd333b0f9a5f62baa2
refs/heads/master
2020-03-21T08:10:47.420032
2018-07-17T18:05:17
2018-07-17T18:05:17
138,326,204
0
0
MIT
2018-06-22T16:43:33
2018-06-22T16:43:33
null
UTF-8
Python
false
false
2,222
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """revelation setup file""" import os import re from setuptools import find_packages, setup PACKAGE = "revelation" REQUIREMENTS = [ "Jinja2==2.10", "Werkzeug==0.14.1", "click==6.7", "gevent-websocket==0.10.1", "gevent==1.3.4", "watchdog==0.8.3", ]...
[ "humrochagf@gmail.com" ]
humrochagf@gmail.com
48f3584a790de2d2e0b3bcbc8564f738a07d7db1
4760101a6c297c4b4b0e96f5ae7fb8c94c2abda6
/cs_591/hw1/Swell.py
0922c9bccb5bb0bd5ed7e2c7ba7ab360210abbc9
[]
no_license
ssikdar1/grad_school
6fc739c7638e64a0a9974c920ac808c3989c9109
cfcdcd70fab5b4083515abb2afe10c9dd5c27923
refs/heads/master
2016-09-06T11:46:42.754021
2014-10-27T16:17:10
2014-10-27T16:17:10
13,286,075
6
3
null
null
null
null
UTF-8
Python
false
false
2,295
py
#Problem 3: Write a program Swell.py which prompts the user for the name of a mono input file, and produces a mono output file which takes the musical signal from the input file and changes the amplitude in the following way: the signal will start at amplitude 0, increase linearly until exactly half way through the fil...
[ "shan.sikdar@gmail.com" ]
shan.sikdar@gmail.com
233a03f97ecdb2657432694ef3554ae545d0dda9
13adab7e3e09f69dfc74ac0fad96d3a4a350db9d
/src/game/data_structures/states.py
25efe554d83825e6886957f1bb48628844731861
[ "MIT" ]
permissive
richlanc/Game_of_life
5f4150c2258a97778021b8841309a03c826ca01c
3784b694c5d89df05a2b9d5cbf2a0596d8bf5a86
refs/heads/master
2020-12-03T05:10:41.430658
2014-01-05T14:23:06
2014-01-05T14:23:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
''' Created on 20 Oct 2013 @author: Richard and Michael This is a module containing the State class and all classes derived from it. ''' class State(object): """ This class represents the state of a cell at any given time. NOTE: This class is abstract. """ def __init__(self): """ ...
[ "mw362@kent.ac.uk" ]
mw362@kent.ac.uk
c389de36a0b5295a4cec6e9ccfb15f6e11845d20
1f3cfc88c3b9d51d626f3e71301d6fd25ef2738b
/vegefoods/accounts/migrations/0009_auto_20190812_1913.py
67ef3e510a576d5d99a0e5f43c3e59622a1b60c2
[]
no_license
farzan-web/django-vegetableshop
cde071b8fab98901e193eec198c3b0e95efc3dcd
7713808046ca2b2cd009765a21c61713352eb014
refs/heads/master
2020-07-05T20:35:24.087796
2019-08-16T16:58:16
2019-08-16T16:58:16
202,766,474
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
# Generated by Django 2.2.1 on 2019-08-12 14:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0008_auto_20190812_1909'), ] operations = [ migrations.AlterField( model_name='profile', name='address',...
[ "farzan.moradi71@gmail.com" ]
farzan.moradi71@gmail.com
df5e27dbf8300206dc4e4fdd743705abeca3d79a
42d4fd4b5ecf073ed7eda60bb12347a7e2281a60
/uvfits_to_ms.py
856f0ceaf02f321096560bd1157dac9f6e28c034
[ "BSD-3-Clause" ]
permissive
tyler-a-cox/HERA_beam_mapping
6d0d57cf344262f58d2e5c0cd75f5df161b5da81
ef45242b73219017c0403b18048136f2feafa234
refs/heads/master
2023-07-13T02:37:46.356293
2021-08-12T20:03:04
2021-08-12T20:03:04
177,019,152
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
""" Example: casa -c uvfits_to_ms.py /path/to/data/*.uv """ from casa_imaging import convert_uvfits if __name__ == "__main__": try: folders = sys.argv[3:] for folder in folders: convert_uvfits(folder) except IndexError: print("No file specified for conversion from uvfits to...
[ "tyler.a.cox@berkeley.edu" ]
tyler.a.cox@berkeley.edu
40442ff6a3e8d55c9463efb03745c7f4f7599364
3b14022e319adc1d51583bf323b52d60b6bdcae3
/deepfield/field/rates/__init__.py
05a1c2af9b673a70c2fd21c73c81c939c03b3708
[ "Apache-2.0" ]
permissive
scuervo91/DeepField
0b7008f76e0789cd80ad3bbdf65027b5815921f9
3b336ed110ff806316f1f6a99b212f99256a6b56
refs/heads/main
2023-07-07T13:03:16.869291
2021-08-14T09:55:52
2021-08-14T09:55:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
"""Init file""" from .blocks_info_upd import apply_perforations, calculate_cf from .plot_rates import show_rates, show_rates2, show_blocks_dynamics from .calc_rates import calc_rates, calc_rates_multiprocess
[ "egor.mypost@gmail.com" ]
egor.mypost@gmail.com
f25824b60d5d366a1303a8ecdeb33674f8eee4e7
de12b4939bc67ba4a1438a1b90fb2dc83725930c
/emg_hom_iso_unbound/export_as_pandas.py
1440ba5e1d5077524915eaf97ba820c9d7bc062f
[ "Apache-2.0" ]
permissive
UAS-Embedded-Systems-Biomechatronics/EMG-concentrated-current-sources
d239a9080e224868a0c61dc90af1bbd94ad2ba2b
567280d71c6bc32f6afd1f12c08091361a5b3ab6
refs/heads/main
2023-06-07T10:56:55.772829
2023-06-01T14:03:08
2023-06-01T14:25:48
609,161,536
0
0
null
null
null
null
UTF-8
Python
false
false
3,763
py
# Copyright 2023 Malte Mechtenberg # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
[ "mmechtenberg@fh-bielefeld.de" ]
mmechtenberg@fh-bielefeld.de
30dc3b2da46f46ecc794ac6ddebb62d32642eee8
933450b76a6ebfc06f5ee8bd09a03e5eecd79081
/itm-413/final/connection.py
a06d769ff728e980eeb287f6515e69f6bd5b8cfa
[ "MIT" ]
permissive
bradyhouse/iit
7a2e0e1d81a0d02dc432bc7a5a2b76fde7bd8865
7d1e91864467f56fa6dc901a83e97977630132b3
refs/heads/master
2022-07-07T01:20:45.808092
2016-08-27T17:11:46
2016-08-27T17:11:46
66,312,487
1
1
MIT
2022-03-25T15:57:02
2016-08-22T22:22:26
JavaScript
UTF-8
Python
false
false
105
py
db_host_name="127.0.0.1" db_name="TestDB" db_user="testuser" db_password="test123" db_table_name="brady"
[ "bradyhouse@gmail.com" ]
bradyhouse@gmail.com
e2f505d0488a2ed6b0f324d7951de077e1ea375f
9530809bf3772806290305b82171faf84fe7c500
/books/migrations/0003_add_page_year_cover_to_book_model.py
2ff994507851925a0aa76a1af7ea759af2f6b741
[ "Beerware" ]
permissive
tomasz-rzesikowski/books_poc
a764fbd939b5215bda7189290f63e9498874bcf5
9f253db1ef6c35fe91a6b8d65317a85532986344
refs/heads/master
2023-03-23T05:17:50.536208
2021-03-23T19:41:17
2021-03-23T19:41:17
349,726,277
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
# Generated by Django 3.1.7 on 2021-03-20 16:36 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('books', '0002_change_isbn_in_book_model'), ] operations = [ migrations.AddField( model_name='book'...
[ "tomasz.rzesikowski@gmail.com" ]
tomasz.rzesikowski@gmail.com
1763b815e273475b326541c6b358d67877c9a015
dc375c2e22ebf0a56703ad84d09494a49d994c7c
/genrxkt0.py
c8e87d48c9439d6e5f396a1cab7c2633365364ab
[]
no_license
chen17/rxkt0
ad7a0b32453890745092121eb8063a41c3cb11e1
66713aecd2f82395e56ec360747b79b3500b0bba
refs/heads/master
2021-01-13T10:56:03.973637
2016-11-14T05:30:45
2016-11-14T05:30:45
72,267,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
import fontforge import subprocess import urllib # Create new font TypographyKT. newfont = fontforge.font() newfont.fontname="TypographyKT" newfont.save("TypographyKT.sfd") font = fontforge.open("TypographyKT.sfd") # Get Char_List.txt charlist = urllib.urlopen("https://raw.githubusercontent.com/chen17/rxkt0/master/C...
[ "noreply@github.com" ]
chen17.noreply@github.com
8f2f0eec2b1efbe86d15896aed5fdbab5ccb68a4
190193fbf79b2a755c1fe7bc2db604d6e2c7dac3
/clovece nezlob se.py
2d855e23aa89af91526f9e7e3775ead4934bc162
[]
no_license
marekdrab/clovece_nezlob_se
2843a22fc4333990437429b43065ba59e358b5b1
a43046149787d027583a839986eed0ef1a9b6e6c
refs/heads/main
2023-07-17T00:11:10.498624
2021-08-20T14:44:38
2021-08-20T14:44:38
398,307,050
0
0
null
null
null
null
UTF-8
Python
false
false
12,800
py
""" n=rozmer hracej plochy m=počet pozícii domčeka ( ak n=9, tak m=3 čo znamená, že berieme do úvahy 3. riadok/stlpec v podmienkach pre pohyb) k=najväčší počet "*" vedľa seba v riadku (použité pri generovaní hracej plochy) r1,r2,r3,r4=riadky v hracej ploche r5=riadok plný medzier potrebný pre pohyb sach=samotn...
[ "noreply@github.com" ]
marekdrab.noreply@github.com
7cbcab569a1f959cdee14d726d23c6b0440e977e
cc274ad0f1ce4e9a968fd6057f4fb0fd8a08f988
/hw21.py
4001c1dc59a457beeaec6ee8bf0d7f87fcb38259
[]
no_license
MikaPY/HomeworkPY
51b216de30d7b2b33aa8847cd3ae46e421ea6db4
c1ecc0f718ededb60aa375dd1a7a6231a7668a32
refs/heads/master
2023-01-22T11:51:30.248030
2020-11-22T17:25:28
2020-11-22T17:25:28
304,744,214
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
# def max_num(num1,num2): # if num1 > num2: # return num1 # else: # return num2 # num1 = 10 # num2 = 21 # print(max_num(num1,num2)) # def sum_num(*numbers): # pack = 0 # for x in numbers: # pack += x # print(pack) # sum_num(1,21,9,3,5,7) # def multiply_num(*numbers): # pack = 1 # for x in nu...
[ "72929883+MikaPY@users.noreply.github.com" ]
72929883+MikaPY@users.noreply.github.com
49810965fe88053aecf6f8d41bc56ca22e857633
8f14190c9a9c4060a17a5d8cafc5a54bc2c79300
/companies/views.py
14a54af61ff6ad243004abc0276fa378f9519f18
[]
no_license
rcdigital/kanban-server
f486672627fcbb11c8ae377187cac455e45ea14a
905f071ff963b9bad61610e944b1cef01fc95b33
refs/heads/master
2019-01-02T04:14:04.573196
2015-03-23T22:00:59
2015-03-23T22:00:59
31,366,618
0
0
null
null
null
null
UTF-8
Python
false
false
2,871
py
from rest_framework import status from rest_framework.views import APIView from rest_framework.response import Response from django.http import Http404 from companies.serializers import MembersSerializer, MembersRetrieveSerializer, RolesSerializer from companies.models import Members, Roles class CompanyMembersList...
[ "erick.belf@gmail.com" ]
erick.belf@gmail.com
5fb0d6de6e07ff397e5a483f3a634518532a6424
427cb811a465677542172b59f5e5f102e3cafb1a
/python/print/printContent.py
6a213db972abd85fe761285d5c7b5bbb5ae57cdd
[]
no_license
IzaakWN/CodeSnippets
1ecc8cc97f18f77a2fbe980f322242c04dacfb89
07ad94d9126ea72c1a8ee5b7b2af176c064c8854
refs/heads/master
2023-07-26T21:57:10.660979
2023-07-20T20:35:59
2023-07-20T20:35:59
116,404,943
18
4
null
null
null
null
UTF-8
Python
false
false
4,361
py
# https://docs.python.org/2/library/optparse.html # http://www.macworld.com/article/1132219/software-utilities/termfoldercomp.html # https://automatetheboringstuff.com/chapter7/ # TODO: function to replace patterns https://docs.python.org/2/library/re.html # TODO: add month and year to fileName # TODO .bundle import o...
[ "iwn_@hotmail.com" ]
iwn_@hotmail.com
b596f6be091373758522a35be25f02f7e2e9bb57
6e43f45ff6eb4d3388b20b0af18982abc3d58993
/migrations/versions/d0695a26d06a_.py
f4ccbd8279dcff1a1533112d88a58743c231d4a2
[]
no_license
mechanicalhack/Fyyur
8ab910950c5576730205638bb6477528347b9972
c2dfbad1ab7de3d5d721422037e048e468833196
refs/heads/master
2022-11-13T07:27:53.209134
2020-07-13T21:41:25
2020-07-13T21:41:25
276,451,017
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
"""empty message Revision ID: d0695a26d06a Revises: 2afc362f9fb7 Create Date: 2020-07-06 17:35:52.150821 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'd0695a26d06a' down_revision = '2afc362f9fb7' branch_labels = None depends_on = None def upgrade(): # ...
[ "rlloyd28@gmail.com" ]
rlloyd28@gmail.com
3464a1d12deb2429b216bf21a75ff381d2e395ba
7e4b8098a108e8396961bb0b7c208914d41231be
/webscraper.py
591fec861ee1ca3a07f485c8351921c6907e9822
[]
no_license
marceloslacerda/webscraper
2e4c20bee96f5cc228f052ec4928610e1a2dc3a5
11ecb899aa5b5d95f2c21c3fdaa76ee572ac3969
refs/heads/master
2021-04-15T04:42:58.401080
2018-04-01T20:36:08
2018-04-01T20:36:08
126,224,696
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
#!/usr/bin/env python3.6 import json import sys from io import StringIO from os.path import join from urllib.parse import urljoin from typing import Dict, Any, AnyStr import requests from lxml.html import parse class PageError(ValueError): def __init__(self, pname): self.pname = pname def process_pa...
[ "marceloslacerda@gmail.com" ]
marceloslacerda@gmail.com
70e4b33a9519977afd5f4c27c746af80bf80095b
d69212d8f0f63937db5a3f3376d634a3adca9276
/app.py
aeab5527d0b6e58de265f848d77f7a6e5b6c5da5
[ "MIT" ]
permissive
the-mocode/Heroku_test
82dea28d6df8b158959a46a5c34cce98e8fd4860
97e48c546d65fc339f83d7eeea69eefc68d6f5c0
refs/heads/main
2023-07-26T12:02:45.724092
2021-09-09T11:34:06
2021-09-09T11:34:06
404,654,735
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
from flask import Flask import os import psycopg2 DB_URL = os.environ.get("DATABASE_URL", "dbname=i_love_bigmac_db") SECRET_KEY = os.environ.get("SECRET_KEY", "pretend key for testing only") app = Flask(__name__) app.config['SECRET_KEY'] = SECRET_KEY app = Flask(__name__) @app.route('/') def index(): conn = psy...
[ "Antar@Mohamads-MacBook-Air.local" ]
Antar@Mohamads-MacBook-Air.local
a5c7326e28f20fc08a463bfb04e69b82c6be461e
466c185dd064d0a1fb8f20e72b21e227e2cb3efc
/individual_tutorials/pygamestartercode-PghTrickster-master/00-IntroToPython/01_expressions.py
ce823f663fc15dfaa6c674cfdb136a7c8bc9ae00
[ "MIT" ]
permissive
rhit-catapult/2021-session1
3e937235fe48cb03a1dc69b5573879a17b2e81eb
60c70abeb90ab7edc8d6ddb2c6beb12243a244fc
refs/heads/main
2023-06-15T20:34:34.449474
2021-07-16T20:15:15
2021-07-16T20:15:15
386,752,351
0
0
null
null
null
null
UTF-8
Python
false
false
14,282
py
""" Permits exploration of EXPRESSIONS, e.g. 3 + (5 * 2) and "hello" + "goodbye", and NAMES and ASSIGNMENT, e.g. n = n + 1 Authors: David Mutchler, Sana Ebrahimi, Mohammed Noureddine, Vibha Alangar, Matt Boutell, Dave Fisher, their colleagues, and """ import random import math ##########################...
[ "fisherds@rose-hulman.edu" ]
fisherds@rose-hulman.edu
4e22770993cda1b6d0349f0ad9c0668bd56e8065
3041138130a9feda9ee28166ec8c4b6dff593fac
/commandblog.py
6daa24f16c9ac3ed47f11c58abfc54682b1e7f8c
[ "MIT" ]
permissive
IssaIan/commandlineblog
1b23f68bbdd6eafed627d00654def752f52488f8
2cfe197ed85bec3a24b31f55d43e8d1c54d9f7e4
refs/heads/master
2020-04-10T16:14:17.991212
2018-12-10T12:15:20
2018-12-10T12:15:20
161,138,508
0
0
MIT
2018-12-10T12:35:52
2018-12-10T07:58:53
Python
UTF-8
Python
false
false
3,273
py
import datetime comments = [] users = [ { "name": "kenn", "password": "1234", "role": "admin", "lastLoginAt": "" }, { "name": "issa", "password": "1234", "role": "moderator", "lastLoginAt": "" }, { "name": "eric", "pas...
[ "issamwangi@gmail.com" ]
issamwangi@gmail.com
fda2f73dcd940252430b681bada9eeb30c5c875e
625bcba8922a6d0bd4c34721354f1f87977437ad
/scripts/make_sec_qc/linear_reg.py
309f3e5019cf48ba311d00c0967ec399d1c0fd81
[]
no_license
toth12/data_processing_lts
2970805d101154b5aa2283061da970d45538571a
831c3d3ccfd745606f4cc855623086b3d3c07a01
refs/heads/master
2023-04-16T06:19:18.410693
2021-05-04T07:55:53
2021-05-04T07:55:53
353,973,950
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
import pandas as pd import numpy as np import itertools from itertools import chain, combinations import statsmodels.formula.api as smf import scipy.stats as scipystats import statsmodels.api as sm import statsmodels.stats.stattools as stools import statsmodels.stats as stats from statsmodels.graphics.regressionplots ...
[ "gabor.toth@yale.edu" ]
gabor.toth@yale.edu
935fca9aeb9e49495333cec1cba3e0da776c35f3
3170ea59f57a214285ea3e0a12f839ca9c64a4f8
/python/BOJ/1000/1305.py
c67ec2711280427d2e66e1587fbdb08c91a03a27
[]
no_license
dahyun1226/ProblemSolving
9d02bed487f19abfcbd79934b166a2e59cd51c69
523cc84d70efe84e4574de84e50161563ccdb6d6
refs/heads/master
2023-07-26T18:18:45.468548
2021-09-08T12:52:03
2021-09-08T12:52:03
255,228,733
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# 백준 온라인 저지 1305번: 광고 # fail의 이해 def makeFail(n: str): fail = [0] * len(n) matched = 0 for index in range(1, len(n)): while matched > 0 and n[index] != n[matched]: matched = fail[matched - 1] if n[index] == n[matched]: matched += 1 fail[index] = matched ...
[ "dahyun1226@naver.com" ]
dahyun1226@naver.com
0ef11b9c31f93e9991b2d05c6ea0958092ae630c
523a47a9519b548680cdd2e100d7d3bd871158d1
/DP/14003_가장긴증가하는부분수열.py
51db0adb36e9f2d9d5b0785b5451e48605b6e6aa
[]
no_license
bernard-choi/Algorithm_Training
19c2b3063a506d45931d8948de765efc53dd93aa
4e16533d0cd9ea1e79485f0a6d34bc680064c111
refs/heads/master
2022-12-31T01:20:53.361406
2020-10-20T03:00:04
2020-10-20T03:00:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
n = int(input()) input_list = list(map(int,input().split())) d = [1] * n d[0]=1 for i in range(1,n): ## 기준은 i # print(i) max_value = 1 for j in range(0,i): # print(j) if input_list[j] < input_list[i]: temp = d[j] + 1 if temp > max_value: max_value = t...
[ "gafield8785@naver.com" ]
gafield8785@naver.com
b7acd23168a4cac8d3afab25692d93f940e90c97
bc97fbbfa0078304fa45c386700ddba278c34e37
/BoardManip.py
8105cabbe4d1f0e28a5332790d6fecfe961d34e9
[]
no_license
nayr31/Connect4
f0d0c4fdce29b03b4286ebb671e4fe7a454d750c
1be25dd07525f0bf3c4d7f02ddb6e0b6caef92ee
refs/heads/main
2023-08-31T13:07:46.370699
2021-10-11T15:12:38
2021-10-11T15:12:38
405,181,428
0
0
null
null
null
null
UTF-8
Python
false
false
17,434
py
# This file is for anything that relates to the board. The main program should not know what it needs to do, only what it wants to. # This could just be my Java seeping into my Python, but this is how I like it. from PVector import PVector import random # Constants width, height = 7, 6 top_string = "+ 0 1 2 3 4 5 6 "...
[ "re17wj@brocku.ca" ]
re17wj@brocku.ca
f4569cb68df5952191b3a6f8ad24a70db8240a73
ac87ed7653f277c82ed80235d4598847e96102b4
/scripts/date_parse.py
ee71750e7cd12b49575588c7145222009957e894
[]
no_license
ucancallmealicia/aspace_data_audit_demo
da561017bae6287ac14c3b5a86055091ebd4bf36
de96822d7af24c004d223772f2b0c4bd81f2ffb3
refs/heads/master
2021-08-07T05:45:09.214166
2017-11-07T16:34:05
2017-11-07T16:34:05
108,923,900
0
1
null
null
null
null
UTF-8
Python
false
false
417
py
from dateutil.parser import parse import csv csvin = input('Please enter path to input csv: ') file = open(csvin, 'r', encoding='utf-8') reader = csv.reader(file) next(reader, None) for row in reader: date_expression = row[0] try: parse_it = parse(date_expression) print(parse_it) except Val...
[ "noreply@github.com" ]
ucancallmealicia.noreply@github.com
c6815d6ecd0404d950bfe91a9e4cd29990e054be
f5a6f1ecc4e9ecdf0ef607707ca7d725cbe7aab2
/day6_1.py
3c10375d99157fc40a06d37d94021ca652bcb763
[]
no_license
juliaschatz/adventofcode19
89911c0bc5f6b2dc72a3ac93d130a046c3bf7353
c2a0fd0a4c53f7916444accb2a0bb25f66257b50
refs/heads/master
2020-09-27T07:34:52.581548
2019-12-17T22:03:39
2019-12-17T22:03:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
#!/usr/bin/python with open("day6_input") as f: orbits = {} for l in f.readlines(): o = l.replace("\n","").split(")") orbits[o[1]] = o[0] def count(p): if orbits[p] == "COM": return 1 return 1 + count(orbits[p]) print(sum(map(count, orbits.keys())))
[ "schat127@umn.edu" ]
schat127@umn.edu
61bd7c3ce1c3aa60ee4f2247f0294133557a21b5
dcc82e255c50ddcae9489e2524e43c1d51dc0daf
/schematic.py
ffb16d56cf23290de52dd83ff0b3925c922349af
[ "MIT" ]
permissive
BenediktSeidl/fzpzf
5f46bda1b09fd74a79892808ebe3541d01ec7162
69581beb36e9f9cc62713559f7212c9fc81ba462
refs/heads/master
2020-12-04T05:37:59.281232
2011-10-03T18:03:16
2011-10-03T18:03:16
2,462,234
9
2
null
null
null
null
UTF-8
Python
false
false
4,056
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2011 Benedikt Seidl # # 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 ...
[ "Benedikt.Seidl@gmx.de" ]
Benedikt.Seidl@gmx.de
376d6b0ccb6509c96d3c340f24977524379fc444
45de3aa97525713e3a452c18dcabe61ac9cf0877
/src/secondaires/diligence/fonctions/diligences.py
0c9dd2f3eb7a0ab9f84de366ec3c7a1105448876
[ "BSD-3-Clause" ]
permissive
stormi/tsunami
95a6da188eadea3620c70f7028f32806ee2ec0d1
bdc853229834b52b2ee8ed54a3161a1a3133d926
refs/heads/master
2020-12-26T04:27:13.578652
2015-11-17T21:32:38
2015-11-17T21:32:38
25,606,146
0
0
null
null
null
null
UTF-8
Python
false
false
3,016
py
# -*-coding:Utf-8 -* # Copyright (c) 2014 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # lis...
[ "vincent.legoff.srs@gmail.com" ]
vincent.legoff.srs@gmail.com
8fc69ea6d952ef1e4cfc879a40a170fe9c897d6c
d9fd9c6329461235f140393f1e934362d0f645df
/Unidad 2/Módulo 6/Sección 4/eje_09.py
e3cf1510314a26331adc0b550e3c13291c3325ad
[ "MIT" ]
permissive
angelxehg/utzac-python
e6b5ee988d1d76c549ab0fa49717eb042fa7d91f
fb88bcc661518bb35c08a102a67c20d0659f71db
refs/heads/main
2022-12-02T11:16:27.134741
2020-08-14T19:38:33
2020-08-14T19:38:33
265,944,612
0
0
MIT
2020-08-07T21:23:53
2020-05-21T20:25:24
Python
UTF-8
Python
false
false
375
py
class MiClase: pass obj = MiClase() obj.a = 1 obj.b = 2 obj.i = 3 obj.ireal = 3.5 obj.entero = 4 obj.z = 5 def incIntsI(obj): for name in obj.__dict__.keys(): if name.startswith('i'): val = getattr(obj, name) if isinstance(val, int): setattr(obj, name, val + 1) ...
[ "50889225+angelxehg@users.noreply.github.com" ]
50889225+angelxehg@users.noreply.github.com
bb936e36f73b3022e5fc4ff938b2e48d6d89e8c1
4273f162abb12ef1939271c2aabee9547ac6afee
/studio_usd_pipe/test/ver.py
e3d449cb801732082a041c7c123caf699f61c94a
[]
no_license
xiyuhao/subins_tutorials
2717c47aac0adde099432e5dfd231606bf45a266
acbe4fe16483397e9b0f8e240ca23bdca652b92d
refs/heads/master
2023-07-28T13:42:41.445399
2021-09-12T11:02:37
2021-09-12T11:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
input_data = { "exe": [ "KONSOLE_EXE", "/venture/source_code/subins_tutorials/studio_usd_pipe/bin/build-in/konsole/main.sh" ], "name": [ "APPLICATION_NAME", "konsole2.10.5" ], "version": [ "KONSOLE_VERSION", "konsole2.10.5" ], "path": [ ...
[ "subing85@gmail.com" ]
subing85@gmail.com
43b850a09eb1b800bf3a04b4a7b97fbca79ba6f3
af64febbe756c6eef9201bbdec675d0956376ba8
/day 6-nested loop/pattern 17.py
a202763a59f4904da3935b6d4bcca470da079ecd
[]
no_license
lokitha0427/pythonproject
34bf1e6d301b5adc3330d79294ce3cf3aa170a22
7eac677378ac7d2f631466e98b646a0f928e3852
refs/heads/main
2023-08-19T21:01:58.297201
2021-09-21T08:08:14
2021-09-21T08:08:14
380,134,982
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
#pattern 17 ''' 1 3 5 7 9 3 5 7 9 11 5 7 9 11 13 7 9 11 13 15 9 11 13 15 17 ''' k=1 for i in range(1,6): for j in range(1,6): k=2*(i+j)-3 if k<10: print(" "+str(k),end=" ") else: print(k,end=" ") print()
[ "noreply@github.com" ]
lokitha0427.noreply@github.com
16b0e2d4b028d65145d6962bb8cfe453c22ffd6b
13d06305d64ee4705a8f9ba0c3801b89fa8c742c
/timeflow/placeholders/prediction.py
987ef175ce54c7fe5722b8125fdc13d4f931554d
[ "MIT" ]
permissive
genesiscrew/TensorFlow-Predictor
45fc43f5c85bac2fbc137fb6a23fc7e458248e3b
d129172b064d9e73e9118ac7164eb826a1263100
refs/heads/master
2021-01-20T05:53:25.935780
2017-05-02T03:05:10
2017-05-02T03:05:10
89,820,153
1
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
# Input and output placeholders for prediction placeholders import tensorflow as tf def input_placeholder(input_dim, name='inputs'): """Initialize input placeholder for prediction networks Parameters ---------- input_dim : integer Input dimensions name : string Placeholder name ...
[ "abhishekmalali@gmail.com" ]
abhishekmalali@gmail.com
cd6178fde5a2f050f81387635719ed84a41f15cb
8218b3ba6abf291bad3f29b1dce3cd1c9bb51a27
/doctype/contract/contract.py
3a0d291a55f1b1a77376215d04470e89b53cafab
[]
no_license
Kozlov-V/contracts
1ec3c7a6e794789b2fde4f426f4369008c1c53f8
8928c1bdbe4eb1f9a5e2db8f263e150b81865525
refs/heads/master
2016-08-12T19:08:51.832553
2016-01-13T20:31:34
2016-01-13T20:31:34
49,599,168
0
0
null
null
null
null
UTF-8
Python
false
false
4,039
py
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe from frappe.utils import flt, getdate from frappe import _ from frappe.model.document import Document class Contract(Document): def ge...
[ "kozlov-ter@yandex.ru" ]
kozlov-ter@yandex.ru
ec574f915bd463b70acdc5f5ee19c252bfd21b95
f8221492ca64481c84680d46f617de6168719e7a
/frontpage/migrations/0002_auto_20180509_2100.py
7631280fa55bcc3b9a999aed10cc5bb76f95bd18
[]
no_license
JohannLieb/BD
046a1e7e1be665c66fcc1c5e22f7f7fbf9d0e5a4
c880fd697692fa3501afba52aa43031e5b253e75
refs/heads/master
2020-03-18T10:37:29.003428
2018-06-09T17:01:22
2018-06-09T17:01:22
134,623,506
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
# Generated by Django 2.0.4 on 2018-05-09 18:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('frontpage', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='orders', options={}, ), ]
[ "gerbertwells101@gmail.com" ]
gerbertwells101@gmail.com
4229eb3d57d5f03b46b944d86271693266461296
e73a2ff9458effe038ebabfe9db6cdaf0c5bc473
/order_food_online_project/order_food_online/urls.py
c5771206f24064f500d0c904aa8232d203cf5dcb
[ "MIT" ]
permissive
MaksNech/django_order_food_ingredients
fcad5668b92b90776715d39e3f241577cf4364fa
3578e36570ce99b25136942320fbcd7df956d435
refs/heads/master
2020-04-20T21:20:38.496108
2019-04-06T15:17:29
2019-04-06T15:17:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
"""order_food_online URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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') C...
[ "nechypurenko.shag@gmail.com" ]
nechypurenko.shag@gmail.com
5e373df7e1c7c7ded6daed67b822f087b1d68048
290e455134baa42a177d16564442524d6152ef40
/src/.ipynb_checkpoints/model_maker-checkpoint.py
8fbb4f92490906adcce68441768253d09b9b5931
[]
no_license
hoffm386/customer_churn_project
caeeef745e036707723a056b2966e19c4ce261ee
8038e34ebd31dd5296be49b57bf4d6d54f2dc55a
refs/heads/master
2021-05-24T16:12:26.486060
2020-03-31T04:24:48
2020-03-31T04:24:48
253,650,393
0
0
null
2020-04-07T00:48:00
2020-04-07T00:47:59
null
UTF-8
Python
false
false
3,470
py
import pickle import numpy as np import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.neighbors import KNeighborsClassifier from sklearn.ensemble import RandomForestClassifier, StackingClassifier, GradientBoostingClassifier, ExtraTreesClassifier from sklearn.preprocessing import Standard...
[ "jarodc333@gmail.com" ]
jarodc333@gmail.com
2a7a72f33498109a975dad72cce5024127501aae
0eaffa74bf33d54a30a16ca85a2771090a225747
/apps/hosts/tests.py
6121c0f272b1909c8e90e972fbea59fd54b4f9e6
[]
no_license
tom2jack/fdommp
b6e1466df3ae041f730cb9c7a0f6257b6902023a
264150666c621268d0d05686cc445ace91993419
refs/heads/master
2022-04-12T23:42:52.255825
2020-03-05T08:37:08
2020-03-05T08:37:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,598
py
import sys import os from django.conf import settings pwd = os.path.dirname(os.path.realpath(__file__)) sys.path.append(pwd + "../../") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fdommp.settings") import django django.setup() # git # from git import Repo # # url = 'https://github.com/fq47523/fdommp-dockerfi...
[ "289557905@qq,com" ]
289557905@qq,com
9b5a036d68b3466bed0b435be8c763ad69490521
10b1f4d80f4453972918f8de42a5b6212047dac9
/submissions/exercise4/doron/main.py
86994c093b9644a9187cdc9a110e5a4de9ef497a
[ "MIT" ]
permissive
tjmonsi/cmsc129-2016-repo
e6a87cab1c6adb093f9b339271cf3e8d2c48726c
5a1833265b17f9079d5a256909296d363db9179b
refs/heads/master
2021-01-22T09:55:37.484477
2017-06-01T16:24:19
2017-06-01T16:24:19
52,767,672
0
14
null
2017-06-01T16:24:20
2016-02-29T05:55:01
JavaScript
UTF-8
Python
false
false
594
py
#!/usr/bin/python import tokengenerator import grammar import execute filename = input("Enter Filename: ") tokengenerator.tokengenerator(filename) print("\n\nCHECK GRAMMAR\n\n") grammar.addGrammars() ret = grammar.checkGrammar("START", 0) if len(ret.grammar) >0: print("GRAMMAR CONSTRUCTION") for gram in ret....
[ "mddoron@up.edu.ph" ]
mddoron@up.edu.ph
fc547eff6a8ec530b219d1a57a2a7005de4c279a
c3941a9a631511f7785f49ad0de8b584c3f4a146
/dataset_utilities/create_yrly_datasets.py
ac020edcd6cca9258e4ff9b1f2fdef1b73850161
[]
no_license
spurs229/advanced-ml-final-proj-original-paper-code
02df3b469240b30d4431912f56b74b54713751e6
b5c9016e5a093e531a5ec21bc0b4638d2451b6c1
refs/heads/main
2023-07-15T12:54:16.870585
2021-08-30T20:05:06
2021-08-30T20:05:06
400,199,404
0
0
null
null
null
null
UTF-8
Python
false
false
2,875
py
# from xml.etree import cElementTree as ET import os import re def clean_string(s): s = s.lower() s = re.sub( '\s+', ' ', s ).strip() sp ='' for w in s.split(): if len(w) < 20 and len(re.sub('[^a-z]+', '', w)) == len(w): sp+=w + " " # s = s.lower() # s = re.sub('[^a-zA-Z\s...
[ "neta-caspi@MacBook-Pro.local" ]
neta-caspi@MacBook-Pro.local
4d845798bb70aeb5b3dc8d3806363ab292d44cc0
037bd176ab73aeaf139be5811a7605167d3032e0
/app/server.py
09be70a52e9832db64e841fd4cbebe9401a2d94e
[]
no_license
MoyaCar/BugsEyesDetector
7db319c3c1c63dbaef45cf1b7859f39adcbcc9d0
1a89cef03205a1cb4b3cb7b743a7e579a7d84941
refs/heads/master
2022-07-15T08:57:43.956593
2019-09-30T01:54:01
2019-09-30T01:54:01
211,749,310
0
0
null
2022-06-21T23:00:13
2019-09-30T01:10:40
Python
UTF-8
Python
false
false
2,346
py
import aiohttp import asyncio import uvicorn from fastai import * from fastai.vision import * from io import BytesIO from starlette.applications import Starlette from starlette.middleware.cors import CORSMiddleware from starlette.responses import HTMLResponse, JSONResponse from starlette.staticfiles import StaticFiles ...
[ "carlosmoya@gmail.com" ]
carlosmoya@gmail.com
820c2bd2006c8b43d126a6d5226df4dd461d5814
b6ef959b538e4bffec92998a553175248bd72a77
/06-Machine_Learning/brain.py
1376cf1f411443947b708acf7499cd6bdf52de49
[ "MIT" ]
permissive
suzynakayama/udemy-python-dev
9e384e3683a300f07c14d2a5862003038a4b169c
fbb35d00f94296da1281e6042a4efe506f79dddb
refs/heads/main
2023-02-10T11:50:47.650049
2021-01-07T22:46:52
2021-01-07T22:46:52
307,135,927
2
0
null
null
null
null
UTF-8
Python
false
false
530
py
import os from imageai.Classification import ImageClassification # get current directory execution_path = os.getcwd() prediction = ImageClassification() prediction.setModelTypeAsMobileNetV2() prediction.setModelPath(os.path.join(execution_path, "mobilenet_v2.h5")) prediction.loadModel() predictions, probabilities = ...
[ "suzy.nakayama@gmail.com" ]
suzy.nakayama@gmail.com
a433ae84fb074b61840e19b067915bc4fc1b848c
490ffe1023a601760ae7288e86723f0c6e366bba
/kolla-docker/patching/zun_compute_api/provideraccount.py
a338bd5fd861592d8f7f624b5913d613b42fd69c
[]
no_license
bopopescu/Cloud-User-Management
89696a5ea5d2f95191327fbeab6c3e400bbfb2b8
390988bf4915a276c7bf8d96b62c3051c17d9e6e
refs/heads/master
2022-11-19T10:09:36.662906
2018-11-07T20:28:31
2018-11-07T20:28:31
281,786,345
0
0
null
2020-07-22T21:26:07
2020-07-22T21:26:06
null
UTF-8
Python
false
false
1,679
py
def provideraccount_update(self, context, container, *args): if direct_action: return self.manager.provideraccount_update(context, container, *args) else: return self.rpcapi.provideraccount_update(context, container, *args) def provideraccount_show(self, context, contai...
[ "Mr.Qinlichao@hotmail.com" ]
Mr.Qinlichao@hotmail.com
0265f009c0e4e8d5a39c8b1b2673b159407c7b02
9868ee5c9b121097f824dac306b678a2761498af
/blog/models.py
dc0a3603c0a5f7c86bdbd2ee46799a8bf7570834
[]
no_license
ShaikhHussain/portfolio_project
c5fbcbda4ea59f4db41d329de96c6b65eaf5bacc
3064008d9d6f6083b65d5ab13c4ae2c230f76910
refs/heads/master
2020-07-08T20:08:41.462786
2019-08-22T09:45:42
2019-08-22T09:45:42
203,763,520
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
from django.db import models # Create your models here. class Blog(models.Model): title = models.CharField(max_length=200) publish_date = models.DateTimeField() image = models.ImageField(upload_to='images/') blogs_body = models.TextField() def __str__(self): return self.title def s...
[ "abdulshaikhhussain@gmail.com" ]
abdulshaikhhussain@gmail.com
fd2f69e09e71f5891978da89ed3adc6501a7dd84
a6ba42d4c838a2e1790984f12add463293bae942
/todolist/urls.py
5dc33cb0775ec3c9f346137650055ffe6998d0a8
[]
no_license
santhoshcharan-001/todolist
9614abb0d03d9d891d02a78f7d89486e07774bca
cd0fe620a784aefdcce174285f310b9a8f8af927
refs/heads/main
2023-08-01T22:49:43.474760
2021-09-15T09:41:35
2021-09-15T09:41:35
393,067,404
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
"""todolist URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/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-base...
[ "2019287@iiitdmj.ac.in" ]
2019287@iiitdmj.ac.in
9c477960dc9369da5c01e71b845d5177847a00cb
8d582e36f3a86113d6eac6dec10d0c16b0c5595a
/ui.py
e84da1c8a2fd673d644229a36721a5804f443e6e
[]
no_license
jackz314/speech-synthesizer
c1a7e1d211e65101fc5f562fd9859b3f5fcfce25
d42fb69d482a788b3d7157a83e0f8d258b9e80e3
refs/heads/master
2023-03-05T03:05:54.842687
2021-02-05T10:01:08
2021-02-05T10:01:08
332,403,218
1
0
null
null
null
null
UTF-8
Python
false
false
15,278
py
import multiprocessing from multiprocessing import Process import locale import multiprocessing import os import sys from multiprocessing import Process from threading import Thread import PySide2 import zmq from PySide2.QtCore import QUrl, Qt, Signal, Slot from PySide2.QtGui import QColor, QDesktopServices, QIcon, Q...
[ "zhangmengyu10@gmail.com" ]
zhangmengyu10@gmail.com
87dcdc1f187f0619115ef51295c60468005bd5f3
dcce56815dca2b18039e392053376636505ce672
/dumpscripts/itertools_filterfalse.py
4db9836daa58ad384b41f161c27d4886ab93f22c
[]
no_license
robertopauletto/PyMOTW-it_3.0
28ff05d8aeccd61ade7d4107a971d9d2576fb579
c725df4a2aa2e799a969e90c64898f08b7eaad7d
refs/heads/master
2021-01-20T18:51:30.512327
2020-01-09T19:30:14
2020-01-09T19:30:14
63,536,756
4
1
null
null
null
null
UTF-8
Python
false
false
208
py
# itertools_filterfalse.py from itertools import * def check_item(x): print('Verifica:', x) return x < 1 for i in filterfalse(check_item, [-1, 0, 1, 2, -2]): print('Trattengo:', i)
[ "roberto.pauletto@gmail.com" ]
roberto.pauletto@gmail.com
866315edcd99aed6f352e4f094a4bec0b268966f
8fb3dad615426e7d7dd5b37f385138f38c7dedf2
/spark-1.1.0/spark-base/files/etcd-service/Constants.py
805270223cb0bdb58b58a88bd0733445a6e227aa
[ "Apache-2.0" ]
permissive
LuqmanSahaf/etcd-spark
53ee6c0d3d7c315e99f9c9dd8b7a214efbe6fd3b
0f3b9db820b243645365cd8a442943611be758ef
refs/heads/master
2021-01-22T02:34:18.542297
2014-10-29T10:49:52
2014-10-29T10:49:52
24,637,843
2
1
null
null
null
null
UTF-8
Python
false
false
100
py
ETCD_PORT = '4001' ETCD_KEYS_DIRECTORY = 'etcd_spark/etcd_service' HOSTS_FILE = '/etc/hosts' TTL=60
[ "lgsahaf@gmail.com" ]
lgsahaf@gmail.com
da159561015fdb97e791d62db109c2cf4ba71be4
cd6694d484744fe5be8ccdaf9be50005fb6e956b
/spoj/even_numbers.py
a5a94ac4026ababeb9ec054eaf8276c53d52aba7
[]
no_license
MrDm1try/Euler
aa40d8d52774b79c76b332306b43f28da8a4fba1
ef311da6072c953284606b09e1117cf2f3837033
refs/heads/master
2020-02-26T15:03:32.842419
2018-04-11T16:00:13
2018-04-11T16:00:13
83,286,572
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
def revert(num): res = 0 while num: res <<= 1 res |= num & 1 num >>= 1 return res n = int(input()) numbers = [] for i in range(n): num = int(input()) numbers.append(num if num % 2 == 1 else revert(num)) for i in numbers: print(i)
[ "dmr@kamstrup.com" ]
dmr@kamstrup.com
629f6895bc1d0a0101bef7c2b69ca4bb864c172b
83f85eb8247e994ccdd08c6caac359fd10147478
/hips.py
2f24596186abf8ffb0426d95f3aefc78f707afb4
[]
no_license
bufferbandit/hips
0e9ef021fa8a36b0cd043d287a9dcf78270acc4a
822257aafc169b8f4120cf2ffa1fe500fd5aba9b
refs/heads/master
2020-04-04T16:29:28.926782
2020-01-27T09:39:08
2020-01-27T09:39:08
156,080,248
3
2
null
null
null
null
UTF-8
Python
false
false
1,573
py
# H.I.P.S, by BufferBandit. # Hide your HTML source code by encoding it with tabs and spaces... import binascii class HIPS: def __init__(self,raw_html): self.space,self.tab = " "," " self.raw_html = raw_html def text_to_bits(self,text, encoding='utf-8', errors='surrogatepass'): ...
[ "noreply@github.com" ]
bufferbandit.noreply@github.com
4261d8986f56637cd42771daa6474eafbddebbf2
384e9cfef73a8f3374cb048ee608d3268b739d66
/lora_abp/config.py
715e0de47f741d1c653185603e0c75e78c895abd
[]
no_license
rbraggaar/sensor-city-delft
005ed7ccf60e6420d73903c48ac497dc6f11eb54
9b580a7232e010ed70512eccb7aebe2117461cad
refs/heads/master
2021-01-19T23:32:11.160937
2017-06-12T13:17:37
2017-06-12T13:17:37
88,988,205
16
9
null
null
null
null
UTF-8
Python
false
false
197
py
""" Change these for your own keys (see https://loradeveloper.mendixcloud.com/) Type has to be string """ DEV_ADDR = 'dev addr' NWKS_KEY = 'network shared key' APPS_KEY = 'applications shared key'
[ "r.c.braggaar@outlook.com" ]
r.c.braggaar@outlook.com
42b4ad526ebe9485065450c2f0c41f7a0afd5a4f
5d98fd658cff0fd5aa5b4f912d34dc7610f6980a
/src/core/cli/commands/__init__.py
d4d506dcbcac52d934f377536ff4f8c2cc7a4aee
[]
no_license
lxbrvr/aiohttp-chat
6de33e98a5537dbe1439b34178a01a618a36e201
d5cb8fa3c3f294c7c00d0a09b73ddd06342efda9
refs/heads/master
2022-06-19T10:42:58.952457
2019-09-18T09:40:09
2019-09-18T09:40:09
208,893,619
5
0
null
2022-05-25T02:58:24
2019-09-16T20:38:58
Python
UTF-8
Python
false
false
123
py
command_classes = [ 'core.cli.commands.clean_db.CleanDbAppCommand', 'core.cli.commands.run.RunServerAppCommand', ]
[ "to100100100@gmail.com" ]
to100100100@gmail.com
fa168001eed0986c591712b65a78378669b9066b
d7851c13caeec784de188e97c912ab3edb2b10fd
/classifier/__init__.py
e265178fd1e40900289a101d7ed781fe05b19502
[]
no_license
caozhang1996/CS231N_Two_Layer_Neural_Network
5b7f2737b460ac3f50b11527efe63dfc03aac9d0
4a3d1027c20210f22ae538cb69a03aaedb175d2c
refs/heads/master
2020-05-24T20:53:54.115208
2019-05-19T10:50:07
2019-05-19T10:50:07
187,464,305
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Jan 4 16:43:54 2019 @author: caozhang """
[ "caozhang1996@gmail.com" ]
caozhang1996@gmail.com
747ca14a18296d4beabd473f554d3da345152774
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/sok2_20180606104430.py
e3d724e0922456fec8afc2db0669485e5ed3545c
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
1,247
py
row1 = [0,0,0,0,0,0,0,0,0] row2 = [0,0,0,5,0,6,0,0,0] row3 = [0,0,1,0,0,0,0,3,0] row4 = [0,9,5,0,0,0,2,0,0] row5 = [0,0,0,0,0,1,6,0,7] row6 = [1,0,6,0,0,9,0,0,5] row7 = [7,0,0,8,0,3,9,0,0] row8 = [0,3,8,9,0,0,0,2,0] row9 = [0,5,0,0,2,0,7,0,0] print(row1) print(row2) print(row3) print("") print(row4) print(ro...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
e5853a5dc4dcb39d89592c1c7218567fabf657b8
ab7909a49f372c82baa1e8031eb46a1a913796aa
/selenium_spider.py/src/driver.py
c449e19872e9d30d26625008a2b70914ba883c4e
[]
no_license
Bortolosso/extract-data-tjsp
5fde991cd6e8f71e86f6b4ee686bac9659d3deaf
2a8c94a0d1e5582ccde1353fcaa795c77adf0ebc
refs/heads/master
2020-06-14T05:55:40.530546
2019-08-16T13:45:15
2019-08-16T13:45:15
194,918,850
1
0
null
null
null
null
UTF-8
Python
false
false
962
py
#!/usr/bin/python -tt # coding: utf-8 from selenium import webdriver class Driver: def __init__(self): local_dir_pdf = "/home/bortolossohurst/Documents/ambv_boot/selenium_spider.py/temp/pdf" local_dir_driver = "/home/bortolossohurst/Documents/ambv_boot/selenium_spider.py/driver/chrom...
[ "bortolossojoao@gmail.com" ]
bortolossojoao@gmail.com
3b15be8b188528ce122516e650d067191f2ec45e
47f4ba73b25ebc1e920f85295c51171c11ec78f4
/Tkinter/ProgessBarHttpDownload.py
cb4c017af1e3f71b65704c54ad442c134f1d06e9
[]
no_license
pedroazcona/PythonLearning
45e04e76d94bfea304e1924d2f7661ed497a5312
514e2851defce4cf911d338542c7f738167f2a57
refs/heads/master
2021-04-30T15:36:48.423600
2018-02-13T10:39:04
2018-02-13T10:39:04
121,242,267
0
0
null
null
null
null
UTF-8
Python
false
false
1,827
py
# -*- coding: utf-8 -*- """ Created on Tue Jan 16 09:42:36 2018 @author: poaa """ import tkinter as tk from tkinter import ttk from threading import Thread from urllib.request import urlretrieve, urlcleanup class Application(ttk.Frame): def __init__(self, main_window): super().__init__(main_...
[ "pedroazcona@gmail.com" ]
pedroazcona@gmail.com
4958e340325e2b1f63b19ed5aa66405c1d5d7cf5
3b7930868ea6b052e10202d4ba723de753d71853
/todoauth/todo/urls.py
d431f23916cbf4a5d3ed6c35543e28d325708219
[]
no_license
Daniel3M/ToDoAuth
c6b444ac485d8e5048f480856f14f7a6d6a9c599
abf2ca13ddf55576e58ae268cc12f3832694638f
refs/heads/master
2023-06-24T21:43:12.774994
2021-07-18T08:54:29
2021-07-18T08:54:29
387,129,077
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
from django.urls import path from .views import CustomLoginView, TaskList, TaskDetail, TaskCreate, TaskUpdate, DeleteView, RegisterPage from django.contrib.auth.views import LogoutView urlpatterns = [ path('login/', CustomLoginView.as_view(), name='login'), path('logout/', LogoutView.as_view(next_page='login')...
[ "daniel.muhammad96@gmail.com" ]
daniel.muhammad96@gmail.com
6f34903b427e2c0394314d9a1fb819e582ee7026
590de10b365aeb28cfffde5fde02fd36ef18e9d5
/src/covcov/infrastructure/db/schema/company_domain.py
cc294456d65b0a8cf27cd3028b15d693ed82a429
[]
no_license
W-Alphonse/covid-app
1b0c6b4ef19d274016a97c65eea557f1327caadf
5f8b3953c6fd5c2bd2afd3077a20c90aa1feb396
refs/heads/master
2023-07-23T15:23:31.287461
2021-05-13T21:10:44
2021-05-13T21:10:44
321,175,512
0
0
null
null
null
null
UTF-8
Python
false
false
13,138
py
import datetime from sqlalchemy import Column, Integer, Unicode, String, ForeignKey, Boolean, DateTime, update from sqlalchemy.ext.declarative import DeclarativeMeta from sqlalchemy.orm import relationship, Session from sqlalchemy_serializer import SerializerMixin from sqlalchemy_utils import EmailType from sqlalchem...
[ "wharouny.tp@gmail.com" ]
wharouny.tp@gmail.com
779f544e7eb9cb8e40c4b4995687d4dfb4bea3fc
74479f8586558f8a95a00c28b14d0e1421d6dc50
/ping_thread.py
66b91faf477237b37c4a9092e70b71a2f1a23b5d
[]
no_license
xiaoyecent/ping_threading_Queue
39b8b6023fa5efd2b4e53b00b47a9a8e77bac96a
625fd5f542afff12dff7083a1c36dccc33ad690f
refs/heads/master
2021-01-21T10:59:25.422929
2017-03-01T03:49:02
2017-03-01T03:49:02
83,507,654
2
0
null
null
null
null
UTF-8
Python
false
false
633
py
''' Created on 2017-2-27 @author: xiaoye ''' #coding: utf-8 import thread import time from subprocess import Popen,PIPE def scan_ip(ip): process = Popen('ping -c 2 ' + ip, stdin=PIPE, stdout=PIPE, shell=True) data = process.stdout.read() if 'ttl' in data: print '%s is live ,now time is %s' % (ip, ...
[ "biqqanquan@163.com" ]
biqqanquan@163.com
7b57e8d45ffc337b723d2242be7cf1abb54c1482
0f1dc76f801a307c0566c8fe610323bdcaa700ff
/nbsearch/Test/nb_search.py
4bf35612f93750f898a5fdabda085db1205bb5c7
[]
no_license
jkitchin/nb_search
3843d0b8ed810de902a7cf193b1b523707229c23
50179495e71a0ba7b47a0845c881abf1da52c020
refs/heads/master
2022-12-04T20:53:53.033087
2020-08-28T14:30:56
2020-08-28T14:30:56
291,049,650
0
0
null
2020-08-28T13:09:34
2020-08-28T13:09:34
null
UTF-8
Python
false
false
11,403
py
import sys import os from IPython.display import HTML, display import nbformat import argparse import re import pandas as pd # HELPFUL FUNCTIONS def search_util(root='.'): """Recursively find all ipynb files in a directory. root - This is the directory you would like to find the files in, defaults to cwd""" ...
[ "59749099+loevlie@users.noreply.github.com" ]
59749099+loevlie@users.noreply.github.com
92f3ee7e26c3ee1406bd8042cee27fc0d7f8f4c2
d115cf7a1b374d857f6b094d4b4ccd8e9b1ac189
/tags/pygccxml_dev_1.0.0/unittests/plain_c_tester.py
c26b2581fbaca21e9f350c66801aeb71c9acd90f
[ "BSL-1.0" ]
permissive
gatoatigrado/pyplusplusclone
30af9065fb6ac3dcce527c79ed5151aade6a742f
a64dc9aeeb718b2f30bd6a5ff8dcd8bfb1cd2ede
refs/heads/master
2016-09-05T23:32:08.595261
2010-05-16T10:53:45
2010-05-16T10:53:45
700,369
4
2
null
null
null
null
UTF-8
Python
false
false
1,430
py
# Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) import unittest import autoconfig import parser_test_case from pygccxml import utils from pygccxml import parser fr...
[ "roman_yakovenko@dc5859f9-2512-0410-ae5c-dd123cda1f76" ]
roman_yakovenko@dc5859f9-2512-0410-ae5c-dd123cda1f76
c08920406c3451c83af6edf3fa87dfab8ec032c3
0709766ad33c3d46f0b91afb65acce1c2188d777
/tools/export_serving_model.py
368ee157599eb08087f4f344b8cb09aa84ab0138
[ "Apache-2.0" ]
permissive
netidol/PaddleDetection
37a511f3cf93d929ad986317b3294dcee95c9f62
365d81367bf3f42a4b1941a89e84000dc8b14223
refs/heads/master
2021-06-28T16:03:29.069173
2021-04-22T12:34:15
2021-04-22T12:34:15
223,561,417
0
0
Apache-2.0
2019-11-23T09:09:26
2019-11-23T09:09:26
null
UTF-8
Python
false
false
3,991
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
netidol.noreply@github.com
1c1722d15f2ee8dde90347013662ca30cd87c6a3
0269037acc7785a58f8786c60be8ccea8ef3f6f3
/indico/modules/attachments/models/folders_test.py
71309414a40429ae60741e7457815421438a6ce8
[ "MIT" ]
permissive
bebusl/cbnu_indico
1ffa7042a1f706da953214b39827cbdbb1387cce
60b37c2bf54cd7f17092b2a9ad21311762729601
refs/heads/master
2023-01-18T22:22:09.655751
2020-12-02T09:04:06
2020-12-02T09:04:06
281,068,896
0
0
MIT
2020-07-20T09:09:44
2020-07-20T09:09:43
null
UTF-8
Python
false
false
1,890
py
# This file is part of Indico. # Copyright (C) 2002 - 2020 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. from __future__ import unicode_literals from indico.modules.attachments import AttachmentFolder def tes...
[ "adrian.moennich@cern.ch" ]
adrian.moennich@cern.ch
a40856233a9964baf4c68babb5fface0b95472e3
045cb1a5638c3575296f83471758dc09a8065725
/harpiya/service/model.py
d5f3733a91592649bfbd91be8592000f5bcf3b43
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,683
py
# -*- coding: utf-8 -*- from contextlib import closing from functools import wraps import logging from psycopg2 import IntegrityError, OperationalError, errorcodes import random import threading import time import harpiya from harpiya.exceptions import UserError, ValidationError, QWebException from harpiya.models imp...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
977da3579e8f87f1655e64f2de8938f2c1adc395
1207d50126d4d59966573927c5eadd94db6aeb59
/svggen/library/Rectangle.py
cb7e78caee0de5d274f55684375712ff71248bc0
[]
no_license
christianwarloe/robotBuilder
aee03c189972f1d305c6e13d106b362b5d26d187
3f8fbc267ac7b9bbae534d1208278541a7b5eaa5
refs/heads/master
2021-06-13T02:42:24.834816
2017-04-07T01:01:52
2017-04-07T01:01:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
from svggen.api.FoldedComponent import FoldedComponent from svggen.api.composables.graph.Face import Rectangle as Rect from svggen.api.composables.GraphComposable import Graph from svggen.api.ports.EdgePort import EdgePort from svggen.api.ports.FacePort import FacePort class Rectangle(FoldedComponent): _test_param...
[ "christian.warloe@gmail.com" ]
christian.warloe@gmail.com
3552b52bbdcda04755cd1fd787a1dd6a4b657cdb
f292e51314479f0d8195818667b7f5a7a2f1b410
/Python/pset6/problems-sentiments/analyzer.py
3538abacc3b9c5e7170e941a3a8f321a804ea6c6
[ "MIT" ]
permissive
NSKBpro/cs50-solutions
d3f906bcef614dcbcb55ce46d05b62d3249bbcb8
ebb13dc4861d85e6c64b235bbc6b1313c290ace5
refs/heads/master
2020-03-19T03:48:38.567215
2017-12-22T23:26:54
2017-12-22T23:26:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
import nltk class Analyzer(): """Implements sentiment analysis.""" def __init__(self, positives, negatives): #Init sets self.positives = set() self.negatives = set() #Read positive words from data set with open(positives) as words: for word...
[ "alekski64@icloud.com" ]
alekski64@icloud.com
061a12b6590aeeeea3ffcea01282b6cc2a5fe06b
1bc6195a6d6577266c5722854b6342b22f5d914d
/BusInquirySystem/settings.py
4defc6751684f62ac237cef63e400d3243485d29
[]
no_license
zhangfangyong/BusInquirySystem
fe2711ce893097246646b3ea425e7de36e0c8107
84c5c9055db1c84b15d4d4f7d8ccd7d97deddef9
refs/heads/master
2020-07-31T23:23:39.217615
2019-10-13T13:04:42
2019-10-13T13:04:42
210,785,544
0
0
null
null
null
null
UTF-8
Python
false
false
3,244
py
""" Django settings for BusInquirySystem project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ imp...
[ "15209805296@163.com" ]
15209805296@163.com
96eaba8baa60786fa762b5a9ed86e115dfb96fb2
b5ba12d4dcb240ba6069964380f6a3aede79f448
/mixins/simulation.py
7ccaefcd9da8089d5c296d7cfa10fab98b594edc
[]
no_license
70-6C-65-61-73-75-72-65h/erp
9e1a6f20a15d16794043f583022b1e04a9435b20
0e088c767d0d0c0e5515be703ed71252d55b70d9
refs/heads/master
2022-03-27T21:12:52.305257
2019-12-17T15:41:59
2019-12-17T15:41:59
224,333,874
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# from datetime import datetime # # from string to datetime: time.strptime # # from datetime to string: time.strftime # def today(): # # simulational date_today: # def datetime_date_today(): # """ only date returned """ # month, day, year = today() # datetime_str = f'{month}/{day}/{year}' # datetim...
[ "max.ulshin.max@istat.com.ua" ]
max.ulshin.max@istat.com.ua
bc5ad557d4f626a81e3b4e15f4bf084bb239d1a7
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-vod/huaweicloudsdkvod/v1/model/show_asset_detail_request.py
310a07633cd81850d55c262f5845bd24add26eb3
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,328
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowAssetDetailRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
50bbc66e4a19925e3c5c7c5c929e89be44671cac
fd32b1f3d3003a70e7220482d34e2c20c16940b3
/node_modules/watchpack-chokidar2/node_modules/fsevents/build/config.gypi
a69878fb189bafde4c65b6e4fb6abd1119b502c2
[ "MIT" ]
permissive
predeezRav/CountriesGroup2
12a6fe51e7ac63f277ecc7e4d0292fe1b59f8684
6b231f6baf9688d4fd9f31297eb5734d2e4bb42f
refs/heads/main
2023-03-15T11:39:52.270571
2021-03-16T08:20:47
2021-03-16T08:20:47
348,105,936
0
0
null
null
null
null
UTF-8
Python
false
false
3,059
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "prat0025@edu.ucl.dk" ]
prat0025@edu.ucl.dk
5d5b5c72b46a23b4384971602e86d7719b885892
b8bde9a346685e1428a8284f7ffb14f15e35fb78
/deploy/pinax.fcgi
43f92ff0c8e98da7b3b5d94b6afd6d72456e3420
[]
no_license
bhaugen/pinax-groups-experiments
9302762c8e7379f067385a7280ef9af4dc4c5e8f
d520ccbfdb8228e10b6e547df6f64106caa6f0ec
refs/heads/master
2020-04-05T22:49:04.750605
2009-11-13T19:36:20
2009-11-13T19:36:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
535
fcgi
# pinax.fcgi is configured to live in projects/pinax_groups/deploy. import os import sys from os.path import abspath, dirname, join from site import addsitedir sys.path.insert(0, abspath(join(dirname(__file__), "../../"))) from django.conf import settings os.environ["DJANGO_SETTINGS_MODULE"] = "pinax_groups.setting...
[ "bob.haugen@gmail.com" ]
bob.haugen@gmail.com
f7d60b29b9a189ec5ac1378575f96b53edd6566e
84ec7888f0df87582a8394b7cc1354d50177a765
/StatusHQ/applications/models.py
7718c2eded1e66503dc048506b9b38ccd5305c09
[]
no_license
StatusHQ/StatusHQ
5a5998d0c5b3628a1e88e13cb13fff4ed0f84cc2
6d0b1be1ed3e8d7dffc6628681c1aa16392e093e
refs/heads/master
2020-04-12T00:27:40.291328
2018-12-19T02:59:27
2018-12-19T02:59:27
162,200,717
0
0
null
2019-01-04T17:58:51
2018-12-17T23:03:17
Python
UTF-8
Python
false
false
1,245
py
from django.db import models from django.urls import reverse # Used to generate URLs by reversing the URL patterns from django.contrib.auth.models import User #class CurrentApplications(models.Model): '''Model represting all current applications.''' # Create your models here. class Application(models.Model): ''' Mod...
[ "nrdell3@gmail.com" ]
nrdell3@gmail.com
e5bd7290b39a8424517b15b4e042703972bc4d2b
be29d94b112ac4fd687d84dcc0d40c4a1557687d
/utils/adni_utils.py
fb14daf62c174df94e75f2515f442e6d88c7ed8d
[]
no_license
Amerosa/Multimodal-Alzheimer-s
10d5cefe974cbf7d7a4506b72c7c1c9fb8f06516
7118d4ce99f24aa12ca6da1f497d74c21d59af1f
refs/heads/master
2023-01-01T09:12:48.493480
2020-10-21T22:34:17
2020-10-21T22:34:17
306,163,794
1
0
null
null
null
null
UTF-8
Python
false
false
846
py
from utils.basic_utils import get_project_root import csv def parse_adni_subject(pth): """Takes a standard adni nii.gz file name, splits it up and returns the subject id and session id information """ return pth.split('_')[:2] def generate_mappings(): """ Parses the labels file and makesa dic...
[ "giuseppe.volpe.grossi@gmail.com" ]
giuseppe.volpe.grossi@gmail.com
44d6d5ca913a59c3d9994a8daa7e405e4705e698
00c9495013a8f010ffcc9f47268869dabf03f28c
/config/settings/production.py
b12cd4ded508034ac72b0eb8f2fcfc0a041b8849
[]
no_license
fishvi/xiaoyuanwen
3d5cbbeeea64fffb751f52b92a7f186c614a0bd9
32b96e139b4ddbc089a5a9113864d7b815a538f2
refs/heads/main
2023-05-10T07:24:15.817206
2021-06-12T04:48:46
2021-06-12T04:48:46
374,678,374
0
0
null
null
null
null
UTF-8
Python
false
false
5,166
py
from .base import * # noqa from .base import env # GENERAL # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#secret-key SECRET_KEY = env("DJANGO_SECRET_KEY") # https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts ALLOWED...
[ "fishvi@foxmail.com" ]
fishvi@foxmail.com
5756338cb6fc8c1265dcba6437dce7333023f4e4
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Windows/Forms/__init___parts/RichTextBoxSelectionTypes.py
9924fd6d966d8eeaba9fa14927670259ceddad2d
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
1,054
py
class RichTextBoxSelectionTypes(Enum,IComparable,IFormattable,IConvertible): """ Specifies the type of selection in a System.Windows.Forms.RichTextBox control. enum (flags) RichTextBoxSelectionTypes,values: Empty (0),MultiChar (4),MultiObject (8),Object (2),Text (1) """ def __eq__(self,*args): """ x.__eq__(y...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
9091f98df3dff4ab938bd0ab9d306ef2b2ca9621
f6f15809ac70089ef4cfb1ade40e2dc58d239f81
/test/functional/data/invalid_txs.py
1f19ffe59a0e3a5e593440e7030364022a6315d2
[ "MIT" ]
permissive
lamyaim/bitgesell
fcc96f6765d3907ce923f411a1b2c6c4de9d55d6
64c24348f1ba8788fbffaf663b3df38d9b49a5d1
refs/heads/master
2023-04-30T08:16:40.735496
2020-12-10T05:23:08
2020-12-10T05:23:08
369,859,996
1
0
MIT
2021-05-22T16:50:56
2021-05-22T16:48:32
null
UTF-8
Python
false
false
7,089
py
#!/usr/bin/env python3 # Copyright (c) 2015-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ Templates for constructing various sorts of invalid transactions. These templates (or an iterator ove...
[ "wuemma@protonmail.com" ]
wuemma@protonmail.com
28d300d1315fa0c773c0509994b4837170cba797
a9d23a63c099b8eab64ec9b264ac40935ce44c7b
/textutils/textutils/asgi.py
7be58b29927d86c520604b4a3364635047c88f42
[]
no_license
Hibasajid96/DjangoTextUtils
e178bbb44a2cb32238398dd4a0445999a4d245a1
d2c1b3fc6bd0c4c4ec64fa2dc202f7b4dd2e90d2
refs/heads/master
2022-10-04T21:36:33.543383
2020-06-05T11:51:59
2020-06-05T11:51:59
269,154,028
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
""" ASGI config for dentalclinic project. Asynchronous server Gateway Interface It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_appli...
[ "hibasajid96@gmail.com" ]
hibasajid96@gmail.com
acb591fee17c1c080e2096b2524f5c892e639042
6a865d085519fc3f667317cd92de8332a2edf2cf
/sample-apps/segmentation_spleen_scribbles/lib/scribbles.py
23382e99349bb8ac367e841b6e0b8920c96d43dd
[ "Apache-2.0" ]
permissive
LaplaceKorea/MONAILabel
bcd82b56a11d52d25faeb77dda1e3dcd4eb25898
5520bda8eedd726bba3172122e1cce416634b63d
refs/heads/main
2023-07-18T15:21:38.383660
2021-08-27T11:25:26
2021-08-27T11:25:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,154
py
# Copyright 2020 - 2021 MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in wri...
[ "noreply@github.com" ]
LaplaceKorea.noreply@github.com
e5d6877f5ad971d0129f929e76feae87e1c15651
9b37fdf52cb2eb9795bb7cead33dd0ae053fa80f
/catkin_ws/src/opencv_img_processing/src/opencv3_parse_camera_data_colorspaces.py
e7486324a6b91977095b29a3362d872fc4810eba
[ "MIT" ]
permissive
a-yildiz/ROS-Simple-Sample-Packages
9d3e01371e750a9489eb20487f524b380e34e0f7
eb6b18adcd1fe26e2b5e644c42922e8102867cd9
refs/heads/master
2023-08-22T17:18:52.148201
2021-09-19T07:29:43
2021-09-19T07:29:43
390,817,521
1
1
null
null
null
null
UTF-8
Python
false
false
1,583
py
#!/usr/bin/env python3 import rospy from sensor_msgs.msg import Image from cv_bridge import CvBridge import cv2 """ Run this script/node after `roslaunch opencv_img_processing turtlebot3_and_cone.launch`. When you look at `rostopic list`, you can see a topic named `/camera/rgb/image_raw`. After inspecting `rost...
[ "yildiz@stanford.edu" ]
yildiz@stanford.edu
32bb579c27b7605eff988140489dd7395c378388
69900305fad4cb9d3a4192c74e51349b411c08fc
/其他/15_二进制中的1的个数.py
ffec0763710e022d90e66c613836dc8b62223cb0
[]
no_license
MingjunGuo/python__offer
d0b9b766ef02e72e4aced37f47127c52ecf24092
c6e50be39292f8eefd7d3312ac5d0141bbe06f5b
refs/heads/master
2020-04-16T06:43:58.574485
2019-01-12T07:13:03
2019-01-12T07:13:03
165,358,460
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
# -*- coding:utf-8 -*- class Solution: def NumberOf1(self, n): ''' 题目描述 输入一个整数,输出该数二进制表示中1的个数。其中负数用补码表示。 :param n: :return: ''' if n < 0: n = n & 0xffffffff ret = 0 while n: ret += 1 n = (n-1) & n ret...
[ "mingjun1000@gmail.com" ]
mingjun1000@gmail.com
0432710ac0c48dbb2dae12113b61c0ce92474132
33ea1916b6e4574caea36ab65bffc214a613a57c
/test_platform/exta_apps/xadmin/plugins/refresh.py
66e4a318fa0d41ad3ee94a7cdb5007a72a87c108
[]
no_license
alvinsss/apitest_platform
fd1303d141c8c7fe6bc667684c52ea16e8e86229
86b171926041743e2cd3ed955032360270f7483c
refs/heads/master
2020-04-21T20:59:40.770741
2019-10-31T10:37:54
2019-10-31T10:37:54
169,864,327
15
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
# coding=utf-8 from django.template import loader from xadmin.plugins.utils import get_context_dict from xadmin.sites import site from xadmin.views import BaseAdminPlugin, ListAdminView REFRESH_VAR = '_refresh' class RefreshPlugin(BaseAdminPlugin): refresh_times = [] # Media def get_media(self, media): if sel...
[ "6449694@qq.com" ]
6449694@qq.com
d4b4b0b2f8c115e61a51e233ebc4e6909e86ff12
823e69d6685f75c88d400d4539c02ae576bd730f
/GENDA - Padroes/Singleton/Singleton.py
ebe18c75ca7f880ece05cc58d32101a36d513768
[]
no_license
PSFREITASUEA/padroes-de-projeto
8c1be86d903a04fa37a5657aad305750ecb0ca10
5398214ec44ffe35e7b67b73adde498f73f6de4b
refs/heads/main
2023-06-12T21:59:24.678112
2021-07-06T23:10:48
2021-07-06T23:10:48
381,531,134
1
0
null
null
null
null
UTF-8
Python
false
false
880
py
import random import hashlib class Singleton(object): instances = {} def __new__(cls, *args, **kwargs): if cls not in cls.instances: cls.instances[cls] = super(Singleton, cls).__new__(cls, *args, **kwargs) cls.hash = "" cls.int = 1 return cls.instances[cls]...
[ "psdsfj.snf20@uea.edu.br" ]
psdsfj.snf20@uea.edu.br
f146849d951a5b88e50b16b8ea8fe901f7de6f8f
a934ecf1f08d0254e5e272db5ab0e87122ad9b8c
/home/views.py
0ece1d3c9c4ec21c6f4aea39b0db24d3dea19013
[ "MIT" ]
permissive
wsoliveira/borsocontrolo
7957415099c5288d6e2d45fc7c9735237644b063
61a4e2aac738a766b6919e30c08fc967fe96fb40
refs/heads/master
2023-08-16T22:25:57.622831
2020-07-06T18:25:52
2020-07-06T18:25:52
255,434,213
0
0
MIT
2021-09-22T18:51:55
2020-04-13T20:26:02
JavaScript
UTF-8
Python
false
false
226
py
from django.shortcuts import render, redirect, get_object_or_404 from django.contrib.auth.decorators import login_required # Create your views here. @login_required def home(request): return render(request, 'home.html')
[ "ws.oliveira@gmail.com" ]
ws.oliveira@gmail.com
22afe83259f60017e1dc9fe21c5ac9a3a81184ba
77ed8744975cdf7d26396a705590a3b58c440fe1
/dovecollector/main_app/admin.py
432981b0788f2ed4c5c6707e802cff3c4de0eac8
[]
no_license
raihanmorshed/dovecollector
801de49484e174c80073116ed3950f3755f2046f
eb726d1e8bf8becef3a569dcef22a2c124fefe02
refs/heads/master
2022-11-21T21:48:36.241493
2020-07-10T01:40:49
2020-07-10T01:40:49
277,176,580
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django.contrib import admin from .models import Dove, Feeding # Register your models here. admin.site.register(Dove) admin.site.register(Feeding)
[ "raihanmorshed@Raihans-MacBook-Air.local" ]
raihanmorshed@Raihans-MacBook-Air.local
93176c49b6e7643b4b231a3331904fc3cddc78ba
4c1434ee17c203c007e8dcd0f525386028fed86b
/driver.py
76a5b6c5813b1e81b3088d64389dcc1dabc19617
[]
no_license
Heislandmine/CrossdresserFromXtube
ad321cc7b468e9e46755b2a72c04bba93f60e8f6
7357eb64843be851ff11740d8a127a24d23ccfe5
refs/heads/master
2022-11-12T20:46:31.662725
2020-07-11T11:34:02
2020-07-11T11:34:02
272,945,636
1
0
null
null
null
null
UTF-8
Python
false
false
425
py
from selenium import webdriver class Driver: def __init__(self): options = webdriver.ChromeOptions() options.add_argument("--headless") # Selenium Server に接続する driver = webdriver.Remote( command_executor="http://localhost:4444/wd/hub", desired_capabilities=...
[ "heislandmine@protonmail.com" ]
heislandmine@protonmail.com
f27c50dc81bfd9c7856aaa1f0f9af9ce8f819815
1596ebabdc32196d50e2cd9f776b0aaf460f28d5
/oldScripts/20181002_bgSub_ClusterTrack_ImStack.py
6dd96a66c179e24a1c6f1bf36102662ced5f48f5
[ "MIT" ]
permissive
crackmech/flyclimb
1394a81ef7fae98c13eaadc18a36543a378571c1
551621d1d2747d22b407a6b640d7ccaf680b53e5
refs/heads/master
2021-04-26T22:38:34.720421
2019-09-21T08:30:51
2019-09-21T08:30:51
124,124,198
0
0
null
null
null
null
UTF-8
Python
false
false
26,438
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Created on Tue Nov 14 18:46:57 2017 @author: aman """ import cv2 import os import numpy as np import re from datetime import datetime import Tkinter as tk import tkFileDialog as tkd import multiprocessing as mp import time import glob #import trackpy as tp import rando...
[ "crack.mech@gmail.com" ]
crack.mech@gmail.com
48232ef8dae4207da9df14791e46fa8988f9cf3e
9b74ef81e5c1c1dbecf847ada0e704c8e808db22
/data/triviaqa/config.py
16b933196b1639ff75fa8bd3e17f6de1e78d0420
[ "MIT" ]
permissive
neufang/jack
4464ddc1d7c97bd729e1f661734016bb0d0b1397
96a4e59be70ec7df382d26d5bf6d6eee2c94f5e7
refs/heads/master
2020-06-23T14:05:11.116345
2019-07-24T13:52:15
2019-07-24T13:52:15
198,644,166
0
0
MIT
2019-07-24T13:46:26
2019-07-24T13:46:25
null
UTF-8
Python
false
false
275
py
import os from os.path import join """ Global config options """ TRIVIA_QA = os.environ.get('TRIVIAQA_HOME', None) TRIVIA_QA_UNFILTERED = os.environ.get('TRIVIAQA_UNFILTERED_HOME', None) CORPUS_DIR = join(os.environ.get('TRIVIAQA_HOME', ''), "preprocessed") VEC_DIR = ''
[ "dirk.weissenborn@gmail.com" ]
dirk.weissenborn@gmail.com
a9e5e96d698f3e585ec37494c11d6d2ee96ce8df
e3743b27fc794762308958f6e9c6b594db39153f
/paper_examples/visualization_of_activationfunction.py
d1ab66c06340e3a1918cb19fa3a1935f02987d0c
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
raphaeldeimel/python-phasestatemachine
41cc73d5659155f1b8088fa9893b8c2ec02f4064
cead459a9b4776e403dec199fbc0dd5d8dd25494
refs/heads/master
2022-08-01T19:58:48.368729
2020-05-18T12:15:05
2020-05-18T12:15:05
264,927,402
0
0
null
null
null
null
UTF-8
Python
false
false
2,890
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: Raphael Deimel @copyright 2018 @licence: 2-clause BSD licence Visualizes the vector field in one 2D-plane of the phase-statemachine state space """ from numpy import * from matplotlib.pylab import * from mpl_toolkits.mplot3d import Axes3D from matplotlib ...
[ "raphael.deimel@tu-berlin.de" ]
raphael.deimel@tu-berlin.de
6288d87565ff30fcae21bfa03159a2e8abac484d
d0e5128ad27ebd6c3be846e83c9678b077b071f0
/directors.py
4d8f09bf45cfeb497119d090f443ad275d85d0e5
[]
no_license
iliakakurin/dir
c280b7bcef2026fa4f04a5b5172fb18765e4ee05
bb5c995a32115e357771085786b0ea828b3db649
refs/heads/main
2022-12-28T12:15:52.544625
2020-10-10T12:24:07
2020-10-10T12:24:07
302,895,177
0
0
null
null
null
null
UTF-8
Python
false
false
3,078
py
winners = {1931: ['Norman Taurog'], 1932: ['Frank Borzage'], 1933: ['Frank Lloyd'], 1934: ['Frank Capra'], 1935: ['John Ford'], 1936: ['Frank Capra'], 1937: ['Leo McCarey'], 1938: ['Frank Capra'], 1939: ['Victor Fleming'], 1940: ['John Ford'], 1941: ['John Ford'], 1942: ['William Wyler'], 1943: ['Michael Curtiz'], 1944...
[ "noreply@github.com" ]
iliakakurin.noreply@github.com
71e02c2e6d1bce0c15ac9ed0cf1d4f5cd0eaff41
20318c1ce3d4a9b1233c877338e74f862e80c4e9
/Python/main.py
65409bdbd9de9f2b75b74b64b268132df91b64a2
[]
no_license
jfvilleforceix/BenchmarkRugby
91ed1b5da2ae1de2af7b5d1a0d7430e75cf9e3e3
f33d8bb5be6bb12155aff761e915ed10abac19ba
refs/heads/master
2020-04-16T23:45:06.969115
2019-02-18T22:00:31
2019-02-18T22:00:31
166,024,296
0
1
null
null
null
null
UTF-8
Python
false
false
5,862
py
##! /usr/bin/python # -*- coding: utf-8 -*- import urllib.request from bs4 import BeautifulSoup sexton = "http://www.itsrugby.fr/joueur-4545.html" vulivuli = "http://www.itsrugby.fr/joueur-17678.html" ford = "http://www.itsrugby.fr/joueur-18596.html" <<<<<<< HEAD bobo = "http://www.itsrugby.fr/joueur_1859.html" repon...
[ "jf.villeforceix2207@hotmail.fr" ]
jf.villeforceix2207@hotmail.fr
283cc666d0bb18ceb259e7ce977b964c5a16d1a3
544d0cef14d6e003b91763b0d351494fbe191f5c
/es_site_config.py.example
9c1e8301af0d400ae91ddec3581855bd6cdbf821
[]
no_license
TTimo/es_build
e22e0e1dd7743e22847d16360b41e992a8c1259b
b1e596bb36392a6524c63b1dbed0ce75f2f306a0
refs/heads/master
2016-09-06T15:24:24.722752
2013-10-10T12:44:07
2013-10-10T12:44:07
12,408,799
3
0
null
2013-10-05T19:54:27
2013-08-27T14:49:14
Python
UTF-8
Python
false
false
116
example
#!/usr/bin/env python # override the default configuration settings with a site configuration FLAVOR = "ubuntu_10"
[ "ttimo@ttimo.net" ]
ttimo@ttimo.net
da441fe0d6c94bb2e2df9eb6f5089b6d7cb64770
b65e09f870e3a6f99bd68f3fd7ea92523eff6b0f
/meituan/main.py
5d3ccf6f5f410e2aededf1b36bc6de6898e3b23f
[]
no_license
f1025395916/untitled
bf079c810bce161693c127f81fbd8efe98508d1f
8c1005b783a1029d80332fc4cf52074514ea7502
refs/heads/master
2020-05-03T02:36:00.963934
2019-08-28T08:43:16
2019-08-28T08:43:16
178,374,255
1
0
null
null
null
null
UTF-8
Python
false
false
3,284
py
import requests import json import jsonpath import fontTools headers = { 'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1', 'Accept': 'application/json', 'Accept-Language': 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-H...
[ "1025395916@qq.com" ]
1025395916@qq.com
ae3df4ef092d4514dccb7aab617de96786eb2497
8a640ca583db73c8af025c135d8f6c53afd2e9ba
/tr_sys/tr_ara_ncats/urls.py
66bd73a7857e77ffbcd1da67a83cd0a2252a6feb
[ "MIT" ]
permissive
edeutsch/Relay
b6434096da3ab5b85d55eab1c14da1bf3bfe0a21
fc4581e4a512ebd3a0459bbd06652eb4291133e9
refs/heads/master
2022-11-30T17:35:23.048297
2020-08-04T18:46:09
2020-08-04T18:46:09
282,288,237
0
0
MIT
2020-07-24T18:17:23
2020-07-24T18:17:23
null
UTF-8
Python
false
false
246
py
from django.urls import path, include from . import api apipatterns = [ path(r'', api.index, name='ara-ncats-api'), path(r'runquery', api.runquery, name='ara-ncats-runquery') ] urlpatterns = [ path(r'api/', include(apipatterns)), ]
[ "markwilliams2755@gmail.com" ]
markwilliams2755@gmail.com
73f40efcf57f9a5c4b0601d37814d3ce3733297a
3587e4c248005c6df500caea7ee18675d8676022
/DBS3/Server/Python/src/dbs/dao/Oracle/BranchHashe/Insert.py
5d6e65f82d2c96c81b384b5cb91896b541d29153
[]
no_license
bbockelm/DBS
1a480e146010e3d6b234ba5ee471f7c87a4877e6
4e47d578610485e0503fc1270c7d828064643120
refs/heads/master
2021-01-16T18:18:29.989833
2012-08-21T15:01:05
2012-08-21T15:01:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
!/usr/bin/env python """ DAO Object for BranchHashes table """ __revision__ = "$Revision: 1.7 $" __version__ = "$Id: Insert.py,v 1.7 2010/03/05 15:41:53 yuyi Exp $ " from WMCore.Database.DBFormatter import DBFormatter class Insert(DBFormatter): def __init__(self, logger, dbi): DBFormatter.__init__...
[ "" ]
2670a564756e2418d01354846cf57d5defcc1c20
460f981dfe1a05f14d2a4cdc6cc71e9ad798b785
/3/amd64/envs/navigator/lib/python3.6/site-packages/xarray/core/common.py
5b090bf0d2f077e52b70fdaa639249f070fb92b3
[ "Python-2.0", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "Intel", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "GPL-1.0-or-later", "LGPL-2.0-or-later", "LicenseRef-scancode-mit-old-style", "dtoa", "LicenseRef-scancode-public-domain-disclaimer", "Zlib", "Li...
permissive
DFO-Ocean-Navigator/navigator-toolchain
d8c7351b477e66d674b50da54ec6ddc0f3a325ee
930d26886fdf8591b51da9d53e2aca743bf128ba
refs/heads/master
2022-11-05T18:57:30.938372
2021-04-22T02:02:45
2021-04-22T02:02:45
234,445,230
0
1
BSD-3-Clause
2022-10-25T06:46:23
2020-01-17T01:26:49
C++
UTF-8
Python
false
false
35,834
py
from __future__ import absolute_import, division, print_function from textwrap import dedent import numpy as np import pandas as pd from . import dtypes, duck_array_ops, formatting, ops from .arithmetic import SupportsArithmetic from .options import _get_keep_attrs from .pycompat import OrderedDict, basestring, dask...
[ "dwayne.hart@gmail.com" ]
dwayne.hart@gmail.com
0fee4123dd316b974c3fdd92e1ace45e6046c0e7
1f40a08ee85ef6f78384e6f6f53bcf3f86b8c44b
/shorten/app/views.py
fec1ecdf840fbfdd7d0588f916a668b2701fdb4d
[]
no_license
infsolution/EncurtUrl
bff4543fb17f3c2a6853c64abc24d307abcd04bf
0f6d8aa23a2498a8bf5575797db9a5a8eb855403
refs/heads/master
2020-05-14T09:31:39.265337
2019-09-28T17:44:25
2019-09-28T17:44:25
181,741,563
0
0
null
null
null
null
UTF-8
Python
false
false
5,523
py
from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.core.paginator import Paginator, InvalidPage from django.shortcuts import render, redirect from django.http import JsonResponse from rest_framework import generics from .models import * from...
[ "clsinfsolution@gmail.com" ]
clsinfsolution@gmail.com
ce8203a37a0d73246f63399116e942a387aa6b19
38eb57300418e6f10433630437388f779ce50e09
/rbac_permission/rbac/servers/permission.py
4fc6af516966b9eb74fc2a0ed9e12b36cfe54973
[]
no_license
SelfShadows/Django-Flask
f37839f763133f0d62bffad3128171c426a1c038
13e32d1c8aac1532b43323e1891c423fe78f2813
refs/heads/master
2021-01-04T12:31:18.018508
2020-02-14T16:29:27
2020-02-14T16:29:27
240,550,991
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
def init_session(request, user): # 在session中注册用户 ID request.session["user_id"] = user.pk # 方法1 # # 查询当前用户登陆的所有权限 distinct(去重) # permission = user.roles.all().values("permissions__url").distinct() # permission_list = [] # for item in permission: # permission_list.append(item["perm...
[ "870670791@qq.com" ]
870670791@qq.com
7609d8654867171cc043ee30d5b4edc4ba5d48f2
ed8db15dad4236ada32c0355e032dc996266a271
/Advance_Python/8. Inheritance/4. ConstructorOverriding.py
207ba7b1ce97664ee242397920676842b2750dc9
[]
no_license
mukund1985/Python-Tutotrial
a01e0c3ea77690c23c6f30ba1a157c450e5a53ed
bfcf0c81029ce2bee4aa855d90661df25cc94ef9
refs/heads/master
2021-05-21T15:41:18.018660
2020-11-04T02:20:30
2020-11-04T02:20:30
309,857,690
1
0
null
2020-11-04T02:14:37
2020-11-04T02:11:38
Python
UTF-8
Python
false
false
468
py
# Constructor Overriding class Father: # Parent Class def __init__(self): self.money = 1000 print("Father Class Constructor") def show(self): print("Father Class Instance Method") class Son(Father): # Child Class def __init__(self): self.money = 5000 self.car = 'BMW' print("...
[ "mukund.pandey@gmail.com" ]
mukund.pandey@gmail.com
9586b10b08a6dad3fcc896702a405df1651e8e2b
54a2dbd057fe471bae3763499eed9df66cd86af0
/insight_testsuite/temp/src/graph.py
77f060754c7b4743de49c02f108e454f41e25d37
[]
no_license
ying4uang/digital-wallet
42e03e0d71d1c06bccb2ce3fe75f287dff5dfb5e
49c82d01df5987acb468f1e79c5ea4eb82a0b96e
refs/heads/master
2020-12-24T11:17:28.899386
2016-11-11T05:06:57
2016-11-11T05:06:57
73,040,799
0
0
null
null
null
null
UTF-8
Python
false
false
6,451
py
#!/usr/bin/env python from collections import deque class Vertex: """ Stores vertices in a Graph. Vertex encapsulates first_connections and node_id. """ def __init__(self,node_id): """ Construct a new 'Vertex' object. :param node_id: The id of the vertex, in our case userid. ...
[ "ying@xandys-MacBook-Pro.local" ]
ying@xandys-MacBook-Pro.local