semvec/pypi-packages huggingface dataset:
barecat-cython 0.0.2
Cython-based implementation of the Barecat archive format.
Requires Python: >=3.9
Keywords: sqlite, dataset, storage, archive, random-access, image-dataset, filesystem, key-value-store, deep-learning, data-loader, file-indexing

# Barecat-Cython

A partial Cython/C implementation of the [Barecat storage file format](https://github.com/isarandi/barecat).
 
Install with:
```bash
pip install barecat-cython
```

## Usage

The classes `BarecatCython` and `BarecatMmapCython` are similar to `barecat.Barecat` but do not support writing and advanced functions such as listing directories and globbing, etc. Only retrieving file data based on a given key string (inner filepath) is supported.

The difference between the two classes in `barecat_cython`` is that `BarecatCython` uses file handles and seek/read to access shard files, while `BarecatMmapCython` uses memory mapping. Depending on computer and filesystem properties, one or the other may be faster, though the difference is not large in my experience.

```python
from barecat_cython import BarecatCython, BarecatMmapCython

with BarecatCython('example.barecat') as bc:
    ...

with BarecatMmapCython('example.barecat') as bc:
    ...
```
CoverGenerator 0.2.1
Python utility for generating cover images for e-books.
Requires Python: >=3.8

# CoverGenerator

CoverGenerator is a utility for generating simple book covers containing the book title nd author. The covers are generated using SVG and then rendered to an image file. This project is heavily inspired by [racovimge](https://github.com/anqxyr/racovimge/) and uses basically the same methods for creating covers, but this project has better multiline support and doesn't rely on any non-python applications for image exporting.

*NOTE:* Due to limitations with CairoSVG, CoverGenerator can't use embedded fonts and has to instead use system fonts. *For proper word spacing and formatting, [NotoSerif](https://fonts.google.com/noto/specimen/Noto+Serif) Bold & Bold Italic must be installed on your system.* The program will still work without it, but you might have some odd word wrapping.

# Installation

CoverGenerator can be downloaded from it's PyPI package using pip:

    pip3 install CoverGenerator

If you are installing from source, the following python packages are required:

* [CairoSVG](https://github.com/Kozea/CairoSVG/)
* [HTML-String-Tools](https://github.com/Drakovek/HTML-String-Tools)
* [Pillow](https://github.com/python-pillow/Pillow)

# Command Line Script

You can generate a random cover with:

    cover-generator -t "Title Text" -a "Author(s)"

You can specify the filename and image format with the `--output` tag, and set the width in pixels with the `--width` tag:

    cover-generator -t "JPEG Cover" -a Writer -o coverimage.jpg -w 900

You can also specify a specific cover style and/or color palette using the `--style` and `--palette` tags:

    cover-generator -t Title -a Author -s border -p ColorfulContrast

Available cover styles and color palettes are listed alongside options when using the `--help` command

# Basic Python Usage

    import cover_generator
    
    # Create a random cover image
    cover_generator.generate_cover(title="Title", author="author", path="/path/to/file.jpg")
    
    # Create a random cover image with a specific cover style and color palette
    cover_generator.generate_cover(title="Title", author="author", path="/path/to/file.jpg",
            cover_style="cross" palette_category="ColorfulContrast")
picht 2.2.0
Electron optics simulation tool
Requires Python: >=3.6

# Picht
Electron optics in electric and magnetic lenses. Uses the axisymmetric view, computes static E- and B-fields, enables the parameterization of ion and electron beams, and allows you to view their trajectories in the vicinity of various kinds of electromagnetic lenses, with physically accurate and relativistically corrected dynamics. Allows for custom mesh sizes using the finite difference method, and is incredibly performant due to integrations with PyAMG, Numba, and Joblib. Works on all operating systems, is unit-tested, and works locally and on Jupyter Notebook with all dependencies handled by PyPi.

## Installation
```bash
pip install picht
```
[![PyPI version](https://img.shields.io/pypi/v/picht.svg)](https://pypi.org/project/picht/) ![tests](https://github.com/rolypolytoy/picht/actions/workflows/tests.yml/badge.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15376240.svg)](https://doi.org/10.5281/zenodo.15376240)

## Gallery

API documentation, computational physics methods, and tutorials can be found at the official website: https://rolypolytoy.github.io/picht/. 

All of the examples in the gallery were scripted with under 100 lines of code and generated in under a minute of real time.

### Electric Lens
Focusing electrons with a cylindrical electrostatic lens. Reference implementation [here](https://rolypolytoy.github.io/picht/auto_examples/01_example_cylindrical_lens.html)
![cylindricallens](https://github.com/user-attachments/assets/3e3e00a7-009d-4cf6-a026-860ee545307e)

### Magnetic Lens
Focusing electrons with a magnetic lens. Reference implementation [here](https://rolypolytoy.github.io/picht/auto_examples/05_example_magnetic.html)
![ezgif-61b10d1bda4d4b](https://github.com/user-attachments/assets/333a8a55-f8b3-47ad-8dd7-268c9f8edb46)

### Einzel Lens
Focusing electrons with three electrodes in a unipotential lens arrangement. Reference implementation [here](https://rolypolytoy.github.io/picht/auto_examples/02_example_einzel_focusing.html).
![einzel](https://github.com/user-attachments/assets/44ba059c-c857-42fe-8d60-5b0ea997467f)

### Scanning Electron Microscope
Controlling electrons with a Wehnelt cylinder, cathode/anode, a condenser (einzel) lens and an objective (einzel) lens. Reference implementation [here](https://rolypolytoy.github.io/picht/auto_examples/04_example_sem.html).

![sem5](https://github.com/user-attachments/assets/4d6d943f-faa6-4b7e-8e78-7df707f885b3)
molscene 0.1.2
PDB/mmCIF file parsing using pandas DataFrames
Requires Python: >=3.8

MolScene
==============================
[//]: # (Badges)
[![GitHub Actions Build Status](https://github.com/cabb99/molscene/workflows/CI/badge.svg)](https://github.com/cabb99/molscene/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/cabb99/MolScene/branch/main/graph/badge.svg)](https://codecov.io/gh/cabb99/MolScene/branch/main)


PDB file parsing using pandas DataFrames

### Copyright

Copyright (c) 2025, Carlos Bueno


#### Acknowledgements
 
Project based on the 
[Computational Molecular Science Python Cookiecutter](https://github.com/molssi/cookiecutter-cms) version 1.10.