Skip to content

Commit 6b17fb5

Browse files
committed
Merge branch 'release/v0.0.1'
2 parents cbc56e6 + 1ec56d7 commit 6b17fb5

File tree

13 files changed

+157
-1
lines changed

13 files changed

+157
-1
lines changed

CITATION.cff

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
cff-version: 1.2.0
2+
title: Python-ACK
3+
message: >-
4+
If you use this software, please cite it using the
5+
metadata from this file.
6+
type: software
7+
authors:
8+
- given-names: Anton
9+
family-names: Sychev
10+
email: anton@sychev.xyz
11+
repository-code: "https://github.com/klich3/python-ack"
12+
abstract: ACK is a code-searching tool, similar to grep but optimized for programmers searching large trees of source code.
13+
keywords:
14+
- storage
15+
- reegexp
16+
- search
17+
license: MIT
18+
version: 0.0.1

LICENSE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) <2024> Anton Sychev
4+
5+
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:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
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.

MANIFEST.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
include LICENSE
2+
include CITATION.cff
3+
include README.md
4+
include *.toml
5+
recursive-include src *.py
6+
recursive-include src/python-ack *.py
7+
prune */__pycache__

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# python-ack
1+
# Python-ACK
22
ACK is a code-searching tool, similar to grep but optimized for programmers searching large trees of source code.
3+

pyproject.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "python-ack"
7+
version = "0.0.1"
8+
authors = [
9+
{ name="Anton Sychev", email="anton@sychev.xyz" },
10+
]
11+
description = "Using the filesystem as a searchable database."
12+
readme = "README.md"
13+
license = { file = "LICENSE" }
14+
keywords = ["regexp", "file", "document", "search"]
15+
requires-python = ">=3.8"
16+
classifiers = [
17+
"Programming Language :: Python :: 3",
18+
"License :: OSI Approved :: MIT License",
19+
"Operating System :: OS Independent",
20+
]
21+
22+
[project.optional-dependencies]
23+
build = ["build", "twine"]
24+
25+
[project.urls]
26+
Homepage = "https://github.com/klich3/python-ack"
27+
Issues = "https://github.com/klich3/python-ack/issues"

requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
4+
#
5+
# pip-compile pyproject.toml
6+
#

src/python-ack/__init__.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
"""
2+
█▀ █▄█ █▀▀ █░█ █▀▀ █░█
3+
▄█ ░█░ █▄▄ █▀█ ██▄ ▀▄▀
4+
5+
Author: <Anton Sychev> (anton at sychev dot xyz)
6+
__init__.py (c) 2024
7+
Created: 2024-01-02 17:37:05
8+
Desc: Inilization of RocketStore
9+
"""
10+
11+
__all__ = ["python-ack"]
12+
13+
from .__version__ import (
14+
__author__,
15+
__author_email__,
16+
__build__,
17+
__copyright__,
18+
__description__,
19+
__title__,
20+
__url__,
21+
__version__,
22+
__license__,
23+
)

src/python-ack/__main__.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
"""
2+
█▀ █▄█ █▀▀ █░█ █▀▀ █░█
3+
▄█ ░█░ █▄▄ █▀█ ██▄ ▀▄▀
4+
5+
Author: <Anton Sychev> (anton at sychev dot xyz)
6+
__init__.py (c) 2024
7+
Created: 2024-01-02 17:37:05
8+
Desc: Inilization of RocketStore
9+
"""
10+
11+
import re
12+
import sys
13+
import datetime
14+
from subprocess import Popen
15+
from collections import deque
16+
from multiprocessing import Process
17+
18+
19+
class ack:
20+
def __init__(
21+
self,
22+
regex,
23+
number_processes=10,
24+
search_binary=False,
25+
use_ansi_colors=True,
26+
exclude_path=[],
27+
):
28+
print("ok")
29+
pass

src/python-ack/__version__.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"""
2+
█▀ █▄█ █▀▀ █░█ █▀▀ █░█
3+
▄█ ░█░ █▄▄ █▀█ ██▄ ▀▄▀
4+
5+
Author: <Anton Sychev> (anton at sychev dot xyz)
6+
__version__.py (c) 2024
7+
Created: 2024-01-02 17:25:14
8+
Desc: Versions
9+
"""
10+
11+
__title__ = "Python-ACK"
12+
__description__ = "Python-ACK is a code-searching tool, similar to grep but optimized for programmers searching large trees of source code."
13+
__url__ = "https://github.com/klich3/python-ack"
14+
__version__ = "0.0.1"
15+
__build__ = 0x00000
16+
__author__ = "Anton Sychev"
17+
__author_email__ = "anton@sychev.xyz"
18+
__copyright__ = "Copyright Anton Sychev"
19+
__license__ = "MIT"

src/python-ack/crw/memories/glOtc6EzYQTZEt0J18cU1f4Ycdz1H8WWTDVkBQTp1Gv2BWgb/1-data

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)