Skip to main content

MCard: Local-first Content Addressable Storage with Content Type Detection

Project description

MCard: Local-First Content Addressable Storage

Python Version License: MIT Code style: black

MCard is a powerful Python library implementing an algebraically closed data structure for content-addressable storage. It provides a robust system where every piece of content is uniquely identified by its cryptographic hash and temporally ordered, enabling content verification, deduplication, and versioning.

The system features a modular architecture with support for multiple content types and a flexible database backend (SQLite).

โœจ Features

  • Content-Addressable Storage: Store and retrieve content using cryptographic hashes
  • Content Type Detection: Automatic detection of various file formats (JSON, XML, CSV, Markdown, Python, etc.)
  • Temporal Ordering: Built-in support for temporal ordering of content claims
  • Modular Architecture: Extensible design with pluggable components
  • Type Safety: Built with Python type hints and Pydantic models
  • Async Support: Asynchronous API for improved performance

๐Ÿš€ Installation

Prerequisites

  • Python 3.9 or higher
  • uv - A fast Python package installer and resolver

Basic Installation

  1. Clone the repository:

    git clone https://github.com/xlp0/MCard_TDD.git
    cd MCard_TDD
    
  2. Set up the Python environment using the provided script:

    ./activate_venv.sh
    

    This will:

    • Create a Python virtual environment if it doesn't exist
    • Activate the environment
    • Install all required dependencies
  3. For development, install additional development dependencies:

    uv pip install -e ".[dev]"
    

Optional Dependencies

MCard supports optional features that can be installed as extras:

  • XML Processing - For better XML handling with lxml:
    uv pip install -e ".[xml]"
    

๐Ÿ—๏ธ Project Structure

MCard_TDD/
โ”œโ”€โ”€ mcard/                    # Core Python package
โ”‚   โ”œโ”€โ”€ config/               # Configuration management
โ”‚   โ”œโ”€โ”€ engine/               # Database engine implementations
โ”‚   โ”‚   โ”œโ”€โ”€ base.py           # Base engine interface
โ”‚   โ”‚   โ””โ”€โ”€ sqlite_engine.py  # SQLite implementation
โ”‚   โ””โ”€โ”€ model/                # Data models and content handling
โ”‚       โ”œโ”€โ”€ card.py           # Core MCard implementation
โ”‚       โ”œโ”€โ”€ card_collection.py # Collections of MCards
โ”‚       โ”œโ”€โ”€ clm/              # Content Lifecycle Management
โ”‚       โ”œโ”€โ”€ detectors/        # Content type detectors
โ”‚       โ””โ”€โ”€ hash/             # Hashing implementations
โ”‚           โ””โ”€โ”€ algorithms/   # Hash algorithm implementations
โ”œโ”€โ”€ data/                     # Data storage directories
โ”‚   โ”œโ”€โ”€ databases/            # Database files
โ”‚   โ”œโ”€โ”€ db/                   # Additional database files
โ”‚   โ”œโ”€โ”€ loaded_content/       # Processed content storage
โ”‚   โ””โ”€โ”€ test_content/         # Test content files
โ”œโ”€โ”€ docs/                     # Documentation
โ”‚   โ””โ”€โ”€ to-do-plan/           # Project planning documents
โ”œโ”€โ”€ examples/                 # Example scripts
โ”œโ”€โ”€ tests/                    # Test suite
โ”‚   โ”œโ”€โ”€ data/                 # Test data
โ”‚   โ””โ”€โ”€ test_data/            # Additional test data
โ”œโ”€โ”€ pyproject.toml            # Project configuration
โ””โ”€โ”€ README.md                 # This file

๐Ÿšฆ Quick Start

Using the Python API

from mcard import MCard, MCardUtility

# Initialize the utility
utility = MCardUtility()

# Create a new card
card = MCard(
    content={"message": "Hello, MCard!"},
    content_type="application/json"
)

# Store the card
await utility.store_card(card)


# Retrieve the card by hash
retrieved = await utility.get_card(card.hash_value)
print(retrieved.content)  # {"message": "Hello, MCard!"}

๐Ÿงช Running Tests

Run the test suite with pytest:

pytest

For test coverage report:

pytest --cov=mcard --cov-report=term-missing

๐Ÿค Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ“š Documentation

For more detailed documentation, please see the docs directory:

๐Ÿ“ Changelog

See CHANGELOG.md for a list of notable changes.

