semvec/pypi-packages huggingface dataset:
ofx-generator 0.1.0
A library for generating OFX files.
Requires Python: >=3.7

# OFX Generator

This repository provides a Python library for generating OFX (Open Financial Exchange) files. It includes data models, formatters, and a generator to create OFX 2.3 XML documents according to the OFX specification.

## How to Use

### Example: Generating an OFX File

1. **Create a Bank Statement**: Define the financial institution, bank account, transactions, balance, and settings.

   ```python
   from datetime import date
   from decimal import Decimal
   from ofx_generator.models import (
       Balance, BankAccount, BankStatement, CreditCardAccount, FinancialInstitution, OFXSettings, Transaction
   )
   from ofx_generator.standards import AccountType, Currency, Language, TransactionType

   fi = FinancialInstitution(org="Example Bank", fid="000")
   account = BankAccount(
       bank_id="000",
       branch_id="0000-0",
       account_id="000000000",
       account_type=AccountType.CHECKING,
   )
   transactions = [
       Transaction(
           transaction_type=TransactionType.PAYMENT,
           date_posted=date(2025, 1, 30),
           amount=Decimal("-100.00"),
           fit_id="202501300000",
           check_num="000",
           ref_num="000",
           memo="Payment to Vendor",
       ),
       Transaction(
           transaction_type=TransactionType.CREDIT,
           date_posted=date(2025, 1, 22),
           amount=Decimal("500.00"),
           fit_id="202501220000",
           check_num="000",
           ref_num="000",
           memo="Salary Payment",
       ),
   ]
   balance = Balance(amount=Decimal("1000.00"), date_as_of=date(2025, 1, 31))
   settings = OFXSettings(
       language=Language.PORTUGUESE,
       currency=Currency.BRAZILIAN_REAL,
       version=211,
   )
   credit_card_account = CreditCardAccount(
       cash_advance_available_amount=1000.00,
       cash_advance_credit_limit=5000.00
   )
   statement = BankStatement(
       financial_institution=fi,
       bank_account=account,
       transactions=transactions,
       balance=balance,
       start_date=date(2025, 1, 1),
       end_date=date(2025, 1, 31),
       settings=settings,
       credit_card_account=credit_card_account
   )
   ```

2. **Generate the OFX File**: Use the `OFXGenerator` to create the OFX content and write it to a file.

   ```python
   from ofx_generator.generator import OFXGenerator

   generator = OFXGenerator()
   trnuid = "1001"
   ofx_content = generator.generate(statement, trnuid)

   with open("output.ofx", "w", encoding="utf-8") as f:
       f.write(ofx_content)
   ```
django_tableaux 0.7.1
Django tables with Advanced User eXperience
Requires Python: >=3.10

===============
django_tableaux
===============
**Django tables with Advanced User eXperience**

This project builds upon two well-established django apps: `django_tables2 <https://github.com/jieter/django-tables2>`_
and `django_filter <https://github.com/carltongibson/django-filter>`_ and enhances their functionality through a
sprinkling of `htmx <https://htmx.org>`_ magic. It provides a single class-based view in which you can enable multiple
features to deliver a customised user experience that embodies the best practice for interactive tables.

Key features
============
* The columns to display can be user-defined
* Fully responsive: Define different column layouts for mobile, tablet and desktop
* Bulk actions on selected rows or on all (possibly filtered) rows
* Infinite scroll
* Infinite load-more data
* Position filters in a toolbar, in a modal or embed them within the table header
* Show active filters with ability to clear individual filters
* Edit specific fields directly inside the table
* Easy integration with generic views for CRUD operations

The project is still in beta but is fully usable.

Full documentation to follow.
404-finder 0.1.0
A tool to find broken links (404s) and oversized pages in websites
Requires Python: >=3.7

# 404 Finder

A Python tool to crawl websites and find broken links (404s) and oversized pages.

## Installation

```bash
pip install 404-finder
```

## Usage

```bash
404-finder example.com [options]
```

### Options

- `--max-size BYTES`: Maximum allowed size in bytes for any page
- `--workers N`: Number of parallel workers (default: 10)
- `--max-depth N`: Maximum depth to crawl (default: no limit)
- `--verbose`: Enable verbose logging

### Example

```bash
# Check for broken links on example.com
404-finder example.com

# Check for broken links and pages larger than 1MB
404-finder example.com --max-size 1000000

# Crawl with 20 parallel workers and verbose logging
404-finder example.com --workers 20 --verbose
```

### Output

