semvec/pypi-packages huggingface dataset:
base64url 1.1.1
Base64 encoding without Python's base64 flaws. Output urlsafe without padding, as str. Decodes any variant with or without padding, with validation.
Requires Python: >=3.8
Keywords: b64url, base64, urlsafe_b64decode, urlsafe_b64encode

# Urlsafe Base64 for Python

A simple module for encoding without padding, fixing Python standard library's flaws.

Replaces the standard library's `base64.urlsafe_b64encode` and `base64.urlsafe_b64decode` with a cleaner implementation that returns strings instead of bytes and avoids unnecessary padding.

## Features

- **Urlsafe**: Uses only characters that are safe for URLs and filenames
- **No padding**: Removes trailing `=` characters for a cleaner, actually urlsafe output
- **String output**: Returns Base64 as str instead of bytes
- **Fast**: Based on Python stdlib, with constant-time padding restoration

## Installation

```sh
pip install base64url
```

Or for your project using [UV](https://docs.astral.sh/uv/getting-started/installation/):
```sh
uv add base64url
```

## Usage

```python
import base64url

text = base64url.enc(bytes(4)) # Returns "AAAAAA"
data = base64url.dec(text)     # Recovers the bytes
```

### `enc(data: bytes) -> str`

Encode bytes to a urlsafe string without padding.

### `dec(s: str, *, validate=True) -> bytes`

Decode standard or urlsafe Base64 into bytes. Padding optional. Raises binascii.Error (ValueError) on invalid input. Set validate=False to silently ignore unknown characters (Python base64 default behavior).

### `enc_lines(data: bytes, length=76, sep="\n") -> str`

Encode with newlines inserted every length characters. Does not add a newline at the end.

### `dec_lines(s: str) -> bytes`

Decode formatted input, ignoring whitespace. Raises binascii.Error on invalid characters.
baselode 0.1.1
Domain-aware data models and utilities for exploration and mining datasets.
Requires Python: >=3.12

# BASELODE (Python)

Baselode is an open-source Python toolkit for working with structured exploration and mining datasets.

Version 0.1.0 focuses on domain-aware data models and validation utilities for drillhole-style data. The goal is to provide a consistent foundation for analytics, visualization, and AI workflows.

---

## Installation

```bash
pip install baselode
```

**Requires:** Python 3.12+

---

## Example

```python
import baselode.drill.data

gdf = baselode.drill.data.load_collars(COLLAR_CSV)
```

---

## Included in 0.1.0

- Drillhole collar, survey, and assay models  
- Downhole interval structures  
- Basic validation utilities  
- Strip log visualisations
- Map visualisations
- 3D visualisations (requires the `baselode` javascript module from npm)

---

## Design Principles

- Explicit domain models (not generic tables)  
- Minimal dependencies  
- Visualisation tooling as key to data analysis
- Designed for integration with analytics, GIS, and AI systems  

---

## Roadmap

Future releases may include:

- Assay and lithology schemas  
- Geospatial helpers  
- Interoperability with common mining formats  
- Visualization adapters  

---

## License

GNU General Public License v3.0 or later (GPL-3.0-or-later).

See the `LICENSE` file in this repository for full details.

---

## Contributing

Contributions and issue reports are welcome via GitHub.
visu 2026.2
Data visualization

# Visu


Visu is an user interface library based on pyqtgraph to open and process data image .
It can make plot profile and data measurements analysis on live



<img width="400" alt="screeCapture" src="https://user-images.githubusercontent.com/29065484/108862985-08321480-75f1-11eb-9bf3-315b547b1c25.jpg">

<img width="800" aalt="screeCapture" src="https://user-images.githubusercontent.com/29065484/108864521-8fcc5300-75f2-11eb-914d-6588cb3d1575.jpg">

It can open .spe .SPE, .sif and .TIFF files



    https://github.com/julienGautier77/visu

## Requirements
*   python 3.x
*   Numpy
*   matplotlib
*   scipy
*   PyQt6
*   pyqtgraph (https://github.com/pyqtgraph/pyqtgraph.git) 
    * Pip install pyqtgraph
*   qdarkstyle (https://github.com/ColinDuquesnoy/QDarkStyleSheet.git)
    * pip install qdarkstyle
*  sifread.py
    *   https://github.com/lightingghost/sifreader/tree/master/sifreader
*  winspec.py 
    *   https://github.com/antonl/pyWinSpec
    
## Installation
*   from PyPi
    *   pip install git+https://github.com/julienGautier77/visu

## Usage
###  to use as  it:
    import visu
    visu.visual.runVisu()

Or :

    from PyQt6.QtWidgets import QApplication
    import sys
    import qdarkstyle
    import visu
    
    appli = QApplication(sys.argv)   
   
    e = visu.visual.SEE() 
    e.show()
    appli.exec_()
    
  ### To  insert in  a  code
  visu is a  QtWidgets it can be use like  a  widget :  
  from PyQt6.QtWidgets import QApplication,QWidget  
  widgetVisu=visu.visual.SEE()   
  
-----------------------------------------
-----------------------------------------
certbot-dns-buddy 1.2.0
Buddy DNS Authenticator plugin for Certbot
Requires Python: >=3.9

certbot-dns-buddy
=================

Buddy DNS Authenticator plugin for Certbot

This plugin automates the process of completing a ``dns-01`` challenge by
creating, and subsequently removing, TXT records using the Buddy Rest API.

Issue a token
--------------------

In your Buddy account create personal access token with scopes:

- WORKSPACE
- ZONE_WRITE
- ZONE_READ

Installation
------------

.. code-block:: bash

    pip install certbot-dns-buddy

Usage
-----

Via environment variable
^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: bash

  export BUDDY_TOKEN=xxx
  # pass workspace url domain
  export BUDDY_WORKSPACE=yyy
  # pass domain id
  export BUDDY_DOMAIN_ID=zzz
  # if you want to use different region than US
  export BUDDY_BASE_URL=https://api.eu.buddy.works
  certbot certonly \
     --authenticator dns-buddy \
     --agree-tos \
     -d 'foo.bar'

Via INI file
^^^^^^^^^^^^^^^^^^^^^^^^

Certbot will emit a warning if it detects that the credentials file can be
accessed by other users on your system. The warning reads "Unsafe permissions
on credentials configuration file", followed by the path to the credentials
file. This warning will be emitted each time Certbot uses the credentials file,
including for renewal, and cannot be silenced except by addressing the issue
(e.g., by using a command like ``chmod 600`` to restrict access to the file).

===================================  ==========================================

``--authenticator dns-buddy``        select the authenticator plugin (Required)
``--dns-buddy-credentials``          Buddy Token credentials
                                     INI file. (Required)
===================================  ==========================================

An example ``credentials.ini`` file:

.. code-block:: ini

   dns_buddy_token = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   dns_buddy_workspace = YYY
   dns_buddy_domain_id = ZZZ
   dns_buddy_base_url = https://api.eu.buddy.works

To start using DNS authentication for Buddy, pass the following arguments on certbot's command line:

.. code-block:: bash

  certbot certonly \
    --authenticator dns-buddy \
    --dns-buddy-credentials <path to file> \
    --agree-tos \
    -d 'foo.bar'


Automatic renewal
-----------------

By default, certbot installs a service that periodically renews its
certificates automatically. In order to do this, the command must know the API
key, otherwise it will fail silently.

In order to enable automatic renewal for your wildcard certificates, you will
need to edit ``/lib/systemd/system/certbot.service``. In there, add the
following line in ``Service``, with <YOUR_API_TOKEN> replaced with your actual
token:

.. code-block:: bash

   Environment="BUDDY_TOKEN=<YOUR_API_TOKEN>"
   Environment="BUDDY_WORKSPACE=<YOUR_API_TOKEN>"
   Environment="BUDDY_DOMAIN_ID=<YOUR_DOMAIN_ID>"