-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
157 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
cff-version: 1.2.0 | ||
title: Python-ACK | ||
message: >- | ||
If you use this software, please cite it using the | ||
metadata from this file. | ||
type: software | ||
authors: | ||
- given-names: Anton | ||
family-names: Sychev | ||
email: anton@sychev.xyz | ||
repository-code: "https://github.com/klich3/python-ack" | ||
abstract: ACK is a code-searching tool, similar to grep but optimized for programmers searching large trees of source code. | ||
keywords: | ||
- storage | ||
- reegexp | ||
- search | ||
license: MIT | ||
version: 0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) <2024> Anton Sychev | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
include LICENSE | ||
include CITATION.cff | ||
include README.md | ||
include *.toml | ||
recursive-include src *.py | ||
recursive-include src/python-ack *.py | ||
prune */__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# python-ack | ||
# Python-ACK | ||
ACK is a code-searching tool, similar to grep but optimized for programmers searching large trees of source code. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "python-ack" | ||
version = "0.0.1" | ||
authors = [ | ||
{ name="Anton Sychev", email="anton@sychev.xyz" }, | ||
] | ||
description = "Using the filesystem as a searchable database." | ||
readme = "README.md" | ||
license = { file = "LICENSE" } | ||
keywords = ["regexp", "file", "document", "search"] | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
|
||
[project.optional-dependencies] | ||
build = ["build", "twine"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/klich3/python-ack" | ||
Issues = "https://github.com/klich3/python-ack/issues" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.11 | ||
# by the following command: | ||
# | ||
# pip-compile pyproject.toml | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
""" | ||
█▀ █▄█ █▀▀ █░█ █▀▀ █░█ | ||
▄█ ░█░ █▄▄ █▀█ ██▄ ▀▄▀ | ||
Author: <Anton Sychev> (anton at sychev dot xyz) | ||
__init__.py (c) 2024 | ||
Created: 2024-01-02 17:37:05 | ||
Desc: Inilization of RocketStore | ||
""" | ||
|
||
__all__ = ["python-ack"] | ||
|
||
from .__version__ import ( | ||
__author__, | ||
__author_email__, | ||
__build__, | ||
__copyright__, | ||
__description__, | ||
__title__, | ||
__url__, | ||
__version__, | ||
__license__, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
""" | ||
█▀ █▄█ █▀▀ █░█ █▀▀ █░█ | ||
▄█ ░█░ █▄▄ █▀█ ██▄ ▀▄▀ | ||
Author: <Anton Sychev> (anton at sychev dot xyz) | ||
__init__.py (c) 2024 | ||
Created: 2024-01-02 17:37:05 | ||
Desc: Inilization of RocketStore | ||
""" | ||
|
||
import re | ||
import sys | ||
import datetime | ||
from subprocess import Popen | ||
from collections import deque | ||
from multiprocessing import Process | ||
|
||
|
||
class ack: | ||
def __init__( | ||
self, | ||
regex, | ||
number_processes=10, | ||
search_binary=False, | ||
use_ansi_colors=True, | ||
exclude_path=[], | ||
): | ||
print("ok") | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
""" | ||
█▀ █▄█ █▀▀ █░█ █▀▀ █░█ | ||
▄█ ░█░ █▄▄ █▀█ ██▄ ▀▄▀ | ||
Author: <Anton Sychev> (anton at sychev dot xyz) | ||
__version__.py (c) 2024 | ||
Created: 2024-01-02 17:25:14 | ||
Desc: Versions | ||
""" | ||
|
||
__title__ = "Python-ACK" | ||
__description__ = "Python-ACK is a code-searching tool, similar to grep but optimized for programmers searching large trees of source code." | ||
__url__ = "https://github.com/klich3/python-ack" | ||
__version__ = "0.0.1" | ||
__build__ = 0x00000 | ||
__author__ = "Anton Sychev" | ||
__author_email__ = "anton@sychev.xyz" | ||
__copyright__ = "Copyright Anton Sychev" | ||
__license__ = "MIT" |
1 change: 1 addition & 0 deletions
1
src/python-ack/crw/memories/glOtc6EzYQTZEt0J18cU1f4Ycdz1H8WWTDVkBQTp1Gv2BWgb/1-data
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
src/python-ack/crw/memories/glOtc6EzYQTZEt0J18cU1f4Ycdz1H8WWTDVkBQTp1Gv2BWgb/2-data
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
src/python-ack/crw/memories/glOtc6EzYQTZEt0J18cU1f4Ycdz1H8WWTDVkBQTp1Gv2BWgb_seq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
""" | ||
█▀ █▄█ █▀▀ █░█ █▀▀ █░█ | ||
▄█ ░█░ █▄▄ █▀█ ██▄ ▀▄▀ | ||
Author: <Anton Sychev> (anton at sychev dot xyz) | ||
test.py (c) 2024 | ||
Created: 2024-01-03 00:26:05 | ||
Desc: test file | ||
Docs: documentation | ||
""" | ||
|
||
from .pythonack import ack | ||
|
||
print(ack) |