The tool generates a JSONL file named `result_domain.jsonl` containing details about each URL visited, including:
- URL
- Status code
- Page size
- Referrer (the page that linked to this URL)

## Features

- Parallel crawling with configurable number of workers
- Finds broken links (HTTP status codes 4xx and 5xx)
- Checks page sizes against a configurable limit
- Follows redirects while staying within the same domain
- Handles both internal and external links
- Generates detailed JSONL reports
tesla-client 4.0.0
Tesla API Client

# tesla_client

This library allows access to the unofficial Tesla API for reading data and issuing commands to Tesla vehicles.

## Quick Start

``` {.sourceCode .python}
import tesla_client


# Define an Account subclass of your own to provide an access_token
class MyTeslaAccount(tesla_client.Account):
    def get_access_token(self) -> str:
        return your_oauth_solution.get_up_to_date_access_token()


account = MyTeslaAccount()

# Access a vehicle in this account
vehicle = account.get_vehicles()[0]

# Fetch some data from the vehicle
vehicle.data_request('drive_state')

# Send a command to the vehicle
vehicle.command('honk_horn')
```

The Tesla API is not officially supported by Tesla, Inc. It may stop working at any time. For detailed documentation of API commands, see https://tesla-api.timdorr.com/. Thanks to Tim Dorr for his work in documenting the unofficial API.

Tesla, Inc. does not endorse or support this python library.

## Versions

### 4.0.0

- Refactor with clearer and better typed interface for use by AI Agents

### 3.1.0

- Support Vehicle Command SDK

### 3.0.0

- Use official Tesla Fleet API

### 2.0.0

- Tesla removed support for grant_type=password. This version uses grant_type=authorization_code

### 1.0.0

- grant_type=password
coverage-p 25.2.0
A .pth file that calls coverage.process_startup()

coverage-p
=============

.. |pypi| image:: https://img.shields.io/pypi/v/coverage-p.svg
    :alt: PyPI
    :target: https://pypi.org/project/coverage-p/

.. |calver| image:: https://img.shields.io/badge/calver-YY.MM.MICRO-22bfda.svg
    :alt: calver: YY.MM.MICRO
    :target: https://calver.org/

.. |ci| image:: https://github.com/twm/coverage-p/actions/workflows/ci.yml/badge.svg
    :alt: CI
    :target: https://github.com/twm/coverage-p/actions/workflows/ci.yml


|pypi|
|calver|
|ci|

This package contains a ``.pth`` file that calls ``coverage.process_startup()``.

.. contents::

Usage
-----

Install it with Pip::

    $ pip install coverage-p

Then run your tests like::

    $ COVERAGE_PROCESS_START="$PWD/.coveragerc" coverage run -p -m unittest ...

Each Python processes your tests spawn will generate a ``.coverage`` file.
Merge these by running ``coverage combine``.

See the Coverage.py document `Measuring sub-processes <https://coverage.readthedocs.io/en/latest/subprocess.html>`__ for more information.

.. note::

   ``coverage.process_startup()`` is a no-op unless the ``COVERAGE_PROCESS_START`` environment variable is set.
   The ``coverage run`` command does *not* set this variable!

Why not ``coverage_pth``?
~~~~~~~~~~~~~~~~~~~~~~~~~

The `coverage_pth package <https://pypi.org/project/coverage_pth/>`__ attempts to do the same thing,
but the wheels it provides only work on Python 3.6.
It also `appears unmaintained <https://github.com/dougn/coverage_pth/commits/master/>`__.

Compatiblity Policy
-------------------

Any version of CPython `supported upstream <https://devguide.python.org/versions/>`_ and by Coverage.py is considered supported and should be tested in CI.
Additionally, CI covers supported 3.x releases of `PyPy <https://pypy.org/>`_, subject to availability in GitHub Actions.

coverage-p is tested against the current version of Coverage.py.
The API coverage-p invokes has been stable for many years, so compatibility issues are not expected.

Changelog
---------

v25.2.0 (2025-02-01)
~~~~~~~~~~~~~~~~~~~~

- Add License-Expression metadata
- Repackage with Hatchling

v24.7.0 (2024-07-06)
~~~~~~~~~~~~~~~~~~~~

- Initial release


Contributing
------------

File issues and PRs `on GitHub <https://github.com/twm/coverage-p/issues>`__.
See `CONTRIBUTING.rst <./CONTRIBUTING.rst>`__ for more.
Please follow the `Twisted code of conduct <https://github.com/twisted/.github/blob/trunk/code_of_conduct.md>`__.


License
-------

coverage-p is made available under the `MIT license <./LICENSE>`__.