blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 112 | license_type stringclasses 2
values | repo_name stringlengths 5 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 777
values | visit_date timestamp[us]date 2015-08-06 10:31:46 2023-09-06 10:44:38 | revision_date timestamp[us]date 1970-01-01 02:38:32 2037-05-03 13:00:00 | committer_date timestamp[us]date 1970-01-01 02:38:32 2023-09-06 01:08:06 | github_id int64 4.92k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-04 01:52:49 2023-09-14 21:59:50 ⌀ | gha_created_at timestamp[us]date 2008-05-22 07:58:19 2023-08-21 12:35:19 ⌀ | gha_language stringclasses 149
values | src_encoding stringclasses 26
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 3 10.2M | extension stringclasses 188
values | content stringlengths 3 10.2M | authors listlengths 1 1 | author_id stringlengths 1 132 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
075f96cc7bae7abec105afc890f38fa222a84557 | 302442c32bacca6cde69184d3f2d7529361e4f3c | /mindnet/execode/create_object_by_data_sugest_ecomm.py | fc937a59e734f86e8a1d5d39dbbd2e7902caa892 | [] | no_license | fucknoob/WebSemantic | 580b85563072b1c9cc1fc8755f4b09dda5a14b03 | f2b4584a994e00e76caccce167eb04ea61afa3e0 | refs/heads/master | 2021-01-19T09:41:59.135927 | 2015-02-07T02:11:23 | 2015-02-07T02:11:23 | 30,441,659 | 1 | 0 | null | null | null | null | ISO-8859-3 | Python | false | false | 12,358 | py | #EXEC
import mdNeural
import umisc
import datetime as date2
import mdTb
def runc_layer(layer,usr):
#===============================================
def translate_year(mn):
if mn == '$this-year':
return str(date2.datetime.today().year)
elif mn == '$next-year':
return str(date... | [
"learnfuzzy@gmail.com"
] | learnfuzzy@gmail.com |
b98fc6991644ee83aa32b4bd8c2250252c1e30c9 | fbbe424559f64e9a94116a07eaaa555a01b0a7bb | /Tensorflow_LightGBM_Scipy_nightly/source/tensorflow/core/framework/cost_graph_pb2.py | c82e9e43019b16304f4c677362a7b4d620126349 | [
"MIT"
] | permissive | ryfeus/lambda-packs | 6544adb4dec19b8e71d75c24d8ed789b785b0369 | cabf6e4f1970dc14302f87414f170de19944bac2 | refs/heads/master | 2022-12-07T16:18:52.475504 | 2022-11-29T13:35:35 | 2022-11-29T13:35:35 | 71,386,735 | 1,283 | 263 | MIT | 2022-11-26T05:02:14 | 2016-10-19T18:22:39 | Python | UTF-8 | Python | false | true | 14,445 | py | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tensorflow/core/framework/cost_graph.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 _message
from google.protobu... | [
"ryfeus@gmail.com"
] | ryfeus@gmail.com |
f2d578b9096b5b2e2ebed94370a2720678144fb1 | 7ed22d30256fe955b070fb0b6838ad2c507f48ba | /kt/client.py | 2ef99f9b4ef65fc74d52a705ddcb7db5cc7453bc | [] | no_license | coleifer/kt | 9c55339053fb7deb595f7d7bc4fb032e927e29c4 | c1d50484ab1c0a80d502cc857265a2d5362f431d | refs/heads/master | 2023-07-07T17:12:34.745629 | 2023-06-23T23:21:10 | 2023-06-23T23:21:10 | 128,153,979 | 20 | 3 | null | null | null | null | UTF-8 | Python | false | false | 22,186 | py | from contextlib import contextmanager
from functools import partial
import json
import re
import socket
import sys
import time
try:
import cPickle as pickle
except ImportError:
import pickle
try:
import msgpack
except ImportError:
msgpack = None
from ._binary import KTBinaryProtocol
from ._binary impo... | [
"coleifer@gmail.com"
] | coleifer@gmail.com |
4bd8fb3273b1d5456e618b50be1bdc96305ec556 | e910318d01528d82040507a49eeeb8dade45b31f | /tests/strict/pkg/__init__.py | 3e74a564ab983b0b14f36dae40a246c477c5174b | [
"MIT"
] | permissive | pfalcon/pycopy | e844480a5e5cd463530328889daed2ba87552b8a | 3ac90ae9c3c6bbebfba9cada2d37025e35c62796 | refs/heads/pfalcon | 2023-08-30T09:39:52.290147 | 2022-09-08T16:42:38 | 2022-09-08T16:42:38 | 15,507,576 | 753 | 71 | MIT | 2021-05-08T04:59:21 | 2013-12-29T11:38:47 | C | UTF-8 | Python | false | false | 41 | py | from . import mod
from .mod2 import mod2
| [
"pfalcon@users.sourceforge.net"
] | pfalcon@users.sourceforge.net |
33d60371f26492ac09a1c7f81da016ec409e6b30 | b11fd2f3a6ba376810c772253342f6a8b552b114 | /triplaner/apps.py | e754f461ffa0ea8221b6c493b5465a36162a31ee | [] | no_license | ivanurban/travel_friend | 0561432906dd505fddeedbc4c020547763b5e0b1 | 0407d48f4cc6c68e4c7a8b2ae880adf828c6b681 | refs/heads/main | 2023-07-15T13:38:44.500529 | 2021-09-01T15:35:51 | 2021-09-01T15:35:51 | 400,756,285 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 150 | py | from django.apps import AppConfig
class TriplanerConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'triplaner'
| [
"ivanurban_bg@yahoo.com"
] | ivanurban_bg@yahoo.com |
c960b5ea19915710566ba4ed4f56ebae8e6d0b55 | 0f0f8b3b027f412930ca1890b0666538358a2807 | /dotop/report/misc.py | 092d9d28dca2a5301ad1ce3d46249d5ded5828e9 | [] | no_license | konsoar/dotop_pos_v11 | 741bd5ca944dfd52eb886cab6f4b17b6d646e131 | 576c860917edd25661a72726d0729c769977f39a | refs/heads/master | 2021-09-06T13:25:34.783729 | 2018-02-07T02:11:12 | 2018-02-07T02:11:12 | 111,168,355 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 474 | py | # -*- coding: utf-8 -*-
# Part of dotop. See LICENSE file for full copyright and licensing details.
from pychart import color
colorline = [color.T(r=((r+3) % 11)/10.0,
g=((g+6) % 11)/10.0,
b=((b+9) % 11)/10.0)
for r in range(11) for g in range(11) for b in range(... | [
"Administrator@20nuo003-PC"
] | Administrator@20nuo003-PC |
0617eb08c5186a7388550723544e56e4be446d72 | 53784d3746eccb6d8fca540be9087a12f3713d1c | /res/packages/scripts/scripts/client/gui/shared/gui_items/dossier/achievements/EFC2016Achievement.py | b513c72d778bf55a792d7a7eebf2af952f9ba98b | [] | no_license | webiumsk/WOT-0.9.17.1-CT | 736666d53cbd0da6745b970e90a8bac6ea80813d | d7c3cf340ae40318933e7205bf9a17c7e53bac52 | refs/heads/master | 2021-01-09T06:00:33.898009 | 2017-02-03T21:40:17 | 2017-02-03T21:40:17 | 80,870,824 | 0 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 868 | py | # 2017.02.03 21:52:24 Střední Evropa (běžný čas)
# Embedded file name: scripts/client/gui/shared/gui_items/dossier/achievements/EFC2016Achievement.py
from dossiers2.ui.achievements import ACHIEVEMENT_BLOCK as _AB
from abstract import SeriesAchievement
from abstract.mixins import Quest
class EFC2016Achievement(Quest, S... | [
"info@webium.sk"
] | info@webium.sk |
c04bbb0eb706ec5ab8cdc77b6a58b1419e7041c4 | 3e5150447a2c90c26354500f1df9660ef35c990b | /classes/Counter.py | ae21ce6d972dc8ad0f5ac0205cdf0a4f87eb96d0 | [] | no_license | kilirobbs/python-fiddle | 8d6417ebff9d6530e713b6724f8416da86c24c65 | 9c2f320bd2391433288cd4971c2993f1dd5ff464 | refs/heads/master | 2016-09-11T03:56:39.808358 | 2013-03-19T19:26:19 | 2013-03-19T19:26:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 255 | py | # http://docs.python.org/library/collections.html#collections.Counter
from collections import Counter
cnt = Counter()
for word in ['red', 'blue', 'red', 'green', 'blue', 'blue']:
cnt[word] += 1
print cnt
print "cnt['not_existing']=",cnt["not_existing"] | [
"cancerhermit@gmail.com"
] | cancerhermit@gmail.com |
2f9ed4891d301d514f4c66ab498b59a0be403743 | f6078890ba792d5734d289d7a0b1d429d945a03a | /hw1/submissions/duongmatthew/duongmatthew_24972_1251114_HW_1_2_area_polygon.py | 447f9be0617ad268c945c78e34e5542e35139e5e | [] | no_license | huazhige/EART119_Lab | 1c3d0b986a0f59727ee4ce11ded1bc7a87f5b7c0 | 47931d6f6a2c7bc053cd15cef662eb2f2027712c | refs/heads/master | 2020-05-04T23:40:53.709217 | 2019-06-11T18:30:45 | 2019-06-11T18:30:45 | 179,552,067 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,317 | py | #python2.7
"""
Created on Sat April 13, 2019
This script does the following:
Solve for the area of an irrgular polygon using for loops.
@author: maduong
"""
#==============================================================================
# Parameters
#==========... | [
"hge2@ucsc.edu"
] | hge2@ucsc.edu |
52cdea1bfb1375132c60044aec9f7e58288c58e3 | dc5dbd961188e301c1245f8b8c035d65ad48bf6f | /backend/location/migrations/0001_initial.py | 9f42e448c5f81bccfb773c8f4cb919f82328e615 | [] | no_license | crowdbotics-apps/knoto-fy-22184 | 1f580eb86812acd1b700b3927ae5ec515df03a35 | 3fb321895f22333db8cafd4d3cd6fced68c741ce | refs/heads/master | 2023-01-06T03:48:45.190344 | 2020-11-01T15:44:27 | 2020-11-01T15:44:27 | 309,118,753 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,032 | py | # Generated by Django 2.2.16 on 2020-11-01 15:43
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('vehicle', '0001_initial'),
('taxi_profile', '0001_initial'),
]
operations = [
... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
b17128c90d064ae3ff053cd3a4029c861cbf4f1e | e10422c540b3199cc5663c1c226ae2b8f24fd5cf | /RPA/rpa.py | b01cbe15d6b3dbaf791268ebf4edd47b9db91e1e | [] | no_license | cccccsf/single_point | f014a9f0a18eb30ddd4a967a822eba3bd26ed53a | 61cc11b0c40e082b45c5458c8435dbea001af466 | refs/heads/master | 2020-05-09T10:10:05.035435 | 2019-05-07T12:44:30 | 2019-05-07T12:44:30 | 181,030,692 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,854 | py | #!/usr/bin/python3
import os
from Components import IniReader
from Components import Job
from Components import read_record_results
from OsComponents import record
import RPA
def rpa(path):
rec = 'LRPA begins.\n'
rec += '---'*25
print(rec)
record(path, rec)
# read infos from input.ini file
i... | [
"cccccsf@hotmail.com"
] | cccccsf@hotmail.com |
fa6aabd605cb14a55b6c372b2c4b27dfcd568106 | a2a6138df4d1b52b8ca0b62a16a0d6de1439d156 | /ansible/library/check_fabric_links.py | b11a4a452f839727393172ea2bb49e250720d745 | [] | no_license | yijxiang/preso_abstract_all_the_things | bc7a203d1b6b862aaa0646c5746762e2429f2167 | ce4e98a8d63f59992c33b04e3af53d6cc4c101b6 | refs/heads/master | 2021-06-01T02:10:54.966996 | 2016-06-18T14:01:25 | 2016-06-18T14:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,809 | py | from ansible.module_utils.basic import * #noqa
def main():
"""Main module"""
module = AnsibleModule(
argument_spec=dict(
device_name=dict(type='str', required=True),
fabric=dict(type='list', required=True),
fabric_link_prefix=dict(type='str', required=True),
... | [
"dbarrosop@dravetech.com"
] | dbarrosop@dravetech.com |
720e006c5f1ea63c2f941264693787f9831072e8 | 69f8906371f6c5d66dd526157139368ce2b287f9 | /jschon/vocabulary/format.py | d6ee988750dedfeeec39f9e4ab82bc8334ff3e20 | [
"MIT"
] | permissive | jdewells/jschon-shamelessdowngrade | 1636ce0a1d2ddd974eb4cea231ecedec5a9763e6 | 14c5415c77b2f1e531bedd8aeeb8051fde7efb3e | refs/heads/main | 2023-06-22T19:45:55.318613 | 2021-07-16T11:33:13 | 2021-07-16T11:54:27 | 386,568,493 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,329 | py | from typing import Callable
from jschon.exceptions import CatalogueError
from jschon.json import AnyJSONCompatible, JSON
from jschon.jsonschema import JSONSchema, Scope
from jschon.vocabulary import Keyword
__all__ = [
'FormatKeyword',
'FormatValidator',
]
FormatValidator = Callable[[AnyJSONCompatible], None... | [
"52427991+marksparkza@users.noreply.github.com"
] | 52427991+marksparkza@users.noreply.github.com |
2f238397bee22b9e1b4ff60009fe43d31d56a93c | 03a22b3c00dc5188da3ed1a19077874e3ad786c5 | /futoin/cid/tool/rusttool.py | 596ed4482d5011959c021f2fc2e12dcf86854d05 | [
"Apache-2.0"
] | permissive | iforgotband/cid-tool | fdf050169e5aa895ded9d9efb2741860ecd91a34 | f7d0e53057ecff156cf52c8dcae80c6408fb37d8 | refs/heads/master | 2021-08-15T02:51:17.717986 | 2017-11-17T07:59:24 | 2017-11-17T07:59:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,481 | py | #
# Copyright 2015-2017 (c) Andrey Galkin
#
from ..runenvtool import RunEnvTool
class rustTool(RunEnvTool):
"""Rust is a systems programming language.
Home: https://www.rust-lang.org
"""
__slots__ = ()
def getDeps(self):
if self._isGlobalRust():
return []
return ['rustup']... | [
"andrey@futoin.org"
] | andrey@futoin.org |
8edad28cdee8cd18a19b038687d5e36ad4751122 | ad38b9a924911b3249b9ffec01d78a2b1048fa0d | /动态调试/Immunity Debugger v1.73/Lib/bsddb/dbobj.py | 36a2e3613f834dcd4cfd59e82a6954a269e2a574 | [] | no_license | h3len/HackerToolBox | 77c5a45553784d20104db21ac5fe8f840ca519a6 | 4397b0c25cfd0eb3f92484f396745cc664af2531 | refs/heads/master | 2020-04-04T22:57:47.376773 | 2018-10-10T15:43:06 | 2018-10-10T15:50:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,514 | py | #-------------------------------------------------------------------------
# This file contains real Python object wrappers for DB and DBEnv
# C "objects" that can be usefully subclassed. The previous SWIG
# based interface allowed this thanks to SWIG's shadow classes.
# -- Gregory P. Smith
#---------------... | [
"redleavessun@gmail.com"
] | redleavessun@gmail.com |
11f3ec41cdc453ce54cc8f179f787c754acfd76a | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_118/1693.py | e9fddbbbf5b5b476c5d099c47e0503b858d39c30 | [] | no_license | dr-dos-ok/Code_Jam_Webscraper | c06fd59870842664cd79c41eb460a09553e1c80a | 26a35bf114a3aa30fc4c677ef069d95f41665cc0 | refs/heads/master | 2020-04-06T08:17:40.938460 | 2018-10-14T10:12:47 | 2018-10-14T10:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 455 | py | ps = open("palindromicSquares.dat")
psList = []
for line in ps:
psList.append(int(line))
file = open("ups")
T = int(file.readline())
hh = 1
for x in range(T):
lin = file.readline()
line = lin.split()
A = int(line[0])
B = int(line[1])
count = 0
for pSq in psList:
... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
de7f422c0a22b96e3c8a821bed239f1f3875fb5e | 1d96db84225301d972f07cad95c2a13f4fbafa84 | /PyROOT/LongTermDataAccess/read_in_and_create_from_text_file_LASS.py | 8d4feb0eb41b02f23e08269707a897f62b3a6e10 | [] | no_license | mattbellis/matts-work-environment | 9eb9b25040dd8fb4a444819b01a80c2d5342b150 | 41988f3c310f497223445f16e2537e8d1a3f71bc | refs/heads/master | 2023-08-23T09:02:37.193619 | 2023-08-09T05:36:32 | 2023-08-09T05:36:32 | 32,194,439 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,600 | py | #!/usr/bin/env python
# example of macro to read data from an ascii file and
# create a root file with a Tree.
#
# NOTE: comparing the results of this macro with those of staff.C, you'll
# notice that the resultant file is a couple of bytes smaller, because the
# code below strips all white-spaces, whereas the .C versi... | [
"matthew.bellis@gmail.com"
] | matthew.bellis@gmail.com |
5dc54f6be27233e336ce2a0450bfe642158977e2 | e3a6939a2faaf9bfd7ed21e7a877d2bd2125b130 | /projects/migrations/0005_portfolio_main_image.py | 5a6cde616e5720954f3d6ab8324edf2cd9f82846 | [] | no_license | furkalokbu/PortfolioTime | b133a64ec1472a12b878b87cf8e0706fdf39a16a | c4233930cd0988a80c65edf2079d4a560987d225 | refs/heads/main | 2023-04-29T21:24:30.629206 | 2021-05-14T15:49:14 | 2021-05-14T15:49:14 | 367,320,283 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 620 | py | # Generated by Django 3.2.2 on 2021-05-13 18:21
from django.db import migrations, models
import djlime.utils
class Migration(migrations.Migration):
dependencies = [
("projects", "0004_alter_portfolio_options"),
]
operations = [
migrations.AddField(
model_name="portfolio",
... | [
"furkalokbu@gmail.com"
] | furkalokbu@gmail.com |
281722303c3bde8dbe4c5ce15c76da40eb564416 | 19486e71422fdded91d8139d7ee1ab6b4cc8d271 | /app/core/admin.py | b3df02c45e6c82517c80ed7ad095eece1a1196b8 | [
"MIT"
] | permissive | EugenDaniel/recipe-app-api | ebe221efb1e6a4209c24169cfe9ccc3554b958dd | 7eea36ab76437ab58bdf06604612fd4abb95d2df | refs/heads/main | 2023-06-15T14:30:03.135398 | 2021-06-30T18:22:05 | 2021-06-30T18:22:05 | 342,641,615 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 873 | py | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.utils.translation import gettext as _
from core import models
class UserAdmin(BaseUserAdmin):
ordering = ["id"]
list_display = ["email", "name"]
fieldsets = (
(None, {'fields': ('email', ... | [
"="
] | = |
25b7cf86b988ac5ca4c8a5a21e13b136aa73138d | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_1/345.py | 3d6976a800e4a4c6ede3fadece3f71775d28e8e8 | [] | no_license | dr-dos-ok/Code_Jam_Webscraper | c06fd59870842664cd79c41eb460a09553e1c80a | 26a35bf114a3aa30fc4c677ef069d95f41665cc0 | refs/heads/master | 2020-04-06T08:17:40.938460 | 2018-10-14T10:12:47 | 2018-10-14T10:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,066 | py | import sys
def longestdist(engines, queries, index): # returns new index, or len(queries) on end
arr = []
for eng in engines:
i = index
while (i < len(queries)) and (eng != queries[i]):
i += 1
if i == len(queries):
return i # the end
else:
arr.append(i)
return max(arr)
def findmain(engines, q... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
106eb5f57a11be2db0edad76db3b88818a4e1e00 | ac5e52a3fc52dde58d208746cddabef2e378119e | /exps-gsn-edf/gsn-edf_ut=2.5_rd=0.5_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=5/sched.py | d5d1750c2c337e17c713d1a3b3c2ae173fab9e54 | [] | no_license | ricardobtxr/experiment-scripts | 1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1 | 7bcebff7ac2f2822423f211f1162cd017a18babb | refs/heads/master | 2023-04-09T02:37:41.466794 | 2021-04-25T03:27:16 | 2021-04-25T03:27:16 | 358,926,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 239 | py | -X FMLP -Q 0 -L 5 105 400
-X FMLP -Q 0 -L 5 84 250
-X FMLP -Q 1 -L 2 68 300
-X FMLP -Q 1 -L 2 35 125
-X FMLP -Q 2 -L 1 34 175
-X FMLP -Q 2 -L 1 31 400
-X FMLP -Q 3 -L 1 28 125
28 125
26 150
25 175
23 250
17 100
12 125
| [
"ricardo.btxr@gmail.com"
] | ricardo.btxr@gmail.com |
fa6352da3f57c640866d89be3d153cb0602e1f48 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/otherforms/_sittings.py | 500a3f748d08d50008c6da0ff4b4761549958d02 | [
"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 | 226 | py |
#calss header
class _SITTINGS():
def __init__(self,):
self.name = "SITTINGS"
self.definitions = sitting
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.basic = ['sitting']
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
716f5f51ef5e8c139c1eac1521eda1097a2cbf49 | 8b39cec9c5dfca96ad2c68f5cd65c4740fd922de | /python-flask-api/api.py | 00cffbf8b63a9ba805badef1a16bdc4366cdf24b | [] | no_license | evry-ace/google-esp-azad-auth-examples | 12d78f0ab439de4611c558d51e641a0646a77c7d | acdb6d0fc22bd3de0a0ba1acebe7a8ea4de76577 | refs/heads/master | 2021-07-07T07:05:47.813386 | 2019-11-25T18:52:50 | 2019-11-25T18:52:50 | 223,805,084 | 0 | 0 | null | 2021-01-05T13:46:11 | 2019-11-24T20:24:39 | TypeScript | UTF-8 | Python | false | false | 4,784 | py | # /server.py
import json
import logging
import os
from six.moves.urllib.request import urlopen
from functools import wraps
from flask import Flask, request, jsonify, _request_ctx_stack
from flask_cors import cross_origin
from jose import jwt
logging.basicConfig(level="DEBUG")
TENANT_ID = os.environ.get("TENANT_ID")... | [
"endre.karlson@gmail.com"
] | endre.karlson@gmail.com |
e4c8593a81daa132dd2f7d09206b302b6af3fecf | 67ddedc825a4852349bb3e54f7d31cdeb34c64aa | /test/functional/wallet_txn_clone.py | b459a8048556463da75fd9e4d8bd93832a6aa2ed | [
"MIT"
] | permissive | geranium-coin/geranium | 3500632ed8e666d30d1b28494b1b7b5003c18ecc | 93c08aa10ea151f4efd8337c1d5599ee7e8d58ea | refs/heads/master | 2022-07-28T21:28:55.717800 | 2022-01-10T17:30:13 | 2022-01-10T17:30:13 | 440,774,432 | 2 | 0 | MIT | 2022-01-04T08:33:10 | 2021-12-22T07:39:53 | C++ | UTF-8 | Python | false | false | 6,392 | py | #!/usr/bin/env python3
# Copyright (c) 2014-2019 The Geranium Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the wallet accounts properly when there are cloned transactions with malleated scriptsigs."""
im... | [
"manomay.jyotish.vadhuvar@gmail.com"
] | manomay.jyotish.vadhuvar@gmail.com |
c4a09f92a034816653337a68bcf630572036d80b | bf79a856c8a9dd2d72190883dc31f5e652a3b9e7 | /pubsublite/spark-connector/spark_streaming_test.py | 28d2cb754bf41718dd36dbe9e185af75377e2b5a | [
"Apache-2.0"
] | permissive | aog5/python-docs-samples | 5630c2864ee4f141e09d6909de3a3b7ac211703a | 300527f4b12369f6b0ad59fba42cc66159853bdd | refs/heads/master | 2022-10-28T04:48:52.060095 | 2022-10-18T06:50:12 | 2022-10-18T06:50:12 | 157,914,880 | 2 | 0 | Apache-2.0 | 2018-11-16T19:55:30 | 2018-11-16T19:55:30 | null | UTF-8 | Python | false | false | 9,258 | py | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | [
"noreply@github.com"
] | aog5.noreply@github.com |
a501755543715e2df21dcbe6ce7a7d3361bc3253 | 9edaf93c833ba90ae9a903aa3c44c407a7e55198 | /travelport/models/queue_next_modifiers.py | b169011c7b5de88ca57fdc2ee7b46de95122d1f9 | [] | no_license | tefra/xsdata-samples | c50aab4828b8c7c4448dbdab9c67d1ebc519e292 | ef027fe02e6a075d8ed676c86a80e9647d944571 | refs/heads/main | 2023-08-14T10:31:12.152696 | 2023-07-25T18:01:22 | 2023-07-25T18:01:22 | 222,543,692 | 6 | 1 | null | 2023-06-25T07:21:04 | 2019-11-18T21:00:37 | Python | UTF-8 | Python | false | false | 1,891 | py | from __future__ import annotations
from dataclasses import dataclass, field
__NAMESPACE__ = "http://www.travelport.com/schema/universal_v52_0"
@dataclass
class QueueNextModifiers:
"""
Can only be used when modifying an Universal Record in Queue mode.If not
specified along with ReturnRecord as false then ... | [
"chris@komposta.net"
] | chris@komposta.net |
e1df17b36f740b65145bfe2161d142a384266c2c | 56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e | /CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/SUSYBBHToTauTau_M-900_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467562/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_32/run_cfg.py | 6f5e245d271a325f3008125e0b1b592b4bfdab69 | [] | no_license | rmanzoni/HTT | 18e6b583f04c0a6ca10142d9da3dd4c850cddabc | a03b227073b2d4d8a2abe95367c014694588bf98 | refs/heads/master | 2016-09-06T05:55:52.602604 | 2014-02-20T16:35:34 | 2014-02-20T16:35:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,157 | py | import FWCore.ParameterSet.Config as cms
import os,sys
sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/SUSYBBHToTauTau_M-900_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467562/HTT_24Jul_newTES_manzoni_Up_Jo... | [
"riccardo.manzoni@cern.ch"
] | riccardo.manzoni@cern.ch |
f2319ad1d29f92d6852e79f02e086e2527932504 | a222e2999251ba7f0d62c428ba8cc170b6d0b3b7 | /AtC_Beg_Con_111-120/ABC119/B.py | 32789877af7db37a5feed433bec40b59dc19e4a1 | [
"MIT"
] | permissive | yosho-18/AtCoder | 3e1f3070c5eb44f154c8104fbd5449f47446ce14 | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | refs/heads/master | 2020-06-02T10:21:29.458365 | 2020-05-29T12:40:48 | 2020-05-29T12:40:48 | 188,795,239 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 284 | py | n = int(input())
c = []
for i in range(n):#h:高さ
c.append([str(m) for m in input().split()])
for i in range(n):
c[i][0] = float(c[i][0])
ans = 0
for i in range(n):
if c[i][1] == "JPY":
ans += c[i][0]
else:
ans += c[i][0] * 3.8 * (10 ** 5)
print(ans) | [
"44283410+wato18@users.noreply.github.com"
] | 44283410+wato18@users.noreply.github.com |
fde2acc46aaca99e0ba37b7d748d936de64221f9 | b264ef874513cd4bbb6081bc133eb85f05738bdc | /google-cloud-sdk/lib/googlecloudsdk/command_lib/redis/util.py | 630093f4587be7b0b86b435bae777abe39f370c7 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | smith701/terraform-automation | ab7a638c9da79fdd196a7c4332cfc2af67938f00 | 0b2ffbdc2da5eb807bc9c741543d95a962520f05 | refs/heads/master | 2021-06-15T06:37:42.057049 | 2019-05-30T11:02:14 | 2019-05-30T11:02:14 | 189,398,187 | 0 | 1 | null | 2021-04-30T20:46:46 | 2019-05-30T10:59:50 | Python | UTF-8 | Python | false | false | 3,369 | py | # -*- coding: utf-8 -*- #
# Copyright 2018 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | [
"root@kube-cluster.us-east4-c.c.applied-fusion-241610.internal"
] | root@kube-cluster.us-east4-c.c.applied-fusion-241610.internal |
44307155e7e4797e0cfd6e146e90dd0337886fd4 | 08a07136d6a65a0afdcf8bdda7db6de2562f8a2b | /yawdadmin/templatetags/yawdadmin_filters.py | 1940f40b12115c5f92f3c809276881952c877a94 | [
"BSD-3-Clause"
] | permissive | osiloke/yawd-admin | 8206b0e8baad3a6d5d1eec343c3f4e5f101011d0 | 0df1d64503ae30b907e6f785ae31da9182a10338 | refs/heads/master | 2020-12-25T15:39:35.436980 | 2013-06-16T23:51:04 | 2013-06-16T23:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 852 | py | # -*- coding: utf-8 -*-
from django import template
register = template.Library()
@register.filter
def divide(value, num):
return int(value / num)
@register.filter
def app_title(value):
return value.replace('_', ' ')
@register.filter
def utfupper(value):
orig = [u'Ά', u'Έ', u'Ή', u'Ί', u'ΐ', u'Ό', u... | [
"ppetrid@yawd.eu"
] | ppetrid@yawd.eu |
295ed9b605d7211992ab60f67a12c5a2c80272bb | cf4f3c181dc04c4e698b53c3bb5dd5373b0cc1f4 | /meridian/tst/acupoints/test_naokong31.py | b2c780b58057f39f0191f3bff2a9a63e200d5087 | [
"Apache-2.0"
] | permissive | sinotradition/meridian | da3bba6fe42d3f91397bdf54520b3085f7c3bf1d | 8c6c1762b204b72346be4bbfb74dedd792ae3024 | refs/heads/master | 2021-01-10T03:20:18.367965 | 2015-12-14T14:58:35 | 2015-12-14T14:58:35 | 46,456,260 | 5 | 3 | null | 2015-11-29T15:00:20 | 2015-11-19T00:21:00 | Python | UTF-8 | Python | false | false | 299 | py | #!/usr/bin/python
#coding=utf-8
'''
@author: sheng
@license:
'''
import unittest
from meridian.acupoints import naokong31
class TestNaokong31Functions(unittest.TestCase):
def setUp(self):
pass
def test_xxx(self):
pass
if __name__ == '__main__':
unittest.main()
| [
"sinotradition@gmail.com"
] | sinotradition@gmail.com |
a8a90dddece566a95f1cea1bd8f97993627ed893 | 3060b94f8770ae5047fd9797097d88dfa67c5077 | /py4seo/Код с занятий/lesson15/case6.py | c744fb9963ddbddaddfc8183397e72160010ec74 | [] | no_license | vvscode/py--notes | 8758d532266e8f39857eb8474ab05e9b8cab3841 | 75ddb6608084eb0983ec061f1fc9d3ba75781d46 | refs/heads/master | 2023-05-05T21:25:11.932183 | 2020-01-05T20:06:09 | 2020-01-05T20:06:09 | 117,715,579 | 1 | 0 | null | 2023-04-21T20:44:33 | 2018-01-16T17:18:13 | HTML | UTF-8 | Python | false | false | 693 | py | import random
from requests_html import HTMLSession
from threading import Lock
from concurrent.futures import ThreadPoolExecutor
locker = Lock()
URLS = []
def parser():
while True:
url = random.choice(URLS)
try:
with HTMLSession() as session:
response = session.get... | [
"v.vanchuk@tut.by"
] | v.vanchuk@tut.by |
57f2eca3ee693f0fc10c2da2934b0f5b21cdc3d8 | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /Mm4BaYNPaXHJKWA7M_18.py | fc7bcf94df41e074c5efb7e1d46d575269b4b54f | [] | no_license | daniel-reich/turbo-robot | feda6c0523bb83ab8954b6d06302bfec5b16ebdf | a7a25c63097674c0a81675eed7e6b763785f1c41 | refs/heads/main | 2023-03-26T01:55:14.210264 | 2021-03-23T16:08:01 | 2021-03-23T16:08:01 | 350,773,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 657 | py | """
Smash factor is a term in golf that relates to the amount of energy
transferred from the club head to the golf ball. The formula for calculating
smash factor is _ball speed divided by club speed_.
Create a function that takes ball speed `bs` and club speed `cs` as arguments
and returns the smash factor to the n... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
855d518bdb0ef8347485b6647d85f6b62a18eb21 | 04a21caac09bc47f2291dbf80bc8114c09886fa0 | /cride/users/models/users.py | 05ed0b0ca2abb6d66ef6921d37a59f4207bda200 | [
"MIT"
] | permissive | omiguelperez/advanced-django-cride | 312fda3ddb9a856d206fd5e51afb943aced6d20c | 711954212bd16ce4b08bc376f06a35d31883725c | refs/heads/master | 2022-02-18T02:02:02.734740 | 2019-04-01T03:53:03 | 2019-04-01T03:53:03 | 194,743,356 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,474 | py | """User model."""
from django.contrib.auth.models import AbstractUser
from django.core.validators import RegexValidator
from django.db import models
from cride.utils.models import CRideModel
class User(CRideModel, AbstractUser):
"""User model.
Extend from Django's Abstract User, change the username field
... | [
"mr.omiguelperez@gmail.com"
] | mr.omiguelperez@gmail.com |
5a38dc3ff805c30370e2bf6a50996c0ae28797a4 | 8b4e456df9821aaba6dcafd34bea109506f97739 | /app/tasks.py | be73607b3d5fdfe3b6e4fed3f1d6b910e9a025b8 | [] | no_license | direyes71/recognizer | 54f777bd2ef096f26e4b4f017e6a15809898c6be | 12553fdee3690caa0ae8142f5f3427b9c0c2024c | refs/heads/master | 2021-04-09T16:46:32.422118 | 2015-06-04T15:37:36 | 2015-06-04T15:37:36 | 35,741,978 | 0 | 0 | null | 2015-06-04T15:37:36 | 2015-05-16T22:04:06 | Python | UTF-8 | Python | false | false | 1,748 | py | __author__ = 'diego'
from django.conf import settings
from face_client import FaceClient
from app.data import DEACTIVE_STATUS
from app.data import LEVEL_RECOGNIZE_HIGH
from app.data import LEVEL_RECOGNIZE_MEDIUM
from app.models import RequestRecognizer
def recognize_photo(request_id):
"""
This task exe... | [
"direyes71@hotmail.com"
] | direyes71@hotmail.com |
0cbd95477c3b901fce05ed8d66b190c37f77b985 | 039f2c747a9524daa1e45501ada5fb19bd5dd28f | /AGC002/AGC002a.py | 26bd610c9b311a3a572a138f8dae20f7e64b3e83 | [
"Unlicense"
] | permissive | yuto-moriizumi/AtCoder | 86dbb4f98fea627c68b5391bf0cc25bcce556b88 | 21acb489f1594bbb1cdc64fbf8421d876b5b476d | refs/heads/master | 2023-03-25T08:10:31.738457 | 2021-03-23T08:48:01 | 2021-03-23T08:48:01 | 242,283,632 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 168 | py | #AGC002a
def main():
import sys
input=sys.stdin.readline
sys.setrecursionlimit(10**6)
# map(int, input().split())
if __name__ == '__main__':
main() | [
"kurvan1112@gmail.com"
] | kurvan1112@gmail.com |
0014e5c140ee0ab05962f60e56f4a1f1d315946b | 4fa1bd1d53486544f4566ad2e3e7b12398084c7a | /p067.py | 823bc88b7af2058c15daa7fdfa58aa45384e6bd5 | [] | no_license | PPinto22/ProjectEuler | 7d54c933e3313da9205b4c99d46c581842dee555 | 9ac397a72d173c7ca091552d5358262f6e704786 | refs/heads/master | 2021-01-12T12:07:20.630844 | 2017-08-17T11:47:59 | 2017-08-17T11:47:59 | 72,307,335 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,919 | py | triangulo = [
[59],
[73,41],
[52,40,9],
[26,53,6,34],
[10,51,87,86,81],
[61,95,66,57,25,68],
[90,81,80,38,92,67,73],
[30,28,51,76,81,18,75,44],
[84,14,95,87,62,81,17,78,58],
[21,46,71,58,2,79,62,39,31,9],
[56,34,35,53,78,31,81,18,90,93,15],
[78,53,4,21,84,93,32,13,97,11,3... | [
"pedropinto24@hotmail.com"
] | pedropinto24@hotmail.com |
b0aa05aefe0a791d080c4799c9689c885aaad80b | 71dc727f9056934cd51692f8a3d26cf0dda44ef0 | /code/Chapter-13/button_demo.py | 08ab772ee6b373325d3b9a57ebb47c41ce106607 | [
"MIT"
] | permissive | justinclark-dev/CSC110 | 9d255020a50bbfdb195465c3e742dd2fcd61e3a4 | d738ec33b757ba8fa9cf35b2214c184d532367a0 | refs/heads/master | 2022-12-08T08:08:30.667241 | 2020-09-04T01:05:34 | 2020-09-04T01:05:34 | 232,606,910 | 0 | 1 | MIT | 2020-09-04T02:05:47 | 2020-01-08T16:28:37 | Python | UTF-8 | Python | false | false | 1,134 | py | # This program demonstrates a Button widget.
# When the user clicks the Button, an
# info dialog box is displayed.
import tkinter
import tkinter.messagebox
class MyGUI:
def __init__(self):
# Create the main window widget.
self.main_window = tkinter.Tk()
# Create a Button widget. The text ... | [
"justinclark.dev@gmail.com"
] | justinclark.dev@gmail.com |
35a435579aa3279d7688256fb5111391ac808ef5 | 22292acc8236d76be9b46ead2cc3c93ff143aa43 | /autoasia/main/views.py | f9934794fa6c6697ba82e95bc9132329cf2fbcb5 | [] | no_license | Aitodev/autoasialastfinish | 1cde3991b531fede949d492461d5e65712d30ba7 | a3ed23a0475c5522603dc3ddb5a1c6782bc627b1 | refs/heads/main | 2023-01-29T00:42:03.874396 | 2020-12-06T09:30:07 | 2020-12-06T09:30:07 | 318,996,215 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,426 | py | from .models import Bestproduct, Brand, Automodel, Category, Product
from django.shortcuts import render, redirect
from cart.forms import CartAddProductForm
from django.core.mail import send_mail
from .forms import ApplicationsForm
from django.views import View
from cart.cart import Cart
import telebot
bot = telebot.T... | [
"guruitcompany@gmail.com"
] | guruitcompany@gmail.com |
6b76ca335015094d199ba7d6198a583bf8f246c5 | 8aa82cdccce91f9bef512444f03d829866b0fa7c | /load_tex.py | 2856fb54b5e134123216acd3c11d4121eb97a028 | [
"MIT"
] | permissive | RuthAngus/interwebz | f67c11f3ff35717df8b107ecf9cb7434d1f06ec5 | 115c8e6b589277d1c269092c1cf32b343e40cf18 | refs/heads/master | 2021-01-17T08:46:17.995418 | 2016-06-23T16:11:58 | 2016-06-23T16:11:58 | 61,044,977 | 0 | 3 | null | 2016-06-23T13:10:03 | 2016-06-13T14:54:17 | HTML | UTF-8 | Python | false | false | 1,539 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division, print_function
import re
import string
import tarfile
import fnmatch
import requests
import feedparser
__all__ = ["run", "process_file"]
URL = "http://arxiv.org/rss/astro-ph"
COMMENT_RE = re.compile(r"(?<!\\)%")
AMP_RE = re.compile(r"(?<... | [
"ruth.angus@astro.ox.ac.uk"
] | ruth.angus@astro.ox.ac.uk |
e697db1a8a9a0813a52398bff58398e082e302be | 340f106a213c57d5621124187ca061690334364d | /models/learner_lstm.py | e449c68299db28bd180641ae6c78abddfe864ac9 | [] | no_license | sculd/financial-timeseries-prediction | c461bc7a7c8760ab090b8f53da50daa1f754da7f | c31784a63402580d0b04557e2ab29fc9a3126c9f | refs/heads/master | 2022-10-11T16:53:46.469168 | 2020-09-27T04:19:41 | 2020-09-27T04:19:41 | 209,095,902 | 0 | 0 | null | 2022-09-23T22:28:02 | 2019-09-17T15:52:12 | Python | UTF-8 | Python | false | false | 4,966 | py | import tensorflow as tf, math, pandas as pd, numpy as np
from data.read import get_data, look_back, TEST_SIZE_LSTM, TAIL_VALID_SIZE_LSTM, TRAIN_SZIE_LSTM, HEAD_VALID_SIZE_LSTM
from models.learner_common import batchmark_accuracy, accuracy, print_message
# part of the source code with the blog post at http://monik.in/a... | [
"hjunlim@google.com"
] | hjunlim@google.com |
6a126068629fd9548d89ce0d8d6dbe2aa994c817 | 1bdb0d897228225d9d44e303bd509258565f868e | /bankAccount.py | 16cb47771e7af7f50d1fb6e5a9417b36630f6155 | [] | no_license | jtclayt/python_oop | 3b43bce8862fb1259a3a1ac008f32879bef4bcf0 | 098cb06fee15199c7650eb76dbbf84dc5d2a7781 | refs/heads/master | 2022-11-11T05:01:06.744805 | 2020-07-01T16:14:51 | 2020-07-01T16:14:51 | 276,210,058 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,475 | py | import unittest
class BankAccount:
def __init__(self, int_rate, balance=0):
if (int_rate < 0):
raise ValueError('Can not have negative interest rate')
if (balance < 0):
raise ValueError('Can not have negative balance')
self.int_rate = int_rate / 100
self.balance = balance
... | [
"jt.clayton92@yahoo.com"
] | jt.clayton92@yahoo.com |
854a8b4fec36223fca1c7345598fef9b213aaff1 | f5317a4991edfc4b4da9a42816251b391c8421e0 | /anima/ui/__init__.py | 6c5a6fb65387216f6db09b01bec54cdfe8c741ed | [
"BSD-2-Clause"
] | permissive | initcard/anima | efc564f802f47e89f4f3a1b0a7d38219ac113c3b | 7a86c518165a1bd2df0410f21c6fb8fcb7ce8f83 | refs/heads/master | 2021-01-17T16:03:40.403878 | 2017-06-17T12:52:19 | 2017-06-17T12:52:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 909 | py | # -*- coding: utf-8 -*-
# Copyright (c) 2012-2017, Anima Istanbul
#
# This module is part of anima-tools and is released under the BSD 2
# License: http://www.opensource.org/licenses/BSD-2-Clause
import os
from anima import logger
# Choose between PyQt4 or PySide
PYSIDE = 'PySide'
PYSIDE2 = 'PySide2'
PYQT4 = 'PyQt4'
... | [
"eoyilmaz@gmail.com"
] | eoyilmaz@gmail.com |
34bfea2a785d4b36dcdc4135370dbcf76b7c4e06 | 4305c06bdfc8b66b7643909904716c52b03a7cc4 | /redash/handlers/__init__.py | 8de5cedaacbd5620a9388e9cd71d85cb6f501c12 | [
"BSD-2-Clause"
] | permissive | Jayson0626/redash | dff8c5d4492f272b7c6b1a513e5017818661f1e3 | 0aebb373170260fd3ea6242487c4ecca3f063eff | refs/heads/master | 2020-09-11T03:10:37.318956 | 2019-11-14T18:23:00 | 2019-11-14T18:23:00 | 221,921,987 | 1 | 0 | BSD-2-Clause | 2019-11-15T12:42:28 | 2019-11-15T12:42:27 | null | UTF-8 | Python | false | false | 687 | py | from flask import jsonify
from flask_login import login_required
from redash.handlers.api import api
from redash.handlers.base import routes
from redash.monitor import get_status
from redash.permissions import require_super_admin
from redash.security import talisman
@routes.route('/ping', methods=['GET'])
@talisman(... | [
"arik@arikfr.com"
] | arik@arikfr.com |
8286e6d79e267242a94e76622826b3a7840d8083 | cedd479d853d87e04b6b8c005a63e5e9120d9b98 | /chef/forms.py | 84a060492713d6804275aa3b6f79068f2949dfd6 | [] | no_license | CSCI-441-Fall-2020-Group-Project/QUICKBYTES | 53807a777217fb25e60eda6d3fe955a2a1e9cf83 | ace40c39338bfea412f3538fc08235b06889a414 | refs/heads/master | 2023-01-12T13:30:28.216943 | 2020-11-04T14:58:30 | 2020-11-04T14:58:30 | 309,734,273 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 478 | py | from django.forms import ModelForm, Textarea
from manager.models import Worker_Complaint
from tickets.models import Orderstable
class SendBackForm(ModelForm):
class Meta:
model = Orderstable
fields = ('message',)
widgets = {'message': Textarea(attrs={'rows': 4}),}
class Worker_Complaint_Fo... | [
"klronholt@mail.fhsu.edu"
] | klronholt@mail.fhsu.edu |
21bb286a335c009e4b243e8ca790163770effd79 | 523f8f5febbbfeb6d42183f2bbeebc36f98eadb5 | /76__.py | 0d10c6bf2bbba9b0c43fd3f5ee4fb959e013bf3f | [] | no_license | saleed/LeetCode | 655f82fdfcc3000400f49388e97fc0560f356af0 | 48b43999fb7e2ed82d922e1f64ac76f8fabe4baa | refs/heads/master | 2022-06-15T21:54:56.223204 | 2022-05-09T14:05:50 | 2022-05-09T14:05:50 | 209,430,056 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,052 | py | def minWindow(s, t):
"""
:type s: str
:type t: str
:rtype: str
"""
if len(s)==0 or len(t)==0 or len(t)>len(s):
return 0
dict={}
for i in t:
if dict.has_key(i):
dict[i]=dict[i]+1
else:
dict[i]=1
i=0
j=0
si=0
sj=0
maxLen=... | [
"1533441387@qq.com"
] | 1533441387@qq.com |
685c9a255c172419b5f8d0d0b19a1583cb33070d | 70054615f56be28373b00c9df96544ec822be683 | /res/scripts/client/gui/scaleform/managers/cursor.py | a9febe503d475fc983cbf4676e9b4ce0bd9d68d2 | [] | no_license | wanyancan/WOTDecompiled | c646ad700f5ec3fb81fb4e87862639ce0bdf0000 | 9ffb09007a61d723cdb28549e15db39c34c0ea1e | refs/heads/master | 2020-04-17T23:13:15.649069 | 2013-11-15T16:37:10 | 2013-11-15T16:37:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,046 | py | from debug_utils import LOG_DEBUG, LOG_ERROR
from gui.Scaleform.daapi.view.meta.CursorMeta import CursorMeta
from gui.Scaleform.framework.entities.View import View
import GUI
import BigWorld
__author__ = 'd_trofimov'
class Cursor(CursorMeta, View):
ARROW = 'arrow'
AUTO = 'auto'
BUTTON = 'button'
HAND =... | [
"james.sweet88@googlemail.com"
] | james.sweet88@googlemail.com |
9f781ee0b038c6d31e9c33a177b949be99668343 | ffb05b145989e01da075e2a607fb291955251f46 | /pypers/europython05/Quixote-2.0/server/util.py | 69ed675e4d678a36b67a60da4c6b4615a4a1720a | [] | no_license | micheles/papers | a5e7f2fa0cf305cd3f8face7c7ecc0db70ce7cc7 | be9070f8b7e8192b84a102444b1238266bdc55a0 | refs/heads/master | 2023-06-07T16:46:46.306040 | 2018-07-14T04:17:51 | 2018-07-14T04:17:51 | 32,264,461 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,180 | py | """$URL: svn+ssh://svn.mems-exchange.org/repos/trunk/quixote/server/util.py $
$Id: util.py 26427 2005-03-30 18:03:32Z dbinger $
Miscellaneous utility functions shared by servers.
"""
from optparse import OptionParser
from quixote.util import import_object
def get_server_parser(doc):
parser = OptionParser()
p... | [
"michele.simionato@gmail.com"
] | michele.simionato@gmail.com |
ffd3a770eb4e8b19edcfe5296e9e5c2ef5e67616 | 893597d91fe6de25cdd3e8427c4ebba29d3cabe1 | /tests/sources/test_inspect.py | dbf85ac7e7d99192102d0d5fbefb4c2bee8983bc | [
"Apache-2.0"
] | permissive | AugustasV/ploomber | d51cefd529bdbf6c2bc82485ba77add6bb346f2b | b631a1b21da64bb7b9525db1c29c32ee3c0e48b4 | refs/heads/master | 2023-08-27T02:22:55.556200 | 2021-10-31T02:52:28 | 2021-10-31T02:52:28 | 423,189,549 | 0 | 0 | Apache-2.0 | 2021-10-31T15:44:17 | 2021-10-31T15:44:16 | null | UTF-8 | Python | false | false | 430 | py | from pathlib import Path
import pytest
from test_pkg.decorated.functions import (decorated_function, function,
double_decorated_function)
from ploomber.sources import inspect
@pytest.mark.parametrize('fn', [
function,
decorated_function,
double_decorated_functio... | [
"github@blancas.io"
] | github@blancas.io |
f6023ce1e639a9795ea6c1a87d4b39fa0b1737d7 | e4af0a837ef7c26e68331cf7390279493d38ff8a | /LetsCook/core/utils.py | 39eeac327ba278a363bf106e638ceedacc4fd642 | [
"MIT"
] | permissive | ivo-bass/iCook | 0d42bcc34f1b53546940fab0779de74473d1c91f | c45f97ac3d8da0c52ccd85ecac0bab51bc4c8048 | refs/heads/main | 2023-07-14T16:49:07.181122 | 2021-08-22T20:30:54 | 2021-08-22T20:30:54 | 383,261,562 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,839 | py | import datetime
from cloudinary import uploader
from LetsCook.profiles.models import Choice
from LetsCook.recipes.models import Recipe
def get_recipes_for_day(request, day):
"""
Filters the choices of the user by date
and returns the recipes chosen for that day
:param day: datetime instance
:ret... | [
"ivailo.ignatoff@gmail.com"
] | ivailo.ignatoff@gmail.com |
99a80ce4d6c6af0dccffa137efce3eea8692bc3c | dbfd6af70ff5d50a3c64f83f0b14fb981f457ec5 | /Simulation/컨베이어 벨트.py | ddf00729d788b1109fd768bb741fa4c6c2a844db | [] | no_license | subinmun1997/AI_LeeBrosCode | 5b7119c8c538ae41219b6e10a2fc368a5b142236 | 478b75ac680d401c9c2100d83c6816e04a6794e2 | refs/heads/main | 2023-02-21T11:13:55.432042 | 2021-01-25T14:45:57 | 2021-01-25T14:45:57 | 331,019,546 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 970 | py | # 변수 선언 및 입력
n, t = tuple(map(int, input().split()))
u = list(map(int, input().split()))
d = list(map(int, input().split()))
for _ in range(t):
# Step 1
# 위에서 가장 오른쪽에 있는 숫자를 따로 temp값에 저장해놓습니다.
temp = u[n - 1]
# Step 2
# 위에 있는 숫자들을 완성합니다.
# 오른쪽에서부터 채워넣어야 하며,
# 맨 왼쪽 숫자는 아래에서 가져와야함에 유의합니다.
... | [
"qzxy812@gmail.com"
] | qzxy812@gmail.com |
f132d43d5b32dff7529d6d5042a1b47f798f8035 | 55f074aa22510c2d3b56caad1aed958acab122cf | /python/comparatist/utils/c.py | 9d4532909c5048ddc1c747d72fe518a1744f3636 | [
"MIT"
] | permissive | tkf/comparatist | 7cddb0e15f392f85cf29c2b7284f6a46283ebf5a | 44f30077857fc96cb77539f3fe0a7e8112f86c82 | refs/heads/master | 2020-06-15T22:25:57.580483 | 2016-12-03T00:54:06 | 2016-12-03T00:54:06 | 75,262,050 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 270 | py | import os
import numpy
libdir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
os.path.pardir, os.path.pardir, os.path.pardir,
'lib')
def load_library(name):
return numpy.ctypeslib.load_library(name, libdir)
| [
"aka.tkf@gmail.com"
] | aka.tkf@gmail.com |
e81edc8fa4f2db2662be6a62f249442713160be7 | ffe606c85de9009d2c15356f82daa524c343b925 | /nn.py | fb1e03dfca0733519e41a0249f5c09647be117ad | [] | no_license | jbinkleyj/story_writer | d88ff7e3360fb8afd12445d1cb237788636b3083 | dc5106a35f5fbce72f8cf0801c0ad4cbc0c9f12f | refs/heads/master | 2020-07-09T15:54:02.492373 | 2017-12-16T07:26:59 | 2017-12-16T07:26:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,023 | py | import sys
import torch
import torchtext
from itertools import product
from torch import nn
from torch.autograd import Variable
from nltk.translate.bleu_score import SmoothingFunction, sentence_bleu
def calcbleu(gen, targets):
#calcbleu(generated, targets, DS.stoi_targets["<end>"]):
cc = SmoothingFunction()
bleu... | [
"kedzior@uw.edu"
] | kedzior@uw.edu |
df3801b7049a0dac555f418c36f92cc8763165f4 | 62a212c3d7936c727e09b48d3c10495ea8db12fe | /src/backend/flask_interface/common.py | e1122b81e0d47e278f2af21def554a913f272778 | [] | no_license | antonpaquin/Homulili | 080a2398e9ee7f19566be3de8a30903ae03a3b9e | 3c56ee5c41d5bf3f86a3325c6117d6795e12cdf2 | refs/heads/master | 2021-09-06T15:19:53.166674 | 2018-02-08T00:21:20 | 2018-02-08T00:21:20 | 110,213,888 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,544 | py | import json
import requests
import logging
from . import config
from . import secret
auth_header = {
'auth_token': secret.api_admin_key,
}
def standard_request(model: str, method: str, params: dict, logger: logging.Logger):
method_map = {
'create': requests.put,
'read': requests.get,
... | [
"antonpaquin@gmail.com"
] | antonpaquin@gmail.com |
406c35803742f4bc20ff3095e6fe1e009e263b66 | 303ae7311f1d97982e62c4f0b5b14fff28ae346f | /core/auth/local/user_management.py | bd403c7bd134f27dbb8897386f3a14b5bd74cd00 | [
"Apache-2.0"
] | permissive | phAlvex/yeti | bc807598308473a2d2d0690d1ed31ffa2d10e50b | 431c05a194ba081f2279d487ab5ed3a24a5e7bd7 | refs/heads/master | 2022-02-23T15:50:34.296463 | 2019-07-19T10:33:34 | 2019-07-19T10:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,137 | py | import os
import hmac
from core.logger import userLogger
from hashlib import sha512
from flask import current_app
from flask_login.mixins import AnonymousUserMixin
from werkzeug.security import check_password_hash, generate_password_hash
from core.user import User
from mongoengine import DoesNotExist
DEFAULT_PERMISS... | [
"tomchop@gmail.com"
] | tomchop@gmail.com |
34b2e08e7714e4745e39947c427960299373d020 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02695/s972481944.py | 7868151bd0fa7570aab06c7c35a30fa00b6d703e | [] | 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 | 653 | py | #!/usr/bin/env python3
# スペース区切りの整数の入力
def dfs(seq):
ans = 0
if len(seq) == N:
score_ret = 0
for a, b, c, d in data:
if seq[b-1] - seq[a-1] == c:
score_ret += d
return score_ret
else:
for i in range(seq[-1], M+1):
seq_next = seq + (i,)... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
ec6393792cd31f7832708be203a21bf5ded25a23 | 0ca218c0f54dac33a2ade4accfdf8f5be3207588 | /test/ext/mypy/plugin_files/mixin_one.py | a471edf6c7e3997860faca348f7f8e35d214b860 | [
"MIT"
] | permissive | sqlalchemy/sqlalchemy | 9d949c67c9b5396b1f33e7ff0f3230c81babf5be | b382bff6e3464f039db0fd1f2ce1b79038675e48 | refs/heads/main | 2023-08-31T17:40:59.565421 | 2023-08-30T15:01:41 | 2023-08-30T15:01:41 | 159,271,175 | 8,083 | 1,489 | MIT | 2023-09-12T18:53:55 | 2018-11-27T03:35:03 | Python | UTF-8 | Python | false | false | 883 | py | from sqlalchemy import Column
from sqlalchemy import Integer
from sqlalchemy import String
from sqlalchemy.orm import declarative_base
from sqlalchemy.orm import registry
reg: registry = registry()
# TODO: also reg.as_declarative_base()
Base = declarative_base()
class HasUpdatedAt:
updated_at = Column(Integer)... | [
"mike_mp@zzzcomputing.com"
] | mike_mp@zzzcomputing.com |
a6eb6e2da3f1eb51b721bf7a99124c8a7cdaf9d7 | 06fa1aefc051ee0d6c325afef13dfcc14e52c6e4 | /ulmo/runs/VIIRS/2013/viirs_2013.py | 88c2ab4df9deef4503d457bc273c4e66103d010a | [] | no_license | cxzhangqi/ulmo | 98e7b2783720b13f0e31a8bdf6ae70ab2a217bc7 | c1c570e75332243b8a2a16a8d6c68544e1ba02cd | refs/heads/main | 2023-06-30T19:15:04.279986 | 2021-07-31T19:45:51 | 2021-07-31T19:45:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,226 | py | """ Module for Ulmo analysis on VIIRS 2013"""
import os
import glob
import numpy as np
import subprocess
import pandas
import h5py
from skimage.restoration import inpaint
from sklearn.utils import shuffle
from ulmo import io as ulmo_io
from ulmo.preproc import io as pp_io
from ulmo.preproc import utils as pp_util... | [
"xavier@ucolick.org"
] | xavier@ucolick.org |
0c0d07d4410786cfc16ba6af62bf0486ccfe2623 | 730f89724aca038c15191f01d48e995cb94648bc | /tasks/migrations/0029_partialtaskpay.py | c02b5fb006dacc19326560a8b0d32bd266982cf2 | [] | no_license | Happyandhappy/django_email | 14bc3f63376f2568754292708ec8ca7f2e2cf195 | ea858c9fac79112542551b7ba6e899e348f24de3 | refs/heads/master | 2020-03-22T14:22:08.431334 | 2018-07-21T13:41:23 | 2018-07-21T13:41:23 | 140,174,033 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 942 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('tasks', '0028_auto_20150223_2049'),
]
operations = [
migrations.CreateModel(
name='PartialTaskPay',
... | [
"greyfrapp@gmail.com"
] | greyfrapp@gmail.com |
6045341af03e3670ab8772fa437eb69b3f8c2e05 | aad455a944d7feb4be56419b18f9080b53d693de | /3rdparty/wordextract.py | 0b32a1c832a3dd882f6d0c72c07e38021db5ede0 | [] | no_license | brock7/scripts | 8dec0469bc791576b4ccd00bff049e98dd4db344 | 356cac32de62e00241d423a754f8cead268971cd | refs/heads/master | 2020-06-01T07:34:34.568699 | 2018-08-31T23:10:38 | 2018-08-31T23:10:38 | 26,199,799 | 16 | 8 | null | null | null | null | UTF-8 | Python | false | false | 1,160 | py | #!/usr/bin/python
#Word Extractor from a site.
import sys, urllib2, re, sets
#Min length of word
MIN_LENGTH = 3
#Max length of word
MAX_LENGTH = 10
def StripTags(text):
finished = 0
while not finished:
finished =1
start = text.find("<")
if start >= 0:
stop = text[start:].find(">")
if stop >= 0:
t... | [
"you@example.com"
] | you@example.com |
e7d016cdd0000ba7f19a90e22ad37b7456237f4e | 2dd560dc468af0af4ca44cb4cd37a0b807357063 | /Leetcode/479. Largest Palindrome Product/solution2.py | 162641f2ea1d3ac3b545653e2ce54b6591d2196e | [
"MIT"
] | permissive | hi0t/Outtalent | 460fe4a73788437ba6ce9ef1501291035c8ff1e8 | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | refs/heads/master | 2023-02-26T21:16:56.741589 | 2021-02-05T13:36:50 | 2021-02-05T13:36:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 413 | py | class Solution:
def largestPalindrome(self, n: int) -> int:
if n == 1: return 9
if n == 2: return 987
for a in range(2, 9 * 10 ** (n - 1)):
hi = (10 ** n) - a
lo = int(str(hi)[::-1])
if a ** 2 - 4 * lo < 0: continue
if (a ** 2 - 4 * lo) ** .5 =... | [
"info@crazysquirrel.ru"
] | info@crazysquirrel.ru |
dd00cef208cd1ba2419db990b37f300e9d44eb91 | a39adde99c75c2bf9b25b59fb0d6769196e74a63 | /datasets/hscic/hscic_datasets.py | da6420f552abbebdcde4a0f6d4983dee7f3a26a0 | [
"MIT"
] | permissive | uk-gov-mirror/nhsengland.publish-o-matic | 51624d52df562089f7acf4ac91aabcb37ac6d63b | dc8f16cb83a2360989afa44d887e63b5cde6af29 | refs/heads/master | 2021-06-09T06:17:50.473307 | 2016-08-18T10:29:50 | 2016-08-18T10:29:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,750 | py | # -*- coding: utf-8 -*-
#!/usr/bin/env python
"""
Generates a list of JSON objects, one object for each dataset retrieved from
the HSCIC website.
"""
import os
import string
import json
import logging
import requests
import urllib
import html2text
import re
import ffs
from lxml.html import fromstring
from bs4 import Be... | [
"ross@servercode.co.uk"
] | ross@servercode.co.uk |
edda8c4214336c60992f86596773fc55a79c7333 | f7258525ad6c311a138a82fc59c4d84e318cc30f | /book/urls.py | 9e1506559c1db051139d11f77cf5b6e1eecda182 | [] | no_license | lianzhang132/book | e358ae555de96e36dbf9ac6c1f7f887444d91e81 | 71ed81a6464997c77dd75b4849ef6eecf7a2e075 | refs/heads/master | 2020-07-11T03:18:07.352745 | 2019-08-26T08:45:16 | 2019-08-26T08:45:16 | 204,434,003 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 818 | py | """book URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based vi... | [
"2327431669@qq.com"
] | 2327431669@qq.com |
bf77c313214f47a0c51a6baa9a655483873e78d4 | 32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd | /benchmark/signal/extra/conscript.py | 1256a745cd8fbbfe988b7a8497e313ad8805ceda | [] | no_license | Prefest2018/Prefest | c374d0441d714fb90fca40226fe2875b41cf37fc | ac236987512889e822ea6686c5d2e5b66b295648 | refs/heads/master | 2021-12-09T19:36:24.554864 | 2021-12-06T12:46:14 | 2021-12-06T12:46:14 | 173,225,161 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | false | 876 | py | try:
element = driver.find_element_by_android_uiautomator("new UiSelector().text(\"Enable local backups?\")")
element = driver.find_element_by_android_uiautomator("new UiSelector().resourceId(\"org.thoughtcrime.securesms:id/confirmation_check\")")
element.click()
element = driver.find_element_by_android_uiautomator... | [
"prefest2018@gmail.com"
] | prefest2018@gmail.com |
e9a8f1ba0feef0e1ee57af8e73ceae70281e6f82 | aaf4a46f6bde17bfcbb8334f83d4e5972c1ed9cc | /ZeeAnalyzer/python/zeeSkimVetoId2016.py | 2740ff6b35238e99d2d95e6f22c7aab001789b51 | [] | no_license | taroni/usercode | 72811057e54691edfd3eee1f5cd2eab163ff97c6 | 94888ed661f1c31f0fb2c8593add5efd8ecaafa4 | refs/heads/master | 2021-06-06T20:52:41.776442 | 2019-07-09T13:31:39 | 2019-07-09T13:31:39 | 11,950,720 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,495 | py | import FWCore.ParameterSet.Config as cms
# run on MIONAOD
RUN_ON_MINIAOD = True
print "ZEE SKIM. RUN ON MINIAOD = ",RUN_ON_MINIAOD
# cuts
ELECTRON_CUT=("pt > 10 && abs(eta)<2.5")
DIELECTRON_CUT=("mass > 70 && mass < 110 && daughter(0).pt>20 && daughter(1).pt()>10")
# single lepton selectors
if RUN_ON_MINIAOD:
g... | [
"Silvia.Taroni@cern.ch"
] | Silvia.Taroni@cern.ch |
a66551f87eb36b1e691f96a0feabe209abb8312c | 09d564aaab98f72dce6585e78a0642c9fe3539f4 | /网站代码1.0/weixinweb/apps/mobile/models.py | 5dc9b1f7fcc96875d1c1a237baf574a30175f56f | [] | no_license | everydayxy/xy_py | 4b983b4bccc843602f1ea0b1d5ea9576119604bf | 08b314e7ecb10e13394aa93b92084c53596834f3 | refs/heads/master | 2020-04-03T08:52:44.729729 | 2019-09-20T15:05:35 | 2019-09-20T15:05:35 | 134,683,779 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,969 | py | # coding:utf8
from __future__ import unicode_literals
from django.db import models
from datetime import datetime
from django.contrib.auth.models import AbstractUser
class MobileInfo(models.Model):
current_user = models.CharField(verbose_name=u'当前正在使用的用户', max_length=20, blank=True, null=True)
last_u... | [
"everydayx@163.com"
] | everydayx@163.com |
7411b04ed6a0bff0bc657def68b6c9fa9cf7f0cb | 3fcbbc1a2a262ed3b8fc9d7183c81b5f09445a85 | /build/sicktoolbox/catkin_generated/pkg.installspace.context.pc.py | 9d2217b97ba5e955f2f3bb4b4691a6df7c83928d | [] | no_license | karry3775/SimulationWS | 0861071c7d1b0f0372dc3515983bf8e092b37d07 | 754336d88d40e8e7d9e677bedff37505df7eaf4d | refs/heads/master | 2021-05-24T12:01:15.763154 | 2020-04-16T02:33:22 | 2020-04-16T02:33:22 | 253,547,979 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 498 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include".split(';') if "${prefix}/include" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-lSickLD;-lSickLMS1xx;-lSickLMS2xx".split(';') if "-... | [
"kartikprakash3775@gmail.com"
] | kartikprakash3775@gmail.com |
cee00c7369c093b7b1f812c0801539a249639e22 | 8775b2e1aaa8a31954d96710ebe6f53978ce2beb | /python/consistent-hashing/exampl3.py | a39f8deae6e7bca4fcced071e86408fe6c4c4202 | [] | no_license | bruceSz/learnToexcellent | 9933cd3c959fa6e5d234776a6d5e1cc45dde1bd3 | 24d6b795506d7c698a28514379a7dc48576817fd | refs/heads/master | 2016-09-06T08:23:29.738516 | 2014-12-29T09:19:01 | 2014-12-29T09:19:01 | 7,304,982 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 933 | py | from bisect import bisect_left
from hashlib import md5
from struct import unpack_from
NODE_COUNT = 100
NEW_NODE_COUNT = 101
DATA_ID_COUNT = 1000000
node_range_starts = []
for node_id in xrange(NODE_COUNT):
node_range_starts.append(DATA_ID_COUNT/
NODE_COUNT*node_id)
new_node_range_star... | [
"zsyuyizhang@gmail.com"
] | zsyuyizhang@gmail.com |
45db5890711c68a9a639683a4b75be40c00f7ef3 | eddbc7f562c394034fdcc80f2856691126473d7e | /toutvcli/progressbar.py | 64c47152b69c753359f029410025b13921bc2e72 | [] | no_license | eepp/pytoutv | 575dcf01f41be7202e57fe2669275eca57a543cd | 3be8763e473e462470a9044aa30b0220a2749fe9 | refs/heads/master | 2021-01-16T22:47:17.375958 | 2015-04-01T18:08:48 | 2015-04-01T18:08:48 | 30,171,148 | 0 | 0 | null | 2015-02-02T04:32:14 | 2015-02-02T04:32:13 | null | UTF-8 | Python | false | false | 4,680 | py | # Copyright (c) 2014, Philippe Proulx <eepp.ca>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of ... | [
"eeppeliteloop@gmail.com"
] | eeppeliteloop@gmail.com |
1c0398e5f7933407f344b62567eaf66feaf5a0ae | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/2/gb1.py | 40dcac598954f016ba3e0517468cd0170da19a3d | [] | no_license | G4te-Keep3r/HowdyHackers | 46bfad63eafe5ac515da363e1c75fa6f4b9bca32 | fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2 | refs/heads/master | 2020-08-01T12:08:10.782018 | 2016-11-13T20:45:50 | 2016-11-13T20:45:50 | 73,624,224 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 486 | py | import sys
def printFunction(lineRemaining):
if lineRemaining[0] == '"' and lineRemaining[-1] == '"':
if len(lineRemaining) > 2:
#data to print
lineRemaining = lineRemaining[1:-1]
print ' '.join(lineRemaining)
else:
print
def main(fileName):
with open(fileName) as f:
for line in f:
... | [
"juliettaylorswift@gmail.com"
] | juliettaylorswift@gmail.com |
19e503247eec0eb45ac87e9e6e0a83ec365ee73c | bc441bb06b8948288f110af63feda4e798f30225 | /flowable_service_sdk/api/process_instance/list_process_instance_pb2.py | 9d136254ee873a0b26f26a8464120b7472b08684 | [
"Apache-2.0"
] | permissive | easyopsapis/easyops-api-python | 23204f8846a332c30f5f3ff627bf220940137b6b | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | refs/heads/master | 2020-06-26T23:38:27.308803 | 2020-06-16T07:25:41 | 2020-06-16T07:25:41 | 199,773,131 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | true | 24,129 | py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: list_process_instance.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 _message
from googl... | [
"service@easyops.cn"
] | service@easyops.cn |
8327d8d856a104430f484664172a940ed1f53f66 | 7ff07fc1e37e73ee84fb57c99befc803b4370d13 | /grafana.py | 1468fe4ddcefbd6bb71a03cbd02f39f35669f78e | [] | no_license | Kundjanasith/sparksample_ssw2 | 5048965a53d31fb97e268c42c72ce45b6745cccc | 5d08418392bc69e5fc97c6e9220ac4c8dc7eb731 | refs/heads/master | 2021-08-05T14:06:00.714954 | 2017-10-31T09:46:27 | 2017-10-31T09:46:27 | 108,869,882 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,015 | py | from subprocess import call
import os
import sys
call(["echo","Kundjanasith Thonglek"])
file = open(sys.argv[1], "r")
lines = []
for line in file:
lines.append(line)
blockManagerInfo_list = []
memoryStore_list = []
for line in lines:
l = line.split(" ")
if l[3]=="MemoryStore:":
memoryStore_list... | [
"you@example.com"
] | you@example.com |
30d4e85e1077e8d42e2e9c6a0ffe0e90a0fd137f | 2876a5a8e7d50d97039b4e63c25f5eaf1cc20808 | /src/odontology/register/urls.py | f2530fce308de54e12a5780202808bb1810d1fda | [
"Apache-2.0"
] | permissive | nanomolina/JP | 6fcd01b75d71aa560781d4c0350ff76025f85f92 | 248a47bced4dac850f85d28968ddf279cd123400 | refs/heads/master | 2022-11-29T09:31:43.449654 | 2019-07-16T18:25:20 | 2019-07-16T18:25:20 | 51,620,989 | 2 | 0 | Apache-2.0 | 2022-11-22T01:11:25 | 2016-02-12T22:33:24 | HTML | UTF-8 | Python | false | false | 1,226 | py | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^benefit/new/(?P<patient_id>[0-9]+)/$', views.new_benefit, name='new_benefit'),
url(r'^benefit/edit/(?P<patient_id>[0-9]+)/$', views.edit_benefit, name='edit_benefit'),
url(r'^benefit_detail/(?P<patient_id>[0-9]+)/edit/(?P<detail_i... | [
"nanomolinacav@gmail.com"
] | nanomolinacav@gmail.com |
59b0826edb22f57b55dee6289c842e1157348204 | 56ec40598f25a4292d75cbae2df729cf0ace2585 | /Practice_Game.py | 41311714d4224e456340af62df0293af7997833f | [] | no_license | eitan12345om/Turn_Game | d9890b3d9dff6f3ca20d9835c7c5c3bc345007b1 | 506c12e5f3cdc30d2d6aac1b1ee09823169b090a | refs/heads/master | 2021-01-23T14:50:30.824042 | 2015-01-10T00:18:58 | 2015-01-10T00:18:58 | 29,034,289 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 104 | py | def reverse(string):
alist = []
for character in string:
alist.insert(0, character)
for element in | [
"eitan.simler@gmail.com"
] | eitan.simler@gmail.com |
c655aa65ce4def25a201e67dd41360bd9c307f25 | 78d35bb7876a3460d4398e1cb3554b06e36c720a | /sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2015_07_01/operations/_metric_definitions_operations.py | ebae6587c5bd6430c0d29a62dcb999ab6c17ec2f | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later"
] | permissive | catchsrinivas/azure-sdk-for-python | e35f59b60318a31b3c940a7a3a07b61b28118aa5 | 596227a7738a5342274486e30489239d539b11d1 | refs/heads/main | 2023-08-27T09:08:07.986249 | 2021-11-11T11:13:35 | 2021-11-11T11:13:35 | 427,045,896 | 0 | 0 | MIT | 2021-11-11T15:14:31 | 2021-11-11T15:14:31 | null | UTF-8 | Python | false | false | 6,020 | 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"
] | catchsrinivas.noreply@github.com |
4771cd2408d38ea9a443c19a4f2773351eed6b28 | 393ccacef32461f5d7f4b21419a7c695df9c62a7 | /lpo/sfmail/postcodes/74.cgi | 74f544a9e9b6c574437a26cbbd95f2d914a36f4a | [] | no_license | emoshu-yuta-okuma/nakagawa-dent-hp | ebc6c66efc624a256f0d7e30c2e26b9aae162cd7 | e83e8c7060881b7267f90ca3f2c599d614a219a1 | refs/heads/master | 2023-01-14T12:39:19.874341 | 2020-11-12T06:33:00 | 2020-11-12T06:33:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 109,801 | cgi | 35203,74712,7471221,ヤマグチケン,ヤマグチシ,スゼンジ,山口県,山口市,鋳銭司,0,0,0,0,0,0
35203,74702,7470232,ヤマグチケン,ヤマグチシ,トクヂイカジ,山口県,山口市,徳地伊賀地,0,0,0,0,0,0
35203,74702,7470234,ヤマグチケン,ヤマグチシ,トクヂオゴソ,山口県,山口市,徳地小古祖,0,0,0,0,0,0
35203,74705,7470523,ヤマグチケン,ヤマグチシ,トクヂカミムラ,山口県,山口市,徳地上村,0,0,0,0,0,0
35203,74702,7470233,ヤマグチケン,ヤマグチシ,トクヂキシミ,山口... | [
"y.dream.nest@icloud.com"
] | y.dream.nest@icloud.com |
4b860b7547cdff2cb7948a03bb0453c4ebd0d485 | 29466643ce80aa5e5e6868ec836ab71c8d35f0e1 | /exampleproject/tests/test_theme_loaders.py | 142cb0040dda880e578baa67bcc5f1e45b8c55e7 | [
"MIT"
] | permissive | priestd09/django-vest | 80a59d1e87e5570dc67aa529c65ab87b219f424e | 284acb70cce53be6653ef26e6133f6ce09129051 | refs/heads/master | 2021-01-18T07:29:25.471461 | 2015-06-21T15:22:54 | 2015-06-21T15:22:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,331 | py | # coding: utf-8
from django.test import override_settings
from django.contrib.auth import get_user_model
from django.template.base import TemplateDoesNotExist
from django.core.urlresolvers import reverse
from django.utils.text import force_text
from django_vest.test import TestCase
from django_vest.templates_loaders i... | [
"zero13cool@yandex.ru"
] | zero13cool@yandex.ru |
679f8136203aa13c9c009d2734ad216682687690 | d554b1aa8b70fddf81da8988b4aaa43788fede88 | /5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4476/codes/1723_2506.py | fde97dfe81580c09c0a2b8c82cf67437628af87f | [] | 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 | 300 | py | qit = int(input("digite o valor: "))
cat = int(input("digite o valor: "))
qtv = int(input("digite o valor: "))
percat = cat/100
ano = 0
while ((qit > 0) and (qit < 12000)):
qit = (qit + (qit*percat)) - qtv
ano = ano + 1
if (qit<0):
print("EXTINCAO")
if (qit>12000):
print("LIMITE")
print(ano)
| [
"jvlo@icomp.ufam.edu.br"
] | jvlo@icomp.ufam.edu.br |
87868c3a5b35301410c73fce0c952c6a4f7d335d | 7d90019c8f480a4dd65202a901b37dae1c1f6064 | /nikl_m.py | 7c5149878ada36da2c36520464955fbbf071a67c | [
"MIT"
] | permissive | r9y9/deepvoice3_pytorch | d3e85f54d46e809f6fffc0d619e0b4a9d1b13488 | f90255c96177c344cd18b5a52651b420a4d8062d | refs/heads/master | 2023-08-23T08:00:32.174896 | 2023-06-29T18:32:26 | 2023-06-29T18:32:26 | 108,992,863 | 1,964 | 511 | NOASSERTION | 2023-08-11T16:51:15 | 2017-10-31T12:31:44 | Python | UTF-8 | Python | false | false | 3,408 | py | from concurrent.futures import ProcessPoolExecutor
from functools import partial
import numpy as np
import os
import audio
import re
from hparams import hparams
def build_from_path(in_dir, out_dir, num_workers=1, tqdm=lambda x: x):
'''Preprocesses the LJ Speech dataset from a given input path into a given output... | [
"zryuichi@gmail.com"
] | zryuichi@gmail.com |
5cdd88f7c21c0017de1a55407ca223f3307271ac | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_286/ch33_2020_03_20_19_48_52_677032.py | f93bf527b67821368199a82586a0a894c3c90081 | [] | 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 | 766 | py | def eh_primo (numero):
if numero == 1 or numero == 0:
return False
elif numero == 2:
return True
else:
div = 2
cont = 0
while div < numero:
if numero % div == 0:
cont += 1
div += 1
if cont == 0:
return True
... | [
"you@example.com"
] | you@example.com |
7c297d521d3a8dee6119d4e1779621ca93ba73f3 | 3b17017731dfb9dee3595acd19aeaeaba9690f18 | /tests/test_pipelines/test_optimize.py | 0046235f24162f90b077cf1e56dc2e6af870902a | [
"MIT"
] | permissive | mad-lab-fau/tpcp | e180735b344ba5193c16da215d904ed3c408a37a | 75b958ee691d6d5b0eee070c1eb20d1017ec619b | refs/heads/main | 2023-09-01T13:05:21.057660 | 2023-08-30T08:51:34 | 2023-08-30T08:58:05 | 424,304,448 | 11 | 1 | MIT | 2023-09-07T15:21:42 | 2021-11-03T16:40:10 | Python | UTF-8 | Python | false | false | 32,834 | py | from tempfile import TemporaryDirectory
from typing import Union
from unittest.mock import patch
import joblib
import numpy as np
import pandas as pd
import pytest
from sklearn.model_selection import ParameterGrid, PredefinedSplit
from tests.test_pipelines.conftest import (
DummyDataset,
DummyOptimizablePipel... | [
"a.kuederle@gmail.com"
] | a.kuederle@gmail.com |
898dfad221e5ead2cf716da8027383746d0d5bd4 | 3d8141cded162c3ccd7273e979b1ba60eceab4c7 | /test/reports/common-games/User/test_report_user_today_for_the_week.py | 98ba12bdcd770040c7ac59f8ab8ac236e584fcb5 | [
"Apache-2.0"
] | permissive | FearFactor1/S3 | 563e2de6de03b284367fa52da25753156aaa8b4a | 2c94197a9e6f23ca5a47815b4e80541074440c03 | refs/heads/master | 2021-06-25T05:32:28.658247 | 2020-11-16T07:51:46 | 2020-11-16T07:51:46 | 164,873,965 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,177 | py | # Отчет за неделю + с галочкой Кассовый отчёт + Обычные + Пользователь + Текущая неделя
def test_report_user_today_for_the_week(app):
app.report.open_page_report()
app.report.select_user()
app.report.select_checkbox_for_the_week()
app.report.button_get_report()
app.report.parser_report_text()
... | [
"zelezodoroznik@yandex.ru"
] | zelezodoroznik@yandex.ru |
384193f8b2d9deaf0a0a3d19bb3615c7eb16bda9 | 3aacc31a2f8e399c7e6b8dc37ef9c61496371be2 | /utils/file_tools.py | 0478e64e6147375882db2186dce455e8e5027c11 | [] | no_license | skynimrod/mysite2 | d983eb3a01a99c571a82a84fe945cc56da586713 | ee9ff97fce3c031fcb381b9d727ea03e2801a984 | refs/heads/master | 2021-01-21T09:14:08.021885 | 2017-08-31T06:29:39 | 2017-08-31T06:29:39 | 101,967,482 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,709 | py | # -*- coding: utf-8 -*-
# 文件操作工具
# 1. 向文件中插入目标内容
# 碰到有poskey 字符串才插入。 这是重点
# 注意: tmpfile 操作的是字节, 而 普通的文件操作时字符串...
import tempfile
import shutil
import time
import traceback
def insertContent( filename, contentstr, poskey ):
temp = tempfile.TemporaryFile()
fp = open( filename, 'r+' )
print( temp.nam... | [
"adamswang_2000@aliyun.com"
] | adamswang_2000@aliyun.com |
2fcefa6627f7e1c392d53c0c56a4fd513c7bd5e3 | e6dab5aa1754ff13755a1f74a28a201681ab7e1c | /.parts/lib/django-1.2/tests/regressiontests/templates/context.py | 73da7310951d348eb6b4969c5f0f3b00a2ea9a67 | [] | no_license | ronkagan/Euler_1 | 67679203a9510147320f7c6513eefd391630703e | 022633cc298475c4f3fd0c6e2bde4f4728713995 | refs/heads/master | 2021-01-06T20:45:52.901025 | 2014-09-06T22:34:16 | 2014-09-06T22:34:16 | 23,744,842 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 108 | py | /home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.2/tests/regressiontests/templates/context.py | [
"ron.y.kagan@gmail.com"
] | ron.y.kagan@gmail.com |
338acbb4fa83e8925fd45e166d1ef3e96095dd3a | c2b7f6e19d988adef4b02ac99fb4387a43bd5162 | /forml/project/__init__.py | 8730941291d7f2caf8e85eae710a3df696855c61 | [
"Apache-2.0"
] | permissive | hieuqtran/forml | 3fad180b071413bae22d419634da78bfa73f0187 | 7a63ef9031c0b5ac567462782d2241f7fd51a11a | refs/heads/master | 2023-01-21T11:25:37.417186 | 2020-12-04T23:24:49 | 2020-12-04T23:24:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,375 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"antonymayi@yahoo.com"
] | antonymayi@yahoo.com |
48f7491e0c3f2abe9255a379d4725fbb095e40cf | 9a393d5dae8147088b1c9b78987197c60a6618cf | /0909/트리순회1.py | 02d36f043d93d356d21d9beda48f0381e6a02dcc | [] | no_license | bumbum9944/bumpycharm | 5444440379f6d5142130bc8a7a4b69276f23f991 | b487eb433d41ff0d2f6e1ca4f723225b114b96c0 | refs/heads/master | 2020-07-05T16:04:35.153231 | 2019-10-02T00:14:00 | 2019-10-02T00:14:00 | 202,693,662 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 956 | py | def preorder(n):
if n > 0:
print(n, end=' ')
preorder(ch1[n])
preorder(ch2[n])
def inorder(n):
if n > 0:
inorder(ch1[n])
print(n, end=' ')
inorder(ch2[n])
def posorder(n):
if n > 0:
posorder(ch1[n])
posorder(ch2[n])
print(n, end=' ')... | [
"tong940526@gmail.com"
] | tong940526@gmail.com |
33175511ba6040b0a0a7f5b576ace6024b3d7774 | e4f1f60c587fadab2af3082836b559f981a74015 | /pcmdpy/instrument/__init__.py | 489c38c3b739020eb79f9380e8dfc5e9d2a1c473 | [
"MIT"
] | permissive | bacook17/pcmdpy | bb2cd4b224f6a7cad5ca638a94f8494945404c6a | ce2e9341efb1846e8c6c8bac27208603591ec525 | refs/heads/master | 2021-06-04T09:49:21.414770 | 2019-08-13T17:39:48 | 2019-08-13T17:39:48 | 113,083,573 | 7 | 2 | MIT | 2023-06-27T04:45:28 | 2017-12-04T19:09:52 | Batchfile | UTF-8 | Python | false | false | 1,264 | py | __all__ = ['Filter', 'PSF_Model', 'ACS_WFC_F435W', 'ACS_WFC_F475W',
'ACS_WFC_F555W', 'ACS_WFC_F606W', 'ACS_WFC_F814W', 'ACS_WFC_F850LP',
'm31_filter_sets', 'm49_filter_sets', 'm51_filter_sets',
'default_m31_filters', 'default_m49_filters', 'default_m51_filters',
'default_m87_... | [
"bcook@cfa.harvard.edu"
] | bcook@cfa.harvard.edu |
d4abfa11594790ffa97ecee62b00d8d0ac32e299 | df2cbe914f463ad050d7ed26194424afbe3a0a52 | /addons/snailmail_account/wizard/snailmail_confirm_invoice_send.py | a3c3da40e8ce82168209c1cd0c4d37bf1a3167ef | [
"Apache-2.0"
] | permissive | SHIVJITH/Odoo_Machine_Test | 019ed339e995be980606a2d87a63312ddc18e706 | 310497a9872db7844b521e6dab5f7a9f61d365a4 | refs/heads/main | 2023-07-16T16:23:14.300656 | 2021-08-29T11:48:36 | 2021-08-29T11:48:36 | 401,010,175 | 0 | 0 | Apache-2.0 | 2021-08-29T10:13:58 | 2021-08-29T10:13:58 | null | UTF-8 | Python | false | false | 585 | py | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, fields, models
class SnailmailConfirmInvoiceSend(models.TransientModel):
_name = 'snailmail.confirm.invoice'
_inherit = ['snailmail.confirm']
_description = 'Snailmail Confirm Invoice'... | [
"36736117+SHIVJITH@users.noreply.github.com"
] | 36736117+SHIVJITH@users.noreply.github.com |
a6bfb716cbecd5d2dd88fcf202bdc75dfe03994d | 97f2c1375fec921a217194b3d95376b70a62109e | /swapcase.py | 4854e7dd6fe57d9c0c98529f959345b8171cebd2 | [] | no_license | Avani1992/database_pytest | a113522c768333fc4a60a65c0fe2ef7416fada10 | 91b1c71d7b04a95fd7f35a4230689098f155ec8b | refs/heads/master | 2021-05-21T01:56:58.662034 | 2020-06-24T11:54:52 | 2020-06-24T11:54:52 | 252,494,879 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 465 | py | """You are given a string and your task is to swap cases. In other words, convert all lowercase letters to uppercase letters and vice versa"""
s='HackerRank.com presents "Pythonist 2".'
def swap_case(s):
s1=''
for i in range(0,len(s)):
if(s[i].islower()):
s1=s1+s[i].upper()
... | [
"noreply@github.com"
] | Avani1992.noreply@github.com |
ba42bc876837d7eb14bccec52f662ff49983e7c1 | a8b37bd399dd0bad27d3abd386ace85a6b70ef28 | /airbyte-integrations/connectors/source-instagram/setup.py | a15d5f7ab25e46f0a97117986cec69f1481bd81e | [
"MIT",
"LicenseRef-scancode-free-unknown",
"Elastic-2.0"
] | permissive | thomas-vl/airbyte | 5da2ba9d189ba0b202feb952cadfb550c5050871 | 258a8eb683634a9f9b7821c9a92d1b70c5389a10 | refs/heads/master | 2023-09-01T17:49:23.761569 | 2023-08-25T13:13:11 | 2023-08-25T13:13:11 | 327,604,451 | 1 | 0 | MIT | 2021-01-07T12:24:20 | 2021-01-07T12:24:19 | null | UTF-8 | Python | false | false | 700 | py | #
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
from setuptools import find_packages, setup
MAIN_REQUIREMENTS = [
"airbyte-cdk",
"cached_property~=1.5",
"facebook_business~=11.0",
]
TEST_REQUIREMENTS = [
"requests-mock~=1.9.3",
"pytest~=6.1",
"pytest-mock~=3.6",
"requests_mo... | [
"noreply@github.com"
] | thomas-vl.noreply@github.com |
6a43351210c93cc49a59db2cfeecb3cca77fdecd | 32adb6b350bd0f0603cf4ec53c340d6b9a183007 | /posbench/httpconnect.py | eca6879204398779a5cf230e581f54bd866de78b | [] | no_license | HonryZhang/useful_tools | c197597a8a1395c9e8ee407f47fec28fbc6c8dab | c099c58b3263d3afd298bf7ce802675d71bbc9cd | refs/heads/master | 2023-06-17T20:10:19.758854 | 2021-07-15T07:29:37 | 2021-07-15T07:29:37 | 383,982,027 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,869 | py | # -*- encoding=utf8 -*-
"""
description: http协议
author: baorb
"""
import sys
import httplib
import logging
if sys.version < '2.7':
import myLib.myhttplib as httplib
try:
import ssl
except ImportError:
logging.warning('import ssl module error')
try:
_create_unverified_https_context = ssl._create_unver... | [
"jshori@163.com"
] | jshori@163.com |
c675bcb168438ee2f3e9dd4b411d3b36cf114025 | 1b787489aab83b2e06a8f658ee8e01a10eb01998 | /antpat/reps/vsharm/coefs.py | dd3cc7350b66b015f9c897695622d30bd56dd2a7 | [
"ISC"
] | permissive | daydreamer2023/AntPat | 7edd471bd1e0997eb5befa029120ba13b861f106 | 6dc416a1593346421337400f880e7159a07447f6 | refs/heads/master | 2022-01-22T17:52:39.300557 | 2019-08-15T08:41:24 | 2019-08-15T08:41:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,893 | py | """Vector Spherical Harmonics module. Based on my matlab functions."""
# TobiaC 2015-07-25
import math
import numpy
from vshfield import vshField
class Coefs(object):
"""Class for Vector Spherical Harmonics expansion Coefficients.
Default format for coefficients is s,n,m tuple:
coefs_snm[s][n][m] = [ [... | [
"tobia@chalmers.se"
] | tobia@chalmers.se |
6a740713868a23cf7fd977a20d8d013a847f8250 | 17594c0dc66f37efc19568509bfbe0d440adfce1 | /boj.kr/bfs/12851.py | 2e9b7cde188a3318f538733484710fb029c0f45f | [] | no_license | jhs851/algorithm | c7cea7d3773871593dea0805bdb9f67a9e36d380 | 24995cdb0f1100590c9f5cc1df4a7eedd2bfe281 | refs/heads/main | 2023-07-26T03:09:13.005799 | 2021-09-09T07:18:29 | 2021-09-09T07:18:29 | 362,413,731 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 558 | py | from collections import deque
n, k = map(int, input().split())
MAX = 200000
visited = [False] * MAX
visited[n] = True
count = [0] * MAX
count[n] = 1
d = [0] * MAX
queue = deque([n])
while queue:
x = queue.popleft()
for nx in [x - 1, x + 1, x * 2]:
if 0 <= nx < MAX:
if not visited[nx]:
... | [
"jhs851@naver.com"
] | jhs851@naver.com |
837aa3a130026c8b465498a806652ea33f0025a5 | 99d7a6448a15e7770e3b6f3859da043300097136 | /src/database/migrate/isotopedb/versions/007_Add_Experiment_tables.py | 338f96e9ca7cf990fb22b611afeea95af91f7e14 | [] | no_license | softtrainee/arlab | 125c5943f83b37bc7431ae985ac7b936e08a8fe4 | b691b6be8214dcb56921c55daed4d009b0b62027 | refs/heads/master | 2020-12-31T07:54:48.447800 | 2013-05-06T02:49:12 | 2013-05-06T02:49:12 | 53,566,313 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,492 | py | from sqlalchemy import *
from migrate import *
meta = MetaData()
t1 = Table('ExperimentTable', meta,
Column('id', Integer, primary_key=True),
Column('name', String(40)),
)
t2 = Table('ExtractionTable', meta,
Column('id', Integer, primary_key=True),
Column('script_name', String(80)),
Column('script_blob', BLOB),... | [
"jirhiker@localhost"
] | jirhiker@localhost |
4b346e2c77f0c0aa4c1fea8b537ca84c24f7ed66 | e7af5a3e76e674be0a85628067fa494348d45123 | /Python-for-Finance-Second-Edition-master/Chapter09/c9_10_impact_of_correlation_2_stock.py | 31107dc2df965439f6e0c14d65ae1aa48973a9d9 | [
"MIT"
] | permissive | SeyedShobeiri/Work | 8321ead6f11de8297fa18d70a450602f700f26fb | f758e758106fbd53236a7fadae42e4ec6a4e8244 | refs/heads/master | 2022-07-25T02:33:25.852521 | 2020-05-17T16:11:27 | 2020-05-17T16:11:27 | 264,706,380 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 403 | py | """
Name : c9_10_impact_of_correlation_2stocks.py
Book : Python for Finance (2nd ed.)
Publisher: Packt Publishing Ltd.
Author : Yuxing Yan
Date : 6/6/2017
email : yany@canisius.edu
paulyxy@hotmail.com
"""
import scipy as sp
import matplotlib.pyplot as plt
sp.random.seed(123)
... | [
"shobeiri@math.uh.edu"
] | shobeiri@math.uh.edu |
1082ad197f0a5adad1f88bc26c43e59264fcbe44 | b2dab4c71cd43ffffee8387ca4e3b0b6b0af1b26 | /scripts/floating_transform_publisher | d64141ddde443b20b0c6aff2b3594c79dc11d978 | [
"BSD-3-Clause"
] | permissive | rpiRobotics/floating_transform_publisher | fdca218bdb18ebf4ff5aad248d94e3a121314e62 | f4b9293b96b5f51dd5a5f917599643cf523f17b2 | refs/heads/master | 2020-03-22T14:45:16.173284 | 2018-08-01T19:19:06 | 2018-08-01T19:19:06 | 140,202,877 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,096 | #!/usr/bin/env python
# Copyright (c) 2017, Rensselaer Polytechnic Institute, Wason Technology LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must ... | [
"wason@wasontech.com"
] | wason@wasontech.com | |
b929aeb0056f1798891adfcb8d8979a8d00911f6 | 76a8ea60480331f0f61aeb61de55be9a6270e733 | /downloadable-site-packages/statsmodels/graphics/mosaicplot.py | 164e75a3b66b38956be354f27486c60dc34e974c | [
"MIT"
] | permissive | bhagyas/Pyto | cd2ec3f35bec703db4ac29b56d17abc4bf03e375 | 907024a9b3e04a2a9de54976778c0e1a56b7b83c | refs/heads/master | 2022-11-19T13:05:07.392454 | 2020-07-21T17:33:39 | 2020-07-21T17:33:39 | 281,886,535 | 2 | 0 | MIT | 2020-07-23T07:48:03 | 2020-07-23T07:48:02 | null | UTF-8 | Python | false | false | 27,183 | py | """Create a mosaic plot from a contingency table.
It allows to visualize multivariate categorical data in a rigorous
and informative way.
see the docstring of the mosaic function for more informations.
"""
# Author: Enrico Giampieri - 21 Jan 2013
from statsmodels.compat.python import (iteritems, iterkeys, lrange, lz... | [
"adrilabbelol@gmail.com"
] | adrilabbelol@gmail.com |
8a4c38ce99e162e12cbd9cdb98e3afeacb82b5d4 | 245ba2bf9aabba09ae4642a8e5baf26131b37834 | /algorithms/190819/연습문제3.py | 167e438d6def838712a49554066de33a30e51ca6 | [] | no_license | toohong5/TIL | 3c441db905bf53025f6f6e0942336bdc3a959297 | cb22fe0003405861c80203b02a396b7374db356b | refs/heads/master | 2023-01-13T12:56:09.260384 | 2019-11-27T08:31:01 | 2019-11-27T08:31:01 | 195,918,089 | 0 | 0 | null | 2023-01-07T18:11:17 | 2019-07-09T02:30:56 | Jupyter Notebook | UTF-8 | Python | false | false | 1,699 | py | import sys
sys.stdin = open('04 Stack1_DFS_input.txt', 'r')
# V, E = map(int, input().split()) # 정점수, 간선수
# G = [[] for _ in range(V + 1)] # 정점번호 : 1~V까지 사용
# for _ in range(E):
# u, v = map(int, input().split())
# G[u].append(v)
# G[v].append(u)
# for i in range(1, V + 1):
# print(i, '-->', G[i]) #... | [
"toohong5@gmail.com"
] | toohong5@gmail.com |
9374f92882be4d8c685ff5986c2e6b3cf113131b | 48a7b266737b62da330170ca4fe4ac4bf1d8b663 | /molsysmt/physchem/get_surface_area.py | 4b4b49cebf41fe836d3e0d773e03eea86fb4e139 | [
"MIT"
] | permissive | uibcdf/MolSysMT | ddab5a89b8ec2377f383884c5169d147cab01322 | c3d713ba63db24eb8a2426115cf8d9cb3665d225 | refs/heads/main | 2023-08-08T15:04:16.217967 | 2023-08-04T05:49:56 | 2023-08-04T05:49:56 | 137,937,243 | 15 | 3 | MIT | 2023-06-04T20:27:06 | 2018-06-19T19:38:44 | Python | UTF-8 | Python | false | false | 711 | py | from molsysmt._private.digestion import digest
from molsysmt._private.exceptions import NotImplementedMethodError
import numpy as np
@digest()
def get_surface_area(molecular_system, selection='all', syntax='MolSysMT', definition='collantes'):
"""
To be written soon...
"""
from molsysmt.basic import ge... | [
"prada.gracia@gmail.com"
] | prada.gracia@gmail.com |
d87a980e970cfe648a7c3ed31263cbdeb8ac63f1 | be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1 | /Gauss_v45r9/Gen/DecFiles/options/12103011.py | a900ba1efdfc69f94b53148dc0d2076a03ba6c1a | [] | no_license | Sally27/backup_cmtuser_full | 34782102ed23c6335c48650a6eaa901137355d00 | 8924bebb935b96d438ce85b384cfc132d9af90f6 | refs/heads/master | 2020-05-21T09:27:04.370765 | 2018-12-12T14:41:07 | 2018-12-12T14:41:07 | 185,989,173 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,730 | py | # file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/12103011.py generated: Fri, 27 Mar 2015 16:10:04
#
# Event Type: 12103011
#
# ASCII decay Descriptor: [B+ -> K+ K- K+]cc
#
from Configurables import Generation
Generation().EventType = 12103011
Generation().SampleGenerationTool = "SignalRepeatedHadronizat... | [
"slavomirastefkova@b2pcx39016.desy.de"
] | slavomirastefkova@b2pcx39016.desy.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.