Skip to main content

altf1be_helpers

Helpers to deal with basic requirements of an application built by www.alt-f1.be. See https://bitbucket.org/altf1be/altf1be_helpers

  • management of a JSON File: Load, save, save with datetime.

usage

  • install the package on pypi.org :

    • install : pip install altf1be_helpers
    • upgrade : pip install altf1be_helpers --upgrade
  • install the package on test.pypi.org :

    • install : pip install -i https://test.pypi.org/simple/altf1be_helpers
    • upgrade : pip install -i https://test.pypi.org/simple/altf1be_helpers --upgrade

dependencies

Build the package

test the library altf1be_helpers

  • cd altf1be_helpers

  • python altf1be_helpers_unittest.py

  • python altf1be_json_helpers_unittest.py

  • locate the package

    • python -c "from altf1be_helpers import AltF1BeHelpers as _; print(_.__path__)" does not work yet
  • list functions inside the module

    • the package python -c "import altf1be_helpers as _; print(dir(_))"
  • test the package

    • python -c "from altf1be_helpers import AltF1BeHelpers; text='éê à iïî'; print(f'{AltF1BeHelpers.unicode_to_ascii(text)}')"
    • result : ee a iii

test the library altf1be_helpers

  • cd altf1be_helpers

  • python altf1be_json_helpers_unittest.py

  • locate the package

    • python -c "from altf1be_json_helpers import AltF1BeJSONHelpers as _; print(_.__path__)" does not work yet
  • list functions inside the module

    • the package python -c "import altf1be_helpers as _; print(dir(_))"
  • test the package

    • python -c 'import os;from altf1be_helpers import AltF1BeJSONHelpers; altF1BeJSONHelpers = AltF1BeJSONHelpers();data = altF1BeJSONHelpers.load(os.path.join("data", "altf1be_sample.json"));print(data)'
    • result : {"name": "altf1be_json_helpers"}

Documentation

License

Copyright (c) ALT-F1 SPRL, Abdelkrim Boujraf. All rights reserved.

Licensed under the EUPL License, Version 1.2.

See LICENSE in the project root for license information.

Metadata

Release files for altf1be-helpers 2.2.2

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

Source distribution (sdist)

Source distribution for altf1be-helpers 2.2.2
File Size Uploaded Provenance Actions
altf1be_helpers-2.2.2.tar.gz 15.3 kB Without provenance Details for altf1be_helpers-2.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for altf1be-helpers 2.2.2
File Interpreter ABI Platform Actions
altf1be_helpers-2.2.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for altf1be_helpers-2.2.2-py2.py3-none-any.whl

Total release size: 31.2 kB

Release files / altf1be_helpers-2.2.2.tar.gz

Download URL altf1be_helpers-2.2.2.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
23c6ce8e183ee788572dc31fefa86473755628fc50ba79d2891daa21c43865e6
BLAKE2b-256 checksum
How to use checksums
164ae592489c8088bfab4ff4e9273f18792fa3c675a6b5c9c94da72da35f07db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20200917 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

Release files / altf1be_helpers-2.2.2-py2.py3-none-any.whl

Download URL altf1be_helpers-2.2.2-py2.py3-none-any.whl
Size 15.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a3af940e3c1d177282347372fedf98ab3fed3afe636de67d42fae7df42cb0c7b
BLAKE2b-256 checksum
How to use checksums
4f8aab9498c8ba15df602f4a6e9be316e0b4e14b1228df14035ce2a58bf2245f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20200917 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

Security for altf1be-helpers 2.2.2

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