How to include non python resource files into a simple python package?

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • PROGRAM_NAME

  • setup( name="main", version="2.5.2", author="AUTHOR", description="Description", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/AUTHOR/PROGRAM_NAME", project_urls={ "Bug Tracker": "https://github.com/AUTHOR/PROGRAM_NAME/issues", }, packages=find_packages(), py_modules=["main"], package_dir={"": "./"}, package_data={ "main": [ "resource.js", "stylesheet.css", ], }, include_package_data=True, license="MIT", scripts=["scripts/main.py", "scripts/main"], install_requires=[ "Markdown>=3.3.4", ], classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], python_requires=">=3.8", ) ```

  • sampleproject

    A sample project that exists for PyPUG's "Tutorial on Packaging and Distributing Projects"

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Here is my example code that I used for testing (You can check the GitHub Actions tab to see the exact error): https://github.com/AnonymerNiklasistanonym/PythonSimpleSamplePackageWithResourceFile

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Vector Databases for generative AI applications

    1 project | dev.to | 6 May 2024
  • Fingerpaint – Draw using your laptop's touchpad

    1 project | news.ycombinator.com | 6 May 2024
  • I analyzed code review best practices for a year. This is what I learned.

    1 project | dev.to | 6 May 2024
  • From English Teacher to AWS Architect

    1 project | dev.to | 6 May 2024
  • Pure-PyTorch Implementation of Kolmogorov-Arnold Network (Kan)

    1 project | news.ycombinator.com | 6 May 2024