Skip to main content

Tools to interface GitHub, PyPI and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for my general packages.

Project description

generalpackager

Tools to interface GitHub, PyPI and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for my general packages.

This package and 3 other make up ManderaGeneral.

Information

Package Ver Latest Release Python Platform Lvl Todo Tests
generalpackager 0.3.4 2021-10-16 15:31 CEST 3.8, 3.9 Windows, Ubuntu 2 5 100.0 %

Contents

generalpackager
├─ Information
├─ Contents
├─ Installation
├─ Attributes
└─ Todo

Installation

Command pandas generallibrary generalfile gitpython requests
pip install generalpackager Yes Yes Yes Yes Yes

Attributes

Module: generalpackager
├─ Class: GitHub
│  ├─ Method: download
│  ├─ Method: exists
│  ├─ Method: get_description
│  ├─ Method: get_owners_packages
│  ├─ Method: get_topics
│  ├─ Method: get_website
│  ├─ Method: is_general
│  ├─ Method: set_description
│  ├─ Method: set_topics
│  └─ Method: set_website
├─ Class: LocalModule
│  ├─ Method: exists
│  ├─ Method: get_all_local_modules
│  ├─ Method: get_dependants
│  ├─ Method: get_dependencies
│  ├─ Method: get_env_vars
│  ├─ Method: is_general
│  ├─ Property: module
│  └─ Property: objInfo
├─ Class: LocalRepo
│  ├─ Method: bump_version
│  ├─ Method: create_sdist
│  ├─ Property: description
│  ├─ Property: enabled
│  ├─ Method: exists
│  ├─ Property: extras_require
│  ├─ Method: get_git_exclude_path
│  ├─ Method: get_init_path
│  ├─ Method: get_license_path
│  ├─ Method: get_manifest_path
│  ├─ Method: get_metadata_dict
│  ├─ Method: get_metadata_path
│  ├─ Method: get_package_paths_gen
│  ├─ Method: get_path_from_name
│  ├─ Method: get_readme_path
│  ├─ Method: get_repo_path_child
│  ├─ Method: get_repo_path_parent
│  ├─ Method: get_repos_path
│  ├─ Method: get_setup_path
│  ├─ Method: get_test_path
│  ├─ Method: get_test_paths
│  ├─ Method: get_workflow_path
│  ├─ Method: git_changed_files
│  ├─ Method: has_metadata
│  ├─ Property: install_requires
│  ├─ Method: is_general
│  ├─ Method: load_metadata
│  ├─ Property: manifest
│  ├─ Property: name
│  ├─ Method: path_exists
│  ├─ Method: pip_install
│  ├─ Method: pip_uninstall
│  ├─ Method: text_in_tests
│  ├─ Property: topics
│  ├─ Method: unittest
│  ├─ Method: upload
│  ├─ Property: version
│  └─ Method: write_metadata
├─ Class: Packager
│  ├─ Method: commit_and_push
│  ├─ Method: compare_local_to_github
│  ├─ Method: compare_local_to_pypi
│  ├─ Method: create_blank
│  ├─ Method: exists
│  ├─ Method: filter_relative_filenames
│  ├─ Method: general_bumped_set
│  ├─ Method: general_changed_dict
│  ├─ Method: generate_git_exclude
│  ├─ Method: generate_license
│  ├─ Method: generate_localfiles
│  ├─ Method: generate_manifest
│  ├─ Method: generate_personal_readme
│  ├─ Method: generate_readme
│  ├─ Method: generate_setup
│  ├─ Method: generate_workflow
│  ├─ Method: get_attributes_markdown
│  ├─ Method: get_badges_dict
│  ├─ Method: get_classifiers
│  ├─ Method: get_description_markdown
│  ├─ Method: get_env
│  ├─ Method: get_footnote_markdown
│  ├─ Method: get_information_markdown
│  ├─ Method: get_installation_markdown
│  ├─ Method: get_latest_release
│  ├─ Method: get_new_packager
│  ├─ Method: get_ordered_packagers
│  ├─ Method: get_owners_package_names
│  ├─ Method: get_sync_job
│  ├─ Method: get_todos
│  ├─ Method: get_todos_markdown
│  ├─ Method: get_topics
│  ├─ Method: get_triggers
│  ├─ Method: get_unittest_job
│  ├─ Method: get_untested_objInfo_dict
│  ├─ Method: github_link
│  ├─ Method: github_link_path_line
│  ├─ Method: if_publish_bump
│  ├─ Method: if_publish_publish
│  ├─ Method: is_bumped
│  ├─ Method: is_general
│  ├─ Method: relative_path_is_aesthetic
│  ├─ Method: run_ordered_methods
│  ├─ Method: spawn_children
│  ├─ Method: spawn_parents
│  ├─ Method: step_install_necessities
│  ├─ Method: step_install_package_git
│  ├─ Method: step_install_package_pip
│  ├─ Method: step_run_packager_method
│  ├─ Method: step_setup_python
│  ├─ Method: steps_setup
│  ├─ Method: sync_github_metadata
│  ├─ Method: workflow_sync
│  └─ Method: workflow_unittest
└─ Class: PyPI
   ├─ Method: download
   ├─ Method: exists
   ├─ Method: get_date
   ├─ Method: get_owners_packages
   ├─ Method: get_tarball_url
   ├─ Method: get_version
   ├─ Method: is_general
   └─ Method: reserve_name

Todo

Module Message
packager_files.py Watermark generated files to prevent mistake of thinking you can modify them directly.
pypi.py Move download to it's own package.
pypi.py Find a faster fetch for latest PyPI version and datetime.
local_repo.py Search for imports to list dependencies.
packager.py Prevent workflow using pypi to install a general package.
Generated 2021-10-16 15:31 CEST for commit 8dc8983.

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

generalpackager-0.3.4.tar.gz (25.5 kB view hashes)

Uploaded Source

Built Distribution

generalpackager-0.3.4-py3-none-any.whl (31.0 kB view hashes)

Uploaded Python 3

Supported by

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