๐Ÿ“ง Contact

Ben Koo - koo0905@gmail.com

Project Link: https://github.com/xlp0/MCard_TDD

๐Ÿ“ Changelog

Version 0.1.12 (2024-06-16)

Dependency Updates and Fixes

  • Updated python-json-logger to version 3.3.0 to resolve dependency conflicts
  • Updated python-dotenv to version 1.1.0 for improved environment variable handling
  • Updated python-dateutil to version 2.9.0.post0 for better date/time handling
  • Added pytest-asyncio as a development dependency for proper async test support

Bug Fixes

  • Fixed a warning about unknown asyncio_mode in pytest configuration
  • Resolved several dependency conflicts to ensure stable builds
  • Improved dependency resolution with uv for faster and more reliable package management

Version 0.1.11 (2024-06-10)

DuckDB Removal

  • Removed DuckDB as a supported database backend to simplify the codebase and dependencies
  • SQLite is now the only supported database engine
  • Updated all examples and documentation to reflect this change
  • Removed DuckDB-related code and dependencies

Package Management

  • Switched to uv as the package manager for faster and more reliable dependency resolution
  • Updated installation instructions to use uv
  • Simplified dependency management with pyproject.toml

Bug Fixes

Critical: Database Initialization (2024-06-10)

Fixed a critical issue in the SQLite database initialization that was causing data loss. Previously, the database would be recreated and all data would be lost every time the application started. The fix ensures that:

  • Existing databases are preserved between application restarts
  • The database schema is only created if it doesn't already exist
  • All existing data remains intact during application updates

This change is particularly important for production deployments where data persistence is crucial. The fix was implemented in the SQLiteConnection.setup_database() method, which now properly checks for existing tables before attempting to create them.

Database Schema Cleanup (2024-06-10)

Removed the unused file_type field from the database schema to improve efficiency and maintainability. The change includes:

  • Removed file_type column from the card table schema
  • Verified that no existing code was using this field
  • All tests continue to pass with the simplified schema

This change makes the database more efficient by removing unused storage and simplifying the schema. The schema now only contains the essential fields: hash, content, and g_time.

๐Ÿ“š Documentation

For more detailed documentation, please see the docs directory:

Version 0.1.12 (2024-06-16)

Dependency Updates and Fixes

  • Updated python-json-logger to version 3.3.0 to resolve dependency conflicts
  • Updated python-dotenv to version 1.1.0 for improved environment variable handling
  • Updated python-dateutil to version 2.9.0.post0 for better date/time handling
  • Added pytest-asyncio as a development dependency for proper async test support

Bug Fixes

  • Fixed a warning about unknown asyncio_mode in pytest configuration
  • Resolved several dependency conflicts to ensure stable builds
  • Improved dependency resolution with uv for faster and more reliable package management

Version 0.1.11 (2024-06-10)

DuckDB Removal

  • Removed DuckDB as a supported database backend to simplify the codebase and dependencies
  • SQLite is now the only supported database engine
  • Updated all examples and documentation to reflect this change
  • Removed DuckDB-related code and dependencies

Package Management

  • Switched to uv as the package manager for faster and more reliable dependency resolution
  • Updated installation instructions to use uv
  • Simplified dependency management with pyproject.toml

Bug Fixes

Critical: Database Initialization (2024-06-10)

Fixed a critical issue in the SQLite database initialization that was causing data loss. Previously, the database would be recreated and all data would be lost every time the application started. The fix ensures that:

  • Existing databases are preserved between application restarts
  • The database schema is only created if it doesn't already exist
  • All existing data remains intact during application updates

This change is particularly important for production deployments where data persistence is crucial. The fix was implemented in the SQLiteConnection.setup_database() method, which now properly checks for existing tables before attempting to create them.

Database Schema Cleanup (2024-06-10)

Removed the unused file_type field from the database schema to improve efficiency and maintainability. The change includes:

  • Removed file_type column from the card table schema
  • Verified that no existing code was using this field
  • All tests continue to pass with the simplified schema

This change makes the database more efficient by removing unused storage and simplifying the schema. The schema now only contains the essential fields: hash, content, and g_time.

Documentation

Core Concepts

MCard implements an algebraically closed system where:

  1. Every MCard is uniquely identified by its content hash (configurable, defaulting to SHA-256).
  2. Every MCard has an associated claim time (timezone-aware timestamp with microsecond precision).
  3. The database maintains these invariants automatically.
  4. Content integrity is guaranteed through immutable hashes.
  5. Temporal ordering is preserved at microsecond precision.

