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
afde146aa9ee1b9e20a0a626accf7c3bfa4aa5fe
fe7c897aa034d73281224e38dc5fdbe7a360d8e0
/cs459_2/week06_orm/myproject/myapp/models.py
6d3b19cb8cdabc0780e4700d8975fcff2d759301
[ "BSD-3-Clause" ]
permissive
wasit7/2020
487592fa3b8d0351dfcf432207bfce8ded0db996
5fe6d41c1a5957bf240f9094d9b7c0f108835142
refs/heads/master
2023-05-15T00:47:52.309036
2021-04-30T04:46:08
2021-04-30T04:46:08
235,760,846
0
3
BSD-3-Clause
2022-06-22T01:39:10
2020-01-23T09:19:44
Jupyter Notebook
UTF-8
Python
false
false
997
py
from django.db import models # Create your models here. class Bike(models.Model): start=models.DateField(auto_now=False, auto_now_add=True) type=models.CharField(max_length=10) price=models.DecimalField( max_digits=8, decimal_places=2) def __str__(self): return "bike_%s %s"%(self.id, self.type...
[ "wasit7@gmail.com" ]
wasit7@gmail.com
cd16af1b63d57fd896b42948d92a0bff70396206
94bf7b3d09947fa7375acecd59e4b062e6381c09
/parsifal/reviews/models.py
f8cf789530ca2f6518df3be2f8514f13b6c3b081
[]
no_license
epkanol/parsifal
5302c0eadad04f5bbcd2ff61bdb7c6718f7982c2
9ff8308b7a3827cdbfec5910de8a52a9ff0a0dc3
refs/heads/master
2020-04-09T12:27:50.251269
2015-11-19T16:53:24
2015-11-19T16:53:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,150
py
# coding: utf-8 import datetime from django.utils import timezone from django.utils.html import escape from django.db import models from django.db.models import Sum from django.contrib.auth.models import User from django.template.defaultfilters import slugify from parsifal.library.models import Document class Sour...
[ "vitorfs@gmail.com" ]
vitorfs@gmail.com
61d2e7a48c7da7254694bab7f217ea1627b12718
edc1c404069441a8cb67ca90bf78985d24e7262d
/video/admin.py
36763879e0898a78fe5cf5e4c8d7bbde9064aaf0
[]
no_license
jsparmani/AndromediaProductionsRemake
98b6ac26a2080b7c1cc654ed4636089e816b9ef5
10ee43dd6785c458100bdb41702927744551fd0d
refs/heads/master
2022-02-20T20:11:01.095443
2019-10-06T18:52:26
2019-10-06T18:52:26
212,735,018
0
0
null
null
null
null
UTF-8
Python
false
false
4,208
py
from django.contrib import admin from . import models from apiclient.discovery import build from django.contrib import messages api_key = "AIzaSyDahUDOnXFAW0jlIC-gIc1cKt_tLlOXzf4" class PlaylistAdmin(admin.ModelAdmin): fieldsets = ( (None, { "fields": ( 'name', 'playlist_id' ...
[ "jsparmani@gmail.com" ]
jsparmani@gmail.com
57dbde9dc8ad0c6e3250b9e330788f193600672a
228ebc9fb20f25dd3ed2a6959aac41fd31314e64
/google/cloud/aiplatform/v1/schema/predict/params_v1/types/video_classification.py
a08b0246147c3590b599a7ad05b42db219fc4820
[ "Apache-2.0" ]
permissive
orionnye/python-aiplatform
746e3df0c75025582af38223829faeb2656dc653
e3ea683bf754832340853a15bdb0a0662500a70f
refs/heads/main
2023-08-03T06:14:50.689185
2021-09-24T03:24:14
2021-09-24T03:24:14
410,091,957
1
0
Apache-2.0
2021-09-24T20:21:01
2021-09-24T20:21:00
null
UTF-8
Python
false
false
3,332
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
orionnye.noreply@github.com
70aa5a4a1494fbd51725b7d6beb2d6cd3a1feca9
2215163696e362260a90bc3c011fcdb540d8d226
/forge/kubernetes.py
f41d5e42400661c61b1d7dae93395a0911ebfb6b
[ "Apache-2.0" ]
permissive
aj0415/cforge
47cf97d006d3a8b6ae438b1e9739c594c1fbfb8a
a99c6333ffa6b7686c8eb622cbf45a742b002716
refs/heads/master
2020-03-13T00:20:51.455760
2018-04-27T20:12:40
2018-04-27T20:12:40
130,884,693
0
0
null
null
null
null
UTF-8
Python
false
false
8,751
py
# Copyright 2017 datawire. 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 agr...
[ "rhs@alum.mit.edu" ]
rhs@alum.mit.edu
ad3f02552cb32fec4a851ed69631289e4ebca8ec
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/insights/v20201005preview/_inputs.py
21a144300587977774437a23d377b3d7e412df76
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
14,537
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 warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
2d868583f63376842e1cd553b872f76f6f8c7f87
06e5f427067574b5be79e8a0a260db8ee3b5f744
/tests/testpadpt.py
bfcf914003a82983e73fa645d57d3c953567ce0a
[ "MIT" ]
permissive
wotsushi/padpt
655e5b94f749f5dc3db0311fa92e642897c650cc
177328d9d18d5b68615b96b5fe6c562bac01df2e
refs/heads/master
2021-01-12T16:52:38.059089
2016-11-12T14:53:27
2016-11-12T14:53:27
71,460,807
0
0
null
null
null
null
UTF-8
Python
false
false
6,381
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys import os import io import shutil import warnings import unittest import urllib.error from unittest.mock import patch from PIL import Image from padpt import padpt class TestPadPT(unittest.TestCase): def setUp(self): if os.path.exists('tests/tm...
[ "wotsushi@gmail.com" ]
wotsushi@gmail.com
77455691a116df7a97fb3c60162a302cf25cdbcd
7bb9bd2bdadef1590b2ef7ff309e08abf454e49d
/Curso em Vídeo/4-DataNascimento.py
8a9ea4b93b275e7badf7c86dd7569ae1d8b7eeea
[]
no_license
ALREstevam/Curso-de-Python-e-Programacao-com-Python
afdf12717a710f20d4513d5df375ba63ba1e1c19
af6227376736e63810e5979be54eb1c433d669ac
refs/heads/master
2021-09-07T12:11:17.158298
2018-02-22T17:47:19
2018-02-22T17:47:19
87,453,286
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
#Entrada e saídade dados dia = input('Dia: ') mes = input('Mes: ') ano = input('Ano: ') print('Você nasceu no dia',dia,'de',mes,'de',ano,'Não é?')
[ "a166348@g.unicamp.com" ]
a166348@g.unicamp.com
3dcd089d6a30ae78f2869354ef2c95deab75e4d4
ec0ea8854d9a04967fe8d7794454f76946a8252e
/migrations/versions/7c6b878897a6_initial_migration.py
23dc013e61e45de6239e827e0dd76e12b45470bf
[]
no_license
alinzel/Blog_flask
3ae3f4d6e8bfd48e67ffddf2040c37f86d8756f7
47f50cb409f78d5a45144a8f2d134982dc03e383
refs/heads/master
2020-03-07T22:38:11.537557
2018-04-02T13:30:55
2018-04-02T13:30:55
127,759,441
1
0
null
null
null
null
UTF-8
Python
false
false
905
py
"""initial migration Revision ID: 7c6b878897a6 Revises: Create Date: 2018-03-16 03:39:18.455855 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '7c6b878897a6' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto ...
[ "944951481@qq.com" ]
944951481@qq.com
89b6ebe9e6d0a67626bb5ba1b9278aa3ebafa35c
fd65851c7977176cfa69056ea5d63ca529e74271
/samples/core/loop_parameter/loop_parameter_test.py
11e2c9b0b63d408a08a93b63129a7a7b21c9e116
[ "Apache-2.0", "BSD-3-Clause", "MIT", "BSD-2-Clause" ]
permissive
NikeNano/pipelines
dad9f45267a7f4c495a30880dd6fe1570f26fa64
73804f8928ce671839d34800627b6d3ea9f820a7
refs/heads/master
2022-01-29T21:24:43.693120
2021-11-20T18:18:35
2021-11-20T18:18:35
221,051,451
1
1
Apache-2.0
2021-04-23T20:07:11
2019-11-11T19:11:29
Python
UTF-8
Python
false
false
951
py
# Copyright 2021 The Kubeflow 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 applicable law or agreed to in...
[ "noreply@github.com" ]
NikeNano.noreply@github.com
9a47313b1510bcfddeeca1fb41bc3c0b99a35eda
04803c70bb97012b7d500a177ac0240fb2ddbe38
/blend4_pdep/pdep/network137_5.py
3bb47eb03df3725a21b1fbbb866e1271d6159d61
[]
no_license
shenghuiqin/chpd
735e0415f6688d88579fc935459c1b0f53596d1d
396ba54629036e3f2be0b3fabe09b78c90d56939
refs/heads/master
2023-03-01T23:29:02.118150
2019-10-05T04:02:23
2019-10-05T04:02:23
192,084,217
0
0
null
2019-06-18T18:33:13
2019-06-15T13:52:28
HTML
UTF-8
Python
false
false
288,786
py
species( label = 'C7H8(690)(689)', structure = SMILES('C=C1C=CC=CC1'), E0 = (169.147,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([2950,3100,1380,975,1025,1650,2750,2830,2910,2990,3070,3150,900,940,980,1020,1060,1100,300,800,800,800,800,800,800,800,800,800,800,1600,1600,1600,1600,1600,16...
[ "qin.she@husky.neu.edu" ]
qin.she@husky.neu.edu
6301e5ce5711488ed50bb66343401def93e6eb09
d7320f2f599d1d81e14aec5f62e9d48ee4fddfa2
/backend/mobile_23_dec_dev_17193/settings.py
de579c228368f904f01a84b5395bb4ed2917c868
[]
no_license
crowdbotics-apps/mobile-23-dec-dev-17193
be7f357b35147a9b4264f3b93482b18975e034ce
632ed98d9fa87fab09c91f41eea01b001fb40dae
refs/heads/master
2023-02-04T23:41:19.953146
2020-12-23T13:37:07
2020-12-23T13:37:07
323,806,565
0
0
null
null
null
null
UTF-8
Python
false
false
7,057
py
""" Django settings for mobile_23_dec_dev_17193 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ "...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5bc1b9c932355a1fa5a5500db6aa6d0f9ca3cc41
ee82d5f781f9b2ad8d710e8b4ca723dd8b51fe22
/cryptomate/strategy/persistence/__init__.py
9205cb8a22c040162889979211d4230bff71b273
[ "MIT" ]
permissive
solid-abstractions/cryptomate
32538e9a65305cf1865452d29242a0b45e3a68ba
49b4fea8f2f0f1ad61309a44167d1732ef2af0e4
refs/heads/master
2020-03-29T15:53:08.362898
2018-10-30T17:08:33
2018-10-30T17:15:04
150,085,416
1
0
null
null
null
null
UTF-8
Python
false
false
85
py
from cryptomate.strategy.persistence.base import Persister __all__ = ('Persister',)
[ "julien@etherdream.org" ]
julien@etherdream.org
3b0cb6bf6324296f08c74e0e0da7621c7fddbbad
9ec6d7f7c98159c3c98fa8b107eb2e221d7dd37b
/graph_lm/models/__init__.py
06c429f9750262ec8ed2e9f0657b799250503bf7
[]
no_license
bstriner/graph-lm
8f4d8df4ba5595e616e1fbe78da92acf0eac4403
bc31caa1fed7d87bb57f0754fab1e1f96e410dbf
refs/heads/master
2020-04-24T18:33:40.416780
2019-05-10T18:40:05
2019-05-10T18:40:05
172,183,417
0
0
null
2019-04-08T13:59:52
2019-02-23T07:07:24
Python
UTF-8
Python
false
false
61
py
AAE_RE = 'aae' VAE = 'vae' AAE_STOCH = 'aae_stoch' AE = 'ae'
[ "bstriner@gmail.com" ]
bstriner@gmail.com
ee319cd6d901830a3b33ecf66eb0941f348ecb2e
e0527bce5c53a196752d3a16adf50cb60754de5f
/02-Workshop/Workshop-Questions/6_pollock.py
b27d6fead14feaff42588a9ffef6d02b37a30352
[]
no_license
ARWA-ALraddadi/python-tutorial-for-beginners
ddeb657f419fbc176bea273bc9fb6b88d1894191
21cedfc47871ca4d25c2382464c60ab0a2121205
refs/heads/master
2023-06-30T20:24:30.688800
2021-08-08T08:22:29
2021-08-08T08:22:29
193,094,651
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
## Jackson Pollock's Final Masterpiece ## ## 20th century "artists" such as Jackson Pollock achieved fame ## by stumbling drunkenly around a canvas on the floor ## dribbling paint out of tins. (We're not being rude - he openly ## admitted to being drunk when creating his paintings.) However, ## today we can...
[ "noreply@github.com" ]
ARWA-ALraddadi.noreply@github.com
3b2bfe90e1713e4a3c44becca9465e02d8b99ecc
53ccc4f5198d10102c8032e83f9af25244b179cf
/SoftUni Lessons/Python Development/Python Fundamentals September 2019/Problems And Files/05 EX. B. SYNTAX, CONDITIONAL STATE. AND LOOPS - Дата 20-ти септември, 1430 - 1730/More Exercises/02. Find The Capitals.py
7eeea2620bed701edeaa70159043400ad4480ba4
[]
no_license
SimeonTsvetanov/Coding-Lessons
aad32e0b4cc6f5f43206cd4a937fec5ebea64f2d
8f70e54b5f95911d0bdbfda7d03940cb824dcd68
refs/heads/master
2023-06-09T21:29:17.790775
2023-05-24T22:58:48
2023-05-24T22:58:48
221,786,441
13
6
null
null
null
null
UTF-8
Python
false
false
920
py
""" Basic Syntax, Conditional Statements and Loops - Exercise Check your code: https://judge.softuni.bg/Contests/Practice/Index/1720#1 Video: https://www.youtube.com/watch?time_continue=4&v=7sHE4HEUqi8 SUPyF2 Basic Exercise More - 02. Find The Capitals Problem: Write a program that takes a single string and p...
[ "noreply@github.com" ]
SimeonTsvetanov.noreply@github.com
b2a3106a379c22fe0e7d4e763e29f6abfdc97c43
641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2
/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mock_drt.py
d6184838495e80aa3d5676b5ce34964c83c10ace
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
massnetwork/mass-browser
7de0dfc541cbac00ffa7308541394bac1e945b76
67526da9358734698c067b7775be491423884339
refs/heads/master
2022-12-07T09:01:31.027715
2017-01-19T14:29:18
2017-01-19T14:29:18
73,799,690
4
4
BSD-3-Clause
2022-11-26T11:53:23
2016-11-15T09:49:29
null
UTF-8
Python
false
false
12,119
py
# Copyright (c) 2012 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the ...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
1ec9ba794ac9baee1df67a506f295e337a25d7fb
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/ESAWnF3ySrFusHhYF_17.py
e5d41b17cbf9e0e12f8f85c729de22a0dd160c66
[]
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
210
py
def edit_words(lst): return [ ''.join(add_hyphen(words)[::-1].upper()) for words in lst ] ​ def add_hyphen(string): half = len(string) // 2 return string[:half] + '-' + string[half:]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d66a3005c423dd2c9ca316b67c11a1b9299da949
3777658387aa9e78d7c04202d7fd47d59b9e1271
/datavisualization/candlestick.py
a58d3bacc7e90462ace43536b3decbf25c7a586e
[]
no_license
jocoder22/PythonDataScience
709363ada65b6db61ee73c27d8be60587a74f072
c5a9af42e41a52a7484db0732ac93b5945ade8bb
refs/heads/master
2022-11-08T17:21:08.548942
2022-10-27T03:21:53
2022-10-27T03:21:53
148,178,242
4
0
null
null
null
null
UTF-8
Python
false
false
6,956
py
#!/usr/bin/env python import numpy as np import pandas as pd import matplotlib.ticker as mticker import mplfinance as mpf import yfinance as yf import matplotlib.pyplot as plt import matplotlib.dates as mpdates import finplot as fplt import pandas_datareader as pdr from datetime import datetime, date # aapl = yf.downl...
[ "okigbookey@gmail.com" ]
okigbookey@gmail.com
47cf462efc28a2d3cf998b03dac3d81ebc268a70
20b9e875d2701ad198635c495625b49530338b46
/tzgx_tzxw/tzgx_tzxw/items.py
7e80ad77f4311a154dd8ed56a02f7c78d8381e56
[]
no_license
leading/crawler-scrapy
816339483447fb9c59db4327e5e65e83bde383fb
06b37be4ce34252c4f3f23b22d9b3634cac57fad
refs/heads/master
2023-01-03T17:48:34.233613
2020-11-03T14:01:49
2020-11-03T14:01:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
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 re from urllib import parse from scrapy.item import Field import scrapy from scrapy.loader.processors import TakeFirst, MapCompose, Join class tzgx_tzxwItem(sc...
[ "sn_baby@qq.com" ]
sn_baby@qq.com
f687ff7c7c299afcc80daf17f334f6524c99faf4
d6a2d13d5a62c19b4072f26c649aacc8bc0d3309
/pages/urls.py
7f7d702a5aca4d0be76f883c50c64cab14328662
[]
no_license
rifqirosyidi/django-polls
d4894add29063136592f0a788c043f687f416237
deeb46483344543163bb469d9df9642757025f83
refs/heads/master
2023-04-29T09:13:31.524308
2021-04-12T09:42:23
2021-04-12T09:42:23
210,758,484
1
0
null
2023-04-21T20:37:50
2019-09-25T04:55:44
Python
UTF-8
Python
false
false
127
py
from django.urls import path from . import views app_name = 'pages' urlpatterns = [ path('', views.index, name='index') ]
[ "rief.rosyidi@gmail.com" ]
rief.rosyidi@gmail.com
ef5846c17626f8661bc8939b16710bf0b4dbc461
e8bf00dba3e81081adb37f53a0192bb0ea2ca309
/domains/explore/problems/training/problem107_EE.py
c88780c7450b5b528861aa509adde0683f99158f
[ "BSD-3-Clause" ]
permissive
patras91/rae_release
1e6585ee34fe7dbb117b084df982ca8a8aed6795
0e5faffb7eb732fdb8e3bbf2c6d2f2cbd520aa30
refs/heads/master
2023-07-13T20:09:41.762982
2021-08-11T17:02:58
2021-08-11T17:02:58
394,797,515
2
1
null
null
null
null
UTF-8
Python
false
false
1,826
py
__author__ = 'patras' from domain_exploreEnv import * from timer import DURATION from state import state, rv DURATION.TIME = { 'survey': 5, 'monitor': 5, 'screen': 5, 'sample': 5, 'process': 5, 'fly': 3, 'deposit': 1, 'transferData': 1, 'take': 2, 'put': 2, 'move': 10, '...
[ "patras@umd.edu" ]
patras@umd.edu
7781ecc296df81052241d659b46eacbafd2217d6
23f6dbacd9b98fdfd08a6f358b876d3d371fc8f6
/rootfs/usr/share/pyshared/checkbox/message.py
f81e761880abaeabd4e31698b0696aeda026851d
[]
no_license
xinligg/trainmonitor
07ed0fa99e54e2857b49ad3435546d13cc0eb17a
938a8d8f56dc267fceeb65ef7b867f1cac343923
refs/heads/master
2021-09-24T15:52:43.195053
2018-10-11T07:12:25
2018-10-11T07:12:25
116,164,395
0
0
null
null
null
null
UTF-8
Python
false
false
10,966
py
# # This file is part of Checkbox. # # Copyright 2008 Canonical Ltd. # # Checkbox is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # C...
[ "root@xinli.xinli" ]
root@xinli.xinli
32204a3385fce81b05f66e16dfef23f0a4512653
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-cloudpipeline/huaweicloudsdkcloudpipeline/v2/cloudpipeline_client.py
daa42b91636e7d7f61ee082bc79f05b30fa09bb9
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,026
py
# coding: utf-8 from __future__ import absolute_import import datetime import re import importlib import six from huaweicloudsdkcore.client import Client, ClientBuilder from huaweicloudsdkcore.exceptions import exceptions from huaweicloudsdkcore.utils import http_utils from huaweicloudsdkcore.sdk_stream_request imp...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
44100cd8a56941562abc28b6cc540426d38ee2b7
7faec297f7dc533e883ba10e930a8b322db0069c
/src/mercury/log_service/service.py
4f552ac953476dd9df5ca6d0987ad9a435bde444
[ "Apache-2.0" ]
permissive
SovietPanda/mercury
50c8bc1411a15a2c4d6f1d0373c072f034895192
3a6a16e5b176246f1df077df46249463e20736f2
refs/heads/master
2020-03-27T00:19:27.909490
2018-08-10T15:36:40
2018-08-10T15:36:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,947
py
import logging import time from mercury.common.configuration import MercuryConfiguration from mercury.common.exceptions import MercuryClientException from mercury.common.mongo import get_collection, get_connection from mercury.common.transport import SimpleRouterReqService LOG = logging.getLogger(__name__) MERCURY_L...
[ "jared.rodriguez@rackspace.com" ]
jared.rodriguez@rackspace.com
01c8bff9cacd76f8143b112377aaff0552c81f94
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/73/usersdata/174/37158/submittedfiles/triangulo.py
f7f57035688a7678ea328f2c23e7fbde5c853f11
[]
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
488
py
# -*- coding: utf-8 -*- import math a = float(input('Comprimento A:')) b = float(input('Comprimento B:')) c = float(input('Comprimento C:')) if a>=b>=c>0 and a<(b+c): print('S') if (a**2)==(b**2)+(c**2): print ('Re') elif (a**2)>(b**2)+(c**2): print ('Ob') elif (a**2)<(b**2)+(c**2): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
3a42de5559607d37d3040ba6ae5a378abcc45257
3591ab22e1cc0fc1362f909017a8aa5c2b53bd92
/FundNavSpiders/LeiGenFund.py
61a013e9b179634dde51908a984a1dffba1e555d
[]
no_license
Wnltc/ggscrapy
ef7e9559ce6140e7147f539778e25fc7f6cbee4c
bf929112e14b875a583803fe92980fe67129bdac
refs/heads/master
2023-03-15T22:00:45.377540
2018-06-06T02:19:14
2018-06-06T02:19:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,050
py
from FundNavSpiders import GGFundNavItem from FundNavSpiders import GGFundNavSpider import json from datetime import date, datetime class LeiGenFundSpider(GGFundNavSpider): name = 'FundNav_LeiGenFund' sitename = '上海雷根资产' channel = '投顾净值' fps = [ { 'url': 'http://m.reganfund.com/we...
[ "songxh@go-goal.com" ]
songxh@go-goal.com
a13241bdf8a7f6673b13b51d99ce11ac7f5815e0
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/cloud/memcache/v1beta2/memcache-v1beta2-py/tests/unit/gapic/memcache_v1beta2/test_cloud_memcache.py
6dae41f8cdc2469b105c660bd19d5e0700e7fedf
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
120,536
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
18b2aa782fb799a67516b52b792295ede0f6227a
4a020c0a492d931f7da5c452c9569fba06703686
/testing/web-platform/tests/tools/wptserve/wptserve/constants.py
a5a2f76445b270513df3377699efbbf93a7fe34c
[ "LicenseRef-scancode-w3c-03-bsd-license", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rbernon/wine-gecko
353173511a790127ffa2ad39d630b8a0dcbbf5bf
550ad9eac229b769992f421ce9492ca46edabaa0
refs/heads/master
2023-08-06T21:25:26.836672
2020-11-30T12:47:56
2021-09-30T08:14:19
411,965,809
0
0
null
null
null
null
UTF-8
Python
false
false
4,623
py
from . import utils content_types = utils.invert_dict({"text/html": ["htm", "html"], "application/json": ["json"], "application/xhtml+xml": ["xht", "xhtm", "xhtml"], "application/xml": ["xml"], ...
[ "rbernon@codeweavers.com" ]
rbernon@codeweavers.com
7034296f573c9cad883dc4d3d04c799c7699ccb5
4a1a3375b24a44be6c2926eb3dd2c18d8c23ebf9
/test/nn/test_utils.py
af0081ccf4dd7233202326e6342a33311ea0286a
[ "MIT" ]
permissive
sufeidechabei/pytorch_geometric
a4a48339f4f115bee2973bb49ead71ee595d7ed3
3b478b2f9721f35cd1c93f7f8592691ad8f8a54d
refs/heads/master
2020-04-13T19:14:50.187401
2018-12-28T09:04:09
2018-12-28T09:04:09
163,396,833
1
0
null
2018-12-28T10:16:45
2018-12-28T10:16:45
null
UTF-8
Python
false
false
1,398
py
import torch from torch.nn import Sequential, Linear, ReLU from torch_geometric.nn.repeat import repeat from torch_geometric.nn.inits import uniform, glorot, zeros, ones, reset from torch_geometric.nn.reshape import Reshape def test_repeat(): assert repeat(None, length=4) is None assert repeat(4, length=4) ==...
[ "matthias.fey@tu-dortmund.de" ]
matthias.fey@tu-dortmund.de
8ebf7364f88d1f1fabd25cd184b44c4a4725b1ba
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2431/60668/302927.py
fde0d78fce890f17b957f82f0b5117e9cd2288ca
[]
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
350
py
def tree_29_wide(s,k): if s=="0 100": if k=="150 750": print(212.13,end='') elif k=="0 1000": print(291.55,end='') else: print(k) else:print(s) if __name__=='__main__': m,n = input().split() s = input() k = input() l = input() ii = ...
[ "1069583789@qq.com" ]
1069583789@qq.com
4e34bf3f441b315b9c80825f31985e81b6195334
6fffacd69b4f642015520d6a5da079466d32bc1d
/carts/migrations/0043_auto_20191108_2058.py
5efbcb1d8e5f4dc435f175c9059b8010e7b07898
[]
no_license
imroon1/tost
8a690f5ee446a11e3f8f653a5ca26233192dd450
7c95ec7a9a42bd842e4292d73cf9b0b6878f7ecb
refs/heads/master
2023-04-19T16:36:50.346763
2021-05-02T20:52:51
2021-05-02T20:52:51
363,496,379
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2019-11-08 13:58 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('carts', '0042_auto_20191108_2050'), ] operations = [ migratio...
[ "samroonsamroon@gmail.com" ]
samroonsamroon@gmail.com
a520159790da1a022179186669023ec105abbdc6
8cce087dfd5c623c2f763f073c1f390a21838f0e
/projects/sphinx-click/test.py
fa3a3b271b1591d4f29a2c1955f2b59d29285eea
[ "Unlicense" ]
permissive
quinn-dougherty/python-on-nix
b2ae42761bccf7b3766999b27a4674310e276fd8
910d3f6554acd4a4ef0425ebccd31104dccb283c
refs/heads/main
2023-08-23T11:57:55.988175
2021-09-24T05:55:00
2021-09-24T05:55:00
414,799,752
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
import sphinx_click
[ "kamadorueda@gmail.com" ]
kamadorueda@gmail.com
30115bbe8fa2933607723a3ce6b73ae268df8cde
4a3e4c20cc7de2e80ed038bbfe9b359ba75daf07
/configs/RS-data/VHR10/Faster-RCNN/CBAM/cbam-r101-Backbone-R32.py
21195a128ff7eb1db6b308a335ce55155d04adec
[ "Apache-2.0" ]
permissive
CLIFF-BOT/mmdetection-1.0
b0b4f9b5586476f96ef55cf68373110f28e503a7
a16a7c6a8f0bf029100b85f0bd1b64093e7809af
refs/heads/master
2023-01-02T07:02:35.496174
2020-10-29T03:26:18
2020-10-29T03:26:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,654
py
# model settings model = dict( type='FasterRCNN', pretrained='torchvision://resnet101', backbone=dict( type='ResNet', depth=101, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), style='pytorch', ...
[ "nicholasirving@outlook.com" ]
nicholasirving@outlook.com
5ef229b7e8ffe1fd6e506214f4574a932bdf561c
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/CondTools/IntegrationTest/python/validate_dt_orcon_cfg.py
a1aaab0a17d8bfc6ba547ce4cb804c635d78318a
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
1,754
py
# The following comments couldn't be translated into the new config version: # Configuration file for EventSetupTest_t import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.PoolDBESSource = cms.ESSource("PoolDBESSource", loadAll = cms.bool(True), toGet = cms.VPSet(cms.PSet( r...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
15dab3acd9bfe7df5a470c2924edd5a0932585fb
1b62a66e8d7b2bbdfce222b53d2ab05202291f4b
/hs_info/models.py
57b5c9eb24565c88c2a586fc99a7f24ee3f0e241
[]
no_license
lotaku/hushua_old
ca7c1aecfa1d344c262e61378b6a795c8ed6e866
665a4a13fdf7f0e59a0e3db136a94d53b997d321
refs/heads/master
2020-04-20T00:11:34.948600
2014-08-12T14:53:34
2014-08-12T14:53:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
# encoding: utf-8 from django.db import models # Create your models here. class HsInfo(models.Model): #小号要求 week_limited = IntegerField(null=True, blank=True) month_limited = IntegerField(null=True, blank=True) is_seller = BooleanField() # name = models.CharField(max_length=100, null=True, blank=True) #...
[ "317399510@qq.com" ]
317399510@qq.com
e1b1e493e9f4053d3e5a580041c774a2a73ca7e0
55983026405316f2fc6de40291022544a4a1be5d
/PartI_Introduction_To_Programming/Video6_Intro_To_Programming/ex3.py
c21fdec2980245694ccf1600095f0a8aff5a5480
[]
no_license
deborabr21/goselftaught
3fd8cf9bb7119b2665101b950de5eac083d0d410
04919ce8db8e2bf7a6595ff822791a2d6c95dda5
refs/heads/master
2022-12-22T00:37:48.538075
2020-09-16T20:11:01
2020-09-16T20:11:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
print("Hi!") print("Hola!")
[ "praveenn069@gmail.com" ]
praveenn069@gmail.com
52170475bb3e4e2512553f18cf6180eb8ff63de9
1187f02013f2c0d785e8a12701226d4c99fea48d
/4153번 직각삼각형.py
d6cba8ccf5891ba4bf61bcc2f283bce6ad05ee24
[]
no_license
rheehot/BOJ-Algorithm
5b2745a648fd635aa727b84afa2a4787ee07c507
7aae709fb193f228ef7c2d5accee6af9ecc19090
refs/heads/master
2023-04-20T23:42:53.271984
2021-05-07T09:08:12
2021-05-07T09:08:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import sys while True: a, b, c = map(int, sys.stdin.readline().split()) if a==0 and b==0 and c==0: break else: tri_len = [a, b, c] max_num = max(tri_len) tri_len.remove(max_num) if max_num**2 == tri_len[0]**2 + tri_len[1]**2: print('right') ...
[ "noreply@github.com" ]
rheehot.noreply@github.com
fc76f26de5ed891c29829aaa79d4c9b0e43e00bf
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_219/ch4_2019_03_14_18_25_45_666376.py
58b1c4b3456ddc1302a823856e76d8b79a964285
[]
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
132
py
y=int(input('Digite sua idade')) if y<=11: print('crianca') elif 12<=y<=17: print(' adolescente ') else: print('adulto')
[ "you@example.com" ]
you@example.com
2fc62581d21ba5e0d9531a665125e34b6e4b25f9
8a42be3f930d8a215394a96ad2e91c95c3b7ff86
/Build/Instalation/GeneralDb/Marathon/MarathonTests_1.1/linux_HSQLDB_Edit/TestCases/Y1_NamedFldTests/Filter/Filter035_TextGT.py
d2606ef2bcfb6fbb6ba5439919f5a3ceb57e15ed
[]
no_license
java-tools/jrec
742e741418c987baa4350390d126d74c0d7c4689
9ece143cdd52832804eca6f3fb4a1490e2a6f891
refs/heads/master
2021-09-27T19:24:11.979955
2017-11-18T06:35:31
2017-11-18T06:35:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,798
py
useFixture(RecordEditor) def test(): from Modules import commonBits java_recorded_version = '1.6.0_22' if window('Record Editor'): select('File_Txt', commonBits.sampleDir() + 'csv2DTAR020_tst1.bin.csv') click(commonBits.fl('Edit') + '1') select_menu(commonBits.fl('Edit') + '>>' + commonBits.fl('Upda...
[ "bruce_a_martin@b856f413-25aa-4700-8b60-b3441822b2ec" ]
bruce_a_martin@b856f413-25aa-4700-8b60-b3441822b2ec
c39941499870277a946c40da8b7ff72e4713e97a
ed4921d289f9318e0792694a55ab49990199a857
/openbudget/dashboard.py
a8a910e731a262b077369a6654c48e4145e17640
[ "BSD-2-Clause" ]
permissive
ofri/omuni-budget
918b340e6d213785dac252ed0549f918b5a84da4
9f30edd1e0d025bbcacba64172b1ecb02172497b
refs/heads/master
2021-01-18T05:25:13.366328
2013-03-31T11:11:02
2013-03-31T11:11:02
9,343,753
1
1
null
null
null
null
UTF-8
Python
false
false
3,621
py
from django.utils.translation import ugettext_lazy as _ #from django.core.urlresolvers import reverse from grappelli.dashboard import modules, Dashboard class OpenBudgetDashboard(Dashboard): """Custom admin dashboard for Open Budget""" def init_with_context(self, context): # append an app list modul...
[ "paulywalsh@gmail.com" ]
paulywalsh@gmail.com
db9c468c186605058bdc1e319cf6eef5d0cc402b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/189/usersdata/264/65136/submittedfiles/al2.py
78c78df05d8662e4336e80c333a6ef1d26db18e4
[]
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
162
py
# -*- coding: utf-8 -*- #ENTRADA: NÚMERO QUALQUER:x #SAIDA: PARTE INTEIRA:q, PARTE FRACIONÁRIA:j x= float(input('digite um número real qualquer:')) q= (x//3)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f86d5e23e993a62bf8066dc12320d183477f2526
1d590f611c9ae02f5f0f369e479cccd8b8d7fb66
/soc/bffbook/profiles/migrations/0004_auto_20210510_1308.py
7b76e1b1ac139bee3abbd516d9265db853ccb6c6
[]
no_license
Alan-thapa98/SOCIAL-ME
3cf1c515e0560ca2967cf847727bf1438aeba3f4
362e11edb449528a7bc6f413c134a8dfb9296e67
refs/heads/master
2023-07-01T07:21:37.303320
2021-07-30T15:15:59
2021-07-30T15:15:59
391,106,333
1
0
null
null
null
null
UTF-8
Python
false
false
416
py
# Generated by Django 3.1.2 on 2021-05-10 07:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0003_auto_20210510_1256'), ] operations = [ migrations.AlterField( model_name='profile', name='avatar', ...
[ "alanthapa98.gmail.com" ]
alanthapa98.gmail.com
d496d59c836446f81c61a2822643119a8ebad097
3505b3e494dabca84b730033f55bdf369877f41a
/pydiscord/types/role.py
c02b50201c0bae2132560db80e3614f71a0b0ccd
[ "MIT" ]
permissive
AryamanSrii/PyDiscord
5a87192b942228348a4b7320b6cdac8e885e4e42
3366d20e2725672ae7e6b29335119cac1aee76f9
refs/heads/main
2023-07-18T03:42:00.634806
2021-09-03T15:46:48
2021-09-03T15:46:48
402,948,162
0
0
MIT
2021-09-04T02:48:33
2021-09-04T02:48:32
null
UTF-8
Python
false
false
1,589
py
""" The MIT License (MIT) Copyright (c) 2021 The PyDiscord Developers Copyright (c) 2015-2021 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitat...
[ "sn1f3rt@outlook.com" ]
sn1f3rt@outlook.com
045421d3e8906598267f9544324d41b41a921a87
f8baff291cdf02ea92141c7a7eb48b859776c224
/google/cloud/dialogflow_v2beta1/services/session_entity_types/transports/grpc.py
1552ec0cefd6e51205f0927deb40d362b227b6d6
[ "Apache-2.0" ]
permissive
precs-jmcrs/python-dialogflow
1a6a12741cb14460f5ecfe1200b2b0a20064b5cb
bf68864ff14e1a1f3626cb27fbbabb96e618358f
refs/heads/main
2023-08-20T09:45:21.354126
2021-10-25T20:52:08
2021-10-25T20:52:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,930
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
precs-jmcrs.noreply@github.com
319aaf36620144c77e9f4382cdc002dd7d12372a
cbc5e26bb47ae69e80a3649c90275becf25ce404
/xlsxwriter/test/vml/test_write_size_with_cells.py
7d062d86032316bfb6cb293c6f39e4586d4653f4
[ "BSD-2-Clause-Views", "BSD-3-Clause", "MIT" ]
permissive
mst-solar-car/kicad-bom-generator
c3549409c3139f787ad28391372b5cb03791694a
2aae905056d06f3d25343a8d784049c141d05640
refs/heads/master
2021-09-07T14:00:40.759486
2018-02-23T23:21:13
2018-02-23T23:21:13
107,868,801
3
0
null
null
null
null
UTF-8
Python
false
false
737
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2017, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ...vml import Vml class TestWriteXSizeWithCells(unittest.TestCase): """ Test t...
[ "mwrb7d@mst.edu" ]
mwrb7d@mst.edu
144ad152b5e9dc1c38e2a29bb9072569a0c6fdd2
45df508e4c99f453ca114053a92deb65939f18c9
/tfx/utils/logging_utils.py
8d5e5b0ce8ce081ed22a0a7b494b338c20b32a4d
[ "Apache-2.0" ]
permissive
VonRosenchild/tfx
604eaf9a3de3a45d4084b36a478011d9b7441fc1
1c670e92143c7856f67a866f721b8a9368ede385
refs/heads/master
2020-08-09T13:45:07.067267
2019-10-10T03:07:20
2019-10-10T03:07:48
214,100,022
1
0
Apache-2.0
2019-10-10T06:06:11
2019-10-10T06:06:09
null
UTF-8
Python
false
false
3,124
py
# Copyright 2019 Google LLC. 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 a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
51a247af73a7e20f4aaa919360ae9ea26d676f40
f8bdc46409c9f5eaf3d85ef157260589462d941a
/jsk_2016_01_baxter_apc/node_scripts/check_sanity_setup_for_pick
1ab7ba1ac9271856cae0085c0e78a81cb65fadb9
[ "MIT", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
start-jsk/jsk_apc
2e268f8b65e9d7f4f9cc4416dc8383fd0a7b9750
c4e349f45ef38457dc774e33f6902acf1a1540a6
refs/heads/master
2023-09-05T09:06:24.855510
2023-09-01T17:10:12
2023-09-01T17:10:12
25,620,908
36
25
NOASSERTION
2023-09-01T17:10:14
2014-10-23T05:28:31
Common Lisp
UTF-8
Python
false
false
462
#!/usr/bin/env python import rospy from jsk_tools.sanity_lib import checkTopicIsPublished def main(): rospy.init_node('check_setup_sanity') checkTopicIsPublished( '/left_hand_camera/extract_indices_target_bin/output', timeout=5, echo=True, echo_noarr=True) checkTopicIsPublished( '...
[ "www.kentaro.wada@gmail.com" ]
www.kentaro.wada@gmail.com
0827f989319c72b436014e11b875370bc3478be2
142f00440b73ae6c8c140bac00fe8cd026b62caf
/src/inputs/cs_event_query/sampler.py
9e09a45966427d54b4ec5863c3028604ed467bdf
[]
no_license
Wisc-HCI/interaction-transformation
e81bfdb21b61b884f69af4912f8bca91933d1c43
45e275e5426023b19d9b587cf5520ad74b1c909b
refs/heads/master
2020-04-10T20:29:28.628040
2020-04-02T18:59:08
2020-04-02T18:59:08
161,269,365
3
1
null
null
null
null
UTF-8
Python
false
false
14,044
py
from z3 import * import time import math class Sampler: ''' Sampler takes the existing trajectories as input, and comes up with a tree-like interaction whose branches are optimized to be (a) less-seen bad tra- jectories, (b) unseen good trajectories, and (c) unseen combinations of states ...
[ "dporfirio@wisc.edu" ]
dporfirio@wisc.edu
5b2cc65fd28a82eef601c8b2bae269efad7edfe6
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/pytest/fib6/fibonacci.py
39bc1096dde229bdf5f76119b024e852994386a4
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
124
py
def fib(n): if n < 1: return None a, b = 1, 1 for _ in range(1, n): a, b = b, a+b return a
[ "gabor@szabgab.com" ]
gabor@szabgab.com
9a6cecbd8b7391193cbe482e34d4e9436736c068
1929443c8e4ec6ccd79777f18d161546867e17ef
/methods/transformers/src/transformers/configuration_reformer.py
b74bec1877b149d9249d568fde2e67702d6253b3
[ "MIT", "Apache-2.0" ]
permissive
INK-USC/RiddleSense
6f4b00546d7f4d5ada12db50929c1f0d7713d541
a3d57eaf084da9cf6b77692c608e2cd2870fbd97
refs/heads/main
2023-08-14T19:01:01.478946
2021-07-05T04:06:01
2021-07-05T04:06:01
376,487,870
8
2
null
null
null
null
UTF-8
Python
false
false
13,444
py
# coding=utf-8 # Copyright 2020 The Trax Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 Lice...
[ "yuchen.lin@usc.edu" ]
yuchen.lin@usc.edu
4d0accebb3c8b38201bf3aab2d6ab564283fbf9f
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/social_rl/adversarial_env/utils.py
6a235a2c7e5d60f56c19c192fd53d434a804576e
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
17,133
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
dd287ab4dacb2cfc45941be3341ffa301364946e
c8781d6c35bc1a01572ae079c10ae09a48360d0d
/postprocess_tweets.py
32e7614af149211c9c5541c6c10e55184e600ce0
[]
no_license
molguin92/RechazoMiner
030e718d7a7128ad3cf3c9b167e58fd353c898e8
3c027426876e7ed65c7f9039f5a66c8260ada746
refs/heads/master
2022-04-21T04:35:20.497340
2020-04-12T20:00:33
2020-04-12T20:00:33
250,283,855
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
import matplotlib.pyplot as plt import numpy as np import pandas as pd from nltk.corpus import stopwords from wordcloud import WordCloud def main(): tweets = pd.read_parquet('./tweets.parquet') \ .reset_index() \ .drop_duplicates(subset='tweet_id') \ .set_index('tweet_id') # tweets_no_...
[ "manuel@olguin.se" ]
manuel@olguin.se
ef94445d6b1610a2ae6a0c06860afd62b5e23786
9e6b91907e04a37f708b28e8ee52760662b4c761
/py/dirbalak/run.py
0355e2698c739d28f282edf63e736dfafbde8594
[ "Apache-2.0" ]
permissive
shlomimatichin/dirbalak
d744e3f4fdadf920082c870107f50f9020d57af6
218441fe55715c0602dd41142ae6a34ddfef6b38
refs/heads/master
2020-12-11T03:45:23.059866
2015-02-26T15:40:44
2015-02-26T15:40:44
28,646,911
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
import subprocess import upseto.run import tempfile import shutil import os import select import time run = upseto.run.run def runAndBeamLog(logName, command, cwd=None): with open("/dev/null") as devNull: popen = subprocess.Popen( command, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.S...
[ "shlomi@stratoscale.com" ]
shlomi@stratoscale.com
3d896af960b5e3f6493dfe0bd2f44dcb1c5b85db
c548c10c4fd0b6c1d1c10cc645cb3b90b31f2de6
/keras/keras54_conv1d_01_lstm.py
46786f3cdafe9a0d5880bfff0ec509b09b860a2d
[]
no_license
sswwd95/Study
caf45bc3c8c4301260aaac6608042e53e60210b6
3c189090c76a68fb827cf8d6807ee1a5195d2b8b
refs/heads/master
2023-06-02T21:44:00.518810
2021-06-26T03:01:26
2021-06-26T03:01:26
324,061,105
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
# conv1d # LSTM과 비교 import numpy as np # 1. 데이터 x = np.array([[1,2,3] ,[2,3,4], [3,4,5], [4,5,6], [5,6,7], [6,7,8], [7,8,9], [8,9,10], [9,10,11], [10,11,12], [20,30,40],[30,40,50],[40,50,60]]) y = np.array([4,5,6,7,8,9,10,11,12,13,50,60,70]) x_pred = np.array([50,60,70]) pri...
[ "sswwd95@gmail.com" ]
sswwd95@gmail.com
8ddc1bb8f4a20ecdb528058fedc4bcd5962a64de
dcce56815dca2b18039e392053376636505ce672
/dumpscripts/asyncio_coroutine_return.py
4232ff84185f4cccf3562bcb97cb4daeb5f66d4f
[]
no_license
robertopauletto/PyMOTW-it_3.0
28ff05d8aeccd61ade7d4107a971d9d2576fb579
c725df4a2aa2e799a969e90c64898f08b7eaad7d
refs/heads/master
2021-01-20T18:51:30.512327
2020-01-09T19:30:14
2020-01-09T19:30:14
63,536,756
4
1
null
null
null
null
UTF-8
Python
false
false
326
py
# asyncio_coroutine_return.py import asyncio async def coroutine(): print('nella coroutine') return 'risultato' event_loop = asyncio.get_event_loop() try: return_value = event_loop.run_until_complete( coroutine() ) print('ritornato: {!r}'.format(return_value)) finally: event_loop.cl...
[ "roberto.pauletto@gmail.com" ]
roberto.pauletto@gmail.com
2951f9918b65ff8723f67976693c4de1f72c851d
48bb4a0dbb361a67b88b7c7532deee24d70aa56a
/codekata/persquare.py
0d0aef46cce120f2115cd0d2263aef327619c712
[]
no_license
PRAMILARASI/GUVI
66080a80400888263d511138cb6ecd37540507c7
6a30a1d0a3f4a777db895f0b3adc8b0ac90fd25b
refs/heads/master
2022-01-28T08:54:07.719735
2019-06-24T15:57:05
2019-06-24T15:57:05
191,355,070
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
l,r=map(int,input().split()) l1=[] cg=0 for i in range(1,r+1): sq=i*i if(sq<=r): l1.append(i*i) else: break for j in range(l,r+1): if(j in l1): cg+=1 print(cg)
[ "noreply@github.com" ]
PRAMILARASI.noreply@github.com
29c7191e1f0bb964d65ea7d49d125e5c1361171f
2aba62d66c2c622bdc148cef451da76cae5fd76c
/exercise/learn_python_dm2039/ch17/ch17_21.py
2f28cbe564dd9eb87e19a2b997177f787f6af96d
[]
no_license
NTUT-109AB8011/crawler
6a76de2ab1848ebc8365e071e76c08ca7348be62
a703ec741b48d3af615a757fed7607b1f8eb66a6
refs/heads/master
2023-03-26T22:39:59.527175
2021-03-30T03:29:22
2021-03-30T03:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# ch17_21.py from PIL import Image, ImageDraw newImage = Image.new('RGBA', (300, 300), 'Yellow') # 建立300*300黃色底的影像 drawObj = ImageDraw.Draw(newImage) drawObj.rectangle((0,0,299,299), outline='Black') # 影像外框線 drawObj.ellipse((30,60,130,100),outline='Black') # 左眼外框 drawObj.ellipse((65,65,95,95),fill='Blue...
[ "terranandes@gmail.com" ]
terranandes@gmail.com
83fd0483590ca890422fb68150b7d7917f2a1699
1b6cea605ee3ad1cac7ed39e8e56d78b41a0a9c8
/touchdown/aws/route53/zone.py
df8463a3555b95405eb2e22bd3a323ef2ab00f98
[ "Apache-2.0" ]
permissive
pombredanne/touchdown
37e0847649d376ad8b087f993ef3021db37ff728
2213f3572c2b99cecf46dbee48d6d3f038cc442c
refs/heads/master
2021-01-18T09:05:05.027531
2015-01-29T11:42:10
2015-01-29T11:42:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,133
py
# Copyright 2014-2015 Isotoma Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
[ "john.carr@unrouted.co.uk" ]
john.carr@unrouted.co.uk
9c58da8f6f2ca4fe76c5acddd34f0f70ccf4e23d
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_47340.py
91cb79d70b4583e53b6a388ec9065caeaeae9000
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,850
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
4a6e8d053a94706c74d944c4a9ad04c88fc8fefd
350db570521d3fc43f07df645addb9d6e648c17e
/1352_Product_of_the_Last_K_Numbers/solution.py
5c9cce8733e553c8d05006544a5caa5ba5d53971
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
442
py
''' 1352. Product of the Last K Numbers Level: Medium https://leetcode.com/problems/product-of-the-last-k-numbers ''' ''' Solution: ''' class ProductOfNumbers: def __init__(self): def add(self, num: int) -> None: def getProduct(self, k: int) -> int: # Your ProductOfNumbe...
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
b373db01d970b6ce88143768f0517f0be7b4a386
5f6112f58e4e570a99e58ac0424b36a0fb7da744
/preps/apps/sports/track/admin.py
0f91fc904b1abfaa5ef3415e96d14c9cb520bad5
[]
no_license
huyenme/django-preps
335915f2d6c68cde0410bccbabaeee48f3ccc39a
fede0d245cbcff5781b6a4bf1cecc0477897d9e4
refs/heads/master
2020-05-02T22:52:46.779618
2011-07-05T21:10:43
2011-07-05T21:10:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
from django.contrib import admin from preps.apps.sports.track.models import Meet class MeetAdmin(admin.ModelAdmin): fieldsets = ( ('Basic information', { 'fields': (('meet_type', 'meet_date_time'), ('teams', 'season')) }), ('Administration', { 'fields': (('featured_m...
[ "jeremyjbowers@gmail.com" ]
jeremyjbowers@gmail.com
df974a2a8eb8076abb44ee0af07e0366ee280f16
f85fb8ea9df44a3ebb19430d8fe248be7d738413
/tests/test_plotter.py
eab925f85900d74d67c471aec580a5352247c590
[ "MIT" ]
permissive
Samreay/ChainConsumer
9ab425fd31a0853f5be92bf2a266ece59a1a2d01
888921942789f7c7a817c7a3cee3e7e5da3a26bf
refs/heads/master
2022-09-16T16:52:06.175389
2022-09-04T02:48:44
2022-09-04T02:48:44
63,556,220
74
20
MIT
2018-09-06T00:34:00
2016-07-17T23:01:21
Python
UTF-8
Python
false
false
2,856
py
import numpy as np from scipy.stats import norm from chainconsumer import ChainConsumer class TestChain(object): np.random.seed(1) n = 2000000 data = np.random.normal(loc=5.0, scale=1.5, size=n) data2 = np.random.normal(loc=3, scale=1.0, size=n) def test_plotter_extents1(self): c = Chain...
[ "samuelreay@gmail.com" ]
samuelreay@gmail.com
9986a1659cfdc8dc4bd6a6862039eead3c2b5e84
30e21273013b228f5421a5d685660cc370c92d7c
/dgfont.py
2e37de03891875ec73a74d5581f477352fd09cf6
[]
no_license
hwinther/homeautomation
0aecccae16995f53b14d0de07eb6d61cc91a52fc
0ee1f97238bdd5c2c7367a75f4376f2d662c4b9c
refs/heads/master
2021-01-10T10:11:06.803852
2018-10-22T22:06:36
2018-10-22T22:06:36
44,271,892
0
1
null
null
null
null
UTF-8
Python
false
false
3,136
py
#!/usr/bin/python # coding=utf-8 from datetime import datetime letters = { '0': [ [0, 1, 1, 0], [1, 0, 0, 1], [1, 0, 0, 1], [1, 0, 0, 1], [0, 1, 1, 0], ], '1': [ [0, 0, 1, 1], [0, 1, 0, 1], [0, 0, 0, 1], [0, 0, 0, 1], ...
[ "hc@wsh.no" ]
hc@wsh.no
c8f6df806cbd7433aff54e08bcc8bfbd20c702d0
8ea15bb41fa672a8abd5cbc6e4c3413a910e5fb4
/api/admin.py
fdc895cff91355bb421614c370acdbf99f297eca
[]
no_license
bluedazzle/smart_screen
172bb1672bd9995e27889700a7320c0d9e207abe
f4d40807e7c6684ae35d8c1c7f386ae2ff8d8925
refs/heads/master
2021-07-04T07:30:50.807052
2019-01-23T06:47:56
2019-01-23T06:47:56
111,908,525
1
0
null
2019-05-16T03:30:51
2017-11-24T10:56:46
Python
UTF-8
Python
false
false
812
py
from django.contrib import admin from models import * # Register your models here. class GoodsInventoryAdmin(admin.ModelAdmin): search_fields = ['barcode'] class GoodsAdmin(admin.ModelAdmin): search_fields = ['belong__id'] admin.site.register(FuelOrder, GoodsAdmin) admin.site.register(FuelTank) admin.sit...
[ "zhangjianqi@bytedance.com" ]
zhangjianqi@bytedance.com
67c88c5642b885e5c3ffa1ab317224f11a47d97d
a26a3605f8055a28083107b98800d72bfcc11fd9
/Koncreti/Koncreti/middlewares.py
efea3c768875aa07a437ec6da0bd57857a844b6a
[]
no_license
huzaifabaloch/Modern-Web-Scraping
521c3bd9302c3be0743a16cb65a02bf5a6666d9e
021c5f987d7c150118340ccbf986be51ecdca349
refs/heads/master
2020-09-26T23:40:46.306998
2020-06-30T17:10:49
2020-06-30T17:10:49
226,367,502
0
0
null
null
null
null
UTF-8
Python
false
false
3,601
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class KoncretiSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrap...
[ "huzbaudi3@gmail.com" ]
huzbaudi3@gmail.com
b14b1b13fd24073c9ebde57c05e4f234b0ac0da4
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/heatmapgl/colorbar/tickfont/_family.py
ba495312ec633e48e44034f6156ee76e0784f0c1
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
525
py
import _plotly_utils.basevalidators class FamilyValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name="family", parent_name="heatmapgl.colorbar.tickfont", **kwargs ): super(FamilyValidator, self).__init__( plotly_name=plotly_name, pare...
[ "noreply@github.com" ]
hugovk.noreply@github.com
ac409fba8612780ecc144aa3fc94607609a6c797
f8b5aafac15f408a48fabf853a918015c927e6fe
/backup/virtualenv/venv27/lib/python2.7/site-packages/ansible/modules/extras/cloud/lxc/lxc_container.py
518038124eb6cca7eeb78adc95a6b3a7b688fbb6
[]
no_license
to30/tmp
bda1ac0ca3fc61e96c2a1c491367b698d7e97937
ec809683970af6787728c2c41f161f416155982a
refs/heads/master
2021-01-01T04:25:52.040770
2016-05-13T16:34:59
2016-05-13T16:34:59
58,756,087
0
1
null
null
null
null
UTF-8
Python
false
false
55,215
py
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2014, Kevin Carter <kevin.carter@rackspace.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of...
[ "tomonaga@mx2.mesh.ne.jp" ]
tomonaga@mx2.mesh.ne.jp
108d68accc881e48bb69ecb2973ce1bd1dbf2825
80d50ea48e10674b1b7d3f583a1c4b7d0b01200f
/examples/v1/synthetics/GetSyntheticsDefaultLocations.py
6e44aa3003ea64d20039ddc3cb1e3952f2e290a2
[ "Apache-2.0", "BSD-3-Clause", "MIT", "MPL-2.0" ]
permissive
DataDog/datadog-api-client-python
3e01fa630278ad0b5c7005f08b7f61d07aa87345
392de360e7de659ee25e4a6753706820ca7c6a92
refs/heads/master
2023-09-01T20:32:37.718187
2023-09-01T14:42:04
2023-09-01T14:42:04
193,793,657
82
36
Apache-2.0
2023-09-14T18:22:39
2019-06-25T22:52:04
Python
UTF-8
Python
false
false
387
py
""" Get the default locations returns "OK" response """ from datadog_api_client import ApiClient, Configuration from datadog_api_client.v1.api.synthetics_api import SyntheticsApi configuration = Configuration() with ApiClient(configuration) as api_client: api_instance = SyntheticsApi(api_client) response = ap...
[ "noreply@github.com" ]
DataDog.noreply@github.com
b6be628f703dec55030e68c4a3d13a67ce8180be
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/statistic_value.py
d3dfd884e2f8fce485e13476f04cbd5dc66f26e0
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,601
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class StatisticValue: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
f9291f1a6af751a26ba13be48da38a42209934e0
dba64f73e5e07a25ab1a8e87f8e7cf6700ee3c90
/symphony/cli/pyinventory/graphql/survey_question_type_enum.py
3a96d2dd169d65106806d858248ca73f1354a8ec
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
saaib/magma
6410d161cf1538be450f341dae8bc6f159999338
679cd9622eab49a859a4fa9f84f657023e22adb8
refs/heads/master
2021-02-07T15:53:21.047308
2020-02-29T14:09:27
2020-02-29T14:12:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from enum import Enum class SurveyQuestionType(Enum): BOOL = "BOOL" EMAIL = "EMAIL" COORDS = "COORDS" PHONE = "PHONE" TEXT = "TEXT" TEXTAREA = "TEXTAREA" PHOTO = "PHOTO" WIFI = "WIFI" CELLULAR = "CELLULAR" F...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1ecbb8e831336074d1ce5c6d07b4e34745935ae4
ce722f35f63d7e7af3e9890cbea50b05d32c34c7
/crawler/dspider/myspider.py
a1a34d3e4640e21a35516c59c8e9c2d1892770cd
[]
no_license
tfangz888/smart_deal_tool
bc6645047e2c3ff36af0baed62e31d1c6cec4a15
0f0e4edfec582e93146b30273621a28c36a5d6ca
refs/heads/master
2020-05-17T03:12:16.720526
2019-04-23T14:11:10
2019-04-23T14:11:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
# -*- coding: utf-8 -*- import time import calendar import datetime from scrapy import Spider from datetime import datetime, timedelta class BasicSpider(Spider): def get_nday_ago(self, mdate, num, dformat = "%Y.%m.%d"): t = time.strptime(mdate, dformat) y, m, d = t[0:3] _date = datetime(y, m...
[ "hellobiek@gmail.com" ]
hellobiek@gmail.com
f40bbf4c4d4b9ef848cac097b67b4e5a643be55e
67b7e6d2c08f08403ec086c510622be48b8d26d8
/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/basebackup/test_switch_xlog.py
4d94b2c153d66678d75b70e85c154d9050cca17c
[ "Apache-2.0", "PostgreSQL", "LicenseRef-scancode-rsa-md4", "OLDAP-2.8", "HPND-sell-variant", "BSD-4-Clause-UC", "BSD-3-Clause", "Zlib", "LicenseRef-scancode-zeusbench", "LicenseRef-scancode-mit-modification-obligations", "OpenSSL", "MIT", "LicenseRef-scancode-other-copyleft", "bzip2-1.0.6"...
permissive
sshyran/gpdb
41012411d22b0294204dfb0fe67a1f4c8d1ecaf6
2d065ecdd2b5535cb42474f17a0ee6592b4e6837
refs/heads/master
2023-04-09T14:05:44.030212
2016-11-12T08:33:33
2016-11-12T08:34:36
73,544,159
0
0
Apache-2.0
2023-04-04T00:30:10
2016-11-12T09:43:54
PLpgSQL
UTF-8
Python
false
false
1,977
py
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 ...
[ "jyih@pivotal.io" ]
jyih@pivotal.io
ecbd429887ac6d5abc32c05fd1f43073737f37c7
2a89cc4472bd6251a16a4369f13cdc3c40d28d86
/data_processing/nx_test.py
4fb70316922faecc8f18b7c0693cd4403c43642c
[]
no_license
wpower12/CIS5524-FinalProject
5a51a4b3dd91b92a27023c4317c2e167d06ab9bc
5f5104c6a8369b9939399258b6686b612cb22ffb
refs/heads/master
2020-05-05T00:20:59.188552
2019-04-30T17:49:04
2019-04-30T17:49:04
179,571,275
0
0
null
null
null
null
UTF-8
Python
false
false
1,902
py
import pickle import networkx as nx from networkx.algorithms import community from networkx.algorithms import bipartite as bp DATA_PFN = "pol_300_year_00_20_new.p" DEBUG = "" edge_list = pickle.load(open("data/{}".format(DATA_PFN), "rb")) graph = nx.Graph() for user in edge_list: # print(user) for sub in user[1]: ...
[ "willpowe@gmail.com" ]
willpowe@gmail.com
36602fdb00348f04be6f1f77b384c11eb93676fa
6bf336bc8d6ba061e0c707bdd8595368dee4d27b
/sherlock_and_anagrams.py
d1cc84aa3edc108d72c16638bb4c7edcd539760a
[ "MIT" ]
permissive
avenet/hackerrank
aa536214dbccf5a822a30ea226e1dbaac9afb243
e522030a023af4ff50d5fc64bd3eba30144e006c
refs/heads/master
2021-01-01T20:15:06.647873
2017-11-24T23:59:19
2017-11-24T23:59:19
98,801,566
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
testcases = int(raw_input()) def is_equal(d1, d2): if len(d1) != len(d2): return False for k, v in d1.items(): if k != 'last': if d1[k] != d2.get(k): return False return True def next_level(dict_items): next_level_result = [] for i in ...
[ "andy.venet@gmail.com" ]
andy.venet@gmail.com
35b04254829c219407297add0b75e3e5f4483e9d
66213c48da0b752dc6c350789935fe2b2b9ef5ca
/abc/174/e.py
ffc0d5bd9d8bbac094b0625c24ec7ed291cb8d7d
[]
no_license
taketakeyyy/atcoder
28c58ae52606ba85852687f9e726581ab2539b91
a57067be27b27db3fee008cbcfe639f5309103cc
refs/heads/master
2023-09-04T16:53:55.172945
2023-09-04T07:25:59
2023-09-04T07:25:59
123,848,306
0
0
null
2019-04-21T07:39:45
2018-03-05T01:37:20
Python
UTF-8
Python
false
false
1,100
py
# -*- coding:utf-8 -*- def solve(): """ 「丸太の長さをX以下にする」を各丸太について行い、カット回数を計算していく方針。 カット回数の計算は丸太一本あたりO(1)で計算できるので、全丸太でO(N)かかる。 Xは二分探索で範囲を狭めていけば、Xの探索はO(logN)で済む。 全体の計算量は、O(Nlog(N)) """ import math N, K = list(map(int, input().split())) As = list(map(int, input().split())) left, r...
[ "taketakeyyy@gmail.com" ]
taketakeyyy@gmail.com
90d8d869fc8f16e185d015112875789166658815
aeba64588c629c2f8a39fc054c48e34ae5b1bc76
/Урок 3. Практическое задание/geekshop/authapp/admin.py
e09e35a8b3ae6d15fc2797fcbbe9025ffe678c9c
[]
no_license
ZF-1000/12_Django_Framework_Optimization_tools
a600caa2739824011251003a58f016ad1aa4d9e7
664224a22711d071fc63a33acedf430571d795e8
refs/heads/master
2022-12-17T22:59:46.581864
2020-09-24T18:34:00
2020-09-24T18:34:00
289,723,244
0
0
null
2020-09-24T18:34:01
2020-08-23T16:22:46
Python
UTF-8
Python
false
false
184
py
from django.contrib import admin from authapp.models import ShopUser, ShopUserProfile # Register your models here. admin.site.register(ShopUser) admin.site.register(ShopUserProfile)
[ "n.shanin@mail.ru" ]
n.shanin@mail.ru
4f7d33984f4de1a2db5ca3fc534dcc10909e1f06
30ab9750e6ca334941934d1727c85ad59e6b9c8a
/server/base/middlewares.py
84d8a5ba83d986202b5a9503d755dfa61cee8a94
[ "Apache-2.0" ]
permissive
ankurvaishley/zentral
57e7961db65278a0e614975e484927f0391eeadd
a54769f18305c3fc71bae678ed823524aaa8bb06
refs/heads/main
2023-05-31T02:56:40.309854
2021-07-01T07:51:31
2021-07-01T14:15:34
382,346,360
1
0
Apache-2.0
2021-07-02T12:55:47
2021-07-02T12:55:47
null
UTF-8
Python
false
false
2,103
py
# adapted from https://github.com/mozilla/django-csp from functools import partial from django.conf import settings from django.utils.crypto import get_random_string from django.utils.functional import SimpleLazyObject from http.client import INTERNAL_SERVER_ERROR, NOT_FOUND CSP_HEADER = 'Content-Security-Policy' D...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
b5f70c3dc6b4b1c3197a94cff2bcf3cea020f5b6
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Simulation/G4Utilities/G4DebuggingTools/python/G4DebuggingToolsConfig.py
f52b57fe2059fda006a2cf456c9959bd184320f5
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
3,737
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration from AthenaCommon import CfgMgr, Logging from G4AtlasServices import G4AtlasServicesConfig def getVerboseSelectorTool(name="G4UA::VerboseSelectorTool", **kwargs): from G4AtlasApps.SimFlags import simFlags # example custom configuration ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
d6c6b643bd659e3f9cfac6cae96011a6dca0c086
45a00518abed3ef4796655d8d2a0677f29961aa3
/example 46/python_venv/lib/python3.8/site-packages/joblib/test/test_cloudpickle_wrapper.py
733f51c7239467da0f967b2aa790a2df76cfa185
[]
no_license
ruiwu1990/CSCI_4710_6710
07b92e456d6cda3e63a5b5d078c1718110317555
6e32c89ef70fbe4b4a5db14682dc94b13bab6d9e
refs/heads/master
2023-05-03T21:50:54.943702
2023-04-18T21:48:43
2023-04-18T21:48:43
174,882,138
9
17
null
2023-05-01T20:53:06
2019-03-10T21:18:01
Python
UTF-8
Python
false
false
749
py
""" Test that our implementation of wrap_non_picklable_objects mimics properly the loky implementation. """ from .._cloudpickle_wrapper import wrap_non_picklable_objects from .._cloudpickle_wrapper import my_wrap_non_picklable_objects def a_function(x): return x class AClass(object): def __call__(self, x)...
[ "raywu1990@nevada.unr.edu" ]
raywu1990@nevada.unr.edu
64612b9c2435744a2cdb72e21120ca270c1675e4
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-2939.py
12303d1902d870a55260fe2b6bcdbb323417c476
[]
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,290
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
0d558a04a974c96413e34fc82e039b476a0ba4bd
a392bb476779cbfde6c4863e6039af9a57c288be
/S1_Foundation/C2_GettingStarted/selection_sort.py
966df2f7c6568266bfc89861df06db3b9452b246
[ "MIT" ]
permissive
JasonVann/CLRS
49e25d021718156a732455a117331dace1fe501c
d9dcdc7ea9230d03d97d72857f9345ea995e5986
refs/heads/master
2021-05-04T10:03:06.999922
2017-10-21T07:43:54
2017-10-21T07:43:54
53,999,274
1
0
null
null
null
null
UTF-8
Python
false
false
722
py
from test_sort import * def selection_sort(data): n = len(data) for i in range(0, n-1): # Find the i-th minimum number and swap with data[i] min_i = None for j in range(i, n): if min_i is None or data[j] < min_i: min_i = data[j] idx = j ...
[ "jasonvanet@gmail.com" ]
jasonvanet@gmail.com
561a1515aec45c05a6f692c454547c35b601299c
fc7cad490cb774d769c1b463ac6d1d9a8ea97024
/accounts/migrations/0004_auto_20200612_0259.py
ec0685ecf8d345c0e4a3fed233fe2258dc000cec
[]
no_license
Aviemusca/curriculum-dev
c301915532353836cb085130fd12e2734da4b956
691a6536718ef496ac603b1c8daee7508b3e8ff2
refs/heads/master
2022-12-26T20:56:55.031344
2020-10-01T08:11:49
2020-10-01T08:11:49
297,643,769
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
# Generated by Django 3.0.5 on 2020-06-12 02:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_auto_20200519_1800'), ] operations = [ migrations.CreateModel( name='Contact', fields=[ ...
[ "yvan@metatech.ie" ]
yvan@metatech.ie
202413f8bed169d63c0e062e5db80f4c7ab19053
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_layout_result.py
880edef4f9e5268fec0c2a94a79f45be803ebb0a
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,891
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class SmartDocumentRecognizerLayoutResult: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
1269ec37a14795d04833ef26c19ca25ac9209675
61fd735fda784dfc817b51a53c933ecdc4d47177
/PythonLearningFiles/小甲鱼Python基础课程笔记/python基础教程/07分支和循环.py
185365fc588c50fb18dc07e45a2d6eb0de12ccb4
[]
no_license
github653224/GitProjects_PythonLearning
bfe4610bf8f944d9a51889a30cf7b20e5ab219b7
ac975efbb336846a3f145821cf47431d39b30ac1
refs/heads/master
2021-05-08T01:03:04.150717
2017-10-21T09:52:02
2017-10-21T09:52:02
107,763,607
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
""" 打飞机方案: 加载北京音乐 播放北京音乐(设置单曲循环) 我飞机诞生 interval=0 while true: if 用户是否点击了关闭按钮: 退出程序 interval+=1 if interval==50: 小飞机诞生 小飞机移动一个位置 刷新屏幕 if 用户鼠标产生移动: 我方飞机中心位置=用户鼠标位置 刷新屏幕 if 我方飞机与小飞机发生肢体冲突: 我方挂,播放音乐停止 修改我方飞机图案 打印"game over" 停止音乐...
[ "944851899@qq.com" ]
944851899@qq.com
68dd46a0f9f060b60554ee409185bc17f3b0eecb
484f2b6ed2a51a78978a4b6450f97a3cbefcd087
/ugc/migrations/0005_auto_20170214_1413.py
845ec474ff677ca19957848ca9652760ee9e3645
[]
no_license
ivan371/technotrack-web2-spring-2017
31d0a937f1b6342bd70432cbebd37bb68c1dd8df
92e9fd9040984eef66b6bab45bb4d6918e178d41
refs/heads/master
2021-01-11T14:27:04.717314
2017-05-22T18:55:22
2017-05-22T18:55:22
81,424,353
0
0
null
2017-02-09T07:54:27
2017-02-09T07:54:27
null
UTF-8
Python
false
false
477
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-14 14:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ugc', '0004_auto_20170214_1402'), ] operations = [ migrations.AlterField( ...
[ "nagaiko.ivan@gmail.com" ]
nagaiko.ivan@gmail.com
177db48652d402f97d576e0f6523800c48df1c68
5cde60183d67eb92aad31d0bfa03a8e2ebddad0c
/setup.py
12ac376cecfc5442d07485725892e2397462b032
[ "MIT" ]
permissive
FedeClaudi/fcutils
7379615f2eec7d152aab5c89ec70afee79e76964
2ef6f037303fc426d5c5b2851d2c99f17efa4002
refs/heads/master
2021-09-25T15:35:32.348620
2021-09-21T15:44:37
2021-09-21T15:44:37
236,294,597
5
0
MIT
2021-01-31T17:34:22
2020-01-26T10:05:55
Python
UTF-8
Python
false
false
579
py
from setuptools import setup, find_namespace_packages requirements = [ "numpy", "opencv-python", "pandas", "matplotlib", "seaborn", "scipy", "pyyaml", "statsmodels", "loguru", ] setup( name="fcutils", version="1.1.2.7", author_email="federicoclaudi@protonmail.com", ...
[ "federicoclaudi@protonmail.com" ]
federicoclaudi@protonmail.com
e586d7a3c000d224849a27dbaddfc190dffd0029
0d413c078c0dd7f1f68083750022441f091736f5
/addons/source-python/plugins/gungame/plugins/included/gg_dissolver/gg_dissolver.py
736d55841d464a5e19a21a4b3a3e088ef32fe82a
[]
no_license
Hackmastr/GunGame-SP
7eac4c031e5e6f4624a8cacfea8d3d5df85a2dfb
dd76d1f581a1a8aff18c2194834665fa66a82aab
refs/heads/master
2020-12-26T04:56:12.309910
2016-12-29T23:15:53
2016-12-29T23:15:53
67,629,767
0
0
null
2016-09-07T17:40:57
2016-09-07T17:40:56
null
UTF-8
Python
false
false
3,166
py
# ../gungame/plugins/included/gg_dissolver/gg_dissolver.py """Plugin that dissolves player ragdolls on death.""" # ============================================================================= # >> IMPORTS # ============================================================================= # Python from random import rand...
[ "satoon101@gmail.com" ]
satoon101@gmail.com
a88f598b7bf08e6083106dbe44f2ca8df1bfc8b0
15c124ef75ee3974af8c5d0f97a35d13f3673378
/dump_committees.py
12f686c76fb41ebb3e6318e3fc5c50558f54520f
[]
no_license
datamade/war-chest
e9e2eaddb4c5dec584fdaa3806ce760757f0dfae
6b4eb021d46b3db0e5409e54a496b8823a4aff2b
refs/heads/master
2021-01-15T23:06:30.602126
2014-06-06T15:41:30
2014-06-06T15:41:30
13,306,945
1
0
null
null
null
null
UTF-8
Python
false
false
2,659
py
from app import Candidate, Report, Person import csv from collections import OrderedDict from operator import itemgetter from sqlalchemy import or_ if __name__ == "__main__": dump = [] for person in Person.query.all(): for cand in person.candidacies.all(): for comm in cand.committees: ...
[ "eric.vanzanten@gmail.com" ]
eric.vanzanten@gmail.com
a64bb1807505a2ed94f6dae03805a20c63d76bd1
413125277311510b40ca481b12ab82d379f5df62
/factorial number of trailing zeros in factorial.py
11ce6c912e5196f14256726dc5f9adc771d0a39c
[]
no_license
Aakashbansal837/python
98d85ce1e88c73f0e5180b1b1af80714f3e45097
4de2a3d6a482fdba8809ceb81e94f201b776b00e
refs/heads/master
2021-04-06T00:16:24.884830
2018-05-30T17:42:20
2018-05-30T17:42:20
124,778,551
2
0
null
null
null
null
UTF-8
Python
false
false
349
py
import sys sys.setrecursionlimit(10000) def factorial(n): if n == 0: return 1 if n == 1: return 1 else: return n*factorial(n-1) num = list((str(factorial(int(input()))))) l = len(num)-1 count = 0 while l: if num[l] == '0': count+=1 else: br...
[ "noreply@github.com" ]
Aakashbansal837.noreply@github.com
8b0825a8ddd160fc42a6622a90c4d63dba60573d
e57a122cba8d00aac9d014a45e815063cb9f0359
/imagepy/menus/Kit3D/Viewer 3D/tablepoints_plg.py
86fe577864e3131f6f976b490ee2afe4771c7966
[ "BSD-2-Clause" ]
permissive
WeisongZhao/imagepy
9d66664578c77eb2d463de922c8d06af4f8af35a
43cd5c4dcb9d6fefdcf11b8b9e9c0d56e11fab1e
refs/heads/master
2020-04-25T23:44:31.304590
2020-01-29T06:10:26
2020-01-29T06:10:26
173,155,520
1
0
NOASSERTION
2019-02-28T17:21:56
2019-02-28T17:21:55
null
UTF-8
Python
false
false
1,761
py
from imagepy.core.engine import Table from imagepy.core.manager import ColorManager from imagepy.core import myvi import numpy as np from imagepy import IPy class Plugin(Table): title = 'Table Point Cloud' para = {'x':None, 'y':None, 'z':None, 'r':5, 'rs':None, 'c':(0,0,255), 'cs':None, 'cm':None, 'cube':False} ...
[ "imagepy@sina.com" ]
imagepy@sina.com
2a9948a9fa15cfc738111ee698e8284117c2f0ab
5c6c165cdbdc4fd538f4aed7d0fede76fc480444
/asphalt/feedreader/__init__.py
a990cce8accc3f529540060c6c57896c512d464d
[ "Apache-2.0" ]
permissive
asphalt-framework/asphalt-feedreader
b4b5e693a65dd51dd3fdbe1234a691c7de769bfb
096df835408ecfcfde593950c9c80d130f62cc5e
refs/heads/master
2021-01-18T19:53:06.455455
2017-11-26T17:33:13
2017-11-26T17:34:46
86,918,924
1
0
null
null
null
null
UTF-8
Python
false
false
273
py
from .api import FeedReader, FeedStateStore # noqa from .component import create_feed, FeedReaderComponent # noqa from .events import EntryEvent, MetadataEvent # noqa from .metadata import FeedEntry, FeedMetadata # noqa from .readers.base import BaseFeedReader # noqa
[ "alex.gronholm@nextday.fi" ]
alex.gronholm@nextday.fi
a7d44dbc3172c0b18482cbe972cbced3d85a9b38
66a9c0e23af1fab7f3c0b2f0cd6b8c6ac060b1d7
/models/image_segmentation/tensorflow/3d_unet/inference/fp32/unet3d/prediction.py
0810e632e699bbe4be9e3f11c215749c1247f453
[ "MIT", "Apache-2.0" ]
permissive
hekaplex/resnet_dl
ea289864b330bfa74996444d0325f1a062feae59
fc8d4dcc0adffbe22d01d333e6cf5db955f2f011
refs/heads/master
2023-04-15T06:03:18.696578
2021-05-05T14:18:13
2021-05-05T14:18:13
364,602,036
0
0
null
null
null
null
UTF-8
Python
false
false
16,846
py
import os import nibabel as nib import numpy as np import tables import time import math from .training import load_old_model from .utils import pickle_load from .utils.patches import reconstruct_from_patches, get_patch_from_3d_data, compute_patch_indices from .augment import permute_data, generate_permuta...
[ "archaeus@hekaplex.com" ]
archaeus@hekaplex.com
87b61ab79ea2e0d19563e98bd2c50283f6e2da98
6c44aa08cdac167f150fa5e08aa3a2d0efd22fbd
/clearbyte/urls.py
40735a8fec3c632267a9474a85807e6c02d9f487
[]
no_license
sumansai14/clearbyte
acaca0d194dfbca0a542301a622f44dbc122a325
f960a1a898ccbc79ed5cdc4cf213f09232f94921
refs/heads/master
2022-12-11T18:10:38.239032
2017-07-31T06:42:13
2017-07-31T06:42:13
98,814,570
1
0
null
2022-11-22T01:47:56
2017-07-30T17:44:43
JavaScript
UTF-8
Python
false
false
571
py
from django.conf.urls import include, url from django.contrib import admin from clearbyte.web.home import HomeView from clearbyte.api.views.company import CompanyViewSet from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register(r'api/company', CompanyViewSet) urlpatterns = [ # Exam...
[ "suman.sai14@gmail.com" ]
suman.sai14@gmail.com
11b5ad683134ad8b05c87abf40a8a09968e574ae
bf0aa689b92be1df24100e8581caab59a74e31db
/src/GTCv3/equilibrium.py
b7b44d3cb1e7b03643192de3efb5baa4b70e4d3c
[ "MIT" ]
permissive
shmilee/gdpy3
d7c689a70557534baa98595092cee0d737ea93cc
cdebb80dbb4a4d84ffa7115d8f18b5589fd40fb2
refs/heads/master
2023-08-19T22:42:40.305085
2023-08-15T02:11:15
2023-08-15T03:11:04
88,051,033
9
3
null
null
null
null
UTF-8
Python
false
false
12,669
py
# -*- coding: utf-8 -*- # Copyright (c) 2019-2020 shmilee ''' Source fortran code: eqplot.F90, subroutine eqplot 1. first part, 1D radial plots, datap(lsp),data1d(lsp) write(ieq,101)nplot,nrad write(ieq,102)datap !!! 1 write(ieq,102)data1d ... !!! 29 write(ieq,102)data1d 2. second part, 2D contour pl...
[ "shmilee.zju@gmail.com" ]
shmilee.zju@gmail.com
e2c8bbd3422f404804ca4a5b2183623bd2d0fc02
bbe7d6d59ef6d7364ff06377df9658367a19c425
/coghq/DistributedBattleFactory.py
9cbf5b835ad112cda6c82c2ab13e8a87022244ce
[ "Apache-2.0" ]
permissive
DedMemez/ODS-August-2017
1b45c912ad52ba81419c1596644d8db2a879bd9b
5d6214732e3245f63bfa250e3e9c881cc2dc28ad
refs/heads/master
2021-01-22T18:37:51.626942
2017-08-19T02:04:51
2017-08-19T02:04:51
100,762,513
0
8
null
null
null
null
UTF-8
Python
false
false
2,513
py
# Fuck you Disyer. Stealing my fucking paypal. GET FUCKED: toontown.coghq.DistributedBattleFactory from panda3d.core import Filename from direct.interval.IntervalGlobal import * from toontown.battle.BattleBase import * from toontown.coghq import DistributedLevelBattle from direct.directnotify import DirectNotifyGl...
[ "noreply@github.com" ]
DedMemez.noreply@github.com
2d234c71ae3401e3c476c0145a739da0e171802a
646ad63fc2274b85a219094b216b807c0bed1ede
/tests/core/commands/test_cmd_quota.py
6c8784ea4c37a59ce12a55111ffffa52913c5f59
[ "MIT" ]
permissive
Starz0r/pytuber
9b252582b4ae296aee87faaf10a2eed9f541b7b0
5bb53edde6a39cedec48c4a8f41ba22db21d4727
refs/heads/master
2020-08-23T16:28:12.783690
2019-04-29T21:53:29
2019-04-29T21:53:29
216,662,810
0
0
MIT
2019-10-21T20:48:32
2019-10-21T20:48:31
null
UTF-8
Python
false
false
914
py
from datetime import datetime from unittest import mock from pytuber import cli from pytuber.core.services import YouService from tests.utils import CommandTestCase, ConfigFixture class CommandQuotaTests(CommandTestCase): @mock.patch.object(YouService, "get_quota_usage") @mock.patch.object(YouService, "quota...
[ "chris@komposta.net" ]
chris@komposta.net
21f90cf761ed27de60b2f3a5a059e88edb7562ee
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_hatchet.py
3ee3633a64a58ccd19ae48252680d868a128cd59
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
#calss header class _HATCHET(): def __init__(self,): self.name = "HATCHET" self.definitions = [u'a small axe (= tool with a blade that cuts when you hit things with it)'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], ob...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
6bd3295d27f377bb3ae91cf7f7f0ad42b8a46e60
bd498cbbb28e33370298a84b693f93a3058d3138
/Inspur/benchmarks/dlrm/implementations/implementation_closed/tests/buckle_embedding_test.py
6f8033a42903ebcd748ea9664764bac2d035a03e
[ "Apache-2.0" ]
permissive
piyushghai/training_results_v0.7
afb303446e75e3e9789b0f6c40ce330b6b83a70c
e017c9359f66e2d814c6990d1ffa56654a73f5b0
refs/heads/master
2022-12-19T16:50:17.372320
2020-09-24T01:02:00
2020-09-24T18:01:01
298,127,245
0
1
Apache-2.0
2020-09-24T00:27:21
2020-09-24T00:27:21
null
UTF-8
Python
false
false
2,042
py
"""Tests for buckle embedding""" from absl.testing import absltest import torch from torch import nn from dlrm.nn import BuckleEmbedding # pylint:disable=missing-docstring, no-self-use class DistEmbeddingBagTest(absltest.TestCase): def test_smoke(self): test_buckle_embedding = BuckleEmbedding([3, 5, 7,...
[ "vbittorf@google.com" ]
vbittorf@google.com
a8aa23bdab8f192dd86a7c7115adc91521b3a4d5
365609eab603486008b7eef9b2ede77adcac0d0c
/dataset/__init__.py
05eefa22eb4c0ddb6b3f89e73ae9c2175d04729c
[]
no_license
dangchenyu/break_light-recognition
8e78c0dd0ec332c3cf617caf679cdfa685cee3de
293e8538df046acf684237caf7dd9611ebe79fb1
refs/heads/master
2020-08-03T12:59:09.296324
2019-09-30T02:34:02
2019-09-30T02:34:02
211,760,204
0
0
null
null
null
null
UTF-8
Python
false
false
19
py
from .tail import *
[ "dcy0921@outlook.com" ]
dcy0921@outlook.com