ar

Pure python implementation of the ar archive format

https://github.com/vidstige/ar

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.9%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Pure python implementation of the ar archive format

Basic Info
  • Host: GitHub
  • Owner: vidstige
  • Language: Python
  • Default Branch: master
  • Size: 59.6 KB
Statistics
  • Stars: 11
  • Watchers: 5
  • Forks: 3
  • Open Issues: 2
  • Releases: 4
Created over 5 years ago · Last pushed almost 2 years ago
Metadata Files
Readme

README.md

build

python-3.11 python-3.10 python-3.9 python-3.8 python-3.7

ar

Python package for parsing ar archive file.

Installation

pip install ar

Usage

List files inside file.a python from ar import Archive with open('file.a', 'rb') as f: archive = Archive(f) for entry in archive: print(entry.name)

Read content of file.txt contained within file.a.

python from ar import Archive with open('file.a', 'rb') as f: archive = Archive(f) print(archive.open('file.txt').read())

Extract all files: python from ar import Archive with open('file.a', 'rb') as f: archive = Archive(f) for entry in archive: with open(entry.name, 'wb') as output: content = archive.open(entry, 'rb').read() output.write(content)

Developing

Create a virtual environment using python version of liking

python3.10 -m venv venv

Activate it

source venv/bin/activate

Install package editable together with relevant optional dependencies

pip install -e '.[test,dev]'

Author

Samuel Carlsson

Owner

  • Name: Samuel Carlsson
  • Login: vidstige
  • Kind: user
  • Location: Stockholm, Sweden
  • Company: @Volumental

Working at @Volumental as Jack-of-all-Trades and Architect.

GitHub Events

Total
  • Issues event: 1
  • Watch event: 4
  • Issue comment event: 2
  • Pull request event: 1
  • Fork event: 1
Last Year
  • Issues event: 1
  • Watch event: 4
  • Issue comment event: 2
  • Pull request event: 1
  • Fork event: 1

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 31
  • Total Committers: 2
  • Avg Commits per committer: 15.5
  • Development Distribution Score (DDS): 0.484
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Samuel Carlsson s****n@g****m 16
Samuel Carlsson s****n@v****m 15
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 4
  • Total pull requests: 15
  • Average time to close issues: 4 days
  • Average time to close pull requests: 20 days
  • Total issue authors: 4
  • Total pull request authors: 5
  • Average comments per issue: 3.5
  • Average comments per pull request: 1.13
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 2
  • Average time to close issues: 2 days
  • Average time to close pull requests: 2 days
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 3.5
  • Average comments per pull request: 4.5
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • vshymanskyy (1)
  • TryExceptElse (1)
  • prabhu (1)
  • nickdesaulniers (1)
Pull Request Authors
  • vidstige (13)
  • zchrissirhcz (7)
  • nickdesaulniers (2)
  • vshymanskyy (2)
  • Mause (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 48,051 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 7
  • Total versions: 7
  • Total maintainers: 1
pypi.org: ar

Access ar archive files (.a)!

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 7
  • Downloads: 48,051 Last month
Rankings
Dependent repos count: 5.6%
Dependent packages count: 10.0%
Downloads: 10.3%
Average: 18.9%
Forks count: 29.8%
Stargazers count: 38.8%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/python-package.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
pyproject.toml pypi