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
213 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
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
f643f9a47de4c1ca115121662e6b5a7e52da83c7
d23c012269057afe3556711fd514efce20085d75
/api/routes.py
f8fa15a007349ac46eaa1ead2e4c302043d7cdd5
[ "MIT" ]
permissive
bobruk76/E9
c73464941c8f1955fc4145f852aebea43cb572e2
b035a578636d1192b755069e7095d355065c8872
refs/heads/main
2023-01-04T18:52:29.505694
2020-10-25T16:58:49
2020-10-25T16:58:49
304,788,800
0
0
null
null
null
null
UTF-8
Python
false
false
4,568
py
from flask_login import login_user, login_required, logout_user, current_user from werkzeug.utils import redirect from wtforms.ext.appengine.db import model_form from api import app, login_manager, bcrypt, db from flask import Flask, request, render_template, flash, session from api.forms import CreateUserForm, LoginF...
[ "vladimir.m.polyakov@gmail.com" ]
vladimir.m.polyakov@gmail.com
101f05c1b708685c9f582744ecc1a14472bcf253
30b2b8a449558fc327daebf51096bf251ef6a8e9
/scripts/Assemble.py
389daba962491debc1e343d62c2dfc8ec94ca8d5
[ "Zlib", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
ekg/shasta
0ac3462d0e3f73375a1b583967992b7e5deba1fd
e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01
refs/heads/master
2020-06-02T12:59:50.717211
2019-06-10T12:13:22
2019-06-10T12:13:22
191,161,600
0
0
NOASSERTION
2019-06-10T12:13:04
2019-06-10T12:13:03
null
UTF-8
Python
false
false
686
py
#!/usr/bin/python3 import shasta import GetConfig import ast # Read the config file. config = GetConfig.getConfig() # Create the Assembler. a = shasta.Assembler() # Set up the consensus caller. a.setupConsensusCaller(config['Assembly']['consensusCaller']) # Figure out if we should use marginPhase, and if so set it...
[ "paoloczi@users.noreply.github.com" ]
paoloczi@users.noreply.github.com
39340c0cfbce2f2177bdf337c5b9ae7da9cdfa9d
4489ea2b304c600da545302b15db9040795e70f9
/args.py
71bf1b7e18ddcabf6f836e196da54c959d4576ce
[]
no_license
OnlyM1ss/Crypto
3bf8f5666467fa99e0840eaaec283ed9782be7ae
4d080f58394e94cd2adf6259a68905963a10a131
refs/heads/master
2020-12-06T08:43:09.591302
2020-01-07T20:55:04
2020-01-07T20:55:04
232,413,697
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
import argparse parser = argparse.ArgumentParser(description='Decoder') parser.add_argument('word', type = str,help='слово которое нужно закодировать') parser.add_argument('shift',type = str,help='шаг') parser.add_argument('dec16',type = str,help='кодировка 16') parser.add_argument('dec32',type = str,help='кодировка 3...
[ "noreply@github.com" ]
OnlyM1ss.noreply@github.com
e3da1af274d2a3e36400e5fada6e6f02304611b8
aef7c335667a90c8d89644baa091e292a6ea2932
/conanfile.py
c47ac7b9e05c65d89143304192754a99dc027387
[]
no_license
aspectspro/EnterpriseDomainObjects
c3a3ba6bcddf98fa1c6b31ab0327a125803a70cd
2b61ce66186576209455c5f3f01b6910a429dbe6
refs/heads/master
2023-04-25T02:17:09.316413
2020-11-29T13:53:17
2020-11-29T13:53:17
307,079,167
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
from conans import ConanFile, CMake, tools class DatabaseConan(ConanFile): name = "EnterpriseDomainObjects" author = "Greg greg@aspectspro.com" description = "Enterprise Domain Objects" def requirements(self): self.requires("AbstractObjects/2.1.1") #dynamically sets version number from maste...
[ "greg@aspectspro.com" ]
greg@aspectspro.com
7f2e99bfc97cb0b7fc22df73b15f8e1a322d6df3
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/exp-big-393.py
20bce7381a23b7eb2eaa3484512995b694ea0636
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
3,178
py
# Compute x**y def exp(x: int, y: int) -> int: a: int = 0 a2: int = 0 a3: int = 0 a4: int = 0 a5: int = 0 def f(i: int) -> int: nonlocal a nonlocal a2 nonlocal a3 nonlocal a4 nonlocal a5 def geta() -> int: return a if i <= 0: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
b4ee1ff0b7b7870c19d3713489b003ee77e5f021
60162e7eb238f166d6166632a17606bb467ef1c7
/Desktwordcount/views.py
b2c8dbc3d3a49ce1e5bc430a940625d3e8f8131f
[]
no_license
qdqzy/Desktwordcount
1d68b32c58270fa61d13969da2a687fbcc35d6de
01bb4bc90e2d0dfeb3a61823eabff8cd01e12eb1
refs/heads/master
2020-06-05T02:56:38.812008
2019-06-17T08:02:35
2019-06-17T08:02:35
192,289,752
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from django.http import HttpResponse from django.shortcuts import render def home(request): return render(request, 'home.html') def count(request): text = request.GET['text'] print(text) result = {} for i in text: if i not in result: result[i] = 1 else: res...
[ "876138262@qq.com" ]
876138262@qq.com
51128a92f3012194ab45757a34a18ef7fc86125e
c926da2758b5687cb3a2ea439653e4713f2fc423
/Lib/site-packages/registration/forms.py
c6c00de742f58979232d8b7519d5cef19839f2c7
[]
no_license
BloodyFaces/StoryShare
b66f029ae911c8cb7522e551cb4b535f1703fcb3
e233d1213918eb1db6a884c960b9329c514c3587
refs/heads/master
2022-11-12T05:29:24.666891
2018-12-09T20:57:38
2018-12-09T20:57:38
157,327,992
0
1
null
2022-10-25T03:25:22
2018-11-13T05:56:39
Python
UTF-8
Python
false
false
3,974
py
""" Forms and validation code for user registration. Note that all of these forms assume Django's bundle default ``User`` model; since it's not possible for a form to anticipate in advance the needs of custom user models, you will need to write your own forms if you're using a custom model. """ from __future__ import...
[ "vladmalmyga@gmail.com" ]
vladmalmyga@gmail.com
2a105f6bc2331fb8e233a4c673ef407ce743c551
9cb233cc790684bc50b7e0b63f9cd7fef5e1e5fa
/coap/coap.py
da8f54e8e45973e3bd082ef504bf7bb15fbb35c1
[]
no_license
DmitryShipilov/Practice_magistrature
21358c1ddb7d7779d7298da0b9620ffef2aafcbb
5d553ce3bda17d265cd2a0d2813244e1b93b2091
refs/heads/master
2022-12-04T01:09:02.303934
2020-08-19T20:14:53
2020-08-19T20:14:53
286,577,061
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import asyncio import logging import aiocoap logging.basicConfig(level=logging.INFO) # CoAP message codes Code = aiocoap.numbers.codes.Code async def CoAP_request(code, uri, payload=None): protocol = await aiocoap.Context.create_client_context() if payload: requ...
[ "shipilov.dmitry.valer@gmail.com" ]
shipilov.dmitry.valer@gmail.com
88e80019ff6a6765f7faf8d524f81498f5a208a3
f3eae017c3c0206cdac604e40ef3b1fc9e7e62f6
/20200404/87.py
cf1f08a2a2efe67b92eef273bbc8181c019f07bc
[]
no_license
doonguk/algorithm
b6d126286f7fff170979c62f2b2378d5a03438e9
981a1457106c244a13ef3cde8e944cb81888755f
refs/heads/master
2021-02-08T09:54:40.185496
2020-04-15T14:30:53
2020-04-15T14:30:53
244,138,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
def solution(m, n, board): board = list(map(list, board)) dx = [1, 1, 0] dy = [0, 1, 1] answer = 0 cnt = 0 while True: ch = [[0] * n for _ in range(m)] for y in range(m): for x in range(n): for k in range(3): xx = x + dx[k] ...
[ "mbxd1@naver.com" ]
mbxd1@naver.com
2cfadbdf605826104ecf7f24efa19f78691766cf
c11f92e6a1578338cf759b5e1624a53225642e79
/babi/user_data.py
8307f03bf2d4e55df9bd70db01a1dca7746c0fcf
[ "MIT" ]
permissive
pganssle/babi
c1d50df3bdb924316779ab82e996ad46baafb986
d20be693d2c067570f0a82e2c2baee34c827c3bd
refs/heads/master
2021-04-11T19:55:08.285937
2020-03-21T18:47:37
2020-03-21T18:47:37
249,049,571
0
0
MIT
2020-03-21T19:50:32
2020-03-21T19:50:32
null
UTF-8
Python
false
false
393
py
import os.path def _xdg(*path: str, env: str, default: str) -> str: return os.path.join( os.environ.get(env) or os.path.expanduser(default), 'babi', *path, ) def xdg_data(*path: str) -> str: return _xdg(*path, env='XDG_DATA_HOME', default='~/.local/share') def xdg_config(*path: str) ->...
[ "asottile@umich.edu" ]
asottile@umich.edu
b12ae5879c11d022acc15b94a031accfb196b46b
62883320a7c6bb8cda5e934fbd25bb9ef8a067c3
/front_server.py
3086e2a847325f3c2ab207ae956b269ac0349c2b
[]
no_license
vvvm23/Distributed_Systems_Summative
139637b25242fdbe2799c7d263363da1de2385ee
28480ad069f4cb94e78016c95d9b2d700b841efd
refs/heads/master
2022-04-10T21:47:31.954037
2020-03-13T01:03:28
2020-03-13T01:03:28
239,213,472
0
0
null
null
null
null
UTF-8
Python
false
false
3,196
py
import sys import Pyro4 import Pyro4.util # Expose this class as a Pyro4 object @Pyro4.expose @Pyro4.behavior(instance_mode="single") class FrontServer: def __init__(self): self.primary = None # Primary Server Reference self.ns = Pyro4.locateNS() # Locate the Name Server if not self.ns: ...
[ "alexander.f.mckinney@durham.ac.uk" ]
alexander.f.mckinney@durham.ac.uk
bef34cad01422648c09e20b9ebaf04f24bcfe0f0
c7877ca0f68753212e4bb2f8b2944eec65dff56e
/fa/bootstrap/forms.py
6224699d5a7aebbd20b47a2aa7df3ebb8f353fc5
[]
no_license
RedTurtle/fa.bootstrap
d37d81fb9bca3539abd1c71a0cc67c4af19b27b7
8b982f9dc178c58e62fef9e3dddde5a8dac9b811
refs/heads/master
2021-01-01T18:37:46.303564
2014-04-25T13:17:21
2014-04-25T13:17:21
2,487,668
5
5
null
2014-04-25T13:17:22
2011-09-30T07:35:24
JavaScript
UTF-8
Python
false
false
903
py
from formalchemy import FieldSet, fatypes from fa.bootstrap import renderers class BootstrapFieldSet(FieldSet): default_renderers = dict(FieldSet.default_renderers) default_renderers.update({ fatypes.String: renderers.BootstrapTextFieldRenderer, fatypes.Unicode: renderers.BootstrapTextFieldRen...
[ "mtjahangir@gmail.com" ]
mtjahangir@gmail.com
8e34a70a3f9397eeb53ec22828a93db95486d8b8
e458083d9e0f3564d3089de9febe3cad61733f47
/Weekdays/python_looping/python_loopings/iterative.py
a8a0cb3dacd9d0abb7f63a3db3305d1043195b89
[]
no_license
chavhanpunamchand/pythonYogeshSir
cd71d002927f8bbc8ad5ecff3282e0b7c6cfc13c
3ee675f188e2680cde9e04ad03f2f5c9f3d46ba0
refs/heads/master
2023-02-14T01:53:34.342147
2021-01-09T17:36:17
2021-01-09T17:36:17
293,258,859
0
0
null
null
null
null
UTF-8
Python
false
false
8,839
py
''' Iterative --> points do..while --atleast once --> thru flag--* --> not provided in python while --> may or may not range random random.randoint enumerate dict.keys dict.values dict.items for --> when u are sure about no of iterations in advance --> when u are not sure about no of iterations in advanc...
[ "chavhanpunamchand@gmail.com" ]
chavhanpunamchand@gmail.com
7d287e5d6a9ac9084996d8e8934bd0ad4c76c534
6410215af82c5db7c7310c1adab88a1fa85d9fcb
/init_db.py
6757241cbad55fdfc88311fdeb6d3bea18657858
[]
no_license
PranavJoshi1/CloudAzure
120ea1e5a9ed1e520c070d2b45b67f9d5a458f44
9a928702c5f737ebb5f7c8cc2227d1a96c7a3775
refs/heads/main
2023-03-21T00:29:11.755329
2021-03-06T08:01:27
2021-03-06T08:01:27
345,036,588
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
import sqlite3 connection = sqlite3.connect('database.db') with open('schema.sql') as f: connection.executescript(f.read()) cur = connection.cursor() cur.execute("INSERT INTO posts (title, content) VALUES (?, ?)", ('First Post', 'Content for the first post') ) cur.execute...
[ "noreply@github.com" ]
PranavJoshi1.noreply@github.com
74ce6870b66861e8a9a1a0672ebaed66d09cd12f
eb220efce4db90a7fd9cb06a69021969182f0087
/P1-Ricochet Robots/ricochet_robots.py
5df992fd3bdcf957c93a9a2160b9cf438b593b7e
[]
no_license
Mokita-J/Artificial_Intelligence
7e0854913ff7e4062787e028e12981f3cbb7e57f
704b421d10679266d125b7d7071e6c7456dbc79c
refs/heads/main
2023-06-14T22:02:48.539252
2021-06-28T18:10:53
2021-06-28T18:10:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,943
py
# ricochet_robots.py: Template para implementação do 1º projeto de Inteligência Artificial 2020/2021. # Devem alterar as classes e funções neste ficheiro de acordo com as instruções do enunciado. # Além das funções e classes já definidas, podem acrescentar outras que considerem pertinentes. # Grupo 11: # 92532 Mónica ...
[ "monicachenjin@tecnico.ulisboa.pt" ]
monicachenjin@tecnico.ulisboa.pt
9500d9c5d2fd365ab5a5c46c7f6c5e2743b8ba14
d9553aeed9a8886d35ea5d5d5537a143efec0d7d
/dataset_creation.py
81046e3dd407978d1688d093f754f1a8a9c56567
[]
no_license
rahulOmishra/detecting-incongruity-dataset-gen
f06546c2699c23f84b635801ce749f3a2932d9fc
0c95acb6275afafdf6116253c3419d18fdf761ce
refs/heads/master
2021-01-14T04:21:05.406662
2019-10-16T07:30:46
2019-10-16T07:30:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,600
py
import os import json import csv from datetime import datetime import random import math import argparse import pandas as pd import numpy as np from nltk.tokenize import sent_tokenize, word_tokenize from nltk.corpus import stopwords STOP_WORDS = stopwords.words('english') P_TRAIN = 0.85 P_DEV = 0.0...
[ "jgdgj223@gmail.com" ]
jgdgj223@gmail.com
50fdad15b14d6c730c7ce8452947e51d1a0147ad
2d7170db2454cee312d595531404d0cf2b4e369c
/django_memcached_request_limit_manager.py
f61d14a5492209b795fb7841f0190b8ad4b13651
[ "MIT" ]
permissive
fastinetserver/python-pandadoc
1d7f659bc162b42b23709a2e15c2ca43f551cde2
516415ddb97ef7024da3c558634bc5845c913134
refs/heads/master
2022-12-06T00:32:20.216436
2020-09-01T19:43:57
2020-09-01T19:43:57
288,470,037
3
0
null
null
null
null
UTF-8
Python
false
false
2,114
py
"""pandadocument.py implements a Limit Manager for Django Application using Memcached More about limits can be found here https://developers.pandadoc.com/reference#limits""" __author__ = "Kostyantyn Ovechko" __copyright__ = "Copyright 2020, Zxscript" __license__ = "MIT" __version__ = "0.0.1" __email__ = "kos@zxscript...
[ "fastinetserver@gmail.com" ]
fastinetserver@gmail.com
228a85468519b92d95ce46feecf4c6d9aff9dafa
9f38bedf3a3365fdd8b78395930979a41330afc8
/branches/epic/version_datasets/core/views.py
b2ab7e6974372def294497d917433e737bd86c62
[]
no_license
project-renard-survey/nwb
6a6ca10abb1e65163374d251be088e033bf3c6e0
612f215ac032e14669b3e8f75bc13ac0d4eda9dc
refs/heads/master
2020-04-01T16:11:01.156528
2015-08-03T18:30:34
2015-08-03T18:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,754
py
from django.contrib.auth import logout from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User, UserManager from django.core.urlresolvers import reverse from django.forms.formsets import formset_factory from django.http import HttpResponseRedirect, HttpResponse from d...
[ "dmcoe@indiana.edu" ]
dmcoe@indiana.edu
f05d24eb8f4d5d54d3df572de195af889ba875b5
cbd4e775e4200750c2cd2c9b2a9980768ab41488
/redcliff/commands/list.py
514541fd6cd7d96ba377a4c709e1907337ad62a8
[ "MIT" ]
permissive
dmedvinsky/redcliff
aa1891331f839000c56efe6173b7617554577f3b
4522f775864ed6e03ef1c3111bab7fc3e47f7f7a
refs/heads/master
2020-04-09T17:51:45.518254
2012-05-28T12:24:38
2012-05-28T12:24:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
import argparse from .. import api from .. import renderer from ..utils import error def run(argv, conf): parser = argparse.ArgumentParser(prog='list') parser.add_argument('-l', '--limit', type=int, metavar='NUM', help='Limit the number ...
[ "dmedvinsky@gmail.com" ]
dmedvinsky@gmail.com
66b98a566cae08c2142ff4dcf878c2bb0d3533d1
6b7cd9dba130191ce62b1592ef5416dea4739533
/settings.py
c041ee3f0a95027cef53b767d60115002fd36578
[ "MIT" ]
permissive
zain-Z/Alien-invasion-pygame
b43ef2bb3d06d4e58496d3bcf44c73545cc09b21
f61cfeacc507e7008fe8c187ac7b2bbe7950d81c
refs/heads/main
2023-02-04T20:44:02.920483
2020-12-23T01:50:59
2020-12-23T01:50:59
323,774,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,422
py
class Settings: """ A class to store all settings for Alien Invasion. """ def __init__(self): """Initialize the game's static settings.""" # Screen Setings self.screen_width = 1200 self.screen_height = 600 self.bg_color = (230, 230, 230) # Ship settings ...
[ "zai1999n@gmail.com" ]
zai1999n@gmail.com
61800604086e6f0125d6ce67681dcb62ed7fc03b
a12c5ca05ba8b1f53253b9cb00102c818b994e4e
/p55self_inti.py
b712d1fc7394461d7df812410697796534673ff6
[]
no_license
prince232002/harry
98a88c17a98fbe5f56a3ff12b2966182d2d7eef3
128438afef36de4c247a031a338ffd95d5e36a2c
refs/heads/master
2023-07-15T02:46:12.523372
2021-08-26T06:52:42
2021-08-26T06:52:42
395,117,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
class Employee: no_of_leaves = 8 def __init__(self, aname, asalary, arole): self.name = aname self.salary = asalary self.role = arole def printdetails(self): return f"The Name is {self.name}. Salary is {self.salary} and role is {self.role}" # harry.name = "Harry" # harry....
[ "prince2002gupta@gmail.com" ]
prince2002gupta@gmail.com
8c57f11b9dc2abbaead2d675ef76738074fdb617
dcf7076d1763f135895b652b1cd4ad65b23bb5d3
/tests/RandomDropTest.py
8b831b78be8cbb99a5ca2899ba1b9aebb799ca3b
[]
no_license
AakashkolekaR/MIS543O_Project2
d13d431b7f834653205b9114fbe4094a35943ae6
ef8467a454a7647a2b39051ea320a5f3eb9da366
refs/heads/master
2023-09-04T18:28:07.567789
2021-11-01T17:38:21
2021-11-01T17:38:21
420,533,411
0
1
null
null
null
null
UTF-8
Python
false
false
625
py
import random from .BasicTest import * """ This tests random packet drops. We randomly decide to drop about half of the packets that go through the forwarder in either direction. Note that to implement this we just needed to override the handle_packet() method -- this gives you an example of how to extend the basic ...
[ "icecowoo@gmail.com" ]
icecowoo@gmail.com
1b0c7b23281af0a10db38f7a028f27e9ffb3cea6
83c4907ce7dd1112662386811b176740cc4ce35c
/workingOutCode/distancePlots.py
8856d92434ed5b1432e72affa3ba4663b71b9e0c
[]
no_license
SnehaKannan114/ASTRID
2a5ce98abd9467c772615cc2d549acbc65d84d5c
3bfe9d8260e730ce6e65b2e59be38cef206f5723
refs/heads/master
2020-04-11T10:11:01.206835
2019-04-24T04:03:39
2019-04-24T04:03:39
161,706,022
0
0
null
null
null
null
UTF-8
Python
false
false
12,914
py
''' Dataset Used: 1. The CSIC 2010 HTTP Dataset in CSV Format (for Weka Analysis) (2010) dataset is from a web penetration testing testbed for anomaly detection training. 2. ADFA-IDS - Collected by Gideon Creech and Jiankun Hu of the Australian Defense Force Academy, ADFA IDS is an intrusion detection system dataset m...
[ "kannansneha.1997@gmail.com" ]
kannansneha.1997@gmail.com
bcbdbf72f619220993db5c8f91a704968e8e97d5
228d430cd5a79b3617b636d8d4e7c2da306ad095
/crowdfunding/apps/trades/views.py
0008d39c77caf35144aa3cba194470792f8d99b1
[]
no_license
apollomeng/zhongchoufunding
beb2d141db5aadcfe3b45a170af6f964a67fa6d6
9df754c38b45b708592a8d08075561f8456c1b7d
refs/heads/master
2020-03-29T22:29:27.414532
2018-11-06T15:30:54
2018-11-06T15:30:54
150,423,816
0
0
null
null
null
null
UTF-8
Python
false
false
6,306
py
from django.http import JsonResponse from django.shortcuts import render,redirect,reverse,HttpResponse from datetime import datetime # Create your views here. from crowdfunding.settings import APPID, RETURN_URL, APP_PRIVATE_KEY_PATH, ALIPAY_PUBLIC_KEY_PATH, ALIPAY_DEBUG from operations.forms import UserAddressForm from...
[ "42266486+apollomeng@users.noreply.github.com" ]
42266486+apollomeng@users.noreply.github.com
e7ea72ecc61e573b8f9031ad3d7bcd15be800ff6
86236a778c2d022cbdee11017c5a8cf7d01111d0
/adm_rec/basiccrud/utils.py
b8863e006f3ca52d64f374a4d338ff747b3f90a2
[]
no_license
luckybiason/sist_rec_enter
dee1b92f48c0f9476a8a1becedb1227222a49816
bf68c2bdc7d3c7c87642c309224fd03b0511b5c0
refs/heads/master
2021-01-23T19:34:51.084015
2013-10-30T20:46:48
2013-10-30T20:46:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
#-*- coding: utf-8 -*- from django.conf.urls.defaults import * from views import * from django.conf import settings from django.shortcuts import render_to_response # - Icone para remover um registro def get_delete_icon(id_obj,model): context = { 'url': reverse(model.get_config()["app"]+".excluir", kwargs={...
[ "biasonlucky@hotmail.com" ]
biasonlucky@hotmail.com
58bebb9428186e0fd1cf9945fd4ec17a4a7403e8
6d2b51b9b35bd954ee4c19181d05b74f60238c28
/raspberrypihal.py
11351f869f62946d49c769e68a65d09b03803a36
[ "MIT" ]
permissive
JoshuaBThompson/lamatrix
77ccdfcd0c11d5a4b6db9d994137bf5ae788ef1f
8d28473d5242afe6ea4e66579fae02543d2e9851
refs/heads/master
2023-04-19T05:03:43.285393
2021-04-25T07:52:07
2021-04-25T07:52:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
# HAL for Raspberry Pi with https://github.com/rpi-ws281x/rpi-ws281x-python # See https://github.com/jgarff/rpi_ws281x for more details on this library. # # The below code assumes the LED strip is connected to GPIO 18 (PCM CLK) # (see https://pinout.xyz) and that you've installed the rpi_ws281x library. # # For Python ...
[ "noah@hack.se" ]
noah@hack.se
3a0e1f78250db2e482d5eff70a0c07b7ee2c4b50
24a47669907cb008c3fea4265c4b6f37dddc54a4
/keras_/kerascv/models/sepreresnet.py
4331887dec1490c392c0c3197e65d35f06adb823
[ "MIT" ]
permissive
JHLee0513/imgclsmob
ee1f6b8c7f677ed0e8a23e26d3165d37fd8549b4
45abcc1d313b84fa3595e13f0e4fa04b5db6c75d
refs/heads/master
2020-04-22T14:13:25.337524
2019-02-12T18:26:09
2019-02-12T18:26:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,161
py
""" SE-PreResNet, implemented in Keras. Original paper: 'Squeeze-and-Excitation Networks,' https://arxiv.org/abs/1709.01507. """ __all__ = ['sepreresnet', 'sepreresnet18', 'sepreresnet34', 'sepreresnet50', 'sepreresnet50b', 'sepreresnet101', 'sepreresnet101b', 'sepreresnet152', 'sepreresnet152b', 's...
[ "osemery@gmail.com" ]
osemery@gmail.com
29de6e8371a29df9ffa2764804a84541724a6017
5f3282ef6bef79648cc19dc38651cb284301497c
/cnn_processing.py
c790593d3f3477525fc15065d0d489dc8dbc0adf
[]
no_license
raplima/petrog_thin_section_cnn
2e660499a1d13bfa9a30306b9ca5fab7d0e32c52
de9265f8f23a4d7fa64c918f074d35b1372a1f46
refs/heads/master
2022-12-15T17:54:57.076891
2022-12-05T17:27:17
2022-12-05T17:27:17
168,870,152
3
1
null
2022-02-23T12:40:13
2019-02-02T19:39:12
Python
UTF-8
Python
false
false
22,482
py
# Rafael Pires de Lima # January 2019 # Transfer Learning application # This file includes routines to split the data, create bottlenecks, train a new model, predict with new model import os import pickle import shutil import matplotlib import numpy as np from keras import applications, Model from keras.callbacks imp...
[ "noreply@github.com" ]
raplima.noreply@github.com
3f21a62eb233d75d4cb9fd49add03093f4faf00b
444216935d35adcf2ca63ec2eee2b4cca47a649f
/liu_models/reusenet.py
28d7574703b6d8193ef17d05923f50dd09385a35
[]
no_license
Linwenye/LEGO
3eff9c45917ef21d8ed1f294ad26d63b84224391
02e305191caf1608d30306a3d9646def38df7e99
refs/heads/master
2023-04-08T15:59:03.570335
2021-04-17T06:52:28
2021-04-17T06:52:28
355,191,073
0
0
null
null
null
null
UTF-8
Python
false
false
8,482
py
.3 '''ReuseNet in PyTorch. For Pre-activation ReuseNet, see 'preact_ReuseNet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 ''' import torch import torch.nn as nn import torch.nn.functional as F class BasicBlock(nn.Module): ...
[ "419766878@qq.com" ]
419766878@qq.com
8b38feee1e7984c093ab2477b1e6c94aa9ae5032
9b1446b26e81a79c303f9799fb6a91785c7adb03
/.history/Code/rearrange_20200119162227.py
a2b26cbc31714c4d2901c190ccccaf9a0c97fe88
[]
no_license
SamirIngley/CS1.2-Tweet-Gen
017ea15b1113881a156ff24682828bc654eb6c81
bcd95fa63e05849cbf8e36230d8e31032b99daaa
refs/heads/master
2020-12-14T20:19:57.733290
2020-08-04T23:19:23
2020-08-04T23:19:23
234,856,234
0
0
null
2020-06-05T21:13:04
2020-01-19T07:05:55
Python
UTF-8
Python
false
false
5,847
py
import random def random_rearrange(input_string): ''' Asks user for input of words, then rearranges those words in a random order ''' # input_string = input("enter words: ") words = input_string.split(' ') len_words = len(words) # print(words) word_list = [] for word in range(len...
[ "samir.ingle7@gmail.com" ]
samir.ingle7@gmail.com
b3de6ca2822ccf06d9654878faeddcd84a157cad
82b7196d25f43f8201158f285618910f480d7c8d
/bili_live_danmu.py
4f0a90c1c9738c967346864905d4b863d7f17f14
[]
no_license
jym66/bili_danmu
113ee4994e18fc39876189a64bf442048995b323
57b234471a9408058c8975b0f29ed6872a8ee4a9
refs/heads/master
2022-02-26T17:47:50.837348
2019-10-25T09:07:20
2019-10-25T09:07:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,190
py
import asyncio import json import re import zlib from binascii import a2b_hex import aiohttp import requests from apscheduler.schedulers.asyncio import AsyncIOScheduler ''' bilibili直播弹幕爬虫 ''' header = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75....
[ "413510489@qq.com" ]
413510489@qq.com
d1fdfc95be671fcb97e45c2857bdc5a6fceb5cda
4a0f128be58e4ec02e4ad2dff7d4a1be40add9d8
/Week_03/[169]多数元素.py
2a3847f6c73094cf0746f04aa1a555eec6891671
[]
no_license
JinHao-95/AlgorithmQIUZHAO
f6493c362859ffce00a643052f75c0f7a3b1d1e1
af172a032c97448fe41c13b9ed3398f080213807
refs/heads/master
2022-12-14T17:49:39.840202
2020-08-23T04:57:28
2020-08-23T04:57:28
280,786,461
0
0
null
2020-07-19T03:47:56
2020-07-19T03:47:56
null
UTF-8
Python
false
false
764
py
# 给定一个大小为 n 的数组,找到其中的多数元素。多数元素是指在数组中出现次数大于 ⌊ n/2 ⌋ 的元素。 # # 你可以假设数组是非空的,并且给定的数组总是存在多数元素。 # # # # 示例 1: # # 输入: [3,2,3] # 输出: 3 # # 示例 2: # # 输入: [2,2,1,1,1,2,2] # 输出: 2 # # Related Topics 位运算 数组 分治算法 # 👍 682 👎 0 # leetcode submit region begin(Prohibit modification and deletion) class Solution...
[ "hao.jin@nttdatabj.com.cn" ]
hao.jin@nttdatabj.com.cn
9849b399cfcfcf6c3236b4b51d0cf9f4f2a0a5bf
39d27f97ca07c24629a19fc23a8b1bace0e1193e
/CS1026a/Chapter8/Dict and Set.py
b1eb1239c34f9bc4e800674e9ecda8e269ac2ba7
[]
no_license
yijunhhhe/code
1df24fa31952aaba582985828d97697b251c1df6
54c22fbf35f9cef687a5338c9c79ca15dd2091a7
refs/heads/master
2020-05-21T23:53:04.564687
2017-01-08T21:57:18
2017-01-08T21:57:18
59,263,534
2
0
null
null
null
null
UTF-8
Python
false
false
679
py
names = {'Michael': 95, 'Bob': 75, 'Tracy': 85} print(names['Michael']) names['Adam'] = 67 print(names) names['Adam'] = 80 print (names) isKeyIn = 'Adam' in names print(isKeyIn) isKeyIn = names.get('Yijun') isKeyIn = names.get('Yijun', 85) score = names.get('Adam') print(isKeyIn, score) names.pop('Bob') print(name...
[ "yijunhhhe@gmail.com" ]
yijunhhhe@gmail.com
2eeb2c8a4d3f24fa191c2902cc28df9aa8d79552
14c7487cddd5df2428e432bbfd91d4ee292bde41
/nova-compute-agent/nova_compute_agent/openstack/common/strutils.py
0a116e68c2c3aa231c521621a959f7104f29c5d4
[]
no_license
lilingxing20/openstack-ha
66ca54c594e26838e2b5d9758495849f0b4be48b
d202b4d98a9d270105df4da43f831eb1a2351265
refs/heads/master
2021-01-21T10:25:42.912743
2019-03-19T09:19:47
2019-03-19T09:19:47
83,423,357
0
0
null
null
null
null
UTF-8
Python
false
false
7,815
py
# coding=utf-8 """ System-level utilities and helper functions. """ import re import sys import unicodedata import six from nova_compute_agent.openstack.common.gettextutils import _ BYTE_MULTIPLIERS = {'': 1, 't': 1099511627776, 'g': 1073741824, 'm': 1048576, 'k': 1024 } BYTE_REGEX = re.compile('(^-?\\d...
[ "lixx_xt@teamsun.com.cn" ]
lixx_xt@teamsun.com.cn
8fead76103c603095f350c20590815796011ee10
160166aad5660f593579405498b9b7943e117557
/webapps/apps/users/admin.py
11d3b8ca51a2659ede27542c0e9bf12fd3fb2fb0
[]
no_license
dudochen/cmdb
aaf1692caa66d549df590185a5d3cab378fc1987
252ea926a80f0d430a74033849bf77e1e44b94fe
refs/heads/master
2020-03-21T02:30:47.167222
2018-07-11T02:22:27
2018-07-11T02:22:27
138,002,170
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from django.contrib import admin from .models import UserProfile # Register your models here. class UserProfileAdmin(admin.ModelAdmin): """admin界面的定义""" #list_display = ['username','password','group','memo'] # filter_horizontal = ['name'] admin.site.registe...
[ "290583885@qq.com" ]
290583885@qq.com
b2ea221215c15d4a1c082ddee5b50c0cd396e9df
00d1b82b24c1ede5617dac602154586c2499d28f
/批量文件重命名.py
8b19baee98e2a33c43bd0ba6a8eccedfb90b8ca8
[]
no_license
123lxy/Desktop
a77848291737b5fee287ee05da2538af072486e6
5b4fa52ab40252cdd6a71f64976a447f2b6032a4
refs/heads/master
2020-03-10T20:22:53.120581
2018-04-24T10:44:09
2018-04-24T10:44:09
127,839,183
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
import os #1.获取要改名的文件夹 folder = input("请输入要操作的文件夹名:") #2.列出文件夹所有文件 file_names = os.listdir(folder) print(file_names) #3.批量重命名 #os.chdir(folder) ''' old_name = name new_name = '[百度云]' + name os.rename(old_name,new_name) print(new_name) ''' for name in file_names: old_name ='./'+folder+'/'+name ...
[ "18340899076@163.com" ]
18340899076@163.com
f01dc448fdd3cca6157b69968d39e66a8fbb82b7
c0b56c1d89d7efc0c14a57d2a65a03b87de36bd8
/PythonSeleniumTesting/PyTest_Demo/pytest_fixtureDemo.py
4fbcb80e5d532d5bec413c55960c9fe0233c53c0
[]
no_license
vidyamb/SwagLabs
fb32d14afa5374c3355fae0df56e529a4b95a655
e3dc8cfe2e0d4b3bd615c58843d46f324a226467
refs/heads/main
2023-03-20T17:18:42.708988
2021-03-10T11:08:17
2021-03-10T11:08:17
346,171,094
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
import pytest @pytest.mark.usefixtures("setUp") class TestExample: def test_fixtureDemo1(self): print("i wll execute in this method") def test_fixtureDemo2(self): print("i wll execute in this method") def test_fixtureDemo3(self): print("i wll execute in this method")
[ "vidyavidu213@gmail.com" ]
vidyavidu213@gmail.com
17544cf1d8adfa7aabd581547fe2e569ee8550c0
80bc6c0088c6f30d620ee8f20c1b03d1539cfd74
/mqtt_test.py
2dab35cdea2b7e18737dfc8c2822bbfbeddaf783
[]
no_license
siposbence/szem_uj
a7b6d10e28afd57cd73383721c2a493ec2db4f2d
f63cebc44335535b3e09d9e933d2101583fe4bce
refs/heads/main
2023-06-11T20:35:29.759788
2021-07-08T10:08:09
2021-07-08T10:08:09
381,420,196
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
import threading import time import paho.mqtt.client as mqtt import json topic="control" broker="localhost" port=1884 def on_connect(client, userdata, flags, rc): print("CONNECTED") print("Connected with result code: ", str(rc)) client.subscribe(topic) print("subscribing to topic : "+topic) def on_me...
[ "bence.sipos@hotmail.com" ]
bence.sipos@hotmail.com
3b74a10bfef1507363f425eb61e368100884dd70
3e2593161915670c5586bd600e7e076bbe1a0758
/meituan.py
24c51a500fc1dae6464ddee80951126a64f6833a
[]
no_license
qzylalala/WebSpider
19f0691b3b05b8650f2f152d36eaaa17e08a0712
b2d7f143dba6e54322f401251633488b9406fde4
refs/heads/master
2020-04-11T01:22:27.457676
2019-01-14T12:07:07
2019-01-14T12:07:07
161,413,126
1
0
null
null
null
null
UTF-8
Python
false
false
2,430
py
import requests import time from bs4 import BeautifulSoup import json import csv with open(r'美团武汉美食.csv',"w", newline='',encoding='UTF-8') as csvfile: writer = csv.writer(csvfile) writer.writerow(['网站名','品类','商家名称','地址']) target = 'http://wh.meituan.com/meishi/' head={} head['authorization']='your...
[ "304228244@qq.com" ]
304228244@qq.com
b562e5c3958a7911b206219551cf904af24f6971
7da07fcf3f3179cccc453f02fd8a0ca61fa4d576
/Random practise.py
c5fe634eb11204a85cf24be3d08f9e56c5e6dc21
[]
no_license
Abhilashavadhanula/Firstproject
fb8a00aa82941e73fe3d75224a3c397b09209cda
7325573652f891f682f4aa9ca24e65adc26956ce
refs/heads/master
2021-08-10T14:12:29.130988
2020-03-23T06:14:03
2020-03-23T06:14:03
131,378,867
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
#!/usr/bin/env python # coding: utf-8 # In[3]: # In[6]: get_ipython().run_cell_magic('time', '', "for i in range(40):\n print('im timing output {}'.format(i))") # ## if else statemets # In[16]: beers=['large','bud','carona','jonny','brew','stout'] for Beer in beers: if Beer=='bmw': print(Bee...
[ "noreply@github.com" ]
Abhilashavadhanula.noreply@github.com
655703818b71a380d0ddde23057a56603097cada
e41e2505ff0b0534017e85bda0e06493094d1498
/frontend/corona_REST/setting.py
6315adfe2d6fb9e632722dc0d095178b642a7331
[ "MIT" ]
permissive
luyuliu/COVID19-Dashboard
5d516f85284ca908321696bee405fdf1da5531d1
717f83e2767fa53367232e742c110515957a94fd
refs/heads/master
2023-09-04T11:59:37.076149
2021-11-12T20:32:46
2021-11-12T20:32:46
253,892,926
1
0
null
null
null
null
UTF-8
Python
false
false
1,538
py
DOMAIN = { 'ridership_actual': {'datasource': {'source': 'ridership_actual'}}, 'county_info': {'datasource': {'source': 'county_info'}}, 'census_occu_pop': {'datasource': {'source': 'census_occu_pop'}}, 'corona_cases_state_level': {'datasource': {'source': 'corona_cases_state_level'}}, ...
[ "liuluyu0378@gmail.com" ]
liuluyu0378@gmail.com
685aa7e6de81e14c19ae8536efb7def08d8b800f
bcd5620b2d6601a29547823ab1cf540cb15c1410
/dash_hover_click.py
a7895b179b5e0ca1da2e9e5abee5f48689322d4e
[]
no_license
boonkiatdude/plotly-dash
ab8920aa432940f4c48b1d2adf3c5e1b8d314a12
7c18ad36fa12f4868ac60dd3508deec12445395c
refs/heads/main
2023-03-23T11:57:42.690388
2021-03-15T13:33:51
2021-03-15T13:33:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,572
py
import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output import plotly.graph_objects as go import pandas as pd import json import base64 df = pd.read_csv('../Data/wheels.csv') def encode_image(image_file): encoded = base64.b64enco...
[ "noreply@github.com" ]
boonkiatdude.noreply@github.com
1084dd65c5e897d08750a0765d039c5aa79fbda4
444a9480bce2035565332d4d4654244c0b5cd47b
/research/nlp/gpt2/src/utils/tensor_manipulations.py
8ff23330029fad9374e2b614e0f24e24d7e6f763
[ "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
7,159
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
7a2f4c30b9c078c09ce6e9f2249f9ffdf3f5d0ca
ccd39e62c0c4e3b9f06a68f140e1ff2e47457ca0
/produto/migrations/0001_initial.py
5ab99f9c43b6e8eba70f86ca42ebf53240853b71
[ "MIT" ]
permissive
victorgaia/ecommerce-cirio
12802a54b7aad2f3cccb0d36185d20ba32f5698c
85120ce43838f19e2907937c84b819dcd9088246
refs/heads/main
2023-08-13T13:20:14.757899
2021-09-24T17:56:44
2021-09-24T17:56:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
# Generated by Django 3.2.6 on 2021-08-31 23:03 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Produto', fields=[ ('id', models.BigAutoFie...
[ "42875522+victorsantosok@users.noreply.github.com" ]
42875522+victorsantosok@users.noreply.github.com
5b09a6e9ef86e34d2568dace59e39c5c04cb4294
b21ee6bb42a08c5bff1038c040e916306093946f
/cloud.py
f773cadea322e6fe32d3377d0106a31db3a0d6c0
[]
no_license
william-crimson-drake/indexcrypt
97cddd46799ce072abd9841dd267bcdab55d41d5
dda1a8783b11e02fcf81a7463001224cf87017bd
refs/heads/master
2020-11-24T14:04:31.185500
2019-12-15T12:44:31
2019-12-15T12:44:31
228,183,267
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
#Encoding UTF-8 import dropbox CLOUDPATH = "/" TOKEN = "" def upload(local_path, file_name): dbox = dropbox.Dropbox(TOKEN) try: dbox.users_get_current_account() except dropbox.exceptions.DropboxException: print("Can't connect to DropBox '"+file_name+"'.") else: read_file_ha...
[ "william.crimson.drake@gmail.com" ]
william.crimson.drake@gmail.com
8993a14a0f78750a8197bfccf74b1597de938de7
c1cdfed1166f9397231bf2ef03dec8d921488b81
/qa_github_top_contributors.py
bb7db5a2a621335c4e1f14a81388b6710f6fdc68
[]
no_license
batchu/GithubTopContributorsAnalytics
155af3ee96445ee17e456079c15b3d4190d66ee4
c0de7e0da0fe8e1d8e8cb2f0d16459cfd070cccc
refs/heads/master
2020-12-05T15:59:17.066522
2020-01-06T18:58:00
2020-01-06T18:58:00
232,164,713
0
0
null
null
null
null
UTF-8
Python
false
false
2,387
py
import json import requests import numpy as np import pandas as pd import time import requests from requests.auth import HTTPBasicAuth credentials = json.loads(open('credentials.json').read()) authentication = HTTPBasicAuth(credentials['username'], credentials['password']) # Read from cache if True cacheRepos = True c...
[ "prashanth.batchu@ubs.com" ]
prashanth.batchu@ubs.com
5db79813343f763e7aa20a82aec3408bdd864f80
cdddc5a101e0a1ce181075b043dbb5d6f28e536b
/Rock_Paper_Scissors.py
6278c7856dad6b458240c07bf313d454dc7f9c6e
[]
no_license
User1Agam/Rock-Paper-Scissors
ece3fc27d13c959c9a3745e99e802704b00e563f
7e4e9d94eb24c5ab59957ed6d3fcd3c66d503fdf
refs/heads/master
2020-09-16T07:25:48.619227
2019-11-24T05:30:33
2019-11-24T05:30:33
223,697,186
0
0
null
null
null
null
UTF-8
Python
false
false
1,890
py
import random print("\nToday, you will be versing me (The Computer) in a game of rock-paper-scissors.\nTo begin, enter your result in the prompt below.\nYour answer must be all lowercase (e.g rock, paper, or scissors).\n") choice = input("Enter Your Choice: ") print("Your choice was", choice) choices = ['rock', 'pa...
[ "noreply@github.com" ]
User1Agam.noreply@github.com
aef9f80055a7aed0d9ee6b1f6e97282e910a9c59
a8b17b17f9b2a640013064c50e1cebc27a7a68de
/10-Merging-DataFrames-with-Pandas/04-case-study-Summer-Olympics/02-loading-ioc-codes-dataframe.py
6f36f6445cdf16c2b2857aa63e94ef5d965ab92a
[]
no_license
JohnnyFang/datacamp
20eae09752521f14006cb3fda600b10bd7b12398
0fa8fa7682c23b0eb07bd03e4b75f5b77aeafa75
refs/heads/master
2020-04-18T00:27:37.358176
2020-02-04T20:54:19
2020-02-04T20:54:19
167,078,316
1
0
null
null
null
null
UTF-8
Python
false
false
834
py
''' Read file_path into a DataFrame called ioc_codes. The identifier file_path has been pre-defined with the filename 'Summer Olympic medallists 1896 to 2008 - IOC COUNTRY CODES.csv'. Select only the columns 'Country' and 'NOC' from ioc_codes. Print the leading 5 and trailing 5 rows of the DataFrame ioc_co...
[ "fangdejavu@gmail.com" ]
fangdejavu@gmail.com
4eaf9308def31d4cbcd2c0d8dc0059c7142d2312
10b26f4aa32aebf86018fc685defe5813cf9be33
/spider_main.py
66938ba62567cc773dc17bf4872b01aee1668f7b
[]
no_license
a931388462/jdSpider
7b7164cbadb46c51c8128a39b57ed091812482e9
637fd680a11c5c426ec7aa420fe0040b45221492
refs/heads/master
2022-10-03T12:51:49.699866
2020-06-08T14:59:00
2020-06-08T14:59:00
270,714,715
0
0
null
null
null
null
UTF-8
Python
false
false
4,530
py
import datetime import time import html_downloader,url_manager,commodity_crawed,html_outputer,html_parser,properties_read,str_conver class SpiderMain(object): def __init__(self,comm_type): self.urls = url_manager.UrlManager() self.downloader = html_downloader.HtmlDownloader() self.parser =...
[ "931388462@qq.com" ]
931388462@qq.com
521d3ca6cb79bcdd11475501e7c3a9a78ab50648
bef256300706ec6c019904cafc81b7a37aaeb275
/synthetic/gym.env-moll/multiobjective/lunar_lander.py
b12517f9e3377648c328bd95d2d94e6f168f327e
[]
no_license
JiahuiSun/MORL-master
c16188ebbc40374513f6ad1bfc223b050042730f
89db1fd0c6998b2e3f4ab4afbd5234d97b5e854c
refs/heads/master
2023-06-02T20:38:11.844797
2021-06-21T12:15:09
2021-06-21T12:15:09
378,919,225
0
0
null
null
null
null
UTF-8
Python
false
false
19,594
py
import sys, math import numpy as np import Box2D from Box2D.b2 import (edgeShape, circleShape, fixtureDef, polygonShape, revoluteJointDef, contactListener) import gym from gym import spaces from gym.utils import seeding # Rocket trajectory optimization is a classic topic in Optimal Control. # # According to Pontryag...
[ "sunjiahui1997@icloud.com" ]
sunjiahui1997@icloud.com
19bd5a7c453b74cf65db661b242bd702f562c117
dbbdf35bff726681ae34ad08eeda5f30929e2ae9
/pipeline/0x03-data_augmentation/2-rotate.py
cfa106486900e6d01553eff3283ee33d820d6ba3
[]
no_license
jorgezafra94/holbertonschool-machine_learning
0b7f61c954e5d64b1f91ec14c261527712243e98
8ad4c2594ff78b345dbd92e9d54d2a143ac4071a
refs/heads/master
2023-02-03T20:19:36.544390
2020-12-21T21:49:10
2020-12-21T21:49:10
255,323,504
1
1
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python3 """ Rotate 90 degrees a 3d image tensorflow """ import tensorflow as tf def rotate_image(image): """ * image is a 3D tf.Tensor containing the image to rotate Returns the rotated image """ rotate = tf.image.rot90(image=image, k=1, name=None) return rotate
[ "jorgezafra94@hotmail.com" ]
jorgezafra94@hotmail.com
13a72f1e1d9a3d638183d21c021fdda9d81e2338
22d9d90aa171869bba3d31f2307abe58aadd3d1d
/qtim_tools/qtim_features/extract_features.py
bec0fcbfb0fe59a061988c379ed165343d2c6b95
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
liviust/qtim_tools
a790b66bf2d3cd1d5b8036a61a264be57614b47d
64d7d68b1335239f0d7707f8c1e28af71706e4ad
refs/heads/master
2020-05-27T21:19:22.480893
2017-02-28T22:30:14
2017-02-28T22:30:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,435
py
""" This 'learner' program, perhaps wrongly named, is the my current general utility function. It takes in a folder full of images and labels, parses them into numpy arrays, extracts features from those arrays, and writes them into an easily accessible .csv. As of yet, it does not do any learning.. """ ...
[ "andrew_beers@alumni.brown.edu" ]
andrew_beers@alumni.brown.edu
44094d85f07d85084c8dda9c6d2a8e41f006990c
393fccd7a7e07afe268ac12b4f59d4e9f617f9b7
/octoprint_octoeverywhere/Proto/MessageContext.py
a00df7d13937462fc9ff06e0088f4fec69b77056
[]
no_license
pherz1/OctoPrint-OctoEverywhere
a1f83617da182413c8603cfaf8868f4435667a59
1fa96dfc0626aea27a3ecb41e2fa550f9ae038c3
refs/heads/master
2023-07-15T11:51:39.339506
2021-08-25T19:43:10
2021-08-25T19:43:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: Proto class MessageContext(object): NONE = 0 HandshakeSyn = 1 HandshakeAck = 2 WebStreamMsg = 3 OctoNotification = 4 OctoSummon = 5
[ "quinnd@outlook.com" ]
quinnd@outlook.com
8860cc590b2f473239affd080865e3630d19ff53
4e53d797027306ddacaa9f0a1d8d6de436dd98e7
/test.month.py
0168e792e036809624683c154deed36cbaffd855
[ "MIT" ]
permissive
sschakraborty/ml-electricity
e2e7745c66f43dd07d61910218a7ee1ef3506447
bacfa64297bdb01ef8b5d4b5fea86fced3854a32
refs/heads/master
2020-05-16T08:53:01.067610
2019-04-23T03:54:07
2019-04-23T03:54:07
182,927,071
1
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
import pandas as pd import datetime from sklearn.neural_network import MLPRegressor import pickle PATH = 'data.csv' IN = 'context.month.nn' print('Using path %s for test data' % PATH) print('Deserializing model from %s' % IN) nn = pickle.load(open(IN, 'rb')) print('Model deserialized and loaded...') def flatten_date...
[ "sschakraborty@hotmail.com" ]
sschakraborty@hotmail.com
7af4118ca6761434647028e93af78f1b62bff180
641d85b45413fda8e7d16081a455758f522ba317
/person_and_phone.py
a38093e9740b04f7cc0bb64a3acffdb959419967
[]
no_license
MrLuciferM/SemiAutomated-Online-ExamProctoring
dbfde5098743afe7784a3c25924fbc4d47e3084c
85aab91bc11aa6db8c2c2cf4dfb7ee074fb72998
refs/heads/master
2023-06-25T16:35:05.677394
2021-08-02T13:38:38
2021-08-02T13:38:38
391,954,553
4
0
null
null
null
null
UTF-8
Python
false
false
12,104
py
import tensorflow as tf import numpy as np import cv2 from tensorflow.keras import Model from tensorflow.keras.layers import ( Add, Concatenate, Conv2D, Input, Lambda, LeakyReLU, UpSampling2D, ZeroPadding2D, BatchNormalization ) from tensorflow.keras.regularizers import l2 # import ...
[ "pps.kunal.7@gmail.com" ]
pps.kunal.7@gmail.com
a434c943b8afac2a3ba516952790983f4bebf8d9
def27d5864764b877b6786835ec97f2bd74c6ba8
/easy/HammingDistance.py
b9cb3fe45c35fdf770719e3a32aa986bf2a73a40
[]
no_license
bolan2014/leetcode
f6cf38a49a9250abeb36543ea2498062c58e811d
1c35fde3a65c4f216218f459736d4c39a29980d5
refs/heads/master
2021-04-09T16:59:41.494568
2017-05-10T03:47:14
2017-05-10T03:47:14
46,648,353
0
1
null
null
null
null
UTF-8
Python
false
false
466
py
class Solution(object): def hammingDistance(self, x, y): """ :type x: int :type y: int :rtype: int """ bix, biy = bin(x)[2:], bin(y)[2:] if len(bix) > len(biy): biy = (len(bix) - len(biy)) * '0' + biy else: bix = (len(biy) - len...
[ "1139217488@qq.com" ]
1139217488@qq.com
2f2aa9fda525b157cfa80787be1082388c43af77
0cc95e221a473640d32662badb4224b9af7f4696
/supporting_bot.py
50714b6f15023cdd602efd6e21f8625cb6f9b83d
[]
no_license
xGolden/ow-discord-bot
7fe5bd879f53b6407739cd17436fff8161c060e0
1ee501e714d52d8d3676a1c3b13931f9823114e7
refs/heads/master
2021-01-23T01:27:00.062995
2017-03-21T18:04:34
2017-03-21T18:04:34
85,911,454
0
0
null
2017-03-23T05:42:39
2017-03-23T05:42:39
null
UTF-8
Python
false
false
3,938
py
import discord from discord.ext import commands; import asyncio import gaycode #where we store the bots token, so it isn't publicly displayed on github client = discord.Client() supportList = [] #list of discord members signed up to support mixes commandString = '!join !quit (admin !reset !shutdown)' infoString = 'Pe...
[ "slizizy@gmail.com" ]
slizizy@gmail.com
683cb94f99b944c57b75bcff395c4d70823f1021
27acd9eeb0d2b9b6326cc0477e7dbb84341e265c
/test/vraag4/src/isbn/156.py
5d83c65f74ee33e129c19964d85548161b6c4135
[]
no_license
VerstraeteBert/algos-ds
e0fe35bc3c5b7d8276c07250f56d3719ecc617de
d9215f11cdfa1a12a3b19ade3b95fa73848a636c
refs/heads/master
2021-07-15T13:46:58.790446
2021-02-28T23:28:36
2021-02-28T23:28:36
240,883,220
1
1
null
null
null
null
UTF-8
Python
false
false
1,113
py
def isISBN(code): if not ( isinstance(code, str) and len(code) == 13 and ( code.startswith('978') or code.startswith('979') ) and code.isdigit() ): return 0 controle=0 for i in range(12): if i%2: controle += 3* int(code[i]) ...
[ "bertverstraete22@gmail.com" ]
bertverstraete22@gmail.com
84eaea2ed7ce2427efd752c08dbb61f7b8ef9300
ec48e11593717df874746092ca2a127b6de2f49f
/examples/python/file_reader/file_reader.py
abd6ccc51adfb4db8498839ff70e6c19b3d28cc0
[]
no_license
blu-corner/codec
44842673e63dbc9e50077f805de405b121225ca4
a7582a9384e26452e45c2c36952cb7424a52a6ca
refs/heads/master
2022-07-25T04:24:39.555286
2022-06-06T10:15:12
2022-06-06T10:15:12
152,606,392
9
13
null
2022-10-18T16:00:33
2018-10-11T14:36:13
C++
UTF-8
Python
false
false
630
py
#!/usr/bin/env python # import CommonDataRepresentation as Cdr import Codecs as Codec import os import sys import mmap def getDecodedMessage(filename, codec): idx = 0 with open(sys.argv[1], 'rb') as f: while(True): data = f.read() try: res = codec.decode(data)...
[ "alejandro.navarro@neueda.com" ]
alejandro.navarro@neueda.com
3a211aefea4fd4b315ad6dfe162aad8181b79805
0bf740fa6d2f3680c8e47afa8b51a1a468ce2d7e
/blog/migrations/0001_initial.py
a317d4e56293fee4e7cbba6719c52d6e47d39cba
[]
no_license
chsailakshmi/first-blog
85495c55a69323305e1d843aeecb662a0fd0c183
ec0884db15955cd5a5ced38066516d9d7c5f2ec5
refs/heads/master
2020-04-18T11:55:34.818226
2019-11-21T07:05:19
2019-11-21T07:05:19
65,983,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.9 on 2016-08-19 17:28 from __future__ import unicode_literals 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 depen...
[ "admin@xyz.com" ]
admin@xyz.com
67bd56ca074f5038ba9301b87e29b5ac1ad3b377
728a703820098d6fe717187478fc856abfbbf7f2
/Boggle.py
172096d610bca81ae377f2364e6078bf946bb1cf
[]
no_license
nipayne/boggle
cb34e45f6ee1afccc1a6386a881d0cf325dfb2b0
6ed8060fc6a6e990781b2be56c3714164cf2820e
refs/heads/main
2023-08-14T20:26:30.410947
2021-09-20T00:53:41
2021-09-20T00:53:41
408,272,114
0
0
null
null
null
null
UTF-8
Python
false
false
2,551
py
import pygame import time import math import random pygame.init() window = pygame.display.set_mode((600, 700)) clock = pygame.time.Clock() points = [] lines = [] begin = False anim = False font = pygame.font.SysFont('didot.ttc', 70) newBoard = True while True: letters = { 1:('a', 'a', 'a'...
[ "noreply@github.com" ]
nipayne.noreply@github.com
debe5f15c52bb08f8beadfea06a498d86d7c81c4
27880c807b97b3b318d002a547680c6881acf460
/tests/argparse/special/test_overwrite.py
a4721283725798b1b7e6875be3aed206d66f9fc3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sbrodehl/miniflask
a1ebb809d544fbc235044624af9193982f01aced
55b350b951ad2120ea13a986f742523206f407c6
refs/heads/master
2022-11-05T05:18:43.383396
2022-09-14T15:26:17
2022-09-14T15:26:17
252,498,534
0
0
null
2020-04-02T15:46:39
2020-04-02T15:46:39
null
UTF-8
Python
false
false
2,702
py
from pathlib import Path import pytest import miniflask # noqa: E402 def test_setup(capsys): mf = miniflask.init( module_dirs=str(Path(__file__).parent / "modules"), debug=True ) mf.load(["defaults"]) mf.parse_args([ "--var_default_override_twice_and_cli", "1114" ]) c...
[ "dhartmann@uni-mainz.de" ]
dhartmann@uni-mainz.de
c453f63b56b29011977ee32465c52b69a612a70d
630fe47bb5aa5e49b45ab101d87c2dd2c53d180f
/venv/Lib/site-packages/com/vmware/nsx/node/aaa/providers/vidm_client.py
b5c31723c754c80b2bea2a739a2388630213feb8
[]
no_license
shrivastava-himanshu/Leetcode_practice
467497a58d82ff3ae2569d5e610dc6f27a1f31d6
4c59799947c2b17bfd22ca2a08707ef85e84a913
refs/heads/main
2023-06-12T13:14:45.381839
2021-07-05T04:09:05
2021-07-05T04:09:05
367,546,005
0
0
null
null
null
null
UTF-8
Python
false
false
4,544
py
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2021 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.nsx.node.aaa.providers.vidm. #------------------------------------------------------...
[ "Himanshu.Shrivastava@vce.com" ]
Himanshu.Shrivastava@vce.com
f73f828ff68b6b89ad727c7f7d2134f8d0622cb4
6e8699e241c5ab65486f6f93ae1c1e35ea841a07
/chat/models.py
d2288b58e70a189f325cd5e5254bff8500713418
[]
no_license
7Angie7/OrgSemaphoreHeroku
233e0e82980367da7df81b1185c52122d6d7097f
f5f777ec2d83bcd8635391ce8288e30b95a9fbb6
refs/heads/main
2023-05-02T13:46:55.827828
2021-05-20T12:36:05
2021-05-20T12:36:05
341,671,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
import uuid from django.db import models from django.conf import settings from django.contrib.auth.models import User # Create your models here. class Semaphore(models.Model): STATUS = ( ('Ready', 'Ready'), ('Busy', 'Busy'), ) name = models.CharField(max_length=200, null=True) time =...
[ "xfasan00@stud.fit.vutbr.cz" ]
xfasan00@stud.fit.vutbr.cz
774f590e2be884ccd9733de49c3547388d9f318a
58180ddeef1d1dde9bbe2443243ac0521662031d
/router-skeleton
a6e56cbd9e52a69f9e6f742d3cf39c9f226f95a4
[]
no_license
kryvtsunt/bgp-router
41b89fbc8a95586798420f3fd0b6e5d8fd428e3a
0f94f2bae0ff40e588088e471a07e6fdd329b0c1
refs/heads/master
2020-03-30T06:57:05.125751
2018-10-12T22:31:19
2018-10-12T22:31:19
150,902,344
0
0
null
null
null
null
UTF-8
Python
false
false
4,952
#!/usr/bin/env python3 import argparse, socket, time, json, select, struct, math #DEBUG = True DEBUG = False parser = argparse.ArgumentParser(description='route packets') parser.add_argument('networks', metavar='networks', type=str, nargs='+', help="networks") args = parser.parse_args() ############################...
[ "tim@login-students.ccs.neu.edu" ]
tim@login-students.ccs.neu.edu
128977c94ecd89aa750a22dabc12b410e6ef0ebc
9039294895cc5334d1f42f3c9f5fad11103c4e5e
/mars/learn/neighbors/_faiss.py
eb9d6c065c65c661f9ed5289b3fe1436e3a1ee22
[ "BSD-3-Clause", "OFL-1.1", "LicenseRef-scancode-unknown-license-reference", "CC0-1.0", "Apache-2.0", "BSD-2-Clause", "MIT" ]
permissive
rg070836rg/mars
27362aa50fa556768b8824a5600aab5f864ad0ab
f7909869bc3c2995e4eeb7c898db9e33b636f9ca
refs/heads/master
2023-04-29T05:18:04.739725
2020-09-29T11:17:31
2020-09-29T11:17:31
299,794,632
0
1
Apache-2.0
2020-09-30T02:59:21
2020-09-30T02:59:21
null
UTF-8
Python
false
false
28,996
py
# Copyright 1999-2020 Alibaba Group Holding 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 a...
[ "noreply@github.com" ]
rg070836rg.noreply@github.com
431bf58645f85ed618cba84c5bd7ac816fcfab9c
2ef98703a2a839f30b056c7d763b3998a05bb676
/MaryLambSong/MaryLambSong_Fast_Style2.py
dbd1031b3bb2f8f188ab52f23f42095190d1d107
[ "MIT" ]
permissive
melwyncarlo/SineWaveMusic
fc0b9cf206b8820a5eae231665f5da93820ae76e
2c5d5e99e3daa5b881e880e8db79dcd62b5bab3b
refs/heads/main
2023-04-18T02:37:36.144219
2021-05-05T14:43:22
2021-05-05T14:43:22
362,060,711
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
# Copyright 2021 Melwyn Francis Carlo import numpy as np import wavio amplitude = 1 samplerate = 22050 notenameslist = ["c4", "d", "e", "f", "g", "a", "b", "c5"] notenumberslist = [40, 42, 44, 45, 47, 49, 51, 52] def notefrequency(notenumber): return (np.power(2, (notenumber-49)/12) * 440) def generateaud...
[ "melwyncarlo@gmail.com" ]
melwyncarlo@gmail.com
24a170eea5b390dd3c88d3b59266038eefe8f04d
6ce8bec457edf5405964e15449c16cf0a6c0905e
/dashboard/migrations/0013_auto_20150528_1536.py
0d813fdcb21d7d8ac6f1a7acc0f7df3ff49efbcc
[]
no_license
DhavalKapil/frozen
a4cb9f7d88b5efbe71a29ffde42547e5cd13c35d
ba75018e3f9de0f3dca656a234f6133cf52ccbb1
refs/heads/master
2021-01-15T18:21:30.869787
2015-06-12T08:58:02
2015-06-12T08:58:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime class Migration(migrations.Migration): dependencies = [ ('dashboard', '0012_auto_20150528_1531'), ] operations = [ migrations.RemoveField( model_name='ip'...
[ "adiitya.adda@gmail.com" ]
adiitya.adda@gmail.com
d6444830907ee1927497602fb48ab4c8a8dd67ed
5c6b17ee3a9a33637efd864063b95cc13b1ee765
/data_science_projects/ML-iris_data/model-building/irisdata-analysis-model.py
805a69ff8ebe830d74b92fe5273543daa7c9f761
[]
no_license
Zenawi777/machinelearning
c2d183d390bf3354e052997db4d16887051120d0
6d5cb6345c4ab5f16c5cfe2030a476c3f1e31280
refs/heads/master
2020-03-22T14:11:26.898866
2019-08-07T20:20:04
2019-08-07T20:20:04
140,159,697
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
# This script import iris data from a file and parses the data for analysis import pandas as pd import matplotlib.pyplot as plt import numpy as np from sklearn.discriminant_analysis import LinearDiscriminantAnalysis from matplotlib import colors # Import data from a file df = pd.read_csv('iris-data-copy.txt',heade...
[ "40924568+Zenawi777@users.noreply.github.com" ]
40924568+Zenawi777@users.noreply.github.com
829de61cb7b57b05162956702f809b027adfab90
0b9c28e31e23072121e2e52f68942c7c2dfeb9e8
/utils.py
8288912b03ed5e150a9f414d6db6d102f052a7a2
[]
no_license
ABUISSON/bonbouquins
e63cb98b3a0c8ad685d764ef0748ab7d0b965163
cb979709302345cc6b77c170e180d336a34020a9
refs/heads/master
2023-05-10T23:57:23.393273
2020-05-05T10:54:35
2020-05-05T10:54:35
261,419,617
0
0
null
2023-05-01T21:23:39
2020-05-05T09:59:35
Python
UTF-8
Python
false
false
349
py
import requests def get_goodreads_data(isbn): """This function uses goodreads API to get number of reviews and grade""" res = requests.get("https://www.goodreads.com/book/review_counts.json", params={"key": "sWSqWzJFOsXzLJL3YgNN2Q", "isbns": isbn}).json() return res['books'][0]['work_ratings_count'], res['...
[ "arnaud.buisson@hec.edu" ]
arnaud.buisson@hec.edu
381d20cf4408a7179a099bd817259c3d963fac83
92deb25e48540896f731a3baf7e1ccf62f35409e
/Grocery.py
b4607deedbcbef5c2d3e69c46959fa46ca048889
[]
no_license
anju-jacob15/Heroku-Project
a18fe4a3f6b4d5a0b98fb1bd7b882ea5447ee4da
7aab85734ad0c110f21a11d955248222253d9c77
refs/heads/main
2023-06-29T08:37:50.611656
2021-07-14T17:27:56
2021-07-14T17:27:56
385,549,008
0
0
null
null
null
null
UTF-8
Python
false
false
1,969
py
#!/usr/bin/env python # coding: utf-8 # In[2]: import numpy as np import pandas as pd from apyori import apriori import matplotlib.pyplot as plt from flask import Flask,request,jsonify,render_template # In[3]: data = pd.read_csv("basket.csv") # In[4]: transactions=[] for i in range(0, 14962): transac...
[ "noreply@github.com" ]
anju-jacob15.noreply@github.com
64b12d49a26a0628242f870670d9e5d34e02cb5e
f850e0f75a76c500f5ba8a9ab6fa6d5f40d22b23
/pyecharts_demo/demos/Bar/multiple_y_axes.py
e006b619f9172a4af780cb1631e85e41c4e503b7
[ "MIT" ]
permissive
jay20161013/pywebio-chart-gallery
805afa2643b0d330a4a2f80f1e0a8827e8f61afe
11fd8a70b2e9ff5482cf5924b110a11f3469edfc
refs/heads/master
2023-03-20T01:58:30.979109
2021-03-18T12:48:31
2021-03-18T12:48:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,851
py
from pywebio.output import put_html import pyecharts.options as opts from pyecharts.charts import Bar, Line """ Gallery 使用 pyecharts 1.0.0 参考地址: https://www.echartsjs.com/examples/editor.html?c=multiple-y-axis 目前无法实现的功能: 1、暂无 """ colors = ["#5793f3", "#d14a61", "#675bba"] x_data = ["1月", "2月", "3月", "4月", "5月", "6月...
[ "wang0.618@qq.com" ]
wang0.618@qq.com
1ac8baab2abb8dd6a74ac797074a3aa84bd0c1b1
c43e3e922942c0a5fe4222c3889d6a433d40ba0f
/code.py
e2de647bebb1eee1fbd2af1d2edfb9502cf72e75
[]
no_license
pencilcheck/news-gen
ae6a8ce61c016ac2020acb64234fa062ac3197db
f3bf66b697531be147887ba0630518a283b8b867
refs/heads/master
2021-01-19T08:12:23.200742
2009-09-20T17:24:58
2009-09-20T17:24:58
32,120,599
0
0
null
null
null
null
UTF-8
Python
false
false
2,209
py
import web import simplejson as sjson import news_wrapper import YQL import re import os import shutil import glob render = web.template.render('templates/') urls = ( '/', 'index', '/gen_news', 'gen_news', '/form_test', 'form_test', '/newspdf.json', 'newspdf', '/test', 'test' ...
[ "koshroy@94dc41b0-a5a8-11de-b195-ab392a2a73f5" ]
koshroy@94dc41b0-a5a8-11de-b195-ab392a2a73f5
f2efe90e68e45d0b74b1d73ab51d091eb4d258aa
5c5b8333f80d6541c38b245f4041a0bbe1caa3e2
/main.py
3d4fc4ed9a9855775b936b04114ec01c722c13be
[]
no_license
DrSpooglemon/StopWatch
2405ab999816571d600d876c653803493c1aae85
63748ab855f3842fe619fa0bae8fa6639a5a8048
refs/heads/main
2023-08-28T22:23:49.672638
2021-11-02T14:39:10
2021-11-02T14:39:10
423,916,580
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/python3 from kivy.app import App from screens import StopWatchScreen class StopWatchApp(App): def build(self): self.screen = StopWatchScreen() return self.screen def on_stop(self): self.screen.on_close() if __name__ == '__main__': StopWatchApp().run()
[ "spooglemon@gmail.com" ]
spooglemon@gmail.com
e37ae19a25ab11fbbe322946523540b29fe7a618
fc33ec4fd149843556442ae420547a294509e411
/ros/pr2_commander/src/pr2_commander/srv/_Give.py
87eae0392ef8680cb31b893912c77a0fb23b1663
[]
no_license
majunfu/essential
317179e5d39bcf1327c29b769933326367456035
d1f4de29c3188a7864c2bc01c09b09d182f7426a
refs/heads/master
2021-01-14T08:54:41.919316
2015-06-02T21:39:19
2015-06-02T21:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,649
py
"""autogenerated by genpy from pr2_commander/GiveRequest.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class GiveRequest(genpy.Message): _md5sum = "2ac5db510c2f9135f545febefbebd09b" _type = "pr2_commander/GiveRequest" _has_header = False #fla...
[ "gmanfred@laas.fr" ]
gmanfred@laas.fr
1e612de0ff21a5d54ff8d905a3d7e7e5f7510b58
08ea46c0a9fb71ef222cf6afa2e9094f5663dcfb
/pvactools/tools/pvacbind/identify_problematic_amino_acids.py
fb5a4cb95dae0fe95093e0e63171cb4c66f08daf
[ "BSD-3-Clause-Clear" ]
permissive
griffithlab/pVACtools
e358919eee76100f79dbe8d40d02b3fce8b227ac
3317d2c18e82edb5ea183ae09820beb68c39d256
refs/heads/master
2023-08-09T15:42:06.725426
2023-08-09T14:28:44
2023-08-09T14:28:44
102,625,109
124
64
BSD-3-Clause-Clear
2023-09-08T14:17:22
2017-09-06T15:23:04
Python
UTF-8
Python
false
false
484
py
import sys import argparse import tempfile from pvactools.lib.identify_problematic_amino_acids import IdentifyProblematicAminoAcids def define_parser(): return IdentifyProblematicAminoAcids.parser('pvacbind') def main(args_input = sys.argv[1:]): parser = define_parser() args = parser.parse_args(args_inpu...
[ "susanna.kiwala@wustl.edu" ]
susanna.kiwala@wustl.edu
13a79070e4b920cd6a009687694ea439482790b6
d4c6c5f42bc9d92b4cf67d936ee19ca9eb8e242d
/server/predict.py
45c4a79277e023aab9d6accbc566ab2f478d00d7
[ "MIT" ]
permissive
woonzh/image_capture
c6487995b692db51ddb9d13393db596a8f1499eb
2361d0d006babf77e23c7ddd956079c1cd52f793
refs/heads/master
2020-05-17T06:21:26.304323
2019-04-26T04:37:07
2019-04-26T04:37:07
183,557,026
0
0
null
null
null
null
UTF-8
Python
false
false
2,837
py
import os import face_recognition_api import pickle import numpy as np import pandas as pd def get_prediction_images(prediction_dir): files = [x[2] for x in os.walk(prediction_dir)][0] l = [] exts = [".jpg", ".jpeg", ".png"] for file in files: _, ext = os.path.splitext(file) if ext.lowe...
[ "xuyanru516@pingan.com.cn" ]
xuyanru516@pingan.com.cn
ba091c1a6d2618478241461ac84ca3223dddf073
2e93cb33f4a4e946635031c608d9b693ef10fde1
/Python/Py_ex1/list7.py
bb049b7c4d090094684ee2d6252314ab70ce27df
[]
no_license
kw78999/MyStudy
34b5718125a30f6835056f02c716b5d2d6e84472
adb34fc5a423c6ae5761a404de1157fc95b93047
refs/heads/main
2023-04-11T00:44:28.668482
2021-04-23T05:11:00
2021-04-23T05:11:00
305,602,182
1
0
null
null
null
null
UTF-8
Python
false
false
111
py
import random lotto = set() cnt2 = 0 for i in range(6): lotto.add(random.randint(1,45) print(lotto)
[ "kw78999@naver.com" ]
kw78999@naver.com
222e0833d388b0280d65ff78eb7ee790a0581964
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/djangoapps/student/role_helpers.py
ffe0f2c9f20f8f9d2d6244b6ab63b737d5bbcf22
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
1,412
py
""" Helpers for student roles """ from openedx.core.djangoapps.django_comment_common.models import ( FORUM_ROLE_ADMINISTRATOR, FORUM_ROLE_COMMUNITY_TA, FORUM_ROLE_GROUP_MODERATOR, FORUM_ROLE_MODERATOR, Role ) from common.djangoapps.student.roles import ( CourseBetaTesterRole, CourseInstruc...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
42da6266333064addf16717b63ea75a0c5172536
b09a3f8ba43d7a1500994228ffc40cfc7eff3ec8
/packages/influxdb-2.4.0/influxdb/client.py
007115fc938e0766fd6c4349b8e01c3bffe32d6b
[]
no_license
kotavi/robotframework_tests
a2641ecd1797ea87468b63272cfdd0d615845c4e
c922dd858a4bf0885bfe847c0e83ebac3095e0b5
refs/heads/master
2020-05-27T22:22:00.746762
2017-03-01T20:55:38
2017-03-01T20:55:38
83,595,785
1
0
null
null
null
null
UTF-8
Python
false
false
28,635
py
# -*- coding: utf-8 -*- """ Python client for InfluxDB """ from functools import wraps import json import socket import random import requests import requests.exceptions from sys import version_info from influxdb.resultset import ResultSet try: xrange except NameError: xrange = range if version_info[0] == 3...
[ "tkorchak@mirantisits-MacBook-Pro-5.local" ]
tkorchak@mirantisits-MacBook-Pro-5.local
2ff121a31149f14fe4136ebb182c991cdd5a7f65
2d528c884121b06da5cb14ba0905fbd953c80721
/problemas/admin.py
5e2988c8df1bba0b0bbe3990bb4ad58b916cdd87
[]
no_license
edgarlatorre/dojopuzzles
d1fbf424c75ef3465279841066e9cfd22074cfea
520f69fdad4bb2b7993b384f206ab75f11f8d65e
refs/heads/master
2021-01-15T20:28:32.128110
2011-02-02T18:48:05
2011-02-02T18:48:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from django.contrib import admin from dojopuzzles.problemas.models import Problema, ProblemaUtilizado admin.site.register(Problema) admin.site.register(ProblemaUtilizado)
[ "rennerocha@gmail.com" ]
rennerocha@gmail.com
9a7296f18544bfcc7226ab3b8ddab3d416190998
165c5ef99e6ee0cfe92f7dcfe97ea5da2b4ae2de
/app.py
22bb47e37de2e8e2b4e0dbeee355c805bf488b79
[]
no_license
kmicinski/terrible-web-app
5751ab019cbd17e9d6fb4917b1cf1154f9f3c186
8bd14efe707a06eeb653aba6897da21d17d700c0
refs/heads/master
2020-03-09T15:06:45.145599
2018-04-10T00:53:36
2018-04-10T00:53:36
128,851,687
1
0
null
null
null
null
UTF-8
Python
false
false
7,011
py
# Starter code for 311 web security in-class demos. We'll use this for # SQLi, XSS, and XSRF. # # First, install flask # pip install flask # # Then, to initialize the database, run the following: # python app.py init # Then run the app itself as: # python app.py # # Largely taken from https://gist.github.com/ha...
[ "krismicinski@gmail.com" ]
krismicinski@gmail.com
d016351350bb59868b7dd83358e1456fe8da1484
f293856327d9dfdbb38238ddb904a55b9077df9e
/app.py
61c5836a3e1295d2270f2f78400862122db2994f
[]
no_license
ANSH3LL/Tasks-todo
a4038d0430f29700151fc68a7cb01c54a1d14012
d61c2335d9b2c2add782a9ff4c8f9243c9b6a30e
refs/heads/master
2020-12-09T17:40:45.432979
2020-01-12T10:26:54
2020-01-12T10:26:54
233,372,824
0
0
null
null
null
null
UTF-8
Python
false
false
2,641
py
import os import bcrypt from flask import (Flask, render_template, request, url_for, session, redirect, flash, jsonify) import database app = Flask(__name__) app.config['SECRET_KEY'] = os.urandom(32) db = database.Database('store.db') @app.route('/') def index(): return render_template('index.html'...
[ "noreply@github.com" ]
ANSH3LL.noreply@github.com
879fcdafc92b2ed903f514985a299a1d0d579ed1
f3ad34ae8cc5652ca6391ae7d7431cb933d0edda
/manage.py
1d98914f9e12799a2636f4e5d88d967d309fec05
[]
no_license
CesarHdez/web_playground
4485900ee77f1d7c2b62f76548e5fe911ee5789d
59dd17611e1286b0327b2161d8b98e5915186e12
refs/heads/master
2023-02-24T06:10:55.769253
2021-01-31T10:12:35
2021-01-31T10:12:35
317,523,177
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "web_playground.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Djang...
[ "chdez293@gmail.com" ]
chdez293@gmail.com
0e37f6d397bc4a8be4ef6ac099eba511e2fe2d58
f0632c3930dfb8fc1e96607c673c28f1704dfe6c
/SS_builder.py
9daabb1879fa24014833d07db03f41297dc27ea8
[]
no_license
koshippy/SanctuarySaver
b0de4d61bda12377293a95ba52957f40aa766d37
8b9f20f1ed9d5498a5ead66281383c0232444edc
refs/heads/master
2020-05-31T23:56:04.720034
2015-02-19T22:03:18
2015-02-19T22:03:18
30,993,331
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
import itertools hotkeys = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '{NUMPAD0}', '{NUMPAD1}', '{NUMPAD2}', '{NUMPAD3}', '{NUMPAD4}', '{NUMPAD5}', '{NUMPAD6}', '{NUMPAD7}', '{NUMPAD8}', '{NUMPAD9}', '{NUMPADMULT}', '{NUMPADADD}', ...
[ "kos.hippy@gmail.com" ]
kos.hippy@gmail.com
fac3834fb69212ed28fea94b9c0e01739924aa40
73db0789f8f4b6cbc111def56880bd79d03171e5
/python/bin2pybytes.py
cb8b0c6998a574cce8d4f64577141ad6f5261c3a
[ "BSD-2-Clause" ]
permissive
Matir/hacks
fa23cd28bf52234afc6d2837556263803c53ec6a
a11173ef60ff777a8a241ec5f936ee71223adceb
refs/heads/main
2023-08-16T23:37:25.261647
2023-08-15T02:37:14
2023-08-15T02:37:14
216,129,440
13
7
BSD-2-Clause
2023-08-15T02:37:15
2019-10-19T00:52:31
C
UTF-8
Python
false
false
1,469
py
#!/usr/bin/env python import argparse import sys def yield_chunks(fp, chunksize): while True: rv = fp.read(chunksize if chunksize else -1) if not rv: return None yield rv def main(argv): parser = argparse.ArgumentParser() parser.add_argument('-b', default=False, acti...
[ "david@systemoverlord.com" ]
david@systemoverlord.com
7b8f453324646c6b902cb64768be52e1efd1a116
1f6b4eccb56990578524b116e0a7de9e86c4edca
/leaf_conv1d_cv.py
45b00ea8b7749a6fe4d5771b3a6ab9b69567edbf
[]
no_license
j12138/Leaf_Project
59d54c25cf22f67ddd6a3d9f5e1058fe0ba452b0
e908a2f18da4e66568eaf64f40884a58d02dc815
refs/heads/master
2022-03-21T15:56:49.697877
2019-12-02T23:03:11
2019-12-02T23:03:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,556
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 22 11:05:42 2018 @author: Dongyang This script uses 10 fold cv to test the performance of this classifier on the Swedish leaf dataset. """ from sklearn.model_selection import train_test_split from keras.layers import Input, Dense, Dropout, BatchNormalizatio...
[ "noreply@github.com" ]
j12138.noreply@github.com
63a7fbed29b4435a93df7fae18bd166fecbf6d56
1f9644032c229b2041a5f36758b8c1265d195cc1
/dataManager/tests/test.py
2ff3f3b993ccc021c053e20f4a215f0b73bfcca8
[ "MIT" ]
permissive
Pensarfeo/DataManager
3cad6e28cd3aa3db26fd2aab04fe11caa3da299d
20335b86f5bc47ab5fa7c6facfea701f085a0fe7
refs/heads/master
2020-06-04T23:22:02.822982
2019-07-02T15:48:14
2019-07-02T15:48:14
192,231,056
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
# Some basic tests DataManager = tools.dynamicImportDev('dataManager').Manager # traininigDataFun, trainingData = tools.importData('training') # trainingDataProvider = DataProvider( # data = traininigDataFun, # bz = env.training.bz, # stochasticSampling = False, # indexingShape = [trainingData.shape[0...
[ "pa.favuzzi@gmail.com" ]
pa.favuzzi@gmail.com
670fe8df03baa050e48bad2abf3ef2e7f2e60071
384497dfcc4cbd789cd35fa3c4b75ececefcf765
/nuclear/message/build_outer_python_binding.py
d8f5568cb0777eeb40b1dc149e0958332e4b2bdb
[ "MIT" ]
permissive
Fastcode/NUClearExample
061947f59f7b8beadbe7a6ab3965ec72927ba03d
1ce424a935a035df20bbc6d8018bd2bcd4194dd9
refs/heads/master
2020-12-08T09:32:46.561577
2018-12-16T00:24:48
2018-12-16T00:24:48
67,031,019
0
1
null
null
null
null
UTF-8
Python
false
false
1,993
py
#!/usr/bin/python import sys import os from generator.textutil import indent, dedent # Get our file we are outputting too base_file = sys.argv[1] # Get our root message directory message_dir = sys.argv[2] # Get our list of functions we have to call functions = [] duplicates = [] for dep_file in sys.argv[3:]: wit...
[ "trent@houliston.me" ]
trent@houliston.me
6009e18ce7b448841305b9ec9dd106d22a075c9a
5f509aec51f0df62691de51b5aa7ba1c64ec7455
/redis_map.py
17fb58ea49d9eae8fccd4310efc1cf3323112635
[]
no_license
rfyiamcool/redis_map
233f86c2b9bede4c0e12eea73be232145b75da55
87c17dc923af9a29a7c8549d781870fb43579842
refs/heads/master
2020-03-18T17:51:47.209557
2018-05-27T15:05:14
2018-05-27T15:05:14
135,055,849
0
0
null
null
null
null
UTF-8
Python
false
false
4,848
py
# coding:utf-8 from contextlib import contextmanager from future.utils import python_2_unicode_compatible from redis import StrictRedis @python_2_unicode_compatible class RedisDict(object): def __init__(self, *args, **kwargs): self.namespace = '' if 'namespace' in kwargs: # Todo vali...
[ "rfyiamcool@163.com" ]
rfyiamcool@163.com
aa6f7a1dc10673b7e011f05a3d017808b2e7e6ed
2dd72c5c0cf3dabea137f2035bb4c0e008c8eca7
/estante/admin.py
ccf55ee243e19830875a43085eed05062ac3fc9f
[]
no_license
brunadelrio/biblio
fda7c70fbae9826c61a07e8c971f47244ac14164
f48662a1e103628ca8503a1c9f68d6f7ec9c9c98
refs/heads/master
2022-12-14T01:16:18.365982
2018-12-06T13:16:54
2018-12-06T13:16:54
160,677,171
0
0
null
2022-12-08T01:20:01
2018-12-06T13:15:45
JavaScript
UTF-8
Python
false
false
296
py
from django.contrib import admin # Register your models here. from estante.models import Pessoa, Livro, Emprestimo #from estante.models.livro import Livro #from estante.models.emprestimo import Emprestimo admin.site.register(Pessoa) admin.site.register(Livro) admin.site.register(Emprestimo)
[ "brunaadelrio@gmail.com" ]
brunaadelrio@gmail.com
107461761e9c1e422537657ae98aa79ec31f418c
67058e187402f96b985ea5848da7693d8eb44b44
/rbm.py
c2c2aff25cd97a4059b90510942790730d738917
[]
no_license
zheng6822/zheng6822.github.com
900be2d9c522693a09853f1041deb433953f212b
76082c269635c5bbdee382266d28730c4407275d
refs/heads/master
2020-12-25T00:29:02.190012
2012-09-30T14:46:10
2012-09-30T14:46:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,387
py
# -*- coding: utf-8 -*- """ Created on Tue Sep 18 14:52:30 2012 @author: zhengxin """ #============================================================================== # This file contains three(four) kinds of RBMs: Gaussian-Bernoulli RBM, # Bernoulli-Bernoulli RBM, Discriminative RBM #============================...
[ "zheng6822@somewhere.com" ]
zheng6822@somewhere.com
25ac74774aba97bc67419a78e3604816ebe28186
fe91afc3e00028852323b63ce49f74244338f614
/rest_api_ta/wsgi.py
2a033bbf3c52bcd8e5eef89e94e96b828c430a71
[]
no_license
nabilapspta/Backend-Duit
1870fbbc16bcba7a53de51735a9a68844f4a259a
9f20cbcbfc6bf49c588cbaa0cec2a6a81b7d0947
refs/heads/master
2023-03-22T01:40:56.069799
2021-03-17T08:29:46
2021-03-17T08:29:46
348,633,500
1
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for rest_api_ta project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "nabilapuspita1@gmail.com" ]
nabilapuspita1@gmail.com
6394a2ecb06983781a9b4f36dfbe1b467f515d16
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/KCB_YCHF/KCB_YCHF_MM/OMS/YCHF_KCBYCHF_OMS_063.py
bf7954767971a8fe32cc9735084cfdcaf4130323
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,495
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test//xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test//service") from ServiceConfig import * from ARmainservice import * from QueryStkPriceQty import * from log import * sys.path.append...
[ "418033945@qq.com" ]
418033945@qq.com
28a140f400a6d510811875a29923efe76038cf73
ebe422519443dbe9c4acd3c7fd527d05cf444c59
/evaluation_expression.py
ae02e8d4501a759bbab9c83d68ce0494a8051e94
[]
no_license
SaiSudhaV/coding_platforms
2eba22d72fdc490a65e71daca41bb3d71b5d0a7b
44d0f80104d0ab04ef93716f058b4b567759a699
refs/heads/master
2023-06-19T18:05:37.876791
2021-07-15T18:02:19
2021-07-15T18:02:19
355,178,342
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
class Solution: # @param A : list of strings # @return an integer def evalRPN(self, A): res, opr = [], ['+', '-', '*', '/'] for i in A: if i not in opr: res.append(i) elif len(res) >= 2: tem1 = str(res.pop()) tem2 = str(...
[ "saisudhavadisina@gmail.com" ]
saisudhavadisina@gmail.com
41c7c6b9f8fa569e9684c6357657508eeec2d461
0e66e83eb49c6f708727ab6e52cc9e962c1ef952
/python56-59Django/sapkuky/personas/migrations/0001_initial.py
8a0a3c714d72584b4791a57a7b72389b92d305b9
[]
no_license
kukiracle/curso_python
51742d2f10997a6ab917346101518fd163c9e28f
18c3cb026e996941de6ecc2483698ab24f247717
refs/heads/main
2023-08-15T05:45:35.634979
2021-10-13T02:26:38
2021-10-13T02:26:38
416,559,488
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
# Generated by Django 3.2.6 on 2021-08-22 01:55 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Persona', fields=[ ('id', models.BigAutoFie...
[ "kukypelmaso@gmail.com" ]
kukypelmaso@gmail.com
ee0d1f6ab07282ef487a55f8caa50881541945c5
48a7b266737b62da330170ca4fe4ac4bf1d8b663
/molsysmt/form/string_pdb_text/extract.py
73bb0feea3ace5d705b0963185af3e24f5ad4607
[ "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
812
py
from molsysmt._private.exceptions import NotImplementedMethodError from molsysmt._private.digestion import digest from molsysmt._private.variables import is_all @digest(form='string:pdb_text') def extract(item, atom_indices='all', structure_indices='all', copy_if_all=True): if is_all(atom_indices) and is_all(stru...
[ "prada.gracia@gmail.com" ]
prada.gracia@gmail.com
a9f17ae78f760cc3ece4257ce9addd1dedda6b14
bf99c721ec863fc91e67586a9ad9e477d3bf3643
/test.py
50e26890629a6fb8cf0da77dce38ebd319bd20d7
[]
no_license
HamiltonAgwulonu/Python-Crash-Course
ba1c1c2b76688095b39d87c5d89c9e3d5f7ba192
5eccc71568af34354eaa87717d0399c58d0bf6b2
refs/heads/master
2020-12-12T17:26:28.117237
2020-01-15T23:21:11
2020-01-15T23:21:11
234,184,623
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
# nums = [1, 2, 3, 4, 5] # for num in nums: # if num == 3: # print("Found!") # break # print(num) # for num in nums: # if num == 3: # print("Found!") # continue # print(num) # for num in nums: # for letter in "abc": # print(num, letter) # for i in range(1, 11): # print(i) # x = 0 # while x < 10: #...
[ "hamilton.agwulonu@gmail.com" ]
hamilton.agwulonu@gmail.com
77f5af4c2ac23f8d0dcf8e352325b8f01ef19cd8
e2f71bcc6a5cad8d8f6ad96852a1f9446d05f891
/code/leetcode/self_dividing_numbers.py
e81a6f24af8d503670afcadfa5de5b9e0c8ae834
[]
no_license
GodferyChen/LearnPython
210d1c150f5f6d5b5f086ec9f77a539f5c1770e1
d5cb60a73df946c74b92aa6aeb87c04c4d54788c
refs/heads/master
2021-09-02T15:06:51.207012
2018-01-03T10:28:59
2018-01-03T10:28:59
106,989,159
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- class Solution: @staticmethod def selfDividingNumbers(left, right): def check(num): digits = set(map(int, str(num))) if 0 in digits: return False return not any(num % d for d in digits) return filter(check, rang...
[ "chenxh.cz@gmail.com" ]
chenxh.cz@gmail.com
cfdccc084372dfcf73094b57b03f4b0b2f5be174
2a88cc221f13d50dcd88ea959193a4b08b21141a
/jsonpatchext/mutators.py
a5bf8fb465376a723fae58f3541a1b2b705508d9
[ "BSD-3-Clause" ]
permissive
RangelReale/python-json-patch-ext
b69bd6ae4090e81ce2bb31ae17f0949e4c2f2387
c4534bf49346a2e05849de490b0b50f2e19dcfaa
refs/heads/master
2023-05-12T15:17:43.168646
2021-06-02T12:24:33
2021-06-02T12:24:33
307,665,517
1
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
import re def UppercaseMutator(current, value): """Uppercase the value.""" return current.upper() def LowercaseMutator(current, value): """Lower the value.""" return current.lower() def CastMutator(current, value): """Cast value.""" return value(current) def RegExMutator(current, value):...
[ "rangelspam@gmail.com" ]
rangelspam@gmail.com