This design provides several key guarantees:

  • Content Integrity: The content hash serves as both identifier and verification mechanism.
  • Temporal Signature: All cards are associated with a timestamp: g_time.
  • Precedence Verification: The claim time enables determination of content presentation order.
  • Algebraic Closure: Any operation on MCards produces results that maintain these properties.
  • Type Safety: Built on Pydantic with strict validation and type checking.

Required Attributes for Each MCard

Each MCard must have the following three required attributes:

1. content: The actual data being stored (string or bytes).

2. hash: A cryptographic hash of the content, using SHA-256 by default (configurable to other algorithms).

3. g_time: A timezone-aware timestamp with microsecond precision, representing the global time when the card was claimed.

Directory Structure

  • mcard/: Contains the main application code.
    • algorithms/: Hash algorithm implementations (renamed from hash_algorithms)
    • engine/: Database engines (SQLite, DuckDB)
    • model/: Core data models
    • api.py: FastAPI endpoints
    • logging_config.py: Logging configuration
  • examples/: Example scripts demonstrating how to use the MCard system.
  • tests/: Contains test files for the application.
    • persistence/: Database persistence tests
    • unit/: Unit tests
  • logs/: Contains log files generated by the application.
  • data/db/: Directory for storing database files used by the application.
  • data/files/: Directory reserved for storing general files used by the application.
  • data/test_content/: Test files of various types for content detection and validation.
  • data/loaded_content/: Output directory for loaded and processed content (now gitignored).
  • docs/: Project documentation.

Database Technologies

We will be using embedded database technologies, such as SQLite, DuckDB, and LanceDB initially, to provide efficient and reliable data storage solutions for MCard. These technologies are well-suited for handling the requirements of content-addressable storage and will allow for easy integration and management of data within the application.

Examples

Default MCard API Example: examples/MCard_Demo.py

This script demonstrates the simplest way to use the MCard API through the default_utility interface. It covers:

  • Adding new cards (with plain text or dictionaries, which are auto-converted to JSON)
  • Retrieving cards by hash
  • Searching for cards by content
  • Counting the total number of cards in the collection

How to Run the Demo

python examples/MCard_Demo.py

Key Features

  • Minimal Setup: Uses from mcard import default_utility for immediate access to core functionality.
  • Add and Retrieve: Shows how to add cards and retrieve them by hash.
  • Search: Demonstrates searching for cards containing a specific substring.
  • Summary Output: Prints the total number of cards and search results.

Modular Content Loader Example: examples/Content_Loader.py

This script demonstrates how to use the MCard system's content detection and storage features in a modular, easy-to-understand way. It:

  • Loads files from data/test_content/ (supports both text and binary types)
  • Uses the ContentTypeInterpreter to detect file types and validate content
  • Creates MCards for each file, handling text and binary content appropriately
  • Saves processed files to data/loaded_content/ with unique, type-appropriate filenames
  • Prints summaries of processed files and cleans up temporary files

How to Run the Example

python examples/Content_Loader.py

Key Features of the Example

  • Modular Functions: The script is organized into clear, single-purpose functions (e.g., load_test_files, create_mcard_for_file, save_card_to_file, etc.) for maintainability and extensibility.
  • Automatic Content Type Detection: Uses file signatures and content validation to determine file type and extension.
  • Binary and Text Handling: Handles binary files (e.g., images) and text files differently, ensuring correct storage and retrieval.
  • Output Directory: All processed content is saved to data/loaded_content/ (which is now gitignored).
  • Temporary File Cleanup: Removes temporary binary files after processing.

See the script and its docstrings for further details and customization options.

.gitignore Notes

  • The data/loaded_content/ directory is now included in .gitignore and will not be tracked by git. This ensures that output/generated files do not pollute the repository.

PyTest Configuration

  • The project uses PyTest for testing.
  • Tests are located in the tests directory.
  • The configuration file pytest.ini specifies test paths and naming conventions.

Logging Configuration

  • The project uses Python's built-in logging module for logging.
  • Logs are written to logs/mcard.log with a maximum size of 10MB and up to 5 backup files.
  • The logging format includes timestamps, log levels, and detailed information about the source of the log messages.
  • The logging level is set to DEBUG for console output and INFO for file output.
  • To initialize logging, call setup_logging() from mcard.logging_config before running tests or application code.

