semvec/pypi-packages huggingface dataset:
django-structured-data 0.6.0
Template tags to assist in adding structured metadata to views and models.
Requires Python: >=3.8

# Django Structured Data  [![PyPI](https://img.shields.io/pypi/v/django-structured-data)](https://pypi.org/project/django-structured-data/)
Template tags to assist in adding structured metadata to views and models.

## Install

1.  Add "structured_data" to your `INSTALLED_APPS`:
```python
INSTALLED_APPS = [
    ...
    'structured_data',
]
```

## Use

### In models
Define a `structured_data` property on your models. This is written in a standard JSON-LD format. Included
 below is a complicated example.
```python
    @property
    def structured_data(self):
        url = SITE_URL + self.get_absolute_url()
        data = {
            '@type': 'BlogPosting',
            'headline': self.title,
            'author': {
                '@type': 'Person',
                'name': self.author
            },
            'datePublished': self.created.strftime('%Y-%m-%d'),
            'dateModified': self.modified.strftime('%Y-%m-%d'),
            'url': url,
            'mainEntityOfPage': {
                '@type': 'WebPage',
                '@id': url
            },
        }
        if self.image:
            data['image'] = SITE_URL + self.image.url

        return data

```

### In templates
Use the `json_ld_for` template tag to render your structured data as JSON-LD.
```djangotemplate
{% load jsonld %}
{% json_ld_for post %}
```

A second template tag, `og_for`, is also included. This attempts to translate your JSON-LD
data to Open Graph tags that can be read by Facebook, Twitter, Telegram
and more.
 ```djangotemplate
{% load opengraph %}
{% og_for post %}
```

A third template tag, `meta_for`, will render the **description** field from
your JSON-LD data as a standard HTML meta description tag.
 ```djangotemplate
{% load meta %}
{% meta_for post %}
```

## License

This software is released under the MIT license.
```
Copyright (c) 2019-2024 Luke Rogers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
indoquake 0.0.5
A Latest Earthquake Detection Package Taken Based on BMKG | Meteorological, Climatological, and Geophysical Agency
Requires Python: >=3.7

# indoquake
A Latest Earthquake Detection Package Taken Based on BMKG | Meteorological, Climatological, and Geophysical Agency
> This package was made using the beautifulsoup4 and request packages
> 
> The data is also taken from the [BMKG](https://www.bmkg.go.id/ "earthquake data website")

# requiretment package
> beautifulsoup4
> requests

# Author
> Danang Firmanto

# How to use

```python
from src.quake import ekstrasi_data, tampilkan_data

if __name__ == '__main__':
    print('Earthquake data from BMKG')
    result = ekstrasi_data()
    tampilkan_data(result)
```
bitex-blockchain-explorer 0.1.1
A Python module for interacting with blockchain data using the Bitex blockchain explorer
Requires Python: >=3.6

# Bitex

<div align="center">
  <img src="https://btc.cryptoid.info/logo/btc.png" width="100px" />
</div>
<br />

The **Bitex** Python module provides an easy and convenient way to interact with blockchain data using the blockchain explorer. Whether you're interested in querying cryptocurrency addresses, retrieving balances, exploring transactions, or getting detailed information about blocks, Bitex has you covered.

## Installation

To install the **Bitex** module, you can use the following `pip` command:

```bash
pip install bitex-blockchain-explorer
```

## Usage

Import the **bitex** module and follow these steps to interact with blockchain data:

```python
import bitex

# Define the cryptocurrency address
address = '1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF'

# Initialize the Bitex blockchain explorer
blockchain = bitex.Bitex()

# Search for the address on different chains
chains = blockchain.search(address)

# Choose a chain (e.g., 'btc') for further operations
chain = 'btc'

# Get the balance for the selected address
balance = blockchain.balance(chain, address)

# Convert the balance from satoshi to BTC format
balance_btc = blockchain.format_balance(balance['confirmed'])
print(f'Balance: {balance_btc:.8f} {chain.upper()}')

# Retrieve a limited number of transactions for the address
limit = 3
transactions = blockchain.transactions(chain, address, limit=limit)

# Access transaction details
if transactions:
    example_transaction = transactions[2]  # Get the third transaction
    txid = example_transaction.txid
    block = example_transaction.block
    block_height = block.height
    block_position = block.position

    # Get more details about the transaction
    transaction_details = example_transaction.details()

    # Extract specific details
    transaction_txid = transaction_details.txid
    transaction_size = transaction_details.size
    # ... (other details)

    # Get transaction details as a dictionary
    transaction_details_dict = transaction_details.get()

# Note: Replace 'your_crypto_address_here' with your actual cryptocurrency address
```

## Features

- Search for addresses on different chains.
- Retrieve balance information for a given address.
- Convert balance from satoshi to BTC format.
- Get transaction details and block information.

## License

This project is licensed under the MIT License - see the LICENSE file for details.