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
ff0f0d79b8cc81265392a840fd0e45be6aa0c778
efabb0e2b80fc4bbc6924231aeb762fb0049a498
/train_schedule/utils/repr.py
86dae38ff60bc2c9d54311a1f4e880da87600ab9
[]
no_license
entwanne/horaires_trains
52bf76db99a8287ab987452daade959c6a9d1f8b
a2550ad50ac34b5cf454bf470023ccc7939882ed
refs/heads/master
2023-06-24T15:01:15.323053
2021-07-17T07:59:35
2021-07-17T08:00:56
333,986,037
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
import itertools def cls_repr(cls, /, *args, **kwargs): """ Get representation of a class instance cls_repr(Object, 1, 'a', foo='bar') => "Object(1, 'a', foo='bar')" """ args = (repr(arg) for arg in args) kwargs = (f'{key}={arg!r}' for key, arg in kwargs.items()) args_txt = ', '.join(...
[ "antoine.rozo@gmail.com" ]
antoine.rozo@gmail.com
b5c6f0351496f459b743e6cfedafcdd1cd206d37
172d7d1bd13bc1c0ead439a7481a819f4c880d26
/services/database/check_database.py
c97c1eee5ae1d853c5d5b27705f77e1334520de8
[]
no_license
arezamoosavi/f-on-top
9b360b83c552ebfd47bfb2ad93ec7d71c2d6407c
7515cd1ab01348d8eb9dbeade3bc712bf1c17202
refs/heads/master
2022-11-25T18:51:57.417916
2020-08-06T19:44:46
2020-08-06T19:44:46
285,553,205
1
0
null
null
null
null
UTF-8
Python
false
false
235
py
from database.config import Mongo mongo = Mongo() if __name__ == "__main__": try: mongo.connect() mongo.disconnect() exit(1) except Exception as e: print("Error! {}".format(e)) exit(0)
[ "sdamoosavi@gmail.com" ]
sdamoosavi@gmail.com
aefbd47249167a20b8b0a963e000c1ee206b2b6f
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/comp/trnsmtdbyteshist1qtr.py
e1cccf596b30d46de4cef29b6e7ecb7d8c95061b
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
10,980
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
c5eca9d2162ff696d744e195121e07872fce3c69
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-4105.py
c928708f0a72bf55a54efdbb1eb4b59ad0c30479
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,292
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
b40333e755380ed0b34619740f2ac7b4969607d3
e318c292adf60351765e8e9cf60aaf030924e47e
/CompanyCrawl/models/es_types.py
2309f979207f1221e2327346f0f77523a9ee0696
[]
no_license
kkyyGGYY/CompanyCrawl
4a1bad3b31a5a949e18974422fb7da46b74252e9
0b6ca72793869008764f1e427971a729805fb0c6
refs/heads/master
2020-03-22T15:39:23.565443
2018-07-09T10:06:24
2018-07-09T10:06:24
140,267,402
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
from elasticsearch_dsl import DocType, Date, Integer, Keyword, Text
[ "lsxxxxxx@126.com" ]
lsxxxxxx@126.com
d0d3c632afeb3259298540e97b346d3c3f152346
edd8ad3dcb6ee9b019c999b712f8ee0c468e2b81
/Review/Chapter08/8-14.py
db65b086ad09e74387cbe157eb25acb5a6d8f519
[]
no_license
narinn-star/Python
575cba200de35b9edf3832c4e41ccce657075751
14eba211cd3a9e9708a30073ba5b31d21d39eeef
refs/heads/master
2023-05-25T22:57:26.079294
2021-06-07T15:29:39
2021-06-07T15:29:39
331,647,462
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
x = 10 y = 2 # 8-14(a) print(x > y) print(x.__gt__(y)) print("===================") # 8-14(b) print(x != y) print(x.__ne__(y)) print("===================") # 8-14(c) print(x % y) print(x.__mod__(y)) print("===================") # 8-14(d) print(x // y) print(x.__floordiv__(y)) print("===================") # 8-14...
[ "skfls2618@naver.com" ]
skfls2618@naver.com
0da66bcf2db47f14cec13123c6c89ca6f68700cc
10fc6db9c04d6c631faf65db4836b41dca999da8
/webclient/apps.py
72714e24fcd4e4f64f386a5afe331a308282b147
[]
no_license
franksotogithub/FacturacionElectronica
b8273f98d37a0b035365c44b5446d78063e39d89
afe9f2599f6076782a96829e288168baabfa3afb
refs/heads/master
2022-12-09T18:37:42.857071
2018-11-05T08:00:45
2018-11-05T08:00:45
137,080,807
3
5
null
2022-12-08T02:55:52
2018-06-12T14:07:31
Python
UTF-8
Python
false
false
93
py
from django.apps import AppConfig class WebclientConfig(AppConfig): name = 'webclient'
[ "franksoto2012@gmail.com" ]
franksoto2012@gmail.com
ace6da3b0f80ab5996b64bde9f9dd29985ab9bf6
60208add51b6a53021f86e37d707608dd315e13a
/ListenandSpeak_OLDER.py
82d3b4f368eeada108b2ff79a9e58f29345131f4
[]
no_license
joeyuan19/LilJohnScheme
f65dcd38b9cb70eca9e18598cb95573cc8319810
093096924aa3d7c1f9c90754a8f189da511b616b
refs/heads/master
2021-01-01T20:15:49.614268
2013-04-07T06:10:20
2013-04-07T06:10:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,290
py
import numpy as np import pyaudio import time import winsound import sys import struct nFFT = 512 BUF_SIZE = 4 * nFFT FORMAT = pyaudio.paInt16 CHANNELS = 2 RATE = 44100 def listen(stream, MAX_y): # Read n*nFFT frames from stream, n > 0 N = max(stream.get_read_available() / nFFT, 1) * nFFT dat...
[ "joe.yuan19@gmail.com" ]
joe.yuan19@gmail.com
faa76907f1f6074431beba585b1c38ba4ca4ce4d
4a7f72300dfbcb62e9e970e42c136be586ed82ec
/gremlinclient/aiohttp_client/client.py
a804ca2595833c5826b47d6fc176f6f779b04091
[ "MIT" ]
permissive
mikeatm/gremlinclient
82dc3028a9fa7c837dfc7115ce28186ff05964dd
83ff7a978a483bd4c6c1e0e4a58b76f7a98e7516
refs/heads/master
2020-04-06T06:22:24.326968
2016-03-19T23:18:20
2016-03-19T23:18:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,973
py
import asyncio import functools import sys from logging import WARNING try: import aiohttp except ImportError: raise ImportError( "Please install aiohttp to use the gremlinclient.aiohttp module") from gremlinclient.api import _submit, _create_connection from gremlinclient.connection import Connection...
[ "davebshow@gmail.com" ]
davebshow@gmail.com
fce6e329403d6adc3262c995dc5ec9e02d334024
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_101/ch18_2020_03_18_01_26_47_664499.py
ae423b53ce7158a56867362da050ab4cb87abd32
[]
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
176
py
def verifica_idade(idade): if idade>=21: return "Liberado EUA e BRASIL" elif idade>=18: return "Liberado BRASIL" else: "Não está liberado"
[ "you@example.com" ]
you@example.com
79b18add60709484457e73c0838b1a7fb16b513e
2afb1095de2b03b05c8b96f98f38ddeca889fbff
/Midterm_Project/parsing_each_day_link.py
79d8485cbda5b1d24eaf883627d7993fec6d78db
[]
no_license
draganmoo/trypython
187316f8823296b12e1df60ef92c54b7a04aa3e7
90cb0fc8626e333c6ea430e32aa21af7d189d975
refs/heads/master
2023-09-03T16:24:33.548172
2021-11-04T21:21:12
2021-11-04T21:21:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
import pandas as pd from bs4 import BeautifulSoup import glob,os def parsing_each_day_link(): assert str(os.listdir('box_office_pages')) != '[]', \ "You should download each year's page first!\n\nCheck if you have run [ web_scrapping.py ]" link_data = pd.DataFrame() for one_file in ...
[ "13701304462@163.com" ]
13701304462@163.com
55b32e118aa983ce739a92544409021a43d3c14b
ceead28beb1ea6cb56a2bb4472bc1d2396b39e6f
/gen_basis_helpers/analyse_md/get_neb_lists.py
267c11c2a33d31024d5021c370da14579320c1cb
[]
no_license
RFogarty1/plato_gen_basis_helpers
9df975d4198bff7bef80316527a8086b6819d8ab
8469a51c1580b923ca35a56811e92c065b424d68
refs/heads/master
2022-06-02T11:01:37.759276
2022-05-11T12:57:40
2022-05-11T12:57:40
192,934,403
3
0
null
null
null
null
UTF-8
Python
false
false
1,530
py
#import plato_pylib.shared.ucell_class as uCellHelp import itertools as it import numpy as np import MDAnalysis.lib.pkdtree as pkdTreeHelp from . import mdanalysis_interface as mdAnalInter #TODO: Its possible to use search() instead of search_pairs() to get a more limited set of neighbour lists #Will probably need ...
[ "richard.m.fogarty@gmail.com" ]
richard.m.fogarty@gmail.com
f7be66852d2297a69e36cff64bd054ce2ec50de2
edcc26728370aa5bfabfbf5615933c34b108ed21
/sketches/kochschneeflocke/kochschneeflocke.pyde
4458f243cd6685e7561ac27b2975cf2d5e7e6482
[ "MIT" ]
permissive
kantel/processingpy
9e94f4116257e9cfcd59c1f71d7572559c703058
1eef60347d41563aef7a092ff35434bd47d931d2
refs/heads/master
2023-08-15T12:04:46.713124
2023-07-29T16:41:14
2023-07-29T16:41:14
73,006,897
5
3
null
null
null
null
UTF-8
Python
false
false
1,051
pyde
add_library('Turtle') # Konstanten-Deklaration WIDTH = 400 HEIGHT = 400 colors = [color(18, 184, 116), color(200, 23, 223), color(95, 145, 40), color(8, 124, 127)] seiten = 4 # Anzahl der Seiten der Schneeflocke, # entweder 3 oder 4 it = 5 # Iterationstiefe def setup(): g...
[ "joerg@kantel.de" ]
joerg@kantel.de
db062f1697b0a95aef5dbb3aeb1aa34811af1a44
f914e863f4eae0c6474f8b8150a40969fc8e1a86
/tests/test_readme/test_readme.py
70904a408ba0170e163518e81d7ff5020465b322
[ "MIT" ]
permissive
jvrana/pyblast
0ff430f3f1f51d5b2118e1749f74e1dc8ff3b67f
0f7ee7575e97470bfd05a2373d9c68247ec4ead0
refs/heads/master
2021-06-03T23:04:03.734484
2020-09-11T22:46:31
2020-09-11T22:46:31
102,554,910
0
0
MIT
2020-09-11T20:15:01
2017-09-06T02:49:51
Python
UTF-8
Python
false
false
1,538
py
def test_example1(): from pyblast import BioBlast from pyblast.utils import make_linear from Bio.SeqRecord import SeqRecord from Bio.Seq import Seq import json queries = [ SeqRecord( Seq( "ACGTGATTCGTCGTGTAGTTGAGTGTTACGTTGCATGTCGTACGTGTGTAGTGTCGTGTAGTGCTGATGC...
[ "justin.vrana@gmail.com" ]
justin.vrana@gmail.com
6e4840b7eb1aae2c3bdd2aacea996611949c4e99
578f88ce737dfd3ac01a7dbffbed430b2634d9c2
/django_project_lb_02/response_demo/views.py
dba5398c17aa3e4985d21e0763c667e4cc46975d
[ "MIT" ]
permissive
libin-c/Django_Exercise
94af81f9bf0f1467797447ce40722002b0e9cf16
6e29d51a3dea6b0169d69d4cb8fce18c9af67a9b
refs/heads/master
2020-05-23T14:54:35.092106
2019-05-20T01:31:19
2019-05-20T01:31:19
186,815,315
2
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
from django.shortcuts import render from django.http.response import HttpResponse from django.http.response import JsonResponse # Create your views here. def response_demo(request): # 参数 # return HttpResponse( # # 响应体 # content="content 参数 响应体", # # MIME 文件交互格式 # content_typ...
[ "84045407@qq.com" ]
84045407@qq.com
377b5de4b2c8a8636a78a2064f4df613fdf749e1
0836756af2e9b8cfe65dbbe1abefd435c212095c
/tensorpack/models/_common.py
8f6d161aa67f92d83047e7700a106692797319df
[ "Apache-2.0" ]
permissive
chagge/tensorpack
dafc4c7733b346de85b6525f2292e3f63861a6dc
abd38c594184ee5ad97a0037a16754c62a41a8d7
refs/heads/master
2020-12-30T22:09:26.989520
2016-07-08T07:09:14
2016-07-08T07:09:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,004
py
# -*- coding: UTF-8 -*- # File: _common.py # Author: Yuxin Wu <ppwwyyxx@gmail.com> import tensorflow as tf from functools import wraps import six import copy #from decorator import decorator from ..tfutils import * from ..tfutils.modelutils import * from ..tfutils.summary import * from ..utils import logger # make s...
[ "ppwwyyxxc@gmail.com" ]
ppwwyyxxc@gmail.com
27b7ab508cd1fe2f169f8b8a18aead1e34db2949
54f9b2498ed0ac8ca9a895a1704b070aaf936823
/src/globus/provision/common/go_transfer.py
155ded765eca7d8a42280b59eeeca7c908b442e8
[]
no_license
globusonline/provision
dd45ca7b5ed57088054c760227a7170731bf1ece
f8a5decbaa6e997ca0ecbac2c4dd3162b391df63
refs/heads/master
2021-01-22T06:49:10.846265
2012-03-03T03:05:41
2012-03-03T03:05:41
2,199,423
3
3
null
null
null
null
UTF-8
Python
false
false
14,930
py
# -------------------------------------------------------------------------- # # Copyright 2010-2011, University of Chicago # # # # Licensed under the Apache License, Version 2.0 (the "License"); you may # # no...
[ "borja@cs.uchicago.edu" ]
borja@cs.uchicago.edu
783eb8c4deaa8acb1e143bfb453ae71ecc17beee
1da977fdb87a566b4ea75390ae819f0189ee7c73
/api/migrations/0006_auto_20200201_1532.py
230354a5c07ba10de71322ddef733103b0d4a665
[]
no_license
python3django/api-create-notification
14c95d4aab9a4850bd8c25656c0c7cbab571e511
96370a3a7a06b5c43a1971f4a22d4f78d55059e9
refs/heads/master
2022-04-14T19:29:07.344015
2020-02-02T19:24:05
2020-02-02T19:24:05
237,822,903
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
# Generated by Django 3.0.2 on 2020-02-01 13:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0005_auto_20200201_1521'), ] operations = [ migrations.AddField( model_name='preference', name='test_email', ...
[ "python3github@gmail.com" ]
python3github@gmail.com
4b3cded7cda307990dbefe0ea6e0e4bd14cb4f68
da7e1c70fb9a130764fdc1d31e32d9a18773f93e
/custom_apps/controllers/controllers.py
db7a593dbabb8c097c59c592df115ac8856f5b28
[]
no_license
halltech-ci/apps
0c8c636c2f6fb0cf4552bb2c97d80846b77f489b
b3ac18a762f4a85c980e5ee05c89aad81acd8f47
refs/heads/master
2023-01-28T09:10:46.060261
2020-11-06T08:41:14
2020-11-06T08:41:14
208,519,835
0
1
null
2022-12-23T17:29:12
2019-09-15T00:15:32
Python
UTF-8
Python
false
false
777
py
# -*- coding: utf-8 -*- from odoo import http # class CustomApps(http.Controller): # @http.route('/custom_apps/custom_apps/', auth='public') # def index(self, **kw): # return "Hello, world" # @http.route('/custom_apps/custom_apps/objects/', auth='public') # def list(self, **kw): # ...
[ "maurice.atche@halltech-africa.com" ]
maurice.atche@halltech-africa.com
69f68c132d33ae5663165fd83fa504043d617c4b
eea01a7a4625b0ffada7f5ea9909537f159a706e
/robot-server/robot_server/runs/router/commands_router.py
e765ed1ec49166f2fa8d2a826abb860ef3c7b84f
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
XifanRD/opentrons
b9fe114232fba26d789a9c4cf24b6ec6338134dc
d02dc6f77c40d85daa1c37f2073e4672e5f5f445
refs/heads/edge
2023-07-09T06:43:13.526571
2023-06-30T01:12:18
2023-06-30T01:12:18
207,443,994
0
0
Apache-2.0
2019-12-19T09:41:37
2019-09-10T02:05:43
null
UTF-8
Python
false
false
12,372
py
"""Router for /runs commands endpoints.""" import textwrap from datetime import datetime from typing import Optional, Union from typing_extensions import Final, Literal from anyio import move_on_after from fastapi import APIRouter, Depends, Query, status from pydantic import BaseModel, Field from opentrons.protocol_e...
[ "noreply@github.com" ]
XifanRD.noreply@github.com
4e7299da311db36d0ac0f414eba7bfb92c91606a
85a2bee1cae078e1c45a294ab5213a8bc18e8540
/keras_study/classifier_study/Keras-TextClassification/keras_textclassification/m01_FastText/train.py
f850807a0bdbe76319e9ea0409c39402ccd6823c
[]
no_license
hbwzhsh/NLP_study
d1bbd220e16d48c1aded6bc46ad48f32d61a381c
1a77bd8c1d6355d9b335aab954d227dc723d393c
refs/heads/master
2021-04-01T04:10:59.626790
2020-03-17T08:32:38
2020-03-17T08:32:38
248,155,203
1
0
null
2020-03-18T06:27:17
2020-03-18T06:27:17
null
UTF-8
Python
false
false
4,765
py
# -*- coding: UTF-8 -*- # !/usr/bin/python # @time :2019/6/3 10:51 # @author :Mo # @function :train of fast text with baidu-qa-2019 in question title # 适配linux import pathlib import sys import os project_path = str(pathlib.Path(os.path.abspath(__file__)).parent.parent.parent) sys.path.append(project_path) # 地址 ...
[ "958747457@qq.com" ]
958747457@qq.com
3fdde8d91efb538998240b252f4f4970dea2d3bc
a23efcef71aee7030a906abc8fdff9b367e8262f
/pyramid_bokehserver/views/main.py
eb4f6b876cbec01a8b595b1e079225873686dea5
[]
no_license
mcdonc/pyramid_bokehserver
8f299180847215a4c877872c987c5e040a6ccc57
d45747af188c09bc6aca322f511ad9861e7b2606
refs/heads/master
2021-01-10T07:27:32.873537
2015-07-01T19:17:54
2015-07-01T19:17:54
36,462,816
3
0
null
null
null
null
UTF-8
Python
false
false
11,717
py
from __future__ import absolute_import import logging log = logging.getLogger(__name__) import os import uuid from pyramid.httpexceptions import ( HTTPConflict, HTTPFound, HTTPNotFound, ) from pyramid.renderers import render_to_response from pyramid.response import FileResponse from pyramid.view impo...
[ "chrism@plope.com" ]
chrism@plope.com
a8e147a025c93210f94bcf49625248b74a491e96
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/fv/inheritingfrom.py
ade1da453e89d9ba51a3d52a9e326a821225af00
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,988
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
187769f4c3c9e80cf63d1ec70ad705bff9625af2
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/model_test.runfiles/pypi__numpy_1_15_4/numpy/testing/utils.py
6e1c83af421f7904e4a15e2e14aac8253f52484b
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__numpy_1_15_4/numpy/testing/utils.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
cf18e89e48492c032f66a5f58f18777cd077d274
7915dded0db4e485f05ede625bacb9b03b9122e6
/begining/chapter07/pr7_01.py
49287cbf0bb4c55aa59f090c93d93cb67cb0a34f
[]
no_license
tina0430/Python_examples
50072c1325637b2ee0902e4434f6072a1252bd8e
af881dbdab46a76c5bd4d2d0b01b11656f8f5150
refs/heads/master
2020-04-07T13:30:11.495484
2018-07-18T15:10:49
2018-07-18T15:10:49
124,216,064
1
0
null
null
null
null
UTF-8
Python
false
false
8,502
py
# -*- coding: utf-8 -*- ########################################################################### ## Python code generated with wxFormBuilder (version Jun 17 2015) ## http://www.wxformbuilder.org/ ## ## PLEASE DO "NOT" EDIT THIS FILE! ##########################################################################...
[ "acorn@acorn-PC" ]
acorn@acorn-PC
6cfe2d9516d42520b2c9265be935fa73d2d5d80d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2524/60623/310820.py
dc0c1a20d73a585b1a9d2fe7fe331acffc6e842f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
33
py
a=int(input()) b=input() print(b)
[ "1069583789@qq.com" ]
1069583789@qq.com
2916159a9c3163bde7aee6b197f3bd6c34db943a
02acc785d4a0cb00d2cf7ee114cb08a27f8139be
/tests/user_recommend_test.py
1449a8d85a06dbd02a89c2350c1efeca90c16009
[ "Apache-2.0" ]
permissive
SmileChen007/owllook
f67883542880e2cb7beffd0e771f789e34c30698
95c9d8bf246f439cea685641dc470a27d3c376e0
refs/heads/master
2021-01-15T18:00:25.916550
2017-08-06T10:18:20
2017-08-06T10:18:20
99,774,259
1
0
null
2017-08-09T06:45:12
2017-08-09T06:45:12
null
UTF-8
Python
false
false
1,415
py
#!/usr/bin/env python import uvloop import asyncio import os os.environ['MODE'] = 'PRO' from pprint import pprint from copy import deepcopy from owllook.database.mongodb import MotorBase from owllook.recommend.cosinesimilarity import CosineSimilarity from owllook.fetcher.function import get_time async def get_user_...
[ "xiaozizayang@gmail.com" ]
xiaozizayang@gmail.com
4606fe119e96c68755bf249443f7b81c01bd14c3
70b63fe24818e3beb1e8bf679807b3a299b9754d
/lianjia_slave/lianjiaSpider/lianjiaSpider/items.py
4c62ab9b1c86a0bd141ce03456a2717a53e5bd5f
[]
no_license
adivxkk/lianjia_ershoufang_spider
cbb3c325d5099b17f8ddb6f2bd58d355c25dd990
40be5b4d3ef3cc603d5808ceadd093588f0a23db
refs/heads/master
2020-06-11T14:48:20.236528
2019-06-27T01:55:42
2019-06-27T01:55:42
194,002,680
1
0
null
null
null
null
UTF-8
Python
false
false
951
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class LianjiaspiderItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() title = scrapy.Field() targe...
[ "xlyjxkk@gmail.com" ]
xlyjxkk@gmail.com
633814b2851e3f9f9d0daad050e364f459b9b9e1
4dda597dac544b237cf8f8b04b3c9e662b988a92
/day66/day66/settings.py
b78c66d4c8f81382b9584ce74fd4a56b129c8b6d
[]
no_license
beriuta/history
02ac9414c0475fde59f6a455c23c56235fe3c4bc
026c965f694e84120825069bedf7bfac235318b5
refs/heads/master
2020-04-11T17:24:39.558174
2018-12-16T02:08:18
2018-12-16T02:08:18
161,959,735
0
0
null
null
null
null
UTF-8
Python
false
false
3,245
py
""" Django settings for day66 project. Generated by 'django-admin startproject' using Django 1.11.16. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os ...
[ "2457409765@qq.com" ]
2457409765@qq.com
847dc294fe323978a0ceb9b9a341b936d9abd026
e84428e210418bbec84831863073d81f7123a3aa
/wepppy/wepp/stats/channel_watbal.py
0ee3d144e87b4bebe9796081e86ffa09be9681e8
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jneris/wepppy
6c78b3fa74e1f689908cc4f708a2747063b275ef
477f67570db936fdd0798a1bc03948231c8ec663
refs/heads/master
2022-01-25T13:09:24.264957
2019-06-09T19:48:47
2019-06-09T19:48:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,772
py
# Copyright (c) 2016-2018, University of Idaho # All rights reserved. # # Roger Lew (rogerlew@gmail.com) # # The project described was supported by NSF award number IIA-1301792 # from the NSF Idaho EPSCoR Program and by the National Science Foundation. from os.path import join as _join from os.path import exists as _e...
[ "rogerlew@gmail.com" ]
rogerlew@gmail.com
2e4a242d9c0f1d5e0eae167a88f8a94f485954c9
c819e434d642670ad02c1b3919a5300568dc8b99
/lib/python3.8/site-packages/django_swagger_utils/drf_server/utils/server_gen/get_path_param_from_regex.py
bca628e9f7877e751d703adc0918bf1a8f7c3d04
[]
no_license
ushatirumalasetty/venv
c8dcf002c8259501cb745b65d38fe753d4ae2da1
7c892873c1221a816a62cdba0fb9ad491cfba261
refs/heads/master
2022-11-27T18:54:54.643274
2020-07-23T09:54:42
2020-07-23T09:54:42
281,914,259
0
1
null
2022-11-20T15:47:34
2020-07-23T09:54:18
Python
UTF-8
Python
false
false
292
py
def get_path_param_from_regex(url_string): import re index = url_string.find("{") param_name = "" if index != -1: p = re.compile(r"^(.*)(\{)(.*)(\})(.*)$") m = p.match(url_string) groups = m.groups() param_name = groups[3] return param_name
[ "rayvaleshusha@gmail.com" ]
rayvaleshusha@gmail.com
b7a68630ea8a1c983ea90c7ee2b5047cc887006a
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nninquit.py
a7595f975319dc90e1297d61b1ed3db5bec8f875
[]
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
141
py
ii = [('WilkJMC3.py', 1), ('AubePRP.py', 1), ('DibdTRL2.py', 1), ('NewmJLP.py', 1), ('SoutRD2.py', 1), ('MereHHB3.py', 1), ('FitzRNS.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
34870986e4a0b7fa8c4fb71c400af9df79f4c312
b287c232165bb0d248d619e978f57c864cc36a1c
/leo/unittests/core/test_leoRst.py
8b5142a26620d1e9626446d54b807d377a02959c
[ "BSD-3-Clause", "MIT" ]
permissive
tbpassin/leo-editor
39ec8cfc6c35c867b89a21f495b8049b1254bcc6
76b60e5c58781f84c86a603b9c50b709250682b8
refs/heads/master
2023-08-09T05:05:54.064246
2023-03-01T14:12:14
2023-03-01T14:12:14
247,962,821
0
0
NOASSERTION
2020-03-17T12:22:03
2020-03-17T12:22:02
null
UTF-8
Python
false
false
5,825
py
#@+leo-ver=5-thin #@+node:ekr.20210902055206.1: * @file ../unittests/core/test_leoRst.py """Tests of leo/core/leoRst.py""" import textwrap try: import docutils except Exception: # pragma: no cover docutils = None import leo.core.leoRst as leoRst # Required for coverage tests. assert leoRst from leo.core.leoT...
[ "edreamleo@gmail.com" ]
edreamleo@gmail.com
052af70c8429e1ac363114904afcd43bb0501e74
2aed68d1ee14eb3fc344fe1e0db99b20f0c9a166
/xnr_0429/xnr/timed_python_files/tw_retweet_in_time.py
fa0742d3de7b5b092423b6f10aae803ca41d8f45
[]
no_license
zhhhzhang/xnr1
a8ab151d99e74124eae2ec15c61281a32cb9ce8d
bfa621916c9a787bcdff4573a06d12056e25c556
refs/heads/master
2020-03-19T04:56:22.330912
2018-05-30T12:00:12
2018-05-30T12:00:12
135,883,486
0
1
null
2018-06-03T07:35:36
2018-06-03T07:35:35
null
UTF-8
Python
false
false
9,777
py
# -*- coding:utf-8-*- import random import time import sys sys.path.append('../') from global_config import S_TYPE,S_DATE_TW from global_utils import es_xnr,tw_xnr_fans_followers_index_name,tw_xnr_fans_followers_index_type,\ es_flow_text,twitter_flow_text_index_name_pre,flow_text_index_type,\...
[ "1257819385@qq.com" ]
1257819385@qq.com
83b3802bd560ed3b098bc89f9247e171a28d40c7
28c94fd84ff0165ced40c6966deaa401d2550236
/ppars/apps/core/migrations/0103_auto__add_field_transaction_transaction_note.py
fbb79c6a44a42dbffd084b2577c792eca9565c10
[]
no_license
crazypythonmaster/Auto-phone-recharge-system
1b1168acd96c6567a70f73741ec3efb11cf37d34
10e70986f240571953d5c1d52a7bdbdad014282c
refs/heads/master
2021-01-10T13:18:05.498893
2015-12-29T16:15:47
2015-12-29T16:15:47
48,111,420
11
1
null
null
null
null
UTF-8
Python
false
false
39,821
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Transaction.transaction_note' db.add_column(u'core_transa...
[ "krystian97777@gmail.com" ]
krystian97777@gmail.com
fd6cf14a929984706395981c9995faa54fc414c8
84faf13bcd316e34ac553e6a89f77cd67a6eebaf
/curso/apps.py
3722562d19607ec417e436a461173809309bb878
[ "MIT" ]
permissive
Stufinite/curso
10bf8ad2a1b7ccddb831079cdf877d3cb80b85c6
ba646a50e8588706a8c926440e155644bfbfcdf6
refs/heads/master
2021-01-11T17:38:52.257461
2018-01-20T11:40:03
2018-01-20T11:40:03
79,813,841
0
0
MIT
2019-10-03T15:15:43
2017-01-23T14:51:30
Python
UTF-8
Python
false
false
1,017
py
# -*- coding: utf-8 -*- from django.apps import AppConfig import urllib, requests, json from timetable.models import Course from ngram import NGram class SearchConfig(AppConfig): name = 'curso' class SearchOb(object): """docstring for SearchOb""" def __init__(self, uri=None): from pymongo impo...
[ "davidtnfsh@gmail.com" ]
davidtnfsh@gmail.com
715135e5ece4244019762ed9c85c44090dcd1fe4
0b842bcb3bf20e1ce628d39bf7e11abd7699baf9
/oscar/a/api/yang/modules/tech/content/qwilt_tech_content_pre_topper/tech/content/pre_topper/pre_topper_maapi_base_gen.py
de0d797525bb8a8e79c6c433adff18e0010c1bd0
[]
no_license
afeset/miner2-tools
75cc8cdee06222e0d81e39a34f621399e1ceadee
81bcc74fe7c0ca036ec483f634d7be0bab19a6d0
refs/heads/master
2016-09-05T12:50:58.228698
2013-08-27T21:09:56
2013-08-27T21:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,612
py
# Copyright Qwilt, 2012 # # The code contained in this file may not be used by any other entities without explicit written permission from Qwilt. # # Author: naamas from a.infra.basic.return_codes import ReturnCodes class PreTopperMaapiBase(object): def __init__ (self, logger): raise NotImplementedEr...
[ "afeset@gmail.com" ]
afeset@gmail.com
b244fdd913be768f7fe729e90237357ea3b2732c
8b9d3fa48e87579a74b187abf781d5916b6b47df
/geoutils/tests/test_nitf.py
31f6f50ffa3c2f3517d8c61999d39b68cf7a41e3
[]
no_license
loum/geoutils
3f34b10bfaff8978af09f01de03723b71cd8be4f
034787d9a54856dac12988aaa05c366c5da4d7ec
refs/heads/master
2021-01-19T08:54:54.983763
2014-12-01T04:59:50
2014-12-01T04:59:50
22,494,847
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
# pylint: disable=R0904,C0103 """:class:`geoutils.NITF` tests. """ import unittest2 import os import geoutils class TestNITF(unittest2.TestCase): """:class:`geoutils.NITF` test cases. """ @classmethod def setUpClass(cls): cls._file = os.path.join('geoutils', ...
[ "lou.markovski@gmail.com" ]
lou.markovski@gmail.com
86e20121a08cbdb4613777f7744533b64d522332
9e647f3093638e82635bad8399d752387041032f
/horizon_autotests/app/pages/access/tab_api_access.py
c96117153d0bf06e939d1b8838f54be8f18c6c11
[]
no_license
schipiga/horizon_autotests
bf563dc05c34ab066703779caf33895ac0f79d87
f04f4c60992c9464e4a233ced2ccddb91644829f
refs/heads/master
2021-06-03T08:08:56.100537
2016-08-02T08:26:12
2016-08-02T13:16:33
61,306,269
1
2
null
null
null
null
UTF-8
Python
false
false
1,936
py
""" Keypairs tab. @author: schipiga@mirantis.com """ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "schipiga@mirantis.com" ]
schipiga@mirantis.com
333a5e440e022c7ff2792364c10b6f6c2391012b
957ad0ab8e0af913fc6c548354d4d844cea1481a
/matching/migrations/0002_userimage_reated_date.py
b593afdc4dd656730ad023fc9a463d3964198f7d
[]
no_license
tateishi-sagyou/matching-site
090067262f17fb463ca437119d0385b63f0a4529
1895e71c4cd3ae5ba288b3fb08fca8548516c529
refs/heads/master
2023-06-26T16:09:15.821055
2021-07-28T07:11:04
2021-07-28T07:11:04
388,492,879
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# Generated by Django 3.2.5 on 2021-07-23 09:44 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('matching', '0001_initial'), ] operations = [ migrations.AddField( model_name='userimage', ...
[ "you@example.com" ]
you@example.com
1c2f92078797df63f1f101e352003bbd491cd13b
36fbba7b0823e04062c41f26385ed71da5b4f4d4
/mmpose/models/keypoint_heads/heatmap_3d_head.py
ad0939bb5fcce8c5ab2a8310aaa3d9f60761057c
[ "Apache-2.0" ]
permissive
cherryjm/mmpose
2fcd4504a0a0d46f6a4dce6d0be1141fdead6bb5
b0acfc423da672e61db75e00df9da106b6ead574
refs/heads/master
2023-06-12T10:15:45.964450
2021-05-07T06:06:31
2021-05-07T06:06:31
346,599,724
1
0
Apache-2.0
2021-03-11T06:22:06
2021-03-11T06:22:05
null
UTF-8
Python
false
false
8,492
py
import numpy as np import torch.nn as nn from mmpose.core.post_processing import flip_back, transform_preds from ..registry import HEADS from .top_down_simple_head import TopDownSimpleHead def _get_max_preds_3d(heatmaps): """Get keypoint predictions from 3D score maps. Note: batch size: N nu...
[ "noreply@github.com" ]
cherryjm.noreply@github.com
a214d4ff04dcbdb4f0e29786c2ac97de50ad4d1c
5462142b5e72cb39bea5b802dd46f55357c4ea84
/homework_zero_class/lesson10/装饰器的引入-times_2.py
2dd7e05a4d5234cf278ccb6ca821b728ef7b8eb4
[]
no_license
qqmadeinchina/myhomeocde
a0996ba195020da9af32613d6d2822b049e515a0
291a30fac236feb75b47610c4d554392d7b30139
refs/heads/master
2023-03-23T05:28:53.076041
2020-08-24T08:39:00
2020-08-24T08:39:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
#!D:\Program Files\Anaconda3 # -*- coding: utf-8 -*- # @Time : 2020/7/25 18:38 # @Author : 老萝卜 # @File : 装饰器的引入-times_2.py # @Software: PyCharm Community Edition # 求任意两个数的和 def add(a,b): return a + b def mul(a,b): return a * b r=add(1,2) print(r) # 给函数增加两个功能 def add(a,b): print("函数正在计算") print("函...
[ "newwxm@126.com" ]
newwxm@126.com
109b2e16195ad4a748a5d0c122cba767707716f7
a74b980fd95d5d810315f181449fc9d1710e6923
/.history/onlyobject/dl_20210304105729.py
db9a6f5cddc51747a4a005763ecd22af5689d815
[ "Apache-2.0" ]
permissive
cbbbbbbbb/sspywork
b70f5539203b47b21eec2f0514ddca155affc2b8
8f05a6b91fc205960edd57f9076facec04f49a1a
refs/heads/master
2023-03-22T19:45:13.024076
2021-03-08T01:24:21
2021-03-08T01:24:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
""" 单例模式 """ import time import threading class Singleton(object): _instance_lock = threading.Lock() def __init__(self): time.sleep(1) @classmethod def instance(cls, *args, **kwargs): with Singleton._instance_lock: if not hasattr(Singleton, "_instance"): ...
[ "shiyuegege@qq.com" ]
shiyuegege@qq.com
b7e0497f27a42f8f37a2051e01e43a3e90558690
0e4d09b2a1b93aaa6d623d16905854d993a934ae
/Python/Django/helloDjango/helloDjango/wsgi.py
ff5c044a0203bfbed6ba1a9af4e3b8522c362238
[]
no_license
freefaller69/DojoAssignments
ee7f6308b02041be3244f795422e0e044d4a41b2
f40426ac448026c1172048665f36024ad22f0d81
refs/heads/master
2021-01-17T10:23:39.419514
2017-07-25T00:50:41
2017-07-25T00:50:41
84,012,790
0
1
null
null
null
null
UTF-8
Python
false
false
416
py
""" WSGI config for helloDjango project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdef...
[ "freefaller@gmail.com" ]
freefaller@gmail.com
9c819d57bfe21842df603392819883f6219492ae
b9ed8f5edf787f1a7df567a1b01086dc045427ba
/official/vision/modeling/factory.py
0c0b0852fe4cf9dac323e82581030922c3967cc7
[ "Apache-2.0" ]
permissive
stjordanis/models
787183f973f8cd4152f328de2368dbef17376488
84e1f30cdb5015848cb0d9e38e5b3f0551953b7c
refs/heads/master
2023-03-18T08:46:29.986735
2023-03-07T23:26:36
2023-03-07T23:27:43
143,071,287
0
0
Apache-2.0
2018-07-31T21:18:06
2018-07-31T21:18:05
null
UTF-8
Python
false
false
17,384
py
# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
de635021f15412f4fa7c0175ac76b00864e86c33
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/cisco/iosxr/plugins/modules/iosxr_lag_interfaces.py
201365e8407972fc8949eb9bc0ac99f90c5e62d9
[ "GPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only", "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
20,841
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ############################################# # WARNING # ############################################# # # This file is au...
[ "sifang@cisco.com" ]
sifang@cisco.com
bb380579015fa0d58ee4948800bd74965361f795
1d23c51bd24fc168df14fa10b30180bd928d1ea4
/Lib/site-packages/pydispatch/robust.py
a322e46918ef3ad93e410eacc7bcf06c7b388dd7
[]
no_license
BeaverInc/covid19CityMontreal
62dac14840dadcdf20985663bc2527c90bab926c
1b283589f6885977a179effce20212a9311a2ac0
refs/heads/master
2021-05-22T20:01:22.443897
2020-06-21T08:00:57
2020-06-21T08:00:57
253,067,914
0
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
"""Module implementing error-catching version of send (sendRobust)""" from pydispatch.dispatcher import Any, Anonymous, liveReceivers, getAllReceivers from pydispatch.robustapply import robustApply def sendRobust( signal=Any, sender=Anonymous, *arguments, **named ): """Send signal from sen...
[ "36340780+lanyutian88@users.noreply.github.com" ]
36340780+lanyutian88@users.noreply.github.com
651da336b521d64a0396d2a6de8c7feaaff27763
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/sympy/2017/8/test_inequalities.py
a24da98402f048e633dc801c1811d337fe696b14
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
18,025
py
"""Tests for tools for solving inequalities and systems of inequalities. """ from sympy import (And, Eq, FiniteSet, Ge, Gt, Interval, Le, Lt, Ne, oo, I, Or, S, sin, cos, tan, sqrt, Symbol, Union, Integral, Sum, Function, Poly, PurePoly, pi, root, log, exp, Dummy, Abs) from sympy.s...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
beb70ae4b0ada901b61520d562bf609dc7679bac
42da48b96811354c1b729fd788ec268cae95fe6f
/mysite/blog/forms.py
02bffebec1841334648b8577c3678e833514e872
[]
no_license
mkwiatek770/BlogProject
1d7d49bc5ddcde2ea778eab4fd1c122e74230ce9
fd5d767aa99656ee0be6d26fae10599051697dc4
refs/heads/master
2020-04-16T13:06:45.197796
2019-04-02T21:54:06
2019-04-02T21:54:06
165,611,921
1
0
null
null
null
null
UTF-8
Python
false
false
388
py
from django import forms from blog.models import Article class ArticleForm1(forms.ModelForm): class Meta: model = Article fields = ("title", "thumbnail", "categories") widgets = { 'categories': forms.CheckboxSelectMultiple() } class ArticleForm2(forms.ModelForm): ...
[ "michalkwiatek9@o2.pl" ]
michalkwiatek9@o2.pl
5bb0d7370a587f780a2d1ee16b678f430c7cc7e0
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_013/ch24_2019_03_31_12_46_19_052928.py
6b9e9b7f173f6392494349ec8addcb651da34fbd
[]
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
187
py
def classifica_triangulo(a,b,c): if a == b and a == c: return "equilátero" elif a == b or a == c or b == c: return "isóceles" else: return "escaleno"
[ "you@example.com" ]
you@example.com
c1b70ec60d1bc8a5131863830bf018188cc5eb39
7ad4cb50df6ef413dd12b472f47b01b526a47d32
/0061_Rotate_List/leetcode061.py
e488e1fbdad5d273f57e0932529fc5f368a219eb
[]
no_license
persiststudy/LeetCode
0f62f55505e2870d206fc723cd29a532e7f66944
496bb1aa549f06d567c61274f0ba29dbfaf4ec50
refs/heads/master
2020-04-07T19:01:08.161105
2018-12-19T02:37:11
2018-12-19T02:37:11
158,633,189
2
0
null
2018-11-22T02:42:40
2018-11-22T02:42:39
null
UTF-8
Python
false
false
798
py
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: # 60ms def rotateRight(self, head, k): """ :type head: ListNode :type k: int :...
[ "lxh1997zj@163.com" ]
lxh1997zj@163.com
aa1f96bbedb9f96267552acaf9695528d8a1f387
3e183c8b9ac03cdc3399cf1c3e2eb9de86883562
/python/k8sclient/models/__init__.py
fa7eb3018859271cad557af143a653b77015b15e
[ "Apache-2.0" ]
permissive
mbohlool/k8s-clients
ae53ac660c7e7026589d568223a477a86945e12e
f2e4a0bb57f36dcc0894b7cbcace1da898e4699f
refs/heads/master
2020-02-26T16:24:34.459028
2016-11-23T16:31:01
2016-11-23T16:31:01
71,157,842
2
1
null
2017-06-20T14:27:38
2016-10-17T16:19:18
Python
UTF-8
Python
false
false
13,548
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: unversioned Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Licens...
[ "mehdy@google.com" ]
mehdy@google.com
867eb1d7188b8663d68740d3cd7af887adba8cd9
a19275ff09caf880e135bce76dc7a0107ec0369e
/catkin_ws/build/robot_driver/CANopen_v1-master/testcan/cmake/testcan-genmsg-context.py
1c0115efc50277b10d93c98daa8166094007a5f7
[]
no_license
xtyzhen/Multi_arm_robot
e201c898a86406c1b1deb82326bb2157d5b28975
15daf1a80c781c1c929ba063d779c0928a24b117
refs/heads/master
2023-03-21T14:00:24.128957
2021-03-10T12:04:36
2021-03-10T12:04:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/d/catkin_ws/src/robot_driver/CANopen_v1-master/testcan/msg/IpPos.msg;/home/d/catkin_ws/src/robot_driver/CANopen_v1-master/testcan/msg/Frame.msg" services_str = "" pkg_name = "testcan" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;...
[ "qyz146006@163.com" ]
qyz146006@163.com
6ee81ba6166bb01edc9cfc8decef41974349373c
aedec1d76481d9674f76d94e1874e893f642866e
/coil.py
060b750f3504dd6ad15ef6808b7ddd5634031dcb
[]
no_license
KipCrossing/Coil_Physics
3ea10de72aa00cc93e4a901a26e238518c2126e0
0641a287d6fea2466ae5c9d39564ff27faf6f550
refs/heads/master
2020-04-13T04:28:16.872054
2019-05-23T10:16:04
2019-05-23T10:16:04
162,962,556
1
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
# By Kipling Crossing # kip.crossing@gmail.com import numpy as np from Euler import rotation_matrix class Coil(object): # Put some of these into init coil_I = 1 supply_volt = 12 coil_position = [0, 0, 0] coil_axis = [0, 0, 1] coil_radius_in = 0.005 coil_radius_out = 0.015 coil_radius...
[ "kip.crossing@gmail.com" ]
kip.crossing@gmail.com
9a561bb195836f6e9c0a835a45093401c07a6c87
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/8d944bd7c751429d862b314299a27ed4.py
2dbe82cb5cf767ebf66eb058b38a3706e738d3aa
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
691
py
def hey(string): # catch all answer that sticks if no other cases are fulfilled answer = 'Whatever.' # case for 'addressing bob without saying anything' # if this is the case, no other cases can be true, so return the value instead of wasting cycles if string.isspace() or len(string) < 1: answer = ...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
cfbc12776d2a9e8224f262dc9abff52844394a5f
e17686788c8fd31e3020636b32138e04d1538721
/models/__init__.py
c74f3f98d19b81daf19250f97021e5f4549e19d6
[]
no_license
HoldenGs/AirBnB_clone
1d401da21f0f8e5e3886fe2b5cc58cbd3b9840b9
3b119e7c29d5c2a4b101d062a1c695495c2794e4
refs/heads/master
2021-01-13T11:39:49.318758
2017-03-16T19:33:37
2017-03-16T19:33:37
81,266,623
0
0
null
2017-02-09T12:48:28
2017-02-07T23:44:12
Python
UTF-8
Python
false
false
423
py
#!/usr/bin/python3 __all__ = ["BaseModel", "User", "State", "City", "Amenity", "Place", "Review"] from models.base_model import BaseModel from models.user import User from models.state import State from models.city import City from models.amenity import Amenity from models.place import Place from models.review impor...
[ "holdeng96@gmail.com" ]
holdeng96@gmail.com
7d0ccdbbc6f63d04e161b5b27da224ffc2f8591a
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc005/A/4814600.py
dac640f5038716824e38929179bc6de9b3d0a4eb
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
209
py
N = int( input()) W = list( input().split()) W[-1] = W[-1][:-1] ans = 0 for i in range(N): if W[i] == "TAKAHASHIKUN" or W[i] == "Takahashikun" or W[i] == "takahashikun": ans += 1 print( ans)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
57803493447bf16a12f8ffede3a9713a15228fb5
5d605697cd6bb493250718232d9e95c69f624103
/code/train-est-mod-var/halo_unetinv.py
d27772509568a265f93d60cc4a75529bda0939af
[ "MIT" ]
permissive
modichirag/galmodel
738a257e3fad89efd0f5698077c0c0ae67a99145
d3243b8f2f51d558255346a37f2bda2f83274e3d
refs/heads/master
2020-04-05T14:19:51.838549
2019-09-25T05:08:49
2019-09-25T05:08:49
156,924,087
4
1
MIT
2019-09-25T05:08:53
2018-11-09T22:17:24
Jupyter Notebook
UTF-8
Python
false
false
12,621
py
#inverse changes the order of meshes returned by get_meshes and hence the features are halos #and the target is density. We also change distribution to normal. Everything else is the same import numpy as np import matplotlib.pyplot as plt # import sys, os sys.path.append('../utils/') import tools import datatools as d...
[ "modichirag@berkeley.edu" ]
modichirag@berkeley.edu
37b601138ce1aece6a30dc1d0139dbef3c377104
0b1b92e30893d4428b0e04342490da8aef121a65
/Python/lowestCommonAncestorBST.py
210d955fc731f43dac458c86d2ec4c481ecd905a
[]
no_license
miaojiang1987/LeetCode
280dc892f8adbf8c18f30c180e76b045b3797f8c
d8f96b0ec1a85abeef1ce8c0cc409ed501ce088b
refs/heads/master
2021-06-09T14:46:43.858955
2021-05-20T09:06:24
2021-05-20T09:06:24
155,755,065
1
0
null
null
null
null
UTF-8
Python
false
false
526
py
class Solution(object): def lowestCommonAncestor(self, root, p, q): """ :type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode """ if not root: return None if root.val>p.val and root.val>q.val: return...
[ "miaojiang1987@gmail.com" ]
miaojiang1987@gmail.com
4d26e8b0ed02c5f6b25cedd01cd8c2e98e5ca054
05f2c697517b968eb71d1dc109864dfaf5cdb1a8
/venv/lib/python3.6/site-packages/lis/settings.py
00872bae4465d46759a5251988d547ebf99d39d3
[]
no_license
motovmp1/pom_robotframe
74c8af75a3e41b7cd3ee74127dfec630ee0af20b
7c5129779644eeb391c83a50b75db86238f684d3
refs/heads/master
2022-04-16T16:15:51.383152
2020-04-14T06:20:34
2020-04-14T06:20:34
255,515,686
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
import logging from logging.config import dictConfig dictConfig({ "version": 1, "disable_existing_loggers": False, "formatters": { "basic": { "format": "[%(asctime)s] [%(process)d:%(thread)d] [%(levelname)s] [%(name)s] %(filename)s:%(funcName)s:%(lineno)d %(message)s", "dat...
[ "vinicius.mpinho@gmail.com" ]
vinicius.mpinho@gmail.com
811de767108e69d3d52e0d83cc64a066c57b1828
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/proc/sysloadhist1h.py
7232613d0c8340e6d0e53dc48a89eafbd9d2d98b
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
36,269
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
25d4c6edb56d566936d7239257f26e23bf95af08
a560269290749e10466b1a29584f06a2b8385a47
/Notebooks/py/drgilermo/a-tutorial-for-complete-beginners/a-tutorial-for-complete-beginners.py
ce906250339584dfa6b1c0a20dbd5c864eab9671
[]
no_license
nischalshrestha/automatic_wat_discovery
c71befad1aa358ae876d5494a67b0f4aa1266f23
982e700d8e4698a501afffd6c3a2f35346c34f95
refs/heads/master
2022-04-07T12:40:24.376871
2020-03-15T22:27:39
2020-03-15T22:27:39
208,379,586
2
1
null
null
null
null
UTF-8
Python
false
false
14,150
py
#!/usr/bin/env python # coding: utf-8 # This tutorial is aimed at beginners, especially those who are both new to machine learning/data science as well as python. # # In this tutorial I would walk you through the process of building a predictive model, namely a decision tree. # # The pipeline consists of several s...
[ "bitsorific@gmail.com" ]
bitsorific@gmail.com
ebdd7c70eaf11ee9065e0e851e0ac23f293075d3
7516781e40e16846c8aebcb2139d8ff2389abd31
/mrcnn/config.py
c1710c01f8697928b6d2108ca98f1c87d3884709
[ "MIT" ]
permissive
Shanlans/Mask_RCNN
ede466170052f253d8c94608d684b0b84d22a3b4
a33e77d17a761ae4c6137ad19c7d5cc12975fcb1
refs/heads/master
2020-04-09T12:27:53.674163
2018-12-06T07:28:38
2018-12-06T07:28:38
160,351,097
1
0
null
null
null
null
UTF-8
Python
false
false
9,395
py
""" Mask R-CNN Base Configurations class. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE for details) Written by Waleed Abdulla """ import numpy as np # Base Configuration Class # Don't use this class directly. Instead, sub-class it and override # the configurations you need to chan...
[ "shenshanlan@gmail.com" ]
shenshanlan@gmail.com
26733326737ded5aca3abeb84d8ce3c1e87bdd31
d5c7a41e27bdea80821e09654414d42f89f9e3f1
/src/python/pants/core/util_rules/environments.py
b0ba45cebd088cd3eb0e589524e960e187a5c1d9
[ "Apache-2.0" ]
permissive
benjyw/pants
911af4e0ba9f8b99cea7bd338eefdafd9765ea14
2486ba8cd9d020f9952054274ca612e25b856585
refs/heads/main
2023-08-18T11:54:58.848332
2023-05-24T19:27:39
2023-05-24T19:27:39
24,425,665
1
0
Apache-2.0
2023-05-25T00:04:15
2014-09-24T17:42:00
Python
UTF-8
Python
false
false
44,203
py
# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations import dataclasses import logging import shlex from dataclasses import dataclass from itertools import groupby from typing import Any, Callable, ClassVa...
[ "noreply@github.com" ]
benjyw.noreply@github.com
d74fb2a6f6a84b5d10c118b04dd52e5fea460bd9
738b6d6ec4572f5848940b6adc58907a03bda6fb
/tests/pymcell4_positive/1825_unimol_surf_rxn_callback/model.py
cea292de6f7d25c5f4842ff8678da9670b0cb7d8
[ "MIT", "Unlicense", "LicenseRef-scancode-public-domain" ]
permissive
mcellteam/mcell_tests
09cd1010a356e0e07c88d7e044a73c5606c6e51a
34d2d967b75d56edbae999bf0090641850f4f4fe
refs/heads/master
2021-12-24T02:36:24.987085
2021-09-24T14:19:41
2021-09-24T14:19:41
174,733,926
1
0
null
null
null
null
UTF-8
Python
false
false
3,647
py
#!/usr/bin/env python3 import sys import os import math import numpy as np MCELL_PATH = os.environ.get('MCELL_PATH', '') if MCELL_PATH: sys.path.append(os.path.join(MCELL_PATH, 'lib')) else: print("Error: variable MCELL_PATH that is used to find the mcell library was not set.") sys.exit(1) import mcell a...
[ "ahusar@salk.edu" ]
ahusar@salk.edu
3d85448f4560b3ebf1ecf23117411e9950bcb953
0331ec0869e6371889e28f673b54ee31f4bfcb7c
/peek_plugin_graphdb/tuples/GraphDbImportSegmentLinkTuple.py
2899997b379860ea6f7609bfd5133c681cadaf9a
[]
no_license
Synerty/peek-plugin-graphdb
bb1bfd9b3b9be7f5ca96e384eec680a12e04d164
3daab5e5f8c03a7a010ba457b015abd48aef93af
refs/heads/master
2021-06-03T05:46:46.157432
2020-10-27T04:55:51
2020-10-27T04:55:51
135,005,519
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
from typing import Dict, Any from peek_plugin_graphdb._private.PluginNames import graphDbTuplePrefix from vortex.Tuple import Tuple, addTupleType, TupleField @addTupleType class GraphDbImportSegmentLinkTuple(Tuple): """ Segment Link Tuple This tuple is the publicly exposed Segment Links """ __tuple...
[ "jarrod.chesney@synerty.com" ]
jarrod.chesney@synerty.com
921bcf4e2203052c6db2706194cdf826d2605c82
e1b8fb9a5500516f28d3d7e9a5f259c49ef35f14
/top/api/rest/SimbaAdgroupsChangedGetRequest.py
a0af7e63a311acb34f6df63809995ef3f39c3dd5
[]
no_license
htom78/taobao_comet_py
9224dbca1a413a54bcc5569873e4c7a9fc9ba059
ad8b2e983a14d3ab7665244449f79dd72f390815
refs/heads/master
2020-05-17T10:47:28.369191
2013-08-27T08:50:59
2013-08-27T08:50:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
''' Created by auto_sdk on 2013-06-16 16:36:02 ''' from top.api.base import RestApi class SimbaAdgroupsChangedGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.nick = None self.page_no = None self.page_size = None self.start_time = ...
[ "tomhu@ekupeng.com" ]
tomhu@ekupeng.com
ce1a7a172a997ad5f264986375fa19e28748ce5e
bf397e60bba27b649084966aee686869c7df595d
/PythonNet/day02/code/class_Socket.py
6a94e92a4e9224687524113bd0e09eb1e7009318
[]
no_license
demo112/1807
3783e37f7dab3945a3fc857ff8f77f4690012fbe
9b921c90b3003226d919017d521a32da47e546ad
refs/heads/master
2022-12-01T10:50:24.086828
2018-12-06T09:48:14
2018-12-06T09:48:14
150,758,323
0
0
null
null
null
null
UTF-8
Python
false
false
15,804
py
from socket import * class socket(_socket.socket): """A subclass of _socket.socket adding the makefile() method.""" __slots__ = ["__weakref__", "_io_refs", "_closed"] def __init__(self, family=-1, type=-1, proto=-1, fileno=None): # For user code address family and type values are IntEnum member...
[ "huafengdongji@hotmail.com" ]
huafengdongji@hotmail.com
87a1b2933d7909f09798277e26667dd0bcf9613b
ac64fda7f1bfc92f7897efd60b8f3f0aeb22b4d7
/syntactic_mutations/mnist_tr/mutants/mutant32.py
b5ad2d61cb2606dc1420c2005c3d4f3a6be86bd3
[]
no_license
dlfaults/mutation_operators_evaluation
ea7f33459ba7bcf7d70092d9db8b40f9b338d516
7d1ff30e901931a46bf8908e9bb05cae3daa5f0f
refs/heads/master
2020-12-27T15:45:07.262012
2020-02-03T12:22:01
2020-02-03T12:22:01
237,955,342
1
0
null
null
null
null
UTF-8
Python
false
false
2,640
py
import datetime import keras from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense, Dropout, Activation, Flatten from keras.layers import Conv2D, MaxPooling2D from keras import backend as K now = datetime.datetime.now batch_size = 128 num_classes = 5 epochs = 5 (img_rows...
[ "gunel71@gmail.com" ]
gunel71@gmail.com
1f9ebac20081ec5873d734ae65bc23026fc530e2
330496f132e25e7f80143af3c6352d318aaba569
/eventex/core/migrations/0001_initial.py
8f81da1986a2c5cd6e66c5db854a302badc41590
[]
no_license
macndesign/wttd
9101b5f01d4b450ababbb1a87f42e5be8015aa4b
a376ab7f1fbb73fee44b95763f1248726b19a20c
refs/heads/master
2021-01-10T07:47:08.109279
2016-02-24T02:30:59
2016-02-24T02:30:59
47,862,224
0
1
null
null
null
null
UTF-8
Python
false
false
742
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-01-24 03:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Speaker',...
[ "macndesign@gmail.com" ]
macndesign@gmail.com
017cfba434445e0fb0de6bb0053f75945c187546
56782846ce12a4aa65c0cdd41231f82fb09bb2e2
/python/10871.py
91cafba1df5595ce0a957b1e918adb786f0c097f
[]
no_license
Zigje9/Algorithm_study
2eb7255ffae734954944e549ccaab7c4573c3b99
a6c526b42f8c0e01daf1d699f55c9b0a78741be8
refs/heads/master
2023-08-14T02:08:26.395265
2021-09-23T01:10:31
2021-09-23T01:10:31
256,192,531
1
0
null
null
null
null
UTF-8
Python
false
false
224
py
import sys N, X = map(int, sys.stdin.readline().split()) num_list = list(map(int, sys.stdin.readline().split())) answer = [] for ele in num_list: if ele < X: answer.append(ele) print(" ".join(map(str, answer)))
[ "pjkwprn@gmail.com" ]
pjkwprn@gmail.com
89488c376ce18a6320a26af432ffb10c21f46b71
885929d52504b89ec8568dec5cf8fe09d57ff710
/backend/api/models/media_image_sized_model.py
b6c0a61f5f1f6644b336cb51efda61ee1ee527f2
[ "MIT" ]
permissive
ferdn4ndo/infotrem
165d3084c5f57d024f072454ca7f536b5280b7ea
49f941387eae03e8e26aefabd87ca0b48212b059
refs/heads/master
2023-09-04T07:13:05.246074
2022-02-17T16:54:22
2022-02-17T16:54:22
200,339,872
0
0
MIT
2023-03-06T04:55:50
2019-08-03T06:18:22
Python
UTF-8
Python
false
false
862
py
from django.contrib import admin from django.db import models from django.utils.translation import gettext_lazy as _ from .generic_audited_model import GenericAuditedModel from .media_model import Media class MediaImageSized(GenericAuditedModel): media_item = models.OneToOneField(to=Media, on_delete=models.CASC...
[ "const.fernando@gmail.com" ]
const.fernando@gmail.com
a17bb73c8e3c92732c65495cb5afcfa611668ef9
c6634a86b42477746df3fb37590ec40896344245
/Ciclo 1/Hackerrank/temp.py
3f11f114122664f671b644ea17b46e6e75224c79
[]
no_license
lordjuacs/ICC-Trabajos
2163818fe52d3102c4258b1e8f3462092b55f8e1
68f4fc3ae1bd63d76fdbc0490300b9e4130e792e
refs/heads/master
2022-04-11T06:58:00.367990
2020-03-29T19:40:43
2020-03-29T19:40:43
251,117,665
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
def suma(lista, tamano): bandera = False for valor in lista: for i in range(tamano): a = lista[i] b = lista[i - 1 + 1] if valor == a + b: bandera = True return bandera tamano = int(input()) numeros = input().split(" ") for i in range(tamano): numeros[i] = int(numeros[i])...
[ "50754596+lordjuacs@users.noreply.github.com" ]
50754596+lordjuacs@users.noreply.github.com
2bf1d57536ff4ff1e135024c49529357adb70a19
a82f1ca95b15b0f3165f64132928579d5322afca
/实例学习Numpy与Matplotlib/matplotlib 柱状图.py
3ee7295f9cb08dd3d047d9f76dc73aa0dc53ee98
[ "LicenseRef-scancode-mulanpsl-1.0-en", "MulanPSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
3453566/pythonbook
29da62edfa1112119d89546e325f1da5e8cd165c
17a225169873b3c232bdfcccf7c0366d2a688354
refs/heads/master
2022-11-12T20:07:47.586868
2020-06-25T08:58:06
2020-06-25T08:58:06
274,847,189
1
0
null
null
null
null
UTF-8
Python
false
false
250
py
import matplotlib.pyplot as plt import numpy as np k = 10 x = np.arange(k) y = np.random.rand(k) plt.bar(x, y) # 画出 x 和 y 的柱状图 # 增加数值 for x, y in zip(x, y): plt.text(x, y , '%.2f' % y, ha='center', va='bottom') plt.show()
[ "4448445@qq.com" ]
4448445@qq.com
9334e8b3909347fc1fac4c0440536a4f1eefa627
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Scraper/scrapy/scrapy/spidermiddlewares/offsite.py
bbd53094409f3057c47655e78e299b8f612772b2
[ "BSD-3-Clause" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:a23eca5d109bd72562c4b084b507e927ff3c7d2e0c3ff978a14c8a943de69321 size 2563
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
3313ee4bc107fe1ef46fe364ade0c04727f1c4a2
0b9e588b3d6ddf95d87a0a0f02d10ef6efcccf51
/eduapi/playlists/views.py
b63e63a48e156f7e2b82b9e1baf6ccfb026b44ed
[]
no_license
omni360/inspiration-edu-api
b5d07a7fe3a473689d5323e60e6f88dd3d6fb4cb
6e1bbf8d895082d4c44af4ae35b9f5aa5cc9addc
refs/heads/master
2022-01-22T23:30:09.879433
2016-04-28T02:02:46
2016-04-28T02:02:46
57,559,736
0
0
null
2022-01-06T22:24:03
2016-05-01T06:35:12
Python
UTF-8
Python
false
false
1,476
py
from django.core.cache import cache from rest_framework import generics from rest_framework.response import Response from playlists.models import Playlist from playlists.serializer import PlaylistSerializer class PlaylistList(generics.ListAPIView): serializer_class = PlaylistSerializer def get_queryset(self...
[ "frida.cai@autodesk.com" ]
frida.cai@autodesk.com
d13bbebe1b6b282333577c49fb0454b41e13a3b7
c4edcdff1a4ebe45e7198aaf65caf3a1f71053ab
/friskby/GW/friskby_gw.py
beb2c20012ddd284a98129ca716b707dc5e6dcf6
[]
no_license
FriskByBergen/friskby
5584cb2ea099e2c0fecd4762f56effc714fd06ee
7a444af87c23ffd6b638055e49ccd608efcd3ee6
refs/heads/master
2020-05-21T15:09:43.367245
2017-06-06T17:48:58
2017-06-06T17:48:58
45,236,960
3
10
null
2017-06-06T17:48:59
2015-10-30T07:58:33
Python
UTF-8
Python
false
false
3,279
py
import requests import datetime import json ROOT_URL = "https://friskby.herokuapp.com/" class FriskByHttp(object): def __init__(self , url): self.url = url def getRootURL(self): return self.url def getFromURL(self , api_url , params = None): url = self.url + api_url ...
[ "joakim.hove@gmail.com" ]
joakim.hove@gmail.com
8e9b9e2ac223245c6374fc84cd05fee0e9b6f073
d24a6e0be809ae3af8bc8daa6dacfc1789d38a84
/ABC/ABC201-250/ABC205/F.py
88429c37d5cfc48b64e4fe0775a97e76b725b777
[]
no_license
k-harada/AtCoder
5d8004ce41c5fc6ad6ef90480ef847eaddeea179
02b0a6c92a05c6858b87cb22623ce877c1039f8f
refs/heads/master
2023-08-21T18:55:53.644331
2023-08-05T14:21:25
2023-08-05T14:21:25
184,904,794
9
0
null
2023-05-22T16:29:18
2019-05-04T14:24:18
Python
UTF-8
Python
false
false
2,747
py
from collections import deque class Dinic: def __init__(self, n): self.n = n self.g = [[] for i in range(n)] self.level = [None] * n self.it = None def add_edge(self, fr, to, cap): forward = [to, cap, None] forward[2] = backward = [fr, 0, forward] self....
[ "cashfeg@gmail.com" ]
cashfeg@gmail.com
02c0b98024eac939747c04105512bc651fb07f34
fc2687aa0f78144942d1e9b31bba4af4761d82af
/meteva/product/program/fun.py
fe97ced9c874659ba67275a851559a4df4b878a2
[]
no_license
iamaSam/meteva
8242a761a56bcaf24f90777c8d86b5e6a822668c
5507c2868c5d40c6eeb3400b7b00dd81a8b1f381
refs/heads/master
2023-04-07T08:33:13.100548
2021-04-11T06:49:20
2021-04-11T06:49:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,505
py
import meteva import copy import datetime import math import time import pandas as pd import numpy as np def get_time_str_one_by_one(time1,time0 = None,row = 1): if row == 3: if time0 is None: time2 = meteva.base.tool.time_tools.all_type_time_to_datetime(time1) if time2.minute =...
[ "liucouhua@163.com" ]
liucouhua@163.com
eb3eab921ca29faa7a424e1059e31aadbb3e75f0
1f94767da0b3d9260cf2548014ff264127704796
/ml/rl/workflow/dqn_workflow.py
12672c8cabee184da530586bef5da6ae2f64f973
[ "BSD-3-Clause" ]
permissive
johncliu/Horizon
9ea6de069a0294f6e97a3821137394be9ae66c34
cfa7a873ada5de3bb01e78e2f237d9849b8270b2
refs/heads/master
2022-11-26T21:15:07.795468
2018-12-09T00:27:42
2018-12-09T00:29:27
160,994,599
0
0
NOASSERTION
2022-11-21T22:30:40
2018-12-09T01:44:45
Python
UTF-8
Python
false
false
5,553
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import logging import os import sys import time import numpy as np from ml.rl.preprocessing.preprocessor import Preprocessor from ml.rl.thrift.core.ttypes import ( DiscreteActionModelParameters, InTrainingCPEParamet...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
dfde0285448aa488fa51c61b0e6cabe3ddc27d1d
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/NPR/StoryFinder/Columns.py
740c7eecc5bdf8b57740847633724783b5192f27
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,058
py
# -*- coding: utf-8 -*- ############################################################################### # # Columns # Retrieves a list of NPR column titles and corresponding IDs. Also used to look up the IDs of specific NPR columns by specifying the title as an optional parameter. # # Python version 2.6 # ############...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
d98e2cbb2ef5a86bc53e13c9748e594b365eed21
ba694353a3cb1cfd02a6773b40f693386d0dba39
/sdk/python/pulumi_google_native/clouddeploy/v1/release.py
7153c1b99f9db87f58fafde809283d42afd4d861
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-google-native
cc57af8bd3d1d6b76f1f48333ed1f1b31d56f92b
124d255e5b7f5440d1ef63c9a71e4cc1d661cd10
refs/heads/master
2023-08-25T00:18:00.300230
2023-07-20T04:25:48
2023-07-20T04:25:48
323,680,373
69
16
Apache-2.0
2023-09-13T00:28:04
2020-12-22T16:39:01
Python
UTF-8
Python
false
false
31,617
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _u...
[ "noreply@github.com" ]
pulumi.noreply@github.com
11e4165a0252454f67e825d00b4f6ee7aaf06ee4
3dfb4ee39555b30e6e0c6fcdbef371864e69f694
/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/core/credentials/store.py
248b9efe9cfeece10b85e86d5a2b2e80ec06d820
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
MD-Anderson-Bioinformatics/NG-CHM_Galaxy
41d1566d5e60416e13e023182ca4351304381a51
dcf4886d4ec06b13282143ef795c5f0ff20ffee3
refs/heads/master
2021-06-02T21:04:12.194964
2021-04-29T14:45:32
2021-04-29T14:45:32
130,249,632
0
1
null
2020-07-24T18:35:21
2018-04-19T17:25:33
Python
UTF-8
Python
false
false
17,126
py
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "rbrown@insilico.us.com" ]
rbrown@insilico.us.com
2b8cb05488e5c7ec946ffbaccb28d5f3cc7af771
fa0c53ac2a91409eaf0fc7c082a40caae3ffa0d8
/com/lc/python_1_100_Days_Demo/Day41-55/code/oa/hrs/admin.py
f05c6381b3c987978a0f2d27f258372298a07aec
[]
no_license
ahviplc/pythonLCDemo
aba6d8deb1e766841461bd772560d1d50450057b
22f149600dcfd4d769e9f74f1f12e3c3564e88c2
refs/heads/master
2023-07-24T01:41:59.791913
2023-07-07T02:32:45
2023-07-07T02:32:45
135,969,516
7
2
null
2023-02-02T03:24:14
2018-06-04T04:12:49
Python
UTF-8
Python
false
false
2,756
py
from django.contrib import admin from hrs.models import Dept, Emp, BlogsPost import django class DeptAdmin(admin.ModelAdmin): # listdisplay设置要显示在列表中的字段(id字段是Django模型的默认主键) list_display = ('no', 'name', 'location', 'excellent') # ordering设置默认排序字段,负号表示降序排序 ordering = ('no', ) # 搜索字段 search_...
[ "ahlc@sina.cn" ]
ahlc@sina.cn
c0dd317c4bd9cdb7db967eb7f65225c05b192d8d
05522651c1574424d8dd95656ed897decc547e9f
/snippets/serializers.py
fd946a81966413849c86b9cef8d3a2cc629b7606
[]
no_license
donhwi94/django_rest_framework_tutorial
5c4eb39bf08949d79d575c831e581a4f3e6da293
f2819067c65006f466304d1286b724ba485444e6
refs/heads/main
2023-06-15T08:43:28.322304
2021-07-15T07:08:20
2021-07-15T07:08:20
361,979,885
0
0
null
null
null
null
UTF-8
Python
false
false
2,138
py
from django.contrib.auth.models import User from rest_framework import serializers from snippets.models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES class SnippetSerializer(serializers.ModelSerializer): owner = serializers.ReadOnlyField(source='owner.username') highlight = serializers.HyperlinkedIden...
[ "ehsgnl123@naver.com" ]
ehsgnl123@naver.com
d23b697cf51326b6d8eca32a4924c25771cad6a1
49ca440fbf80bb663d990b42f30486a8922039af
/examples/adafruit_io_mqtt/adafruit_io_simpletest_cellular.py
42ca892aa48a8858f1be74a32413b3da455bc5a6
[ "MIT" ]
permissive
jepler/Adafruit_CircuitPython_AdafruitIO
a77f835851d91f779f0425fd700f070c7de7f60e
2fcef79413a5318254addce3022b08ee7b7e226c
refs/heads/master
2022-12-15T03:32:14.769740
2020-08-07T03:41:46
2020-08-07T03:41:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,790
py
# Example of using the Adafruit IO CircuitPython MQTT client # to subscribe to an Adafruit IO feed and publish random data # to be received by the feed. # # Example by Tony DiCola for Adafruit Industries # Modified by Brent Rubell for Adafruit Industries, 2019 import time from random import randint import board import...
[ "robots199@me.com" ]
robots199@me.com
b8b50adad7a8105dcb6603ba9cba51e3cbcb703c
f359c953ef823cc44f7d87a3736c3e4fb1817c0b
/EDBRGenStudies/test/genJetStudy.py
c8537c55995064824cb0a25c667d0ed1d4f67abd
[]
no_license
jruizvar/ExoDiBosonResonancesRun2
aa613200725cf6cd825d7bcbde60d2e39ba84e39
b407ab36504d0e04e6bddba4e57856f9f8c0ec66
refs/heads/Analysis76X
2021-01-18T20:00:57.358494
2016-05-30T21:30:19
2016-05-30T21:30:19
23,619,682
1
1
null
2016-04-22T18:38:45
2014-09-03T12:41:07
Python
UTF-8
Python
false
false
3,118
py
import FWCore.ParameterSet.Config as cms process = cms.Process("MCMatch") process.load("FWCore.MessageService.MessageLogger_cfi") process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) process.MessageLogger.cerr.FwkReport.reportEvery = 1000 process.load("Configuration.StandardSequences.Fronti...
[ "jruizvar@cern.ch" ]
jruizvar@cern.ch
07fa703604ee9cd47ede27e9d2181e76da4ead1b
c99d1169ed594bc2d2dc1b65f43cdf58b70bd6a2
/setup.py
c1bbe4185a252cdc52d06bab56e9dbb44fa87a06
[ "MIT" ]
permissive
martsberger/django-aggregate-if
61bdcc490a0bc4bd65adfcbb98a14bdc0fad5c60
12024eccb7b2ae15ac612a46027f6ec7b259d0bd
refs/heads/master
2021-01-16T22:26:39.321223
2014-03-21T02:28:42
2014-03-21T02:28:42
17,953,667
1
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
# coding: utf-8 from setuptools import setup import os setup(name='django-aggregate-if', version='0.3.1', description='Conditional aggregates for Django, just like the famous SumIf in Excel.', long_description=open(os.path.join(os.path.dirname(__file__), "README.rst")).read(), author="Henrique...
[ "henrique@bastos.net" ]
henrique@bastos.net
1cad0a474a9fe4607039a9cdc65eb9562926b5b6
e72f1cbd7cce20376e7d39ebe67ad4974be45b41
/src/main/dec22/searchnode.py
ea9cdc8dca67cd2e9b9dc06f18af5d7d8069be15
[]
no_license
andersberggren/AdventOfCode2018
ea9eb46eac275ca8613bc7c2c38dbfc9a69a014a
05f12330ea0b9fac77648f2b0ac0881eb5445357
refs/heads/master
2020-04-09T19:44:50.740771
2019-01-04T15:07:11
2019-01-04T15:07:11
160,551,913
0
0
null
null
null
null
UTF-8
Python
false
false
1,879
py
from aoclib.direction import Direction from aoclib.geometry import getManhattanDistance2 from dec22.cave import Tool class SearchNode: def __init__(self, parentNode, cave, location): self.parentNode = parentNode self.cave = cave self.location = location self.timeSpent = 0 self.equippedTool = Tool.torch if...
[ "anders.berggren@acino.se" ]
anders.berggren@acino.se
1b7ead2e60415ff7b0e4dd11a07454964ced1b6e
e5ebb73d5b94cba3e2d92fd27538fdf54c754bb7
/spam/Obit/python/TimeFilter.py
2831398dc9b2d8b9a4ff49d5519f633d58dfa493
[ "MIT" ]
permissive
astroblogweb/gmrt-spam
80ab4a7f895c57856a9507a378db3897886dc84c
5f74990805bac0ddd350e54129b0f467dbb266e1
refs/heads/master
2020-12-31T00:40:18.421197
2017-01-14T06:14:31
2017-01-14T06:14:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,027
py
""" Time domain filtering class """ # $Id: TimeFilter.py 39 2008-10-16 15:32:01Z bill.cotton $ #----------------------------------------------------------------------- # Copyright (C) 2008 # Associated Universities, Inc. Washington DC, USA. # # This program is free software; you can redistribute it and/or # modify ...
[ "shubhankardeshpande@hotmail.com" ]
shubhankardeshpande@hotmail.com
71d8c314f485c02e70267f331c15b5d4387c0ede
afdeedfb743fbb149d36c14cfad65feaf03acd21
/code/1547-minimum-cost-to-cut-a-stick.py
441bf419cf02cd0f4cbae78e5ae4fdcdbfda0bdc
[]
no_license
linhx13/leetcode-code
f16cd4a0d35be34c41b86715fc9f3e8ec4b0a577
c71574acfc68174a091c1751f10985b8f5737a1f
refs/heads/master
2021-07-04T03:45:20.030275
2021-06-09T13:55:18
2021-06-09T13:55:18
70,423,464
0
1
null
2019-08-01T09:37:49
2016-10-09T18:48:33
null
UTF-8
Python
false
false
559
py
from typing import List class Solution: def minCost(self, n: int, cuts: List[int]) -> int: m = len(cuts) cuts = [0] + sorted(cuts) + [n] dp = [[0] * (m + 1) for _ in range(m + 1)] for l in range(2, m + 2): for i in range(0, m + 2 - l): j = i + l - 1 ...
[ "mylhx288@gmail.com" ]
mylhx288@gmail.com
434a567ca040dd1a43ba1858f151bf84116a77f0
fff4e1431391956292afe5514b03f81035a3f402
/RL/DQN-maze/RL_brain.py
3c54a5a6a2ea48f40fd0d942e31d45bae208dcdd
[]
no_license
recomdDN/DL_practice
b1d0172bc91a735a32ae01379965247bc9b71a91
5addd8629533b7547a62f68c518138af48e174f2
refs/heads/master
2020-04-16T23:02:12.324842
2019-02-18T09:29:53
2019-02-18T09:29:53
165,995,401
4
3
null
null
null
null
UTF-8
Python
false
false
4,842
py
import tensorflow as tf import numpy as np import tensorflow as tf np.random.seed(1) tf.set_random_seed(1) class DeepQNetwork: def __init__(self, n_actions, n_features, learning_rate=0.01, reward_decay = 0.9, e_greedy=0.9, ...
[ "593476874@qq.com" ]
593476874@qq.com
3c0152a2c600a35ad9289f795cd72cb7505abfdf
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-drds/aliyunsdkdrds/request/v20190123/CreateDrdsDBRequest.py
a69e602e8fd1b1b21c1973ed37bb193db2958912
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
4,386
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
5abe42150b34dec45f6d24b13ec7569bb5fb25bb
ad96a1e490583637eb1f825292f780f65bad184b
/parse/parser_test.py
5d4a43507fb87ca9da51d494596779887f3b879b
[ "Apache-2.0" ]
permissive
suraj-testing2/System_Post_office
91ee68db366fc739fa9f101326e6d9507948241b
c7a1bdd9044b00b67e1fc21a48365e424eace0c0
refs/heads/master
2022-10-22T02:19:59.184585
2015-02-11T17:30:38
2015-02-11T17:31:27
267,727,510
0
0
null
null
null
null
UTF-8
Python
false
false
2,990
py
# -*- coding:utf-8; python-indent:2; indent-tabs-mode:nil -*- # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/l...
[ "kramm@google.com" ]
kramm@google.com
c832827ab9a83d119dcfe58e95e631ac78822d88
ae79547e19561e6b17b80af6bab6a35a987a4c8d
/humanfriendly/text.py
f2ba55a5cd6aaf8b24665a301e4c964d04603a30
[ "MIT" ]
permissive
crocs-muni/cm_factorization
582fdedf32de7142fa64e4b06dea120df6387556
bef85394257dc39b451c9eec9c67019ed3224e1a
refs/heads/master
2022-03-13T04:32:06.106434
2022-02-21T15:10:53
2022-02-21T15:10:53
162,490,338
34
8
MIT
2021-02-11T10:03:40
2018-12-19T21:01:29
Jupyter Notebook
UTF-8
Python
false
false
15,046
py
# Human friendly input/output in Python. # # Author: Peter Odding <peter@peterodding.com> # Last Change: February 21, 2019 # URL: https://humanfriendly.readthedocs.io """ Simple text manipulation functions. The :mod:`~humanfriendly.text` module contains simple functions to manipulate text: - The :func:`concatenate()...
[ "dusan.klinec@gmail.com" ]
dusan.klinec@gmail.com
9968af34d73ecd465674bec13bb37b2ee667da28
b7125b27e564d2cc80a2ce8d0a6f934aa22c8445
/.history/sudoku_20201031002226.py
1dcb4be834f6bfdcc32c89d45090abef5193a49a
[]
no_license
JensVL96/Puzzle-solver-for-fun
4c15dcd570c3705b7ac555efb56b52913e81083c
6d8a4378a480372213a596a336a4deca727a00fc
refs/heads/master
2021-07-15T05:19:42.185495
2020-11-08T13:59:49
2020-11-08T13:59:49
224,855,888
1
0
null
null
null
null
UTF-8
Python
false
false
3,209
py
# -*- coding: utf-8 -*- from __future__ import print_function from config import * from create_board import * from solve_bloard import * from display_board import * from string import * import pygame as pg import numpy as np def get_cord(pos): global box_index_x box_index_x = (pos[0] - TOP_LX)//BLOCK_SIZE ...
[ "jle040@uit.no" ]
jle040@uit.no
f18cbd71dc46ee39dab66b855fcc419fed3d8bf9
9bcba8f3162eacea872dbadc9990a164f945f70a
/Packages/plugins/diff.py
ba9784dce5ffd03f005d1c7b24e42636ad16a28b
[]
no_license
programadorsito/Packages
a4cb568219dbc10a69e15a2832ef52d19eb83061
af748327f128ed90bb146dc12bb53b76ccb609fd
refs/heads/master
2021-01-10T04:41:38.676159
2016-04-06T07:52:45
2016-04-06T07:52:45
55,560,324
0
0
null
null
null
null
UTF-8
Python
false
false
3,486
py
import difflib import shutil import filecmp import threading import sublime_plugin import sublime import utils import time import re import os DIFF_PATH="/Users/Mac/aplicaciones/diff" DIFF_JSON="/Users/Mac/aplicaciones/diff/diff.json" def diff(texto1, texto2): pass def get_folder(filename): ...
[ "Mac@MacBook-de-Mac.local" ]
Mac@MacBook-de-Mac.local
2170f5a89b4e679fcd0825573640331c8bad83e9
7d9d3d5ce2ac19221163d54a94c025993db0af4f
/autotest/gdrivers/jp2openjpeg.py
263106ee91b3d14227de58795cfe0c477d660ce4
[ "MIT" ]
permissive
dcgull/gdal
5408adad77d001db32173bba547b447220b5e9a2
a5e2a7b54db955bd061ebfc6d69aa2dd752b120c
refs/heads/master
2020-04-03T13:30:40.013172
2013-10-11T12:07:57
2013-10-11T12:07:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,807
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################################################### # $Id: jp2openjpeg.py 25877 2013-04-07 19:02:32Z rouault $ # # Project: GDAL/OGR Test Suite # Purpose: Test read/write functionality for JP2OpenJPEG driver. # Author: Even Rouault <even dot ...
[ "gerard.choinka@ambrosys.de" ]
gerard.choinka@ambrosys.de
7b2c67b24b3125afbff68d1129ef8607c8628045
5add80be09ee754fced03e512a9acc214971cddf
/python-code/opencv-learning/dnn/caffe_bvlc_reference_rcnn_ilsvrc13.py
b08812ae603ae7467a7a09c1e75113960f7ee283
[ "Apache-2.0" ]
permissive
juxiangwu/image-processing
f774a9164de9c57e88742e6185ac3b28320eae69
c644ef3386973b2b983c6b6b08f15dc8d52cd39f
refs/heads/master
2021-06-24T15:13:08.900960
2019-04-03T10:28:44
2019-04-03T10:28:44
134,564,878
15
5
null
null
null
null
UTF-8
Python
false
false
3,210
py
#coding:utf-8 import numpy as np import cv2 #labels = np.loadtxt(label_file, str, delimiter='\t') CLASSES = np.loadtxt('../resources/models/caffe/det_synset_words.txt', str, delimiter='\t')#[line.strip() for line in open('../resources/models/caffe/object_detection_classes_pascal_voc.txt')] #print('[INFO]', CLASSES) de...
[ "kkoolerter@gmail.com" ]
kkoolerter@gmail.com
cc56120f34807b460b733d6a58c9a329725e49a6
ab0907d7a699d4a490f96add6cdaa9d6b9822ac7
/src/models/euler_lagrange_predictor.py
ae0ba29b9e2343044e7ef90138fa4f4dfba18059
[]
no_license
virtualpeer/local_transformation_model
3fe9c12e49854e53eb21b7a2848c5e2ce75c1cb9
bd48087bdf6af1b99be80ad6d6e85cf005120ee9
refs/heads/master
2023-08-23T15:54:00.543813
2021-10-11T17:41:02
2021-10-11T17:41:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,858
py
# # Hybrid Eulerian Lagrangian Rainfall Prediction # import torch import torch.nn as nn #from torch.autograd import Variable import numpy as np # ----------------------------- # add "src" as import path #path = os.path.join('/home/tsuyoshi/local_transformation_model/src/src_rev_bilinear/') #sys.path.append(path) ...
[ "inoue0406@gmail.com" ]
inoue0406@gmail.com