Running Tests

To run tests:

pytest

To run tests with coverage:

pytest --cov=mcard

Hegel's Dialectic in Testing and CI/CD

Hegel's dialectic is a philosophical framework that describes the process of development and change through a triadic structure: thesis, antithesis, and synthesis. Here's how it relates to software testing and Continuous Integration/Continuous Deployment (CI/CD):

  1. Thesis (Initial Code): Represents the initial code or feature implementation, the starting point where a developer writes code to fulfill a specific requirement or feature.

  2. Antithesis (Testing and Bugs): Arises during the testing phase, where tests are executed. If tests fail or bugs are discovered, they represent a challenge to the initial implementation, highlighting discrepancies between intended functionality and actual behavior.

  3. Synthesis (Refinement and Improvement): Occurs when developers address the issues identified during testing, leading to a refined version of the code that resolves conflicts between the initial implementation and testing outcomes.

CI/CD Integration

In a CI/CD pipeline, this dialectical process is continuous:

  • Continuous Integration: Developers frequently integrate code changes into a shared repository. Each integration triggers automated tests, allowing for rapid identification of issues against the current codebase.

  • Continuous Deployment: Once the code passes testing, it can be automatically deployed, representing the synthesis where refined code is made available to users.

This iterative process fosters continuous improvement, where each round of testing and deployment leads to better software quality and functionality. By applying Hegel's dialectic, teams can embrace the idea that conflict (in the form of bugs and failures) is a natural and necessary part of the development process, ultimately leading to a more robust and effective product.

Handling Duplicate Events

When a duplicate card is detected, the duplicate_event_card is assigned a new timestamp value. This ensures that even though the content is identical to the original card, the hash value will be unique due to the different timestamp. This mechanism allows for robust handling of duplicate content while maintaining the integrity of the system.

MD5 Collision Testing

The test suite includes verification of MD5 collision detection using known collision pairs from the FastColl attack. These pairs produce identical MD5 hashes despite having different content:

MD5 Collision Pair

Input 1:
4dc968ff0ee35c209572d4777b721587d36fa7b21bdc56b74a3dc0783e7b9518afbfa200a8284bf36e8e4b55b35f427593d849676da0d1555d8360fb5f07fea2
                                                                     ^^^                                    ^^^

Input 2:
4dc968ff0ee35c209572d4777b721587d36fa7b21bdc56b74a3dc0783e7b9518afbfa202a8284bf36e8e4b55b35f427593d849676da0d1d55d8360fb5f07fea2
                                                                     ^^^                                    ^^^

Key differences:

  1. 200 vs 202
  2. d15 vs d1d

Both inputs produce the same MD5 hash value, demonstrating MD5's vulnerability to collision attacks. This is why MCard defaults to using more secure hash functions like SHA-256.

Testing Behavior

The current tests, particularly @test_sqlite_persistence.py, will always clear the database after one of the test functions is run. This means that test_mcard.db will only contain the data from the last test executed. If the clear() function in the fixture is uncommented, it will remove the content of the last test as well.

Core Dependencies

  • SQLAlchemy==1.4.47: SQL toolkit and ORM
  • aiosqlite==0.17.0: Async SQLite database driver
  • python-dateutil==2.8.2: Date/time utilities
  • python-dotenv==1.0.0: Environment management

Description

MCard is a project designed to facilitate card management with a focus on validation and logging features.

Installation

Using uv

You can install the MCard package from PyPI (once published):

uv pip install mcard

Installing from source

To install MCard directly from the source code:

# Clone the repository
git clone https://github.com/yourusername/MCard_TDD.git
cd MCard_TDD

# Install in development mode with uv
uv pip install -e .

# Install with development dependencies
uv pip install -e ".[dev]"

Development Environment Setup

  1. Set up a virtual environment using uv:
# Simply run the activate script which handles uv setup
source activate_venv.sh

This script will:

  • Ensure conda is disabled (if present)
  • Create a virtual environment using uv if it doesn't exist
  • Activate the virtual environment
  • Install dependencies from pyproject.toml using uv

Alternatively, you can manually set up the environment:

# Create and activate virtual environment with uv
uv venv .venv
source .venv/bin/activate

# Install dependencies with uv
uv pip sync pyproject.toml

Usage

After installation, you can use MCard in your Python code:

from mcard.model.card import MCard
from mcard.model.card_collection import CardCollection

