blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
172c104acfeb521fc901ae323095f6c66489f85b
bc47127bf9418d30cd281950c63e1464de2cdbde
/python/server/backends/__init__.py
7302c710430613194d8931d7bc36a7dfbad4e473
[ "Apache-2.0" ]
permissive
xiaoyehhuang/searchhub
96c846458964eefd3a67b11d97f1ad73b242aa55
b8962ef5ccf4310ced1f6d5ca7f450fa8f97dea5
refs/heads/master
2021-01-17T08:56:34.966590
2016-08-18T18:00:10
2016-08-18T18:00:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,311
py
from collections import namedtuple import importlib from server import app class Backend(object): "Base class for Backend implementations" def __init__(self): pass def toggle_system_metrics(self, enabled=True): raise NotImplementedError() def set_log_level(self, logLevel="ERROR"): raise NotImp...
[ "gsingers@apache.org" ]
gsingers@apache.org
3ad3f271e1638aeab5f1a60f9e46cbf4d55b64e0
a3faf585ac766da428ee896e6c70c39ecc22ce1f
/xy/planner.py
b4be54c6910ff99f946e9c2aa08bc9b5ab70185d
[]
no_license
RolandJuno/xy
dcab6c0682cda79ffd6b5fb6cb8365390421f784
1079175b9a2f58c72fd94520908ebbaf81585037
refs/heads/master
2020-04-05T04:11:02.909464
2019-11-13T22:05:16
2019-11-13T22:05:16
50,703,647
7
1
null
2016-01-30T01:56:42
2016-01-30T01:56:42
null
UTF-8
Python
false
false
5,970
py
from hashindex import Index from math import hypot import anneal import random def sort_paths_greedy(paths, reversable=True): first = max(paths, key=lambda x: x[0][1]) paths.remove(first) result = [first] points = [] for path in paths: x1, y1 = path[0] x2, y2 = path[-1] poin...
[ "fogleman@gmail.com" ]
fogleman@gmail.com
1b5642582133e3969680bf021cd3ea002273f95a
4d6f0bf3ad2fc6af32b650a958012ae86b3732b3
/leetcode_2022/udemy_leetcode/19.validateBST.py
52be031c6a69e1506506820bc919cedc2c96699a
[]
no_license
andrewskej/algo_data
ec6ebf5c5467e0c2b62c6f1aefcf8cf5409916a5
800de3278037531be621377178db3172dc2464f6
refs/heads/master
2022-11-14T06:49:49.257614
2022-10-31T19:57:18
2022-10-31T19:57:18
188,797,507
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
class Solution(object): def minElem(self, root): if not root: return float('inf') if not root.left and not root.right: return root.val return min(root.val, self.minElem(root.left), self.minElem(root.right)) def maxElem(self, root): i...
[ "andrewskej@gmail.com" ]
andrewskej@gmail.com
62ae0501c93af87b8ce1095e97f72f13be31114f
f661d8218788742742ab301440c1583a43d79199
/authors.py
357cc99ff76b785f4dc4dde9be1ba2589f336b99
[]
no_license
bartekbrak/wi-git-tools
35cbd2422668ea544a221847d9f04f26b37c9147
5236ba1dbd9df596f6b8be6721ecd5d8bbc4c923
refs/heads/master
2020-04-27T11:53:43.784946
2015-06-16T06:43:10
2015-06-16T06:43:10
174,313,113
0
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
""" Display information abut commits on remote branches. Useful to detect orphaned code. """ import argparse import re from blessings import Terminal from git import Repo from git_common import info repo = Repo() t = Terminal() WRONG_BRANCH = re.compile('->|/master|HEAD|/develop') # It would be much more readable a...
[ "bartek.r@webinterpret.com" ]
bartek.r@webinterpret.com
b2800c986371d3fb2bdede2f95c9a609029981f8
256600e431b69f18e9d8fc9327087a2fe6bfbea1
/category/serializers.py
ce481d300eaa1be46ebd48a16a51c72e510ce944
[]
no_license
IsaacDremaster/practice
0a142e4dfcac94289c93501b6d114d946754f007
392ce827ced0046d2e2a0398953287d7c8ce37c3
refs/heads/master
2023-04-12T20:28:12.833315
2021-05-08T16:25:45
2021-05-08T16:25:45
365,560,060
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from .models import Category from rest_framework import serializers class CategorySerializer(serializers.ModelSerializer): class Meta: model = Category fields = ('__all__', )
[ "iskhak.dosmatov@gmail.com" ]
iskhak.dosmatov@gmail.com
ff053c7af547706471c802a09fb2b03078714f37
3a0336f8ba841f6076f412dfb6de1af9ac946efd
/azure/multiapi/storagev2/fileshare/v2019_07_07/_models.py
1488fcea6ebdc1c95ef6a44eccad5db9309bf5b8
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Azure/azure-multiapi-storage-python
4291579aa1f47d4b74557267558bd5029e01e12c
650ef33ad683a5f2aba590c4553f9871bfa0dd93
refs/heads/master
2023-09-03T22:27:16.816305
2023-06-01T07:37:02
2023-06-01T07:37:02
94,827,841
4
17
MIT
2023-06-01T07:37:03
2017-06-19T22:58:21
Python
UTF-8
Python
false
false
40,637
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- # pylint: ...
[ "noreply@github.com" ]
Azure.noreply@github.com
cadf4a8240aa583d9ad090cc8ab82e29151c3b1d
c8be157a5376314f4ebb93c40fc948cfcc775c1e
/trainer/trainer.py
5ae333b9e82d3b25512bf872505917f061ab8d78
[]
no_license
15926273249/OCR_detection_IC15
fdf6cc244b0b1e78f1f03977be34c50da82d6519
a1a7348bc8a6a7e66d364dac14acebbc57572d4c
refs/heads/master
2023-07-27T04:03:15.561476
2021-09-15T07:19:16
2021-09-15T07:19:16
256,381,621
0
0
null
2020-04-17T02:31:45
2020-04-17T02:31:44
null
UTF-8
Python
false
false
5,035
py
import numpy as np import torch from base import BaseTrainer from utils.bbox import Toolbox from utils.visualize import Visualizer class Trainer(BaseTrainer): """ Trainer class Note: Inherited from BaseTrainer. self.optimizer is by default handled by BaseTrainer based on config. """ ...
[ "Viper_mdl@126.com" ]
Viper_mdl@126.com
5c0bf1565d794947c5e83c20c6ade13d158fedf3
650e9b9ce71aa40abc7dab33fc590a8aefca2155
/Exercicios/11-20/ex015.py
270f6418d753daafda951bfc835c895569395987
[]
no_license
dennisasilva/PythonCourse
412b22376cff99fc9ece9346ca7ff215f6091127
717c0506185e0d2319a082aecda85c8c8163e3cc
refs/heads/master
2023-01-13T04:41:18.377357
2020-11-06T16:13:33
2020-11-06T16:13:33
264,807,134
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
# Desafio 15 # Escreva um programa que pergunte a quantidade de Km percorridos por um carro alugado e a quantidade de dias # pelos quais ele foi alugado. Calcule o preço a pagar, sabendo que o carro custa R$60 por dia e R$0,15 por Km rodado. dia = int(input("Quantos dias alugados? ")) km = float(input("Quantos KM roda...
[ "dennisasilva@gmail.com" ]
dennisasilva@gmail.com
172d724d6cdeff773fb75953079b08d1d6f65291
2835d4c79f38bf4b97534c5b5f6f743473cf5ba9
/test_app/migrations/0001_initial.py
8e65a4ad46bb2cf7f04119aef26e276cf385f7c5
[]
no_license
Darkmor88/my-first-site
dd0325cd5438a531f421b8f0a5348178d7fc0ef8
399aa3042321e7924a8536e93f714e8d589b506d
refs/heads/master
2022-11-19T05:43:51.836536
2020-07-10T19:29:02
2020-07-10T19:29:02
277,367,456
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 3.0.8 on 2020-07-05 18:13 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "akormilicin88@gmail.com" ]
akormilicin88@gmail.com
d01f381c02e80357e531e32a614919713a104070
caa2414d67547bb9d673bd51cd39cddabffe6e7d
/modalMethods/bin/POD/pod_energy_plot.py
bf90c0c0fc21d97e5ea97e2dbcc2ebaa67be19f9
[]
no_license
sidShinde/modal-methods
37c4128e8ebbb8e34c278216ba5098df7a0b386c
56eb3c7d4a467161ba84a43df48b1b193d1c3ca1
refs/heads/master
2021-01-23T03:43:28.129110
2017-07-17T14:46:37
2017-07-17T14:46:37
86,115,381
1
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
import os import argparse import numpy as np import matplotlib matplotlib.use('PDF') from matplotlib import pyplot as plt from modalMethods.readers.reader import * def pod_energy_plot(configFile): ''' Input ----- configFile: file with input details Output ------ saves a plot of ene...
[ "siddhesh@umich.edu" ]
siddhesh@umich.edu
adddedcca61a8134c1a899015d0449e39f75ed65
5cf8e8f35aec5f7637c40f5baa0af378a69d3a73
/main.py
e00b2edb02fbb6f1763eb92c5773ff5b818c02d5
[]
no_license
l7ucian/Flask_BootStrap_sample
6cc05f8bec1528221b9148aa97cd2bb9b9733265
8dba8e2f84a3386928d9217b01ef66deda5ce10b
refs/heads/master
2021-01-17T14:20:16.753306
2017-03-06T14:46:32
2017-03-06T14:46:32
84,084,909
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
from flask import Flask app = Flask(__name__) @app.route("/") def index(): return 'index.html' if __name__ == "__main__": app.run()
[ "lucian.andercou@gmail.com" ]
lucian.andercou@gmail.com
a1ccf0822ee71e89102f179bb0eb5ae1d1b36efe
fb170891e7d10139c3d5bf0d55403abef0196f1f
/src/pipelines/master_pipeline.py
b99f2be6eecfbf810f30be35255fef84854d7a8f
[]
no_license
lihkinVerma/CommunityQuestionAnswering
759e93bbe94f9f0c157530269cb353719a010dd2
682212e3d0575b580c48984f979860ad17d30aa2
refs/heads/master
2023-05-12T03:53:50.104699
2021-06-03T16:08:06
2021-06-03T16:08:06
370,103,288
0
0
null
null
null
null
UTF-8
Python
false
false
16,603
py
#!/usr/bin/env python ''' Controls the pipeline for Pythia. This module regulates the features and algorithms used in order to detect novelty, then adminstrates the implementation of the given specifications. It requires a directory full of JSON files, where each file contains a cluster of documents. ''' import pdb ...
[ "nikhil@gmail.com" ]
nikhil@gmail.com
2bcf76b268dcc14f93c164f38f79c9fac0b642c1
93d8f6332992d7f1574666096e956d47a2c23754
/src/safe.py
98b34c1ad9ca33b5b925d656a343e2388d310014
[ "BSD-3-Clause" ]
permissive
aliceafterall/cocomud
d41a5a8964f1af17cacfb0d0dcdd4b5530bb1bc5
b2b7a7b5f93542b8e94c0eec00c4dcd7bd96cff1
refs/heads/master
2023-07-20T09:34:49.410221
2017-08-03T15:16:05
2017-08-03T15:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,816
py
# Copyright (c) 2016, LE GOFF Vincent # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this # list of conditions and th...
[ "vincent.legoff.srs@gmail.com" ]
vincent.legoff.srs@gmail.com
a4b8a7c035036e9e0e83c562c498c103c3a7ba94
7d72ece1edb0009e2f5dadd96838e6fa4d020c86
/src/follow_road/MyAlgorithm.py
78146757492d8d71d43311729f3470639eea528e
[]
no_license
RoboticsLabURJC/2018-phd-luis-caiza
d188a9621c7339349dd32ba3f382010daeb49b95
834e93889c8b8aacdf8edee0206341154ef17073
refs/heads/master
2020-03-30T02:05:28.334834
2019-04-24T19:32:17
2019-04-24T19:32:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,509
py
import threading import time from datetime import datetime import cv2 import numpy as np import math time_cycle = 80 #value_min_HSV = np.array([20, 0, 0]) #for follow road original #value_max_HSV = np.array([100, 130, 130]) #for follow road original value_min_HSV=np.array([0, 50, 50]) # red color used in follow a b...
[ "lcaiza2012@gmail.com" ]
lcaiza2012@gmail.com
c38a25da5214e8923f65e45fd2fa196c29475700
c1df38d160e3c052ae495dd41d0f18db5e9ead96
/tesisjoha/recomendaciones/admin.py
5627753334f1f38e2f9c034edc2dc6eb1a5314e0
[]
no_license
JohannaOrozco/recomendador
eaf858ca26284bd267a71e8a5a0063d2bd5c3136
e6d745916c05b72b11c3a59e05f4f4a7b2ff93ce
refs/heads/master
2020-06-11T09:36:11.018559
2019-08-24T01:52:30
2019-08-24T01:52:30
193,918,762
2
0
null
null
null
null
UTF-8
Python
false
false
700
py
from django.contrib import admin from recomendaciones.models import Estudiante, ColegioClasificacion, EstudianteNacionalidad, EstudianteGenero, EstudianteEstadoCivil, EstudianteEstrato, EstudianteTieneFinanciacion, EstudiantePerteneceMinoriaEtnica, EstudianteTieneDiscapacidad # Register your models here. admin.site.r...
[ "jarorid@gmail.com" ]
jarorid@gmail.com
a760f514007324210f920f5d5ed401c4529ad032
350616248bf4384ef8c11d97a1af628ec64aa427
/AIRS_stuff.py
ef547189c95db438a9a32438e496257f4c402109
[]
no_license
jibbals/stations
474956746ad20094fffc91d1fcb38c066d3997e7
557ec0e1d478a9da15e6a108004e8d3a08ce6571
refs/heads/master
2021-01-19T06:34:54.065136
2017-05-25T08:31:23
2017-05-25T08:31:23
62,143,927
0
0
null
null
null
null
UTF-8
Python
false
false
3,809
py
# Create images from AIRS of CO total column on Event days # # plot library import matplotlib # don't display stuff, we are just saving to file: matplotlib.use('Agg') import matplotlib.pyplot as plt # local libraries import fio as fio # datetime library from datetime import datetime import netCDF4 as nc import nump...
[ "jwg366@uowmail.edu.au" ]
jwg366@uowmail.edu.au
eed067e68e68bc9403d6958e844746a118bc601f
d6ce2f6bdddef373b9bbdf26d567307ce3667103
/scripts/utils_specs/convert_spec_csv_to_json.py
0db7b03c0e21edd6637ca3d51e06b9ffc1e88e4d
[ "MIT" ]
permissive
hezbranch/time_series_prediction
505007fb248fe09f56943c3ad705a52ce77a193c
9bffc3f279cbfaa3ec0acc937d15610c19e0975e
refs/heads/master
2023-01-19T12:27:24.615657
2020-10-30T08:59:05
2020-10-30T08:59:05
296,434,092
1
0
MIT
2020-09-17T20:22:09
2020-09-17T20:22:08
null
UTF-8
Python
false
false
2,503
py
import argparse import pandas as pd import json import copy import os if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("--config_json_path", type=str) parser.add_argument("--output_dir", type=str) parser.add_argument("--row_template_json", type=str, default='row_templat...
[ "mike@michaelchughes.com" ]
mike@michaelchughes.com
bf91e11476896b1f49b83e1efbe0cf283e06f334
0d2fc31fd18b0a89fc6e3f2e13b3f651218acb7f
/.local/bin/cxfreeze-quickstart
62f1c0dea1596cf6d6af3eb0891298c49d6d24c7
[]
no_license
saad909/dotfiles
5769da5f43c9a0e4af57ff79c4eb626ea8a6a31e
6d6389c149330dbaa352e6f5bedaad22ce73cdcf
refs/heads/main
2023-04-03T04:10:30.641149
2021-03-27T19:32:00
2021-03-27T19:32:00
291,691,462
0
0
null
null
null
null
UTF-8
Python
false
false
220
#!/usr/bin/python3 # -*- coding: utf-8 -*- import re import sys from cx_Freeze.setupwriter import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "abuhurraira.saad909@gmail.com" ]
abuhurraira.saad909@gmail.com
672c9d2c9b1f1990beb4e2c02173c7fa753b57db
adf39b712b5df8adbe32279b07a7a6513b09ab0b
/set-periodic-raw-logging.py
8af4582c2d72e70540307e044677fc9ef0bb5a65
[ "MIT" ]
permissive
jkua/ubx
b6c2cbef0053f8a3defcc440f0e8c9685c5f02c5
7876cdbaa9f8f93195db67eb087dec79418b24ea
refs/heads/master
2023-03-14T10:52:03.767083
2021-03-06T01:40:54
2021-03-06T01:40:54
116,107,208
4
0
MIT
2018-12-21T19:04:19
2018-01-03T07:38:33
Python
UTF-8
Python
false
false
2,003
py
#!/usr/bin/python # Copyright (C) 2010 Timo Juhani Lindfors <timo.lindfors@iki.fi> # 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 right...
[ "timo.lindfors@iki.fi" ]
timo.lindfors@iki.fi
90118b22999d0850d70f1bd9e39f9ebafee8e412
6188f8ef474da80c9e407e8040de877273f6ce20
/examples/docs_snippets/docs_snippets/guides/dagster/development_to_production/resources/resources_v1.py
c1339b0fabc7baf6e734f9610d9ced0cb55cf53e
[ "Apache-2.0" ]
permissive
iKintosh/dagster
99f2a1211de1f3b52f8bcf895dafaf832b999de2
932a5ba35263deb7d223750f211c2ddfa71e6f48
refs/heads/master
2023-01-24T15:58:28.497042
2023-01-20T21:51:35
2023-01-20T21:51:35
276,410,978
1
0
Apache-2.0
2020-07-01T15:19:47
2020-07-01T15:13:56
null
UTF-8
Python
false
false
655
py
# start_resource # resources.py from typing import Any, Dict, Optional import requests class HNAPIClient: """ Hacker News client that fetches live data """ def fetch_item_by_id(self, item_id: int) -> Optional[Dict[str, Any]]: """Fetches a single item from the Hacker News API by item id.""" ...
[ "noreply@github.com" ]
iKintosh.noreply@github.com
cad332858fb916aae94cf392338574f290c1bdce
1e3cf9c1341083675fa9b716f11c2834e2d18374
/src/pyphoplacecellanalysis/External/pyqtgraph/examples/VideoSpeedTest.py
bb3ff76da268f9820a6aa048e58f05c851b9e606
[ "MIT" ]
permissive
CommanderPho/pyPhoPlaceCellAnalysis
a60313c98b3ad2834c2bf101f3463714df092cf5
212399d826284b394fce8894ff1a93133aef783f
refs/heads/master
2023-09-01T20:27:43.792099
2023-09-01T03:24:19
2023-09-01T03:24:19
444,885,155
1
0
null
null
null
null
UTF-8
Python
false
false
9,668
py
""" Tests the speed of image updates for an ImageItem and RawImageWidget. The speed will generally depend on the type of data being shown, whether it is being scaled and/or converted by lookup table, and whether OpenGL is used by the view widget """ import argparse import sys from time import perf_counter import nump...
[ "CommanderPho@users.noreply.github.com" ]
CommanderPho@users.noreply.github.com
6a232e4c96ed1c55af4ffc914b4e01b6b7e15452
dbc655e10463eacd6c757cb8f7bdea2dbfa7e8f7
/USB-Cam/bosch_drivers/usb_cam/build/catkin_generated/05.catkin-test-results.sh.develspace.context.py
1f5b35bd4ffe17a6def65bfdae8bcc649bd21921
[]
no_license
rsdgroup3/FroboMind
c2df44e2036b87426c987ddf8ed66ff2d3b715af
dfeef2ddcfe25ca7e454c158aca24f41794beac5
refs/heads/master
2021-01-01T05:53:34.128993
2013-04-30T07:12:58
2013-04-30T07:12:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
DEVELSPACE = True INSTALLSPACE = False CATKIN_DEVEL_PREFIX = '/home/rsd/groovy_workspace/FroboMind-Fuerte/USB-Cam/bosch_drivers/usb_cam/build/devel' CATKIN_GLOBAL_BIN_DESTINATION = 'bin' CATKIN_GLOBAL_ETC_DESTINATION = 'etc' CATKIN_GLOBAL_INCLUDE_DESTINATION = 'include' CATKIN_GLOBAL_LIB_DESTINATION = 'lib' CATKIN_GL...
[ "rsdgroup3@gmail.com" ]
rsdgroup3@gmail.com
01cc7b4d8a0864fd65df11b08bbe02c1f4552b20
0b34a51ad87b23ff77e296842967b1c2158c75f6
/9.py
9365937bb9b108b0f6adda78724bf762729ad594
[]
no_license
JeremyBlank/PythonCupofCode
3ddfc783d351ec107cc0b2626dd9fccbe0ea708b
f3592512bd7e61fab5af029a237d497ee52804f6
refs/heads/master
2022-10-29T16:08:14.174138
2020-06-19T12:30:52
2020-06-19T12:30:52
273,487,110
0
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
# Create an array of 5 integers and display array items, access them via index from array import * array_num = array('i', [1,3,5,7,9]) # Any numbers work for i in array_num: print(i) print('Access first three items individuals') print(array_num[0]) print(array_num[1]) print(array_num[2]) # Append a new item to en...
[ "jeremy.r.blank@gmail.com" ]
jeremy.r.blank@gmail.com
93b05c1b91a528f90622d6db2202a79cd8f49ae5
d9360bdf78c444ca5c858cc6d79a443d54f8da16
/restModule/models.py
9fbacc9dfc4ac2b22d6fbaddf7fc8342e23b3c23
[]
no_license
MykolaKroshko/djangoFirstProject
e7bf4dbf79eee45328fe9ec83ebea7a9fae5a363
d58442c225df18d9c759ac45601b3b9ee825c801
refs/heads/master
2021-09-10T21:26:05.063285
2018-04-02T13:33:50
2018-04-02T13:33:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
from django.db import models # Create your models here. class Users(models.Model): first_name = models.CharField("first_name", max_length=30) last_name = models.CharField("last_name", null=True, max_length=30) email = models.EmailField("email", unique=True, max_length=30) birth_date = models.DateFiel...
[ "kroshko@codevog.com" ]
kroshko@codevog.com
8ad101be472852005ccef40f2437ae4aa7277330
da796d44f1f9f3ad3e08f604afce6ea70202075d
/hw2/release/dos/code8.py
18d5b6dd34887bc90d732e6d1d5cdaa5e5087b8b
[]
no_license
Andychen3558/CNS2019
3a5294274745ff1c1daad5b3d8b16d45121321ec
349789366080beb2eb9195c0d13823ab95e79a16
refs/heads/master
2022-12-09T10:56:46.339386
2019-11-17T16:00:20
2019-11-17T16:00:20
220,145,193
0
0
null
2021-06-02T00:38:40
2019-11-07T03:38:40
Java
UTF-8
Python
false
false
1,276
py
from pwn import * import time import hashlib import binascii def sha256(content): Hash=hashlib.sha256() Hash.update(content) return Hash.digest() def challenge(): max_nonce = 2**24 r.recvuntil('with ') randomstring = r.recv().decode()[:-2] #print(randomstring) user = '0' for nonce in range(max_nonce): hash...
[ "andychen3558@gmail.com" ]
andychen3558@gmail.com
93db36640e286172bee479c27dc086ac4f892ad8
d90283bff72b5a55dd4d0f90c7325355b00ce7b1
/p1804/p12/xxxx.py
1bd3153f8551e4d5a98764db70ac390410388037
[]
no_license
yuemeiss/p1804daima
f841f52e63081d53d50a199e4d148d4533605bb6
6ea08eb9971e42bf4ac535033a006d98ed98bf98
refs/heads/master
2020-03-15T23:29:59.691297
2018-08-06T02:42:49
2018-08-06T02:42:49
132,395,078
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
tu1 = (1,2,3) alist=[123,5677,555] for i in alist: print(i) for index,d in enumerate(alist): print(index,d) c=0 while c < len(tu1): print(tu1[c]) c+=1
[ "1083027306@qq.com" ]
1083027306@qq.com
8b09f80a72badcd81065c4921c3e31e1173a1a46
c5b4d174ace61dd5914ca99fb0f2c710d0182324
/pypes/tests/test__utils.py
bd9906b228853654176538174cd98e0cfc893330
[ "Apache-2.0" ]
permissive
erramuzpe/pypes
636c6b31023747a571af90390fd85b2dd6806dea
3922d3162dc633b30961c036efdeb5d221ab1bfb
refs/heads/master
2020-12-24T06:43:15.063955
2017-04-05T19:51:05
2017-04-05T19:51:05
73,461,509
0
0
null
2016-11-11T08:54:15
2016-11-11T08:54:14
null
UTF-8
Python
false
false
2,645
py
# -*- coding: utf-8 -*- from pypes._utils import format_pair_list def test_format_pair_list(): anat_fbasename = 'anat_hc' regexp_subst = [ (r"/{anat}_.*corrected_seg8.mat$", "/{anat}_to_mni_affine.mat"), (r"/m{anat}.*_corrected.nii$", "/{anat}_biascorrected.nii"...
[ "alexsavio@gmail.com" ]
alexsavio@gmail.com
d0d86fd7eaeff03e9368f3949046aaef8fd1be17
1bf35ccf0d0774924a257b89a854097a33063c58
/constants.py
8453b9e3bf23bdfdba660e98f735627d13ae13cf
[]
no_license
lightbulbmeow/metamon
de2995943938dab77ebd68f8213ef96b3a2c58ce
216a907850fda026e7e92382cdea1667a45bfbd5
refs/heads/main
2023-03-20T23:52:41.842672
2021-03-05T08:46:27
2021-03-05T08:46:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,026
py
# TYPE_EFFICACY[offensive][defensive] TYPE_EFFICACY = [ None, [None, 1, 1, 1, 1, 1, 0.5, 1, 0, 0.5, 1, 1, 1, 1, 1, 1, 1, 1, 1], [None, 2, 1, 0.5, 0.5, 1, 2, 0.5, 0, 2, 1, 1, 1, 1, 0.5, 2, 1, 2, 0.5], [None, 1, 2, 1, 1, 1, 0.5, 2, 1, 0.5, 1, 1, 2, 0.5, 1, 1, 1, 1, 1], [None, 1, 1, 1, 0.5, 0.5, ...
[ "dsjong2002@yahoo.com" ]
dsjong2002@yahoo.com
a28e004cc404c5af1c644f8940fb77d3ab7e34a1
6295fa3e7d5f459935974bbe2994017005b2f3a2
/system/test_elide_attributes.py
a017947b93c772a3f00b4e05bcc728c28a6495d2
[]
no_license
We-Amp/psol_pytest
1eed1d9fcd901734a59a94a6cf12e010105271d8
9ec4d75e5397fa431dc8963010236974e1793022
refs/heads/master
2016-09-06T02:19:04.690702
2015-03-03T17:01:01
2015-03-03T17:01:01
31,080,079
0
0
null
2015-02-27T21:24:05
2015-02-20T19:08:49
Python
UTF-8
Python
false
false
312
py
import config import test_helpers as helpers def test_elide_attributes_removes_boolean_and_default_attributes(): filter_name = "elide_attributes" url = "%s/%s.html?PageSpeedFilters=%s" % ( config.EXAMPLE_ROOT, filter_name, filter_name) assert helpers.fetch(url).body.count("disabled=") == 0
[ "oschaaf@we-amp.com" ]
oschaaf@we-amp.com
abc6f50a3ef37732a14b3e9a2ca46269572b017a
3410f36ad4506c36725d34a1ae0fc5ebec215f4e
/make_and_save_lang_pop_data.py
4e25f3d646d697a97da37f7af006b38147ab08a4
[]
no_license
angwhen/mcm-2018b
d5c8b3feb7a65468dd4a510e43642e7c9d041471
2219a185da8a7e0927b4a8323d804e07b4186c68
refs/heads/master
2021-05-02T05:56:10.875379
2018-02-11T17:35:15
2018-02-11T17:35:15
120,851,086
0
0
null
null
null
null
UTF-8
Python
false
false
1,922
py
import pickle countries_pop_dict = pickle.load(open("countries_pop_dict.p","rb")) countries_lang_dict = pickle.load(open("country_lang_dict.p","rb")) print countries_pop_dict["China"] print countries_lang_dict["China"] # make language to population/year dict lang_pop_dict = {} # will have array for each language inde...
[ "angelmwen@gmail.com" ]
angelmwen@gmail.com
1e4ca474dbb9889ef05fd94e9250adda7560ad48
3bb04410f48d1f56a0e434abae57eb7b35b8c64e
/RLBotPython/RLBotPythonExample-master/NeatBot/States.py
34452cf367e7757f22ee89e670fefd85a6665954
[ "MIT" ]
permissive
Cgreenstreet/RocketLeagueBot
5838eef452e5bb795c53db084cc0c766df73245a
a040829b82a6c6798e04b31f6f4d41c8717e91c4
refs/heads/master
2022-12-15T18:06:32.887111
2020-09-09T01:33:53
2020-09-09T01:33:53
293,970,211
0
0
null
null
null
null
UTF-8
Python
false
false
13,895
py
import math import time from rlbot.agents.base_agent import BaseAgent, SimpleControllerState from util import * class calcShot: def __init__(self): self.expired = False def available(self,agent): if ballReady(agent) and abs(agent.ball.location.data[1]) < 5050 and ballProject(agent) >...
[ "noreply@github.com" ]
Cgreenstreet.noreply@github.com
e51f5a51804a9c4d99ecc7e2839017b94abe5da2
274dde0cd7ded9c38d0a71f5af8125c85cb10afe
/scenes/happy_buddhas.py
20354741a19246883f132db07a73b0d8c48eb3ae
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
theomission/Fujiyama-Renderer
a81572c625421bde63096622d5c4436a505fc80d
e49c074dde1a4ab2abc5e687458487b35a692722
refs/heads/master
2020-12-28T22:46:45.517020
2015-11-20T19:19:35
2015-11-20T19:34:04
48,100,567
1
0
null
2015-12-16T09:28:36
2015-12-16T09:28:36
null
UTF-8
Python
false
false
14,261
py
#!/usr/bin/env python # 16 Happy Buddhas with 32 point lights # Copyright (c) 2011-2015 Hiroshi Tsubokawa import fujiyama si = fujiyama.SceneInterface() #plugins si.OpenPlugin('PlasticShader') si.OpenPlugin('GlassShader') si.OpenPlugin('ConstantShader') #Camera si.NewCamera('cam1', 'PerspectiveCamera') si.SetProper...
[ "hiroshi@fujiyama-renderer.com" ]
hiroshi@fujiyama-renderer.com
ac9fff064bb63cdba96a2db32fefd5b246561966
a02fe5443c31df41c391738b5d9fce3d94fb21bc
/bot_ct/models/support.py
657dcbd36f8c231862a127aebffd6dbe41b0584a
[]
no_license
Ryslan271/bot_ct
34862a67717cc036a4caebe025dab334ab8bb6f3
ba0fe8a4c1629fb31955ee701c8b96ffa9936a39
refs/heads/master
2023-03-14T01:45:46.409921
2021-03-06T18:22:49
2021-03-06T18:22:49
282,878,207
0
0
null
null
null
null
UTF-8
Python
false
false
5,832
py
from random import choice import requests from bs4 import BeautifulSoup as Bs from models import db_session from models.start import bot from models.users import User, Game from telebot import types db_session.global_init('sqlite.db') def answer_not(message): bot.send_message(message.chat.id, 'Я не знаю что даж...
[ "noreply@github.com" ]
Ryslan271.noreply@github.com
1ab320425a4b1a6568c0ae0d930d6c9f420e792d
168f8546daf36bead1a9b8f32e8a43fdc5d844cf
/Test/python/multiply.py
cec03f2eaf740cf2f1ca1e9f23d4046fa9dd1500
[]
no_license
whztt07/RenderFish
ea67915a672096254444765347044c6229681d05
7d0a4fd6a01a949091ec05ba93c42aa1760b9408
refs/heads/master
2020-05-04T14:47:51.215280
2015-11-22T16:42:31
2015-11-22T16:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
'''py_class.py - Python source designed to demonstrate''' '''the use of python embedding''' class Multiply: def __init__(self): self.a = 6 self.b = 5 def multiply(self): c = self.a*self.b print 'The result of', self.a, 'x', self.b, ':', c return c ...
[ "yushroom@gmail.com" ]
yushroom@gmail.com
cf0d0270a063fc06e51ed538e2e450ff033cf88a
236ecf08b3143c43e8999ad8490969258b036413
/test/test_scripts/v_user.py
2e871001fbd4d404311109609f6ee581e4492681
[]
no_license
hulingfeng211/mywork
fb72d964f27070923bf99d53568353db1c5de3d5
bf3a68ee8353912f112b729d54710d9eb981cc4d
refs/heads/master
2021-01-21T04:26:25.068377
2016-08-02T05:38:26
2016-08-02T05:38:26
47,739,864
0
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
# -*- coding:utf-8 -*- import random import time import requests def get_user_session(cookie=""): """ 获取用户session数据,包括session id和xsrf数据,在请求中使用 """ cookies={ } cookie_str="msid=8dc48fd69f80446fa2304786d54053dd; _xsrf=2|0e2212d9|be3a7f3c45c84f0d31f411bd2e67e1d6|1457438251" for cookie in coo...
[ "hulingfeng211@163.com" ]
hulingfeng211@163.com
eb3e1585341debf43f5683ae5d04f1b4cc7345dd
b9be3202a4db8875299d4a123b7c1e3c7d282eaf
/tensorflow/contrib/learn/python/learn/estimators/dnn.py
63c262800864b7b2cbaf753220f58867cf376f3d
[ "Apache-2.0" ]
permissive
prafullasd/tensorflow
f25d0eb5997af2500d4bd2f7596d103d7028f048
2c55490c6d6d361985dbb0565ab08a648c819949
refs/heads/master
2021-01-18T13:31:25.223301
2016-06-03T20:27:32
2016-06-03T20:27:32
60,382,471
1
0
null
2016-06-03T22:58:26
2016-06-03T22:58:25
null
UTF-8
Python
false
false
8,828
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
a4c1c455cf5fb61154b9d3c2c35d0661314913f2
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/sdiehl-sockjs-gevent/allPythonContent.py
20f871a6a70bd7b62eafabef19118c5e95d31179
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
175,363
py
__FILENAME__ = conf # -*- coding: utf-8 -*- # # gevent-sockjs documentation build configuration file, created by # sphinx-quickstart on Mon Mar 12 20:11:57 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in ...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
5204c3876a1a013ce7e2785ae90635262b21aa4e
23a7d005e15cda232f0132c7ca73ea029bfaa27c
/django rest framework/api/migrations/0001_initial.py
2a6c9f23b0e70bc08dd1f23154135e57e0f51c43
[ "MIT" ]
permissive
Festorz/Task-manager-with-Django-Rest-Framework
a36b7b029c70134e7ed14b0119a7400f75a6cb89
9a7244afeeb7ace3c0dffc752dea8c49deb69bb9
refs/heads/main
2023-08-16T20:16:29.138183
2021-10-08T10:48:03
2021-10-08T10:48:03
414,940,584
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
# Generated by Django 3.2.5 on 2021-09-11 12:36 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Task', fields=[ ('id', models.BigAutoField(...
[ "festaskirui@gmail.com" ]
festaskirui@gmail.com
5eb7335b61d89785000b594be7c1cfc92e90602d
f3d728e0f7417f9632c6e4560f9156714f7915d0
/apps/api/ObjectDict.py
7910904b14f8da0ec94dba7a9f30423f7fc6be18
[]
no_license
zhengjiali/easyapi
3861b29c3379204eb81a81ee65da840494cf04b8
9677691a864c3adf0a8ff024b3b702ae530ecac5
refs/heads/master
2022-12-13T03:06:42.640217
2019-05-27T14:25:36
2019-05-27T14:25:36
127,411,271
0
1
null
2022-09-13T22:24:01
2018-03-30T09:45:41
HTML
UTF-8
Python
false
false
274
py
class ObjectDict(dict): def __init__(self,*args,**kwargs): super(ObjectDict, self).__init__(*args,**kwargs) def __getattr__(self, name): value = self[name] if isinstance(value,dict): value = ObjectDict(value) return value
[ "zhengjiali@zhengjialideMacBook-Air.local" ]
zhengjiali@zhengjialideMacBook-Air.local
fb2680d88d18ce600486ee37dc8a9555d684e11b
ca74d50774cfe7e52e0da1ad9c4b4abd58f44770
/gat_layers.py
eb715fb7b7415fbe67ae6aace935e52782887f1f
[]
no_license
TachiChan/IJCAI2019_HGAT
777adcae71618d9ab335e47d77a876e77988cff5
69bbe6e67af56f94f71479620ded1e6ef2627b60
refs/heads/master
2021-12-14T19:55:03.185907
2021-12-14T13:33:40
2021-12-14T13:33:40
219,287,300
56
13
null
null
null
null
UTF-8
Python
false
false
1,928
py
import torch import torch.nn as nn import torch.nn.init as init import torch.nn.functional as F from torch.nn.parameter import Parameter class BatchMultiHeadGraphAttention(nn.Module): def __init__(self, n_head, f_in, f_out, attn_dropout, bias=True): super(BatchMultiHeadGraphAttention, self).__init__() ...
[ "noreply@github.com" ]
TachiChan.noreply@github.com
429db81a0758bdafedfa8c259f04ed1d63ab61b1
151f05ddc58d90db858ac5ac22236d30bded103e
/src/pokedex/forms.py
392400ea52ec4c58650b1c1e5c14cdd8e1b9df4a
[]
no_license
franzcruspero/mugna_exam
c25174682329e581d3784bca59f86db9878db35f
9d49c1b1b24509cabbdf1af926501c73f4dc791e
refs/heads/master
2022-12-14T23:34:10.601584
2020-03-16T05:12:20
2020-03-16T05:12:20
246,623,384
1
0
null
2022-12-08T03:47:35
2020-03-11T16:29:54
JavaScript
UTF-8
Python
false
false
405
py
from django import forms from .models import Pokemon class PokemonForm(forms.ModelForm): class Meta: model = Pokemon fields = "__all__" exclude = ["pokedex_id", "evolution_id", "evolution_order", "slug"] class UpdatePokemonForm(forms.ModelForm): class Meta: model = Pokemon ...
[ "franz.cruspero@gmail.com" ]
franz.cruspero@gmail.com
f1318351ae4716d2341351aa7ba537219924a05b
444a9480bce2035565332d4d4654244c0b5cd47b
/research/nlp/mass/src/language_model/masked_language_model.py
52aed8d53ed7b0a0eae8a67d7231364bbf913a00
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
4,698
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "chenhaozhe1@huawei.com" ]
chenhaozhe1@huawei.com
6e19f99fdcbedb91b77dcc3f941deabd3fd7e1ff
34cf9bdb1f6d966df64a3c93a0f386fbb5f9ed37
/a3/resultslast.txt
d4c671d5813c88690bcd02d0156ae3c0efca0760
[]
no_license
rdagnoletto/ML-Assignments
7d25aafd396d051644281ef754a1893c98991cd0
f01729fb4c556047982abd64b88a1baba31a3f7b
refs/heads/master
2021-05-21T05:58:51.925958
2020-04-02T22:25:39
2020-04-02T22:25:39
252,575,712
0
0
null
null
null
null
UTF-8
Python
false
false
4,406
txt
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Mar 26 13:04:43 2019 @author: ragnoletto """ D = 100, K=5 def gMM(): X = tf.placeholder(tf.float32,[None, dim], name="X") mu = tf.get_variable('mean',dtype = tf.float32,shape = [K,dim], initializer = tf.truncated_normal_initializer(stddev=2)) ...
[ "noreply@github.com" ]
rdagnoletto.noreply@github.com
9cbab2ee223ec135dca3a29d86775736fcd0e4dd
70e4234519613fa6d680691ebe99f5174df660d3
/Fabio02_P02/F2_P2_Q10_NOTASALUNOS.py
eb53b10600aa2a069bbd27a5ec3a5e0d73fd6ee0
[]
no_license
erickcarvalho1/ifpi-ads-algoritmos2020
061a39454f487adb9be82879b9270379486498ba
26258c1457fe53a086e206c129e5bcd93edf1113
refs/heads/master
2021-04-15T02:02:16.074706
2020-03-22T22:48:16
2020-03-22T22:48:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
#Leia as duas notas parciais obtidas por um aluno numa disciplina ao longo de um semestre, e calcule a sua média. p_nota = float(input('Digite a primeira nota: ')) s_nota = float(input('Digite a segunda nota: ')) media = ( p_nota + s_nota) / 2 if media >= 9: print('Suas notas são',p_nota,'e',s_nota,'sua...
[ "noreply@github.com" ]
erickcarvalho1.noreply@github.com
5c7b64acaf3a6e83d5ba5d2c7d70b23b1b53f3fc
ed3f052100d437c57c52b737d4c0f91d3b20c0af
/Python_Scripts/LSTM/LSTM.py
f0caa3174ddf356205b1ba08d808e63c11a62ae1
[]
no_license
timschott/dmp
216f1b21a95dce67f55097fccf1dce599fd7884b
13859bda6e9adefc1ebbf26a98a299c457b4468e
refs/heads/master
2021-10-14T11:49:54.435887
2021-10-05T02:59:56
2021-10-05T02:59:56
156,625,032
2
0
null
null
null
null
UTF-8
Python
false
false
13,021
py
# General imports from string import maketrans import numpy as np import pandas as pd import sqlite3 import tensorflow as tf from sklearn.model_selection import train_test_split # Keras import keras from keras.layers import * from keras.models import * from keras.engine.topology import Layer from keras_preprocessing.te...
[ "tcs9pk@virginia.edu" ]
tcs9pk@virginia.edu
133b4e75b57bd573d0b6d6f9c0e8caaaca1f9fae
4e409e9c4175717e8c39e4896842391b7828f7e7
/python/buildRF.py
a8be235268134883022f7c5a9e9116b552018ea5
[]
no_license
oreluk/tagClassification
5b6957f071a660e1fea302fd81b405357cbd1550
ac903c8fdbac79e0d3265a328422de3bade03e1b
refs/heads/master
2021-01-15T12:55:01.313268
2016-05-13T00:22:31
2016-05-13T00:22:31
58,685,148
0
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
# Final Project - Competition 1 - Team 4 # Stat154 Spring 2015 # Jim Oreluk import time import os import numpy as np import re ##################################################### ### Import Data ### ##################################################### t = time.time() #tic def lo...
[ "jim.oreluk@gmail.com" ]
jim.oreluk@gmail.com
5c3dda335336b3b644e37fe7f8f4f46f4fd0ee86
60ce73bf2f86940438e5b7fecaaccad086888dc5
/working_scrapers/Illinois_dekalb.py
d04843c1e230207cd3080ec2535d4860593519dd
[]
no_license
matthewgomies/jailcrawl
22baf5f0e6dc66fec1b1b362c26c8cd2469dcb0d
9a9ca7e1328ae549860ebeea9b149a785f152f39
refs/heads/master
2023-02-16T06:39:42.107493
2021-01-15T16:37:57
2021-01-15T16:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,161
py
#!/usr/bin/python ''' This is a template script MG ''' from urllib.request import urlopen, Request import pandas as pd import os import time import numpy as np from datetime import datetime import datetime as dt import sys from io import StringIO from joblib import Parallel, delayed import requests from jailscrape.com...
[ "jborowitz@gmail.com" ]
jborowitz@gmail.com
3d73e7b277e9fa32045273a746968aae4f013902
d50c9e58f52e3aac3a55f8ff65013810c7f6ee01
/1020.py
ba1cb6dc78c018cef26467eb5690f6bf33f91ecb
[]
no_license
Miicchhel/uri-exercicios
7eea6068414d7aadb310ddb6f34e3778593d4284
db1f9294555561c316e4e545943624edbf864f4d
refs/heads/master
2022-09-23T08:23:27.285570
2020-06-03T08:38:05
2020-06-03T08:38:05
268,389,662
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
''' URI Online Judge | 1020 autor: Michel Melo ''' entrada = int(input()) anos = entrada//365 entrada = entrada - anos * 365 meses = entrada//30 entrada = entrada - meses*30 dias=entrada print('{} ano(s)\n{} mes(es)\n{} dia(s)'.format(anos, meses, dias))
[ "michel.ferreira.melo@gmail.com" ]
michel.ferreira.melo@gmail.com
90e2a1876a8a58fbb729d51a5a369911b976686e
bf79091e5465ed2f8c8df652b9a592a18adb638e
/automation-tests/venv/bin/easy_install-3.8
da73ab2fcb4001fdfc89fa0fd5480f95fe61bc93
[]
no_license
marcin-pasiewicz/python
9cb8dffef1e48533660279920305f6ef9a0d90eb
fc7e6ab32cb656dcb5ecc84855c99ec172d0633d
refs/heads/master
2023-03-28T01:16:05.783615
2020-04-02T07:45:56
2020-04-02T07:45:56
250,227,326
0
0
null
2021-03-20T03:13:25
2020-03-26T10:27:42
Python
UTF-8
Python
false
false
299
8
#!/Users/marcin_pasiewicz/PycharmProjects/mypython/automation-tests/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "marcin_pasiewicz@epam.com" ]
marcin_pasiewicz@epam.com
63245acb528b36b71c34653867d875b948fc0ca8
fb178669d247edc9f4df737285dcf0283eb0d49f
/code_hello_world.py
0ca8ce474d8db0dca6e42c57106d74ff36aa85c8
[]
no_license
Joey-Marcotte/ICS3U-FP-Lesson-1
f8fdf753032035844fa58c3cdce3ef3d96b36170
8380cedc33617b6fc13b21afb2f6d9a2372bed43
refs/heads/master
2020-07-28T08:01:42.029678
2019-09-18T17:33:47
2019-09-18T17:33:47
209,358,801
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
#!/usr/bin/env python3 # Created by: Joey Marcotte # Created on: Sep 2019 # This program is the "Hello, World!" program on the PyBadge def main(): # this function prints to the screen and console print("\n\n\n") # 3 blank lines print("Hello, World!") while True: # repeat forever, or you tur...
[ "ubuntu@ip-172-31-27-176.ec2.internal" ]
ubuntu@ip-172-31-27-176.ec2.internal
52653aba24afa2f912822861c64e6be326d87c8b
cc36eb9b7fd062b3b39b3b3c8ad92c4a7a4b6664
/detectors/MaskDetector/MaskRCN/parallel_model.py
9d633e6b36a542c8510dfb7c7a7045b003b559ff
[]
no_license
JosephSanjaya/PersonDetectors
e0766b375b751da5b4bfe0b8d5bbbbb2d7fae5c6
2cd4ac7c8c125654ca44e4efa6d46b3f1fb58210
refs/heads/master
2020-07-31T02:48:06.248033
2018-05-15T21:44:15
2018-05-15T21:44:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,951
py
""" Mask R-CNN Multi-GPU Support for Keras. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE for details) Written by Waleed Abdulla Ideas and a small code snippets from these sources: https://github.com/fchollet/keras/issues/2436 https://medium.com/@kuza55/transparent-multi-gpu-training...
[ "madhawavidanapathirana@gmail.com" ]
madhawavidanapathirana@gmail.com
6f409ce181ccfacc565feea9433e652a11fe88ae
c6939d3e5d5628673d44d29ef38b0511556a83aa
/new_shangmi/shangmi/apis_v1.py
a76dd4e4cbce2576231baab2a614b4a0b49d8b0d
[]
no_license
General-Coder/shangmiteam
a536867a7e03f33eec3d2c55c0f55a1cb7ae1b85
a628e38a545ffc36caa4c05d2fb5b73398a26ac1
refs/heads/master
2020-04-11T06:03:28.468625
2018-12-11T09:33:14
2018-12-11T09:33:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,462
py
import json import requests from django.conf import settings from django.forms import model_to_dict from django.http import JsonResponse, HttpResponse from django.views.generic import View from .utils import * from .models import * from django.core.cache import caches from .getqr import * import uuid user_...
[ "1625211623@qq.com" ]
1625211623@qq.com
e3421447a8225cc4e8464a1815d43de78d1715f1
30a1b285ff4aab39eebe342c5dbca255a69b454c
/full-problems/maxDiff.py
347a657be99ca517cd6ae0e9e6234e8672f61c47
[ "Apache-2.0" ]
permissive
vikas-t/practice-problems
cd5852ea112421a2a39db31ae9092c6a148b2af8
ea654d1cad5374c824c52da9d3815a9546eb43fa
refs/heads/master
2021-10-27T14:08:42.724019
2019-04-17T18:26:23
2019-04-17T18:26:23
170,156,225
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
#!/usr/bin/python3 # https://practice.geeksforgeeks.org/problems/maximum-difference/0 def sol(arr, n): d = -1 min_i = 0 min_till_here = 0 for i in range(1, n): if arr[i] < arr[min_till_here]: min_till_here = i if min_till_here != min_i and min_till_here < i: min_...
[ "vikas@optumsoft.com" ]
vikas@optumsoft.com
250a3a51f3343b4685807270982766fbc9d80694
999ab5b1c1b259e0f224d7c2f249db4ff39168e7
/Course_2_DS/2.3.py
39400c8af3c088183fbc8cae7fb7ed774fb7398f
[]
no_license
medha130101/py4e_Coursera
87601a5683af560ace4130797ea12e7f537e0010
335e03dfc61a093c9f4b5c5ddaf3dd2fb72334a3
refs/heads/master
2022-08-01T01:06:44.222696
2020-05-25T07:32:42
2020-05-25T07:32:42
266,498,647
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
# Use the file name mbox-short.txt as the file name fname = input("Enter file name: ") fh = open(fname) count = 0 res = 0 for line in fh: if not line.startswith("X-DSPAM-Confidence:") : continue else : count = count+1 str = line[19:] val = float(str) res = res + val print('Averag...
[ "medha130101@gmail.com" ]
medha130101@gmail.com
c00c93c6d1b42848ce17ef71d6a8a741b5185e74
5d01334b9eaa86889f5ebf8903906d1539f23d16
/validation/bilevel/bilevel_mibs2.py
016716acfb08a68939caa7e3fb96aae53a127edc
[ "MIT" ]
permissive
toulbar2/toulbar2
07b322821b932431c344663abef517ad15c2d137
abfcb59daf8eec8d2ae4f3c83792050ff68359c7
refs/heads/master
2023-08-17T23:19:16.417151
2023-08-09T14:01:02
2023-08-09T14:01:02
132,434,975
56
17
MIT
2023-06-01T14:05:02
2018-05-07T09:03:53
C++
UTF-8
Python
false
false
2,995
py
import pytoulbar2 as tb2 cfn = tb2.CFN(ubinit = 1000, verbose = 0) cfn.NoPreprocessing() cfn.Option.btdMode = 1 cfn.Option.hbfs = 0 # create restricted leader problem cfn.Option.bilevel = 1 cfn.AddVariable('x0',range(2)) cfn.AddVariable('x1',range(2)) cfn.AddVariable('x2',range(2)) cfn.AddLinearConstraint([7,5,2],['...
[ "degivry@toulouse.inra.fr" ]
degivry@toulouse.inra.fr
4d8efb14bfc9d763266281293a83734cd6351144
6c7d51637785b55f7d4e6e4450740729132dc1b6
/colliers_scraper/spiders/CBRE.py
8bd76083a3d88a612af615ba159026852fe8e5ad
[]
no_license
bradstone52/rescraper
fe813207dfc5e93d54df122d4abeae3caf4fdb3b
71e3900be736b8a6ce7ac232d170908cadf4c56e
refs/heads/master
2023-04-03T00:45:57.706935
2021-04-13T05:43:52
2021-04-13T05:43:52
355,763,584
0
0
null
null
null
null
UTF-8
Python
false
false
958
py
import scrapy from scrapy_splash import SplashRequest class CbreSpider(scrapy.Spider): name = 'CBRE' base_url = 'http://www.commerciallistings.cbre.ca' def start_requests(self): url = 'http://www.commerciallistings.cbre.ca/en-CA/listings/industrial/results?aspects=isSale/' yield Splas...
[ "bradstone52@gmail.com" ]
bradstone52@gmail.com
3b44fec9bb31af3be10a66a4eea127ebec478e4c
57085cfc580c68262631166bb28585a2946d2b2e
/Project Kivy/SimpleDrawingApp/main.py
bd564c0515a1b96809cbcee47f44dc805bff67b3
[]
no_license
izzatii/kivyapp
589a2f94286d388bf237e310b92debdae4379d59
b35f526f0e93325dfb997347df59966a4ec0e7f3
refs/heads/main
2023-04-10T22:22:07.844136
2021-04-24T01:44:15
2021-04-24T01:44:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
import kivy from kivy.app import App from kivy.uix.widget import Widget from kivy.graphics import Rectangle from kivy.graphics import Color from kivy.graphics import Line class Touch(Widget): def __init__(self, **kwargs): super(Touch, self).__init__(**kwargs) with self.canvas: Color(0, 1, 0, 0....
[ "noreply@github.com" ]
izzatii.noreply@github.com
550316b6e7933d5b70efdcae7eb58b238ce71293
4fc21c3f8dca563ce8fe0975b5d60f68d882768d
/neoOkpara/Phase-1/Day6/parseNumber.py
3b2a14cf121441929c33c9acc1d732d222ef962d
[ "MIT" ]
permissive
Uche-Clare/python-challenge-solutions
17e53dbedbff2f33e242cf8011696b3059cd96e9
49ede6204ee0a82d5507a19fbc7590a1ae10f058
refs/heads/master
2022-11-13T15:06:52.846937
2020-07-10T20:59:37
2020-07-10T20:59:37
266,404,840
1
0
MIT
2020-05-23T19:24:56
2020-05-23T19:24:55
null
UTF-8
Python
false
false
53
py
n = "938.968" print(float(n)) print(int(float(n)))
[ "emmox55@gmail.com" ]
emmox55@gmail.com
3f6f3c98379f75bbddb482857cf7d063368b608d
c26c554bca72ccee89d9fdc6bd74655817689eef
/venv/bin/pip3.8
ff65fc3acc730c1299d9241b56b8604bf3735192
[]
no_license
moriya1232/ex1-bina
1a30ada9f0484fcf412d94d106eabc1b91b80536
810cbedc61c52295e52de5b5a7305200f57a82b2
refs/heads/master
2023-01-21T16:57:06.602531
2020-11-26T09:51:16
2020-11-26T09:51:16
310,950,771
0
0
null
null
null
null
UTF-8
Python
false
false
262
8
#!/home/moriya1232/PycharmProjects/ex1-bina/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "moriya1232@gmail.com" ]
moriya1232@gmail.com
9c970c775b50c67a5493ab12714e64a33cb90e85
302095ab88572a975f1000a2a53aa496c10c27dc
/tshirt.py
3a78ba3cf92286114de45204a4e8a89bd9657e5d
[]
no_license
mtj6/class_project
b621da39f58e1507e5b444202c842b1e372afa39
9e39b19052be580b573da204fb553ad7717121da
refs/heads/master
2020-04-08T11:05:29.434312
2018-11-27T07:26:22
2018-11-27T07:26:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
def make_shirt(size, text): """Make a t-shirt.""" print('Make a ' + size + ' shirt that says ' + text + '.') make_shirt('small', '"no bad days"') make_shirt(text= '"no bad days"', size= 'small')
[ "mtj6@uw.edu" ]
mtj6@uw.edu
7c9cf96fec5ae82a69dbd79a6ac1f9dca77d98e0
7ebac949324b6e22b5a0b0e9c2452e89548a056e
/autocomplete/data_generation.py
ede344e9b2d76847e71609e53b30fb5fd70288de
[ "MIT" ]
permissive
yudhik11/Artify
69c2cea98cfa565732caca66a358afc76436ae58
745d4aa29a368a313bcd1b86f4680a7146a4d790
refs/heads/master
2022-04-14T21:20:35.881899
2020-03-15T11:29:32
2020-03-15T11:29:32
247,047,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
import cv2 import numpy as np import matplotlib.pyplot as plt import os import math from PIL import Image from PIL import ImageOps from tqdm import tqdm import argparse parser = argparse.ArgumentParser(description='Input Scribble Directory!') parser.add_argument('--scribble_dir', type=str, help='Scribble Directory') p...
[ "yudhik100@gmail.com" ]
yudhik100@gmail.com
55780545078e76b5427b82bb60b0e3d3965821a7
6e74fee5a861b6aa9816419cbbcc1e325bd763e9
/repomgmt/management/commands/repo-connect-to-node.py
0e7a85718021b725dcc1847e5df3ddd7e5dba5f2
[ "Apache-2.0" ]
permissive
kuggaa/python-django-repomgmt
cc4ea29e09cc6ea2b85dfd4666ee11361c79666b
35fb793c9f9543feeef1e6088ab3c3e6aebcf159
refs/heads/master
2020-05-29T17:28:25.658425
2013-08-15T11:53:32
2013-08-15T11:53:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
# # Copyright 2012 Cisco Systems, Inc. # # Author: Soren Hansen <sorhanse@cisco.com> # # 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...
[ "sorhanse@cisco.com" ]
sorhanse@cisco.com
bc88b7b4b853da1e17e893e1cf5a65046e3bb74a
b3c75530c67b3da5a0f886d7279ecce86c2a15be
/add_media_content.sikuli/add_media_content.py
f8b8c4817249d1a09a534e5685865103eba88148
[]
no_license
abalanuk-okta/Sikuli_automation
d413644e6216f94bdaa0597e01834ff6f4f73dac
88cfdf778f81a64298a63e39a73f6fe09b0695bc
refs/heads/master
2021-03-12T20:28:35.410650
2015-05-13T19:34:56
2015-05-13T19:34:56
33,612,578
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
from sikuli.Sikuli import * import unittest import HTMLTestRunner from Config import Config import Helpers import base_cases reload(base_cases) project_name = Helpers.generate_project_name() class AddMediaContentTestCase(unittest.TestCase): def testAddMediaContent(self): app = base_cases.BaseMyHeritage...
[ "abalanuk@lohika.com" ]
abalanuk@lohika.com
fbd47d76359cf0b1d4f72a8a455910eec8d70a14
a5e06360397a51a499974c24b587e39ef98b12cb
/4进程/4启动大量子进程.py
60a761c42f3e330c998f63b6be4377390dda6709
[]
no_license
songjiabin/PyDemo
3c89b03f009a6f72813099e61c1a9e2d5d16fb87
afc2d98521b2d158ef2b54cf887502a3b1568aec
refs/heads/master
2022-10-29T00:18:31.887522
2018-09-12T16:23:09
2018-09-12T16:23:09
142,775,346
0
1
null
2022-10-22T18:33:14
2018-07-29T16:06:41
Python
UTF-8
Python
false
false
689
py
from multiprocessing import Pool import os import time def run(name): print("启动子进程%d,id是%s"%(name, str(os.getpid()))) time.sleep(0.5) print("结束子进程%d,id是%s"%(name, str(os.getpid()))) pass def main(): print("启动主进程") # 创建多个进程 # 进程池 # 表示可以同时执行的进程数量 默认为CPU的核数 pool = Pool(2) for ...
[ "1796254117@qq.com" ]
1796254117@qq.com
b298869f7dc5f7a2e2768feabbc8a3758fdcedd7
5c2e0fe391f7c720d0a6c117a64f4c8e89fece93
/research/object_detection/models/faster_rcnn_inception_v2_feature_extractor.py
d2681127b2706faec7433bb8adbcfb619375bd4a
[ "Apache-2.0" ]
permissive
lyltencent/tf_models_v15
e3bed9dfee42685118b0f3d21bb9de37d58cf500
0081dbe36831342051c09a2f94ef9ffa95da0e79
refs/heads/master
2022-10-20T20:00:26.594259
2020-09-19T05:37:22
2020-09-19T05:37:22
161,750,047
0
1
Apache-2.0
2021-03-31T21:04:01
2018-12-14T07:47:33
Python
UTF-8
Python
false
false
12,050
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "yxl7245@eng-4150-nix03.main.ad.rit.edu" ]
yxl7245@eng-4150-nix03.main.ad.rit.edu
b67b6cbba18d5bc6a25ed1226dcfd281f5da559e
7522593c5e69892f1f8c0c9816c001445d49b9c7
/python/python/section 5/code/app.py
c417136b3efa9c1ea68e5de253bfa7f2b6c77574
[]
no_license
omaraham94/My-Learnings
a3241d968d1560a0676fc6c43cca1dda211a7d52
719ec5c3557fef936daca9e14ef71ebfc4fcb25a
refs/heads/master
2023-01-24T17:09:56.682753
2020-01-04T20:22:53
2020-01-04T20:22:53
231,823,541
0
0
null
2023-01-07T13:24:00
2020-01-04T20:23:57
Python
UTF-8
Python
false
false
2,625
py
from flask import Flask, request from flask_restful import Resource, Api, reqparse from flask_jwt import JWT, jwt_required from security import authenticate, identity # JWT - stands Json web token. It is used for authentication of data. app = Flask(__name__) app.secret_key = 'jose'; # Api works with re...
[ "Atul.Golchha@go-mmt.com" ]
Atul.Golchha@go-mmt.com
b6c8582e27830c87d8baddbf1ebed41b4789d50e
ca55dcaa64ea9db4068e13091321cfebecc0ff41
/codeUp/codeUp100/1022.py
ce1b4c02ce9f4e7fb71c474a37ec6ab7fc90b694
[]
no_license
gomtinQQ/algorithm-python
8fb8343594b945099ae2a4dfa794ecb47e54ab0b
751562922b66e335f621d366bb73dacdc7125140
refs/heads/master
2022-12-07T23:05:44.535593
2020-08-21T12:29:58
2020-08-21T12:29:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
''' 1022 : [기초-입출력] 문장 1개 입력받아 그대로 출력하기(설명) 공백 문자가 포함되어 있는 문장을 입력받고 그대로 출력하는 연습을 해보자. ''' str = input() print(str)
[ "minhyeonlee1@gmail.com" ]
minhyeonlee1@gmail.com
83f702f40210def83db43b117c01fb32c0afec26
f0f4a0f24b3a7cc8bf0366cf329923e9bd5b00c7
/activity/activity_DepositDigestIngestAssets.py
515d8398361d40ebc252d28d7bed3993d5a6e601
[ "MIT" ]
permissive
elifesciences/elife-bot
45c79993d13bacb37f59ba57462179dd7c6f1e2e
2324e26943f805a0602ea3251ff0f6a5db27f1a0
refs/heads/develop
2023-08-17T15:25:42.170870
2023-08-14T16:47:02
2023-08-14T16:47:02
7,503,542
21
10
MIT
2023-09-07T19:50:30
2013-01-08T15:09:54
Python
UTF-8
Python
false
false
4,579
py
import os import json from S3utility.s3_notification_info import parse_activity_data from provider.storage_provider import storage_context from provider import digest_provider, download_helper import provider.utils as utils from activity.objects import Activity """ DepositDigestIngestAssets.py activity """ class act...
[ "gnott@starglobal.ca" ]
gnott@starglobal.ca
bd6a7d150cf3eb9fac42f5a543f377ad8356ad67
27691e5ef8e49fb29189b01dd76a1dc3720e7ae8
/AC/ABC-TDD/180/c.py
76f7581f37b0ab7ec2b1fda1f0887f7b32dc1463
[]
no_license
oshou/procon
61e5f5bc819e0fe5ab29749fc2f894fe6f3b1d07
3d000c64b5917c65b51ed7da5b90cb79892d5909
refs/heads/master
2023-05-10T23:56:50.861468
2021-09-23T06:07:29
2021-09-23T06:07:29
116,886,484
1
0
null
2023-05-05T02:28:41
2018-01-10T00:21:38
Go
UTF-8
Python
false
false
257
py
n = int(input()) ans = [] for i in range(1, n+1): if i*i > n: break if n % i == 0: ans.append(i) tmp = n//i if i != tmp: ans.append(n//i) ans = sorted(ans) counts = len(ans) for num in ans: print(num)
[ "adf1985adf@gmail.com" ]
adf1985adf@gmail.com
ce70b53036c39b6bde2864a036057fe984e141ac
c8e2f350b54acb24b599e37d012696d8a97f7d08
/env/env/lib/python3.8/site-packages/celery/backends/redis.py
8904ee0bca5947c5e324666ff5f05fcb3a9449e2
[]
no_license
nargo0o/geekshop
9c2dc00e2d91dd3671975a61ea21b9246015f311
c30837ea4d2ff699a633bff8f5f2f55f03bdde6f
refs/heads/master
2023-06-22T10:44:53.514629
2021-07-18T14:38:14
2021-07-18T14:38:14
379,321,818
1
0
null
2021-07-13T14:56:22
2021-06-22T15:43:50
Python
UTF-8
Python
false
false
25,877
py
"""Redis result store backend.""" import time from contextlib import contextmanager from functools import partial from ssl import CERT_NONE, CERT_OPTIONAL, CERT_REQUIRED from urllib.parse import unquote from kombu.utils.functional import retry_over_time from kombu.utils.objects import cached_property from kombu.utils....
[ "nargo4535@gmail.com" ]
nargo4535@gmail.com
cc3f0e7308c542e5a31f837c3e3e8816120e76ef
9df4cce1240c298e899ca836e36cf7419d9256bb
/myname.py
1976902d70a3dc698e3cbf8411e91c0e927e1718
[]
no_license
anshulshakya/PracticeRepo
4753525ca7e6dffa2321d3b659e9166167c04f50
75201c7c11109325645a5f89db06fa552b07ffa3
refs/heads/master
2023-03-06T16:55:36.214710
2021-02-02T20:09:34
2021-02-02T20:09:34
259,899,074
0
0
null
null
null
null
UTF-8
Python
false
false
10
py
print(2+6)
[ "an1999shakya@gmail.com" ]
an1999shakya@gmail.com
315ab7aa2ef9d0579f0d045b6dfb17919ba8530a
c741f04141784a2571d2d27d95e0d994e4584ab1
/learning/py3/0-1/21-模块-包-4.py
d70f489fbe8852df7919744087de49fb955d0899
[]
no_license
haodonghui/python
bbdece136620bc6f787b4942d6e1760ed808afd4
365062ba54297c81093b7f378742e76d438658b7
refs/heads/master
2022-02-03T23:52:37.288503
2022-01-27T05:23:25
2022-01-27T05:23:25
191,729,797
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
from package1 import * p.prt(4, '从一个包中导入*') ''' 4、 设想一下,如果我们使用 from sound.effects import *会发生什么 Python 会进入文件系统,找到这个包里面所有的子模块,一个一个的把它们都导入进来。 Windows是一个大小写不区分的系统。 在这类平台上,没有人敢担保一个叫做 ECHO.py 的文件导入为模块 echo 还是 Echo 甚至 ECHO。 为了解决这个问题,只能烦劳包作者提供一个精确的包的索引了。 导入语句遵循如下规则: 如果包定义文件 __init__.p...
[ "haodonghui@yestae.com" ]
haodonghui@yestae.com
2a2c97ba51b70bab6a24312c393fbea8c3b66af5
e1ada8f254c272bf59a7b2d5b6b25f7986bccdd6
/bintest.py
549b1ca31a153fed210a5afb0744a1196bc977da
[]
no_license
shmunb/DES
d7ad67b6a2ec5124da73ae3eccff2c817b9d686e
ee05897ea0c931cd063464cf8a6350de379e6952
refs/heads/master
2020-12-16T21:55:13.478214
2020-01-21T07:53:11
2020-01-21T07:53:11
235,276,468
1
0
null
null
null
null
UTF-8
Python
false
false
530
py
import des_lib as lib input_binary = 'C:/Users/mi/Desktop/прога/des/tests/binary_input.txt' encrypted_binary_file = "C:/Users/mi/Desktop/прога/des/tests/binary_encrypted.txt" decrypted_binary_file = "C:/Users/mi/Desktop/прога/des/tests/binary_decrypted.txt" test_key = 0b11101001010101010011001010101100101010101...
[ "noreply@github.com" ]
shmunb.noreply@github.com
62d7db44a7f7613ecdc9a3d3d14553c99253d5c7
2f046d174e08849d2b1004de28ded78340670c2d
/reid/evaluator/partialcrfevaluator.py
80df56c922329c58aa0485ad188e4b8b1ffa39de
[]
no_license
danxuhk/crf_affinity
743f52d4e053caf4ed389af6ed800be381620523
05141910dbeabade256077baa1cfb3d42590c64c
refs/heads/master
2020-04-03T23:55:31.096114
2019-01-13T17:21:02
2019-01-13T17:21:02
155,634,628
2
0
null
2018-10-31T23:11:04
2018-10-31T23:11:04
null
UTF-8
Python
false
false
9,768
py
from __future__ import print_function, absolute_import import time from collections import OrderedDict import torch from torch.autograd import Variable import numpy as np from reid.evaluator import cmc, mean_ap from reid.feature_extraction import extract_cnn_feature from reid.utils.meters import AverageMeter from reid...
[ "liyan@pn-206-72.itsc.cuhk.edu.hk" ]
liyan@pn-206-72.itsc.cuhk.edu.hk
d82a29d09c5b5543449e1e42daea3c2696b3d592
48e204dadffadbb2afbb658a24901650808a4081
/config/settings.py
a2f6ef2932fccdba14313a4bfa427d245e7d25ec
[]
no_license
fbotero1956/FSDI_112
ffbd0efa35f4962eb9993f83628c07214da5d9da
b4aab43385519dea5953dcc48ce0bfc04de276a9
refs/heads/main
2023-05-23T23:18:32.984824
2021-06-08T10:45:04
2021-06-08T10:45:04
372,275,220
0
0
null
null
null
null
UTF-8
Python
false
false
3,328
py
""" Django settings for config project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib ...
[ "felipe.botero.botero@gmail.com" ]
felipe.botero.botero@gmail.com
c64d4a116649878ddb94e95e66e3c58c114e7155
fb39e15da72e41cf1903aa3670833e35b668edad
/main.py
37961bed2279b1b12f56a1ef46d4b9588b8717ea
[]
no_license
jackfrostwillbeking/script_test
e9b8c91babc2c9d6ed111a77b5156f3624683a1e
f47370f05632e1a76cbcacd24737ec370d2faf58
refs/heads/master
2021-04-06T17:11:36.479236
2018-03-09T10:21:19
2018-03-09T10:21:19
124,380,417
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
import subprocess import sys res = subprocess.call(["/bin/bash","-c","./test_script.sh"]) sys.exit(0)
[ "jackfrostwillbeking@gmail.com" ]
jackfrostwillbeking@gmail.com
7d49e538d0c4d130c6964156f419d4cf1a992c6c
b939cbae7229b7792e573aa3d7552d20c7706d59
/3/3-1.py
173ccc5666eca436dc7af694362665b2815bbe4b
[]
no_license
dlittleton/aoc2020
ce2d93fcf9a1ecfce4a31cdde5d68424b5f819fe
ab09cfdc47691256de45bec21e1a543458b70a82
refs/heads/main
2023-02-06T00:49:53.160763
2020-12-24T23:54:31
2020-12-24T23:54:31
318,066,875
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
import sys lines = [l.rstrip() for l in sys.stdin.readlines()] trees = 0 index = 0 # skip first line for l in lines[1:]: index += 3 if l[index % len(l)] == '#': trees += 1 print(trees)
[ "dlittleton87@gmail.com" ]
dlittleton87@gmail.com
c57945669f9a7b5e20711b37a26bbc7ef4f4f9fc
f0cf7d744e4bbc363c694fe18a3af0f987779eac
/penny_twit1.py
f069ed8d5f786e9a033016800afa5f01267d9bc7
[]
no_license
iswdp/penny_twit
de12fac5125d514d4cf04351a6613df29137e0c8
c219baaf2b7851ed639078c212bac2a04d8039fb
refs/heads/master
2021-03-12T19:18:55.151473
2014-08-23T11:24:42
2014-08-23T11:24:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,745
py
from twython import TwythonStreamer from pandas import DataFrame import pandas as pd import re, dateutil, datetime def write_data(new_data, data): today = datetime.datetime.now().strftime('%m/%d/%Y') print today if data['Date'][len(data)-1].strftime('%m/%d/%Y') != today: zero_list = [] for ...
[ "iswdp@hotmail.com" ]
iswdp@hotmail.com
a7e5132842dfb7272babf3b1172fde553a309d82
54e9ebd9204914a5addc3a4da2456a079f0deacb
/misc.py
22a767478bd293e2414f9ba01df1a871342782fd
[]
no_license
cosmin-paunica/Monochrome-Dreams-Classification
b8fbecc1b5d117cc120427c001cdfa42b6bb0878
7fcf20d1d8ad4a3efbe627523a08997b01993b82
refs/heads/main
2023-06-06T06:42:55.553216
2021-07-02T10:38:46
2021-07-02T10:47:40
382,312,963
0
0
null
null
null
null
UTF-8
Python
false
false
2,472
py
import numpy as np import imageio NUM_TRAIN_IMAGES = 30001 NUM_VALIDATION_IMAGES = 5000 NUM_TEST_IMAGES = 5000 IMG_WIDTH, IMG_HEIGHT = 32, 32 NUM_CLASSES = 9 # citirea imaginilor # se va apela cu read_labels==True pentru imaginile de antrenare si de validare # se va apela cu read_labels==False pentru imaginile de t...
[ "cosmin_paunica@yahoo.com" ]
cosmin_paunica@yahoo.com
a86314c6dbb75fbe34b73dfc167af86fb091d514
a1a565991a00918ff7196bcbb09f39c0742e2b56
/swagger_client/models/trip_request_response_journey_fare_zone.py
45af2629a1fd446d3312ec78c7911b32a9382e07
[]
no_license
joeyabouharb/opendata-swagger
1b08821f1f82bcd8ea82e19d29a89f209cf60c31
adbd714778503337a863d4d9f80b7a4266b7e367
refs/heads/master
2023-03-15T06:07:49.138370
2019-10-05T02:41:38
2019-10-05T02:41:38
209,513,317
0
0
null
2023-02-15T22:55:01
2019-09-19T09:24:02
Python
UTF-8
Python
false
false
5,784
py
# coding: utf-8 """ Trip Planner No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six ...
[ "joeyabouharb@gmail.com" ]
joeyabouharb@gmail.com
a316a002441fd12b147ad79df548c801fcb04d82
77c7b74f401f7ba95257b62e8aaee682bd5756a5
/rnn_class/srn_language.py
9df25ec96d2b7af6c24ee30148b3b61ff666ea86
[]
no_license
fortiema/udemy_lazyprog
1387841c182b60a4f8711b3bb709b1fd10b9b94f
c9d76d6d6b38e76bb92dd47695cfdbd40401ad48
refs/heads/master
2018-12-05T11:19:17.869876
2018-11-04T11:42:43
2018-11-04T11:42:43
109,830,844
0
0
null
null
null
null
UTF-8
Python
false
false
5,937
py
import numpy as np import matplotlib.pyplot as plt from sklearn.utils import shuffle import theano import theano.tensor as T from util import init_weight, get_robert_frost class SimpleLMRNN: """A simple Language Model using SRN""" def __init__(self, D, M, V): self.D = D self.M = M sel...
[ "fortiema@gmail.com" ]
fortiema@gmail.com
245d25c51fcb9630b9b8fb3531f028b5c462a945
225bf8285be2b4fee7577d1177e92c10ac912b6e
/mth314/instruct/auto_meta_nbgrader.py
55558854e312c82ce6293c292cf3ba1854d2127b
[]
no_license
ninja542/autograde-testing
d485d010ce0a52f09cecebf4c9e768cf5239c92b
81fa354ea0613bbfaadb8ba99232a3e99c3eaf67
refs/heads/master
2020-12-08T22:15:24.360006
2020-02-24T19:25:22
2020-02-24T19:25:22
233,109,875
1
0
null
null
null
null
UTF-8
Python
false
false
831
py
# add nbgrader metadata import json import numpy as np import sys def is_command(line): if "ANSWER" in process_comment(line)[0] or "AMSWER" in process_comment(line)[1]: return True else: return False def process_comment(line): command = line.replace("#","") command = command.strip() # if command[:3...
[ "theroboticcyborg@gmail.com" ]
theroboticcyborg@gmail.com
5bf1c9b97dbb63e6b93677013796382b79d3a38b
9daa01cc39c9b76bb40e8d968b163022521c55bc
/func_for_mult_spectr.py
d3a5a1b3fcbdf32b90c0ff45e1c5b13a8f097662
[]
no_license
Pugavkomm/nonlinear
d61109f0d71b51ff54255b6d47ad420f98713eb0
d2876320a8ea3da4f072df2af2fa39ac86dccecb
refs/heads/master
2021-09-06T07:11:33.443508
2018-02-03T16:22:28
2018-02-03T16:22:28
103,822,984
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
import numpy as np def mutipl_all(N, alpha): f = np.zeros(N) for i in range(N): z = np.cos((i + 1)*np.pi/(N + 1)) f[i] = (1 - alpha)/(1 + z) return f
[ "slavapugavko2@gmail.com" ]
slavapugavko2@gmail.com
a7012e26515d2e214c34f1a948756e9af8cff489
5837fd85b18b56d23612de1e36d79b5a06827542
/sniterator.py
d5e3435d3bd0924383507459b0e3f279464d9c66
[ "MIT" ]
permissive
ChristopherWilks/snaptron
75e33c4f25a65f3093555a7bf235ab69865f7086
75903c30d54708b19d91772142013687c74d88d8
refs/heads/master
2023-02-19T01:38:57.343293
2023-02-11T21:47:52
2023-02-11T21:47:52
45,953,724
26
7
NOASSERTION
2022-06-17T21:10:44
2015-11-11T02:03:37
Python
UTF-8
Python
false
false
3,341
py
#!/usr/bin/env python2.7 # This file is part of Snaptron. # # Snaptron is free software: you can redistribute it and/or modify # it under the terms of the # # The MIT License # # Copyright (c) 2016- by Christopher Wilks <broadsword@gmail.com> # and Ben Langmead <langmea@cs.jhu.edu> # #...
[ "broadsword@gmail.com" ]
broadsword@gmail.com
9549acb29d9a0c5bf134052cccc04c0ca9a590e6
f5f538edf999d5a7eb265b90efa4599a81367489
/ptranking/metric/adhoc_metric.py
c2e41ba50be9154df1b89366b12914dfe3e440f0
[ "MIT" ]
permissive
ii-metric/ptranking
ad4db16e5a995b11103b04af46aed099e525af82
fd4fe1373fd2dfd7c6342eb666f36e34b71e8298
refs/heads/master
2023-03-24T03:18:16.414348
2021-03-19T06:06:43
2021-03-19T06:06:43
328,522,824
0
1
MIT
2021-03-19T06:06:44
2021-01-11T02:02:01
Python
UTF-8
Python
false
false
18,252
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Description The widely used IR evaluation metrics, such as AP (average precision), nDCG and ERR Note: commonly the metric-computation is not conducted on gpu """ import torch import numpy as np from ptranking.data.data_utils import LABEL_TYPE """ Precision """ def t...
[ "gengshen.research@gmail.com" ]
gengshen.research@gmail.com
a48250482c63d19a2f0d213540103fe86d917bf1
946d156e778c71602d1059d1bdac0b388557f6d8
/plot_c.py
5d4ff51334854a22ea09ca8ed990926f3449b15e
[]
no_license
spohngellert-o/Pytorch-EWC-Replication
a57a34428770b09b8e36338eab9b6e6527394297
0f17676ad13ceb83c8e3362cda38ac0eac310405
refs/heads/main
2023-04-08T13:30:06.155748
2021-04-23T14:36:42
2021-04-23T14:36:42
359,985,686
0
0
null
null
null
null
UTF-8
Python
false
false
3,674
py
import numpy as np import torch import torchvision import matplotlib.pyplot as plt from time import time from torchvision import datasets, transforms from torch import nn, optim from tqdm import tqdm import pickle import pdb from utils import * class Net(nn.Module): def __init__(self): super(Net, self)....
[ "spohngellert.o@northeastern.edu" ]
spohngellert.o@northeastern.edu
a5d16bd864bf44e50730265aadbb84335c3ebed6
e6d9e395c9062237e7679f0e3ca1265b84820eee
/Ch5BitMnpltn/57oddEvnSwp.py
2e31a39ebd2bcce463b86c14af24174b24aa4606
[]
no_license
kalyan-ch/SltnsCrkdCpp
ffad8998b1f4319ee0d092fb927d64b50c559b66
09bb8a416b3306d67dcb6dfcd6e18518306fe39b
refs/heads/master
2021-09-08T08:21:59.530786
2018-03-08T16:37:17
2018-03-08T16:37:17
106,737,537
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
def oddEvenSwap(num): return ((num & 0xaaaaaa) >> 1) | ((num & 0x555555) << 1) if __name__ == '__main__': print oddEvenSwap(658)
[ "kalyan.chaval123@gmail.com" ]
kalyan.chaval123@gmail.com
cbc74a86c614e06d91e0bd7359e4844aff8ab5f1
381cdf1fb24864a38bebb80b47669c02245b785f
/exercises/skeleton/setup.py
6c33cd6fae6880735d9468585bc2172f5914c1e8
[]
no_license
jraddaoui/python-thw
0fa009f48979c9a82f3fef3baf50c9ed9cee1a9a
f01c5042bf328859a5c72afb5cdefe42871072a2
refs/heads/master
2021-01-02T22:47:54.430392
2017-08-23T11:06:10
2017-08-23T11:06:10
99,390,892
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'description': 'Base project', 'author': 'José Raddaoui Marín', 'url': '', 'download_url': '', 'author_email': 'raddaouimarin@gmail.com', 'version': '0.1', 'install_requires': ['nose'],...
[ "raddaouimarin@gmail.com" ]
raddaouimarin@gmail.com
e2afe9a20ddf90de814e09676cddd9998e3aee9f
d89080dc044b4e707fdddf3c757a972612712adf
/StoryList/migrations/0003_auto_20210626_1338.py
ebad15ae34298f41080e6ea88a4440be2e6fa127
[]
no_license
magbatofrenzy/storylist
d72dd5acab195bed10ca6689ac76100c4aee8288
5c2e4045e22297060f3a740531936695d3edae85
refs/heads/main
2023-06-09T10:02:16.791571
2021-06-27T22:39:28
2021-06-27T22:39:28
373,690,640
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
# Generated by Django 3.1.6 on 2021-06-26 13:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('StoryList', '0002_auto_20210616_1538'), ] operations = [ migrations.RenameField( model_name='list', old_name='nread'...
[ "magbatofrenzycamille@gmail.com" ]
magbatofrenzycamille@gmail.com
3ec3d5b1352761d5f27a18618daf8406ada59f0f
240ccb555b946d9506caabc775f46ea560f4f12b
/assignment_1/crawl.py
5a9ef293658bc2866ecd2b80ab16c7ad212f8e1e
[]
no_license
eling22/data_science_class
86350555b5b9e9383aeaac68533b94d94e339645
731e9039c35231e61a1c05e95a1ddbdc6c9b9bf4
refs/heads/master
2020-03-28T21:16:44.462634
2019-07-06T04:45:37
2019-07-06T04:45:37
149,143,619
0
0
null
null
null
null
UTF-8
Python
false
false
2,467
py
import requests import time import tool from bs4 import BeautifulSoup def main(): t_start = time.time() not_exist_list = ["https://www.ptt.cc/bbs/Beauty/M.1490936972.A.60D.html","https://www.ptt.cc/bbs/Beauty/M.1494776135.A.50A.html","https://www.ptt.cc/bbs/Beauty/M.1503194519.A.F4C.html","https://www.ptt.cc/...
[ "lai.eling22@gmail.com" ]
lai.eling22@gmail.com
ef1b7a1250f227e8a591ba8de8b063fb4241c940
62ff5fd135bf295172c5f78a0e4c2f1573dbf8d7
/.venv_heat/bin/distro3
31f4f5842c2ee612bc68203f9bea0cb2af06024f
[]
no_license
javershal/heat
3e6664a7b7c0d2c0e6f04d774231876f5f8529d4
699b7aa7bd81518ef4d3a23324d0e4080c77a68a
refs/heads/master
2023-02-04T04:43:30.698702
2020-12-26T20:27:58
2020-12-26T20:27:58
324,629,507
0
0
null
null
null
null
UTF-8
Python
false
false
236
#!/home/jacob/projects/heat/.venv_heat/bin/python # -*- coding: utf-8 -*- import re import sys from distro import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jza22092@gmail.com" ]
jza22092@gmail.com
d0d4e162ef7d61ee8837d30178c97b450bb885cf
f2f892a85c3e1bed1affb3fea1d03da96537565a
/http/__init__.py
71d7a1bba4ad007a428e04a8a1bbfd7550897ae4
[ "MIT" ]
permissive
williamty/guahao1
08a954dd2d414ba2155b86957b87c9f9dba2cbe7
577eff04bd619d458480aa6a33098338342b379a
refs/heads/master
2021-01-21T16:43:35.695787
2014-07-09T06:01:33
2014-07-09T06:01:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
__author__ = 'zhijieliu'
[ "meajhlp@gmail.com" ]
meajhlp@gmail.com
10495a50f058e69c7dd0be9fe19abbebbbbbb848
c9d42d98b0e30cf6f097b0a1b128eb5e9a679c32
/tictactoe.py
a3c7083cf22c1d58de6e6746bb46d4c3a5a3f058
[]
no_license
KrishnaSreeraj/TicTacToe
fa5a8bc288bc1ea844499d8f3a36ded46128728e
e7d4e1d598e6728601f776f2631b40f1984f044e
refs/heads/master
2022-04-20T22:59:06.693157
2020-04-23T07:29:28
2020-04-23T07:29:28
258,126,740
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
# -*- coding: utf-8 -*- """ Created on Sat Apr 18 18:35:58 2020 @author: acer """ import numpy board = numpy.array([['-','-','-'],['-','-','-'],['-','-','-']]) p1s = 'X' p2s = 'O' print(numpy.matrix(board)) def entry(symbol): while(1): row=int(input("Enter the row : ")) col=in...
[ "noreply@github.com" ]
KrishnaSreeraj.noreply@github.com
52cea66c3660ae01964ef82ef14f9ad6d96b4ebf
cf19b96eb917eca1208627edc27c698d249e859b
/build/ball_chaser/cmake/ball_chaser-genmsg-context.py
8e93c919234312cf0e50d657db23bd143beb78cd
[]
no_license
Shubham-Tandon/ROBOND_WhereAmI
82865453acd7f345e4890770728de8b66cbaf183
c18fa676b7cdf3cc2e7f0381631b276b3da48b65
refs/heads/master
2022-07-31T04:00:14.208578
2020-05-22T21:29:55
2020-05-22T21:29:55
265,763,953
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "" services_str = "/home/workspace/ROBOND_WhereAmI/src/ball_chaser/srv/DriveToTarget.srv" pkg_name = "ball_chaser" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_str = "std_msgs;/opt/ros/kinetic/share/st...
[ "standon@ncsu.edu" ]
standon@ncsu.edu
2a570dac5eae17f271138addb65d53d8a6c2b94c
1642c2ab1a57fd24aefc6b4e073981c36376d6c5
/binary_search_tree/bst_lecture.py
83396ab0f3ccd684eb5b5846301d0fb2d1f4f613
[]
no_license
asherkobin/Data-Structures
e8b6fe1d6cf4501b299333448505065deb85f35d
50c07920087f1ced7218cbd8c020379e77604028
refs/heads/master
2022-11-17T09:58:42.506649
2020-07-14T02:41:35
2020-07-14T02:41:35
263,117,554
0
0
null
2020-07-14T02:41:36
2020-05-11T17:56:42
null
UTF-8
Python
false
false
1,298
py
# LEFT child value less than parent value # RIGHT child value is greater (or equal if dups are allowed) than parent value class BSTNode: def __init__(self, value): self.value = value self.left = None self.right = None # Insert the given value into the tree def insert(self, value): ...
[ "asherkobin@gmail.com" ]
asherkobin@gmail.com
898dd1834baff47904063ee551f79d48ed66f821
e444d4ff921b38597cb42bb15e7f4ccaf1336923
/scripts/check_membership.py
5c47ede1547066eb2fdf808fea0b6961161a3ddc
[ "Apache-2.0" ]
permissive
syspimp/puppet
37d1b79ff87def8f7594cfb7e77f6ed30d933998
4747baf3cbe9a63c87942e5ffad4746b7ba245dc
refs/heads/master
2021-01-13T02:16:22.598405
2014-06-19T17:49:32
2014-06-19T17:49:32
2,885,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,854
py
#!/usr/bin/env python import sys import ldap import adconfig from pprint import pprint from optparse import OptionParser parser = OptionParser() parser.add_option("-t", "--target", type="string", dest="TARGET", help="Target to search for", default=False) parser.add_option("-u", "--user", action="store_true", dest="USE...
[ "root@jump2.maskedadmins.com" ]
root@jump2.maskedadmins.com
df1df6a26e3f3cc1f589f8df742440b2e90f4901
8af2d242582f981be3a983c81c3e1da4728f8823
/python-code/45-Jump Game-II.py
a29b19c4a05ad91038e1edab3f77be352e179a49
[]
no_license
Yingminzhou/leetcode
eff49184bfa61f305293da1522aad857fa829857
ba264d6d218afefc0af385b036840ae451b4d714
refs/heads/master
2020-03-22T11:44:37.195126
2019-02-28T00:22:42
2019-02-28T00:22:42
139,993,163
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
class Solution(object): def jump(self, nums): """ :type nums: List[int] :rtype: int """ if len(nums) <= 1: return 0 next_jump = [0] check_dict = dict() return self.jumpN(nums, next_jump, check_dict) def jumpN(self, nums, next_jump, ...
[ "yingminzhou@sohu-inc.com" ]
yingminzhou@sohu-inc.com
443843671835ee8dd936fe399ad7da7b414c55c5
cdcb940e39c9459f737d1796a365c62bdef4d707
/tests/test_dependency.py
74409c753870bb7bc5537c97b48cf45f783f7504
[ "MIT" ]
permissive
dizballanze/dependency
3ff8526ad267768b2ea67f88d50aec91d867aa21
158bab9004aedf69a40ff9bd2cd5735c28933ddb
refs/heads/master
2020-05-23T14:37:15.592583
2019-05-15T13:09:57
2019-05-15T13:09:57
186,808,235
0
0
null
2019-05-15T10:57:29
2019-05-15T10:57:28
null
UTF-8
Python
false
false
3,240
py
import asyncio import pytest from aiomisc import Service, entrypoint from aiomisc_dependency import freeze, consumer, inject, dependency async def test_register_dependency(): @dependency async def foo(): return 'Foo' @dependency async def spam(foo): return foo * 3 freeze() ...
[ "dizballanze@yandex-team.ru" ]
dizballanze@yandex-team.ru
6aa1ce107d8e3d7a2c5cbf05e78d16249bcbd0de
403d1f4acae8edc4ac24bc4830c6f1dababfecaa
/attacks/__init__.py
623e8b5c5f30b44c67efec8a5cc289c666ddcce8
[]
no_license
coleary9/RockBrawl
b5539b01670f5aad3c86f245df346b74bc37bdfa
1bc7d983481a62ee178ba4774f445e37b16d3b0c
refs/heads/master
2021-01-01T15:55:36.569836
2014-04-09T17:49:00
2014-04-09T17:49:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
# BitCity Studios: # Cameron O'Leary <coleary9@jhu.edu> # Steve Griffin <sgriff27@jhu.edu> # Jeremy Dolinko <j.dolinko@gmail.com> # Jonathan Riveria <jriver21@jhu.edu> # Michael Shavit <shavitmichael@gmail.com>
[ "coleary9@jhu.edu" ]
coleary9@jhu.edu
13f3589b2c19e818b9382fc185423b21aba9ddab
3ed14ff2300f5f52d06f55458bffea921820e451
/empty_intersection.py
56c9f3c7ee7dfecd71f07e48696d9669ed2a6116
[]
no_license
LSparkzwz/HLL-and-MinHash-BML-tests
c352cafc21891c297f30ef9b8650288ad8f7eea4
6316fe2824bba427c95a95e6ede2bebebf707415
refs/heads/master
2023-02-14T17:41:51.300031
2021-01-07T14:35:21
2021-01-07T14:35:21
272,054,344
0
0
null
null
null
null
UTF-8
Python
false
false
242,700
py
data1 = ["418265688","418265689","418265690","418265691","418265692","418265693","418265694","418265695","418265696","418265697","418265698","418265699","418265700","418265701","418265702","418265703","418265704","418265705","418265706","418265707","418265708","418265709","418265710","418265711","418265712","418265713"...
[ "costadanilo@protonmail.com" ]
costadanilo@protonmail.com