Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Accounting Kits

Recommend CONDA manage the dependencies.

This is a self-made package which target is help to deal with different problems in accounting research.

WARNING: This version is Still PREVIEW and UNSTABLE! ANY functions and classes COULD BE CHANGED (NAMES OR OTHERS) IN FUTURE!

1. Setup the package:

I recommend to install the package by conda-forge, or may cause error:

In rolling version(How ever the package itself would be stop from have dependencies), because I use conda to manage my package, but pip always try to corrupt my environment.

This make me could not put these following dependencies in setup.cfg, If there found any method to help me to manage the environment while could help you with dependencies, feel free to tell me, it is the first time for me to write the python package, thank you.

certifi
numpy
pandas
pathos
requests
python-Levenshtein
thefuzz
rapidfuzz
sas7bdat
nltk
beautifulsoup4
fake-useragent
Cython

then clone->install

git clone https://github.com/qihangZH/accountingkits.git
cd accountingkits
pip install .

If developing need:

#IF DEVELOPING
python setup.py develop

2. How if I need to use the single module But I find it use other modules?

Nice question, If really so, you may have to replace the code for single modules sometimes only uses some _BasicFuncs functions.

For example in FuzzyMatchT.py:

from .. import _BasicFunc

To search in FuzzyMatch.py,you can find that, "_BasicFunc" result contains:

with pathos.multiprocessing.Pool(
                # for safer exception in multiprocess
                initializer=_BasicFunc.MultiprocessF.threads_interrupt_initiator
        ) as pool:
    ...

And the only function could be found:

def threads_interrupt_initiator():
    """
    Each pool process will execute this as part of its
    initialization.
    Use this to keep safe for multiprocessing...and gracefully interrupt by keyboard
    """
    signal.signal(signal.SIGINT, signal.SIG_IGN)

To replace it, you can directly put it in your need module and add some your own codes, however, I could not premise the _BasicFunc will not be refactored in future version.

# copy here
def threads_interrupt_initiator():
    """
    Each pool process will execute this as part of its
    initialization.
    Use this to keep safe for multiprocessing...and gracefully interrupt by keyboard
    """
    signal.signal(signal.SIGINT, signal.SIG_IGN)

with pathos.multiprocessing.Pool(
                # for safer exception in multiprocess
                initializer=threads_interrupt_initiator
        ) as pool:
    ...
    

3. Deprecation and Future Warnings

Any changes which cause Deprecation and Future Warnings will be placed here, mostly they cause version error.

If not, kindly send me email and I will show it in README.

However, Deprecation and Future warnings are unavailable for Preview/alpha/beta version

4.References

  1. This project includes code from the https://github.com/r-boulland/Corporate-Website-Disclosure, which is licensed under the MIT license. The full text of the MIT license can be found in the WaybackScraper/LICENSE file.

Metadata

Release files for accountingkits 0.1.1.230425a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for accountingkits 0.1.1.230425a0
File Size Uploaded Provenance Actions
accountingkits-0.1.1.230425a0.tar.gz 26.0 kB Without provenance Details for accountingkits-0.1.1.230425a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for accountingkits 0.1.1.230425a0
File Interpreter ABI Platform Actions
accountingkits-0.1.1.230425a0-py3-none-any.whl Python 3 none any Details for accountingkits-0.1.1.230425a0-py3-none-any.whl

Total release size: 52.5 kB

Release files / accountingkits-0.1.1.230425a0.tar.gz

Download URL accountingkits-0.1.1.230425a0.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
42576d3320ba1f1e9792a43be53f14576f177578e40c98c6bcc261605b4d778c
BLAKE2b-256 checksum
How to use checksums
5537cdc4b3edf9ad40d9d93c87b711addf6ed42a4a81ae585b93c893cb5d3829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / accountingkits-0.1.1.230425a0-py3-none-any.whl

Download URL accountingkits-0.1.1.230425a0-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19e5306d847d7ad2a4291bad01dbb29c1f6c12eed7dace44f3144fa2f9e62cd2
BLAKE2b-256 checksum
How to use checksums
59ed6e7eb4c8a662aab97035218d247f621fde388da1c9da8fa919784bb28a83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Security for accountingkits 0.1.1.230425a0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page