# Create a new card
card = MCard(content="Hello, MCard!")

# Create a card collection
collection = CardCollection()

# Add the card to the collection
collection.add(card)

# Retrieve the card by its hash
retrieved_card = collection.get_by_hash(card.hash)
print(retrieved_card.content)  # Outputs: Hello, MCard!

Or use the installed command-line entry point

mcard


## Recent Updates

### MCard Detail View Component
- Created a new component `mcard_detail_view.html` to display detailed information about MCards, including:
  - Full hash string
  - g_time string
  - Content type
  - Appropriate content display for images, videos, PDFs, and plain text.

### Dynamic Content Loading
- Implemented functionality to dynamically load and display card details when a card entry is clicked.
- Added JavaScript functions to handle click events and fetch card details from the server.

### Error Handling and Logging
- Enhanced error handling in the Flask backend to log errors and provide better feedback.
- Added detailed logging in the JavaScript to track the fetching and rendering process.

### Template Updates
- Updated existing templates to integrate the new detail view component and ensure proper rendering.

### User Experience Improvements
- Improved visual feedback for selected cards.
- Ensured that the focused area updates correctly without becoming blank.

### Configuration Management Refactoring (2024-12-18)
- Renamed `EnvConfig` to `EnvParameters` for better clarity and consistency
- Moved configuration management from `env_config.py` to `env_parameters.py`
- Updated all references to use the new class name across the codebase
- Enhanced test coverage for configuration parameters
- Maintained singleton pattern for configuration management
- Ensured backward compatibility with existing environment variable handling

### Database Enhancements
- Implemented `get_all()` method in SQLiteEngine for efficient pagination
- Added support for page size and page number parameters
- Enhanced error handling for invalid pagination parameters
- Improved performance by optimizing SQL queries
- Added comprehensive test coverage for pagination functionality

## Recent Changes

### Directory Structure Updates
- The `hash_algorithms` directory has been renamed to `algorithms` for simplicity and clarity.
- The `hash_validator.py` file has been renamed to `validator.py` to simplify the naming convention.

### Updated Imports
- All relevant import statements across the codebase have been updated to reflect the new structure and naming.

