Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use lowercase name for package #54

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion INDXParse/FileMap.py → indxparse/FileMap.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from struct import unpack_from as old_unpack_from

# From: http://code.activestate.com/recipes/577197-sortedcollection/
from INDXParse.SortedCollection import SortedCollection
from indxparse.SortedCollection import SortedCollection

MEGABYTE = 1024 * 1024

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions INDXParse/MFT.py → indxparse/MFT.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from collections import OrderedDict # python 2.7 only
from datetime import datetime

from INDXParse.BinaryParser import (
from indxparse.BinaryParser import (
Block,
Nestable,
OverrunBufferException,
Expand All @@ -43,7 +43,7 @@
read_dword,
read_word,
)
from INDXParse.Progress import NullProgress
from indxparse.Progress import NullProgress


class INDXException(Exception):
Expand Down
4 changes: 2 additions & 2 deletions INDXParse/MFTINDX.py → indxparse/MFTINDX.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
# Version v.1.2.0
import calendar

from INDXParse.BinaryParser import debug, error, info, warning
from INDXParse.MFT import *
from indxparse.BinaryParser import debug, error, info, warning
from indxparse.MFT import *

verbose = False
import argparse
Expand Down
2 changes: 1 addition & 1 deletion INDXParse/MFTView.py → indxparse/MFTView.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import wx.lib.scrolledpanel as scrolled
from wx.lib.evtmgr import eventManager

from INDXParse.MFT import (
from indxparse.MFT import (
ATTR_TYPE,
FilenameAttribute,
IndexRootHeader,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion INDXParse/SDS.py → indxparse/SDS.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
#
# Version v.1.2
from INDXParse.BinaryParser import (
from indxparse.BinaryParser import (
Block,
Nestable,
ParseException,
Expand Down
2 changes: 1 addition & 1 deletion INDXParse/SDS_get_index.py → indxparse/SDS_get_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
#
# Version v.1.2
from INDXParse.SDS import SDS
from indxparse.SDS import SDS


def main():
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import os
import sys

import INDXParse.MFT
import indxparse.MFT

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -102,7 +102,7 @@ def main(argv=None):
continue

buf = array.array('B', m[offset:offset+1024])
record = INDXParse.MFT.MFTRecord(buf, 0, None)
record = indxparse.MFT.MFTRecord(buf, 0, None)
output_record(offset, record)
count += 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
# are not subject to US Copyright.
import sys

from INDXParse.BinaryParser import Mmap
from INDXParse.MFT import MFTEnumerator
from indxparse.BinaryParser import Mmap
from indxparse.MFT import MFTEnumerator


def main():
Expand Down
8 changes: 4 additions & 4 deletions INDXParse/fuse-mft.py → indxparse/fuse-mft.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@

from fuse import FUSE, FuseOSError, Operations, fuse_get_context

from INDXParse.BinaryParser import Mmap
from INDXParse.get_file_info import format_record
from INDXParse.MFT import Cache, MFTEnumerator, MFTTree
from INDXParse.Progress import ProgressBarProgress
from indxparse.BinaryParser import Mmap
from indxparse.get_file_info import format_record
from indxparse.MFT import Cache, MFTEnumerator, MFTTree
from indxparse.Progress import ProgressBarProgress

PERMISSION_ALL_READ = int("444", 8)

Expand Down
4 changes: 2 additions & 2 deletions INDXParse/get_file_info.py → indxparse/get_file_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

from jinja2 import Template

from INDXParse.BinaryParser import Mmap
from INDXParse.MFT import (
from indxparse.BinaryParser import Mmap
from indxparse.MFT import (
ATTR_TYPE,
MREF,
MSEQNO,
Expand Down
8 changes: 4 additions & 4 deletions INDXParse/list_mft.py → indxparse/list_mft.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@

from jinja2 import Environment

from INDXParse.BinaryParser import Mmap
from INDXParse.get_file_info import make_model
from INDXParse.MFT import (
from indxparse.BinaryParser import Mmap
from indxparse.get_file_info import make_model
from indxparse.MFT import (
ATTR_TYPE,
MREF,
Cache,
IndexRootHeader,
MFTEnumerator,
StandardInformationFieldDoesNotExist,
)
from INDXParse.Progress import NullProgress, ProgressBarProgress
from indxparse.Progress import NullProgress, ProgressBarProgress


def format_bodyfile(path, size, inode, owner_id, info, attributes=None):
Expand Down
2 changes: 1 addition & 1 deletion INDXParse/tree_mft.py → indxparse/tree_mft.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import mmap
from datetime import datetime

from INDXParse.MFT import Cache, MFTEnumerator, MFTTree
from indxparse.MFT import Cache, MFTEnumerator, MFTTree


class Mmap(object):
Expand Down
22 changes: 11 additions & 11 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = INDXParse
version = attr: INDXParse.__version__
name = indxparse
version = attr: indxparse.__version__
author = Willi Ballenthin
url = https://github.com/williballenthin/INDXParse
classifiers =
Expand All @@ -18,21 +18,21 @@ python_requires = >=3.8

[options.entry_points]
console_scripts =
INDXParse.py = INDXParse.INDXParse:main
MFTINDX.py = INDXParse.MFTINDX:main
SDS_get_index.py = INDXParse.SDS_get_index:main
extract_mft_record_slack.py = INDXParse.extract_mft_record_slack:main
get_file_info.py = INDXParse.get_file_info:main
list_mft.py = INDXParse.list_mft:main
tree_mft.py = INDXParse.tree_mft:main
INDXParse.py = indxparse.INDXParse:main
MFTINDX.py = indxparse.MFTINDX:main
SDS_get_index.py = indxparse.SDS_get_index:main
extract_mft_record_slack.py = indxparse.extract_mft_record_slack:main
get_file_info.py = indxparse.get_file_info:main
list_mft.py = indxparse.list_mft:main
tree_mft.py = indxparse.tree_mft:main
# NOTE: fuse-mft.py will still be exposed as a script if the fuse
# feature is not installed, but it will not run successfully unless
# the dependencies of that feature are installed. This is a known
# non-obvious dependency specification issue:
# https://github.com/pypa/pip/issues/9726
fuse-mft.py = INDXParse.fuse_mft:main [fuse]
fuse-mft.py = indxparse.fuse_mft:main [fuse]
# NOTE: As with fuse-mft.py, MFTView.py requires the wx feature.
MFTView.py = INDXParse.MFTView:main [wx]
MFTView.py = indxparse.MFTView:main [wx]

[options.extras_require]
fuse =
Expand Down