id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10,700 | file_system.py | zatosource_zato/code/zato-common/src/zato/common/util/file_system.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import os
import re
import string
from datetime import datetime, timedelta
from pathlib import Path
from tempfile import gettempdir
from time import sleep
f... | 3,811 | Python | .py | 78 | 44.346154 | 130 | 0.421195 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,701 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/util/cloud/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,702 | google.py | zatosource_zato/code/zato-common/src/zato/common/util/cloud/google.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 3,266 | Python | .py | 67 | 41.343284 | 130 | 0.466919 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,703 | confluence.py | zatosource_zato/code/zato-common/src/zato/common/util/cloud/atlassian/confluence.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from dataclasses import dataclass
# Zato
from zato.server.service import Model
from zato.common.typing_ import list_, list_field
from zato.common.util.file... | 5,273 | Python | .py | 112 | 41.125 | 130 | 0.381481 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,704 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/util/cloud/atlassian/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,705 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/util/sql/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from itertools import chain
from logging import DEBUG, getLogger
# Bunch
from bunch import bunchify
# gevent
from gevent import sleep
# SQLAlchemy
from s... | 12,763 | Python | .py | 244 | 44.905738 | 130 | 0.468152 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,706 | retry.py | zatosource_zato/code/zato-common/src/zato/common/util/sql/retry.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from logging import DEBUG, getLogger
# gevent
from gevent import sleep
# SQLAlchemy
from sqlalchemy.exc import InternalError as SAInternalError, Operation... | 4,361 | Python | .py | 80 | 47.3 | 130 | 0.411959 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,707 | connector.py | zatosource_zato/code/zato-common/src/zato/common/model/connector.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.typing_ import boolnone, dataclass, intnone, strnone
# #####################################################################################... | 997 | Python | .py | 23 | 40.347826 | 130 | 0.330579 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,708 | keysight_.py | zatosource_zato/code/zato-common/src/zato/common/model/keysight_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 1,036 | Python | .py | 18 | 52.944444 | 130 | 0.267522 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,709 | hl7.py | zatosource_zato/code/zato-common/src/zato/common/model/hl7.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 1,999 | Python | .py | 35 | 51.114286 | 130 | 0.349004 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,710 | microsoft_365.py | zatosource_zato/code/zato-common/src/zato/common/model/microsoft_365.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 1,076 | Python | .py | 19 | 51.789474 | 130 | 0.280418 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,711 | file_transfer.py | zatosource_zato/code/zato-common/src/zato/common/model/file_transfer.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ######################################... | 2,618 | Python | .py | 52 | 42.903846 | 130 | 0.388083 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,712 | api.py | zatosource_zato/code/zato-common/src/zato/common/model/api.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 148 | Python | .py | 5 | 28.2 | 64 | 0.687943 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,713 | salesforce.py | zatosource_zato/code/zato-common/src/zato/common/model/salesforce.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 980 | Python | .py | 17 | 53.294118 | 130 | 0.273486 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,714 | security.py | zatosource_zato/code/zato-common/src/zato/common/model/security.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.typing_ import dataclass
from zato.server.service import Model
# ###########################################################################... | 2,364 | Python | .py | 48 | 46.083333 | 130 | 0.305122 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,715 | sso.py | zatosource_zato/code/zato-common/src/zato/common/model/sso.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.typing_ import dataclass
from zato.server.service import Model
# ###########################################################################... | 891 | Python | .py | 17 | 50.352941 | 130 | 0.293779 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,716 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/model/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 148 | Python | .py | 5 | 28.2 | 64 | 0.687943 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,717 | scheduler.py | zatosource_zato/code/zato-common/src/zato/common/model/scheduler.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from typing import Callable as callable_, Optional as optional
# Zato
from zato.common.typing_ import dataclass, from_dict
from zato.common.model.connector impor... | 1,728 | Python | .py | 37 | 43 | 130 | 0.508021 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,718 | google.py | zatosource_zato/code/zato-common/src/zato/common/model/google.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.typing_ import dataclass
from zato.server.service import Model
# #################################################################################... | 909 | Python | .py | 19 | 45.473684 | 130 | 0.291855 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,719 | kvdb.py | zatosource_zato/code/zato-common/src/zato/common/model/kvdb.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ######################################... | 983 | Python | .py | 20 | 44.1 | 130 | 0.264092 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,720 | wsx.py | zatosource_zato/code/zato-common/src/zato/common/model/wsx.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.api import WEB_SOCKET
from zato.common.typing_ import anynone, boolnone, callnone, dataclass, from_dict, intnone, strnone
from zato.common.model.co... | 1,805 | Python | .py | 41 | 40.121951 | 130 | 0.519636 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,721 | audit_log.py | zatosource_zato/code/zato-common/src/zato/common/model/audit_log.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ######################################... | 1,073 | Python | .py | 23 | 41.086957 | 130 | 0.272727 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,722 | groups.py | zatosource_zato/code/zato-common/src/zato/common/model/groups.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 1,405 | Python | .py | 23 | 56.652174 | 130 | 0.226909 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,723 | atlassian_.py | zatosource_zato/code/zato-common/src/zato/common/model/atlassian_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 982 | Python | .py | 17 | 53.411765 | 130 | 0.25625 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,724 | amqp_.py | zatosource_zato/code/zato-common/src/zato/common/model/amqp_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# dacite
from dacite.core import from_dict
# Zato
from zato.common.typing_ import callnone, dataclass, intnone, stranydict, strnone
from zato.common.model.connector... | 1,298 | Python | .py | 29 | 41.551724 | 130 | 0.438541 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,725 | _pyproject.toml.ini | zatosource_zato/code/_pyproject.toml.ini | [tool.pyright]
pythonVersion = "3.8"
typeCheckingMode = "basic"
#
# This is level 1
#
reportOptionalOperand = "error"
reportPrivateUsage = "none"
reportAssertAlwaysTrue = "error"
reportUnusedImport = "error"
reportUnusedFunction = "error"
reportUnusedCallResult = "error"
reportUnusedVariab... | 1,931 | Python | .pyp | 71 | 25.366197 | 66 | 0.739342 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,726 | mode-python.js | zatosource_zato/code/zato-web-admin/src/zato/admin/static/ace-builds/src/mode-python.js | define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var PythonHighlightRules = function(... | 15,694 | Python | .pyt | 472 | 22.834746 | 197 | 0.457915 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,727 | test_attach.py | zatosource_zato/code/zato-cy/test/zato/cy/simpleio_/test_attach.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2020, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Zato
from zato.common.test import BaseSIOTestCase
from zato.server.service impo... | 1,935 | Python | .tac | 30 | 58.766667 | 130 | 0.503966 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,728 | openstack.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/security/openstack.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Django
from django import forms
class CreateForm(forms.Form):
id = forms.C... | 779 | Python | .tac | 15 | 49.2 | 107 | 0.741425 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,729 | test_dataclass_open_api.py | zatosource_zato/code/zato-server/test/zato/apispec/test_dataclass_open_api.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from copy import deepcopy
from unittest import main
# Zato
from zato.common.test.apispec_ import run_common_apispec_assertions, service_name, sio_config
fr... | 2,986 | Python | .tac | 57 | 46.368421 | 130 | 0.462676 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,730 | test_invoke_dataclasses.py | zatosource_zato/code/zato-server/test/zato/rest/test_invoke_dataclasses.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from unittest import main
# Zato
from zato.common.test.rest_client import RESTClientTestCase
# ###########################################################... | 3,614 | Python | .tac | 71 | 43.535211 | 130 | 0.391465 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,731 | test_json_to_dataclass.py | zatosource_zato/code/zato-common/test/zato/common/marshall_/test_json_to_dataclass.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from unittest import main, TestCase
# Zato
from zato.common.ext.dataclasses import dataclass, field
from zato.common.marshal_.api import MarshalAPI, Model
... | 8,727 | Python | .tac | 178 | 39.308989 | 130 | 0.463607 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,732 | test_attach.py | zatosource_zato/code/zato-common/test/zato/common/marshall_/test_attach.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from unittest import main
# Zato
from zato.common.ext.dataclasses import dataclass
from zato.common.marshal_.api import Model
from zato.common.marshal_.sim... | 2,280 | Python | .tac | 39 | 55.205128 | 130 | 0.305169 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,733 | _dataclasses.py | zatosource_zato/code/zato-common/src/zato/common/ext/_dataclasses.py |
"""
This module is a vendor copy of the dataclasses package from https://pypi.org/project/dataclasses/
The original license is:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR US... | 57,009 | Python | .tac | 1,170 | 40.498291 | 98 | 0.609624 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,734 | dataclasses.py | zatosource_zato/code/zato-common/src/zato/common/ext/dataclasses.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# flake8: noqa
# Be explicit about which import error we want to catch
try:
import dataclasses
# Python 3.6
except ImportError:
from zato.common.ext._datac... | 501 | Python | .tac | 17 | 26.941176 | 64 | 0.732218 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,735 | setup.py | novoid_Memacs/setup.py | from setuptools import setup, find_packages
# building extra requirements with "all" option to install everything at once
extras_require = {
"gps": ["gpxpy", "geocoder"],
"rss": ["feedparser"],
"ical": ["icalendar"],
"lastfm": ["pylast"],
"battery": ["batinfo"],
"twitter": ["python-dateutil", "... | 3,174 | Python | .py | 69 | 38.26087 | 99 | 0.650435 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,736 | memacs_sms.py | novoid_Memacs/bin/memacs_sms.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2014-12-13 13:39:15 vk>
from memacs.sms import SmsMemacs
PROG_VERSION_NUMBER = "0.2"
PROG_VERSION_DATE = "2014-12-13"
PROG_SHORT_DESCRIPTION = "Memacs for sms"
PROG_TAG = "sms"
PROG_DESCRIPTION = """
This Memacs module will parse output of sms xml backup f... | 985 | Python | .py | 30 | 29.033333 | 70 | 0.702218 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,737 | memacs_firefox.py | novoid_Memacs/bin/memacs_firefox.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:18:07 vk>
from memacs.firefox import Firefox
PROG_VERSION_NUMBER = "0.0"
PROG_VERSION_DATE = "2018-07-14"
PROG_SHORT_DESCRIPTION = "Memacs for firefox url history "
PROG_TAG = "firefox"
PROG_DESCRIPTION = """
This class will parse firefox his... | 1,099 | Python | .py | 32 | 30.53125 | 66 | 0.709708 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,738 | memacs_git.py | novoid_Memacs/bin/memacs_git.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:18:40 vk>
from memacs.git import GitMemacs
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2011-12-20"
PROG_SHORT_DESCRIPTION = "Memacs for git files "
PROG_TAG = "git"
PROG_DESCRIPTION = """
This class will parse files from git rev-parse ou... | 1,115 | Python | .py | 32 | 31.1875 | 67 | 0.715084 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,739 | memacs_svn.py | novoid_Memacs/bin/memacs_svn.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:20:01 vk>
from memacs.svn import SvnMemacs
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2011-12-27"
PROG_SHORT_DESCRIPTION = "Memacs for svn"
PROG_TAG = "svn"
PROG_DESCRIPTION = """
This Memacs module will parse output of svn log --xml
s... | 1,178 | Python | .py | 40 | 25.45 | 60 | 0.682301 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,740 | memacs_lastfm.py | novoid_Memacs/bin/memacs_lastfm.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from memacs.lastfm import LastFM
CONFIG_PARSER_NAME="memacs-lastfm"
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2017-02-24"
PROG_SHORT_DESCRIPTION = "Memacs for lastfm"
PROG_TAG = "lastfm"
COPYRIGHT_YEAR = "2017"
COPYRIGHT_AUTHORS = """Manuel Koell <mankoell@gmai... | 757 | Python | .py | 24 | 27 | 59 | 0.687845 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,741 | memacs_mumail.py | novoid_Memacs/bin/memacs_mumail.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2015-04-30 17:12:02 vs>
from memacs.mu import MuMail
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2015-03-08"
PROG_SHORT_DESCRIPTION = "Memacs for Mu Mails"
PROG_TAG = "emails:mumail"
PROG_DESCRIPTION = """This memacs module will connect mu mail databa... | 998 | Python | .py | 30 | 29.266667 | 71 | 0.697505 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,742 | memacs_sms_superbackup.py | novoid_Memacs/bin/memacs_sms_superbackup.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-09-12 09:11 igb>
from memacs.sms_superbackup import SmsSuperBackupMemacs
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2012-03-07"
PROG_SHORT_DESCRIPTION = "Memacs for sms"
PROG_TAG = "sms"
PROG_DESCRIPTION = """
This Memacs module will parse outpu... | 1,049 | Python | .py | 31 | 30.129032 | 70 | 0.713861 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,743 | memacs_arbtt.py | novoid_Memacs/bin/memacs_arbtt.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Time-stamp: <2017-02-07 19:25 manu>
from memacs.arbtt import Arbtt
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2017-02-07"
PROG_SHORT_DESCRIPTION = "Memacs for arbtt"
PROG_TAG = "arbtt"
PROG_DESCRIPTION = """
This Memacs module will parse arbtt stats ....
"""
COP... | 819 | Python | .py | 27 | 26.222222 | 59 | 0.681122 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,744 | memacs_filenametimestamps.py | novoid_Memacs/bin/memacs_filenametimestamps.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-10-03 11:44:44 vk>
from memacs.filenametimestamps import FileNameTimeStamps
PROG_VERSION_NUMBER = "1.0"
PROG_VERSION_DATE = "2019-10-03"
PROG_SHORT_DESCRIPTION = "Memacs for file name time stamp"
PROG_TAG = "filedatestamps"
PROG_DESCRIPTION = """This ... | 1,616 | Python | .py | 34 | 39.470588 | 78 | 0.669211 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,745 | memacs_csv.py | novoid_Memacs/bin/memacs_csv.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2022-07-14 15:47:29 vk>
from memacs.csv import Csv
PROG_VERSION_NUMBER = "0.2"
PROG_VERSION_DATE = "2022-07-14"
PROG_SHORT_DESCRIPTION = "Memacs for csv files"
PROG_TAG = "csv"
PROG_DESCRIPTION = """
This Memacs module will parse csv files
"""
# set CONFI... | 1,048 | Python | .py | 32 | 28.90625 | 66 | 0.698712 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,746 | memacs_gpx.py | novoid_Memacs/bin/memacs_gpx.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from memacs.gpx import GPX
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2017-03-02"
PROG_SHORT_DESCRIPTION = "Memacs for GPX files"
PROG_TAG = "gps"
COPYRIGHT_YEAR = "2017"
COPYRIGHT_AUTHORS = """Manuel Koell <mankoell@gmail.com>"""
def main():
global memacs
... | 691 | Python | .py | 20 | 28.15 | 63 | 0.64006 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,747 | memacs_twitter.py | novoid_Memacs/bin/memacs_twitter.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:18:07 vk>
from memacs.twitter import Twitter
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2013-09-01"
PROG_SHORT_DESCRIPTION = "Memacs for Twitter "
PROG_TAG = "mytag"
PROG_DESCRIPTION = """
This Memacs module will process your Twitter ti... | 1,203 | Python | .py | 39 | 27.435897 | 76 | 0.701906 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,748 | memacs_battery.py | novoid_Memacs/bin/memacs_battery.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from memacs.battery import Battery
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2017-02-24"
PROG_SHORT_DESCRIPTION = "Memacs for battery"
PROG_TAG = "battery"
COPYRIGHT_YEAR = "2017"
COPYRIGHT_AUTHORS = """Manuel Koell <mankoell@gmail.com>"""
def main():
mema... | 657 | Python | .py | 21 | 26.857143 | 59 | 0.681529 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,749 | memacs_photos.py | novoid_Memacs/bin/memacs_photos.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:19:39 vk>
from memacs.photos import PhotosMemacs
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2012-03-10"
PROG_SHORT_DESCRIPTION = "Memacs for photos (exif)"
PROG_TAG = "photos"
PROG_DESCRIPTION = """
This memacs module will walk through... | 1,020 | Python | .py | 30 | 30.2 | 72 | 0.706721 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,750 | memacs_kodi.py | novoid_Memacs/bin/memacs_kodi.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from memacs.kodi import Kodi
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2018-10-22"
PROG_SHORT_DESCRIPTION = "Memacs for Kodi "
PROG_TAG = "kodi"
PROG_DESCRIPTION = """
this class will parse logs from the Kodi Mediacenter
"""
COPYRIGHT_YEAR = "2018"
COPYRIGHT_AUTH... | 857 | Python | .py | 27 | 27.37037 | 75 | 0.685298 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,751 | memacs_whatsapp.py | novoid_Memacs/bin/memacs_whatsapp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from memacs.whatsapp import WhatsApp
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2017-02-28"
PROG_SHORT_DESCRIPTION = "Memacs for whatsapp"
PROG_TAG = "whatsapp"
COPYRIGHT_YEAR = "2017"
COPYRIGHT_AUTHORS = """Manuel Koell <mankoell@gmail.com>"""
def main():
m... | 665 | Python | .py | 21 | 27.095238 | 59 | 0.679749 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,752 | memacs_phonecalls.py | novoid_Memacs/bin/memacs_phonecalls.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:19:18 vk>
from memacs.phonecalls import PhonecallsMemacs
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2012-03-08"
PROG_SHORT_DESCRIPTION = "Memacs for phonecalls"
PROG_TAG = "phonecalls"
PROG_DESCRIPTION = """
This Memacs module will pars... | 1,661 | Python | .py | 41 | 37.073171 | 78 | 0.701613 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,753 | memacs_simplephonelogs.py | novoid_Memacs/bin/memacs_simplephonelogs.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2017-04-13 22:23:42 vk>
from memacs.simplephonelogs import SimplePhoneLogsMemacs
PROG_VERSION_NUMBER = "0.2"
PROG_VERSION_DATE = "2017-04-13"
PROG_SHORT_DESCRIPTION = "Memacs for simple phone logs"
PROG_TAG = "phonelog"
PROG_DESCRIPTION = """
This Memacs m... | 1,912 | Python | .py | 50 | 35.56 | 68 | 0.666127 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,754 | memacs_imap.py | novoid_Memacs/bin/memacs_imap.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:19:02 vk>
from memacs.imap import ImapMemacs
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2011-12-30"
PROG_SHORT_DESCRIPTION = "Memacs for imap emails"
PROG_TAG = "emails:imap"
PROG_DESCRIPTION = """The memacs module will connect to an IM... | 1,238 | Python | .py | 38 | 29.131579 | 71 | 0.708648 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,755 | memacs_chrome.py | novoid_Memacs/bin/memacs_chrome.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-10-03 15:18:07 br>
from memacs.chrome import Chrome
PROG_VERSION_NUMBER = "0.0"
PROG_VERSION_DATE = "2018-10-02"
PROG_SHORT_DESCRIPTION = "Memacs for chrome url history "
PROG_TAG = "chrome"
PROG_DESCRIPTION = """
This class will parse chrome history ... | 1,040 | Python | .py | 31 | 29.903226 | 66 | 0.70987 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,756 | memacs_ical.py | novoid_Memacs/bin/memacs_ical.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:18:50 vk>
from memacs.ical import CalendarMemacs
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2011-12-28"
PROG_SHORT_DESCRIPTION = "Memacs for ical Calendars"
PROG_TAG = "calendar"
PROG_DESCRIPTION = """This script parses a *.ics file and... | 1,091 | Python | .py | 28 | 30.178571 | 74 | 0.614002 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,757 | memacs_rss.py | novoid_Memacs/bin/memacs_rss.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:19:47 vk>
from memacs.rss import RssMemacs
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2011-12-27"
PROG_SHORT_DESCRIPTION = "Memacs for rss feeds"
PROG_TAG = "rss"
PROG_DESCRIPTION = """
This Memacs module will parse rss files.
rss can ... | 1,367 | Python | .py | 40 | 31 | 78 | 0.692249 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,758 | memacs_phonecalls_superbackup.py | novoid_Memacs/bin/memacs_phonecalls_superbackup.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-09-12 09:11 igb>
from memacs.phonecalls_superbackup import PhonecallsSuperBackupMemacs
PROG_VERSION_NUMBER = "0.1"
PROG_VERSION_DATE = "2012-03-08"
PROG_SHORT_DESCRIPTION = "Memacs for phonecalls"
PROG_TAG = "phonecalls"
PROG_DESCRIPTION = """
This Me... | 1,725 | Python | .py | 42 | 37.690476 | 78 | 0.708657 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,759 | memacs_example.py | novoid_Memacs/bin/memacs_example.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2013-04-04 16:18:07 vk>
from memacs.example import Foo
PROG_VERSION_NUMBER = "0.0"
PROG_VERSION_DATE = "2011-12-18"
PROG_SHORT_DESCRIPTION = "Memacs for ... "
PROG_TAG = "mytag"
PROG_DESCRIPTION = """
this class will do ....
Then an Org-mode file is gener... | 1,265 | Python | .py | 38 | 29.815789 | 76 | 0.697617 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,760 | filenametimestamps.py | novoid_Memacs/memacs/filenametimestamps.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2022-05-15 16:18:39 vk>
import codecs
import logging
import os
import re
import sys
import time
from orgformat import OrgFormat, TimestampParseException
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
# Note: here, t... | 20,271 | Python | .py | 368 | 39.608696 | 182 | 0.536166 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,761 | arbtt.py | novoid_Memacs/memacs/arbtt.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Time-stamp: <2017-02-07 19:25 manu>
import calendar
import distutils.spawn
import io
import logging
import os.path
import subprocess
import sys
import time
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
from memacs.lib.reader impor... | 5,663 | Python | .py | 161 | 25.341615 | 111 | 0.55926 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,762 | ical.py | novoid_Memacs/memacs/ical.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-05 16:01:05 vk>
import datetime
import logging
import os
import pytz
import sys
import time
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
from memacs.lib.reader import CommonR... | 7,473 | Python | .py | 173 | 32.763006 | 114 | 0.603776 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,763 | sms_superbackup.py | novoid_Memacs/memacs/sms_superbackup.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:27:45 vk>
import logging
import os
import sys
import time
import xml.sax
from orgformat import OrgFormat
from xml.sax._exceptions import SAXParseException
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
... | 4,854 | Python | .py | 119 | 28.033613 | 90 | 0.538674 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,764 | twitter.py | novoid_Memacs/memacs/twitter.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:28:28 vk>
import logging
import sys
from dateutil import parser
from orgformat import OrgFormat
from twython import Twython, TwythonError
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
class Twitter(M... | 2,496 | Python | .py | 54 | 34.87037 | 90 | 0.598763 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,765 | battery.py | novoid_Memacs/memacs/battery.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import argparse
import datetime
import logging
import sys
import batinfo
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
ROOT = '/sys/class/power_supply'
class Battery(Memacs):
def _parser_add_... | 2,511 | Python | .py | 67 | 27.462687 | 75 | 0.589182 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,766 | firefox.py | novoid_Memacs/memacs/firefox.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:23:20 vk>
import datetime
import os
import sqlite3
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
class Firefox(Memacs):
def _parser_add_arguments(self):
"""... | 3,015 | Python | .py | 75 | 30.16 | 85 | 0.58165 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,767 | imap.py | novoid_Memacs/memacs/imap.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2012-09-06 19:54:04 armin>
import imaplib
import logging
import sys
from memacs.lib.mailparser import MailParser
from memacs.lib.memacs import Memacs
class ImapMemacs(Memacs):
def _parser_add_arguments(self):
"""
overwritten method of... | 5,927 | Python | .py | 151 | 26.953642 | 74 | 0.527415 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,768 | csv.py | novoid_Memacs/memacs/csv.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2022-07-14 16:04:14 vk>
import argparse
import datetime
import json
import logging
import sys
import time
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
from memacs.lib.reader import U... | 5,308 | Python | .py | 117 | 33.111111 | 103 | 0.569794 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,769 | example.py | novoid_Memacs/memacs/example.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:22:08 vk>
import logging
import time
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
class Foo(Memacs):
def _parser_add_arguments(self):
"""
overwrit... | 4,038 | Python | .py | 101 | 29.732673 | 76 | 0.548939 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,770 | gpx.py | novoid_Memacs/memacs/gpx.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
import os
import time
import geocoder
import gpxpy
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
class GPX(Memacs):
def _parser_add_arguments(self):
"""
overwrit... | 4,233 | Python | .py | 102 | 29.892157 | 113 | 0.570766 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,771 | lastfm.py | novoid_Memacs/memacs/lastfm.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import datetime
import logging
import sys
import pylast
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
class LastFM(Memacs):
def _parser_add_arguments(self):
"""
overwritten met... | 2,673 | Python | .py | 63 | 30.52381 | 95 | 0.579822 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,772 | git.py | novoid_Memacs/memacs/git.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:23:39 vk>
import logging
import os
import sys
import time
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
class Commit(object):
"""
class for representing one co... | 7,503 | Python | .py | 193 | 27.80829 | 80 | 0.551093 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,773 | photos.py | novoid_Memacs/memacs/photos.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:26:47 vk>
import imghdr
import logging
import os
import time
from PIL import Image
from PIL.ExifTags import TAGS
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
def get_... | 3,688 | Python | .py | 88 | 29.659091 | 79 | 0.559251 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,774 | chrome.py | novoid_Memacs/memacs/chrome.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:21:42 vk>
import datetime
import os
import sqlite3
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
class Chrome(Memacs):
def _parser_add_arguments(self):
"""... | 3,168 | Python | .py | 79 | 30.101266 | 85 | 0.581107 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,775 | mu.py | novoid_Memacs/memacs/mu.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import locale
import re
import subprocess
from datetime import datetime
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
# Sets this script's locale to be the same as system locale
locale.setlocale(lo... | 4,554 | Python | .py | 115 | 28.86087 | 99 | 0.53928 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,776 | phonecalls_superbackup.py | novoid_Memacs/memacs/phonecalls_superbackup.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:26:30 vk>
import datetime
import logging
import os
import sys
import time
import xml.sax
from orgformat import OrgFormat
from xml.sax._exceptions import SAXParseException
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty impor... | 8,897 | Python | .py | 199 | 31.035176 | 136 | 0.544782 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,777 | simplephonelogs.py | novoid_Memacs/memacs/simplephonelogs.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2018-08-25 15:07:57 vk>
import datetime
import logging
import os
import re
import time
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
from memacs.lib.reader import CommonReader
class... | 14,962 | Python | .py | 275 | 40.116364 | 143 | 0.555016 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,778 | svn.py | novoid_Memacs/memacs/svn.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:28:04 vk>
import logging
import os
import sys
import xml.sax
from orgformat import OrgFormat
from xml.sax._exceptions import SAXParseException
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
from memacs.... | 5,726 | Python | .py | 155 | 26.470968 | 79 | 0.540072 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,779 | sms.py | novoid_Memacs/memacs/sms.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2024-01-18 14:13:58 (klaus)>
import codecs ## Unicode conversion
import html.parser ## un-escaping HTML entities like emojis
import logging
import os
import sys
import tempfile ## create temporary files
import time
import xml.sax
from orgformat import O... | 11,154 | Python | .py | 248 | 32.604839 | 121 | 0.547948 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,780 | whatsapp.py | novoid_Memacs/memacs/whatsapp.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:29:12 vk>
import datetime
import json
import logging
import os
import re
import sqlite3
import emoji
from orgformat import OrgFormat
from memacs.lib.contactparser import parse_org_contact_file
from memacs.lib.memacs import Memacs
from memacs.... | 4,774 | Python | .py | 108 | 33.944444 | 99 | 0.591921 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,781 | phonecalls.py | novoid_Memacs/memacs/phonecalls.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:26:05 vk>
import datetime
import logging
import os
import sys
import time
import xml.sax
from orgformat import OrgFormat
from xml.sax._exceptions import SAXParseException
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty impor... | 7,892 | Python | .py | 179 | 31.044693 | 96 | 0.55318 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,782 | rss.py | novoid_Memacs/memacs/rss.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:27:12 vk>
import calendar
import logging
import os
import re
import sys
import time
import feedparser
from orgformat import OrgFormat
from memacs.lib.memacs import Memacs
from memacs.lib.orgproperty import OrgProperties
from memacs.lib.reade... | 5,192 | Python | .py | 122 | 30.327869 | 88 | 0.549058 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,783 | kodi.py | novoid_Memacs/memacs/kodi.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import datetime
import json
import logging
import sys
import time
from itertools import tee, islice, chain
from orgformat import OrgFormat
from memacs.lib.orgproperty import OrgProperties
from memacs.lib.reader import UnicodeDictReader
from .csv import Csv
# stolen fro... | 6,858 | Python | .py | 165 | 29.927273 | 119 | 0.578655 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,784 | argparser.py | novoid_Memacs/memacs/lib/argparser.py | # -*- coding: utf-8 -*-
# Time-stamp: <2014-01-28 16:17:20 vk>
import os
import re
from argparse import ArgumentParser
from argparse import RawDescriptionHelpFormatter
class MemacsArgumentParser(ArgumentParser):
"""
Inherited from Argumentparser
MemacsArgumentParser handles default arguments which are n... | 8,041 | Python | .py | 161 | 32.57764 | 105 | 0.489936 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,785 | memacs.py | novoid_Memacs/memacs/lib/memacs.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2014-01-28 16:19:18 vk>
import logging
import sys
import traceback
from configparser import ConfigParser
from .argparser import MemacsArgumentParser
from .loggingsettings import handle_logging
from .orgwriter import OrgOutputWriter
class Memacs(object):
... | 7,797 | Python | .py | 207 | 27.188406 | 78 | 0.575874 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,786 | contactparser.py | novoid_Memacs/memacs/lib/contactparser.py | import logging
import re
from bbdb.database import BBDB
def sanitize_phonenumber(phonenumber):
"""
Convert phonenumber to digits only
"""
sanitized_phonenumber = phonenumber.strip().replace('-','').replace('/','').replace(' ','').replace('+','00')
return sanitized_phonenumber
def parse_org_con... | 3,597 | Python | .py | 79 | 37.278481 | 226 | 0.632846 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,787 | loggingsettings.py | novoid_Memacs/memacs/lib/loggingsettings.py | # -*- coding: utf-8 -*-
# Time-stamp: <2012-05-30 18:19:27 armin>
import logging
import os
import sys
def handle_logging(args,
verbose=False,
suppressmessages=False,
org_file=""):
"""
Handle/format logging regarding boolean parameter verbose
@param... | 1,503 | Python | .py | 38 | 29.578947 | 74 | 0.568789 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,788 | orgwriter.py | novoid_Memacs/memacs/lib/orgwriter.py | # -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:32:26 vk>
import codecs
import logging
import os
import re
import sys
import time
from orgformat import OrgFormat
from .orgproperty import OrgProperties
from .reader import CommonReader
class OrgOutputWriter(object):
"""
OrgOutputWriter is used especiall... | 11,460 | Python | .py | 290 | 27.172414 | 110 | 0.516993 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,789 | orgproperty.py | novoid_Memacs/memacs/lib/orgproperty.py | # -*- coding: utf-8 -*-
# Time-stamp: <2012-09-06 22:07:05 armin>
import hashlib
from collections import OrderedDict
class OrgProperties(object):
"""
Class for handling Memacs's org-drawer:
:PROPERTIES:
...
:<tag>: value
...
:ID: - id is generated from all above tags/values
:END:
... | 4,309 | Python | .py | 122 | 26.155738 | 77 | 0.543839 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,790 | mailparser.py | novoid_Memacs/memacs/lib/mailparser.py | # -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:24:33 vk>
import logging
import time
from email import message_from_string
from email.header import decode_header
from email.utils import parsedate
from orgformat import OrgFormat
from .orgproperty import OrgProperties
class MailParser(object):
@staticmetho... | 4,186 | Python | .py | 106 | 26.537736 | 94 | 0.514053 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,791 | reader.py | novoid_Memacs/memacs/lib/reader.py | # -*- coding: utf-8 -*-
# Time-stamp: <2012-05-24 19:08:10 armin>
import codecs
import csv
import logging
import sys
from collections import OrderedDict
from urllib.error import HTTPError
from urllib.error import URLError
from urllib.request import urlopen
class CommonReader:
"""
Class for reading
* file... | 3,827 | Python | .py | 122 | 23.680328 | 91 | 0.589339 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,792 | orgproperty_test.py | novoid_Memacs/memacs/lib/tests/orgproperty_test.py | # -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:24:56 vk>
import time
import unittest
from orgformat import OrgFormat
from memacs.lib.orgproperty import OrgProperties
class TestOrgProperties(unittest.TestCase):
def test_properties_default_ctor(self):
p = OrgProperties("hashing data 1235")
... | 1,140 | Python | .py | 25 | 37.08 | 72 | 0.620596 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,793 | orgwriter_test.py | novoid_Memacs/memacs/lib/tests/orgwriter_test.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: <2019-11-06 15:25:23 vk>
import codecs
import shutil
import tempfile
import time
import unittest
from orgformat import OrgFormat
from memacs.lib.orgproperty import OrgProperties
from memacs.lib.orgwriter import OrgOutputWriter
class TestOutputWriter(unit... | 5,733 | Python | .py | 145 | 26.117241 | 101 | 0.514605 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,794 | reader_test.py | novoid_Memacs/memacs/lib/tests/reader_test.py | # -*- coding: utf-8 -*-
# Time-stamp: <2011-12-30 12:16:47 armin>
import unittest
from memacs.lib.reader import CommonReader
class TestReader(unittest.TestCase):
def test_file_no_path(self):
try:
CommonReader.get_data_from_file("")
self.assertTrue(False, "false path failed")
... | 361 | Python | .py | 11 | 26.272727 | 55 | 0.652174 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,795 | argparser_test.py | novoid_Memacs/memacs/lib/tests/argparser_test.py | # -*- coding: utf-8 -*-
# Time-stamp: <2011-12-30 12:16:47 armin>
import os
import shutil
import tempfile
import unittest
from memacs.lib.argparser import MemacsArgumentParser
class TestArgParser(unittest.TestCase):
def setUp(self):
self.prog_version = "0.1"
self.prog_version_date = "2011-12-19"... | 3,464 | Python | .py | 77 | 34.376623 | 79 | 0.620516 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,796 | mailparser_test.py | novoid_Memacs/memacs/lib/tests/mailparser_test.py | # -*- coding: utf-8 -*-
# Time-stamp: <2011-12-30 12:16:47 armin>
import unittest
from memacs.lib.mailparser import MailParser
class TestMailParser(unittest.TestCase):
def test_parse_mail_without_body(self):
message = """Date: Wed, 28 Dec 2011 14:02:00 +0100
From: Alice Ally <alice@ally.com>
To: Bob Bo... | 3,450 | Python | .py | 83 | 32.855422 | 79 | 0.610746 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,797 | phonecalls_test.py | novoid_Memacs/memacs/tests/phonecalls_test.py | # -*- coding: utf-8 -*-
# Time-stamp: <2012-09-06 22:02:48 armin>
import os
import re
import time
import unittest
import xml.etree.ElementTree as ET
from memacs.phonecalls import PhonecallsMemacs
class TestPhonecallsMemacs(unittest.TestCase):
def setUp(self):
self._test_file = os.path.join(
... | 1,205 | Python | .py | 30 | 33.4 | 75 | 0.619211 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,798 | sms_test.py | novoid_Memacs/memacs/tests/sms_test.py | # -*- coding: utf-8 -*-
# Time-stamp: <2012-03-09 15:36:52 armin>
import os
import re
import time
import unittest
import xml.etree.ElementTree as ET
from memacs.sms import SmsMemacs
class TestSmsMemacs(unittest.TestCase):
def setUp(self):
self._test_file = os.path.join(
os.path.dirname(os.p... | 1,339 | Python | .py | 33 | 33.575758 | 77 | 0.597222 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,799 | csv_test.py | novoid_Memacs/memacs/tests/csv_test.py | # -*- coding: utf-8 -*-
# Time-stamp: <2011-10-28 15:13:31 aw>
import os
import unittest
from memacs.csv import Csv
class TestCsv(unittest.TestCase):
def test_example1(self):
example1 = os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'data', 'example1.csv'
)
argv ... | 1,965 | Python | .py | 50 | 31.02 | 93 | 0.576984 | novoid/Memacs | 1,003 | 67 | 17 | GPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |