blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
b13046ceab6991b6f1d95e04fbe41b7ce103755b
888899f0cb3e6e7b28a9de39001a1fd1c177cd35
/COMPLETE PYTHON-3 COURSE/Chapter-05-LIST/summary.py
857ad7b8e6e4441e7a901e9c5b8d6851a307ef48
[]
no_license
VivakaNand/COMPLETE_PYTHON_3
ef162d71d3a44bf661fcc1a8aacce31e7953cd7c
b3b835afe7671fdc3d29d912650fd4ccd3bc83f6
refs/heads/master
2023-02-04T10:13:41.881939
2020-12-23T08:30:51
2020-12-23T08:30:51
323,839,528
0
1
null
null
null
null
UTF-8
Python
false
false
1,027
py
# list chapter summary # list is a data structure that can hold any type of data # create list words = ["word1", "word2"] # you can store anything inside list mixed = [1,2,3, [4,5,6], 'seven', 8.0,None] # list is ordered collection of items # print(mixed[0]) # output = 1 # print(mixed[3]) # output = [4,5,6] # add d...
[ "vivekjetani83@gmail.com" ]
vivekjetani83@gmail.com
6f331f833f6106821b1fbc0630bb3491154a5ed3
28a9cc19537f7264421afeb9883962aa480c2616
/login/models.py
dfc8567340a7277a6b236ffa42c5bf8ad2a3ca0c
[]
no_license
ujjwalagrawal17/BrokerAppBackend
b33df886b389aabfcfe7278c3e41c99d13d4fbb3
1b8ffd18e4c5257d222c17b8aece3351b549b204
refs/heads/master
2021-01-22T21:23:18.807792
2017-03-18T19:06:44
2017-03-18T19:06:44
85,425,430
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
from __future__ import unicode_literals from django.db import models # Create your models here. class login_user(models.Model): name= models.CharField(max_length=120,null=False,blank=False) firm_name= models.CharField(max_length=240,null=False,blank=False) city= models.CharField(max_length=240,null=False,blank=Fa...
[ "ujjwal.iitism@gmail.com" ]
ujjwal.iitism@gmail.com
e35356aad8d52ce034b950fa1b84a9f27923a533
c5759366f8b2cb2e129df0637b62774225a0c41a
/code/tensor2tensor/tensor2tensor/data_generators/text_encoder_build_subword.py
89c6b9516e982d110e466e5b73735fd4f1e123fe
[ "Apache-2.0" ]
permissive
cake-lab/transient-deep-learning
f8646a4386528aa147d8d3dcdff8089985870041
87c6717e4026801623cf0327e78ad57f51cb1461
refs/heads/master
2022-11-02T20:02:29.642997
2022-02-08T16:51:09
2022-02-08T16:51:09
227,036,173
11
1
Apache-2.0
2022-10-05T13:01:38
2019-12-10T05:27:50
Python
UTF-8
Python
false
false
2,973
py
# coding=utf-8 # Copyright 2018 The Tensor2Tensor 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...
[ "ozymandias@OzymandiasdeMacBook-Pro.local" ]
ozymandias@OzymandiasdeMacBook-Pro.local
ff77547cc6d5321804ab90dbd2386f9f3b515921
fff54b01b46cef0bbc70a6469c88c01c82af5a57
/network/library/glib-networking/actions.py
660dea0d9d3cf5ffb5633a05765dd140c9dcdf02
[]
no_license
LimeLinux/Packages
e51deae6c0d1406e31f06caa5aaa7749466bef0b
d492e075d8b051df68b98c315ad0628e33a8fac4
refs/heads/master
2021-01-11T12:37:22.150638
2018-08-30T18:24:32
2018-08-30T18:24:32
77,054,292
5
19
null
2018-02-02T17:24:06
2016-12-21T13:33:45
Python
UTF-8
Python
false
false
725
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt from pisi.actionsapi import get from pisi.actionsapi import autotools from pisi.actionsapi import pisitools def setup(): autotools.configure("--disable-static \ ...
[ "zirkovandersen@gmail.com" ]
zirkovandersen@gmail.com
744dd80c6dd301c986dfd766d02f90b8df0c7590
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res/scripts/client/gui/scaleform/daapi/view/lobby/historicalbattles/__init__.py
319e96efe3c7f12b469f2b5042230f76267adc3d
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,685
py
# 2015.11.10 21:27:13 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/historicalBattles/__init__.py from gui.Scaleform.framework import GroupedViewSettings, ViewTypes, ScopeTemplates from gui.Scaleform.framework.package_layout import PackageBusinessHandler from gui.Scalefo...
[ "info@webium.sk" ]
info@webium.sk
aec9135ff3f8ea294de2287b9c3fb015c1842ecb
9c9abdf101ce10d170de060155d7e96b244112eb
/logicmind/tokens/nop.py
d17faec06205634f0c31c421b359bde0fbb21eb9
[ "MIT" ]
permissive
gridl/Py-Utils
b914aef6b527d5e24972c2b2559937ffe14f8f54
96e554ef4da7f9f94d405f523bd234db7dca96a7
refs/heads/master
2020-11-29T08:30:59.015303
2019-04-27T13:45:31
2019-04-27T13:45:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
from tokens.token import Token class Not(Token): representations = ['¬', '!'] single_char_representation = '¬' def __init__(self): super().__init__(operands=1, precedence=1) def apply(self, right): return not right def __repr__(self): return '¬'
[ "totufals@hotmail.com" ]
totufals@hotmail.com
5cd3e967959c0a4211a1c671d6336fbd4c832a7a
3288a3e1ac9fe24260e6eb3e54234cf1a9c6e33a
/model/rage.py
3941517a4a82de7a3cddb1758bb223a744cab090
[]
no_license
phamdinhkhanh/alltherage
691ea098cb485df84db230af1f0bb376e1a8201f
94f253dbc5b830dc9d1b76680c9b41a05a6c3f16
refs/heads/master
2021-01-23T14:49:57.214474
2017-07-30T09:23:38
2017-07-30T09:23:38
93,261,643
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
from mongoengine import * from flask_restful import Resource, reqparse import mlab class Rage(Document): name = StringField(); url = StringField(); description = StringField(); old_price = FloatField(); new_price = FloatField(); discount_rate = FloatField(); is_favorite = BooleanField(); ...
[ "phamdinhkhanh.tkt53.neu@gmail.com" ]
phamdinhkhanh.tkt53.neu@gmail.com
a05f388b7fed9deac9f7b8e1e5e439e90ec715a9
84d2efd222fa190c8b3efcad083dcf2c7ab30047
/test.py
fc24c2054c5968948fcc906e963e832aa2a418a6
[]
no_license
webclinic017/Capstone-2
aedfc8692647f2e84114da5b2e32856d0de80586
d476723f7893c7c5da14e24f28736a8f0ba7ff55
refs/heads/master
2023-01-23T06:44:36.868373
2020-12-03T19:44:51
2020-12-03T19:44:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,642
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np import sklearn.linear_model import scipy.stats as stats import pandas_market_calendars as mcal from alpha_vantage.timeseries import TimeSeries api_key = '8FIYTT49ZEZT2GV5' ts = TimeSeries(key=api_key, output_format='pandas') data, meta_da...
[ "noreply@github.com" ]
webclinic017.noreply@github.com
fe41e57f2ed88a9306816bc86c1326ed3f15f4a5
853d7901c4bdc7db8e655092c9939741b4f86161
/886.py
be36ff32f774dcec2059ca91e5828d87b1299df8
[ "MIT" ]
permissive
wilbertgeng/LeetCode_exercise
904d6a3f91d94f451b40f3760131aefaa8584b3b
f00c08e0d28ffa88d61d4262c6d1f49f1fa91ebc
refs/heads/main
2023-03-16T01:25:00.514922
2021-03-15T06:12:59
2021-03-15T06:12:59
347,856,240
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
"""886. Possible Bipartition""" class Solution(object): def possibleBipartition(self, N, dislikes): """ :type N: int :type dislikes: List[List[int]] :rtype: bool """ seen = {} self.graph = collections.defaultdict(list) for (u, v) in dislikes: ...
[ "wilbertgeng@gmail.com" ]
wilbertgeng@gmail.com
748c4782c7cd76f5ae63a10cc29668cecc5cb385
70fa4bc22afd3d0527888d382827c7c2e1269b8a
/examples/columbia_river_crossing.py
263f0b7f942ff977e4ec41aba47835a0ecbf4025
[ "BSD-2-Clause" ]
permissive
moorepants/EfficientRoutes
20029f19ed5ec79d484660d8f963f4e78d2d899d
2705b643b95cb7921dc3216d534aa5bdbff302a1
refs/heads/master
2020-04-06T06:47:52.698417
2012-06-28T09:12:30
2012-06-28T09:12:30
4,477,900
0
0
null
null
null
null
UTF-8
Python
false
false
3,056
py
#!/usr/bin/env python # This example compares two routes connecting Portland, Oregon to Vancouver, # Washington over a bridge across the Columbia River. The planned bicycle route # sends the bicyclist through various elevation changes and several yield # signs, stop signs, and traffic signals where as the automobiles ...
[ "moorepants@gmail.com" ]
moorepants@gmail.com
8aa1667e96ff01d3a43197b476b881ceb027dc8e
d3be0d693440c618d211bc3801a29b885041786a
/scripts/migrations/label_test.py
45e6a66c1d0b77179e304048114bec7d94c2c009
[ "Apache-2.0" ]
permissive
jimpallomeni/buck
9479b048e59ee1d0a78b3c0c30cb98af61920fe3
0d752267ca1ea6f93ac1966bac75e6168df0254c
refs/heads/master
2021-07-05T08:27:30.295952
2017-09-27T22:34:01
2017-09-28T00:18:46
105,082,899
0
0
null
2017-09-28T00:22:08
2017-09-28T00:22:08
null
UTF-8
Python
false
false
1,358
py
import label import unittest class LabelTest(unittest.TestCase): def test_can_parse_full_label_from_string(self): l = label.from_string('cell//package:name') self.assertEqual(l.name, 'name') self.assertEqual(l.package, 'package') self.assertEqual(l.cell, 'cell') def test_can_...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
6c7283f79ab27c859cffb7b7d39c93d67372cd59
164e0f43ef3ad4cb7f6b28dfdd2bfbaa66d38ce2
/Word_Pattern/Word_Pattern.py
c8e8770d0ef80e9476f394041e584d25a6bd9e7b
[]
no_license
maoxx241/code
b217f2d10065d90f52cfa38788c99e238565b892
16e97ec5ee7ae9ffa69da2e001d15a86d73d2040
refs/heads/master
2021-07-11T14:25:35.098241
2020-11-25T14:01:56
2020-11-25T14:01:56
222,544,519
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
class Solution: def wordPattern(self, pattern: str, str: str) -> bool: lst=str.split() if len(lst)!=len(pattern): return False dic={} for i,c in enumerate(pattern): if c not in dic: if lst[i] in dic.values(): return...
[ "maomaoyu870@gmail.com" ]
maomaoyu870@gmail.com
9ee85000310e262b188ffd12e9948483f3d681e7
7cb626363bbce2f66c09e509e562ff3d371c10c6
/multimodel_inference/py3_v1/sc3elsm.py
2d50cceedee31d0481ec347f123d4e6d48609f87
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
z0on/AFS-analysis-with-moments
76bfd6b0361ab7e9173144dbd21b6fa2c7bf1795
eea4735b3b6fbe31c4e396da3d798387884a1500
refs/heads/master
2023-07-31T20:49:20.865161
2023-07-19T06:57:32
2023-07-19T06:57:32
96,915,117
4
5
null
2020-09-02T17:39:08
2017-07-11T16:38:03
Python
UTF-8
Python
false
false
3,247
py
#!/usr/bin/env python3 # split, three epochs in each pop, asymmetric migration at same rates in all epochs # n(para): 11 import matplotlib matplotlib.use('PDF') import moments import pylab import random import matplotlib.pyplot as plt import numpy as np from numpy import array from moments import Misc,Spectrum,Numer...
[ "matz@utexas.edu" ]
matz@utexas.edu
661866a587111cbadec04ee46f867134a8b01025
ac192c0d64c31c33d76708b3f5a0062a842d59cf
/LearningCode/3_8_aroundTheWorld.py
ba68059b790cdb5bd2695a4bd3887c758b429be7
[ "Apache-2.0" ]
permissive
jercas/PythonCrashCourse
7a73c6af327b653581e9d260431b022a08923fb3
464cf1dfa4c33adc73e15e15a37da94da0912e19
refs/heads/master
2020-12-02T22:11:24.650904
2017-07-03T09:37:27
2017-07-03T09:37:27
96,094,771
1
0
null
null
null
null
UTF-8
Python
false
false
634
py
#coding=utf-8 #放眼世界P41 2017.4.11 myDreamPlace = ['losAngle','houston','newYork'] print('1.this is the oringle list') print(myDreamPlace) print('2.this is the sorted list') print(sorted(myDreamPlace)) print('now what?') print(myDreamPlace) print('3.this is the sorted and reverse list') print(sorted(myDreamPlace)) print(...
[ "jercas0618@163.com" ]
jercas0618@163.com
a5dae9eaf99e07f4a4f3bcdd368bb8a6b274af16
0857ee93b0a041bb38c635b71e456247982e18f0
/app/migrations/0001_initial.py
20b17abffc8af2b5cdf3a8f0e2ae4fc224399542
[]
no_license
ConnorFieldUser/single_page_secrets
932ae5f253c3c4742d3584ecb6a34e0776f5672e
e4acdc26e64999e9d351beda98fd4f6af91566b5
refs/heads/master
2020-07-26T21:48:56.960107
2016-11-10T17:15:48
2016-11-10T17:15:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-10 16:26 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "jtaddei@gmail.com" ]
jtaddei@gmail.com
74764b1315255cbdaa416559f8d622f03ccc9269
31c310ef2cedb0d7b7327668bdbff4b50b165e74
/app/__init__.py
2030ab9a162509c54f126c68431fcc06854e893f
[ "MIT" ]
permissive
wou-cs/wolfit
8ffacc5a4eb235d570f7f2042c4c731b4f145be5
cebf6a0676ae86ea9d37ad9e8b2fe1aa1535c498
refs/heads/main
2023-03-09T22:41:17.418489
2023-02-04T13:36:02
2023-02-04T13:36:02
136,679,479
2
14
MIT
2023-02-16T07:12:04
2018-06-09T01:05:52
Python
UTF-8
Python
false
false
580
py
import os import config from flask import Flask from flask_bootstrap import Bootstrap from flask_login import LoginManager from flask_migrate import Migrate from flask_sqlalchemy import SQLAlchemy from app.commands import sample_data app = Flask(__name__) app.config.from_object(config.Config) app.config.from_envvar('...
[ "chris@chrisbrooks.org" ]
chris@chrisbrooks.org
fb33ad47c4b0d1dbaab994ac4d7707c1c15ad619
4ac6808e6153dceebd6271c017f9613818866da5
/app/__init__.py
7b12aec453ef6cc0483e2eb1f4a1bdf6ff520c4f
[ "MIT" ]
permissive
quanpower/xielaoban-server
59d9331737c79163f0d4bd352bdcfc900c2e0c0c
584eaa6c049a9d664efaf60cd23273147d0a5c6e
refs/heads/master
2022-12-09T20:59:20.466225
2018-02-10T15:30:17
2018-02-10T15:30:17
120,546,895
1
0
MIT
2022-12-08T00:44:41
2018-02-07T01:36:25
Python
UTF-8
Python
false
false
4,018
py
from flask import Flask from flask_bootstrap import Bootstrap from flask_mail import Mail from flask_moment import Moment from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager from flask_pagedown import PageDown from config import config from flask_admin import Admin, BaseView, expose from flask_...
[ "quanpower@gmail.com" ]
quanpower@gmail.com
7926b45512fe41390359b55d5dc715655d19920f
72b74f66f83239a928bf049c0dd6e47576e57bae
/NLP/word2vec/data_processing/__init__.py
26e9b2e5b6b5f6c6a8227cbaffee616283614ce3
[]
no_license
InsaneLife/DeepLearning
7934056682e4fec7f3241dd2d4fbe1b4c5f192d2
4b60fe40587b96ba2a351c1b3cb832d03c2071ab
refs/heads/master
2022-10-08T08:18:19.633449
2017-08-30T10:47:05
2017-08-30T10:47:05
65,697,666
2
4
null
2022-09-30T21:55:05
2016-08-15T02:16:34
C++
UTF-8
Python
false
false
736
py
# coding=utf8 # author = 'Aaron Chou' import sys import zipfile reload(sys) sys.setdefaultencoding('utf-8') # filename = '../../../..//data/NLP/sougou/news_oneline.txt' # with open(filename) as f: # data = f.readline().decode('utf-8') # # # filename = '../../../../data/word2vec/text8.zip' # with zipfile.ZipFile(...
[ "993001803@qq.com" ]
993001803@qq.com
736f4698de804a541c0980b218de7e032a7725b7
6618febe7d31b263acf2006dae748ce25fb03cfc
/fileparsers.py
3ff51617fc82d199d0a93c62a7b2c5cbccf578a2
[]
no_license
breecummins/PatternMatch
d8312d95d119ea8e373ed3f1ff5be9350fb543ed
061b87fea1ef52825d4dba3af675d1a44af0f20c
refs/heads/master
2021-01-17T09:42:04.173524
2016-06-02T17:04:57
2016-06-02T17:04:57
31,024,366
0
0
null
null
null
null
UTF-8
Python
false
false
2,607
py
# The MIT License (MIT) # Copyright (c) 2015 Breschine Cummins # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, m...
[ "breecummins@gmail.com" ]
breecummins@gmail.com
884b606858c44db1fa41bb8f88a377326eb04a69
27722ac879b3416a0919dce80d4ec4f2a5c93c97
/adafruit_pixie.py
739cd33384b7309d19e4b59d60c04d7e4daf4f47
[ "MIT" ]
permissive
makermelissa/Adafruit_CircuitPython_Pixie
ee3d5b5861dcf5283b67053c18ce23eb06b88ee9
2bdfcf52d8861befc47f433b660f372c20a23d2d
refs/heads/master
2020-04-25T06:57:24.144082
2019-02-25T22:57:25
2019-02-25T22:57:25
172,598,614
0
0
MIT
2019-02-25T22:54:35
2019-02-25T22:54:35
null
UTF-8
Python
false
false
4,674
py
# The MIT License (MIT) # # Copyright (c) 2016 Damien P. George (original Neopixel object) # Copyright (c) 2018 Ladyada # # 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, ...
[ "kattni@adafruit.com" ]
kattni@adafruit.com
ed629e71203af591f84402090e41ad720808065a
10e8b0b82c429593449f5b3f0ee6efca6d403870
/Old_Pando/HRRR_downloads/old_dwnld_scripts/download_hrrr.py
4df7e0c8549423f3e27555f7099459c2528e0af5
[]
no_license
janmandel/HorelS3-Archive
7bf50ba2e65812857ea857bc2d033c2a661273e4
73f765de5358352ea9d87d76275c5cfb67a5cf43
refs/heads/master
2020-03-28T11:24:45.375321
2018-09-06T21:17:15
2018-09-06T21:17:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,249
py
# Brian Blaylock # February 27, 2017 """ Downloads the operational HRRR from NCEOP NOMADS server A re-write of the "get_hrrr.csh" script in python. """ import urllib from datetime import datetime, timedelta import os import stat # ---------------------------------------------------------------------------- # ...
[ "blaylockbk@gmail.com" ]
blaylockbk@gmail.com
5b932c5056e7bd1fe88edd01c629c4c593215858
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03026/s629929775.py
95360d8a62b73cf93e76bfc9c8e613d053dfdfeb
[]
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
500
py
N = int(input()) L = [list(map(int,input().split())) for k in range(N-1)] c = sorted(list(map(int,input().split()))) a = sum(c) - c[-1] T = [[] for k in range(N)] for e in L: T[e[0]-1].append(e[1]-1) T[e[1]-1].append(e[0]-1) kyori = [-1 for k in range(N)] que = [L[0][0]] kyori[L[0][0]] = c.pop() while len(que...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ed09351b57eec7ced5b4c69fadb372f03896c127
37fef592f365194c28579f95abd222cc4e1243ae
/streamlit/venv/lib/python3.7/site-packages/streamlit/proto/PageInfo_pb2.py
c550c50579acc89520cbfcfbccf60c1c2162d8de
[]
no_license
edimaudo/Python-projects
be61e0d3fff63fb7bd00513dbf1401e2c1822cfb
85d54badf82a0b653587a02e99daf389df62e012
refs/heads/master
2023-04-07T03:26:23.259959
2023-03-24T12:03:03
2023-03-24T12:03:03
72,611,253
4
3
null
2022-10-31T18:10:41
2016-11-02T06:37:17
null
UTF-8
Python
false
true
1,978
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: streamlit/proto/PageInfo.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_data...
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
77fe07d5e52bfe2f60ffef3a17d87c9c4778edbb
fa32f7fe4068323b719725558423927ad307cc4b
/build_isolated/roslaunch/catkin_generated/pkg.develspace.context.pc.py
2b96196666b66142663c46a34c0c8bcc818b81b6
[]
no_license
CJohnson5136/ros_catkin_ws
d07ee8c20bc1ebe6c05abdea24ef1f5dab14954b
05193a7e587ab82e696c66176b151c43d2bcef82
refs/heads/master
2021-05-09T03:05:12.373334
2018-01-28T03:13:33
2018-01-28T03:13:33
119,227,181
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "roslaunch" PROJECT_SPACE_DIR = "/home...
[ "cody.johnson@ucollege.edu" ]
cody.johnson@ucollege.edu
e2b23a1391b17cde86fbd36afbff414773d9903b
a66c079f250c5469e01b5ec5b00a795dbc9fa9a0
/blog/admin.py
8c315f065ee59a47926fb5507af9892b991febc6
[ "MIT" ]
permissive
Cpeters1982/MillGeekV2
b925f013ae9b95827bfc304a57b0e0dceabd7544
e08a1366bbe732b0d7fc7a7802cd54ff1d1091bf
refs/heads/master
2021-08-06T14:45:57.616281
2017-11-06T06:38:11
2017-11-06T06:38:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import Post class PostAdmin(admin.ModelAdmin): list_display = ('title', 'slug', 'author', 'publish', 'status') list_filter = ('status', 'created', 'publish', 'author') search_fields = ('title', 'body') p...
[ "chiefautoparts@outlook.com" ]
chiefautoparts@outlook.com
8a6970567b9013782b84557a586c6ce62b9f05a7
2d23c271ec1a226bb345c23d7b2671ec021e9502
/Triangle.py
74991744eea783b53c8a6721026897aac3e70a7c
[]
no_license
chenlanlan/leetcode
2e6aec0846ed951466bcd2c2e4596c998faca8e4
d02478853c32c29477f53852286c429c20f1424e
refs/heads/master
2016-09-08T05:07:46.904441
2015-07-12T05:41:15
2015-07-12T05:41:15
32,845,795
5
1
null
null
null
null
UTF-8
Python
false
false
790
py
#!/usr/bin/python class Solution: # @param triangle, a list of lists of integers # @return an integer def minimumTotal(self, triangle): sum = triangle ans = triangle[0][0] for i in range(1, len(triangle)): for j in range(0, i + 1): if j == 0: ...
[ "silan0318@163.com" ]
silan0318@163.com
44e995678e486ed927b284dd2cac84cdbca80e09
a722faf9fb50c794555861bb4858c3ed8a7a25f3
/sandbox/peachpy_avx_practice/logic.py
c3fc2c739060b29e44d01407d874555685f434b3
[]
no_license
ar90n/lab
31e5d2c320de5618bc37572011596fee8923255d
6d035e12f743e9ba984e79bfe660967b9ca8716b
refs/heads/main
2023-07-25T17:29:57.960915
2023-07-22T12:08:18
2023-07-22T12:08:18
77,883,405
4
0
null
2023-07-17T08:45:14
2017-01-03T04:15:49
Jupyter Notebook
UTF-8
Python
false
false
1,678
py
from peachpy import * from peachpy.x86_64 import * import numpy as np import ctypes def gen_andnot_ps(): x = Argument(ptr(const_float_)) y = Argument(ptr(const_float_)) z = Argument(ptr(float_)) with Function("AndNot", (x, y, z), target=uarch.default + isa.avx2) as asm_function: reg_x = Gener...
[ "argon.argon.argon@gmail.com" ]
argon.argon.argon@gmail.com
f714a0095b6e307d7d0c605551e5062b707f474e
644d9ef18713e4cb5d4c3b53301bd7276dcdf477
/api/programs/views/shared_files.py
16753e871ff23a7486b45fe52c1b5af4a82dca6c
[]
no_license
alexhernandez-git/django-classline
6cb5bcd268248999e18037f58c4ed30012d51915
49fcf0c6d735a56eaebc17d04be52dab91ca4c3a
refs/heads/master
2023-03-18T07:10:08.770066
2021-03-04T22:24:09
2021-03-04T22:24:09
287,985,028
0
0
null
null
null
null
UTF-8
Python
false
false
2,552
py
"""Program views.""" # Django REST Framework from rest_framework import mixins, viewsets, status, filters from rest_framework.response import Response from rest_framework.decorators import action from rest_framework.filters import SearchFilter, OrderingFilter from django_filters.rest_framework import DjangoFilt...
[ "vlexhndz@gmail.com" ]
vlexhndz@gmail.com
6e1f6880a6caf5cffabb380e12829f1606c3e98f
942ee5e8d54e8ebe9c5c841fbfdd1da652946944
/1501-2000/1751.Maximum Number of Events That Can Be Attended II.py
9344ddbdab3c4b8f5e076a9e4c18942fe3232650
[]
no_license
kaiwensun/leetcode
0129c174457f32887fbca078fb448adce46dd89d
6b607f4aae3a4603e61f2e2b7480fdfba1d9b947
refs/heads/master
2023-08-31T07:30:50.459062
2023-08-27T07:59:16
2023-08-27T07:59:16
57,526,914
69
9
null
2023-08-20T06:34:41
2016-05-01T05:37:29
Python
UTF-8
Python
false
false
756
py
import functools, collections, bisect class Solution: def maxValue(self, events: List[List[int]], k: int) -> int: end2eid = collections.defaultdict(list) for i in range(len(events)): end2eid[events[i][1]].append(i) end_days = list(sorted(end2eid.keys())) @functools.lru_...
[ "skw_kevin@126.com" ]
skw_kevin@126.com
a9ef067613f57b825d3533520dc3ed43f8292ccf
c0bf1f7ca6d9d7562f72b4a668e97a2d5ffe7c88
/examples/thread_matmul_ipxact/thread_matmul_ipxact.py
0ce4d4f6801adc0539c36f4b0974578f5403318c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
00mjk/veriloggen
cee0da16182c3c9bd95340a966d6a3febc0e7ad1
9d0af9638470b3b85cbf9cb53f16b853932571c8
refs/heads/master
2023-06-23T07:10:20.645734
2021-07-18T14:53:13
2021-07-18T14:53:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,682
py
from __future__ import absolute_import from __future__ import print_function import sys import os import numpy as np # the next line can be removed after installation sys.path.insert(0, os.path.dirname(os.path.dirname( os.path.dirname(os.path.abspath(__file__))))) from veriloggen import * import veriloggen.thread...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
694cbb1a9d0f58df9ff2f2a939cac87b4136ff2c
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/zactionConst.py
e0a0d9c1bc4143546dda68c8a1f4581f9655fb66
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,359
py
#Embedded file name: zactionConst.py """ Constants for the Action System """ ACTION_SCHEMA = 'zaction' _ACTION_PREFIX = ACTION_SCHEMA + '.' _ACTION_TREE_TABLE_NAME = 'trees' _ACTION_TREE_TABLE_FULL_PATH = _ACTION_PREFIX + _ACTION_TREE_TABLE_NAME _ACTION_TREE_LINK_TABLE_NAME = 'treeLinks' _ACTION_TREE_LINK_TABLE_FULL_PA...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
2d8ff7c75391eb1e4653770f6cae51129252f4a2
8ff5bd7d22b578678fe7225a84f82cea5eafa25a
/Backend/todoapps/todo/apps/forms.py
f4b8eed46fe38dbebdb1842a7b754f591f1a3bf1
[]
no_license
Jayson7/Mumswhocode-bootcamp-frontend-basics
33639eb40b48cba6aca99ca4d60e7119ab9739bf
de05098e44c13077a9402074811525d53b580b9c
refs/heads/master
2023-08-15T03:45:07.848603
2021-09-09T22:58:27
2021-09-09T22:58:27
399,247,043
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
from django.forms import ModelForm from .models import Todo class Todoforms(ModelForm): class Meta: model = Todo fields = "__all__"
[ "lexxiijoo70@gmail.com" ]
lexxiijoo70@gmail.com
0c8715456aea5a32d0a4f5330b7b558b9fd2d9ca
5acc2eb70ed8b755d7f6b62b65a09cc29b661271
/Aula 10/atv01.py
c376629dd2744f4bba8899ed5d2c8d19113ba60a
[]
no_license
Yuri-Santiago/sor-python-ifce-p7
07d1a30f2c304a0a11a2a39b40784cc543f4a18c
ccd3460ecab580e23fb41921ee7cc284d7212aef
refs/heads/master
2023-05-28T08:32:13.188126
2021-06-06T22:20:14
2021-06-06T22:20:14
350,816,877
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
""" 1 - Criar uma classe que modele retângulos. 1. Atributos: LadoA, LadoB (ou Comprimento e Largura, ou Base e Altura, a escolher) 2. Métodos: Mudar valor dos lados, Retornar valor dos lados, calcular Área e calcular Perímetro; 3. Crie um programa que utilize esta classe. Ele deve pedir ao usuário que info...
[ "yurimateussantiago@gmail.com" ]
yurimateussantiago@gmail.com
0afcf429e50ba86c7d155d63ceed8647dcab0bf3
3327a87cefa2275bd0ba90a500444f3494b14fdf
/bwu/stack/225-implement-stack-using-queues.py
4bc2aee9364af8063e2c1b101d5f1e0e53ac5d4d
[]
no_license
captainhcg/leetcode-in-py-and-go
e1b56f4228e0d60feff8f36eb3d457052a0c8d61
88a822c48ef50187507d0f75ce65ecc39e849839
refs/heads/master
2021-06-09T07:27:20.358074
2017-01-07T00:23:10
2017-01-07T00:23:10
61,697,502
1
0
null
null
null
null
UTF-8
Python
false
false
761
py
class Stack(object): def __init__(self): """ initialize your data structure here. """ self.queue1, self.queue2 = [], [] def push(self, x): """ :type x: int :rtype: nothing """ self.queue1.append(x) def pop(self): """ ...
[ "noreply@github.com" ]
captainhcg.noreply@github.com
df2e7687f497b9de3efad226520196e5f835d697
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Logit/trend_ConstantTrend/cycle_5/ar_12/test_artificial_1024_Logit_ConstantTrend_5_12_0.py
5b95e6cd8a0927e6f837267cb4099daf8fe96f20
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
265
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 5, transform = "Logit", sigma = 0.0, exog_count = 0, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
4d2e063d60ff9fe1c6e29ab07f13137c1edbbd48
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/swaggeraemosgi/model/org_apache_sling_event_impl_eventing_thread_pool_properties.py
8ded9a93c3374c856f6e681fbdcda9df8a966b64
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
6,961
py
""" Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0-pre.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-generator.t...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
326b4bbd99f9eed9bff3b4bb454476f0beb387c0
7d8900637a800d0efa2e1d6a9d4fe877943fdabf
/dudu/add.py
cfcb0a5d3c3f51cc3bb33468b54af380d8a287cd
[ "MIT" ]
permissive
vollov/python-test
d66e0b101f3a664d2d0d33591af8af7134afabd6
864896f8ccedb28e15c4962d8983862e9a0e6d77
refs/heads/master
2021-07-19T03:15:45.026613
2021-02-12T18:24:22
2021-02-12T18:24:22
46,740,187
1
0
null
null
null
null
UTF-8
Python
false
false
634
py
# add two numbers a and b, and return a+b # para: # a - integer number # b - integer number # return: a number which is sum of a and b # def add(a, b): print("OK") return a+b print("NOT OK") # here im going to make a subtracting function # input: # a - integer # b - integer # return: a-b...
[ "dike.zhang@gmail.com" ]
dike.zhang@gmail.com
bbe8ca1d65b3a671fbd2432b250d18df17ed5c27
8004b7468ad46a6330192985f1f9e3a45cc1d2c2
/databasenote/第一周/第三天/复习.py
9ba787c38c5ac08b4d75305be9ffb55897966a62
[]
no_license
yuemeiss/database
d9704f90127cfd27b92f62a251c213a8d6bc93eb
5f2304cf72330d6102124755cbc1ff5d14c77a77
refs/heads/master
2020-03-27T23:14:47.532297
2018-12-11T02:28:04
2018-12-11T02:28:04
147,304,562
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
1.数据库的技术的发展 2.相关概念:    数据库:    数据库系统:    数据库管理系统:    为什么使用mysql: SQL 数据库语言 3.什么是mysql数据库?   mysql的优势?   是一款开源的自由的软件   是一款多用户、多线程的SQL数据库服务器   能够快捷、高效、安全的处理大量数据,使用简单,易操作   跨平台,可移植型强   支持多种操作系统   为多种编程语言提供了API 4. 安装mysql、启动、连接 5. 创建数据库、修改数据库、删除数据库 6.数据库的存储引擎(三大引擎)和数据库的字段类型(数字、字符串、日期) 7.数据库表的创建、删除、修改 创建表(字段、参数类型、为空、不...
[ "1083027306@qq.com" ]
1083027306@qq.com
5ffc3d3bf7c7b8c6b4ccf0ee7f773bdbb5fed2f3
a10377a6d0c7576b9e47209f49dea398181f73fe
/extras/qpsclient.py
f399f7aa38285299a94de567adbf9fa214f42306
[ "BSD-3-Clause" ]
permissive
zymITsky/ants
14077dab214aff543bbc75a059240dd55f656916
52918d18c94a9a69c3b2495286e3384ba57ad6f8
refs/heads/master
2020-06-01T11:04:53.520288
2015-02-03T08:09:59
2015-02-03T08:09:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,526
py
""" A spider that generate light requests to meassure QPS troughput usage: scrapy runspider qpsclient.py --loglevel=INFO --set RANDOMIZE_DOWNLOAD_DELAY=0 --set CONCURRENT_REQUESTS=50 -a qps=10 -a latency=0.3 """ from ants.spider import Spider from ants.http import Request class QPSSpider(Spider): name = ...
[ "cong.wang@tqmall.com" ]
cong.wang@tqmall.com
b5329073e1fc97c5ba35195a87c08968c20a55b4
6fe2d3c27c4cb498b7ad6d9411cc8fa69f4a38f8
/algorithms/algorithms-python/leetcode_easy/Question_821_Shortest_Distance_to_a_Character.py
33695fa6230f0a4b098de6ed4589ea8ce26b3954
[]
no_license
Lanceolata/code
aae54af632a212c878ce45b11dab919bba55bcb3
f7d5a7de27c3cc8a7a4abf63eab9ff9b21d512fb
refs/heads/master
2022-09-01T04:26:56.190829
2021-07-29T05:14:40
2021-07-29T05:14:40
87,202,214
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
#!/usr/bin/python # coding: utf-8 class Solution(object): def shortestToChar(self, S, C): """ :type S: str :type C: str :rtype: List[int] """ n, pos = len(S), -len(S) res = [n] * n for i in range(n): if S[i] == C: pos = i ...
[ "lanceolatayuan@gmail.com" ]
lanceolatayuan@gmail.com
6dc15d918ffa46a255df6032022b7e89718fe9b3
1cb2b8bf6f244f67e3b867a74a6297556b5e0167
/rmatics/view/protocol.py
f076bf3da0140903d3b344160a7d59b880c09656
[]
no_license
ElinRin/informatics-alive
82f1be65e88860bc4b170b72da39811d30a681e6
59a0d1537b90481c2750a05172557bd88fcdcc98
refs/heads/master
2020-03-28T22:39:41.979770
2018-09-24T10:56:26
2018-09-24T10:56:26
149,248,491
0
0
null
2018-09-24T10:56:27
2018-09-18T07:44:24
Python
UTF-8
Python
false
false
8,016
py
import time import traceback from collections import OrderedDict from flask import ( g, jsonify, Blueprint ) from sqlalchemy import and_ from rmatics.model import db from rmatics.model.ejudge_run import EjudgeRun from rmatics.model.statement import Statement from rmatics.utils.exceptions import ( Inter...
[ "n.pakhtusov@tinkoff.ru" ]
n.pakhtusov@tinkoff.ru
b77f5b032f953ed006c22bb0b7765506412aad56
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/LeetcodePythonProject_with_solution/leetcode_0801_0850/LeetCode818_RaceCar.py
8973cff01e19bfcaf0a4885b70d166e80525fb5d
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
941
py
''' Created on May 1, 2018 @author: tongq ''' c_ Solution(o.. ___ - hashmap {0:0} ___ racecar target """ :type target: int :rtype: int """ __ target __ hashmap: r.. hashmap[target] # Number of bits necessary to represent self in binary. n ta...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
1243495e4d86517d0efab71f93b5ef8c5692f8c5
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv2/lib/python3.8/site-packages/ansible/modules/database/influxdb/influxdb_user.py
6b78276dbad5b9feb48f678066ed402dec5dee69
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
5,248
py
#!/usr/bin/python # (c) 2017, Vitaliy Zhhuta <zhhuta () gmail.com> # insipred by Kamil Szczygiel <kamil.szczygiel () intel.com> influxdb_database module # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __meta...
[ "sifang@cisco.com" ]
sifang@cisco.com
adfe58513a6fe2e4b6bbf9df0757e94a5dc4e27a
d735b8354e06eb26aa5ed0ac25ebf96bdd8d67b6
/python16/day1-21/day006 小数据池和编码/02 作业讲解.py
8d5be45087e50789765e5e05c7d549a69cf11dba
[]
no_license
cn5036518/xq_py
e004766e6b2582ba37d7335320ed6b42f563c46c
ac932dc7fcb89a7a7faf8bda80791743755fd557
refs/heads/master
2021-07-15T18:44:19.244025
2020-09-12T09:38:25
2020-09-12T09:38:25
208,355,433
0
0
null
null
null
null
UTF-8
Python
false
false
4,879
py
#重点题目回顾和重写 # 5、元素分类 # 有如下值li= [11,22,33,44,55,66,77,88,99,90], # 将所有大于 66 的值保存至字典的第一个key中, # 将小于 66 的值保存至第二个key的值中。 # 即: {'k1': 大于66的所有值列表, 'k2': 小于66的所有值列表} #方法1 空字典{} 空列表 好理解 li= [11,22,33,44,55,66,77,88,99,90] dic1 = {} li1 = [] li2 = [] for i in li: if i > 66: li1.append(i) #空列表追加 else: ...
[ "wangtongpei@meicai.cn" ]
wangtongpei@meicai.cn
8e6ee2d167ba76946304901f9b857a62506894e4
0cb08e9532758cbec1afe20eb41028d5f276e82d
/gs37(nested serializer )/api/admin.py
e3c0a4b8c2a8cde9f8fa47e15ccefb3248d11be7
[]
no_license
P-iyushRaj/Django-Rest-Framework
1eca586ee6ded4720e8f1845c9c9cac06d637492
9d7e754156739118f725ab431d25bdde63ebd91d
refs/heads/master
2023-03-15T05:27:37.352592
2021-03-08T09:27:46
2021-03-08T09:27:46
345,599,375
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
from django.contrib import admin # Register your models here. from .models import Singer, Song @admin.register(Singer) class SingerAdmin(admin.ModelAdmin): list_display=['id', 'name', 'gender'] @admin.register(Song) class SongAdmin(admin.ModelAdmin): list_display = ['id', 'title', 'singer', 'duration']
[ "piyush@gmail.com" ]
piyush@gmail.com
f24665f25700be68e4a637774b61b744257416cb
37fef592f365194c28579f95abd222cc4e1243ae
/streamlit/venv/lib/python3.7/site-packages/plotly/graph_objs/scattermapbox/_line.py
24de4166109b0586711d43349e01d8f14fa88d1b
[]
no_license
edimaudo/Python-projects
be61e0d3fff63fb7bd00513dbf1401e2c1822cfb
85d54badf82a0b653587a02e99daf389df62e012
refs/heads/master
2023-04-07T03:26:23.259959
2023-03-24T12:03:03
2023-03-24T12:03:03
72,611,253
4
3
null
2022-10-31T18:10:41
2016-11-02T06:37:17
null
UTF-8
Python
false
false
5,567
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Line(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "scattermapbox" _path_str = "scattermapbox.line" _valid_props = {"color", "width"} # color...
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
b4c5e3e144d510a232590523f174411f1d2e2336
b1c7a768f38e2e987a112da6170f49503b9db05f
/userprofile/migrations/0004_profile_date.py
d3cd49baf2783abbc91a484f53e46ccd13a7639a
[]
no_license
Niladrykar/bracketerp
8b7491aa319f60ec3dcb5077258d75b0394db374
ca4ee60c2254c6c132a38ce52410059cc6b19cae
refs/heads/master
2022-12-11T04:23:07.504966
2019-03-18T06:58:13
2019-03-18T06:58:13
176,218,029
1
0
null
2022-12-08T03:01:46
2019-03-18T06:27:37
JavaScript
UTF-8
Python
false
false
495
py
# Generated by Django 2.0.6 on 2018-09-19 07:05 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('userprofile', '0003_auto_20180915_1222'), ] operations = [ migrations.AddField( model_name='profile...
[ "niladry.kar85@gmail.com" ]
niladry.kar85@gmail.com
4a81108d031b334c2ee7e35ff0f338776b47c049
9a0e2312236b628007a67c07164ea7b97207e47c
/col/apps/logpoint_agent_collector/logpoint_agent_collector.py
e1650f10b279daff06f16f5235310f5f6c184d17
[]
no_license
laxmi518/network_project
d88b9fe73522deaa90c1dbfd22c6861020a6c7be
2e998338f3d1142a8098d3dfd35f4c8ad0e4ba00
refs/heads/master
2020-05-21T15:48:07.830107
2018-05-09T18:58:37
2018-05-09T18:58:37
84,631,818
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
#!/usr/bin/env python import logging from pylib.wiring import gevent_zmq as zmq from lib import fi_collector from fi_applications import make_zip from pylib import conf, wiring, textual log = logging.getLogger(__name__) def _parse_args(): options, config = conf.parse_config() return config def _prepare_a...
[ "laxmi.jhapa@gmail.com" ]
laxmi.jhapa@gmail.com
86124ffe93f07eff65064bf4b695bf53599a00e4
e70bc88ccc01a7616016d085a96f8f8c81ade50c
/tests/test_changelog.py
b3c324c81487c1c47a64f856f938f5422e291cae
[ "BSD-3-Clause" ]
permissive
justcalamari/rever
1dc9b51c8338c3fb53c7c7adbb0eac59de2a8305
8bea796991a6ed354d45b053064324659b1f2b38
refs/heads/master
2021-04-29T19:34:57.352326
2018-02-28T04:59:59
2018-02-28T04:59:59
121,580,667
0
0
null
2018-02-15T01:26:15
2018-02-15T01:26:14
null
UTF-8
Python
false
false
2,976
py
"""Tests the changelog activity.""" import os from rever import vcsutils from rever.logger import current_logger from rever.main import env_main REVER_XSH = """ $ACTIVITIES = ['changelog'] $DAG['changelog'].kwargs = { 'filename': 'CHANGELOG.rst', 'ignore': ['TEMPLATE.rst'], 'news': 'nuws', } """ CHANGEL...
[ "scopatz@gmail.com" ]
scopatz@gmail.com
e2f31f47bc3e6ca77641e3545093fb0f071d4f07
ee4f74535a92687f51ebc77eee24408d8c925488
/blog/models.py
9966438cc7b73478e3cdafeec56ccc5a5f2f2eff
[]
no_license
sandeepshiven/portfolio_project
ae617d2703c072e0e8c7ff1e1bf92de1b963f0e5
09e53d2594aed81876be84eea4339a5f2150bfb5
refs/heads/master
2022-12-01T02:20:39.305145
2019-12-19T14:26:19
2019-12-19T14:26:19
227,981,293
0
0
null
2022-11-22T04:55:01
2019-12-14T07:07:26
HTML
UTF-8
Python
false
false
382
py
from django.db import models # Create your models here. class Blog(models.Model): title = models.CharField(max_length=50) pub_date = models.DateTimeField() body = models.TextField() image = models.ImageField(upload_to = 'images/') def __str__(self): return self.title def summary(self...
[ "sandeepshiven0@gmail.com" ]
sandeepshiven0@gmail.com
eb3dd994a59471aa0ad713fb833febeade24fb65
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/Others/snuke/snuke21/a.py
68e931ecf644f095aa53460d65c107a576f9d12e
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
325
py
# -*- coding: utf-8 -*- def main(): from math import sqrt n = int(input()) q = 1 + 8 * n if int(sqrt(q)) ** 2 == q: if (-1 + int(sqrt(q))) % 2 == 0: print((-1 + int(sqrt(q))) // 2) else: print(-1) else: print(-1) if __name__ == '__main__': ma...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
b155d7cd688658411d1e3a3aa742052fb2a20181
01ac3dadac08b258af33f3e8d2f64229a8d5259a
/unit_tests/neb/pys_chk/RIB2PLYP/BOLi_LiBO_FIRE.py
820a1bcc1dd2f97c4fbdcadf0531dd269d6c5171
[]
no_license
jminuse/clancelot
245f468dd87afe4e2d6ba2d518fe7b20754af7ac
82b4b3afc742d65aaddfce936f94137b0e4f628c
refs/heads/master
2021-01-23T14:03:46.811820
2016-09-20T19:14:50
2016-09-20T19:14:50
36,739,780
1
3
null
2016-04-04T14:38:50
2015-06-02T14:42:47
Python
UTF-8
Python
false
false
387
py
import sys import files, neb fptr = 'BOLi_LiBO' frames = files.read_xyz('/fs/home/hch54/clancelot/unit_tests/neb/xyz/'+fptr+'.xyz') opt = 'FIRE' route = '! RI-B2PLYP D3BJ def2-TZVP def2-TZVP/C Grid3 FinalGrid5' run_name = fptr[:fptr.find('.xyz')] + '_' + opt neb.neb(run_name, frames, route, opt=opt, maxiter=1000, gto...
[ "hherbol@gmail.com" ]
hherbol@gmail.com
c4cb5e306919ee5c35fed911e857689a646c585b
1e9ad304868c2bda918c19eba3d7b122bac3923b
/kubernetes/test/test_v1_service_status.py
d5f786c2cbf01b2f85e8b1121bed9faa4be4318d
[ "Apache-2.0" ]
permissive
pineking/client-python
c77e5bd3d476ac852e6dffa96056008baa0f597f
74a64d7325518f4298600d4bb300f92843c29347
refs/heads/master
2021-01-22T22:16:27.368406
2017-03-15T08:21:21
2017-03-15T08:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os impor...
[ "mehdy@google.com" ]
mehdy@google.com
06f0a4da06e156333a6a8b4a2dbbca61d50e8de5
99117515c0410cea29357adfdf71aa628241ece1
/posts/tests.py
77595ac51b8b58c5fe0042066b95086632b8d949
[ "MIT" ]
permissive
kangsLee/9XD
e3a774184381a03722f09a4bed86132b67845118
f80ea88f85f4cc677c7d1b404101e2ffe8b538ea
refs/heads/master
2021-04-28T23:42:13.918903
2016-12-30T16:16:29
2016-12-30T16:16:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
from test_plus.test import TestCase from posts.factories import PostFactory class PostsTest(TestCase): def test_get_list(self): post = PostFactory() post_list_url = self.reverse('post:list') self.get_check_200(post_list_url) self.assertResponseContains(post.title, html=False) ...
[ "chm073@gmail.com" ]
chm073@gmail.com
9931d68bde183982f725f119901d39bc281b0f83
5d36864f5f9f1b737c4718703ee53c3aa715e398
/CourseGrading/3.2.11整数列表排序.py
1505665fa902de210a4dfcebd676dabf3f5b4234
[]
no_license
xzl995/Python
d909274c9aba8ae9f18029a5f2069b1bb3418b9a
48d4add7a1d46b2e3773bdf096e834852115014d
refs/heads/master
2020-04-14T11:51:35.407548
2019-01-02T10:54:55
2019-01-02T10:54:55
163,824,702
4
1
null
null
null
null
UTF-8
Python
false
false
457
py
""" 【问题描述】 输入一组整数,从小到大排序后,输出排序结果。 【输入形式】 一行。一组用空格隔开的整数。 【输出形式】 一行。一组用一个空格隔开的整数,从小到大排列。 【样例输入】 9 8 7 6 【样例输出】 6 7 8 9 【提示】 用列表的sort方法。 """ num = input().split() list = [] for n in num: list.append(int(n)) list.sort() print(" ".join(str(i) for i in list))
[ "595696893@qq.com" ]
595696893@qq.com
135ba6b27144192daf557049497729eec9ce5091
5bcee9248d0bdebb134c61b4d0a3f3113337a569
/IV_term/02_lesson_2704/02_turtle_commands.py
34fc4f3dc65273ce01d64bb61b8de0376dda47e6
[]
no_license
100ballovby/6V_Lesson
c2edbc652ea2ebec07eeed60060c16ae4b4792e4
4b6dfda323a628558bd63bd5569960004fc335dd
refs/heads/master
2023-05-08T07:49:14.569854
2021-05-25T06:40:53
2021-05-25T06:40:53
330,888,686
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
from turtle import * tina = Turtle() tina.shape('turtle') tina.fd(100) # .fd(step), .forward(step) пойти вперед step шагов tina.lt(45) # .lt(deg), .left(deg) повернуть влево на deg градусов tina.bk(120) # .bk(step), .backward(step) пойти назад step шагов tina.rt(90) # .rt(deg), right(deg) повернуть вправо на deg ...
[ "greatraksin@icloud.com" ]
greatraksin@icloud.com
f1ae77ce6c8a31bdb0e7fbe79377aaef1b871b5d
b0bb5a3e1bd4efc3bdc035f477c2b14c40b3d62a
/blog/templatetags/blog_tags.py
f6655ef002989018795274f5d168b3d84b2eb876
[]
no_license
yuansuixin/Myblog_Python
45c0bd610ab3dbbcdc10b4b4b9e45589f178ce29
a6b0c526371def0aab8fd7251517a97ce215168c
refs/heads/master
2021-09-05T21:02:37.227342
2018-01-31T01:31:14
2018-01-31T01:31:14
114,453,469
0
0
null
null
null
null
UTF-8
Python
false
false
871
py
from django import template from ..models import Post,Category,Tag from django.db.models.aggregates import Count from blog.models import Category register = template.Library() @register.simple_tag def get_recent_posts(num=5): return Post.objects.all().order_by('-created_time')[:num] @register.simple_tag def ar...
[ "cyss428@163.com" ]
cyss428@163.com
5e3a365993b2027bd0ca4a439c8b29a1a03cc4e5
db54727e37a0928ed698171e862ad274b99a02b1
/get_angelist_jobs_by_location.py
a8f0282858b2fbff8abaa29e875b1ae5bc664c2a
[ "MIT" ]
permissive
tibbetts/sfba-compensation
6514a58c004b468c5eb0b204087d5a1d8d168a12
89a36391c7dd778b6343e67c2f8d587651b1d7f2
refs/heads/master
2020-04-05T23:46:12.264717
2016-06-01T05:09:35
2016-06-01T05:09:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,524
py
import urllib2 import json import datetime import csv import time #https://api.angel.co/1/tags/151282/jobs?access_token=xxx access_token = "<FILL IN>" # DO NOT SHARE WITH ANYONE! location_tag = 151282 # San Francisco Bay Area # location_tag = 1664 # New York City def request_until_succeed(url): req = urllib2...
[ "max@minimaxir.com" ]
max@minimaxir.com
9734b8d821852dd069ae730eb6e5581f79278c28
3bdcb60b0bffeeb6ff7b0ddca4792b682158bb12
/Sentencias Condicionales/4.1.8-90.py
c0d1ba9b3e6d0df836a98fc9e064ff10920a2037
[]
no_license
FrankCasanova/Python
03c811801ec8ecd5ace66914f984a94f12befe06
03f15100991724a49437df3ce704837812173fc5
refs/heads/master
2023-05-23T01:37:12.632204
2021-06-10T15:20:38
2021-06-10T15:20:38
278,167,039
0
0
null
null
null
null
UTF-8
Python
false
false
784
py
#CORRECCIÓN DE PROGRAMA. from math import pi radio = float(input('Dame el radio de un circulo: ')) #menú print('Escoge una opción: ') print('a) Calcular el diámetro: ') print('b) Calcular el perímetro: ') print('c) Calcular el área: ') opción = input('Teclea a, b o c y pulsa intro: ') if opción.lower() == 'a': ...
[ "frankcasanova.info@gmail.comm" ]
frankcasanova.info@gmail.comm
ea92fcc7c3a19e5cc1c4276c6e75738bd12b4d5b
9d58364bd43fbb4edf60fba3425e9dc006097e22
/product/serializers.py
e6571d2151ef723f8b3eab7b9cfa5344cf3c8373
[]
no_license
darkblank/commerce-toy
a92ee2634777fa9997cb52c57f2fd8a68877677c
be8b4b7633204c83615853835c3772369e37766a
refs/heads/master
2022-12-03T14:18:54.966662
2020-08-12T22:29:49
2020-08-12T22:29:49
287,127,153
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
from rest_framework import serializers from product.models import Product, ProductOption from user.serializers import ProviderSerializer class ProductOptionSerializer(serializers.ModelSerializer): class Meta: model = ProductOption fields = ( 'id', 'stock', 'name', ) class Pr...
[ "darkblank1990@gmail.com" ]
darkblank1990@gmail.com
c37f6418fac1b3ca989225a2b5d667bc7a56df58
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/PostenMapping/Model/Post060352270.py
1361d8f30b13daab25781738ad6daac5b6a201ce
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
3,846
py
# coding=utf-8 from OTLMOW.PostenMapping.StandaardPost import StandaardPost from OTLMOW.PostenMapping.StandaardPostMapping import StandaardPostMapping # Generated with PostenCreator. To modify: extend, do not edit class Post060352270(StandaardPost): def __init__(self): super().__init__( nummer...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
9e5d5b8517e58b290fe195b2aab1e2d9938074d6
aced407b41f6669f69e9eb8bd599260d50c0bd3f
/server/libs/top/api/rest/TaobaokeMobileListurlGetRequest.py
b09b1da208bf08fea60e8912f9988fb2a936ad96
[]
no_license
alswl/music_sofa
42f7d15431f11b97bf67b604cfde0a0e9e3860cc
c4e5425ef6c80c3e57c91ba568f7cbfe63faa378
refs/heads/master
2016-09-12T18:37:34.357510
2016-05-20T11:49:52
2016-05-20T11:49:52
58,946,171
1
1
null
null
null
null
UTF-8
Python
false
false
312
py
''' Created by auto_sdk on 2013-11-07 12:53:22 ''' from top.api.base import RestApi class TaobaokeMobileListurlGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.q = None def getapiname(self): return 'taobao.taobaoke.mobile.listurl.get'
[ "alswlx@gmail.com" ]
alswlx@gmail.com
c9364b17c64e0b99950c44eaf940ac5a5081aea4
b1403c5a0f8dcf5eec881367f3928c6faf047b1d
/PRINCIPIANTE/1051-1100/1098.py
d3a71591410aff0c977f88c66d582bdb8e28a005
[]
no_license
apesquero/URI
ba56f9d597e0e781bf85dc14eeeedf9bc206fbc4
8c45813d99eb903405ebe1a0e2c6618e87025641
refs/heads/master
2021-06-19T23:56:51.798180
2021-01-01T18:43:20
2021-01-01T18:43:20
138,192,837
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
# -*- coding: utf-8 -*- i = 0 while i <= 2: for x in range(3): print("I={:g} J={:g}" .format(i, x+1+i)) i += 0.2
[ "apesquero@gmail.com" ]
apesquero@gmail.com
865ae8442eadb66eb5b33a7c998542e89eb501ce
c1aac38b1ee7bf7b8621050bd4837a60744bfd9f
/ay_hw_4/main_test.py
2b487bd9621a3f4e1763f4d5ad1fd4560b536838
[]
no_license
callmeorangecat/INF_552
3b0a007a37963fcd57396dab96d3f17ee20b0eb6
cdcaf20e549bfa2d5942f91f2ce3b4a93d1beba9
refs/heads/master
2021-02-17T15:04:32.222974
2020-02-21T20:31:54
2020-02-21T20:31:54
245,105,595
0
1
null
2020-03-05T08:16:29
2020-03-05T08:16:28
null
UTF-8
Python
false
false
1,999
py
# __author__ = 'Aaron Yang' __email__ = 'byang971@usc.edu' __date__ = '9/27/2019 11:13 PM' import numpy as np import matplotlib.pyplot as plt from sklearn.pipeline import Pipeline from sklearn.preprocessing import PolynomialFeatures from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squ...
[ "aaron19940628@gmail.com" ]
aaron19940628@gmail.com
e58bbef1e15f9f5ad7ab00b1d2269ab475394474
726d164e2dcf0c13beacf5ac23db1f76e34645f1
/src/scripts/mcce/count_conf.py
a84c651e305eb12a71987d33c9e42616df9aab6f
[]
no_license
zxiaoyao/br_pscript
57bde5940d0d18704052f705c2025e4ba73e1b29
a3023b33a4332d0d77389f1d64c5af1b19a80a95
refs/heads/master
2020-06-01T13:39:39.192776
2015-06-09T04:26:39
2015-06-09T04:26:39
16,268,020
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
#!/usr/bin/python def count_conf(): '''Count the number of conformers in step2_out.pdb." Assuming the atoms in a conformer are in consecutive lines in step2_out.pdb. ''' atoms = open("step2_out.pdb").readlines() for line in atoms: if line[:6] != 'ATOM ' and line[:6] != 'HETATM': cont...
[ "zhuxuyu@gmail.com" ]
zhuxuyu@gmail.com
59f73e7d1222effb04a6343a2dd82ffeabb56260
3b2971ac117cf597e60233afffbf088989d7abdb
/tests/settings.py
6f66deb4674338780d11af86a8f3faa9ca1eabd7
[ "BSD-3-Clause" ]
permissive
ubernostrum/pwned-passwords-django
7b8e27ce774e1d698eef382a67664301be61bdbd
c615c2b80eab2f6554b6f113e99c658dd722c5cd
refs/heads/trunk
2023-04-10T05:33:44.797687
2023-03-27T05:25:45
2023-03-27T05:25:45
124,067,069
116
8
BSD-3-Clause
2023-09-11T06:26:23
2018-03-06T11:15:11
Python
UTF-8
Python
false
false
722
py
""" Minimal Django settings file for test runs. """ from django.utils.crypto import get_random_string INSTALLED_APPS = ["pwned_passwords_django"] ROOT_URLCONF = "tests.urls" DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}} MIDDLEWARE = [ "pwned_passwords_django.middleware.pwne...
[ "james@b-list.org" ]
james@b-list.org
9fc65a9e22b154df1f46b9485b329b31a238ff3b
96f32051b1fcd322534fdf1f590704b7f48e08e3
/otx_epub/migrations/0003_auto_20161027_2317.py
22756320fbeb9f4e40103f15ce8d9ebe93f84e72
[ "Apache-2.0" ]
permissive
NYULibraries/dlts-enm-tct-backend
0f1ebad7d7334d41b4f24b2243639314c6ed1353
07455a660fb2cb8bc91a54f7f12d150923678157
refs/heads/master
2020-05-18T14:36:31.041830
2017-09-30T17:51:16
2017-09-30T17:51:16
84,251,389
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-10-28 03:17 from __future__ import unicode_literals from django.db import migrations, models import otx_epub.storage class Migration(migrations.Migration): dependencies = [ ('otx_epub', '0002_epub_contents'), ] operations = [ mi...
[ "go.for.dover@gmail.com" ]
go.for.dover@gmail.com
9c9273b0557cfea35937de7e9f7ed2c0f11e495f
09f8a3825c5109a6cec94ae34ea17d9ace66f381
/cohesity_management_sdk/models/view_intent.py
e28eef393c010d4f1cd356037269faaa14fa16a2
[ "Apache-2.0" ]
permissive
cohesity/management-sdk-python
103ee07b2f047da69d7b1edfae39d218295d1747
e4973dfeb836266904d0369ea845513c7acf261e
refs/heads/master
2023-08-04T06:30:37.551358
2023-07-19T12:02:12
2023-07-19T12:02:12
134,367,879
24
20
Apache-2.0
2023-08-31T04:37:28
2018-05-22T06:04:19
Python
UTF-8
Python
false
false
1,660
py
# -*- coding: utf-8 -*- # Copyright 2023 Cohesity Inc. class ViewIntent(object): """Implementation of the 'ViewIntent' model. Specifies the Intent of the View. Attributes: template_id (long|int): Specifies the template Id from which the View is created. template_name (strin...
[ "naveena.maplelabs@cohesity.com" ]
naveena.maplelabs@cohesity.com
ea98fab7c614bb2763e13a4a538ea3249fe899bf
afc3558e47ea4c82cb70190743472274eae7aeb1
/configs/textrecog/master/master_resnet31_12e_toy.py
adf14636518c6aa154da397106d2aae8b008226c
[ "Apache-2.0" ]
permissive
open-mmlab/mmocr
86a77fb77ca80cede9c41a9a22080eeeaf364002
9551af6e5a2482e72a2af1e3b8597fd54b999d69
refs/heads/main
2023-08-03T14:06:11.075037
2023-07-26T02:32:14
2023-07-26T02:32:14
355,559,187
3,734
801
Apache-2.0
2023-09-12T03:17:12
2021-04-07T13:40:21
Python
UTF-8
Python
false
false
1,164
py
_base_ = [ '_base_master_resnet31.py', '../_base_/datasets/toy_data.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_adam_base.py', ] optim_wrapper = dict(optimizer=dict(lr=4e-4)) train_cfg = dict(max_epochs=12) # learning policy param_scheduler = [ dict(type='LinearLR', end=100, ...
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
21df06ff4d70b2fe784d4a83c9a4ea9391b1f1a8
71297da3cf9e0cc5e2e3eb29477ed77150bf93fa
/baekjoon/10984.py
0e27694252233b2a2f65c64c0406100c715057e8
[]
no_license
Kangjinwoojwk/algorithm
7c8e4189c384f7104225284e9e0a2e2a5cdd18df
c92da7410523d340240bbe9256cecf710c4e641e
refs/heads/master
2022-11-15T19:11:33.918644
2022-11-10T03:13:50
2022-11-10T03:13:50
184,699,850
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
for tc in range(int(input())): A, G = 0, 0 for i in range(int(input())): a, b = map(float, input().split()) A += a G += a * b G /= A print('{} {}'.format(int(A), round(G, 1)))
[ "kjw03230@naver.com" ]
kjw03230@naver.com
56f43f8aff84049b1d9ce85fb3c2d3fb0e5bc6ab
0431fb263e38422585edca273fb47ef92fd22243
/dataloaders/data_atari.py
50f23b17a6e6faf07dfeb81276ef50ed9522166d
[]
no_license
RRoundTable/EEN-with-Keras
a6c3352eafc05fcb7ed41463d637a684de9a0b27
ae71903afa05135f5eb6e2797854969f5a082958
refs/heads/master
2020-04-28T03:17:25.762629
2019-04-27T12:19:13
2019-04-27T12:19:13
174,930,756
2
0
null
null
null
null
UTF-8
Python
false
false
7,310
py
import numpy, os, random, glob, pdb, gc import pickle as pickle from scipy import misc #import torch, torchvision from tensorflow.python.keras.backend import * import copy, time class ImageLoader(object): def _load_set(self, split, n_episodes): datalist = [] datapath = '{}/{}'.format(self.arg.get(...
[ "ryu071511@gmail.com" ]
ryu071511@gmail.com
262b31f426537ac6065fa5fbe714726118f635a2
18940c73497d11c1386a19a2e90719356f8ed9b2
/python_solutions/90-subsets-2.py
aaa5aa73c476b0fb0652047257cab595e27aa005
[]
no_license
yunieyuna/Solutions-for-Leetcode-Problems
9741ba1a48341157fded637bb6e269fd9a659b5a
47910878328591844ab2c9b97ff8c89e2b98c319
refs/heads/master
2020-09-13T17:37:25.632463
2020-07-02T02:07:19
2020-07-02T02:07:19
222,857,462
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
# https://leetcode.com/problems/subsets-ii/ class Solution: def subsetsWithDup(self, nums: List[int]) -> List[List[int]]: dic = {} for i in nums: dic[i] = dic.get(i, 0) + 1 res = [[]] for i, v in dic.items(): temp = res.copy() for j in res: ...
[ "noreply@github.com" ]
yunieyuna.noreply@github.com
419827681f3f82c9700097168df022ee151b4639
2f2e9cd97d65751757ae0a92e8bb882f3cbc5b5b
/33.搜索旋转排序数组.py
e67b6bd61499c8507cb2cb4f53db5ccbe9e2e868
[]
no_license
mqinbin/python_leetcode
77f0a75eb29f8d2f9a789958e0120a7df4d0d0d3
73e0c81867f38fdf4051d8f58d0d3dc245be081e
refs/heads/main
2023-03-10T18:27:36.421262
2021-02-25T07:24:10
2021-02-25T07:24:10
314,410,703
0
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
# # @lc app=leetcode.cn id=33 lang=python3 # # [33] 搜索旋转排序数组 # # @lc code=start class Solution: def search(self, nums: List[int], target: int) -> int: # if len(nums) == 1 : # return 0 if target == nums[0] else -1 left , right = 0 , len(nums) while left < right: ...
[ "mqinbin@gmail.com" ]
mqinbin@gmail.com
eec69491952dc2206c921236c774340265028549
cf7d6cc5efd2d3545a538c1bf12e927a60b8600e
/iniciante/1478.py
2fbb42d314bb183909e20c8d6e3ab7903c9700a9
[]
no_license
DarknessRdg/URI
1a4d821cc43c715f5092076a1753b13f42f3ceac
459361f9e055efb6eb291fb030dde47cb08688ab
refs/heads/master
2022-05-08T06:46:44.618627
2022-04-24T03:46:43
2022-04-24T03:46:43
200,585,901
2
0
null
null
null
null
UTF-8
Python
false
false
952
py
def main(): ordem = int(input()) while ordem != 0: matriz = [] for i in range(1, ordem + 1): matriz += [[i] * ordem] for i in range(ordem): for j in range(ordem): if i == j: matriz[i][j] = 1 if i < j: matriz[i][j] = matriz[i][j - 1] + 1 if i > j: if j == 0: continue ...
[ "luanrodrigues007@hotmail.com" ]
luanrodrigues007@hotmail.com
44877423e0a7b2fbd5c6d3490744498281831dd6
14373275670c1f3065ce9ae195df142146e2c1a4
/stubs/influxdb-client/influxdb_client/domain/range_threshold.pyi
bc6b3aa97fdc891511d30c007c3c8dd1a4f27782
[ "Apache-2.0", "MIT" ]
permissive
sobolevn/typeshed
eb7af17c06a9722f23c337e6b9a4726223155d58
d63a82640390a9c130e0fe7d409e8b0b836b7c31
refs/heads/master
2023-08-04T05:59:29.447015
2023-06-14T21:27:53
2023-06-14T21:27:53
216,265,622
2
0
Apache-2.0
2022-02-08T10:40:53
2019-10-19T20:21:25
Python
UTF-8
Python
false
false
1,004
pyi
from _typeshed import Incomplete from influxdb_client.domain.threshold_base import ThresholdBase class RangeThreshold(ThresholdBase): openapi_types: Incomplete attribute_map: Incomplete discriminator: Incomplete def __init__( self, type: str = "range", min: Incomplete | None = ...
[ "noreply@github.com" ]
sobolevn.noreply@github.com
82ef0c669736d69b2da60bea4943dc6b93cf54f9
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_luaus.py
db10b77fa904fbdc865fafa175f9a8538ee5ee10
[ "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
224
py
from xai.brain.wordbase.nouns._luau import _LUAU #calss header class _LUAUS(_LUAU, ): def __init__(self,): _LUAU.__init__(self) self.name = "LUAUS" self.specie = 'nouns' self.basic = "luau" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5c0db854454cabafcab66f84b62cc0ae6df4a7a6
4c7a9d9af1f5a68e718fd626281b979590f7a434
/v6/combine_filter.py
54dd64244b4450e2414f2e8e536e9122c58768c3
[]
no_license
bcrafton/bp-analysis
59f077f09d4c10445b2f1e2889842a681de44129
9290df4bc8ae6a527586328eee0ad86fd370989e
refs/heads/master
2020-05-31T12:27:23.673875
2019-07-02T15:46:58
2019-07-02T15:46:58
190,281,254
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
import numpy as np def combine_filter(f1, f2, stride=1): h1, w1, fin1, fout1 = np.shape(f1) h2, w2, fin2, fout2 = np.shape(f2) oh = h1 + 2*(h2 // 2) * stride ow = w1 + 2*(w2 // 2) * stride ofin = fin1 ofout = fout2 fout = np.zeros(shape=(oh, ow, ofin, ofout)) for x...
[ "crafton.b@husky.neu.edu" ]
crafton.b@husky.neu.edu
6b124e1471d862488e655f3811a9cdfd0dc281cb
e4aab0a71dc5c047d8b1576380b16364e03e7c0d
/post scripts/deluge.py
4a1106e8a5d1e3b050a700159f20b48d25f02268
[ "Apache-2.0" ]
permissive
Joecastra/Watcher3
8ca66c44846030f0eb771d9d6ddeb9c37f637a4e
ce25d475f83ed36d6772f0cc35ef020d5e47c94b
refs/heads/master
2021-01-19T11:05:55.454351
2017-04-10T20:17:24
2017-04-10T20:17:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
#!/usr/bin/env python3 # ======================================== # # ============= INSTRUCTIONS ============= # # Add file to Deluge's Execute plugin for event Torrent Complete # Add api information to conf: watcherapi = 'APIKEY' watcheraddress = u'http://localhost:9090/' category = 'Watcher' # DO NOT TOUCH ANYTH...
[ "nosmokingbandit@gmail.com" ]
nosmokingbandit@gmail.com
58913959884ae744d8d208372316ac4a7ab7379f
e6ea71d6acbb41bd40d3a17b352e19c6369d5c4b
/senpai/stage_instance.py
736cc80fa7d0ffe07b80e08582726f18cda05304
[ "MIT" ]
permissive
alexyy802/waifucord
bbfb50515ca23bf711e940ac8921092ff6d1e12e
c3bb883a6a148effb127781a885e839697df6a8b
refs/heads/master
2023-09-02T13:19:44.478472
2021-10-29T06:51:51
2021-10-29T06:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,004
py
""" The MIT License (MIT) Copyright (c) 2021-present waifucord Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
[ "noreply@github.com" ]
alexyy802.noreply@github.com
f08f5e37c8d43e03f7302f3dc075c370c0ebb88c
c70d020907e538492665c7fe75d7b2b90c88ba93
/python/pygobject/basis.py
9507a9e5cafe13baefa28c73ed1d79d857155810
[]
no_license
4179e1/misc
7250de0bc0d9ab5641f48ec87f038f8b5dbed29b
1fb4d38b75fcc7692da605a6d3ec72e735116de1
refs/heads/master
2023-08-10T23:37:10.362847
2023-07-08T14:27:53
2023-07-08T14:27:53
14,710,900
3
3
null
2023-02-23T02:03:23
2013-11-26T08:21:00
Roff
UTF-8
Python
false
false
151
py
#!/usr/bin/env python from gi.repository import Gtk win = Gtk.Window() win.connect ("delete-event", Gtk.main_quit) win.show_all() Gtk.main()
[ "4179e1@gmail.com" ]
4179e1@gmail.com
aae7967595c33684d0cddfce97bc78285b719b53
67c0bc2b2292857fcc19b3c6e6da5570dc09749c
/chapter_6_visualization/audio_path.py
b8f4132d681a1663b16025bb3e2816c9f6d25d96
[ "Apache-2.0" ]
permissive
jim-schwoebel/voicebook
9d28f638fa6a31cb8c4915f9871c07da261b3ea6
0e8eae0f01487f15589c0daa2cf7ca3c6f3b8ad3
refs/heads/master
2022-12-11T13:41:24.005431
2021-04-15T13:51:35
2021-04-15T13:51:35
137,778,789
363
84
Apache-2.0
2022-12-08T03:58:01
2018-06-18T16:37:37
Python
UTF-8
Python
false
false
3,273
py
''' ================================================ ## VOICEBOOK REPOSITORY ## ================================================ repository name: voicebook repository version: 1.0 repository link: https://github.com/jim-schwoebel/voicebook author: Jim Schwoebel author contact: js@neur...
[ "noreply@github.com" ]
jim-schwoebel.noreply@github.com
db6175fa2394c30524ad292439ef8721022ae025
851c474c9d91875b0fa8fe46d591bb6550b1c550
/eye/migrations/0003_auto_20200818_0030.py
62e72256111c4d71a8e8f0ef2e19f772bd42a5f2
[]
no_license
songlei1979/BigEye4
1a8e9c71cae3e3bd3fb5432c05b73997ba9590c2
825e79ebd43d71203c827490d5ffe36c861e4dec
refs/heads/master
2022-12-03T22:19:25.224277
2020-08-26T05:44:19
2020-08-26T05:44:19
288,315,654
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# Generated by Django 3.0.8 on 2020-08-18 00:30 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('eye', '0002_auto_20200812_1007'), ] operations = [ migrations.AlterModelTable( name='allocation', table='eye_allocation', ...
[ "gabriel_sl19798@hotmail.com" ]
gabriel_sl19798@hotmail.com
3803da3b8f058178d20d30d5aa287d146a64bf84
7579431f002103a74b5ae6bccf76458b221e78ab
/Dynammic Programming/Egg Dropping Puzzle.py
0cea9ac5597a588db4fd63558fc43eea55a49cab
[]
no_license
mukundajmera/competitiveprogramming
5c187e9681b320482c7b8cdfa71be95f9f9184c1
85774aea5a20a9cf4a97c66237d2faa570edd96b
refs/heads/main
2023-03-21T14:01:03.653953
2021-03-22T19:41:54
2021-03-22T19:41:54
319,270,423
1
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
# User function Template for python3 # Function to get minimum number of trials needed in worst # case with n eggs and k floors import math def eggDrop(n, k): # code here # create table of n+1, k+1 dp = [[None] * (n + 1) for i in range(k + 1)] # fill # floor 0 with egg is zero # floor 1 with ...
[ "mukundajmera94@gmail.com" ]
mukundajmera94@gmail.com
103b7a688f8a7e8cf5d5dddf9358f9b4c41bf7fa
7fc03f7d28ea7bbdca650a51a23fc0b13cbefde1
/supervised_learning/0x11-attention/6-main.py
756a7098a53ec467f39ff16efa42dd77ce531301
[]
no_license
HeimerR/holbertonschool-machine_learning
54c410e40d38635de482773f15e26ce1c2c95e46
e10b4e9b6f3fa00639e6e9e5b35f0cdb43a339a3
refs/heads/master
2021-07-24T09:33:25.833269
2021-01-14T00:21:45
2021-01-14T00:21:45
236,603,791
0
6
null
null
null
null
UTF-8
Python
false
false
594
py
#!/usr/bin/env python3 import numpy as np import tensorflow as tf MultiHeadAttention = __import__('6-multi_head_attention').MultiHeadAttention mha = MultiHeadAttention(512, 8) print(mha.dm) print(mha.h) print(mha.depth) print(mha.Wq) print(mha.Wk) print(mha.Wv) print(mha.linear) Q = tf.convert_to_tensor(np.random.uni...
[ "ing.heimer.rojas@gmail.com" ]
ing.heimer.rojas@gmail.com
b0680c3e15836ae1c131b441d324db4d218d5f96
04f8c7d9eb20745def8568fcbd2401392187ebf0
/www/www/settings_prod.py
2df597cfc30b7934a40ca8e4d06329af96778cbd
[]
no_license
boogiiieee/Victoria
5f01d8c01e92d78b756324ee8da2208ab9c63bc6
c76996698bbbd88309ed35f47d19e09fec19eb94
refs/heads/master
2021-09-04T03:13:00.208173
2018-01-15T04:05:29
2018-01-15T04:05:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
# -*- coding: utf-8 -*- ''' from settings import * DEBUG = False TEMPLATE_DEBUG = DEBUG MANAGERS = ( ('', ''), ('', ''), ) MEDIA_ROOT = '/var/www/home/' STATIC_ROOT = '/var/www/home/' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': '', 'USER...
[ "shalyapinalexander@gmail.com" ]
shalyapinalexander@gmail.com
c7390cd06f4184861f8f1c7715515e955cf21374
9427fa36416d835e28faa8e52a11140b6512e9c7
/dæmatímaverk/dæmatími_tuples/tuples5.py
9a17ed22e2776c27573687cc7d5525fb0ac8cac2
[]
no_license
fannarl/traveler
e5f274e404c10fe799b87e36eb4eb37e64fb8db8
8bc121d9fc26374f1b0dcee6da815ed732f2d889
refs/heads/master
2020-03-28T23:23:31.216234
2018-12-14T17:22:30
2018-12-14T17:22:30
149,289,261
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
def get_list(): a_list = input("Enter elements of list separated by commas: ").strip().split(',') return a_list def get_integer(prompt): val = int(input(prompt)) return val def transform(list1, list2, r1, r2): new_list = [] for i in range(r1,r2): new_list.append(list1[i]) for i in ...
[ "fannarleo95@hotmail.com" ]
fannarleo95@hotmail.com
0696c8ebc33ac64b9ec37ab7fb5a23ad490a88fc
194a1e2ac246c5f9926b014c00d4c733f0cdaf0c
/tests/wallet/test_singleton_lifecycle.py
965eaeab5e49fb9b8403e58e5fcd5a088a688c53
[ "Apache-2.0" ]
permissive
chia-os/btcgreen-blockchain
03e889cd0268284b7673917ab725ad71f980b650
2688e74de423ec59df302299e993b4674d69489e
refs/heads/main
2023-08-29T14:40:11.962821
2021-08-17T06:33:34
2021-08-17T06:33:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,191
py
import asyncio from typing import List, Tuple from blspy import G2Element from clvm_tools import binutils from btcgreen.types.blockchain_format.program import Program, INFINITE_COST from btcgreen.types.announcement import Announcement from btcgreen.types.blockchain_format.coin import Coin from btcgreen.types.blockch...
[ "svginsomnia@gmail.com" ]
svginsomnia@gmail.com
8a7146223b544962aa2917ea4cf93337f3460901
3740de0d6e43ea140fc09ab314e4c492603ba185
/scripts/sources/s_checklist_scenariobased_step07.py
f74d1ac5806b3df08f57092c9a18ef1c0abce61d
[ "MIT" ]
permissive
s0ap/arpmRes
29c60c65fd3e11be1cc31d46494e5b3ebf6e05ab
ddcc4de713b46e3e9dcb77cc08c502ce4df54f76
refs/heads/master
2022-02-16T05:01:22.118959
2019-08-20T16:45:02
2019-08-20T16:45:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,564
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.4' # jupytext_version: 1.2.0 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # s_ch...
[ "dario.popadic@yahoo.com" ]
dario.popadic@yahoo.com
df39f1b43eaa8211c126ff9d37b5062dbbbf6b0a
7f99fb1f9d051dbcd13770e7a08e92f90e6027ca
/Analyzer/fakeRateGetRatesMuons_DiBoson_cfg.py
505ad378830fb34d6a4008d8b48de6479a3b79a3
[]
no_license
kmtos/AnalyzerGeneratorRecoVariousFunctions
be54dd360a37b4ef1aeef2ee692ada4351b7db2e
acd8cde2f5657674c73eae9af28f3235b9b3f7c5
refs/heads/master
2021-01-10T08:34:49.953330
2018-07-26T12:36:41
2018-07-26T12:36:41
50,570,873
0
0
null
null
null
null
UTF-8
Python
false
false
3,085
py
### PDG IDs ### A_PDGID = 36 MU_PDGID = 13 TAU_PDGID = 15 ANY_PDGID = 0 ### Tau decay types ### TAU_HAD = 0 TAU_MU = 1 TAU_E = 2 TAU_ALL = 3 ### Tau hadronic decay types ### TAU_ALL_HAD = -1 TAU_1PRONG_0NEUTRAL = 0 TAU_1PRONG_1NEUTRAL = 1 TAU_1PRONG_2NEUTRAL = 2 TAU_1PRONG_3NEUTRAL = 3 TAU_1PRONG_NNEUTRAL = 4 TAU_...
[ "kmtos@ucdavis.edu" ]
kmtos@ucdavis.edu
a94dad9094cd2893b487f36a7115d0663e3c5db0
526bf18a8695862067c817f432ab197ceb645f39
/migrations/versions/76fb82b8961b_cars_add_location_diller.py
985f450b99df7550155f2a0c2b4945f918d451e9
[]
no_license
sintimaski/bfs-be
a7fd623911a2220face49a0ef84574f3fd7a09a8
964a9c7e9cc876aaf8b0723d6b3f26bd378c3721
refs/heads/master
2023-08-02T09:00:44.855055
2021-09-22T13:07:01
2021-09-22T13:07:01
339,531,610
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
"""common add location diller Revision ID: 76fb82b8961b Revises: 920ac7659cb4 Create Date: 2020-09-15 08:23:44.523023 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "76fb82b8961b" down_revision = "920ac7659cb4" branch_labels = None depends_on = None def upgr...
[ "dimadrebezov@gmail.com" ]
dimadrebezov@gmail.com
b6a81ff24dc21edef75de72eabcc703386468603
33c51931bc7d6f73da5a64ecc0e7cb751e7fc62c
/karesansui/db/model/option.py
b43f24a1ca8043122b981e017ab2dccc30551e60
[ "MIT", "GPL-1.0-or-later" ]
permissive
qmutz/karesansui
e86ed107f313f8c4140797a2c3250c5f16b524c2
f4ba1cf6f88cf76c3e4dbc444139d73134f7c9d1
refs/heads/develop
2023-05-06T14:52:38.668631
2019-02-01T03:57:00
2019-02-01T03:57:00
316,682,704
0
0
MIT
2021-06-03T14:59:45
2020-11-28T07:43:33
null
UTF-8
Python
false
false
6,806
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # This file is part of Karesansui Core. # # Copyright (C) 2009-2012 HDE, Inc. # # 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 restric...
[ "taizo@karesansui-project.info" ]
taizo@karesansui-project.info
fd67b2cea25f2c76efaf85561698eed8bbd55edd
88e06bab1989c81a2dd649bb09b144fa7c958f89
/leet_subarray_with_k_different_integers.py
e67b6bb2f63e7f22e17fc918d64b415ae5cb16f5
[]
no_license
VaibhavD143/Coding
4499526b22ee4ef13f66c3abcea671c80a8f748a
5de3bae8891c7d174cbc847a37c3afb00dd28f0e
refs/heads/master
2023-08-06T21:56:44.934954
2021-10-09T18:31:29
2021-10-09T18:31:29
263,890,286
0
0
null
null
null
null
UTF-8
Python
false
false
1,572
py
""" Intution: l1 is left-most valid index for substring ending at rth index l2 is left-most index from where substring becomes invalid ending at rth index so we can generate l2-l1 substrings ending at rth index Valid : have exactly K distinct elements """ from collections import defaultdict class Solution: def su...
[ "vaibhav.dodiya143vd@gmail.com" ]
vaibhav.dodiya143vd@gmail.com
cfeefe2c257d1544d9c955d1dc11614118070a9c
15e8a393f6c71ba77094a1718f4f89050409c7ae
/library/templatetags/book_tags.py
9a7f4c4fe3a48fb66d691bf5f46e69dbe8b81227
[]
no_license
emilte/johansson
21a3e20208c67725776af0f94de4c29150935b50
d16bdde26e840814562f668904b2f5588c0a13ad
refs/heads/master
2023-07-23T21:01:32.830302
2021-09-05T14:56:01
2021-09-05T14:56:01
390,360,563
0
0
null
2021-08-30T00:42:49
2021-07-28T13:26:31
SCSS
UTF-8
Python
false
false
2,133
py
# imports import PIL import random from django import template from django.conf import settings from django.utils import timezone from django.templatetags.static import static from django.contrib.auth.models import Permission # End: imports ----------------------------------------------------------------- register =...
[ "emil.telstad@gmail.com" ]
emil.telstad@gmail.com
132f1bff7f32b051fa9726e0c877ce090d8c5506
c264153f9188d3af187905d846fa20296a0af85d
/Python/Python3网络爬虫开发实战/《Python3网络爬虫开发实战》随书源代码/jiepai/spider.py
7ca771da154f16c51cbbbec444ee1ad0371ecea2
[]
no_license
IS-OSCAR-YU/ebooks
5cd3c1089a221759793524df647e231a582b19ba
b125204c4fe69b9ca9ff774c7bc166d3cb2a875b
refs/heads/master
2023-05-23T02:46:58.718636
2021-06-16T12:15:13
2021-06-16T12:15:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
import os from multiprocessing.pool import Pool import requests from urllib.parse import urlencode from hashlib import md5 def get_page(offset): params = { 'offset': offset, 'format': 'json', 'keyword': '街拍', 'autoload': 'true', 'count': '20', 'cur_tab...
[ "jiangzhangha@163.com" ]
jiangzhangha@163.com
335096cb45cac78881b05c35bf2129c9b91761c7
76742bf1c7dee6a01a0a41402fe734eeb0da3d74
/venv/bin/sphinx-autogen
7607e9cf2f5bad91acbff30af728168c78ff5ba7
[]
no_license
Zacharilius/tangoProject
e5490c80af3caaabe2cf132a40387db2574713dc
305fa20e344f8ad24514dff959be3e4e3632645e
refs/heads/master
2021-01-22T23:26:51.921743
2015-03-17T17:52:22
2015-03-17T17:52:22
29,359,319
0
0
null
null
null
null
UTF-8
Python
false
false
280
#!/home/zacharilius/Documents/GitHub/tangoProject/venv/bin/python # -*- coding: utf-8 -*- import re import sys from sphinx.ext.autosummary.generate import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "zabensley@gmail.com" ]
zabensley@gmail.com
741026f4fb0abd4abf264a986c30c02d470275ad
21c6989099b95e608c73b246c5ccc97dfac688da
/testserver.py
b7d29e7363de0bf4c74e4e5fc18ed0a4cdfda7d1
[]
no_license
ashcrow/taboot-tailer
a8200dedab4084041ec1f931b93d53360e5789f2
4c403cfaeb38e7a3b10478b74b28e5b31b1d4e5b
refs/heads/master
2021-01-21T01:18:05.144141
2014-05-23T15:39:45
2014-05-23T15:39:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
#!/usr/bin/env python import SimpleHTTPServer import SocketServer def main(): SocketServer.TCPServer.allow_reuse_address = True httpd = SocketServer.TCPServer(( "127.0.0.1", 5000), SimpleHTTPServer.SimpleHTTPRequestHandler) print "Do not use this server for anything but testing!" prin...
[ "stevem@gnulinux.net" ]
stevem@gnulinux.net
988107dcdf49e79a36105bd8984988e97d0bd846
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L84/84-85_wat_20Abox/set_1ns_equi.py
3b6c86ee4db3d4d1da891eb4aea66a5c7fe219e7
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L84/wat_20Abox/ti_one-step/84_85/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi.in' temp_pbs = filesdir + 'temp_1ns_equi.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
be50f1b323652c40e6b49cf9a2bd79de2d808a78
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_crocks.py
1a3f520d65582f3f690bc163e29107237760a5b2
[ "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
231
py
from xai.brain.wordbase.nouns._crock import _CROCK #calss header class _CROCKS(_CROCK, ): def __init__(self,): _CROCK.__init__(self) self.name = "CROCKS" self.specie = 'nouns' self.basic = "crock" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f83c4b3c6faf3ef8350d51cee7b1ed1509e0e084
a51062d546e0936c5b2ac5cbfb3f91fc7bf342d7
/openff/evaluator/properties/__init__.py
a1178d3374263026cb4e256232bb78964f451d98
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
joegomes/openff-evaluator
4e748a9f43001a8e738851a9160837f6618fc8e5
9ccd3d017af0c6c1b556b1e77a8eccd0d1dfbcd1
refs/heads/master
2023-04-22T01:02:47.038298
2021-05-05T18:49:49
2021-05-05T18:49:49
364,670,685
0
0
NOASSERTION
2021-05-05T18:49:50
2021-05-05T18:27:10
null
UTF-8
Python
false
false
423
py
from .binding import HostGuestBindingAffinity from .density import Density, ExcessMolarVolume from .dielectric import DielectricConstant from .enthalpy import EnthalpyOfMixing, EnthalpyOfVaporization from .solvation import SolvationFreeEnergy __all__ = [ HostGuestBindingAffinity, Density, ExcessMolarVolume...
[ "simon.boothroyd@colorado.edu" ]
simon.boothroyd@colorado.edu
2323ad3b44127d58791d33e46cf34b22f637af99
553b86e3b1ed21e64ea4feeb690af0701a17ba5f
/prob1.py
807fc0a8bb9f9d250e350cde7f495af6014e156a
[]
no_license
shihyuuuuuuu/LeetCode_practice
d1c4b7851abfa42fcc4b56f835444792aca3f222
dbc7e988ca9fd6f3a9541a36a0ad543c97b884af
refs/heads/master
2023-01-03T21:25:14.426989
2020-11-03T07:09:29
2020-11-03T07:09:29
254,667,846
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
class Solution: # Prettier def twoSum(self, nums: List[int], target: int) -> List[int]: d = {} for cnt, i in enumerate(nums): if d.get(target - i, -1) != -1: return [d[target-i], cnt] else: d[i] = cnt # Faster, more memory def twoS...
[ "www.elmo20816@gmail.com" ]
www.elmo20816@gmail.com