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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17cbd59404e6774d0093023cd921bea9c0b812b8 | 3e5e8d6c1b39d459f4e489db083bd437f88bf213 | /path/path_server.py | f998079d6e3812562f8b43147012f9300ab9e3bd | [] | no_license | emonson/SamVis | 37b4f92e482a5227520c4f6b95896ab35d0b71e5 | 98f1dc793bc6a0a38785cb279cd8d27a44807b8b | refs/heads/master | 2020-06-04T03:04:53.257031 | 2014-10-30T17:34:39 | 2014-10-30T17:34:39 | 9,029,161 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,354 | py | import cherrypy
import json
from path_obj import PathObj
import os
import glob
class ResourceIndex(object):
def __init__(self, server_url, data_names):
self.server_url = server_url
self.data_names = data_names
@cherrypy.expose
def index(self):
return self.to_html()
@cherrypy.... | [
"emonson@cs.duke.edu"
] | emonson@cs.duke.edu |
6751813df7cadcbc722015f087934164f1982cbe | 77311ad9622a7d8b88707d7cee3f44de7c8860cb | /res_bw/scripts/common/lib/email/mime/nonmultipart.py | 527fda5afdf5a3217564dd26d8a2f0384691bce1 | [] | no_license | webiumsk/WOT-0.9.14-CT | 9b193191505a4560df4e872e022eebf59308057e | cfe0b03e511d02c36ce185f308eb48f13ecc05ca | refs/heads/master | 2021-01-10T02:14:10.830715 | 2016-02-14T11:59:59 | 2016-02-14T11:59:59 | 51,606,676 | 0 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 730 | py | # 2016.02.14 12:47:55 Střední Evropa (běžný čas)
# Embedded file name: scripts/common/Lib/email/mime/nonmultipart.py
"""Base class for MIME type messages that are not multipart."""
__all__ = ['MIMENonMultipart']
from email import errors
from email.mime.base import MIMEBase
class MIMENonMultipart(MIMEBase):
"""Base... | [
"info@webium.sk"
] | info@webium.sk |
a91f1a29d2b88913cdb79f5181f207f5e3eadd65 | 05e634a232574f676434dfa8e4183f3d0a1a4bc9 | /paddlecv/ppcv/ops/connector/base.py | 9d315823ec24a76a0e34664c97122662ff637792 | [
"Apache-2.0"
] | permissive | PaddlePaddle/models | 67ac00d93c5255ac64a9d80ae5be2e8927e47cee | 8042c21b690ffc0162095e749a41b94dd38732da | refs/heads/release/2.4 | 2023-09-04T15:23:59.543625 | 2023-07-20T11:54:16 | 2023-07-20T11:54:16 | 88,868,842 | 7,633 | 3,597 | Apache-2.0 | 2023-09-05T23:23:54 | 2017-04-20T13:30:15 | Python | UTF-8 | Python | false | false | 1,062 | py | # Copyright (c) 2022 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
#
# Un... | [
"noreply@github.com"
] | PaddlePaddle.noreply@github.com |
149cbde05cc6385c66a90062e7ac22763bf9aed1 | a03a7935a191d63bee76fd3b85a61ee27f98904a | /test/tests/databases/pdbdatabase.py | 819adafd698290f378a6eb7b80bb41c8c6c1bf27 | [] | no_license | cchriste/visit | 57091c4a512ab87efd17c64c7494aa4cf01b7e53 | c72c413f571e56b52fb7221955219f11f4ba19e3 | refs/heads/master | 2020-04-12T06:25:27.458132 | 2015-10-12T15:41:49 | 2015-10-12T15:41:49 | 10,111,791 | 5 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,311 | py | # ----------------------------------------------------------------------------
# CLASSES: nightly
#
# Test Case: pdbdatabase.py
#
# Tests: mesh - 2D,3D curvilinear, single domain
# plots - Pseudocolor, Subset, Vector
# operators - Clip
#
# Programmer: Brad Whitlock
# Date: ... | [
"bonnell@18c085ea-50e0-402c-830e-de6fd14e8384"
] | bonnell@18c085ea-50e0-402c-830e-de6fd14e8384 |
28c3703bfafc76e25ef8fc5c9da913bae9874f5d | cc6154486d4546a1394aac53dc5cfa5b1c4dfd02 | /docs/source/conf.py | 24d6fc870cd9b14bf251caaaa8fe5c7eec8edf10 | [
"BSD-3-Clause"
] | permissive | AustralianSynchrotron/tiled | 3c4448030c5fb53c952790ad4c501291bf427214 | 307d2f3b7e9b841afdf5af716f218584e4c3d530 | refs/heads/main | 2023-08-29T04:19:20.768182 | 2021-10-14T00:38:00 | 2021-10-14T00:38:00 | 416,939,893 | 0 | 0 | BSD-3-Clause | 2021-10-14T00:36:20 | 2021-10-14T00:36:19 | null | UTF-8 | Python | false | false | 9,066 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# tiled documentation build configuration file, created by
# sphinx-quickstart on Thu Jun 28 12:35:56 2018.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# auto... | [
"dallan@bnl.gov"
] | dallan@bnl.gov |
2d1bf385aa0af57dac548b94154d0021b5bcbf2c | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_069/ch31_2019_09_28_01_31_28_102445.py | f9f4884fb86277a703c6d470865f3c6e798b155a | [] | 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 | 284 | py | valor = float(input('Qual o valor da casa?' ))
salario = float(input('Qual o seu salário? '))
tempo = int(input('Em quantos anos deseja pagar? '))
prestacao = valor/tempo*12
if salario >= 0.3*prestacao:
print ('Empréstimo aprovado')
else:
print ('Empréstimo não aprovado') | [
"you@example.com"
] | you@example.com |
dde962a6155bab28965c2ed4dfa4a581508ce225 | 69d3680f881833a0a4906ad708eac11401bc03c6 | /python3/2. 01背包问题.py | 2741d3ecf6749f95de6819feb609bb510721b0ff | [] | no_license | menghuu/YALeetcode | 21df4b5ea6cb0a249263b0ce2df37e7580477ddd | 1959a884bb1cc9f2f1acb1ba6f413498ea0d1aca | refs/heads/master | 2023-08-18T03:55:41.470428 | 2021-09-11T12:39:02 | 2021-09-11T12:39:02 | 269,104,152 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 457 | py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2020 m <m@meng.hu>
#
# Distributed under terms of the MIT license.
"""
"""
import sys
N, V = map(int, sys.stdin.readline().strip().split())
# dps[j]
dps = [0 for _ in range(V + 1)]
# dps[i][j]
for _ in range(N):
v, w = map(int, sy... | [
"m@meng.hu"
] | m@meng.hu |
c22c01818686115aaa4f416dc26874227498f59a | f07a42f652f46106dee4749277d41c302e2b7406 | /Data Set/bug-fixing-5/004621ef8e2f9da82e0ed2be016e874230d93a0d-<profiles>-fix.py | a3ec5d59222b96ebf703c7962993fe499e3d1581 | [] | no_license | wsgan001/PyFPattern | e0fe06341cc5d51b3ad0fe29b84098d140ed54d1 | cc347e32745f99c0cd95e79a18ddacc4574d7faa | refs/heads/main | 2023-08-25T23:48:26.112133 | 2021-10-23T14:11:22 | 2021-10-23T14:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,244 | py | @property
def profiles(self):
'Returns a list of profiles from the API\n\n The profiles are formatted so that they are usable in this module and\n are able to be compared by the Difference engine.\n\n Returns:\n list (:obj:`list` of :obj:`dict`): List of profiles.\n\n Ea... | [
"dg1732004@smail.nju.edu.cn"
] | dg1732004@smail.nju.edu.cn |
2a37b57347e8945b94ea8041f9511b3b88e12a17 | 72af8e47d5786571bce1789fc047965de4f9ac92 | /api/__init__.py | ad16f4c6968b0f0d9cc72ec542f4a5cc4cc4663a | [] | no_license | 444thLiao/WES_pipelines | 18d488e7c01ca618b8a6916979e2d8f64d1aa631 | 06365dc6d91b8c1861c053970e2823c322e5814d | refs/heads/master | 2022-01-20T17:59:11.688758 | 2019-07-17T06:43:44 | 2019-07-17T06:43:44 | 93,579,804 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 163 | py | import sys
from os.path import dirname
sys.path.insert(0,dirname(dirname(__file__)))
from luigi_pipelines.share_luigi_tasks import PrintReads, Annovar1, Annovar2
| [
"l0404th@gmail.com"
] | l0404th@gmail.com |
3e023f193c68c9ab08ac4d6d2ac5f80e9f724559 | 28c598bf75f3ab287697c7f0ff1fb13bebb7cf75 | /starter.mmo/genesis/spell/spellmain.py | 170cb2340251bc0dc466557b56c4e020fc7eafc1 | [] | no_license | keaysma/solinia_depreciated | 4cb8811df4427261960af375cf749903d0ca6bd1 | 4c265449a5e9ca91f7acf7ac05cd9ff2949214ac | refs/heads/master | 2020-03-25T13:08:33.913231 | 2014-09-12T08:23:26 | 2014-09-12T08:23:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 97 | py |
from genesis.dbdict import DBSpellProto
from mud.world.defines import *
import invulnerability
| [
"mixxit@soliniaonline.com"
] | mixxit@soliniaonline.com |
bba750f4f5d2b831e16a33244d5dcbf9e58ec1ac | 87dcb103e48da1fd17233232a7b4ad1d79ae50d5 | /svtplay-dl | c90f98e505eedf0ecbe8124fd1bd4cc58c18b091 | [
"MIT"
] | permissive | gusseleet/svtplay-dl | 9bd64ba5c83775a12496a3dcd42282e5171249ff | 55d811286df237738802ac9754417a8fed21280f | refs/heads/master | 2020-12-25T02:30:14.399785 | 2016-02-19T20:29:49 | 2016-02-19T20:29:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 166 | #!/usr/bin/env python
print("This file is no longer updated.")
print("if you still want to use it. go to https://svtplay-dl.se/archive and download the latest one")
| [
"j@i19.se"
] | j@i19.se | |
5fef8ea7f91e094835ace56319fab0b154591baf | 18ca2e0f98b98941ff9d9e098e0be89166c8b87c | /Abp/Cp17/c17_7_1_resizeAndAddLogo2.py | 1e9e0f0d7ca76bb52331717c0a1cfcf67a729979 | [] | no_license | masa-k0101/Self-Study_python | f20526a9cd9914c9906059678554285bfda0c932 | 72b364ad4da8485a201ebdaaa430fd2e95681b0a | refs/heads/master | 2023-03-07T07:38:27.559606 | 2021-02-22T16:24:47 | 2021-02-22T16:24:47 | 263,381,292 | 1 | 0 | null | 2020-06-09T17:32:06 | 2020-05-12T15:47:48 | Python | UTF-8 | Python | false | false | 1,571 | py | #! python3
# -*- coding: utf-8 -*-
# 演習プロジェクト 17.7.1用に改造
# resizeAndAddLogo2.py - カレントディレクトリのすべての画像を300x300に収まる
# ようにサイズ変更し、catlogo.pngを右下に追加する。
import os
from PIL import Image
SQUARE_FIT_SIZE = 300
LOGO_FILENAME = 'catlogo.png'
logo_im = Image.open(LOGO_FILENAME)
logo_width, lo... | [
"noreply@github.com"
] | masa-k0101.noreply@github.com |
ef35d4d21c0c69a4d991e93868072dc6cf75a519 | 61d484ae68e40b89432f66f98164c811692ee612 | /ThirdParty/protobuf-registry/python/protobufs/services/profile/actions/get_profile_stats_pb2.py | 55e84806eed9e93479af3fa9b97e42596ef5d993 | [
"MIT"
] | permissive | getcircle/luno-ios | 2a29192c130c48415e55b50850e77a1a37f22ad1 | d18260abb537496d86cf607c170dd5e91c406f0f | refs/heads/master | 2021-05-01T04:01:52.647661 | 2016-12-05T04:54:08 | 2016-12-05T04:54:08 | 27,101,758 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | true | 4,563 | py | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: protobufs/services/profile/actions/get_profile_stats.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_... | [
"mwhahn@gmail.com"
] | mwhahn@gmail.com |
13c9726cece639eb23085d411129eaa87a551621 | 87e60b0504be11c6997f1b20b72e9428cc128342 | /ana/magic/histo.py | ea1f01da27e77f8533bcff0d15645274f3f75b83 | [] | no_license | brettviren/cowbells | 70a85856fdfc54526c847f115d5dc01ec85ec215 | 1ceca86383f4f774d56c3f159658518242875bc6 | refs/heads/master | 2021-01-10T18:44:41.531525 | 2014-04-09T15:17:29 | 2014-04-09T15:17:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,839 | py | #!/usr/bin/env python
'''
Histogram store
'''
from UserDict import DictMixin
import ROOT
class Histo(DictMixin):
'''
Provide a dictionary interface to a TDirectory (TFile) for
managing ROOT Histogram objects (any TNamed object, really).
The TDirectory must be associated with a TFile opened with the
... | [
"bv@bnl.gov"
] | bv@bnl.gov |
b6293e11242c694c26602b35f2ac13d2b23179dc | 86da8478bd5b28045581445263fded606f592158 | /tests/network/nano_node/data/http/empty_watching.py | c91229055452ec790f8826079b0f4474b6efc22f | [
"CC0-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | Matoking/siliqua | c2053214187ed6a2a1d418daf7e43108770c731c | b943822631ab18dde85e95d1731ebd7ffd7ef14a | refs/heads/master | 2020-08-28T02:59:53.841369 | 2019-11-18T17:00:26 | 2019-11-18T17:00:26 | 217,568,445 | 8 | 1 | null | null | null | null | UTF-8 | Python | false | false | 384 | py | from tests.network.nano_node.conftest import HTTPReplay
DATA = [
HTTPReplay(
{
"action": "account_history",
"account": "xrb_15n1wthxc5ndjnoufdfe8m4z5j973o6trzwbfys4cu4gtju5mh4xc918fout",
"count": 500,
"raw": True,
"reverse": True
},
... | [
"jannepulk@gmail.com"
] | jannepulk@gmail.com |
f4e7f0e88b95e72ed71b719cc5ec004ce4f3a78e | c84ba95b559d0d1fd142c88dffec3da45cb8e711 | /backend/users/migrations/0003_auto_20210115_1652.py | 04ad1b16a0cd2f76a84ca29e9d06e1ab48a24855 | [] | no_license | crowdbotics-apps/insta-23855 | 4460bc7f00d52a86f9c30f90249e451957d4b145 | c3abded4dc1a1dcaf201da48fe12d348468c7a02 | refs/heads/master | 2023-02-11T13:48:17.207924 | 2021-01-15T16:54:09 | 2021-01-15T16:54:09 | 329,785,617 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,113 | py | # Generated by Django 2.2.17 on 2021-01-15 16:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0002_auto_20210115_0235'),
]
operations = [
migrations.AddField(
model_name='user',
name='last_updated',
... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
4eb5f6a1973d51f56c5840b06100a56e3a8e22e8 | 957430fc737d07df115f80dae22ce5cd11096689 | /restaurants/table/migrations/0001_initial.py | 36d1e79ffd34d9c15c9e0a9377af92f001469bf6 | [] | no_license | Hamza-abughazaleh/Restaurant | c6ac28c029d1d2c8eadcf0a61575c54d39273623 | ecffb9a7bf11b115aa0d33617f61e72697f327cc | refs/heads/main | 2023-06-19T09:09:03.268647 | 2021-07-16T19:45:33 | 2021-07-16T19:45:33 | 386,622,768 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,018 | py | # Generated by Django 3.2.5 on 2021-07-14 19:25
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import table.validation
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USE... | [
"hamzaabughazaleh23@gmail.com"
] | hamzaabughazaleh23@gmail.com |
7c5d0a108ce1a97c84572b1c05a6cc3f1bb972a3 | 5a4ae6581fa70025a3c6cd4a8d8b0e179f10a7dc | /tests/past_api09_temptable.py | 4fe41861e916ce3471721c4d49d36b41444d3818 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | Dev4Data/datatest | b250a465f4c313ebe8d59a1d273e4e1ce4f86619 | bf136eab23c2b6ea36c201e1446fca9243c3fba6 | refs/heads/master | 2023-08-03T00:36:34.362741 | 2021-12-05T17:44:33 | 2021-12-05T17:44:33 | 136,925,059 | 0 | 0 | null | 2018-06-11T12:44:50 | 2018-06-11T12:44:50 | null | UTF-8 | Python | false | false | 18,160 | py | # -*- coding: utf-8 -*-
import itertools
import sqlite3
import unittest
import datatest._vendor.temptable as temptable
from datatest._compatibility import collections
from datatest._vendor.temptable import (
table_exists,
new_table_name,
normalize_names,
normalize_default,
create_table,
get_col... | [
"shawnbrown@users.noreply.github.com"
] | shawnbrown@users.noreply.github.com |
34f85ad410331a5914a2517ee3343c14572b7b59 | 7a2bfe09f7526c36fce304999fa47466b89fdec2 | /profiles/models.py | 7cbf380d6bb77aeabe96546b9fe12b082a1ed6fc | [] | no_license | Brachamul/fichier-jdem | 179344ba64b830c3f6e352907e470a1db8d42a9b | f9b40657aea54db83b3abd3e7b38fec9260d34e9 | refs/heads/master | 2021-05-01T00:37:50.021517 | 2019-02-07T15:02:06 | 2019-02-07T15:02:06 | 58,691,054 | 0 | 0 | null | 2017-07-04T21:13:01 | 2016-05-13T02:01:05 | Python | UTF-8 | Python | false | false | 2,247 | py | from django.db import models
from django.contrib.auth.models import User
from django.core.exceptions import ObjectDoesNotExist
from django.db.models.signals import post_save
from django.dispatch import receiver
from fichiers_adherents.models import FichierAdherents, Adherent, Cnil, adherents_actuels
class Member(m... | [
"barnaby.brachamul@gmail.com"
] | barnaby.brachamul@gmail.com |
da60dde1e796db0872b0c257e878c1ebb4826cda | ffff723a6c8527b45299a7e6aec3044c9b00e923 | /PS/BOJ/1238/1238.py | 599cad18df66ed2c7caf926d2eb19296b2ffb8d7 | [] | no_license | JSYoo5B/TIL | 8e3395a106656e090eeb0260fa0b0dba985d3beb | 3f9ce4c65451512cfa2279625e44a844d476b68f | refs/heads/master | 2022-03-14T09:15:59.828223 | 2022-02-26T01:30:41 | 2022-02-26T01:30:41 | 231,383,838 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,197 | py | #!/usr/bin/env python3
import heapq
INF = 10 ** 9
input = __import__('sys').stdin.readline
heappush = heapq.heappush
heappop = heapq.heappop
def get_dist_to_others(edges, src):
nodes_cnt = len(edges)
dists = [INF for _ in range(nodes_cnt)]
heap = [ [0, src] ]
while len(heap) > 0:
[dist, node... | [
"jsyoo5b@gmail.com"
] | jsyoo5b@gmail.com |
f6345fee883766347e8a49dfa0c93038f32995b2 | 48a7b266737b62da330170ca4fe4ac4bf1d8b663 | /molsysmt/_private/digestion/argument/chi3.py | ef60e618382a4208ce40cd84eadebbd653dad6de | [
"MIT"
] | permissive | uibcdf/MolSysMT | ddab5a89b8ec2377f383884c5169d147cab01322 | c3d713ba63db24eb8a2426115cf8d9cb3665d225 | refs/heads/main | 2023-08-08T15:04:16.217967 | 2023-08-04T05:49:56 | 2023-08-04T05:49:56 | 137,937,243 | 15 | 3 | MIT | 2023-06-04T20:27:06 | 2018-06-19T19:38:44 | Python | UTF-8 | Python | false | false | 407 | py | from ...exceptions import ArgumentError
methods_bool_input = ["molsysmt.topology.get_dihedral_quartets.get_dihedral_quartets",
"molsysmt.structure.get_dihedral_angles.get_dihedral_angles"]
def digest_chi3(chi3, caller=None):
if caller in methods_bool_input:
if isinstance(chi3, bool):
... | [
"prada.gracia@gmail.com"
] | prada.gracia@gmail.com |
6764d6567a70fd6c2f2886bcd6dfc1234234f72f | edf31957838a65e989d5eb5e8118254ac2413fc8 | /parakeet/analysis/collect_vars.py | 66543535c72ccdc08e79053098b7cefbdccc4db0 | [
"BSD-3-Clause"
] | permissive | iskandr/parakeet | e35814f9030b9e8508a7049b62f94eee5b8c5296 | d9089f999cc4a417d121970b2a447d5e524a3d3b | refs/heads/master | 2021-07-18T19:03:05.666898 | 2019-03-13T17:20:20 | 2019-03-13T17:20:20 | 5,889,813 | 69 | 7 | NOASSERTION | 2021-07-17T21:43:03 | 2012-09-20T16:54:18 | Python | UTF-8 | Python | false | false | 1,523 | py | from .. syntax import Var, Tuple
from syntax_visitor import SyntaxVisitor
class SetCollector(SyntaxVisitor):
def __init__(self):
SyntaxVisitor.__init__(self)
self.var_names = set([])
def visit_Var(self, expr):
self.var_names.add(expr.name)
def collect_var_names(expr):
collector = SetCollector()
c... | [
"alex.rubinsteyn@gmail.com"
] | alex.rubinsteyn@gmail.com |
546664dc944f734fde1b16887bc05cfe6763ff9b | 65662b604fa40bdc6e8648e39ed201b0dd8ad6fd | /Python Specialization/Course 4/code/party4.py | 257a2d0f8d47dc1b565fc7854b62718b830ad3d4 | [
"MIT"
] | permissive | rubysubash/Coursera-Specializations | 973f9dbc01774dae84d90b6b97870a6dfde674bc | 88acc792bbee20e8d9b8d34ff6f7c3072236d6f3 | refs/heads/master | 2020-08-10T02:43:08.277860 | 2020-06-02T09:48:25 | 2020-06-02T09:48:25 | 214,237,214 | 0 | 0 | MIT | 2019-10-10T16:52:27 | 2019-10-10T16:52:27 | null | UTF-8 | Python | false | false | 295 | py | class PartyAnimal:
x = 0
name = ""
def __init__(self, nam):
self.name = nam
print self.name,"constructed"
def party(self) :
self.x = self.x + 1
print self.name,"party count",self.x
s = PartyAnimal("Sally")
s.party()
j = PartyAnimal("Jim")
j.party()
s.party()
| [
"amandalmia18@gmail.com"
] | amandalmia18@gmail.com |
f496808570d534acea82cfe877a130b206da08d4 | a973f336765a31550cc9661be57e0384c317fc38 | /ejemplo3/proyectoUno/administrativo/urls.py | 8ef4aee1be71fedb011dd6c3682a4c4b57228cee | [] | no_license | PlataformasWeb-P-AA2021/clase03-2bim-ricardoifc | 0a40d61f351525ab87cb2ce1f0982804cb50df37 | 35c42f8e5c3420bfa66103dcb45a75c5b27d5a5a | refs/heads/main | 2023-06-19T17:46:12.663825 | 2021-07-16T17:47:59 | 2021-07-16T17:47:59 | 377,869,143 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 326 | py | """
Manejo de urls para la aplicación
administrativo
"""
from django.urls import path
# se importa las vistas de la aplicación
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('estudiante/<int:id>', views.obtener_estudiante,
name='obtener_estudiante'),... | [
"66690702+github-classroom[bot]@users.noreply.github.com"
] | 66690702+github-classroom[bot]@users.noreply.github.com |
9bdf0b23533683e150f463573dbbc503fff15af3 | e82b761f53d6a3ae023ee65a219eea38e66946a0 | /All_In_One/addons/auto_rig_pro/auto_rig_datas_export.py | 0ad9f6059d3985af9e8018a74ef2027c38c661bb | [] | no_license | 2434325680/Learnbgame | f3a050c28df588cbb3b14e1067a58221252e2e40 | 7b796d30dfd22b7706a93e4419ed913d18d29a44 | refs/heads/master | 2023-08-22T23:59:55.711050 | 2021-10-17T07:26:07 | 2021-10-17T07:26:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 992 | py | {'eyelid_top.l': ('Transformation', (0.0, 0.0, 0.0, 0.0, 0.0, 1.5)), 'eyelid_bot.l': ('Transformation', (0.0, 0.0, 0.0, 0.0, 0.0, 1.5)), 'eyelid_top.r': ('Transformation', (0.0, 0.0, 0.0, 0.0, 0.0, 1.5)), 'eyelid_bot.r': ('Transformation', (0.0, 0.0, 0.0, 0.0, 0.0, 1.5)), 'c_foot_bank_01.r': ('Transformation', (0.0, 0.... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
5dab7e3bfdea2a2c594b3dad9518850e875f603f | 3d19e1a316de4d6d96471c64332fff7acfaf1308 | /Users/B/buttub/basic_twitter_scraper_179.py | 43a79636f9de0b40da964a9dc909525b46726714 | [] | no_license | BerilBBJ/scraperwiki-scraper-vault | 4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc | 65ea6a943cc348a9caf3782b900b36446f7e137d | refs/heads/master | 2021-12-02T23:55:58.481210 | 2013-09-30T17:02:59 | 2013-09-30T17:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,294 | py | ###################################################################################
# Twitter scraper - designed to be forked and used for more interesting things
###################################################################################
import scraperwiki
import simplejson
import urllib2
# Change QUERY to y... | [
"pallih@kaninka.net"
] | pallih@kaninka.net |
11eaad49e2f332332ac43910e59112ef2d27a95d | c0340c511cff5b40b4681c4d3238d807624c0323 | /models/revision/branching_entropy/branching_direction_entropy.py | 88c5d3c8f2bdf70871641d209a2d1963a11af595 | [] | no_license | m-hahn/grammar-optim | 5fa7ade47d2ad91f517c887ee2c65af24059069d | 07a1a80692a504bcafc8120a21c4dc9066b495ee | refs/heads/master | 2022-08-30T06:54:42.749264 | 2022-08-05T12:09:28 | 2022-08-05T12:09:28 | 156,456,167 | 13 | 2 | null | null | null | null | UTF-8 | Python | false | false | 4,065 | py | #/u/nlp/bin/stake.py -g 11.5g -s run-stats-pretrain2.json "python readDataDistEnglishGPUFree.py"
import random
import sys
from math import log, exp
from random import random, shuffle
from corpusIterator_FuncHead import CorpusIteratorFuncHead
languages = ["Hindi", "Swedish", "German", "Urdu", "English", "Spanish", ... | [
"mhahn29@gmail.com"
] | mhahn29@gmail.com |
a8c5f8fe733b1263b9e715e46f656c1827f702d7 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2843/60723/275315.py | 68bd3c530b53af09ba7366a8b979d4690d44f3fa | [] | 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 | 176 | py | num=int(input())
a=input().split()
for i in range(num):
a[i]=int(a[i])
b=[]
for i in range(num-1):
b.append(str(a[i]+a[i+1]))
b.append(str(a[num-1]))
print(' '.join(b)) | [
"1069583789@qq.com"
] | 1069583789@qq.com |
aeadd558d70fd182c63b90eaf2fd71d11de90b1a | a7821394b1f9817d2d8a33f7638ced65a9f60336 | /p11.py | 835f5a8bfaf8afdff081a43dc4bd102ebdcbd6f4 | [] | no_license | Azizz007/jenkins_python | 0a2f7c34ab6d9a58bcedf0b4ae3d611c1ca7c095 | ffc33bc0fcc980d05f52f12c1842e0ae0949e1fd | refs/heads/master | 2023-01-03T09:15:46.023053 | 2020-10-29T14:18:51 | 2020-10-29T14:18:51 | 308,250,538 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18 | py | print ("hey, 2")
| [
"you@example.com"
] | you@example.com |
add0836df218250b62407c0f08330ba06dab4197 | 8962f8a8c69d2fc5e31de6e976ef4823bc9f956f | /TRPLib/pgmconstrict.py | 628b778345cdbd8fc70948cf7d9062b04e8cd729 | [] | no_license | btownshend/pyTecan | 28dd23a6b4a51afdf0dff811c53f4b2fe1b7c124 | 47087c41d7d01598eab6d45696f8c3beedd2310f | refs/heads/master | 2021-08-09T23:18:06.137339 | 2021-03-31T19:12:17 | 2021-03-31T19:12:17 | 9,189,758 | 8 | 3 | null | 2017-09-06T19:46:33 | 2013-04-03T08:05:45 | Python | UTF-8 | Python | false | false | 11,277 | py | import math
from ..Experiment import reagents, clock, worklist
from ..Experiment.concentration import Concentration
from ..Experiment.sample import Sample
from .QSetup import QSetup
from .TRP import TRP
from . import trplayout
reagents.add("BT5310", well="D1", conc=Concentration(20, 20, "pM"))
reagents.add("MKapa", w... | [
"bst@tc.com"
] | bst@tc.com |
3e781df8255b5996389edf5779bd5da42cd892e9 | 000c243b4c30bd089867f73ca1bcfede1c3ef801 | /catkin_ws/devel/lib/python2.7/dist-packages/mapviz/srv/_AddMapvizDisplay.py | 51a8c74fc59d389bcea1f3394153276017a0544d | [] | no_license | dangkhoa1210/SLAM-AND-NAVIGATION-FOR-MOBILE-ROBOT-OUTDOOR-INDOOR- | b4d9bf2757d839d9766d512c2272731300320925 | 7273ea9e966353440d3993dcba112bc0a2262b98 | refs/heads/master | 2023-07-15T14:07:17.123812 | 2021-09-02T10:12:30 | 2021-09-02T10:12:30 | 402,361,868 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,142 | py | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from mapviz/AddMapvizDisplayRequest.msg. Do not edit."""
import codecs
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
import marti_common_msgs.msg
class AddMapvizDisplayRequest(genpy.Message... | [
"dangkhoaphamdang1210@gmail.com"
] | dangkhoaphamdang1210@gmail.com |
5cff6d1e75311f6a39ff6edc9ee7a41307b16b8f | cc1b87f9368e96e9b3ecfd5e0822d0037e60ac69 | /dashboard/dashboard/api/sheriffs.py | 6a66dcc1d8196a45035d18f819709bca37d2f30c | [
"BSD-3-Clause"
] | permissive | CTJyeh/catapult | bd710fb413b9058a7eae6073fe97a502546bbefe | c98b1ee7e410b2fb2f7dc9e2eb01804cf7c94fcb | refs/heads/master | 2020-08-19T21:57:40.981513 | 2019-10-17T09:51:09 | 2019-10-17T18:30:16 | 215,957,813 | 1 | 0 | BSD-3-Clause | 2019-10-18T06:41:19 | 2019-10-18T06:41:17 | null | UTF-8 | Python | false | false | 591 | py | # Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from dashboard.api import api_request_handler
f... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
12c1e9f39cad94697ac642a2b342136937d4f0fe | ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1 | /res/packages/scripts/scripts/client/gui/prb_control/entities/base/pre_queue/actions_validator.py | 9751c236c69e44dbb07d504e8b417ae5707659af | [] | no_license | webiumsk/WOT-0.9.20.0 | de3d7441c5d442f085c47a89fa58a83f1cd783f2 | 811cb4e1bca271372a1d837a268b6e0e915368bc | refs/heads/master | 2021-01-20T22:11:45.505844 | 2017-08-29T20:11:38 | 2017-08-29T20:11:38 | 101,803,045 | 0 | 1 | null | null | null | null | WINDOWS-1250 | Python | false | false | 1,737 | py | # 2017.08.29 21:45:24 Střední Evropa (letní čas)
# Embedded file name: scripts/client/gui/prb_control/entities/base/pre_queue/actions_validator.py
from gui.prb_control.entities.base.actions_validator import BaseActionsValidator, ActionsValidatorComposite, CurrentVehicleActionsValidator
from gui.prb_control.items import... | [
"info@webium.sk"
] | info@webium.sk |
febfd5b2eafe78bde4218ddc057d9e3594551aba | 4fb5eb0a9a24fa5c112a4ebc854ee2604b04adda | /python/oanda/models/client_configure_reject_transaction.py | 3288226fc72e0f163b859744219be769cb51631b | [
"MIT"
] | permissive | KoenBal/OANDA_V20_Client | ed4c182076db62ecf7a216c3e3246ae682300e94 | e67b9dbaddff6ed23e355d3ce7f9c9972799c702 | refs/heads/master | 2020-03-27T20:42:25.777471 | 2019-12-02T15:44:06 | 2019-12-02T15:44:06 | 147,088,130 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,328 | py | # coding: utf-8
"""
OANDA v20 REST API
The full OANDA v20 REST API Specification. This specification defines how to interact with v20 Accounts, Trades, Orders, Pricing and more. To authenticate use the string 'Bearer ' followed by the token which can be obtained at https://www.oanda.com/demo-account/tpa/perso... | [
"koen.bal@gmail.com"
] | koen.bal@gmail.com |
d5d199e83ae7039dce538234c4fd52c1271f01f4 | 4364fb1fec2ebda2cd240ddc19ef89243812c122 | /tensorflow_datasets/image/diabetic_retinopathy_detection_test.py | c6729f05bccf57a228449fa8db506e268ffc95fc | [
"Apache-2.0"
] | permissive | undeadinu/datasets | 67ebbe6c20462ed6f58713ccd8dc1d67db89f4d9 | a6f1bce86404d534b7343fb90f0ebfd6d098c346 | refs/heads/master | 2020-04-16T03:31:37.564934 | 2019-01-11T10:12:42 | 2019-01-11T10:13:12 | 165,234,637 | 0 | 0 | Apache-2.0 | 2019-01-11T11:44:44 | 2019-01-11T11:41:26 | Python | UTF-8 | Python | false | false | 1,329 | py | # coding=utf-8
# Copyright 2018 The TensorFlow Datasets Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | [
"copybara-piper@google.com"
] | copybara-piper@google.com |
c52bc5cd19d2140298c65216a92c5de0be6e6b88 | 05d3038180001200fb2dffc403a84f31eda89abd | /aok/apps/utils/appdf/buildmaster.py | 4c80631d22f08fe0db40fed9efc7418f2c7cfc0b | [] | no_license | 1d20/DITBOG | 20d005b018e16238bd72431abd81940508677903 | 5a8b2f0e5acf45c3a2e81e74f5df5d3690ee540d | refs/heads/master | 2021-01-18T21:14:22.276501 | 2017-08-01T14:16:34 | 2017-08-01T14:16:34 | 87,014,061 | 0 | 0 | null | 2017-08-01T14:16:35 | 2017-04-02T20:29:31 | JavaScript | UTF-8 | Python | false | false | 11,550 | py | #-*- coding:utf-8 -*-
from enum import Enum
class ImgType(Enum):
Icon = "icon"
Promo = "promo"
Screenshot = "screenshot"
class BuilderMaster:
dataMaster = None
tmp_dir = "tmp\\"
work_dir = ""
res_dir = ""
apk_dir = ""
d_eng = ""
d_rus = ""
data_table = ""
default_dat... | [
"detonavomek@gmail.com"
] | detonavomek@gmail.com |
cde3346e90bf0b24b91ea9df9de7d3821dc8a338 | d850f5f7cc09a8379c04d38f5c26c2e6b73f3484 | /kimai_python/models/project_rate.py | 76b7342f2bc64b749686f63d73e8f0362a61bf71 | [
"MIT"
] | permissive | MPW1412/kimai-python | 8d78e3df3036ab11573e800dce96011552aa6946 | 7c89b0866b85fbc4b1092b30eca21f1be48db533 | refs/heads/master | 2022-10-12T17:24:50.522103 | 2020-04-24T06:21:57 | 2020-04-24T06:21:57 | 264,545,139 | 0 | 0 | MIT | 2020-05-16T23:14:13 | 2020-05-16T23:14:12 | null | UTF-8 | Python | false | false | 5,828 | py | # coding: utf-8
"""
Kimai 2 - API Docs
JSON API for the Kimai 2 time-tracking software. Read more about its usage in the [API documentation](https://www.kimai.org/documentation/rest-api.html) and then download a [Swagger file](doc.json) for import e.g. in Postman. Be aware: it is not yet considered stable and... | [
"kajetan.bancerz@gmail.com"
] | kajetan.bancerz@gmail.com |
c618026c9962936fdc9c07d9881c1e5b4d611e77 | 99351753f51b2a585f3a0bb1dc11b8c6eebd76df | /setup.py | f547ea175656df3ebba7efc860cec92119a0174e | [] | no_license | FND/tiddlywebplugins.imaker | 6ef680e76145f9f954a66ba2d1cabd15cc0b4637 | bcaeca5a4f2b44d9e48414f48cfa5cae468f6c4c | refs/heads/master | 2021-01-15T18:30:52.466042 | 2013-07-13T10:51:54 | 2013-07-13T10:51:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 845 | py | AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
NAME = 'tiddlywebplugins.imaker'
DESCRIPTION = 'Make TiddlyWeb instances'
VERSION = '0.1.3'
import os
from setuptools import setup, find_packages
# You should carefully review the below (install_requires especially).
setup(
namespace_packages = ['tiddly... | [
"chris.dent@gmail.com"
] | chris.dent@gmail.com |
def2f9542d47fd2055869a485e738ece66c185bf | 859fc6793e1c2e019e0ec119a367ea43beeefcdc | /python/ccxt/bitget.py | 127d3af30c18385dab501a01211f45a8f3eafdb4 | [
"MIT"
] | permissive | siwenHT/ccxt | 638b8cee929c2638e7b742eae9c7ac13fdb026ec | d6da2a081f8d66f82509bb720e3f23b124016a5b | refs/heads/master | 2023-09-04T07:54:44.408565 | 2021-11-06T14:17:06 | 2021-11-06T14:17:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 139,831 | py | # -*- coding: utf-8 -*-
# PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
# https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
from ccxt.base.exchange import Exchange
import hashlib
from ccxt.base.errors import ExchangeError
from ccxt.base.errors import Authenticati... | [
"travis@travis-ci.org"
] | travis@travis-ci.org |
9d5aafb14738f910a84f9fa615fc45a6cd8f3cc2 | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /es6qJTs5zYf8nEBkG_10.py | 6084216bb61e092527df14f88ae710259e20fc5d | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 349 | py |
import re
def is_rectangle(lst):
if len(lst) != 4:
return False
num = []
items = []
for x in range(0, len(lst)):
result = [int(d) for d in re.findall(r'-?\d+', lst[x])]
num.extend(result)
for x in range(0, len(num)):
if num[x] not in items:
items.append(num[x])
if len(items) != 4:
... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
8745eab3a8a025abd42708022865113cd6d9859f | fd326562890d4f1987c384fc7c60374938231222 | /OOP/DefinningClasses/Spoopify/project/album.py | 55660f2a89fde3334a12f48e6c5ecfbc8cdc378d | [] | no_license | miro-lp/SoftUni | cc3b0ff742218c9ceaf93f05c319ccfeed5bc8a4 | 283d9328537919de49f7f6a301e58593bae9ca2a | refs/heads/main | 2023-08-23T21:22:07.856226 | 2021-08-25T15:10:18 | 2021-08-25T15:10:18 | 318,134,101 | 2 | 1 | null | 2021-08-10T12:51:54 | 2020-12-03T09:03:08 | Python | UTF-8 | Python | false | false | 1,675 | py | from .song import Song
class Album:
def __init__(self, name, *songs):
self.name = name
self.songs = list(songs)
self.published = False
def add_song(self, song: Song):
if self.published:
return "Cannot add songs. Album is published."
else:
if son... | [
"miro_lp@abv.bg"
] | miro_lp@abv.bg |
930c2c52d19f93eb89a1d6d1cd65fddba65c9851 | df126574e5fae32aa6ba8ae927942208107897b5 | /pyconll/load.py | 2cfdd19dd6edcbb04a5310f3f37bfb3799be6585 | [
"MIT"
] | permissive | ZmeiGorynych/pyconll | 865781a9ac2b5c0b9fe2a26d7d14fce60d4454a7 | 6784295db5fde769754e2b1ac46d6100484e45cc | refs/heads/master | 2020-04-14T11:38:14.167823 | 2018-12-28T22:12:38 | 2018-12-28T22:12:38 | 163,819,354 | 0 | 0 | null | 2019-01-02T09:15:40 | 2019-01-02T09:15:40 | null | UTF-8 | Python | false | false | 3,400 | py | """
A wrapper around the Conll class that allow for easy loading of treebanks from
multiple formats. This module also contains logic for iterating over treebank
data without storing Conll objects in memory.
"""
import requests
from pyconll._parser import iter_sentences
from pyconll.unit import Conll
def load_from_s... | [
"matgrioni@gmail.com"
] | matgrioni@gmail.com |
42e066146f1fa97f71238d54a52fa96707339fed | 0274f2c465f110598456624581f569331221068b | /impl/set_mode.py | 4e67d0d1e69ae5d21f0e2a6144f1fe0e173dbafa | [] | no_license | bluecube/thesis | 63e745076c86a3122e9c3d7ff42ff22e32921860 | 588db206e64de9b681372fea9a70d3fa2aa598df | refs/heads/master | 2016-09-06T00:01:03.840006 | 2013-05-27T09:36:51 | 2013-05-27T09:36:51 | 1,376,241 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 870 | py | #!/usr/bin/python
"""
set_mode.py
Set the GPS to SiRF or NMEA mode.
"""
from __future__ import division, print_function, unicode_literals
import gps
import logging
import sys
import argparse
from gps.sirf_messages import *
def setup_logging():
logging.basicConfig(
format = "%(asctime)s - %(name)s - %(l... | [
"blue.cube@seznam.cz"
] | blue.cube@seznam.cz |
9bc5ca18a12c96f4e0ca190e8213607b463a5682 | e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f | /indices/fsa.py | f6b272fc35d04a6d7b15c3cc189b3879a96524a4 | [] | 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 | 140 | py | ii = [('ShawHDE.py', 2), ('PettTHE.py', 71), ('ClarGE2.py', 2), ('GellWPT2.py', 1), ('CrokTPS.py', 2), ('BuckWGM.py', 1), ('RoscTTI.py', 1)] | [
"prabhjyotsingh95@gmail.com"
] | prabhjyotsingh95@gmail.com |
230b8d139a3fe1b4a2b0befd673aebccdac45332 | c5959b7e4fc5b752b54a6352449c1bb0d28d9115 | /bab/bab-12/mysql_fetchmany.py | 1efde507ffa28d2168fa13356bdb0bff188622af | [] | no_license | romanbatavi/kickstarter-python | f5592a371740b28c045ef99dd510d1c6a92ff8d1 | ed3eb692e09a3f44fd3e0b16ab7b042ee2658db6 | refs/heads/master | 2023-03-29T11:34:23.774873 | 2021-04-04T09:11:28 | 2021-04-04T09:11:28 | 354,500,208 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,086 | py | ######################################################
# Nama file: mysql_fetchmany.py
######################################################
import mysql.connector
import sys
def main():
try:
conn = mysql.connector.connect(
user="raharjo",
password="123456789",
host="127.0.0.1",... | [
"romanbatavi98@gmail.com"
] | romanbatavi98@gmail.com |
941eed0f81560dccbcd378a4fa258db160bfd547 | 07bab8cd09c27e93c6eb0e0c47b6f472b4a89d45 | /web/home/urls.py | f6c1eb52d83ff48da122cf768e4c2cc1af36d91e | [] | no_license | arunchaganty/webbed-feet | 0b0de344a64fe6a1d5619982d603a785d4ee02cb | d7b3d96900935d43bea97d175cb5552a1aba02d5 | refs/heads/master | 2021-01-01T06:44:59.555676 | 2011-11-28T17:17:52 | 2011-11-28T17:17:52 | 887,725 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 213 | py | from django.conf.urls.defaults import *
urlpatterns = patterns('web.home.views',
(r'^logout/$', 'logout'),
(r'^login/$', 'login'),
(r'^ping/$', 'ping'),
(r'^help/$', 'help'),
(r'', 'home'),
)
| [
"arunchaganty@gmail.com"
] | arunchaganty@gmail.com |
2b519425fc80b6a980b77f8685872dc03c6b8b2c | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03547/s895509734.py | 521f80f68c31034aaefe1ca9b2e831263c85a6bb | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 74 | py | #ABC078A
x,y = input().split()
print("<" if x<y else "=" if x==y else ">") | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
573f4c351e671916ffa5970d3e4f0805bfefe12d | 8c4a366c5dc9762e3c922b991e64c691a154ea88 | /36.py | 141e9ea9b51adc24496e1eb27e73e0aabb26772a | [] | no_license | VINITHAKO/pro | bd7fec9b46d7975c46ba0cb42d353bc10965dbdb | c1c3cd943606324f5252f46dd33edf7e180bbb48 | refs/heads/master | 2020-06-24T13:36:15.327211 | 2019-08-13T06:10:52 | 2019-08-13T06:10:52 | 198,976,260 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 227 | py | v = int(input())
n = [ int(x) for x in input().split()]
v = len(n)
s = 0
for i in range(0,v-2):
for j in range(i+1, v-1):
for k in range(j+1, v):
if n[i] > n[j] > n[k] :
s =s+ 1
print(s)
| [
"noreply@github.com"
] | VINITHAKO.noreply@github.com |
a90cf650bf1fb64fc1e55e83bc390af95dac2afa | f14bfd79d8bdcd012f21895084598d4bfe9fb9f2 | /0x03-python-data_structures/7-add_tuple.py | 4112e9aab615eb65a9654a62ed3705ceb696cbbd | [] | no_license | ch-canaza/holbertonschool-higher_level_programming | 1c62ae2e7798d79e619d8a133c3929720f317196 | 1d7402c90de37b920e163a04f196491a99d516c0 | refs/heads/master | 2023-01-18T23:06:57.738005 | 2020-11-12T21:57:53 | 2020-11-12T21:57:53 | 259,409,858 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 352 | py | #!/usr/bin/python3
def add_tuple(tuple_a=(), tuple_b=()):
len_a = len(tuple_a)
len_b = len(tuple_b)
if len_a < 2:
for i in range(2 - len_a):
tuple_a += (0,)
if len_b < 2:
for i in range(2 - len_b):
tuple_b += (0,)
a = tuple_a[0] + tuple_b[0]
b = tuple_a[1]... | [
"ch-canaza@hotmail.com"
] | ch-canaza@hotmail.com |
3f6185d27af2a0cec9d7825cae72b4a476206fe0 | 466607c14d76c8d798e08f05dde2d79a07f6e069 | /tests/databases/constructed_molecule/mongo_db/utilities.py | 48ae44f71584e4bcfa63e090dc020faf4557262b | [
"MIT"
] | permissive | andrewtarzia/stk | 7c77006bacd4d3d45838ffb3b3b4c590f1bce336 | 9242c29dd4b9eb6927c202611d1326c19d73caea | refs/heads/main | 2023-08-03T12:29:21.096641 | 2023-07-27T09:45:25 | 2023-07-27T09:45:25 | 191,198,174 | 0 | 1 | MIT | 2023-09-04T16:53:05 | 2019-06-10T15:49:25 | Python | UTF-8 | Python | false | false | 850 | py | from collections import Counter
from ...utilities import DatabaseState, get_entry
def get_database_state(database):
"""
Get the state of a :class:`.ValueMongoDb`.
Parameters
----------
database : :class:`.ValueMongoDb`
The database whose state is wanted.
Returns
-------
:cla... | [
"noreply@github.com"
] | andrewtarzia.noreply@github.com |
872a9c9f67e0dda9dbb5ded25dcc5a53ba331d4f | c0f7cc71eb5732d3b90da4f1e40c3f806f63bb29 | /python/fibermeas/exceptions.py | e4375607ef2fc9760f3570e749c674ad21f10151 | [
"BSD-3-Clause"
] | permissive | sdss/fibermeas | 6bb696ca2e46ded83baf3bc09a7b0e2024884789 | 4d29ff58a14b025cf6320ab1caef5f4bcbba394b | refs/heads/master | 2023-06-24T12:09:38.449736 | 2021-05-07T08:14:52 | 2021-05-07T08:14:52 | 329,701,571 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,887 | py | # !usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under a 3-clause BSD license.
#
# @Author: Brian Cherinka
# @Date: 2017-12-05 12:01:21
# @Last modified by: Brian Cherinka
# @Last Modified time: 2017-12-05 12:19:32
from __future__ import print_function, division, absolute_import
class FibermeasError(Ex... | [
"csayres@uw.edu"
] | csayres@uw.edu |
e1fb0821c00054365b7452d5b9ee05d208da67f2 | 6189f34eff2831e3e727cd7c5e43bc5b591adffc | /WebMirror/management/rss_parser_funcs/feed_parse_extractUnknowntranslationsCom.py | 896536aca1cc20dfe50f401116dd029e1050a31a | [
"BSD-3-Clause"
] | permissive | fake-name/ReadableWebProxy | 24603660b204a9e7965cfdd4a942ff62d7711e27 | ca2e086818433abc08c014dd06bfd22d4985ea2a | refs/heads/master | 2023-09-04T03:54:50.043051 | 2023-08-26T16:08:46 | 2023-08-26T16:08:46 | 39,611,770 | 207 | 20 | BSD-3-Clause | 2023-09-11T15:48:15 | 2015-07-24T04:30:43 | Python | UTF-8 | Python | false | false | 559 | py |
def extractUnknowntranslationsCom(item):
'''
Parser for 'unknowntranslations.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('PRC', 'PRC', 'translated'),
('Loit... | [
"something@fake-url.com"
] | something@fake-url.com |
2f78bd1f6bc462d026579f398379118dc3bdc186 | c6759b857e55991fea3ef0b465dbcee53fa38714 | /tools/nntool/nntool/importer/tflite2/tflite_schema_head/WhileOptions.py | c1ecce2b777e295124727c75a226511d952f2ee9 | [
"AGPL-3.0-or-later",
"AGPL-3.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0"
] | permissive | GreenWaves-Technologies/gap_sdk | 1b343bba97b7a5ce62a24162bd72eef5cc67e269 | 3fea306d52ee33f923f2423c5a75d9eb1c07e904 | refs/heads/master | 2023-09-01T14:38:34.270427 | 2023-08-10T09:04:44 | 2023-08-10T09:04:44 | 133,324,605 | 145 | 96 | Apache-2.0 | 2023-08-27T19:03:52 | 2018-05-14T07:50:29 | C | UTF-8 | Python | false | false | 2,169 | py | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: tflite_schema_head
import flatbuffers
from flatbuffers.compat import import_numpy
np = import_numpy()
class WhileOptions(object):
__slots__ = ['_tab']
@classmethod
def GetRootAs(cls, buf, offset=0):
n = flatbuffers... | [
"yao.zhang@greenwaves-technologies.com"
] | yao.zhang@greenwaves-technologies.com |
5fdaf863e782058cb85f3d022793642b1156ffb6 | b3b68efa404a7034f0d5a1c10b281ef721f8321a | /Scripts/simulation/statistics/trait_statistic_tracker.py | 3413320ad579da85723ab46f98b68565cc9fbddb | [
"Apache-2.0"
] | permissive | velocist/TS4CheatsInfo | 62195f3333076c148b2a59f926c9fb5202f1c6fb | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | refs/heads/main | 2023-03-08T01:57:39.879485 | 2021-02-13T21:27:38 | 2021-02-13T21:27:38 | 337,543,310 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,846 | py | # uncompyle6 version 3.7.4
# Python bytecode 3.7 (3394)
# Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]
# Embedded file name: T:\InGame\Gameplay\Scripts\Server\statistics\trait_statistic_tracker.py
# Compiled at: 2020-10-02 01:43:01
# Size of source mod 2**32:... | [
"cristina.caballero2406@gmail.com"
] | cristina.caballero2406@gmail.com |
faf1f3684f84eac1eeec3b33cdfae00169f4277a | c38b292e7bfaa95ac9a5fbf56d247403941139f4 | /ticket_details/views.py | b9fc42bf585a470a67fc1c6f572b4ab7f393d0dc | [] | no_license | poojapauskar/vzcards-api | f6a79938ee032c1da1d04b86a266d939d73b8797 | ed0185f36e274d46f978a8f670a4189571280e8b | refs/heads/master | 2020-12-29T02:38:14.288750 | 2017-08-08T12:30:51 | 2017-08-08T12:30:51 | 44,667,282 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,046 | py | from ticket_create.models import Ticket_create
from ticket_details.serializers import Ticket_detailsSerializer
from rest_framework import generics
# from ticket.permissions import IsOwnerOrReadOnly
# from rest_framework import permissions
from django.shortcuts import get_object_or_404
class Ticket_detailsDetail(gener... | [
"git.poojapauskar@gmail.com"
] | git.poojapauskar@gmail.com |
d1353c31503e6d8d403d93c3e6896c4c42bb991d | 16b81ffcb40b429bde1e9bc10e5eeddd9d2ec51f | /leetcode/largest-number.py | 0fe00afd4ba572d7756d887bcf9932bddb740397 | [] | no_license | suminb/coding-exercise | 564424b7b98ea768c57a5b7f106fd7844e8e2843 | b8b9377e7a76b498a9e6fb325743b16cbc943932 | refs/heads/master | 2023-06-16T03:01:59.009635 | 2020-05-09T11:09:25 | 2020-05-09T11:09:25 | 171,614,062 | 8 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,394 | py | # 179. Largest Number
# difficulty: medium
# https://leetcode.com/problems/largest-number/
from typing import List
import pytest
class CustomString(str):
def __gt__(self, other):
return self + other > other + self
def __lt__(self, other):
return self + other < other + self
class Solution:... | [
"suminb@gmail.com"
] | suminb@gmail.com |
f743a0d111f8b3360e91aaf494b4103c4ca98714 | bef35774ebe121d9657a3d513a21073b8086b331 | /advanced-algorithms/greedy-algorithm/min_operations.py | 542e345b8a1ad9a2798e2bfebe31f3c693f476b0 | [] | no_license | greatertomi/Python-Algorithms-DataStructure | dab0097ec8a450dfddc47e3153359e6fcd873225 | a0ad6aa78086ba39e6f100ac551ddadb9433f724 | refs/heads/master | 2022-04-14T10:52:32.986333 | 2020-04-17T16:04:22 | 2020-04-17T16:04:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 243 | py | def min_operations(target):
steps = 0
while target != 0:
while target/2 == target//2:
target = target // 2
steps += 1
target -= 1
steps += 1
return steps
print(min_operations(18))
| [
"oshalusijohn@gmail.com"
] | oshalusijohn@gmail.com |
949bdd33912dec9468f0c4e0d06933263a1fd57f | 27789165f2d33a6cdc75387589c685bb4a5108d0 | /browse/motif_report.py | fba179d699171580442df54077dfddff6db5e1e6 | [] | no_license | poneill/collecTF | 61006e7616ea6593677a14f1ee3b57ff4b337c6b | 435f3da67cbb78b7ee0499e80bd52793b231a563 | refs/heads/master | 2021-01-18T05:17:10.901697 | 2014-05-29T22:56:45 | 2014-05-29T22:56:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,003 | py | """
This file contains the class implementation for reports. A MotifReport object is
constructed from a collection of curation-site-instance objects that have the
same TF and species. For some uses of MotifReport class, all
curation-site-instance objects have to have exactly the same TF-instances
objects, but in other ... | [
"sefakilic@gmail.com"
] | sefakilic@gmail.com |
8e8be09d2a84c32daac3f5af9233b2981859a259 | 3b9bf497cd29cea9c24462e0411fa8adbfa6ba60 | /placement-test/pt-test-2/Kangaroo.py | 9915efe82926333e63f3e269d4b28590f33cbaa9 | [] | no_license | niteesh2268/coding-prepation | 918823cb7f4965bec096ec476c639a06a9dd9692 | 19be0766f6b9c298fb32754f66416f79567843c1 | refs/heads/master | 2023-01-02T05:30:59.662890 | 2020-10-17T13:12:34 | 2020-10-17T13:12:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 550 | py | #!/bin/python3
import math
import os
import random
import re
import sys
# Complete the kangaroo function below.
def kangaroo(x1, v1, x2, v2):
if v2 >= v1:
return 'NO'
if (x2-x1)%(v1-v2) == 0:
return 'YES'
return 'NO'
if __name__ == '__main__':
fptr = open(os.environ['OUTPUT_PATH'], 'w'... | [
"akualajayaprakash@gmailcom"
] | akualajayaprakash@gmailcom |
6fe75c8f5b323d1035afb99283468de94ec63bc8 | 4a81f78adf1a1adfc7bb1d19e42171cc856b2ccc | /bin/sqlformat | aebd25c96ed652302ce3c726c885c87b9c66a703 | [] | no_license | Prones94/Music_Site | af910c18c442b802971bc0a624891860266d8f85 | 924bffbc2a935217e84292e682c06fe1e83bb018 | refs/heads/master | 2022-04-21T02:33:41.006384 | 2020-04-21T22:38:15 | 2020-04-21T22:38:15 | 256,361,521 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 269 | #!/Users/admin/Desktop/MAKE/BEW/BEW-1.2/Music/music_site/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from sqlparse.__main__ import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"ronesp.85@gmail.com"
] | ronesp.85@gmail.com | |
3a71509d0c18293aa9c9a0b17eaa0b048bc7c70a | 19a974c502ba48eb6e47a3dceeef90afacc1c9d0 | /pi/.pycharm_helpers/python_stubs/-1965838824/_lsprof.py | 0705bbfcb10220a688091160aa3aba261e28f944 | [] | no_license | DiderickM/TheoDisplay | 357541c9a35fa15c8c7360f3f10aa67499bc6872 | d126237e2fb6054c8055d934136731328e0eda48 | refs/heads/main | 2022-12-26T19:21:35.766225 | 2020-10-06T20:49:19 | 2020-10-06T20:49:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,496 | py | # encoding: utf-8
# module _lsprof
# from /usr/lib/python2.7/lib-dynload/_lsprof.arm-linux-gnueabihf.so
# by generator 1.145
""" Fast profiler """
# no imports
# no functions
# classes
class Profiler(object):
"""
Profiler(custom_timer=None, time_unit=None, subcalls=True, builtins=True)
Builds a p... | [
"diderick@live.nl"
] | diderick@live.nl |
abf65c1f1b69d082fe55861689026c4a2695eae2 | 5a514c289084b358c658590f2e2599aea4e4e0a8 | /lib/engine/engine.py | ae0a01f5e1e06f6ca173a7444aeed05615dae022 | [] | no_license | gladiopeace/Tentacle | 602d51015d25f71e331a27ccf07270567d4b4a0e | 7b32937496415b77aec35a10551a4ff33863a829 | refs/heads/master | 2023-08-22T13:45:34.700076 | 2021-10-21T08:39:24 | 2021-10-21T08:39:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,293 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @author = 'orleven'
import os
import time
import asyncio
import traceback
import async_timeout
from typing import AsyncIterable
from typing import Iterable
from typing import Union
from lib.core.data import logger
from lib.core.data import paths
from lib.core.async_pool ... | [
"546577246@qq.com"
] | 546577246@qq.com |
d4209a045d8c2874fb783624e9d57859a3f90d01 | febb7a4b889c2f40637e2b688eb770cf0809226f | /fython/test/instruction/iruc_test.py | 4bd165906959e2adc6c9080adb1c9ba8161931ea | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nicolasessisbreton/fython | 68253552c626640b5efc2a7cea9384c8e0425c08 | 988f5a94cee8b16b0000501a22239195c73424a1 | refs/heads/master | 2021-01-10T07:10:06.793158 | 2017-08-25T17:27:05 | 2017-08-25T17:27:05 | 50,076,320 | 48 | 3 | null | 2016-08-21T17:16:12 | 2016-01-21T02:30:31 | Python | UTF-8 | Python | false | false | 225 | py | s = r"""
.a.fy
int dimension(10) target x
int dimension(:) pointer y
y => x[3:5]
"""
from fython.test import *
writer(s)
w = load('.a', force=1, release=1, verbose=0)
# print(open(w.module.url.fortran_path, 'r').read())
| [
"contact@nicolasessisbreton.com"
] | contact@nicolasessisbreton.com |
f957ccaad9c4850b8a815994ef49492ba8f5b299 | 54f826d6103263e3983d1861ff902c62deb59916 | /cart/admin.py | 17023013cabe0fe5be3f2b25a5ad0d8d4e551005 | [] | no_license | arumjin/gt-qlik | e37582ae7d3f0ee1d4da0319459f92b588b1beb4 | 9cf859a669b2302f5430972528275fecdce70926 | refs/heads/master | 2022-11-08T18:57:35.386732 | 2020-06-30T00:55:15 | 2020-06-30T00:55:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 355 | py | from django.contrib import admin
from .models import CartItem,Cart
# Register your models here.
class CartItemAdmin(admin.ModelAdmin):
list_display = (
'chart',
'cart'
)
admin.site.register(CartItem,CartItemAdmin)
class CartAdmin(admin.ModelAdmin):
list_display = (
'user',
)
a... | [
"tlfgjawlq@naver.com"
] | tlfgjawlq@naver.com |
97a7a1b661d847598f5ef105388d61266babb110 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/441/usersdata/311/109834/submittedfiles/lista1.py | 9c83a6d93621cba2175ab70f2088ceea4fd25712 | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 157 | py | # -*- coding: utf-8 -*-
n=int(input('Digite a quantidade de numeros: '))
a=[]
for i in range(n):
a.append(int(input('Digite o numero%d:' %(i+1))))
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
362467cd5e32cd4dcb90e29eaca44d0b17706341 | 3b030444b2d1d9d57197ccba41387b447114b210 | /config.py | fb716512cf2763712c551c3b4015a4743de47d8e | [] | no_license | popfido/PairCNN-Ranking | ec85e45ef54f05a6b1778297cd316b2fa8a23a90 | b29bbe774888e154a8bad5dafa67ec24aba33256 | refs/heads/master | 2020-03-09T10:21:58.509310 | 2018-04-09T09:27:02 | 2018-04-09T09:27:02 | 128,735,443 | 14 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,261 | py | # coding:utf8
import warnings
class DefaultConfig(object):
env = 'default' # visdom 环境
model = 'PairCNN' # 使用的模型,名字必须与models/__init__.py中的名字一致
train_dir = './'
train_data_root = './data/train/' # 训练集存放路径
validate_data_root = './data/validate' # 验证集存放路径
test_data_root = './data/test/' # 测... | [
"wanghailin317@gmail.com"
] | wanghailin317@gmail.com |
f4c3288cf1c1417cd9ed9515fb2741abe00f3bb9 | 07b4dd9a88f3404c4851ea7cbb57c67035bc9a54 | /eric.py | b4e8a8f25539f10b194515115cc8fd428448ebe5 | [] | no_license | surajgholap/python-Misc | 9c9d02c42bb37b7378d7336343f8bef7cd802edf | 4a8ce4bfa5a959692d98663b7b5c0b67a165835f | refs/heads/master | 2021-06-17T19:19:25.021038 | 2021-01-27T20:54:03 | 2021-01-27T20:54:03 | 142,781,295 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,012 | py | from collections import Counter
import requests
def top_five(corpus):
count_map = {}
for i in corpus:
try:
count_map[i] += 1
except:
count_map[i] = 1
# words = corpus.split()
# counter = Counter(words)
# most_fav = counter.most_common(5)
# for i in mos... | [
"surajgholap27@gmail.com"
] | surajgholap27@gmail.com |
f56acf97b9abbc3b137bf4f924ed3ee07b7c5424 | 9adc810b07f7172a7d0341f0b38088b4f5829cf4 | /experiments/vitchyr/disentanglement/n_object_pnp/exp_5_on_random_object_init.py | c4a5e28964dd857af355d261e18481bdc3671f3c | [
"MIT"
] | permissive | Asap7772/railrl_evalsawyer | 7ee9358b5277b9ddf2468f0c6d28beb92a5a0879 | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | refs/heads/main | 2023-05-29T10:00:50.126508 | 2021-06-18T03:08:12 | 2021-06-18T03:08:12 | 375,810,557 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,317 | py | import rlkit.misc.hyperparameter as hyp
from rlkit.launchers.experiments.disentanglement.contextual_encoder_distance_launcher import (
encoder_goal_conditioned_sac_experiment
)
from rlkit.launchers.launcher_util import run_experiment
if __name__ == "__main__":
variant = dict(
env_id='OneObjectPickAndPl... | [
"alexanderkhazatsky@gmail.com"
] | alexanderkhazatsky@gmail.com |
2c797dce206728933f0809dc69e3834e9b33077d | 3c000380cbb7e8deb6abf9c6f3e29e8e89784830 | /venv/Lib/site-packages/cobra/modelimpl/span/ldestination.py | 9a6afadcebc410e9ab61d574a95437569b884b82 | [] | 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 | 9,545 | 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 |
e871199a0c8a30d8eeef55c5dcd37eb21f00c5ad | 404378e736e3b9c8b22cedda872af2da7562b58d | /Class Project/ClassProject_SenWang 2/FiPy-3.1.3/fipy/variables/distanceVariable.py | 99aec464772849bedb2044fc2604c1479e4df37f | [
"LicenseRef-scancode-public-domain"
] | permissive | wangsen992/bayesian-surrogate-modeling-coursework | d6d13b8fb457bc685d9fe51ef30c14c9cd3539b9 | 7abe9e6c5761b27ac99960fb2e4b98f4dda746eb | refs/heads/master | 2020-09-09T23:15:20.088030 | 2019-11-14T02:29:07 | 2019-11-14T02:29:07 | 221,593,138 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 22,920 | py | #!/usr/bin/env python
## -*-Pyth-*-
# ###################################################################
# FiPy - Python-based finite volume PDE solver
#
# FILE: "distanceVariable.py"
#
# Author: Jonathan Guyer <guyer@nist.gov>
# Author: Daniel Wheeler <daniel.wheeler@nist.gov>
# Author: James Warren ... | [
"wangsen992@gmail.com"
] | wangsen992@gmail.com |
b44857c46d895f4857faeac4e3deb4dff8e60872 | c7a1406b2230acaf412542124ef744c83171fa9a | /perdiem/campaign/apps.py | d14c5e8fe339d634cbe6cded1f0c73ad9cefa0c4 | [] | no_license | GilbertRoy/perdiem-django | de2f1351088597fb2b5e739388f28ff346e5e824 | 3d1f00b21a28f71cb89e49986d07b893e5abe1d9 | refs/heads/master | 2020-03-14T03:30:21.445845 | 2018-04-21T21:44:20 | 2018-04-21T21:44:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 146 | py | from django.apps import AppConfig
class CampaignConfig(AppConfig):
name = 'campaign'
def ready(self):
import campaign.signals
| [
"lucas.revolutiontech@gmail.com"
] | lucas.revolutiontech@gmail.com |
e4e396bdb9c9ff1453ea79cb8ca39725235f75db | 8e1f493ce9fc34b42637bc7d69560aab20c384a3 | /simple_filter/scripts/simple_kalman.py | 7f10fadc9c8eb8b01238b66e7502fb534f4f3abd | [] | no_license | AmyPhung/comprobo20 | 6f980a82174b3938527fb5939cdd539420aaff42 | 2eff4918275542d2d28828df97c8100d2391cfb0 | refs/heads/master | 2023-04-28T21:49:52.085491 | 2021-05-17T22:27:14 | 2021-05-17T22:27:14 | 290,074,022 | 0 | 0 | null | 2020-08-25T00:47:21 | 2020-08-25T00:47:21 | null | UTF-8 | Python | false | false | 4,471 | py | #!/usr/bin/env python3
"""
This script implements a Kalman filter for the system:
x_0 ~ N(0, sigma_sq)
x_t = x_{t-1} + w_t, w_t ~ N(0, sigma_m_sq)
z_t = x_t + v_t, v_t ~ N(0, sigma_z_sq)
"""
import matplotlib.pyplot as plt
import rospy
from numpy import arange
from numpy.random import randn
from math... | [
"paullundyruvolo@gmail.com"
] | paullundyruvolo@gmail.com |
77d284e2b345dc9df82af95355126cbf386ca2fd | a74a0317d8b8e1cf5135cbd0821617f70c8879ca | /old/python_resume/file.py | a0b117dbafe07691e133591f387574ae6e1beeb9 | [] | no_license | chuck1/python-resume | cbd3c0eb2fe3d0894b3809a2ac1526d171d6afc2 | 5b83fa831525faba17f72173cfff9c2155bd21fc | refs/heads/master | 2021-01-10T19:14:08.036676 | 2017-01-04T01:23:03 | 2017-01-04T01:23:03 | 42,127,786 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,042 | py | import os
import json
class Manager(object):
def __init__(self, root):
self.root = root
def get_path(self, filename):
return os.path.join(self.root, filename)
def read_text(self, filename):
path = self.get_path(filename)
with open(path, 'r') as f:
text... | [
"charlesrymal@gmail.com"
] | charlesrymal@gmail.com |
ce72b7bb239177efb435d6cc7d06c93e1377518a | 3fa8eead6e001c4d5a6dc5b1fd4c7b01d7693292 | /ros _navigation_in_5_days/src/initialize_particles/scripts/init_particles_caller.py | e82c4f46632c1080b34ac406afdbf5a7b7ed4ca5 | [] | no_license | MarzanShuvo/Ros_from_the_construct | 09261902841cdd832672658947790ec5fbba4cd3 | 4798234284d9d0bab3751e9d8ac2df95ae34a5bf | refs/heads/master | 2023-08-24T17:28:09.182113 | 2021-10-23T07:57:02 | 2021-10-23T07:57:02 | 339,105,075 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 329 | py | #! /usr/bin/env python
import rospy
from std_srvs.srv import Empty, EmptyRequest
import sys
rospy.init_node('service_client')
rospy.wait_for_service('/global_localization')
disperse_particles_service = rospy.ServiceProxy('/global_localization', Empty)
msg = EmptyRequest()
result = disperse_particles_service(msg)
prin... | [
"marzanalam3@gmail.com"
] | marzanalam3@gmail.com |
a50e4c86ed9764db44777c7fcb47ec51f6780d04 | 6b2dcf691bc7f019d86270ec0588f5232fc3e2b0 | /inflearn_practice/section7/최대점수 구하기.py | e8be936e34aa64f6cf45a818cae04129b1c64022 | [] | no_license | limgeonho/Algorithm | 02c55fbf5b09b718dbc2aee83a887143d121ddaf | 3d4d1ccd6ee3c52dc36ac3cf5f681690fcfdb6ab | refs/heads/master | 2023-06-01T21:05:00.100998 | 2021-06-21T15:04:26 | 2021-06-21T15:04:26 | 371,552,176 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 494 | py | #최대점수 구하기
#다음문제를 푸는 지 풀지 않는지에 대한 선택(O, X)문제
def DFS(L, time, sum):
global res
if time > m:
return
if L == n:
if sum > res:
res = sum
else:
DFS(L+1, time + t[L], sum + v[L])
DFS(L+1, time, sum)
n, m = map(int, input().split())
v= list()
t = list()
for _ in r... | [
"ghlim909@gmail.com"
] | ghlim909@gmail.com |
a2ba4afc7c10c24b24bd646ab7250dcd81777313 | 0d9dd4ac458ac954e453e6f7810ca5e1c759f82d | /list | fb6c972de61fce49941283ab222a8e272a50cc63 | [
"MIT"
] | permissive | ovkulkarni/create-repo | 9335307481686c8109baae7d88cd819dd7ca0cb6 | 0073cd761106e0c5453429204e8da56ba249eb1d | refs/heads/master | 2021-01-10T05:20:54.898788 | 2016-03-30T14:14:03 | 2016-03-30T14:15:06 | 53,800,960 | 0 | 1 | null | 2016-03-14T02:44:39 | 2016-03-13T18:35:40 | Python | UTF-8 | Python | false | false | 3,590 | #!/usr/bin/env python3
######################################################################################
# #
#The MIT License (MIT) #
# ... | [
"2019okulkarn@tjhsst.edu"
] | 2019okulkarn@tjhsst.edu | |
2e3a3c24699f253c7671d55206bcd6aa7151e478 | 5522054c40e9a35b68351bfa546c2e9fffd01340 | /mobileoperators/settings.py | 9fc9e98b471b6627856ba177fb3dccefadbf3c3f | [] | no_license | thepylot/Mobile-Networks-App | 6ee36243c4861063da8b1c086fc0db882a27cb09 | 4893b810b697e399564e1fb1bb6f738b61950b76 | refs/heads/master | 2021-11-27T14:22:13.843167 | 2019-02-08T10:37:25 | 2019-02-08T10:37:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,330 | py | """
Django settings for mobileoperators project.
Generated by 'django-admin startproject' using Django 2.1.5.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.1/ref/settings/
"""
impo... | [
"charliescene512@gmail.com"
] | charliescene512@gmail.com |
690bf90029924555962d2aa02c4d1d296434d857 | 4bf53a42b336e67ce75e220dc87f75af9911f036 | /tapiriik/urls.py | 4ced6e6a50e2b58565261db7601a7cafecb0b985 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | patricksan/tapiriik | 5cee925d256f5e2b23397487ef807b5766b710ba | 1628f8759c9e2d0562b92dd25561a347389f6cf3 | refs/heads/master | 2020-12-11T08:07:10.991800 | 2018-02-27T13:14:59 | 2018-02-27T13:14:59 | 38,956,416 | 0 | 0 | Apache-2.0 | 2018-02-27T13:15:00 | 2015-07-12T09:22:01 | Python | UTF-8 | Python | false | false | 7,197 | py | from django.conf.urls import patterns, include, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.views.generic import TemplateView
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns('',
ur... | [
"cpf@cpfx.ca"
] | cpf@cpfx.ca |
09da270e1e2c06a0e560ef30f7fadd91ddaec7e6 | 5330918e825f8d373d3907962ba28215182389c3 | /CMGTools/ZJetsTutorial/python/samples/run2012/diboson.py | b5453eedeeb69a296e71f73508c838dda097261d | [] | no_license | perrozzi/cmg-cmssw | 31103a7179222c7aa94f65e83d090a5cf2748e27 | 1f4cfd936da3a6ca78f25959a41620925c4907ca | refs/heads/CMG_PAT_V5_18_from-CMSSW_5_3_22 | 2021-01-16T23:15:58.556441 | 2017-05-11T22:43:15 | 2017-05-11T22:43:15 | 13,272,641 | 1 | 0 | null | 2017-05-11T22:43:16 | 2013-10-02T14:05:21 | C++ | UTF-8 | Python | false | false | 2,913 | py | import CMGTools.RootTools.fwlite.Config as cfg
# exclusive madgraph samples
# -- -- -- -- -- -- -- --
WWJetsTo2L2Nu = cfg.MCComponent(
name = 'WWJetsTo2L2Nu',
files = [],
xSection = 5.824, #PG from twiki: https://twiki.cern.ch/twiki/bin/viewauth/CMS/HiggsToTauTauWorkingSummer2012#MC_samples_and_cross_sec... | [
"colin.bernet@cern.ch"
] | colin.bernet@cern.ch |
dd539c83e1d88b90fd293cba625a36db7451ac85 | add74ecbd87c711f1e10898f87ffd31bb39cc5d6 | /xcp2k/new-cp2k.py | 11ac45a17e0441860ee71dfff7ef01d83976f612 | [] | no_license | superstar54/xcp2k | 82071e29613ccf58fc14e684154bb9392d00458b | e8afae2ccb4b777ddd3731fe99f451b56d416a83 | refs/heads/master | 2021-11-11T21:17:30.292500 | 2021-11-06T06:31:20 | 2021-11-06T06:31:20 | 62,589,715 | 8 | 2 | null | null | null | null | UTF-8 | Python | false | false | 25,853 | py | # -*- coding: utf-8 -*-
from __future__ import print_function
"""This module defines an ASE interface to CP2K.
Developed on the basis of
1) pycp2k by Singroup
https://github.com/SINGROUP/pycp2k
2) ase.calculator.cp2k by Ole Schuett
https://gitlab.com/ase/ase/blob/master/ase/calculators/cp2k.py
3) jasp by Joh... | [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
341f3d6642671fb82aeba75ca4bc26459d43bd1f | f1593773b199c435114b316348b81126aa212cd6 | /web_flask/6-number_odd_or_even.py | 55e21f462a589f3a87e7aec051ee81b1abdeeef8 | [] | no_license | ledbagholberton/AirBnB_clone_v2 | 0f0f0889ed7fac9767e45b7fc17eafc388469738 | 8fefc58e76184fcfe86ec16dde1791fd8ff4777f | refs/heads/master | 2020-07-07T02:20:17.093914 | 2019-09-10T06:13:44 | 2019-09-10T06:13:44 | 203,214,786 | 0 | 0 | null | 2019-08-19T17:01:24 | 2019-08-19T17:01:24 | null | UTF-8 | Python | false | false | 1,942 | py | #!/usr/bin/python3
""" start a Flask Web application
"""
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/', strict_slashes=False)
def hello_hbnb():
""" Print Hello HBNB """
return 'Hello HBNB!'
@app.route('/hbnb', strict_slashes=False)
def only_hbnb():
""" Print HBNB """
... | [
"789@holbertonschool.com"
] | 789@holbertonschool.com |
bffd4513031c134591a90b558e1174567f6690bc | 3155c38585c5d1cf27c4d8065cb5821f5b980983 | /package/awesome_panel/database/settings.py | 0c78182ac946b4d7c64acbe8293eb5400c0aa261 | [
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | jlstevens/awesome-panel | 460c86ac886a86fa1a3f6ec79b6186f292ca10bc | c67b0f4529a3ce6a8517648f49fef8358e2e2c8b | refs/heads/master | 2020-11-25T03:11:10.018557 | 2019-12-16T20:57:07 | 2019-12-16T20:57:07 | 228,474,317 | 0 | 0 | Apache-2.0 | 2019-12-16T20:55:56 | 2019-12-16T20:55:55 | null | UTF-8 | Python | false | false | 459 | py | """In this module we provide a list of settings"""
GITHUB_URL = "https://github.com/MarcSkovMadsen/awesome-panel/"
GITHUB_BLOB_MASTER_URL = "https://github.com/MarcSkovMadsen/awesome-panel/blob/master/"
GITHUB_RAW_URL = "https://raw.githubusercontent.com/MarcSkovMadsen/awesome-panel/master/"
GITHUB_THUMBNAILS_URL = (
... | [
"MASMA@orsted.dk"
] | MASMA@orsted.dk |
2441cabae99ae34d4d6dd1b980b760e07462a3ee | bee9a140f51f85c612f4e869747aae3d155188c5 | /src/main/python/systemds/operator/algorithm/builtin/l2svm.py | cd7db9e4dc52e3b06e2141612f7bb57105b73816 | [
"Apache-2.0"
] | permissive | clarapueyoballarin/systemds | cb64a494afd14da142269c788c76edb236d8b755 | a68a71ddb089ebdd52e8f316a03bda281f4532ba | refs/heads/master | 2023-05-22T16:39:04.409220 | 2021-06-17T16:14:15 | 2021-06-17T16:14:15 | 341,305,828 | 0 | 1 | Apache-2.0 | 2021-02-24T22:51:31 | 2021-02-22T18:59:49 | Java | UTF-8 | Python | false | false | 2,344 | 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 unde... | [
"baunsgaard@tugraz.at"
] | baunsgaard@tugraz.at |
499ca439f8deb4c3c382d1c47c6df47873853d24 | e4de060c295fba0d0386d0a7678e744ced18b920 | /build/car_szenario/cmake/car_szenario-genmsg-context.py | 309534aaf9d5f6c3f170188f065ab4b9cae655ff | [] | no_license | jbenzhhn/carla_hhn | af9497d01ce1f34ee0016ca660a0cc5af5f71be8 | abd803bcdd506641c8152ec994468518ea809f1b | refs/heads/master | 2023-04-05T10:50:28.934452 | 2021-04-07T14:31:41 | 2021-04-07T14:31:41 | 355,151,500 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 788 | py | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/automotive/catkin_ws/src/car_szenario/msg/RoadInfo.msg"
services_str = ""
pkg_name = "car_szenario"
dependencies_str = "std_msgs;geometry_msgs;nav_msgs"
langs = "gencpp;geneus;genlisp;gennodejs;genpy"
dep_include_paths_str = "car_szenario;/home/... | [
"johannes.benz@hs-heilbronn.de"
] | johannes.benz@hs-heilbronn.de |
f78c251f5afd3689e2c6083e1fc40349ec45fb72 | 3fa4aedf320396c3d780ba3cd3c4760ac007ee30 | /nba_api/stats/endpoints/boxscoremiscv2.py | 9a949ea6e5741e796fda0f6a041829728481a016 | [
"MIT"
] | permissive | Fragadule/nba_api | fb4adfe14d355223838df80aa52ab68d2be3c492 | 9df8ba11ade56a1f6b4ff0791adc276052a286c6 | refs/heads/master | 2020-04-13T19:51:43.835155 | 2018-12-28T13:41:47 | 2018-12-28T13:41:47 | 163,414,364 | 0 | 0 | MIT | 2018-12-28T13:37:28 | 2018-12-28T13:37:28 | null | UTF-8 | Python | false | false | 1,841 | py | from nba_api.stats.endpoints._base import Endpoint
from nba_api.stats.library.http import NBAStatsHTTP
from nba_api.stats.library.parameters import EndPeriod, EndRange, RangeType, StartPeriod, StartRange
class BoxScoreMiscV2(Endpoint):
endpoint = 'boxscoremiscv2'
expected_data = {'sqlPlayersMisc': ['GAME_ID',... | [
"swarchon@gmail.com"
] | swarchon@gmail.com |
9e576c530de7906567dbe5b9d96b25f93accd231 | cf8be80fe9d7acfae03d86430d1c8ff8d22a8655 | /ribosome/components/internal/mapping.py | 3f86df4834cd10bddda137ef16920a9828206e20 | [
"MIT"
] | permissive | tek/ribosome-py | 4da2faf3f7c2d646c5a90bf73e81ec12bd360d38 | 8bd22e549ddff1ee893d6e3a0bfba123a09e96c6 | refs/heads/master | 2022-12-21T22:46:49.075358 | 2020-08-31T16:22:51 | 2020-08-31T16:22:51 | 66,086,253 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,570 | py | from typing import Callable
from amino import do, curried, Do, __, _, Either
from amino.lenses.lens import lens
from amino.logging import module_log
from ribosome.nvim.io.state import NS
from ribosome.data.plugin_state import PluginState
from ribosome.nvim.io.compute import NvimIO
from ribosome.compute.program import... | [
"torstenschmits@gmail.com"
] | torstenschmits@gmail.com |
73faa7aa222e5a2139a1e51d55fc948bf578dafc | 059a61afa19361fe2dd3509cda7924a3eb74b8e0 | /bookmanager/book/models.py | 4dab062e1015fd45c479fdd1df213fcc75dbe06f | [
"MIT"
] | permissive | songaiwen/Django2 | bf3628b7dcd1c28b65644ecfb4442091fdf54991 | 685e41a7f90e4d245f361f8fb78992aebd422978 | refs/heads/master | 2020-03-19T17:54:17.669938 | 2018-06-19T01:38:43 | 2018-06-19T01:38:43 | 136,783,715 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 705 | py | from django.db import models
"""
create your models here
定义模型类
模型迁移
操作数据库
"""
#1.定义模型需要集成model.Model
#准备书籍列表信息的模型类
class BookInfo(models.Model):
#创建字段,字段类型,自动创建主键并自动增长
name = models.CharField(max_length=20)
def __str__(self):
#将模型类以字符串的方式输出
return self.name
#准备人物列表信息的模型类
class PeopleInfo(... | [
"576883213@qq.com"
] | 576883213@qq.com |
b9679f711689aefe75d559577c6463c81f3bf6a7 | ccbfc7818c0b75929a1dfae41dc061d5e0b78519 | /aliyun-openapi-python-sdk-master/aliyun-python-sdk-chatbot/aliyunsdkchatbot/request/v20171011/CreateCategoryRequest.py | 81f144f15ac24e87bc0a3e60b668be68a5c5c461 | [
"Apache-2.0"
] | permissive | P79N6A/dysms_python | 44b634ffb2856b81d5f79f65889bfd5232a9b546 | f44877b35817e103eed469a637813efffa1be3e4 | refs/heads/master | 2020-04-28T15:25:00.368913 | 2019-03-13T07:52:34 | 2019-03-13T07:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,311 | 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... | [
"1478458905@qq.com"
] | 1478458905@qq.com |
45bf5ef9b36c9ae30464888f0e2bd5c5942bd3b6 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/contrib/training/python/training/sequence_queueing_state_saver_test.py | 78d7c44ef28e450af4715332642d6a448fb9e068 | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | Python | false | false | 28,300 | py | # Copyright 2016 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... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
1a6f968edf5fdb4c61c2389a23c364c8b3fffc69 | c11c337d4f2a609326fe8545c70dafb918ad8110 | /maintenance/mtrack/scripts.py | 757f45ca27e71c689cf94262e0725a2cd3a0d47e | [
"MIT",
"BSD-2-Clause"
] | permissive | summertriangle-dev/arposandra | 7b7f62b63cebe07c6b3b24321a0d01623dfed2b3 | d4fcbec32e86a96c7d810d3d146695eb0b384889 | refs/heads/master | 2023-07-25T02:55:37.534890 | 2023-07-07T01:05:12 | 2023-07-07T01:18:02 | 213,795,406 | 19 | 4 | NOASSERTION | 2023-03-04T05:48:36 | 2019-10-09T01:48:47 | Python | UTF-8 | Python | false | false | 3,905 | py | # TODO: I haven't looked very carefully at optimizing these queries.
# May want to come back after a couple years and see how they're doing.
# We sort based on latest release.
def update_set_sort_table():
return f"""
INSERT INTO card_p_set_index_v2__sort_dates
(SELECT representative, server_id,... | [
"summertriangle.dev@gmail.com"
] | summertriangle.dev@gmail.com |
7c66f962600a93eac899ce8e78b47514877212f8 | 0cc4eb3cb54f8394c127ace62d3108fdb5230c85 | /.spack-env/view/lib/python3.7/site-packages/numpy/core/_add_newdocs.py | aa3210020cc4228d0e9d702b9be0b9074a6b7b7f | [] | no_license | jacobmerson/spack-develop-env | 5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8 | 5fca20ca343b1a76f05fc635c87f94ed25417d94 | refs/heads/master | 2022-07-04T02:22:50.264727 | 2020-05-06T05:13:50 | 2020-05-06T05:13:50 | 261,657,112 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 167 | py | /lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-numpy-1.18.3-c5tvrr2q5vwgtvc6f3ld57v6y4ahvr2h/lib/python3.7/site-packages/numpy/core/_add_newdocs.py | [
"mersoj@rpi.edu"
] | mersoj@rpi.edu |
8e547b29dfdd757e9da010a8fcb2e0a74ff18ac0 | 50948d4cb10dcb1cc9bc0355918478fb2841322a | /azure-mgmt-web/azure/mgmt/web/models/hosting_environment_profile.py | de68d8bc558ed823419c5846beb0d775e9a116d2 | [
"MIT"
] | permissive | xiafu-msft/azure-sdk-for-python | de9cd680b39962702b629a8e94726bb4ab261594 | 4d9560cfd519ee60667f3cc2f5295a58c18625db | refs/heads/master | 2023-08-12T20:36:24.284497 | 2019-05-22T00:55:16 | 2019-05-22T00:55:16 | 187,986,993 | 1 | 0 | MIT | 2020-10-02T01:17:02 | 2019-05-22T07:33:46 | Python | UTF-8 | Python | false | false | 1,438 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | [
"lmazuel@microsoft.com"
] | lmazuel@microsoft.com |
e8d197368d8a83bbf36c5e39a424a7e7a44b5b7c | 632dcb4e37cadd87cb7ff8715b0048df5cd0d11b | /CompuCell3D/core/Demos/SBMLSolverExamples/SBMLSolverAntimony/SBMLSolverAntimony2/Simulation/SBMLSolverAntimony2Steppables.py | 007262772d5e9b8242557c617ed99a115ce20b47 | [
"MIT"
] | permissive | CompuCell3D/CompuCell3D | df638e3bdc96f84b273978fb479842d071de4a83 | 65a65eaa693a6d2b3aab303f9b41e71819f4eed4 | refs/heads/master | 2023-08-26T05:22:52.183485 | 2023-08-19T17:13:19 | 2023-08-19T17:13:19 | 12,253,945 | 51 | 41 | null | 2023-08-27T16:36:14 | 2013-08-20T20:53:07 | C++ | UTF-8 | Python | false | false | 4,920 | py | from cc3d.core.PySteppables import *
class SBMLSolverSteppable(SteppableBasePy):
def __init__(self, frequency=1):
SteppableBasePy.__init__(self, frequency)
def start(self):
# Antimony model string: cell type 1
model_string_type1 = """model type1()
# Model
S1 => S2; k1... | [
"maciekswat@gmail.com"
] | maciekswat@gmail.com |
d09732d24ed5c663b058fda1ea1a9f991a6ba5c1 | f07a42f652f46106dee4749277d41c302e2b7406 | /Data Set/bug-fixing-5/5823ce64bfec97cdfa0a781253795a6945d469f3-<diff>-bug.py | a06396edf7b6ec24911dd1c5288c295e62b8976d | [] | no_license | wsgan001/PyFPattern | e0fe06341cc5d51b3ad0fe29b84098d140ed54d1 | cc347e32745f99c0cd95e79a18ddacc4574d7faa | refs/heads/main | 2023-08-25T23:48:26.112133 | 2021-10-23T14:11:22 | 2021-10-23T14:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,470 | py | @set_module('mxnet.symbol.numpy')
def diff(a, n=1, axis=(- 1), prepend=None, append=None):
'\n Calculate the n-th discrete difference along the given axis.\n\n Parameters\n ----------\n a : ndarray\n Input array\n n : int, optional\n The number of times values are differenced. If zero, ... | [
"dg1732004@smail.nju.edu.cn"
] | dg1732004@smail.nju.edu.cn |
95d5c5cadc9fb00f3c1f71d28ec0233c15f404b7 | 5a1e1756025bacae88b619d388ebf61b330001ab | /1.Class/Language_Python-master/Language_Python-master/LC4_HW3.py | 7acbc1e8e531e1ec64cb6af03598dee0507db0cb | [] | no_license | reshmaladi/Python | d1953497703aa15e163cd8ac27be23e3e5c3e947 | 8e9092af63476fef35d221e20acf418983957e53 | refs/heads/master | 2021-10-15T00:55:08.136039 | 2021-10-01T14:32:16 | 2021-10-01T14:32:16 | 165,836,823 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 128 | py | x = input("Enter a 1st string \t")
y = input("Enter a 2nd string \t")
print("Swap : \n" + y[0:2] +x[2:] + "\n" + x[0:2] + y[2:]) | [
"reshma.ladi@gmail.com"
] | reshma.ladi@gmail.com |
765503c6c7b8f463814da29afd3332f8f03d5e40 | a053d60e2c84750cf1c51142bfdf6dec5048bf25 | /demo.py | 4cfc291b204313593868375ac5df2099451fc16d | [] | no_license | Sharpiless/paddlex-driver-state-recognition | ed57e58bebcdccc19302dcb49e950dd66be9ed45 | 81f81f72e9b893c8adca8f9aaba3615dc7aff7c7 | refs/heads/master | 2023-03-18T23:02:15.255664 | 2020-06-02T15:42:38 | 2020-06-02T15:42:38 | 268,839,488 | 2 | 3 | null | 2021-03-07T13:43:21 | 2020-06-02T15:32:52 | Java | UTF-8 | Python | false | false | 1,480 | py | import matplotlib
import paddlex as pdx
import paddle.fluid as fluid
import numpy as np
import cv2
import os
import matplotlib.pyplot as plt
from PIL import ImageFont
from PIL import Image
from PIL import ImageDraw
from facedet import FaceDet
fontC = ImageFont.truetype('./platech.ttf', 20, 0)
def drawText(img, a... | [
"1691608003@qq.com"
] | 1691608003@qq.com |
7730f23c1fe157a139eaf71edadb4982a38877c1 | 0d39e91482abe7f40523e9e225ede5464295888f | /mitogen/unix.py | 1af1c0ec6b66522ccdaa603778a48f45502f81cc | [
"BSD-3-Clause"
] | permissive | eamanu/python-mitogen | bdccdd7ceca4f1b114bf3e28556eb0d959b008e8 | e93c7aae83b130abe1ef2dcf829d32e40f9fe8b1 | refs/heads/master | 2022-04-29T17:01:32.451975 | 2019-10-24T00:30:20 | 2019-10-24T00:45:18 | 217,181,829 | 1 | 0 | BSD-3-Clause | 2022-03-29T21:58:20 | 2019-10-24T01:02:03 | Python | UTF-8 | Python | false | false | 7,133 | py | # Copyright 2019, David Wilson
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# 2.... | [
"eamanu@eamanu.com"
] | eamanu@eamanu.com |
0d568e564026f66f38a7a55aeaa4e39b6c3b6cff | 80ea4c1ce04ee8e0ecd85ee71f8bffdbcbd368aa | /iupick/settings/testing.py | 12021d836718a468cf6d733409edc755763667f5 | [
"MIT"
] | permissive | Oswaldinho24k/geo-csv | 659ad24f5e8bcecc869143a61e58b38260cc1901 | 0100435c5d5a5fd12133b376b305e8fa79ddb8f0 | refs/heads/master | 2020-03-15T21:20:34.095967 | 2018-05-06T15:45:34 | 2018-05-06T15:45:34 | 132,353,011 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 155 | py | # -*- coding: utf-8 -*-
from .base import *
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
AUTH_SECRET_PREFIX = 'sk_test_' | [
"oswalfut_96@hotmail.com"
] | oswalfut_96@hotmail.com |
6dc0ac7d042b1950915b2898b7c5223a44ba9af5 | 86d884eb096ed599c6069e2844985aa6ec30cb6b | /finite_difference/diffusion_coefficient/analyse_AHL.py | 90363c09ea189ea4f7c21ba98bc5b006d7a2c5cf | [] | no_license | zcqsntr/synbiobrain | 46e770471dcfbc5082f271c4e1e5d8b694155780 | 66758554774c087b8c19c6d50fca5ea733b607f4 | refs/heads/master | 2022-11-10T16:28:45.888929 | 2022-10-11T09:07:53 | 2022-10-11T09:07:53 | 183,600,800 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,098 | py |
import sys
import matplotlib.backends.backend_pdf
import matplotlib as mpl
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D # noqa: F401 unused import
sys.path.append('/home/neythen/Desktop/Projects/synbiobrain/')
from diffusion_sim import *
os.environ['PYOPENCL_CTX'] = '0'
nx = 300
ny = 300
no... | [
"zcqsntr@ucl.ac.uk"
] | zcqsntr@ucl.ac.uk |
f6dc05455cd47ae55195c50ba74336f3c0fbbd8c | 9a5505ebc6a4a9f7d710e1ef8ce488b578b63c6e | /pycon/sponsorship/migrations/0008_remove_obsolete_benefit_records.py | e8122e5fb061226ee878cdeaa3743c783bc26e75 | [
"BSD-3-Clause"
] | permissive | arpitjainn189/pycon | 9dabbfd6119a1b2a957469d40e223d063bb91494 | 492c47820d6dc546e79c707180b3c7b3925e8e72 | refs/heads/master | 2022-12-23T15:53:53.365038 | 2020-10-01T09:57:08 | 2020-10-01T09:57:08 | 300,229,565 | 0 | 0 | BSD-3-Clause | 2020-10-01T09:54:30 | 2020-10-01T09:54:29 | null | UTF-8 | Python | false | false | 1,390 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations
OBSOLETE_BENEFITS = [
{'name': 'Company URL',
'type': 'simple',
},
{'name': 'Company Description',
'type': 'text',
},
{'name': 'Web logo',
'type': 'weblogo',
}
]
def forward(ap... | [
"dpoirier@caktusgroup.com"
] | dpoirier@caktusgroup.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.