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
28132e32f04e6236ac31bc6973a21b53ec1c32e0
19750c80074a7116c6013e0275c3f9d81a6933eb
/tensorflow_probability/python/experimental/distribute/diagonal_mass_matrix_adaptation_test.py
db310ae287ecdd06cbc6f254c3c058a73b0ae07c
[ "Apache-2.0" ]
permissive
jeffpollock9/probability
ef8e06aa8657822f2b505fa8ca6e9c3cc0a6fe63
a4e6841b3d5116a56ef5383ddc6a6e03ccc4ce82
refs/heads/master
2021-06-16T04:50:07.761772
2021-05-07T12:30:22
2021-05-07T12:30:22
195,642,413
0
0
Apache-2.0
2019-07-07T11:20:15
2019-07-07T11:20:15
null
UTF-8
Python
false
false
5,715
py
# Copyright 2021 The TensorFlow Probability 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 o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
1d76f899d4406b25df8b4903c28faea29f49ddff
ec5e7d2856bbe8714fdb40ea96c86a3552f1f610
/apostello/views/sms.py
4b9a3e792610184540ad6593860e2441242deaf6
[ "MIT" ]
permissive
icodebuster/apostello
3c4af46e0a88660e5ace220fb7d7d1641286a5d0
fa7b8a8ba97d490038caedd0407932ba54231b3a
refs/heads/master
2021-01-15T14:42:34.604226
2016-08-06T15:15:46
2016-08-06T15:15:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,190
py
from django.contrib import messages from django.views.generic.edit import FormView from django_twilio.decorators import twilio_view from twilio import twiml from apostello.forms import SendAdhocRecipientsForm, SendRecipientGroupForm from apostello.mixins import ProfilePermsMixin from apostello.models import RecipientG...
[ "montgomery.dean97@gmail.com" ]
montgomery.dean97@gmail.com
785aa63fb72d347b9406ca64a6268ee3667690c2
171b34922ff1849a6df7975dc3ef057cd4676d5f
/Uniandes_Reps/iPAT/.svn/text-base/SubmissionFrameForMissingJobs.py.svn-base
c80d54500c2e23987acf4c321e522e15b266714e
[]
no_license
aocampor/usercode
bf47bb9685cfc10759439d2bf1af298c445e8187
8b16e15752aa7421a5727d877975e362d659433a
refs/heads/master
2020-04-18T02:04:21.001245
2013-11-05T09:17:05
2013-11-05T09:17:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,130
#! /usr/bin/env python from Tkinter import * from quitter import Quitter import os from tkMessageBox import * class Demo(Frame): ## def __init__(self, options, parent=None): def __init__(self, parent=None): my_window = Toplevel() Frame.__init__(self, my_window) self.pack(expa...
[ "alocampor@gmail.com" ]
alocampor@gmail.com
7a170347dc3a68e47a591ec67f7b4e49ba858406
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib2/tables/4/3_2_table.py
8668b4b11c903ba15361806e06055bde1c5c75d9
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
1,355
py
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'Earth assumed spherical with radius = 6,367,470.0 m'}, {'abbr': 1, 'code': 1, 'title': 'Earth assumed spherical with radius specified by data producer'}, {'abbr': 2, 'code':...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
f3daeea55cff677c0126d009163b735574994377
1dd72195bc08460df7e5bb82d3b7bac7a6673f49
/api/app/tests/utils/test_c7b.py
7a95b4f0e35b8e0a436e32afc977d03da7765e92
[ "Apache-2.0", "MIT" ]
permissive
bcgov/wps
c4347c39cadfad6711502d47776abc8d03895593
0ba707b0eddc280240964efa481988df92046e6a
refs/heads/main
2023-08-19T00:56:39.286460
2023-08-16T18:03:06
2023-08-16T18:03:06
235,861,506
35
9
Apache-2.0
2023-09-11T21:35:07
2020-01-23T18:42:10
Python
UTF-8
Python
false
false
1,350
py
from app.fire_behaviour import c7b def test_ros(): # Test a few different rate of spread scenarios. This is more to ensure that # no accidental changes are made to the source code than to validate the # actual results. There's no external source of data to compare calculations # against. assert c7...
[ "noreply@github.com" ]
bcgov.noreply@github.com
5a72b5916148dcc0445db70e1585fe3bb62fc1fc
dd681dd7874c80c2804ca8d66cdbfdf2abec537e
/Python/venv/Lib/site-packages/tensorflow/python/keras/api/_v1/keras/wrappers/scikit_learn/__init__.py
7a42613b3e38c5bb5db1c2472b7e58ffa6687d51
[]
no_license
khaled147/Koneked
cbbaec78cf3828575e835445f45b9dd72c39d808
98bdc701a3d126c742e076ee3ad34719a0ac5309
refs/heads/main
2023-04-03T11:37:07.941179
2021-04-14T02:09:35
2021-04-14T02:09:35
345,202,202
2
0
null
null
null
null
UTF-8
Python
false
false
768
py
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. """Wrapper for using the Scikit-Learn API with Keras models. """ from __future__ import print_function as _print_function import sys as _sys from tensorflow.python.keras.wrappers.scikit_l...
[ "elmalawanykhaled@gmail.com" ]
elmalawanykhaled@gmail.com
98e4cd9f737938daa68d430d91d4a3bcf53aa9eb
6cbae4cd093c2a991204c318c7570a95fed59d6b
/hackerrank/detect_float_poinnt_number.py
7489b07164cc0ff74613325b7c85549a6ede6e7c
[]
no_license
mdhvkothari/Python-Program
26269a6acc46729839db8c30be96503ec833c836
9e600bb6666cb8298e422fbf154bc0b8764d456e
refs/heads/master
2022-12-15T19:12:58.667229
2022-05-14T07:48:42
2022-05-14T07:48:42
119,056,087
6
13
null
2022-10-28T08:42:52
2018-01-26T13:42:56
Python
UTF-8
Python
false
false
199
py
def check(string): try: float(string) return True except : return False n= int(input()) for i in range(0,n): value=raw_input() if (value=='0'): print("False") else: print(check(value))
[ "mdhvkothari007@gmail.com" ]
mdhvkothari007@gmail.com
677712cc450489cb7ad5fe6fcb32e83819b9349f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/51/usersdata/89/22008/submittedfiles/listas.py
a86008c3cda4ecfa9e9185d379c7bf26b7603c1f
[]
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
531
py
# -*- coding: utf-8 -*- from __future__ import division import math def modulo(x): if x<0: x=x*(-1) return x else: x=x*(1) return x def maiorDegrau(a): maior=0 for i in range(0,len(a)-1,1): degrau=math.fabs(a[i]-a[i+1]) if degrau>maior: m...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
007c0fce088c9c6392e3b54dbef9a4bd5ac4b456
c42142003122bc8172b00ccee0e733417d06fde0
/webstore/product/migrations/0007_auto_20190101_2222.py
6b5821400e2001ebb48f09ebb90d2ab0312dae2b
[]
no_license
sloniewski/django_webstore
53fbe52b7284220a106b7d96abcc06308e1d1b23
76b46396b6915e21d65e1ad0fbc8786d6f15b122
refs/heads/master
2021-10-10T16:32:09.942377
2019-01-13T22:37:44
2019-01-13T22:37:44
115,758,610
1
3
null
null
null
null
UTF-8
Python
false
false
943
py
# Generated by Django 2.1.3 on 2019-01-01 22:22 import django.contrib.postgres.indexes from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0006_auto_20181226_2354'), ] operations = [ migrations.AddIndex( model_name='c...
[ "sloniewski.maciej@gmail.com" ]
sloniewski.maciej@gmail.com
77cb709f42e2a8ad73de9d30a931388cdde835b5
644bcdabf35261e07c2abed75986d70f736cb414
/python-project/Les_listes/pixel.py
b57836a626b4fc16331f5eccca9a56aaceea8089
[]
no_license
matcianfa/playground-X1rXTswJ
f967ab2c2cf3905becafb6d77e89a31414d014de
67859b496e407200afb2b1d2b32bba5ed0fcc3f0
refs/heads/master
2023-04-03T11:56:15.878757
2023-03-24T15:52:37
2023-03-24T15:52:37
122,226,979
5
20
null
null
null
null
UTF-8
Python
false
false
7,336
py
############################################################################# """ pixel.py Un environnement minimaliste pour dessiner un bitmap en 2D """ ############################################################################# import tkinter import tkinter.filedialog import time # # Variables globales # largeur...
[ "noreply@github.com" ]
matcianfa.noreply@github.com
e808bdc1757935b7e7cb290fa4e92897008d7f75
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4184/codes/1595_2895.py
b774ddcc5db3ec32515eb6bc5382e6bf058e20c8
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
197
py
var=float(int(input("a quantidade de jogos a serem encomendados?"))) var2=float(input("o valor unitario de cada jogo?")) var3=float(input("o valor do frete? ")) total=(var*var2)+var3 print(total)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
c142dfdc04e3d85ef55fa05f0c40f86b1c451737
ebb139c5a5433ca45c04b67cee61484491ff51ac
/python-flask/swagger_server/controllers/utils.py
0e02f6d063dba7d951edcfd5fbf36357b8f41534
[]
no_license
phuthien007/api_swagger_talent5
b60b2e194bfe385999b1fd0d3ff5d20900fff542
0f908490ce21cb9cc82371f382f42d680d302b69
refs/heads/master
2023-04-04T21:09:31.911425
2021-04-25T17:07:10
2021-04-25T17:07:10
345,924,580
0
0
null
null
null
null
UTF-8
Python
false
false
4,432
py
from sqlalchemy import create_engine, and_ from sqlalchemy.orm import sessionmaker from sqlalchemy import text from sqlalchemy.ext.automap import automap_base from functools import lru_cache from swagger_server.models import * import logging from datetime import timedelta import redis # logging.basicConfig(filename='ch...
[ "=" ]
=
586cfaf4eb4bc76f3c80e687d542f81ae84b10e0
b5ea855794c2b3e83e1f5f74dec33fe8b78ad4fb
/core/views.py
f9b9016daa2b135182d1833b5b4dd5e0d9abe820
[]
no_license
pydatageek/task-reward
05d9ab30acf7d722067d7541197e5393c34d062b
4c7134a340a51f0c162f293df661cc26dc4d1559
refs/heads/master
2022-12-26T05:02:02.662795
2020-10-08T03:34:19
2020-10-08T03:34:19
302,217,469
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
"""Core views such as home, contact, about""" import requests from django.urls import reverse, reverse_lazy from django.views.generic import TemplateView from rest_framework.reverse import reverse_lazy as rest_reverse_lazy class HomeView(TemplateView): """""" def get_context_data(self, *args, **kwargs): ...
[ "pydatageek@gmail.com" ]
pydatageek@gmail.com
26cfe5a9675843efb90a391a2bbd6edc038223f6
6f37bac6d8981a636e09a90734aed438f129e548
/ex_18d_Trend.py
67557ebdd68b8139410789d6c438ee4fdfcc5a55
[]
no_license
dryabokon/ML
b88e84734f7becb8286ac161440353b39af9d4b5
dc4a60bdf3cfba1c2084c6c56554e33a4aeaa0f4
refs/heads/master
2023-08-07T13:18:36.866514
2023-07-26T09:49:54
2023-07-26T09:49:54
168,510,126
2
0
null
null
null
null
UTF-8
Python
false
false
3,144
py
import numpy import pandas as pd from scipy import signal from statsmodels.tsa.seasonal import seasonal_decompose # ---------------------------------------------------------------------------------------------------------------------- import tools_plot_v2 import tools_video # -------------------------------------------...
[ "d.ryabokon@gmail.com" ]
d.ryabokon@gmail.com
0260a6a4dba3404919266de0c9dfcca8f45bb2f7
15d461984fcc4a0063d151e977a21cd0441ae3a2
/scripts/crpo/applicant_actions/event_applicants.py
5f133e86b3180e0a49e44a71ae6ef2d53656a409
[]
no_license
Vinod-E/UI-Automation
b50d20fb49b6f632e7d3bf0cfa6e31895406fb0b
ac2b3a1ff63195353dbf4578b37c1111122b0760
refs/heads/master
2023-01-05T15:09:10.811434
2021-05-03T04:03:19
2021-05-03T04:03:19
192,861,538
1
4
null
2022-12-27T15:36:14
2019-06-20T06:24:34
Python
UTF-8
Python
false
false
2,205
py
import time import page_elements from logger_settings import ui_logger from scripts.crpo.applicant_actions import applicant_action_excel class ApplicantActions(applicant_action_excel.ApplicantActionsExcelRead): def __init__(self): super(ApplicantActions, self).__init__() self.validation_check = [...
[ "Vinod-E" ]
Vinod-E
5212d33fd1d4633eacd05827baab585384e2c2b8
93b1d98b95cd006260a44231d22fbb5b1a644d6b
/bib_merge/utils/io_utils.py
dc0d29082ab2f239a1e94c7fa48f7f7d311d6cb5
[]
no_license
liziniu/bib-merge
7f67b528529e5965380ddbd0f26ed48c69dae9c8
8e3b5c47069e1bec9cd1eefe1b5b18d780c3cf2a
refs/heads/master
2022-12-31T11:36:21.855847
2020-10-25T10:50:51
2020-10-25T10:50:51
307,073,325
1
0
null
null
null
null
UTF-8
Python
false
false
634
py
import bibtexparser as bp def read_bib_file(file_path: str, verbose=True): assert file_path.endswith('.bib'), ( "Provided path does not reach to a bib file: %s" % file_path ) with open(file_path) as bib_file: bib_database = bp.load(bib_file) if verbose: print('Load bib databas...
[ "374387855@qq.com" ]
374387855@qq.com
f7369c8123da3e4f0ed2d89991c6240e4378dc48
bde5435074b92404524390a9aa0bfbbebd13124d
/pymps/blockmarker/autoblock.py
0a748e88547c9f15eb92cd360d190a5edf888cf3
[ "MIT" ]
permissive
GiggleLiu/pymps
adc113313725b38e50a2e633c67568fb04ec0ad6
c8314581010d68d3fa34af6e87b6af2969fc261d
refs/heads/master
2020-06-13T09:19:13.028827
2018-04-15T17:18:55
2018-04-15T17:18:55
75,427,737
5
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
''' Find the Block Matrix structure automatically. ''' import numpy as np import scipy.sparse as sps from . import fblock as flib from .blockmarker import BlockMarker __all__ = ['get_blockmarker'] def _pyblockize(indices, indptr): ''' Cluster indices into groups, which forms block diagonal forms. The p...
[ "cacate0129@gmail.com" ]
cacate0129@gmail.com
e956fc72e6e81888bc5e4c80cb0560acc6328608
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_oviducts.py
6b2c93b49c65ada785fba96b252e090bc43e7818
[ "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
245
py
from xai.brain.wordbase.nouns._oviduct import _OVIDUCT #calss header class _OVIDUCTS(_OVIDUCT, ): def __init__(self,): _OVIDUCT.__init__(self) self.name = "OVIDUCTS" self.specie = 'nouns' self.basic = "oviduct" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f39b85e6325b7f5c347bcca12545c10cfb69d497
8bccc05fcb3cfc6ed93991927a514a96f53f7ec0
/old_version/input_models/padded_map/sentence_to_graph_map_preprocessor.py
4fe3ed60379e55ab91d694b0af5dfb560f425351
[ "MIT" ]
permissive
afcarl/QuestionAnsweringGCN
54101c38549405d65ef22e38fed9e5bd58122ada
e9c1987b40a553f0619fa796f692c8880de32846
refs/heads/master
2020-03-20T10:35:55.729170
2018-06-07T11:45:12
2018-06-07T11:45:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
from input_models.abstract_preprocessor import AbstractPreprocessor from input_models.padded_map.padded_map_input_model import PaddedMapInputModel import numpy as np class SentenceToGraphMapPreprocessor(AbstractPreprocessor): def process(self, batch_dictionary, mode='train'): if self.next_preprocessor is...
[ "michael.sejr@gmail.com" ]
michael.sejr@gmail.com
a0093dd23dc198ebcc2d38b6871f8bacfdcfc94b
e60f402bb3adf22b086ba4cd707db050c9e93c80
/src/pytest_recording/validation.py
9312f9c6852406b00fb06e957c7bec5df66d6ee8
[ "MIT" ]
permissive
kiwicom/pytest-recording
8cbb45230b292316efe72c87c1501def3d96fde3
85c3ffa55e01d26ca0551bf6a9a3eacdd6c1d8a1
refs/heads/master
2023-08-20T02:25:40.548883
2023-07-31T23:36:35
2023-07-31T23:36:35
197,214,988
309
26
MIT
2023-09-04T16:50:25
2019-07-16T14:57:52
Python
UTF-8
Python
false
false
685
py
from _pytest.mark import Mark from .exceptions import UsageError ALLOWED_BLOCK_NETWORK_ARGUMENTS = ["allowed_hosts"] def validate_block_network_mark(mark: Mark) -> None: """Validate the input arguments for the `block_network` pytest mark.""" if mark.args or list(mark.kwargs) not in ([], ALLOWED_BLOCK_NETWOR...
[ "Stranger6667@users.noreply.github.com" ]
Stranger6667@users.noreply.github.com
22040ce8211c06152c7438433f3ea3da9e5577e1
13cfe5f7f6337dd2b69817c8e490e03ad47be68c
/tests/fixtures/tables.py
415ed34d0ae0c0f788b9b7cb7a0bec77efbcf519
[ "MIT" ]
permissive
mutusfa/hypothesis_sqlalchemy
db95bd213300baa465a2a2756505cabe0418f9a9
3eb90b0921166a9fdb23d147aa8fad548b20aab9
refs/heads/master
2020-05-31T04:13:30.269063
2019-06-03T23:40:43
2019-06-03T23:40:43
190,096,802
0
0
null
2019-06-03T23:35:34
2019-06-03T23:35:34
null
UTF-8
Python
false
false
399
py
import pytest from sqlalchemy.schema import (MetaData, Table) from tests import strategies from tests.strategies.tables import metadata as raw_metadata from tests.utils import example @pytest.fixture(scope='session') def metadata() -> MetaData: return raw_metadata @pytest.fixture...
[ "azatibrakov@gmail.com" ]
azatibrakov@gmail.com
d7f7434354b111d37ad94b820087ac85fc58519d
699cad5fee497cce94463decf1bf2b811e3fd244
/06프로그램의 흐름 제어하기/ifand.py
4fcaaa8079b29fe125328b5774ade5dc4f1f8cf5
[]
no_license
Jeonghwan-Yoo/brain_python3
91974019a29013abe8c9f9ed132c48b404259e2f
a22e870515e760aaa497cbc99305977cf2f01a3d
refs/heads/master
2020-07-27T00:02:29.604848
2019-09-16T13:16:09
2019-09-16T13:16:09
208,802,993
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
print('수를 입력하세요 : ') a=int(input()) if a>10 and a%2==0: print('10보다 큰 짝수') elif a>10 and a%2!=0: print('10보다 큰 홀수') elif a%2==0: print('10이하의 짝수') else: print('10이하의 홀수')
[ "dwgbjdhks2@gmail.com" ]
dwgbjdhks2@gmail.com
f403403b97e511c6e9edee8ae3f5cab7197fda02
5023f3f6f493a6cf3a6e4acf7ee742fdecc2a558
/enviro_logger/old/accel_logger.py
7c938499324ea62978043fcc52873505ed99f61e
[]
no_license
erictang000/stackbot
1a0de1a30c0b17a67808cbb7f084149f0c744070
e9a20930d790c995163192b29394a266af54a3d0
refs/heads/master
2022-04-10T06:48:25.785204
2020-03-18T23:08:57
2020-03-18T23:08:57
248,362,086
1
3
null
null
null
null
UTF-8
Python
false
false
3,747
py
from ScopeFoundry import Measurement import PyDAQmx as mx import numpy as np import pyqtgraph as pg from ScopeFoundry.helper_funcs import load_qt_ui_file, sibling_path class AccelLogger(Measurement): name = 'accel_logger' def setup(self): self.settings.New('channel', dtype=str, initi...
[ "esbarnard@lbl.gov" ]
esbarnard@lbl.gov
bbfe9ec7dbc5ecc166bacd814838e24a9e2337e7
5496690d32082ab03cde34f773250ea2e985389a
/scripts/EA_petraitis2008.py
8fd5a79daca9d62ccb085176a2277c27f3352e97
[ "MIT" ]
permissive
akshayah3/retriever
3dbbc586ef983f47f48bde5913cd16e6c760da57
00bcaae301bf3636a261498f92f0b86c89232bfe
refs/heads/master
2021-01-17T21:49:22.572745
2015-03-11T13:00:14
2015-03-11T13:00:14
32,079,469
0
0
null
2015-03-12T13:50:10
2015-03-12T13:50:10
null
UTF-8
Python
false
false
2,118
py
#retriever from retriever.lib.templates import Script from retriever.lib.models import Table, Cleanup, correct_invalid_value class main(Script): def __init__(self): Script.__init__(self, name="Gulf of Maine intertidal density/cover (Ecological Archives 2008)", ...
[ "ben@bendmorris.com" ]
ben@bendmorris.com
d5ead36c387425c43cd285d07ebd651cfb536eb5
78c0a441742a4451fcca2d304d30bd21ce2b2dbd
/_old/src/predict_2017_06_15_4.py
e2a803c2a1a22f98fe13bbe9f760a46ab8320f9c
[]
no_license
ivan-filonov/mlbootcamp_5
c7aa7506a6d929a055f89c9129584f0df71490c1
b3b06eb91c1cbc81fea68fb1724197513a19b07a
refs/heads/master
2023-08-19T06:58:05.099722
2019-08-22T11:25:30
2019-08-22T11:25:30
97,398,154
4
1
null
2023-08-28T17:18:16
2017-07-16T17:08:06
Python
UTF-8
Python
false
false
3,821
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jun 15 20:26:49 2017 @author: user """ import datetime import os import sys import matplotlib.pyplot as plot import numpy as np import pandas as pd import seaborn as sns def now(): return datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S') def ...
[ "ivan.filonov@gmail.com" ]
ivan.filonov@gmail.com
9c0d5bc4ca053203191da39b78a0c46d7f40e2ea
db019fc09e2328cfe3042f0b73cc83b200b8c28a
/backend/app/app/tests/utils/user.py
a4e48eaa79577415d0c6964d570968d9d8f99cb2
[ "MIT" ]
permissive
danielmichaels/check-redirects.com
d807afb4fe3e520f7716a068db93884c586cfffa
90634fb6e7c2443230516e68a55a339f16982a5f
refs/heads/master
2023-06-01T21:38:59.444290
2021-04-29T22:17:05
2021-04-29T22:17:05
264,576,200
0
0
MIT
2021-06-17T19:02:51
2020-05-17T03:31:00
Python
UTF-8
Python
false
false
1,651
py
from typing import Dict from app import crud from app.core.config import settings from app.models.user import User from app.schemas.user import UserCreate, UserUpdate from app.tests.utils.utils import random_email, random_lower_string from fastapi.testclient import TestClient from sqlalchemy.orm import Session def u...
[ "dans.address@outlook.com" ]
dans.address@outlook.com
2275b6058e3d178552a7a37b81592a486a0d348b
642b7138da231474154a83c2dc3b4a2a42eb441b
/graphs/longest_path_b_w_vertices.py
e2b2d423fa8cc01073fe83df5bdf09cbd267569c
[]
no_license
somanshu/python-pr
15465ed7182413591c709f9978420f6a16c9db91
7bfee6fc2a8340ba3e343f991a1da5bdb4ae9cb2
refs/heads/master
2020-07-02T17:21:37.132495
2019-08-22T08:04:11
2019-08-22T08:04:11
201,602,731
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
# Longest path between any pair of vertices # https://www.geeksforgeeks.org/longest-path-between-any-pair-of-vertices/ from collections import defaultdict class Graph(): def __init__(self, v): self.v = v self.graph = defaultdict(list) def addEdge(self, fromvtx, tovtx, length): self.g...
[ "somanshu@logos.social" ]
somanshu@logos.social
73d1067cdde23df79c05c47e309c81e4c8a285d4
f6bba50fccc6fb0dae2f046193434cfb4b9d32d5
/60/C.py
31ee190593a727de9a949a8524e4c407fb6e12dc
[]
no_license
seven320/AtCoder
4c26723d20004fe46ce118b882faabc05066841c
45e301e330e817f1ace4be4088d3babe18588170
refs/heads/master
2021-11-22T22:57:32.290504
2021-10-24T09:15:12
2021-10-24T09:15:12
162,827,473
2
0
null
null
null
null
UTF-8
Python
false
false
515
py
# encoding:utf-8 import copy import random import bisect #bisect_left これで二部探索の大小検索が行える import fractions #最小公倍数などはこっち import math mod = 10**9+7 N,T = map(int,input().split()) t = [int(i) for i in input().split()] ans = 0 difference = [0 for i in range(N-1)] for i in range(N-1): difference[i] = t[i+1]-t[i] # prin...
[ "yosyuaomenw@yahoo.co.jp" ]
yosyuaomenw@yahoo.co.jp
5d13071cce3961f43d47b8a0a2e086701fd56bf2
de53c905ce9ade9b8e60371238c3d5b64bf964f5
/JustHookan/urls.py
7c4f460558092ec22293c45b3eafea85fe25f0de
[]
no_license
rudiq4/Facebeek
1edaa86ffc8c49be6d9f5532d247fe98cceb1d76
b2f8d90c60e024ce606daeca2c87ae459b8f5bed
refs/heads/master
2020-04-14T06:44:37.815011
2018-12-31T20:04:34
2018-12-31T20:04:34
163,694,694
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
from django.conf.urls import url, include from django.contrib import admin from django.conf import settings from django.conf.urls.static import static app_name = 'justhookan' urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include('User.urls', namespace='user')), ...
[ "rudikvovan@gmail.com" ]
rudikvovan@gmail.com
0cb36ed99fe62ccf32c67e899486f44476aacf2f
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/recoveryservices/v20160601/__init__.py
10d7d9ba8a9c4751b5a51936a5a5d9f8f3fad3a9
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
374
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! *** # Export this package's modules as members: from .get_protection_policy import * from .get_vault import * from .protection_policy import * from .vault ...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
c05b65203ee30c8143266cc64e655faef37fd46c
3b99e2863db4bcd3707e6f13641ddd9156289bc6
/platform/part 17/sprites.py
a9fca6704fb65ef2b25284c488352beab2475b20
[ "MIT" ]
permissive
m-julian/pygame_tutorials
500a5be3b4fad86fad577a7ea5493ac09ca41168
be57d865de4ac0c18148e1785443c05445159779
refs/heads/master
2022-07-18T00:15:01.335459
2020-05-12T15:39:45
2020-05-12T15:39:45
263,055,700
0
0
MIT
2020-05-11T13:48:49
2020-05-11T13:48:48
null
UTF-8
Python
false
false
7,078
py
# Sprite classes for platform game import pygame as pg from settings import * from random import choice, randrange vec = pg.math.Vector2 class Spritesheet: # utility class for loading and parsing spritesheets def __init__(self, filename): self.spritesheet = pg.image.load(filename).convert() def ge...
[ "chris@kidscancode.org" ]
chris@kidscancode.org
e67eada84a572d0fa4aa2bbd48a10b6c9ed702e0
3d6a348d703bcef1ff0b11f340a9b63f4ffec534
/tests/test_tools.py
55031856f8c37f6412e1423c590e13625873eb61
[]
no_license
Boomatang/Clue
717fed577c15203e8a86de2da96650d46170cc03
1b397b815d20c87bf1a0935f6c3f0502ceaddf6e
refs/heads/master
2021-05-09T10:48:04.036476
2019-09-02T17:41:37
2019-09-02T17:41:37
118,974,799
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
from flask import url_for def test_valid_form_is_entered(client): data = {"post_to_post": "1500", "spacing": "100", "bar_size": "12"} response = client.post( url_for("tools.bar_spacer"), data=data, follow_redirects=True ) assert b"Actual gap : <strong>96.0</strong>" in response.data def tes...
[ "jimfity@gmail.com" ]
jimfity@gmail.com
49fabeb6bf1b6f2176a110ed07b85f4965739a14
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/337/usersdata/303/102371/submittedfiles/diagonaldominante.py
68fbaf010f9f559d47e07b6012bc7c6b5074b063
[]
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
781
py
# -*- coding: utf-8 -* n = int(input('Digite a ordem da matriz: ')) while(True): if n<2: n=int(input('Digite a ordem da matriz: ')) else: break matriz=[] for i in range(0,n,1): matriz_linha=[] for j in range(0,n,1): matriz_linha.append(int(input('Digite o elemento (%d,%d): '%(i+1...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
656dc19c451a560d94a559071d3c7e61f148df93
ac01b09550ccedb68a05756a7455c60766b60857
/src/cq/forms.py
46094d8588fe23479e570bb2e757f30971e625df
[]
no_license
cseai/OpenEduQA
ea669cffa7d3f2f3ded2221c8cb85876ac1438df
8a90a843720a175c5da0af4fc51cc8e6542deb33
refs/heads/master
2023-06-10T23:17:40.502619
2021-07-05T12:43:44
2021-07-05T12:43:44
281,315,574
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
from django import forms from pagedown.widgets import PagedownWidget from .models import Cq # datetimepicker from bootstrap_datepicker_plus import DateTimePickerInput, DatePickerInput class CqForm(forms.ModelForm): question = forms.CharField(widget=PagedownWidget(show_preview=False)) answer = forms.CharFie...
[ "bh.pro.pust@gmail.com" ]
bh.pro.pust@gmail.com
3d22c2485fc40704afea85991a690fcd49d7395c
5aa18da00fa539037a8f4e1d1e8c949d1a023841
/catalyst/utils/tests/test_argparse.py
dc073228f742c628058333042466769dc758b8ad
[ "Apache-2.0" ]
permissive
metya/catalyst
cbe6d5bc5315d9fffb64b184b91fd4e008bd4ed0
011b43e64aa59d5e91f4b1e8e1c7fc13f8a58557
refs/heads/master
2020-10-01T01:23:00.227666
2019-12-09T23:38:09
2019-12-09T23:38:09
227,420,157
0
1
Apache-2.0
2019-12-11T17:14:07
2019-12-11T17:14:06
null
UTF-8
Python
false
false
231
py
# flake8: noqa from catalyst.utils.misc import args_are_not_none def test_args_are_not_none(): assert args_are_not_none(1, 2, 3, "") assert not args_are_not_none(-8, "", None, True) assert not args_are_not_none(None)
[ "scitator@gmail.com" ]
scitator@gmail.com
b2cbd5fdfcf25c486622d9380e8a327bbafd3c4d
b8c4ef9ccab22717ab97ab2fb100614d962a5820
/src/main/python/com/skalicky/python/interviewpuzzles/merge_two_linked_lists.py
0817e78395008fde4d13be98f149f59cbd70de8a
[]
no_license
Sandeep8447/interview_puzzles
1d6c8e05f106c8d5c4c412a9f304cb118fcc90f4
a3c1158fe70ed239f8548ace8d1443a431b644c8
refs/heads/master
2023-09-02T21:39:32.747747
2021-10-30T11:56:57
2021-10-30T11:56:57
422,867,683
0
0
null
2021-10-30T11:56:58
2021-10-30T11:55:17
null
UTF-8
Python
false
false
4,518
py
# Task: # # Given two sorted linked lists, merge them in order. from typing import Optional class ListNode: def __init__(self, value, name, next_node=None): self.value = value self.name: str = name self.next_node: ListNode = next_node ...
[ "skalicky.tomas@gmail.com" ]
skalicky.tomas@gmail.com
659beba51780003970dc02e82491f366de403e3b
14b5679d88afa782dc5d6b35878ab043089a060a
/students/FuYuting/myhouse/myhouse.py
1e0681331f5f443e9176329ad4b261fa11f0cac8
[]
no_license
mutiangua/EIS2020
c541ef32623f67f9277945cd39cff3c02f06e4dd
92aa2711b763a2c93be238825c445bf2db8da391
refs/heads/master
2022-11-18T05:21:47.567342
2020-07-11T10:11:21
2020-07-11T10:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
import mcpi.minecraft as minecraft import mcpi.block as block import csv mc = minecraft.Minecraft.create() pos = mc.player.getTilePos() def roof(x,y,z,L,num): reader = csv.reader(open(str(num)+'.csv')) data=[] for r in reader: data.append(r) for i in range(10): for j in range(10): ...
[ "noreply@github.com" ]
mutiangua.noreply@github.com
1d5687665a523502ac1c5e8bce641746bd8191eb
0c0168a4676bce7453836a7509e7133044aa8975
/tests/unit/util/datetime/test_monthday.py
7a9f7f84b3c23cde6f8a96659c7ee72492ee0fc8
[ "BSD-3-Clause" ]
permissive
byceps/byceps
0aad3c4d974f76c6f8c3674d5539a80c9107b97a
eaee2b7fdc08c76c16ddf7f436110e0b5f1812e5
refs/heads/main
2023-09-01T04:03:13.365687
2023-09-01T03:28:18
2023-09-01T03:28:18
40,150,239
44
23
BSD-3-Clause
2023-05-16T18:41:32
2015-08-03T22:05:23
Python
UTF-8
Python
false
false
1,239
py
""" :Copyright: 2014-2023 Jochen Kupperschmidt :License: Revised BSD (see `LICENSE` file for details) """ from datetime import date import pytest from byceps.util.datetime.monthday import MonthDay @pytest.mark.parametrize( ('date', 'expected_month', 'expected_day'), [ (date(1994, 3, 18), 3, 18), ...
[ "homework@nwsnet.de" ]
homework@nwsnet.de
34b2553f3c6d7679a890b7ef8df534ca4061c00c
ff9fd1bae4ea538fcae66df96b4acc1abdef1556
/fabnet/monitor/monitor_operator.py
e2ba92230a690fb3f25fe52a6b9727b38125f298
[]
no_license
fabregas/fabnet
640b6cf9d96ef477f8db5038881bd448dfcbc2a1
6ad7f0791ca0fd08dcbbfc49f785ef634e5fcffa
refs/heads/master
2021-01-10T20:22:20.107342
2014-02-17T16:51:30
2014-02-17T16:51:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,076
py
#!/usr/bin/python """ Copyright (C) 2012 Konstantin Andrusenko See the documentation for further information on copyrights, or contact the author. All Rights Reserved. @package fabnet.monitor.monitor_operator @author Konstantin Andrusenko @date November 11, 2012 """ import os import time import threading impo...
[ "kksstt@gmail.com" ]
kksstt@gmail.com
b5d8c3895dc98a7173bb7c05210adc5e55c7e369
6d96222617e24c91a4c071de3d9dad3eec531b0c
/przyklady/przyklady/0/Listing_17-1.py
856a9684b184679978f64c8554c4c5834a4eeab9
[ "Unlicense" ]
permissive
bitounu/Nauka-Pythona
ecf20ecf3772b57c7bf608905dc7eae068e94b9d
e02dd239ba2c294d6fdd98958301b3ece44f44d1
refs/heads/master
2020-03-28T12:39:12.565545
2018-09-11T13:15:35
2018-09-11T13:15:35
148,319,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,354
py
# Listing_17-1.py # Copyright Warren & Carter Sande, 2013 # Released under MIT license http://www.opensource.org/licenses/mit-license.php # Version $version ---------------------------- # Rysowanie na ekranie wielu piłek z wykorzystaniem sprajtów import sys, pygame #-----definicja klasy pochodnej ----------------...
[ "38018844+bitounu@users.noreply.github.com" ]
38018844+bitounu@users.noreply.github.com
51975acc4c06ff1c9f9f13e48d14a0e8370fa6bc
ef243d91a1826b490e935fa3f3e6c29c3cc547d0
/_servicemanager.py
1da0ddd5cd85cdc92590be431004f5b0ac3910d6
[]
no_license
VentiFang/Python_local_module
6b3d0b22399e817057dfd15d647a14bb1e41980e
c44f55379eca2818b29732c2815480ee755ae3fb
refs/heads/master
2020-11-29T11:24:54.932967
2019-12-25T12:57:14
2019-12-25T12:57:14
230,101,875
0
0
null
null
null
null
UTF-8
Python
false
false
2,559
py
# encoding: utf-8 # module _servicemanager # from F:\Python\Python36\lib\site-packages\win32\_servicemanager.cp36-win_amd64.pyd # by generator 1.147 """ A module that interfaces with the Windows Service Control Manager. """ # no imports # Variables with simple values COINIT_APARTMENTTHREADED = 2 COINIT_DISABLE_OLE1D...
[ "5149528+ventifang@user.noreply.gitee.com" ]
5149528+ventifang@user.noreply.gitee.com
76df9835c2aa7293c85946e07a63592659998352
aea83e77dd0c0cc74d74362a0c4646c627f4b0e6
/templates/myproject/rapp/models.py
157db0191dc1ad0fb2ae87bfeecd3261ae2af1bb
[]
no_license
Dreambigxz/steps_project
12e3b5694f769e3c882f9a4d7e9d4f3378514981
e9049b27ab865a7ea7421a06c51002142136a768
refs/heads/main
2023-01-12T10:21:05.310825
2020-11-18T15:59:26
2020-11-18T15:59:26
313,984,506
0
0
null
null
null
null
UTF-8
Python
false
false
3,281
py
from django.db import models from django.conf import settings from django.utils import timezone from django.urls import reverse #from users.models import MyUser # Create your models here. class Restaurant(models.Model): food_name= models.CharField(max_length=100, null=True) food_image= models.ImageField(defa...
[ "onyemordidaniel@gmail.com" ]
onyemordidaniel@gmail.com
ac02f0b23cfc2040c2cb0946c0bb245f49d6b0af
9cf434b6ee59ab22496ee031fb4ab145bbaff1a2
/tranque_v1.8.4_source/backend/src/alerts/spreads.py
83be678dbba89563e25e22cbdfff9afdcb1f8fa1
[]
no_license
oliverhernandezmoreno/SourcesOH
f2ff1a5e3377f0ac1fb8b3153d99d0ee703700b7
5d9ca5ab1caceafd4d11207139c9e56210156ef8
refs/heads/master
2023-01-05T02:51:25.172103
2020-08-27T14:39:34
2020-08-27T14:39:34
64,422,812
0
1
null
2022-12-30T17:25:10
2016-07-28T19:33:44
JavaScript
UTF-8
Python
false
false
658
py
# Common module spreads from django.db.models import Q from alerts.modules.base import spread from targets.models import DataSource, DataSourceGroup def spread_sectors(): def wrapper(class_): return spread(DataSourceGroup, Q(parents__canonical_name='sectores'))(class_) return wrapper def spread_ins...
[ "oliverhernandezmoreno@gmail.com" ]
oliverhernandezmoreno@gmail.com
62ac3c8151c604026aafdcc79cb7defc86595cad
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/d89dd75769cc83e424f4c862611e43addf0ffec8-<load>-fix.py
d2e40cb44328c97fc3310fcc4831a0ded2b826a9
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
@staticmethod def load(data, block=None, role=None, task_include=None, variable_manager=None, loader=None): ir = IncludeRole(block, role, task_include=task_include).load_data(data, variable_manager=variable_manager, loader=loader) my_arg_names = frozenset(ir.args.keys()) ir._role_name = ir.args.get('name', ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
f7dd5027bf65777955488514e93c39422f62ed82
7b102f9c8f2e3f9240090d1d67af50333a2ba98d
/gbd_2017/shared_code/central_comp/dalys_hale/dalynator/tasks/location_aggregation_task.py
48b56b2f315480ee5f476b7b7c5cf3cdc42ed9c8
[]
no_license
Nermin-Ghith/ihme-modeling
9c8ec56b249cb0c417361102724fef1e6e0bcebd
746ea5fb76a9c049c37a8c15aa089c041a90a6d5
refs/heads/main
2023-04-13T00:26:55.363986
2020-10-28T19:51:51
2020-10-28T19:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,971
py
import logging from jobmon.models import JobStatus from jobmon.workflow.executable_task import ExecutableTask from dalynator.tasks.burdenator_most_detailed_task import \ BurdenatorMostDetailedTask logger = logging.getLogger(__name__) class LocationAggregationTask(ExecutableTask): def __init__(self, data_ro...
[ "nsidles@uw.edu" ]
nsidles@uw.edu
1737b8ee67ef25c72ced868fbf90cfbda2bfbcfd
1a816c8275f764d7373029af6f84d91fce85e1b4
/demo/demo2.py
e2a3e12c4291f32f7646184d53d055977136ff78
[]
no_license
gtntangll/python-webcrawler
a5b10cd012ab57e455a86cd52148498b699835f6
8064ac594d04ddba0407467b22b2245dc6fe6f42
refs/heads/master
2021-07-15T20:07:43.459469
2017-10-20T07:01:25
2017-10-20T07:01:25
106,905,651
1
1
null
null
null
null
UTF-8
Python
false
false
3,584
py
# -*- coding:utf-8 -*- import urllib import urllib2 import re class Tool: removeImg = re.compile('<img.*?>| {7}|') removeAddr = re.compile('<a.*?>|</a>') replaceLine = re.compile('<tr>|<div>|</div>|</p>') replaceTD = re.compile('<td>') replacePara = re.compile('<p.*?>') replaceBR = re.compile('...
[ "you@example.com" ]
you@example.com
6f4d56443156a1cae0f438de57c507aa6b0b28e7
b0eced53250bb56c15862f093ddfd4ee4252ed34
/spidermanage/nmaptoolbackground/control/jobcontrol.py
924809bfef757feadca20ad27e3b50261baac2d0
[]
no_license
l0kihardt/toolforspider
e34a823688340e0645e6f22655d96fd0c80985ce
b9b8633ed560a7545335e6d49587ae054fd4a88f
refs/heads/master
2020-12-25T07:14:37.548782
2016-06-15T01:01:16
2016-06-15T01:01:16
61,173,718
2
1
null
2016-06-15T03:11:18
2016-06-15T03:11:18
null
UTF-8
Python
false
false
6,817
py
#!/usr/bin/python #coding:utf-8 from spidertool import SQLTool ,config from ..model import job limitpage=15 localconfig=config.Config() def jobshow(jobname='',jobstatus='',username='',taskid='',jobport='',result='',page='0'): validresult=False request_params=[] values_params=[] if jobname!='': ...
[ "nanshihui@qq.com" ]
nanshihui@qq.com
88dd9718e3e0f8c234e8925b17d3e8b6b3f7d519
9680ba23fd13b4bc0fc3ce0c9f02bb88c6da73e4
/Brian Heinold (243) ile Python/p10405b_sınav.py
95d8aae509fae5da462852aee6599ed7beddc739
[]
no_license
mnihatyavas/Python-uygulamalar
694091545a24f50a40a2ef63a3d96354a57c8859
688e0dbde24b5605e045c8ec2a9c772ab5f0f244
refs/heads/master
2020-08-23T19:12:42.897039
2020-04-24T22:45:22
2020-04-24T22:45:22
216,670,169
0
0
null
null
null
null
ISO-8859-9
Python
false
false
905
py
# coding:iso-8859-9 Türkçe from math import * from random import randint doğru=yanlış=0 for i in range (1,11): a = randint (1,9) b = randint (1,9) c = a * b print (i, ".soru: ", a, " * ", b, " = ?", sep="") cevap = eval (input ("Çarpmanın cevabını girin: ")) if cevap == c: print ("...
[ "noreply@github.com" ]
mnihatyavas.noreply@github.com
b22b7f905f0feba2d7b266e07ed3985798626071
62d6ea8f851512ea7b65a4455a9542dc96a8f7da
/core/urls.py
f65a39f1b6f9b2eb01ad85a569dc63c0ae7fcc1e
[]
no_license
WesleyVitor/project-with-generic-views
281d223d5adb886f793e465df0e9d49d4135c286
699a486721a181b1c6b26857fe2249b104e62b3c
refs/heads/main
2023-03-28T02:39:48.927404
2021-03-29T22:54:32
2021-03-29T22:54:32
351,275,412
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
from django.urls import path from . import views app_name = "core" urlpatterns = [ path("",views.ProductListView.as_view(),name="list"), path("detail/<int:pk>",views.ProductDetailView.as_view(),name="detail"), path("new/",views.ProductCreateView.as_view(),name="create"), path("update/<int:pk>/",views.Product...
[ "wesleydemorais@outlook.com.br" ]
wesleydemorais@outlook.com.br
0133b61e4bda41d095eafae931a6400fca9ddc99
753a70bc416e8dced2853f278b08ef60cdb3c768
/models/research/efficient-hrl/context/configs/ant_block.gin
d5bd4f01e015611127bbc188b3ac9af3df6a288a
[ "MIT", "Apache-2.0" ]
permissive
finnickniu/tensorflow_object_detection_tflite
ef94158e5350613590641880cb3c1062f7dd0efb
a115d918f6894a69586174653172be0b5d1de952
refs/heads/master
2023-04-06T04:59:24.985923
2022-09-20T16:29:08
2022-09-20T16:29:08
230,891,552
60
19
MIT
2023-03-25T00:31:18
2019-12-30T09:58:41
C++
UTF-8
Python
false
false
2,155
gin
#-*-Python-*- create_maze_env.env_name = "AntBlock" ZERO_OBS = False context_range = (%CONTEXT_RANGE_MIN, %CONTEXT_RANGE_MAX) meta_context_range = ((-4, -4), (20, 20)) RESET_EPISODE_PERIOD = 500 RESET_ENV_PERIOD = 1 # End episode every N steps UvfAgent.reset_episode_cond_fn = @every_n_steps every_n_steps.n = %RESET_EP...
[ "finn.niu@apptech.com.hk" ]
finn.niu@apptech.com.hk
8504823438e37ec001bf3f44ddc26a33fbe7db94
11aaeaeb55d587a950456fd1480063e1aed1d9e5
/.history/test_20190626132756.py
4ed07449237c7b14f697f43b09de87ea3b4c7fb7
[]
no_license
Gr4cchus/Learn-Python-3-The-Hard-Way
8ce9e68f6a91ea33ea45fe64bfff82d65422c4a8
f5fa34db16cdd6377faa7fcf45c70f94bb4aec0d
refs/heads/master
2020-05-17T23:18:29.483160
2019-06-26T18:42:52
2019-06-26T18:42:52
184,023,439
0
0
null
null
null
null
UTF-8
Python
false
false
2,173
py
# # class Foo: # # answer = 42 # # f1 = Foo() # # f2 = Foo() # # print(f1.answer) # # print(f2.answer) # # # both will print 42 # # f1.answer = 84 # # Foo.answer = 21 # # print(f1.answer) # 84 # # print(f2.answer) # 21 # class Foo: # def __init__(self): # self.answer = 42 # f1 = Foo() # f2 = Fo...
[ "ahivent@gmail.com" ]
ahivent@gmail.com
3be862599e2fe3794e8865aa9299b5aaabe202bd
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_soapier.py
1f19d26b29ecca0cea5fa4edc39b960c29c5f1bf
[ "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
243
py
from xai.brain.wordbase.adjectives._soapy import _SOAPY #calss header class _SOAPIER(_SOAPY, ): def __init__(self,): _SOAPY.__init__(self) self.name = "SOAPIER" self.specie = 'adjectives' self.basic = "soapy" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0e8232eca0492ba940b8268b0e39846e39bbac11
289c54c6209f94b13d3cf24f59df1623a8f8a8c0
/.venv/bin/chardetect
8229a2d164f020f4af2390789625b0be9c342553
[]
no_license
DylanB5402/tba_event_analyzer
ccb53f9d5ed3abd8650b66f71c97d69e898c0d03
9f5bdda98c4f89fc9a39bd842ebf35f0d8fda9d1
refs/heads/master
2023-05-15T04:26:07.243239
2021-06-10T03:22:33
2021-06-10T03:22:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/dylan/projects/tba_event_analyzer/.venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "d.barva5402@gmail.com" ]
d.barva5402@gmail.com
8285ae5d4ed55ad573b812b795e28b7c1157fbd5
e4eabccc6d971289cf13653d1b6f290e39b870ab
/1306-minimum-absolute-difference/minimum-absolute-difference.py
9a1bbf0bf556a2c885b1bff7078df21a106d10d8
[]
no_license
HEroKuma/leetcode
128b38a9f559dc9e3f21c86a47ede67ad72f7675
b3045aaedbe98eddc7e4e518a03a9337a63be716
refs/heads/master
2023-01-03T12:12:31.018717
2020-11-01T16:56:47
2020-11-01T16:56:47
260,488,865
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
# Given an array of distinct integers arr, find all pairs of elements with the minimum absolute difference of any two elements.  # # Return a list of pairs in ascending order(with respect to pairs), each pair [a, b] follows # # # a, b are from arr # a < b # b - a equals to the minimum absolute difference of any two ...
[ "zx8733520+github@gapp.nthu.edu.tw" ]
zx8733520+github@gapp.nthu.edu.tw
5eefa1d21f9a2642ebcccf99cfb718905544bafc
340e9825b7d29d83a7434555806aded478ef610a
/Character Picture Grid p. 103.py
894e02fd8f2a1a3994867ec5bbcfb5410f8bfc44
[]
no_license
SamCadet/PythonScratchWork
d1ae202b815e795bc4caf19bfa7cfc1a4a076bb1
07bd3a7bf7fde2d0e1e9b1f7cff1ee6aa128fdc9
refs/heads/main
2023-07-03T02:44:12.006432
2021-07-29T19:37:42
2021-07-29T19:37:42
390,822,759
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
grid = [['.', '.', '.', '.', '.', '.'], ['.', 'O', 'O', '.', '.', '.'], ['O', 'O', 'O', 'O', '.', '.'], ['O', 'O', 'O', 'O', 'O', '.'], ['.', 'O', 'O', 'O', 'O', 'O'], ['O', 'O', 'O', 'O', 'O', '.'], ['O', 'O', 'O', 'O', '.', '.'], ['.', 'O', 'O', '.', '.', '.'], ...
[ "scadet1@gmail.com" ]
scadet1@gmail.com
26db3fe9ce529fad45c7dcab9e66030cae82a59e
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2016/08/olympics-medals-china-20160802/graphic_config.py
3e5b8ed54ba9e1ec1a538431be9f237930d91fae
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1xmrf37hKamfFjwSbKEq5og8Zt7ZyK1QL1IkCaj5aRn0' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
37fa16b9518067d502b32f4d01e70108fe78694a
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_270/ch14_2020_03_09_17_31_35_106404.py
5cdf850b1933a7a530eed01b09d169f86aac76e3
[]
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
207
py
import math def calcula_distancia_do_projetil(v,0,y0): parte1 = (v**2)/(2*9.8) parte2 = 1 + (1+ ((2*9.8*y0)/(v**2*(math.sin(0))**2))**(1/2)) parte3 = math.sin(2*0) return parte1*parte2*parte3
[ "you@example.com" ]
you@example.com
4bf519f456b568af0193567de55bd2e4a70190af
1b78ca7f3250ebed418717c6ea28b5a77367f1b8
/360.sort-transformed-array/sort-transformed-array.py
80b27ff24975ce2a43d14d16b6f44e7c2d82ba23
[]
no_license
JaniceLC/lc-all-solutions
ced854f31b94f44c0b03a0677988805e3b9ee718
3f2a4ee8c09a8890423c6a22c73f470eccf979a2
refs/heads/master
2020-04-05T19:53:31.307528
2018-11-12T04:18:45
2018-11-12T04:18:45
157,155,285
0
2
null
2018-11-12T04:13:22
2018-11-12T04:13:22
null
UTF-8
Python
false
false
1,572
py
class Solution(object): def sortTransformedArray(self, nums, a, b, c): """ :type nums: List[int] :type a: int :type b: int :type c: int :rtype: List[int] """ def f(x): return a*(x**2) + b*x + c if a == 0: ...
[ "jedihy@yis-macbook-pro.local" ]
jedihy@yis-macbook-pro.local
34c84f7d55c46ab377251ec00bd05ee0e5399345
2279568acd5c7182ea4d287d20cd208b10c945a2
/python/fundamentals/functions_basic_II.py
834899f500435480e1c556e306c770fa5a1686f0
[]
no_license
quangnguyen17/Python
fbc5cec0eb51e48c964022e1bd45fb585d2b60ec
1920f757c5381480fc42f90946651aa0363fcaff
refs/heads/master
2020-12-27T08:58:51.058504
2020-02-10T21:42:45
2020-02-10T21:43:12
237,815,684
1
0
null
null
null
null
UTF-8
Python
false
false
1,961
py
# 1. Countdown - Create a function that accepts a number as an input. Return a new list that counts down by one, from the number (as the 0th element) down to 0 (as the last element). def count_down(num): numList = [] for x in range(num, -1, -1): numList.append(x) return numList # print(count_...
[ "wan15112001@gmail.com" ]
wan15112001@gmail.com
11efa813aa8ba70756ecbb7cd35ca7d82c64fc04
e8456b344b5edc33ba1f1b9ff3e620520aeea0e0
/backend/home/migrations/0002_load_initial_data.py
304b074cecaafc729d52fefc668bdb2c4616c835
[]
no_license
crowdbotics-apps/lizz-sep15-mob1-20290
d707c10da107bff4c3500bdec6b42c9dab5d196e
e89981891a5a29486170a31f5f61f43a3adb5ada
refs/heads/master
2022-12-15T18:51:32.786459
2020-09-15T16:45:19
2020-09-15T16:45:19
295,790,781
0
0
null
null
null
null
UTF-8
Python
false
false
1,314
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "lizz-sep15 mob1" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d465332b7161031c798b42dbddbc235e4860621a
4babfb099408482656f836e430e3fb2762cb4156
/dj_fiobank_payments/admin.py
4d9af3ddc2af7b2abb58dba65306a6475a4dee4b
[ "MIT" ]
permissive
PetrDlouhy/dj-fiobank-payments
054c1f9db5d83b8fff3e7306d3bd05a5b87ec9b5
8047b39ecf2b690d143e2dd35d008c56aea44b27
refs/heads/master
2023-01-09T20:22:47.619063
2019-05-23T14:23:12
2019-05-23T14:23:12
187,861,565
0
0
MIT
2022-12-26T20:39:14
2019-05-21T15:06:33
Python
UTF-8
Python
false
false
1,408
py
from django.contrib import admin from .models import FioPayment @admin.register(FioPayment) class PaymentAdmin(admin.ModelAdmin): """Admin model for Payments.""" list_display = ( 'ident', 'order', 'user_identification', 'status', 'symvar', 'symcon', 's...
[ "petr.dlouhy@email.cz" ]
petr.dlouhy@email.cz
ac615a5ebd02354dc93ecaf38165b8c47aebb183
56082c3c0397282916cd52de293dee4e3e3d14fb
/object_detection/protos/region_similarity_calculator_pb2.py
a16d20eeed759920905b2996020497ac128635dc
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
stanlee321/cars_classifier
60a4bb44ebcad8542172a628dd973fb5f11b16f7
c36e4a5bfcab1873a7a5a1c12a3908511da0aab9
refs/heads/master
2023-07-20T06:14:13.140570
2018-05-08T06:00:53
2018-05-08T06:00:53
119,297,449
0
0
MIT
2023-07-05T19:28:13
2018-01-28T21:01:13
Jupyter Notebook
UTF-8
Python
false
true
7,356
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/region_similarity_calculator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _messa...
[ "stanlee321@gmail.com" ]
stanlee321@gmail.com
11aac2c7db75ff2e4a0fcd7d26b1a42421f8dade
2f418a0f2fcca40f84ec0863b31ff974b574350c
/scripts/addons_extern/toolplus_copyshop/copy_mifthcloning.py
b871496f4dfee89482f2badbf708028acf7ac697
[]
no_license
JT-a/blenderpython279
57a81b55564218f3b1417c2ffa97f5161897ec79
04846c82f794c22f87d677d9eb8cec1d05c48cda
refs/heads/master
2021-06-25T06:58:07.670613
2017-09-11T11:14:36
2017-09-11T11:14:36
103,723,697
4
2
null
2017-09-16T04:09:31
2017-09-16T04:09:31
null
UTF-8
Python
false
false
8,030
py
# ***** BEGIN GPL LICENSE BLOCK ***** # # # This program 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 2 # of the License, or (at your option) any later version. # # This program is distribute...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
ad8d5b2773d4c73ec09fb1ca5fa9557c32a34338
cd69292f897f0ddb200fb0298a48930bebec75cd
/ingfr/spiders/ingfr.py
d998f908f290d5c9ca21ad167ee48de59140c15c
[]
no_license
daniel-kanchev/ingfr
0549725eef841894fd63acf2b5331e5028f7ab19
2097f4b2e50022db16a2244d44bb84c761105f6a
refs/heads/main
2023-03-19T09:30:30.786278
2021-03-10T09:35:23
2021-03-10T09:35:23
346,303,067
0
0
null
null
null
null
UTF-8
Python
false
false
1,437
py
import scrapy from scrapy.loader import ItemLoader from itemloaders.processors import TakeFirst from datetime import datetime from ingfr.items import Article class IngfrSpider(scrapy.Spider): name = 'ingfr' start_urls = ['https://newsroom.ing.fr/'] def parse(self, response): links = response.xpat...
[ "daniel.kanchev@adata.pro" ]
daniel.kanchev@adata.pro
e9538614230ebb91fbc12d4d78a921b3d03572f0
2d2c10ffa7aa5ee35393371e7f8c13b4fab94446
/projects/ai/sentiment/prepare.v1/gen-trans.py
dbc87276559c8df577e10168f83726dfdb323c41
[]
no_license
faker2081/pikachu2
bec83750a5ff3c7b5a26662000517df0f608c1c1
4f06d47c7bf79eb4e5a22648e088b3296dad3b2d
refs/heads/main
2023-09-02T00:28:41.723277
2021-11-17T11:15:44
2021-11-17T11:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================== # \file gen-trans.py # \author chenghuige # \date 2018-10-03 22:43:06.305917 # \Description # =============================================================...
[ "chenghuige@gmail.com" ]
chenghuige@gmail.com
004bb9cf3dffb15a2670d9e172def9e43be60672
e78433e847c5a5ff1ed583303c0240b0a93dc06a
/0x0B-python-input_output/6-from_json_string.py
42e176f247666cabc4672e364226201d4ffd44ba
[]
no_license
david-develop/holbertonschool-higher_level_programming
75eaef38173361cc4ef9202f3e3f6c5a781239ed
90f62136a7ddfb7d3921daccdc38d50a5376343b
refs/heads/master
2020-07-22T23:27:35.494155
2020-03-26T17:34:36
2020-03-26T17:34:36
207,366,767
0
4
null
null
null
null
UTF-8
Python
false
false
370
py
#!/usr/bin/python3 """Module ´´6-from_json_string´´ with to_json_string function""" import json def from_json_string(my_str): """Function take a JSON string an decode to python data structure Args: my_str (str): JSON string Returns: An object (Python data structure) represented by a JSON...
[ "924@holbertonschool.com" ]
924@holbertonschool.com
291f037ea25cba34a015841da0ff678cca5ebe21
87227a9153cda47b720227b3e7e1930936550f7c
/matting/torchscript_resnet50_fp32/code/__torch__/torch/nn/modules/conv/___torch_mangle_12.py
55ce01b88434edcd3218f377bbd01ca39d914145
[]
no_license
gkyAiLab/Style_Transfer_Matting
488e7a65d262893fc4b42c4c90544e2f9aee64e4
2f461fe8c206c5adade09ae29166d238439c09b2
refs/heads/master
2023-07-18T12:15:55.625543
2021-08-12T07:50:38
2021-08-12T07:50:38
390,946,717
1
0
null
null
null
null
UTF-8
Python
false
false
987
py
class Conv2d(Module): __parameters__ = ["weight", "bias", ] __buffers__ = [] weight : Tensor bias : Optional[Tensor] training : bool transposed : bool _reversed_padding_repeated_twice : Tuple[int, int, int, int] out_channels : Final[int] = 512 kernel_size : Final[Tuple[int, int]] = (1, 1) in_channel...
[ "694813183@qq.com" ]
694813183@qq.com
752e032bfdc0503ccfc2b45bf4eb4ec7731438a4
b2edef9270dfe69986c1f268d4bad7c4b1a54315
/165.compare-version-numbers.py
f30b9a2dd6fff8e0304a432e720651cd8615cb59
[]
no_license
mrgrant/LeetCode
9167f29462a072df4932201834073043cba99366
82132065ae1b4964a1e0ef913912f382471f4eb5
refs/heads/master
2021-12-03T00:16:42.070167
2021-11-30T15:02:29
2021-11-30T15:02:29
143,361,502
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
0# # @lc app=leetcode id=165 lang=python # # [165] Compare Version Numbers # # @lc code=start class Solution(object): def compareVersion(self, version1, version2): """ :type version1: str :type version2: str :rtype: int """ # @lc code=end
[ "mrgrantcy@gmail.com" ]
mrgrantcy@gmail.com
c1f9694cb132caa3dc1f834bb29f26f9d16ca4bb
f9ba63b545b8177e4945815bc4ea05298c85498c
/Hacker Rank/ComplexAirtmeticOperation.py
c849b07ffc3e9851b26d1ba44e625b4722fc2eff
[]
no_license
kevalrathod/Python-Learning-Practice
75f5f898240bf44128586f409706f36766bb20dd
3ea35e70bbc24643e6c2ab756d4394505631c820
refs/heads/master
2021-07-12T00:41:28.138285
2019-01-09T17:05:31
2019-01-09T17:05:31
136,570,521
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
class Complex(object): def __init__(self, real, imaginary): self.real=real self.imaginary=imaginary def __add__(self, no): a = self.real b = self.imaginary c = no.real d = no.imaginary return Complex(a+c,b+d) def __sub__(self, no): a = se...
[ "kevalrathod1111@gmail.com" ]
kevalrathod1111@gmail.com
81918ef2bfb5cc939b37f44c96c8118a8bb972f6
bad85cd8d547a071baf4b6590f7e81d13ef1ec0d
/assistant/weblink_channel/migrations/0011_purchaseorder_supplier.py
7b0b539c104404eeff570662c3aaeb00aa2004a3
[ "MIT" ]
permissive
kapiak/ware_prod
92e11671059642e14219d5aa8334e0564403db77
ae61256890834c434d2e38cc2ccacf00b638665a
refs/heads/master
2023-01-06T04:36:43.173093
2020-09-21T04:06:51
2020-09-21T04:06:51
310,320,165
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
# Generated by Django 3.1 on 2020-08-18 07:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('products', '0004_auto_20200813_0203'), ('weblink_channel', '0010_weblinkorderitem_status'), ] operations = [ ...
[ "hamadeh.basel@gmail.com" ]
hamadeh.basel@gmail.com
b2206a992bd9ba9a0df4271e2cc84342a6742990
42b7a55dc20bddbfa03f8dd969a0ea4eec5f3060
/eve/io/mongo/parser.py
c09370505254238f6ccb1b36f38fd856ab3552e8
[ "BSD-3-Clause" ]
permissive
Tefnet/eve
8f257927ea7f4cf084dc826c3163818e57538566
26b378760636a42ef6e1e1da100ce640fd44646a
refs/heads/master
2021-01-18T05:57:01.626987
2013-04-11T09:42:26
2013-04-11T09:44:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,579
py
# -*- coding: utf-8 -*- """ eve.io.mongo.parser ~~~~~~~~~~~~~~~~~~~ This module implements a Python-to-Mongo syntax parser. Allows the MongoDB data-layer to seamlessy respond to a Python-like query. :copyright: (c) 2012 by Nicola Iarocci. :license: BSD, see LICENSE for more details. """ impo...
[ "nicola@nicolaiarocci.com" ]
nicola@nicolaiarocci.com
f97541ae7de3511ea2ffcc199c6ff2b67f8f6a16
3bd8f838f56f88e20e5da9e8af5e2044413d77a1
/brevitas_examples/bnn_pynq/models/LFC.py
d55c80eee3e81b8b65251a719cba46697d79750c
[ "BSD-2-Clause" ]
permissive
auphelia/brevitas
cf17c796339fef4dafab22c0ddec675047903288
0aedd7221ef166d80db93a62f49be171d66860b5
refs/heads/master
2022-09-08T06:04:49.315557
2020-05-03T19:54:05
2020-05-11T17:26:20
265,267,950
0
0
NOASSERTION
2020-05-19T14:20:09
2020-05-19T14:20:08
null
UTF-8
Python
false
false
4,207
py
# MIT License # # Copyright (c) 2019 Xilinx # # 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, merge, publi...
[ "volcacius@users.noreply.github.com" ]
volcacius@users.noreply.github.com
b6b0f5711239fc4b6d5d4106df4d84f936d2091c
241a39c10a32c6f9f1b43ad0fe896da8f98a5fdd
/flask/app/sendmail.py
a7bd35838f14ebd16e5d7c583b145e2bc5b5c1ca
[]
no_license
asdfasadfasfa/linbing
bb6ce18bc09cfbae78d05778f25a09540e24fee4
e6a8b28d35bf3b4df953a3bea7b0bbb9f16832f5
refs/heads/master
2022-11-17T20:48:01.804941
2020-07-09T02:22:46
2020-07-09T02:22:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,430
py
#!/usr/bin/env python3 import random import string import smtplib from email.header import Header from email.mime.base import MIMEBase from email.mime.text import MIMEText from email.mime.image import MIMEImage from email.mime.multipart import MIMEMultipart from email import encoders class MailSender: def __init_...
[ "taomujian@protonmail.com" ]
taomujian@protonmail.com
4cef953f57d7e30d608195ab26b6838b05db9544
299fe2ca879e509798e95c00b7ba33914031f4a7
/eruditio/shared_apps/django_userhistory/config_definitions.py
89a6561c2d17ab0b0f2519249a48b220c211b161
[ "MIT" ]
permissive
genghisu/eruditio
dcf2390c98d5d1a7c1044a9221bf319cb7d1f0f6
5f8f3b682ac28fd3f464e7a993c3988c1a49eb02
refs/heads/master
2021-01-10T11:15:28.230527
2010-04-23T21:13:01
2010-04-23T21:13:01
50,865,100
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
try: import json except: import simplejson as json from django_wizard.wizard import config_index as configs from django_wizard.wizard import fixtures_index as fixtures from django_wizard.models import ConfigOption, ConfigFixture _CURRENT_APP = 'django_userhistory' UserActionFixture = ConfigFixture(help_text ...
[ "genghisu@6a795458-236b-11df-a5e4-cb4ff25536bb" ]
genghisu@6a795458-236b-11df-a5e4-cb4ff25536bb
99c09f3e49fca83027c2dfcadf641de05091cf70
010c5fbc97731286be00028ff33fc981d943bca3
/primal/src/code/impute/impute/__init__.py
d75de80aba2dd4851764ed7f55056a683c4bb005
[]
no_license
orenlivne/ober
6ce41e0f75d3a8baebc53e28d7f6ae4aeb645f30
810b16b2611f32c191182042240851152784edea
refs/heads/master
2021-01-23T13:48:49.172653
2014-04-03T13:57:44
2014-04-03T13:57:44
6,902,212
7
1
null
null
null
null
UTF-8
Python
false
false
502
py
''' ============================================================ Main impute algorithm package. Created on May 30, 2012 @author: Oren Livne <livne@uchicago.edu> ============================================================ ''' from data import * import tools from tools import * from ibd import * from preprocess import ...
[ "oren.livne@gmail.com" ]
oren.livne@gmail.com
5a0627ef34abbb90c5faf74b2af44d3bb85058c0
9d7a1f61e957c6ba688ba9acbd4810bfc41259bd
/oop/code/topic_1_abstraction/class_method.py
fb0ddff5e7624b3515cc5ab81ecf265e224f51b6
[]
no_license
saanghyuk/data_science_python
17f4c35b9f4d197991fd0c03eecd06487ceaa9a0
7dde1ed2a3570edbdd716a43a4a340e64f7e2bb0
refs/heads/master
2023-08-24T10:47:13.478635
2021-11-05T15:37:33
2021-11-05T15:37:33
355,115,183
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
class User: count = 0 def __init__(self, name, email, password): self.name = name self.email = email self.password = password User.count += 1 def say_hello(self): print("안녕하세요! 저는 {} 입니다.".format(self.name)) def __str__(self): return "사용자 : {}, 이메일 : {...
[ "saanghyuk@gmail.com" ]
saanghyuk@gmail.com
e96c337723f0a26a9ffd42017395385dbe8d5eb7
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_composing.py
463af25fe9763009a9acb8c4f3a7ae43ea2957d1
[ "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
247
py
from xai.brain.wordbase.verbs._compose import _COMPOSE #calss header class _COMPOSING(_COMPOSE, ): def __init__(self,): _COMPOSE.__init__(self) self.name = "COMPOSING" self.specie = 'verbs' self.basic = "compose" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8071848c8a8cff0a041aa32c187ea201ae7f3747
80cb2fcaa855d22191e3b3480b3c9be85e0dfc52
/hangman2/consumers.py
62885c82c4c808f8c2839b0ea3ff4d72912082f3
[]
no_license
shofla/hangman-1
060761e5fa3bb124dba36f4afaad9f81144d524d
d3563c16f5a88d7982dc21b63691d0b162331e32
refs/heads/master
2021-01-20T10:50:34.688966
2017-08-28T10:58:11
2017-08-28T10:58:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
from channels import Group from channels.sessions import channel_session import random from .models import Player, Constants import json import time def ws_connect(message, participant_code, player_pk): # message.content['text'] message.reply_channel.send({ "text": (json.dumps({'a': 111})), }) d...
[ "chapkovski@gmail.com" ]
chapkovski@gmail.com
597972c6c792878e9919c21f8bdff90d98ef1203
4da57c6e9efb0a884449e019ce5c9b5d516d2bb1
/exp/gromacs_sse4.1/bin/plots/time_data/time_pred_err.py
1f82f7dd4a71a3d2eac1219e29ccd6b6a813ed31
[]
no_license
radical-experiments/affinity_model
dc848fe1666b2f017d37ba041890462890eba9b5
fc67420a2278020eee770680fa7ccef76ed2dfa5
refs/heads/master
2021-04-06T16:56:26.847920
2018-09-25T03:15:47
2018-09-25T03:15:47
83,361,464
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
import csv import sys from pprint import pprint from stats import * resource = sys.argv[1] pred_method = sys.argv[2] pred_data = list() act_data = list() with open('time__{}.csv'.format(resource)) as f: reader = csv.reader(f) for row in reader: fmt_row = [int(row[0])] fmt_row.extend(map(floa...
[ "ming.tai.ha@gmail.com" ]
ming.tai.ha@gmail.com
457f7b6d2da242decdb12448df851cac433948e9
694d3929b23a8434cab14ddab623030a0fe4ac38
/apps/envs/utils.py
6d3335ab1a3e0eaecc56291f8342ba29acd00e25
[]
no_license
gehongming/django_api
03fec87a25c2ad3cb603aad2f1b5d9b680debf12
fb8e0623e9171deb8706ed258cc5d5bd0d9fe6aa
refs/heads/main
2023-09-01T06:57:22.677374
2021-10-12T05:39:07
2021-10-12T05:39:07
415,173,097
0
1
null
null
null
null
UTF-8
Python
false
false
492
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @Time : 2021/10/2 17:52 # @Author : ASUS # @File : XIAOMING.py # @Software: PyCharm import re from django.db.models import Count def handle_env(datas): """ 时间格式化 :param datas: :return: """ data_list = [] for item in datas: mtch = re.se...
[ "1010562639@qq.com" ]
1010562639@qq.com
bd6272fb6428fa0d7e3caa1f1fe410c655a393f0
b88452a32f516b70417c9ee8377e21c3d01c4586
/slyr/converters/qgis.py
be23c840a4edc4076c33e0747a8da412f9bbee66
[]
no_license
ianturton/slyr
debf56e3a494d6934b4ca794a0ac1e80e6282c3c
9fb01cfd30f92884de64843c90e063693ae1c020
refs/heads/master
2020-03-27T04:54:36.022391
2018-08-24T06:34:16
2018-08-24T06:40:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,040
py
#!/usr/bin/env python """ Converts parsed symbol properties to QGIS Symbols """ from qgis.core import (QgsSimpleLineSymbolLayer, QgsSimpleFillSymbolLayer, QgsFillSymbol) from qgis.PyQt.QtCore import (Qt) from qgis.PyQt.QtGui import (QColor) from slyr.parser.symbol_parser...
[ "nyall.dawson@gmail.com" ]
nyall.dawson@gmail.com
7fa2cea2e63b73401912ee9c16523eeaa136ddc8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03680/s049200875.py
b5ccb354c045eeb10da7098adaac5c05a7240a2e
[]
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
187
py
N = int(input()) a = {i + 1: int(input()) for i in range(N)} ans = -1 count = 1 nxt = 1 while count < N: nxt = a[nxt] if nxt == 2: ans = count break count += 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
73ee2a61b754640d90ed3ea7c3a53d2777530fca
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/rsscri001/question1.py
69b5d06bf51c6d7f6bc7bf2a28ea03c56cbf31e0
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
x = eval(input("Enter a year:\n")) if x%4==0 and x%100!=0: print(x, "is a leap year.") if x%400==0: print(x, "is a leap year.") if x%4!=0: print(x, "is not a leap year.") if x == 2100 or x == 1900: print(x, "is not a leap year.")
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
c9dc74c5ba7b5bfcff1c8308e69178bc072c675b
2640d8b09038c11b131c6868299e19153731e2c5
/siegfried/urls.py
6741725ce18f0a770c910797ad8d45a23243cfd2
[ "MIT" ]
permissive
theSekyi/siegfried
6a0405340d3d8f08db85d06102e7aca4fcc51ee5
27df040d0cb1cf9b81824a595c9562801f52ea22
refs/heads/master
2022-02-11T18:27:29.699035
2017-11-15T14:25:51
2017-11-15T14:25:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
from django.conf.urls import url, include from siegfried.reviews import views urlpatterns = [ url(r'^$', views.ReviewListView.as_view(), name='review_list'), url(r'^new/$', views.ReviewCreateView.as_view(), name='review_create'), url(r'^(?P<pk>\d+)/', include([ url(r'^$', views.ArticleListView.as_...
[ "vitorfs@gmail.com" ]
vitorfs@gmail.com
7fccb4fd4901eeaaf83e759d84e66e3d218e2280
6b6f376eac78ca349053440135be4e119cc7fdc1
/Week2/Problem3.py
f3171beb1380d8a1d23078afce87982c3fa8259a
[ "MIT" ]
permissive
Sid2697/MIT-6.00.1x
cba465a8f277ddf7c4d7c0a3a9ef52a0fd7a3bdd
70514740701890d008e42af2b8662c57f762760b
refs/heads/master
2021-05-03T21:26:36.175571
2018-05-09T00:48:29
2018-05-09T00:48:29
120,383,500
3
0
MIT
2018-02-13T04:10:51
2018-02-06T01:15:02
Python
UTF-8
Python
false
false
654
py
balance = 320000 annualInterestRate = 0.2 monthlyInterestRate = annualInterestRate / 12.0 a = balance lo = balance / 12.0 hi = balance * (1 + monthlyInterestRate) ** 12 / 12.0 monthlyPayment = round((lo + hi) / 2, 2) while True: monthlyPayment = round((lo + hi) / 2, 2) a = balance for month in range(12): ...
[ "noreply@github.com" ]
Sid2697.noreply@github.com
2e4cc1172bd2210ce1d07aeef2b3a74de4b0619a
5adde646184e7da34e2f2ee75b19703ead8fe761
/usuarios/migrations/0001_initial.py
dc00bc4c0bf95a38a96bc3a1888a43711d01167c
[]
no_license
amarantejoacil/Progressao
ff5e2a44e7acc306480a000c52fca8b07eed6fcf
be3c42c34a7debd46d4e6fd64412ddb1c2bb574f
refs/heads/main
2023-08-17T13:30:52.285824
2021-10-05T00:56:04
2021-10-05T00:56:04
411,513,104
1
0
null
null
null
null
UTF-8
Python
false
false
910
py
# Generated by Django 3.2.6 on 2021-10-04 15:27 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "joacil.amarante@gmail.com" ]
joacil.amarante@gmail.com
c09a72debe135b0a73849dbc9ccb6a6a8704face
d7016f69993570a1c55974582cda899ff70907ec
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_07_01/_configuration.py
2a39b72e290a70dcbe42c462706fe66f49388ac4
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
3,859
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
f7d313a5fed883b77013363dd08dac47cb5fcef8
1620f9900da8d18e647b61f543a68d9386967d65
/histoslider/ui/settings_widget.py
addb5877c6d330458ae9afd459cc71838910f79f
[ "MIT" ]
permissive
ch-king/HistoSlider-1
c57c748fc3b2ec2600b79b132373bc6b4c686369
2dbad7a91072626206fb3fad776291c1c68e342f
refs/heads/master
2021-10-24T13:41:18.807783
2019-03-26T11:05:27
2019-03-26T11:05:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
from PyQt5.QtWidgets import QWidget, QVBoxLayout, QTabWidget from histoslider.core.hub_listener import HubListener from histoslider.core.manager import Manager from histoslider.core.message import SlideRemovedMessage, SlideUnloadedMessage, ChannelImagesChangedMessage from histoslider.ui.channels_settings_widget import...
[ "anton.rau@gmail.com" ]
anton.rau@gmail.com
1ade70974c6552ff4f1042e83092dbef7abb9c12
241c51904c2501a85e71da62d4a9a79f8656dbb4
/transformers/models/openai/tokenization_openai_fast.py
1c6e565e7c590a169157236c5dd496c261033b7f
[ "Apache-2.0" ]
permissive
zhouhaoyi/TripletAttention
c3d7a37b00d80286e802324859156841f33841d0
84bb8d7a7a45dfd37c82849c9ae6ed8a41bb0718
refs/heads/main
2023-08-25T22:35:59.828152
2021-10-27T04:27:13
2021-10-27T04:27:13
374,306,104
15
3
Apache-2.0
2021-09-19T08:33:38
2021-06-06T08:22:35
null
UTF-8
Python
false
false
3,062
py
# coding=utf-8 # Copyright 2018 The Open AI Team Authors and The HuggingFace Inc. team. # # 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 # # ...
[ "1095715895@qq.com" ]
1095715895@qq.com
580db10133f5ad48f171928cfb6c73c028db1cab
cd5746f8cc7aee1f20606a65b4fae0d5e8ee78dc
/Python Books/Introduction-to-Programming-Python/pybook/ChineseZodiac.py
a74a829ac479cfa22c53cb337def9e3a6be05d8d
[]
no_license
theGreenJedi/Path
df24fca355590efef0c6cb5c52e7216c6b5d2464
b5ed2805dbb046480929e49e550bfd8af5bb4d6f
refs/heads/master
2023-07-27T14:23:37.694546
2021-07-16T01:38:55
2021-07-16T01:38:55
87,686,563
8
2
null
2023-07-11T22:49:03
2017-04-09T05:57:30
Jupyter Notebook
UTF-8
Python
false
false
561
py
year = eval(input("Enter a year: ")) zodiacYear = year % 12 if zodiacYear == 0: print("monkey") elif zodiacYear == 1: print("rooster") elif zodiacYear == 2: print("dog") elif zodiacYear == 3: print("pig") elif zodiacYear == 4: print("rat") elif zodiacYear == 5: print("ox") elif ...
[ "GreenJedi@protonmail.com" ]
GreenJedi@protonmail.com
d023060d9f4a3c298a06765b00222459098a115d
43aeee48c1f6fc468a43f9bb0d4edae8ee0dbee1
/To MAC/gmbox-src/lib/const.py
2ef35da1b3d09598f1b877e9c2deb2d156eabbc6
[]
no_license
wiky2/mytestproject
f694cf71dd3031e4597086f3bc90d246c4b26298
e7b79df6304476d76e87f9e8a262f304b30ca312
refs/heads/master
2021-09-07T20:54:19.569970
2018-02-28T23:39:00
2018-02-28T23:39:00
100,296,844
2
1
null
null
null
null
UTF-8
Python
false
false
3,157
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # gmbox, Google music box. # Copyright (C) 2009, gmbox team # # This program 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 #...
[ "jerry_136510@aliyun.com" ]
jerry_136510@aliyun.com
9ab258c59f21698c29a9395254cba6b7c4d7b333
312d8dbbf980bf164f210e7935b17dc08d64ff87
/Model/repeat3_node_prediction_lost_utilize_all/GCN/main.py
4db291b3bd9e667e5ff5e915c4b3829ca67719d1
[]
no_license
hsack6/OWGP_NBA
27dafbd6e59c17ce4a66e92132ee56782e2126bf
56656efb5884cd9f806e476a92c5e6485c71adeb
refs/heads/master
2023-02-25T09:52:05.165494
2021-02-03T12:44:04
2021-02-03T12:44:04
288,363,250
0
0
null
null
null
null
UTF-8
Python
false
false
5,888
py
import argparse import random import pandas as pd import torch import torch.nn as nn import torch.optim as optim from model import GCN from utils.train import train from utils.valid import valid from utils.test import test from utils.inference import inference from utils.data.dataset import BADataset from utils.data....
[ "yamasaki.shohei@ist.osaka-u.ac.jp" ]
yamasaki.shohei@ist.osaka-u.ac.jp
1733d7b976970945c10ded2f8bd759ff30daa459
d1bb3e1ba1cca49bcf8c5dfefb9693e123020379
/impls/quiver-arrow-activemq-artemis-jms.in
20a8539d6e095800b618af101766c4bcf13a7c54
[ "Apache-2.0" ]
permissive
alanconway/quiver
618dfcaf5a99b17e79df78e80bb308f5c6aed453
ce444441f4ecc593f54741a6667e8f4f86a450a5
refs/heads/master
2021-01-19T23:40:41.252014
2018-10-03T21:26:52
2019-01-21T16:30:43
89,009,775
0
0
null
2017-04-21T17:51:55
2017-04-21T17:51:55
null
UTF-8
Python
false
false
2,266
in
#!/usr/bin/python3 # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
[ "jross@apache.org" ]
jross@apache.org
24e92ba1e438927e64481bf200102e985da0b148
1ab7b3f2aa63de8488ce7c466a67d367771aa1f2
/Ricardo_OS/Python_backend/venv/lib/python3.8/site-packages/matplotlib/_pylab_helpers.py
27904dd84b6fedda9c673a5cae45be7e6df8b1fc
[ "MIT" ]
permissive
icl-rocketry/Avionics
9d39aeb11aba11115826fd73357b415026a7adad
95b7a061eabd6f2b607fba79e007186030f02720
refs/heads/master
2022-07-30T07:54:10.642930
2022-07-10T12:19:10
2022-07-10T12:19:10
216,184,670
9
1
MIT
2022-06-27T10:17:06
2019-10-19T09:57:07
C++
UTF-8
Python
false
false
4,492
py
""" Manage figures for the pyplot interface. """ import atexit from collections import OrderedDict import gc class Gcf: """ Singleton to maintain the relation between figures and their managers, and keep track of and "active" figure and manager. The canvas of a figure created through pyplot is assoc...
[ "kd619@ic.ac.uk" ]
kd619@ic.ac.uk
4a6226cee18c2b10d5b8c9ca4faf70dfbfe0a527
1adcee69a338082ad6f5b057ceeac0337e07615d
/bitshift_check.py
656ee654f863e50204d1bacd263b9f8764429989
[]
no_license
Linus-MK/fragments_for_blog
d2bb7f4bdb32ac8af0b2b74cc8398da45ce616ef
5a8f2452bddeff3157297c4fe0cf273f95d56f65
refs/heads/master
2023-06-25T04:55:22.631404
2023-06-13T15:45:40
2023-06-13T15:45:40
161,186,410
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
# GCJ2019_1B_b.py でハマったところの検証 # ビットシフトは加減算よりも優先順位が低いので、 + が先に計算されてしまうのが問題だった q1=q2=q3=q4=q5=q6=99 ans56 = q1*(2**56)+q2*(2**28)+q3*(2**18)+q4*(2**14)+q5*(2**11)+q6*(2**9) bit_mask = 0b1111111 r1 = ans56 >> 56 r2 = (ans56 >> 28) & bit_mask r3_1 = ((ans56 - (q4<<14 + q5<<11 + q6<<9))>>18) & bit_mask #これだとダメ r3_2 = ((a...
[ "13600386+Linus-MK@users.noreply.github.com" ]
13600386+Linus-MK@users.noreply.github.com
d8e1f5eee051b35dc1e24be89b5ad2d89fbaca4a
de1d66cb03d9e0a6891b74828a51f5ffdc06ce36
/Python_3/ex10.py
91d4847857863d558598f476c4b1e07d18618a66
[]
no_license
almazkun/the_hard_way
6c029ab7ce26d78b312e1f231533bec2291828ae
be2ae13af3de8f6005f03eccae3f4e556257259e
refs/heads/master
2023-05-01T17:37:25.813050
2022-02-11T09:24:07
2022-02-11T09:24:07
203,321,326
0
0
null
2023-04-21T21:56:47
2019-08-20T07:16:57
Python
UTF-8
Python
false
false
334
py
d_artagnan = "\tMy name d'Artagnan" athos = "this line\nis divided in half" porthos = "I am \\ - \\ mushketire!" aramis = """ Chose one: \t* Graf \t* Miledy \t* Baron\n\t* General """ print(d_artagnan) print(athos) print(porthos) print(aramis) while True: for i in {"/", "- ", "|", "\\", "|"}: print(" {}\...
[ "almaz.kun@gmail.com" ]
almaz.kun@gmail.com
9bb0b24160e6614c60c4b2ee9610a1f3e9e5f9ce
6a42be86d02c4fbb28eed462053645ecf89a13b4
/python/leet/166-fraction-to-recurring-decimal.py
271d34b18ecde86a3da4fd4ff97cb203bd5fdcbf
[]
no_license
d4rkr00t/leet-code
ac9d896ba7bd6abca68ed136972a83a5930b1dbd
d557855bcaa90f066788b7472e0295694f532e24
refs/heads/master
2021-07-18T22:24:38.127291
2020-05-29T03:33:41
2020-05-29T03:33:41
172,479,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
# Fraction to Recurring Decimal # https://leetcode.com/problems/fraction-to-recurring-decimal/ # medium # # Time: TBD # Space: TBD # # Solution: # TBD def fractionToDecimal(numerator: int, denominator: int) -> str: sign = '' if numerator * denominator >= 0 else '-' numerator, denominator = abs(numerator), ab...
[ "d4rkr00t@gmail.com" ]
d4rkr00t@gmail.com
e8b9852a6ec96bf4f30c1d2d1b7c098601e57ad2
b8ab0e1ac2634741a05e5fef583585b597a6cdcf
/wsltools/utils/faker/providers/date_time/fr_FR/__init__.py
d76083353c7a1057575c1d3eac9e3aa995f4f95d
[ "MIT" ]
permissive
Symbo1/wsltools
be99716eac93bfc270a5ef0e47769290827fc0c4
0b6e536fc85c707a1c81f0296c4e91ca835396a1
refs/heads/master
2022-11-06T16:07:50.645753
2020-06-30T13:08:00
2020-06-30T13:08:00
256,140,035
425
34
MIT
2020-04-16T14:10:45
2020-04-16T07:22:21
Python
UTF-8
Python
false
false
880
py
# -*- coding: UTF-8 -*- from .. import Provider as DateTimeProvider class Provider(DateTimeProvider): def day_of_week(self): day = self.date('%w') DAY_NAMES = { "0": "Dimanche", "1": "Lundi", "2": "Mardi", "3": "Mercredi", "4": "Jeudi", ...
[ "tr3jer@gmail.com" ]
tr3jer@gmail.com
69f7b5eb70fdeb96ba550c2b717bc0c23d5414e8
356f3f1b7caf0ccb20cc830d40821dfb2cbda046
/sfit/workout/doctype/workout_log/test_workout_log.py
071421324512b694e3c171a973276c8eb388bbe8
[ "MIT" ]
permissive
vignesharumainayagam/sfit
f4b75b9a8b2de08d0eaa4eadbcd3d5e432ffba56
a96afbf35b0e1635e44cb5f83d7f86c83abedb8f
refs/heads/master
2021-09-05T18:22:43.494208
2018-01-30T07:23:02
2018-01-30T07:23:02
104,332,803
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
# -*- coding: utf-8 -*- # Copyright (c) 2017, Valiant Systems and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestWorkoutLog(unittest.TestCase): pass
[ "vigneshwaran@valiantsystems.com" ]
vigneshwaran@valiantsystems.com
f68ab2fc9a455265f1224d3acf39b9cda89d84a6
53525851211ba34493a91db1655ec46c6f466552
/clld/tests/test_lib_wordpress.py
a078e65e6156810dff6925abfae97af8205fb335
[ "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
Woseseltops/clld
794bec8fb233ab5db0b2a8dc225790a41e82859f
5ba065f35b7e6f68b8638d86550e6f0f597ff02d
refs/heads/master
2020-12-11T07:25:38.628086
2014-02-28T09:09:12
2014-02-28T09:09:12
17,280,932
1
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
import unittest from mock import Mock, MagicMock, patch class Tests(unittest.TestCase): def _requests(self, c, status=200): return Mock(get=lambda *a, **kw: Mock(text=c, status_code=status)) def test_Client(self): from clld.lib.wordpress import Client client = Client('blog.example.o...
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com