### Engine Refactor
- Removed the abstract `search_by_content` method from `SQLiteEngine` and `DuckDBEngine`.
- Integrated search functionality into the [search_by_string](cci:1://file:///mcard/model/card_collection.py:94:4-96:82) method, allowing searches across content, hash, and g_time fields.

### Event Generation
- Updated [generate_duplication_event](cci:1://file:///mcard/model/event_producer.py:38:0-54:28) and [generate_collision_event](cci:1://file:///mcard/model/event_producer.py:57:0-76:38) to return JSON strings.
- Enhanced event structure to include upgraded hash functions and content size.

### Logging
- Integrated logging into test cases for better traceability and debugging.

### MCard Class Update
- The [MCard](cci:2://file:///mcard/model/card.py:6:0-47:9) constructor now accepts a [hash_function](cci:1://file:///mcard/model/event_producer.py:8:0-23:16) parameter, providing more flexibility in hash generation.

### Tests
- Adjusted tests to verify the new event generation logic and ensure search functionality works as intended.

## Centralized Configuration Management

### Overview
MCard has adopted a centralized configuration management approach to improve maintainability, scalability, and readability. This involves consolidating all configuration constants into a single location, making it easier to manage and update configuration values across the application.

### Configuration Constants
All configuration constants are now defined in `config_constants.py`. This file contains named constants for various configuration values, including:

- Database schema and paths
- Hash algorithm constants and hierarchy
- Environment variable names
- API configuration
- HTTP status codes
- Error messages
- Event types and structure

### Benefits
Centralized configuration management provides several benefits, including:

- **Single Source of Truth**: All configuration constants are managed in one location.
- **Type Safety**: Constants are properly typed and documented.
- **Maintainability**: Changes to configuration values only need to be made in one place.
- **Code Completion**: IDE support for constant names improves developer productivity.
- **Documentation**: Each constant group is documented with its purpose and usage.
- **Testing**: Test files use the same constants as production code, ensuring consistency.

### Implementation
The `config_constants.py` file uses an enum-based approach for hash algorithms, ensuring type safety and readability. The file is organized into logical groups, making it easier to find and update specific configuration values.

### Example Usage
To use a configuration constant, simply import the `config_constants` module and access the desired constant. For example:
```python
from config_constants import HASH_ALGORITHM_SHA256

# Use the SHA-256 hash algorithm
hash_algorithm = HASH_ALGORITHM_SHA256

By adopting a centralized configuration management approach, MCard has improved its maintainability, scalability, and readability, making it easier to manage and update configuration values across the application.

Using MCardFromData for Stored Values

When retrieving stored MCard data from the database, always use the subclass MCardFromData. This approach allows you to bypass unnecessary and unwanted algorithms, significantly speeding up the MCard instantiation process.

Project Structure

MCard_TDD/
โ”œโ”€โ”€ mcard/
โ”‚   โ”œโ”€โ”€ algorithms/          # Hash algorithm implementations
โ”‚   โ”œโ”€โ”€ engine/             # Database engines (SQLite, DuckDB)
โ”‚   โ”œโ”€โ”€ model/              # Core data models
โ”‚   โ”œโ”€โ”€ api.py             # FastAPI endpoints
โ”‚   โ””โ”€โ”€ logging_config.py   # Logging configuration
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ persistence/       # Database persistence tests
โ”‚   โ””โ”€โ”€ unit/             # Unit tests
โ”œโ”€โ”€ docs/                  # Project documentation
โ”œโ”€โ”€ data/
โ”‚   โ”œโ”€โ”€ db/               # Database files
โ”‚   โ””โ”€โ”€ files/            # General files
โ””โ”€โ”€ logs/                 # Application logs

Configuration

Environment Setup

Create a .env file with the following variables:

MCARD_DB_PATH=data/db/mcard_demo.db
TEST_DB_PATH=data/db/test_mcard.db
MCARD_SERVICE_LOG_LEVEL=DEBUG

Development Guidelines

Using MCardFromData

When retrieving stored data, use MCardFromData instead of the base MCard class:

from mcard.model.card import MCardFromData

stored_card = MCardFromData(content=content, hash=hash, g_time=g_time)

Hash Algorithm Configuration

The default hash algorithm is SHA-256, but it's configurable:

from mcard.algorithms import HASH_ALGORITHM_SHA256

Installation

To set up the project, follow these steps:

  1. Create a virtual environment:

    python -m venv .venv
    
  2. Activate the virtual environment:

    • On macOS and Linux:
      source .venv/bin/activate
      
    • On Windows:
      .venv\Scripts\activate
      
  3. Configure your environment:

    • Copy .env.example to create your own .env file.
    • The default configuration uses:
      • Database path: data/db/mcard_demo.db.
      • Hash algorithm: SHA-256.
      • Connection pool size: 5.
      • Connection timeout: 30 seconds.

Directory Structure

  • mcard/
    • engine/: Contains the database engine implementations, currently only SQLite.
    • model/: Contains the core data models, including MCard.
    • tests/: Contains all test cases for the MCard library, ensuring functionality and correctness.

SQLite Persistence Testing

  • tests/persistence/sqlite_test.py: Contains test cases for SQLite persistence, ensuring data integrity and consistency.

The tests in @test_sqlite_persistence.py are designed to clear the database after each test function is run. This means that the test_mcard.db file will only contain the data from the last test executed. If the clear() function in the fixture is uncommented, it will remove the content of the last test as well. This behavior is intended to ensure that each test starts with a clean database, allowing for more accurate and reliable testing results.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcard-0.1.14.tar.gz (75.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcard-0.1.14-py3-none-any.whl (70.6 kB view details)

Uploaded Python 3

File details

Details for the file mcard-0.1.14.tar.gz.

File metadata

  • Download URL: mcard-0.1.14.tar.gz
  • Upload date:
  • Size: 75.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for mcard-0.1.14.tar.gz
Algorithm Hash digest
SHA256 165e0f205caf42179fbbeec8c473de97ecfdb3b6986761104799784dc6e2bb88
MD5 d3da15072573c9bfdd3a85a9369cc567
BLAKE2b-256 3ce7d51ed2bedd24b70c178ede6cddf4ee699573d7139e601546a09332a72f55

See more details on using hashes here.

File details

Details for the file mcard-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: mcard-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 70.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for mcard-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 ab5d308f14233a4d79d3194ca727f8f1bf562d06cf105d381947964b142c124c
MD5 708e270a4a985dcc9aeeab720f483ed3
BLAKE2b-256 bb537c2350cec1a54ee091133f768d9a0a1ba19b861961fdcb344e8f296dcb75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page